Alarm threshold iteration system and method based on historical snapshot collection
Through an alarm threshold iteration system based on historical snapshot collection and combined with historical data of gas monitoring equipment, real-time complex alarm judgment is achieved, which solves the problem of equipment not supporting real-time alarm judgment and improves the intelligent management capabilities of the gas pipeline network.
Patent Information
- Application Number
- CN202410892488.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-03
AI Technical Summary
Gas monitoring equipment does not support real-time and relatively complex gas alarm determination methods, and cannot support individual alarm configurations for each device, resulting in insufficient intelligent and digital operation and management capabilities of the gas pipeline network.
An alarm threshold iteration system based on historical snapshot collection is used to generate and update alarm rules through the indicator definition module, snapshot generation module, alarm condition definition module, alarm rule generation module and other modules, and realize real-time complex alarm judgment based on the historical data of the device. And configure the alarm set through the VEE alarm engine.
It realizes real-time and complex alarm determination for each gas monitoring equipment, improves the intelligent digital operation and management capabilities of gas monitoring equipment, avoids consumption of network and I/O resources, and reduces latency issues.
Smart Images

Figure CN118430202B
Abstract
Description
Technical Field
[0001] The present application relates to the field of gas business technology, and in particular to an alarm threshold iteration system and method based on historical snapshot aggregation. Background Art
[0002] There are intelligent algorithm alarm rules in business scenarios such as gas pipeline networks. However, most business systems simply compare the current gas business data with the preset threshold, and do not support setting alarm configurations for each device separately. Equipment-related alarms do not support combining environmental factors with historical data for alarm judgment.
[0003] In related technologies, historical gas business data usually needs to be queried. However, the query consumes network and I / O resources, which may cause business processing blockage and latency problems. Therefore, the current business system of the gas industry cannot support real-time and more complex judgment methods, which is a technical problem facing the current industry. This is not conducive to the intelligent and digital operation and management of the gas pipeline network. Technical improvements are needed for this alarm scenario. Summary of the invention
[0004] The purpose of this application is to provide a technical solution to solve the problem that the gas monitoring equipment in the related art does not support real-time and more complex gas alarm determination methods, and does not support the individual setting of alarm configurations for each device.
[0005] In a first aspect, the present application provides an alarm threshold iteration system based on historical snapshot collection, the system comprising:
[0006] An indicator definition module, which takes any type of gas monitoring equipment as a target equipment and defines at least one indicator for the target equipment, wherein the indicator includes at least one attribute of the target equipment;
[0007] A snapshot generation module, the snapshot generation module is used to take any indicator of any gas monitoring device as a target indicator, and generate a snapshot for the target indicator, the snapshot including historical data of at least one attribute included in the target indicator within a preset period, and a statistical value of the historical data of at least one attribute within the preset period;
[0008] An alarm condition definition module, which is used to define alarm conditions for indicators, and the alarm condition definition module can obtain statistical values in the snapshot as iterative condition parameters of the alarm conditions;
[0009] An alarm rule generation module, which is used to generate an alarm rule. The alarm rule includes an indicator and an alarm condition corresponding to the indicator.
[0010] The alarm set generation module is used to generate an alarm set for a target device, and the alarm set includes at least one alarm rule related to the target device.
[0011] Furthermore, the system includes a first storage module and a second storage module, which are used to store snapshots; the system also includes a reporting frequency detection module, which is used to detect the reporting frequency of the gas monitoring equipment. In response to the reporting frequency of the gas monitoring equipment being greater than or equal to a preset threshold, the snapshot of the gas monitoring equipment is stored in the first storage module; in response to the reporting frequency of the gas monitoring equipment being less than the preset threshold, the snapshot of the gas monitoring equipment is stored in the second storage module.
[0012] Furthermore, the snapshot generation module is also used to update the snapshot, and in response to the snapshot update, trigger the alarm condition definition module to modify the iteration condition parameters of the alarm condition in a linked manner.
[0013] Furthermore, the alarm set generation module can also be used to configure at least one alarm rule in the alarm set to be invalid.
[0014] Further, an alarm determination module is used to traverse the alarm set and obtain a snapshot of the target period according to the indicators in the alarm set. The alarm determination module analyzes whether the snapshot of the target period meets the alarm rules;
[0015] The alarm module is used to receive the analysis result of the alarm determination module. In response to the alarm determination module analyzing that the target period snapshot meets the alarm rule, the alarm module triggers an alarm event.
[0016] Furthermore, the alarm rule generation module is also used to generate joint alarm rules, which include at least two indicators; the system also includes a classification and collection module, which is used to classify and collect snapshots according to the indicators of the joint alarm rules; the alarm judgment module is also used to perform intelligent analysis based on snapshots under the same classification and collection.
[0017] Furthermore, the system also includes an alarm recording module, which is used to record alarm events, and the alarm recording module is also used to associate and record snapshots of triggering alarm events.
[0018] Furthermore, the system also includes a display module, which is used to display a snapshot of the triggering alarm event and / or display the alarm event.
[0019] Furthermore, the system uses the VEE alarm engine to configure the alarm set.
[0020] In a second aspect, the present application also provides an alarm threshold iteration method based on historical snapshot aggregation, the method comprising the following steps:
[0021] Any type of gas monitoring equipment is taken as a target equipment, and at least one indicator is defined for the target equipment, where the indicator includes at least one attribute of the target equipment.
[0022] Any indicator of any gas monitoring device is used as a target indicator, and a snapshot is generated for the target indicator, the snapshot including historical data of all attributes included in the target indicator within a preset period, and statistical values of historical data of at least one attribute within the preset period.
[0023] An alarm condition is defined for the indicator, and a statistical value in the snapshot is obtained as an iteration condition parameter of the alarm condition.
[0024] Generate an alarm rule, which includes an indicator and an alarm condition corresponding to the indicator.
[0025] An alarm set is generated for the target device, where the alarm set includes at least one alarm rule related to the target device.
[0026] Furthermore, the method further comprises the following steps:
[0027] Update the snapshot, and in response to the snapshot update, modify the iteration condition parameters of the alarm condition in a linked manner.
[0028] According to the above description, the present application provides an alarm threshold iteration system and method based on historical snapshot collection. Alarm conditions and alarm rules are constructed through snapshots, and the alarm rules for each gas monitoring device are set separately. This solves the problem that the gas monitoring equipment does not support real-time and more complex gas alarm determination methods, and improves the intelligent digital operation and management capabilities of the gas monitoring equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0030] Figure 2 A schematic diagram of the structure of an alarm threshold iteration system based on historical snapshot collection provided in the first embodiment of the present application;
[0031] Figure 3 A judgment flow chart of an alarm threshold iteration system based on historical snapshot collection provided in an embodiment of the present application;
[0032] Figure 4 A schematic diagram of an alarm threshold iteration system based on historical snapshot aggregation provided in a second embodiment of the present application;
[0033] Figure 5 A schematic diagram of an alarm threshold iteration system based on historical snapshot aggregation provided in a third embodiment of the present application;
[0034] Figure 6 A flowchart of an alarm threshold iteration method based on historical snapshot aggregation provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The present application will be described in detail below in conjunction with the specific implementation modes shown in the accompanying drawings, but these implementation modes do not limit the present application. Structural, methodological, or functional changes made by ordinary technicians in the field based on these implementation modes are included in the protection scope of the present application.
[0036] The purpose of the present application is to provide a technical solution to solve the problem that the gas monitoring equipment in the related art does not support a real-time and relatively complex gas alarm determination method. Based on this purpose, the present application provides an alarm threshold iteration system 100 based on historical snapshot aggregation, which can perform a real-time and relatively complex gas alarm determination method for different types of gas monitoring equipment, including performing a separate alarm determination for any type of gas monitoring equipment, and / or performing a comprehensive alarm determination in combination with at least two types of gas monitoring equipment.
[0037] like Figure 1 As shown, it is an application scenario diagram of the alarm threshold iteration system 100 based on historical snapshot collection provided by an embodiment of the present application. The application scenario includes the alarm threshold iteration system 100 and three types of gas monitoring equipment. For example, the three types of gas monitoring equipment are smart gas meters, smart pressure collectors, and smart gas alarms. It is easy to understand. Figure 1 Only three types of gas monitoring equipment are exemplified, and more other types of gas monitoring equipment may be included in actual applications. The alarm threshold iteration system 100 and the gas monitoring equipment can communicate in a two-way manner, and the gas monitoring equipment can upload various data representing the operating status of the gas monitoring equipment to the alarm threshold iteration system 100. The alarm threshold iteration system 100 can set separate alarm rules for each gas monitoring equipment based on the data reported by these gas monitoring equipment.
[0038] like Figure 2 As shown, a schematic diagram of an alarm threshold iteration system 100 based on historical snapshot collection provided by an embodiment of the present application is shown. The alarm threshold iteration system 100 includes an indicator definition module 11, a snapshot generation module 12, an alarm condition definition module 13, an alarm rule generation module 14, an alarm set generation module 15, an alarm determination module 16 and an alarm module 17.
[0039] It should be noted that the connection relationship and sequence shown in the figure are for convenience of explanation only. The connection sequence of each module should be determined by its function and internal logic, and does not constitute any limitation on the implementation process of the embodiment of the present application.
[0040] Specifically, the indicator definition module 11 takes any type of gas monitoring equipment as a target equipment, and defines at least one indicator for the target equipment, where the indicator includes at least one attribute of the target equipment.
[0041] The snapshot generation module 12 is used to take any indicator of any gas monitoring equipment as a target indicator and generate a snapshot for the target indicator. The snapshot includes historical data of at least one attribute contained in the target indicator within a preset period and statistical values of historical data of at least one attribute within the preset period.
[0042] The alarm condition definition module 13 is used to define alarm conditions for indicators, and the alarm condition definition module 13 can obtain statistical values in the snapshot as iterative condition parameters of the alarm conditions.
[0043] The alarm rule generating module 14 is used to generate an alarm rule, and the alarm rule includes an indicator and an alarm condition corresponding to the indicator.
[0044] The alarm set generating module 15 is used to generate an alarm set for a target device, where the alarm set includes at least one alarm rule related to the target device.
[0045] According to the above description, the alarm threshold iteration system 100 provided in the embodiment of the present application can obtain statistical values based on the historical data of the gas monitoring equipment, and can use the statistical values as the iteration condition parameters of the alarm conditions. In this way, the alarm rules for each gas monitoring equipment can be set separately in combination with the historical data of the equipment. In addition, according to the alarm set for the gas monitoring equipment generated by the alarm threshold iteration system 100 provided in the embodiment of the present application, combined with the snapshot data provided by the gas monitoring equipment, it can support real-time and more complex gas alarm determination.
[0046] As an optional implementation manner, the alarm threshold iteration system 100 provided in the embodiment of the present application may further include an alarm determination module 16 and an alarm module 17 .
[0047] The alarm determination module 16 is used to traverse the alarm set and obtain a snapshot of the target period according to the indicators in the alarm set. The alarm determination module analyzes whether the snapshot of the target period meets the alarm rules.
[0048] The alarm module 17 is used to receive the analysis result of the alarm determination module. In response to the alarm determination module analyzing that the target period snapshot meets the alarm rule, the alarm module triggers an alarm event to issue an alarm notification.
[0049] It should be noted that the alarm threshold iteration system 100 provided in the embodiment of the present application can also only generate an alarm set without performing an alarm determination. The alarm threshold iteration system 100 can provide an interface to connect with other monitoring systems, and the alarm threshold iteration system 100 imports the generated alarm set into the monitoring system, and other monitoring systems perform alarm determination on each gas monitoring device.
[0050] To explain the above-mentioned warning threshold iteration system 100 in more detail, Figure 3 As shown, the alarm judgment flow chart of the alarm threshold iteration system 100 in the embodiment of the present application is based on Figure 1 The application scenario of the alarm judgment flow chart includes the following steps:
[0051] Step S101 , the gas monitoring device reports data representing the operating status of the gas monitoring device to the alarm threshold iteration system 100 , and the alarm threshold iteration system 100 receives the data and performs data cleaning.
[0052] Specifically, the gas monitoring device can report to the alarm threshold iteration system 100 in the form of a data set. The data set is a collection of various data that characterize the operating status of the gas monitoring device. The alarm threshold iteration system 100 can obtain the operating status of the gas monitoring device by monitoring these data.
[0053] For example, the gas monitoring equipment can report the methane concentration, temperature, operating condition accumulation, standard condition accumulation, inlet pressure, outlet pressure data, etc. that it collects.
[0054] Step S102: the indicator definition module 11 specifies any type of gas monitoring equipment as a target equipment, and defines at least one indicator for the target equipment.
[0055] Specifically, based on the current analysis requirements, the indicator definition module 11 can specify any type of gas monitoring equipment as the target equipment. The indicator definition module 11 defines different indicators according to different analysis requirements. The indicators include the attributes of the target equipment, and the attributes represent the operating status of the gas monitoring equipment. For example, the attributes of the target equipment may include one or more of the following types of attributes: methane concentration, temperature, operating condition accumulation, standard condition accumulation, outlet pressure, and inlet pressure monitored by the gas monitoring equipment.
[0056] The indicator contains at least one attribute of the target device. Based on the different analysis objectives, the attributes contained in the designed indicators are also different. The following is an exemplary illustration of the design methods of three types of indicators, as follows:
[0057] For example, a first indicator is designed, which can reflect the methane leakage status of the target equipment. The first indicator includes methane concentration and temperature.
[0058] For example, a second indicator is designed, which can reflect the gas consumption of the target equipment. The second indicator includes the cumulative amount under operating conditions and the cumulative amount under standard conditions.
[0059] For example, a third indicator is designed, which can reflect the performance of the target device voltage regulator, and the third indicator includes outlet pressure and inlet pressure.
[0060] Step S103 , the snapshot generation module 12 takes any indicator of any gas monitoring device as a target indicator, and generates a snapshot for the target indicator.
[0061] Specifically, the snapshot includes historical data of at least one attribute included in the target indicator within a preset period, and the statistical value of the historical data of at least one attribute within the preset period. The preset period can be set according to demand, for example, the preset period can be daily, weekly, monthly, yearly, etc. The snapshot generation module 12 specifies any indicator as a target indicator, and records the historical data of at least one attribute included in the target indicator within the preset period. The snapshot can be set according to actual needs to record the historical data of which attributes in the target indicator. In the embodiment of the present application, the snapshot includes the historical data of all attributes contained in the target indicator within the preset period. In addition, the snapshot generation module 12 also performs statistical processing on at least part of the historical data in the snapshot, generates statistical values of the historical data, and records the statistical values in the snapshot. Through this setting, the required data information can be obtained by calling the snapshot without the need for conventional network queries, avoiding the consumption of network and I / O resources, avoiding business processing blockage, and causing problems such as delays.
[0062] As an optional implementation, the statistical value may be obtained by statistically processing a single attribute or at least two attributes. The statistical processing algorithm of the statistical value in the snapshot is related to the alarm condition and will be described later.
[0063] Step S104: the alarm condition definition module 13 defines an alarm condition for the indicator, and the alarm condition definition module 13 can obtain the statistical value in the snapshot as an iteration condition parameter of the alarm condition.
[0064] It should be noted that, in the embodiment of the present application, the condition parameters of the alarm condition include iterative condition parameters and fixed condition parameters. It is easy to understand that the iterative condition parameters can be iteratively updated according to the requirements, and the fixed condition parameters are generally set to a preset fixed value.
[0065] Specifically, the statistical value is obtained by statistically analyzing the historical data of the target indicator within the preset period recorded in the snapshot. The statistical algorithm of the statistical value in the snapshot is related to the alarm condition. The statistical value is used as the iteration condition parameter of the alarm condition, so that the iteration condition parameter can be updated with the periodic update of the snapshot. Through this setting, the iteration condition parameter can be set to intelligent and dynamic adjustment according to actual needs, which is conducive to more accurate and timely alarm judgment in the future.
[0066] For example, the alarm condition is the determination of the average monthly gas consumption. When the current average monthly gas consumption is monitored to exceed the preset threshold compared with the average gas consumption of the previous month, an alarm is triggered. For this alarm condition, the average gas consumption of the previous month is an iterative condition parameter of the alarm condition, and the statistical value algorithm of the snapshot includes the calculation of the average monthly gas consumption. It is easy to understand that different alarm conditions are set according to different analysis requirements. Based on each alarm condition, at least one type of statistical processing can be performed on the historical data corresponding to at least one attribute in the snapshot. The obtained statistical values may include, for example: monthly month-on-month growth rate, monthly year-on-year growth rate, monthly mean, monthly median, etc.
[0067] For fixed condition parameters, for example, if the methane concentration in the environment is greater than 5%LEL (Lower ExplosionLimited) for a long time and encounters fire sources such as open flames or static electricity, dangerous situations such as explosions or fires may occur. If the target device is a gas alarm, the indicator is the methane concentration, and the fixed condition parameter of the alarm condition can be set to 5%LEL to avoid abnormal alarm judgments, thereby improving the safety of gas monitoring equipment.
[0068] Step S105: the alarm rule generating module 14 generates an alarm rule.
[0069] Specifically, the alarm rule includes an indicator and an alarm condition corresponding to the indicator. It can be understood that the iteration condition parameter of the alarm condition corresponding to the indicator is the statistical value of the indicator obtained by the snapshot within the preset period. By presetting the indicator and its corresponding alarm condition in the alarm rule, the alarm rule can be directly used for alarm judgment in the future, and the alarm rule can be updated as the alarm condition is updated, which has higher flexibility and timeliness.
[0070] Step S106: the alarm set generating module 15 generates an alarm set for the target device.
[0071] Specifically, the alarm threshold iteration system 100 can use the VEE (Validating Editing and Estimating) alarm engine to configure alarm sets for gas monitoring devices. The VEE alarm engine is a high-performance analysis and calculation engine that has the ability to process a large amount of concurrent data from devices. It can configure alarm sets for each gas monitoring device separately, as well as realize the collection of historical data snapshots of the same indicator of the gas monitoring device and the classification and collection of related data, thereby improving the real-time monitoring and analysis capabilities of the alarm threshold iteration system 100 for massive data.
[0072] The alarm set includes at least one alarm rule about the target device. By configuring the alarm set, the gas monitoring device can be selectively alarmed, making the alarm determination of the gas monitoring device more personalized and customized, meeting the alarm determination requirements of the gas monitoring device in different scenarios.
[0073] In step S107, the alarm determination module 16 traverses the alarm set and obtains a snapshot of the target period according to the indicators in the alarm set. The alarm determination module 16 analyzes whether the snapshot of the target period meets the alarm rules. If yes, step S108 is executed. If not, the alarm determination ends.
[0074] Step S108: the alarm module 17 triggers an alarm event.
[0075] Specifically, the alarm module 17 is capable of receiving the analysis results of the alarm determination module 16. In response to the analysis by the alarm determination module 16 that the target periodic snapshot satisfies the alarm rules, the alarm module 17 triggers an alarm event and issues an alarm notification. When the alarm determination module 16 analyzes that the target periodic snapshot does not satisfy the alarm rules, the alarm module 17 does not trigger an alarm event.
[0076] In order to further illustrate the alarm threshold iteration system 100 provided in the embodiment of the present application, three application scenarios of the alarm threshold iteration system 100 provided in the embodiment of the present application are provided as follows. Specifically:
[0077] Exemplarily, the alarm threshold iteration system 100 provided in the embodiment of the present application can be applied to a complex gas leak determination scenario that combines environmental factors and historical data. For example, a gas alarm is selected as a target device, and a first indicator is defined for the target device. The first indicator includes the following attributes: methane concentration and temperature detected by the target device. Based on the first indicator, a snapshot with a preset period of one month can be generated. The snapshot includes methane concentration data, temperature data, and statistical values of methane concentration data and / or temperature data detected by the target device within one month (e.g., calculation of the positive correlation between methane concentration and temperature), and the statistical value is used as an iterative condition parameter of the alarm condition. When making an alarm determination, a snapshot is retrieved according to the indicator. According to the snapshot, it can be determined that if the current methane concentration is greater than 5% LEL, a suspected pipeline gas leak is determined, and the biogas analysis rule is started. Further, according to the statistical value of the positive correlation between methane concentration and temperature in the snapshot, a judgment is made. If the methane concentration and temperature are positively correlated, it can be determined to be a biogas leak with a high probability. If the correlation is not positive, it can be determined to be a pipeline gas leak with a high probability.
[0078] Exemplarily, the alarm threshold iteration system 100 provided in the embodiment of the present application can be applied to the abnormal gas consumption determination scenario combining current data and historical data. For example, a gas meter is selected as the target device, and a second indicator is defined for the target device. The second indicator includes the following attributes: the gas consumption detected by the target device. Based on the second indicator, a snapshot with a preset period of 30 days can be generated. The snapshot includes the daily gas consumption detected by the target device within 30 days and the statistical value of the gas consumption (such as the median of the daily gas consumption of all users within 30 days). The statistical value is used as the iterative condition parameter of the alarm condition. When making an alarm judgment, the snapshot is retrieved according to the indicator. According to the snapshot, it can be judged that if the current daily gas consumption is greater than 5 times the statistical value, it is determined to be abnormal daily gas consumption; if the current daily gas consumption is less than or equal to 5 times the statistical value, it is determined to be normal daily gas consumption.
[0079] Exemplarily, the alarm threshold iteration system 100 provided in the embodiment of the present application can be applied to the pressure deviation determination scenario combining current data and historical data. For example, a gas meter is selected as the target device, and a third indicator is defined for the target device, and the third indicator includes the following attributes: the inlet pressure and outlet pressure detected by the target device. Based on the third indicator, a snapshot with a preset period of weekly can be generated, and the snapshot includes the inlet pressure data, outlet pressure data and statistical values of the inlet pressure data and outlet pressure data detected by the target device within a week (such as 30% of the weekly inlet pressure mean and 30% of the weekly outlet pressure mean), and the statistical value is used as the iterative condition parameter of the alarm condition. When making an alarm determination, the snapshot is retrieved according to the indicator. According to the snapshot, it can be judged that if the current inlet pressure and / or outlet pressure is greater than the statistical value, it is determined that the pressure is abnormal, that is, the current inlet pressure and / or outlet pressure deviates from the normal range; if the current inlet pressure and outlet pressure are respectively less than or equal to the statistical value, it is determined that the pressure is normal.
[0080] According to the above description, the alarm threshold iteration system provided in the embodiment of the present application can realize statistical analysis of gas monitoring data of different time spans, realize complex alarm judgment combined with historical data, and realize complex alarm judgment combined with environmental factors, so that the alarm results are more accurate and the intelligent and digital operation and management of the gas pipeline network are realized.
[0081] Optionally, the snapshot generation module 12 of this embodiment can also update the snapshot, and in response to the snapshot update, trigger the alarm condition definition module 13 to modify the iterative condition parameters of the alarm condition in conjunction. Specifically, the snapshot generation module 12 can update the snapshot, that is, update the recorded historical data within a preset period and the statistical value of the historical data within the preset period, and the snapshot generation module 12 also responds to the snapshot update to trigger the alarm condition definition module 13 to modify the iterative condition parameters of the alarm condition in conjunction, so that the alarm determination module 16 can make an alarm determination based on the most recent snapshot. This setting realizes the intelligent dynamic adjustment of the alarm condition, and improves the accuracy and timeliness of subsequent alarm determinations.
[0082] Optionally, the alarm set generation module 15 of the present embodiment can also configure at least one alarm rule in the alarm set to be invalid. For example, the alarm threshold iteration system 100 provided in the embodiment of the present application is applied to the abnormal under-pressure alarm determination scenario. Define a third indicator, and the third indicator includes the following attributes: the inlet pressure and the outlet pressure detected by the target device. If the target device only detects the inlet pressure in the actual application, an abnormal under-pressure alarm will appear in the outlet pressure data. In this case, the alarm set can configure the alarm rule of the outlet pressure to be invalid to avoid abnormal under-pressure alarms. This setting facilitates the processing of special business scenarios of gas monitoring equipment, thereby improving the flexibility of the alarm threshold iteration system 100.
[0083] As an optional implementation, Figure 4 As shown, the alarm threshold iteration system 100 of this embodiment also includes a first storage module 18, a second storage module 19 and a reporting frequency detection module 20. The first storage module 18 and the second storage module 19 can store snapshots, and the reporting frequency detection module 20 can detect the reporting frequency of the gas monitoring device. When the reporting frequency of the gas monitoring device is greater than or equal to the preset threshold, the snapshot of the gas monitoring device is stored in the first storage module 18; when the reporting frequency of the gas monitoring device is less than the preset threshold, the snapshot of the gas monitoring device is stored in the second storage module 19. It can be understood that the reporting update frequency of the snapshots stored in the first storage module 18 is higher than that of the second storage module 19, which can improve the speed of retrieving high-frequency snapshots, thereby improving the operating efficiency of the alarm threshold iteration system 100.
[0084] Alternatively, if Figure 5 As shown, the alarm threshold iteration system 100 of this embodiment also includes a classification collection module 21. The alarm rule generation module 14 can generate a joint alarm rule, which includes at least two indicators. The classification collection module 21 classifies and collects snapshots according to these indicators; the alarm determination module 16 performs intelligent analysis based on the snapshots under the same classification collection, which helps to improve the intelligent operation capability of the gas monitoring equipment.
[0085] For example, the alarm threshold iteration system 100 provided based on the above-mentioned embodiment of the present application is applied to a complex gas leak judgment scenario that combines environmental factors and historical data. This scenario can also design two indicators based on the joint alarm rule for alarm judgment. Define the fourth indicator and the fifth indicator. The attribute included in the fourth indicator is the methane concentration detected by the target device, and the attribute included in the fifth indicator is the temperature detected by the target device. The classification collection module 21 can divide the snapshots of the fourth indicator and the fifth indicator into the same classification collection, and the alarm judgment module 16 performs intelligent analysis based on the snapshots under the same classification collection to make an alarm judgment. Through this setting, a complex alarm judgment based on multiple indicators is realized, and the intelligent and digital operation and management capabilities of the gas monitoring equipment are improved.
[0086] Alternatively, if Figure 5 As shown, the alarm threshold iteration system 100 of this embodiment also includes an alarm recording module 22 and a display module 23. The alarm recording module 22 can record the above alarm events, and the alarm recording module 22 also associates and records the snapshots of the triggered alarm events. The display module 23 displays the alarm events and the snapshots of the triggered alarm events, so that relevant personnel can further analyze the historical data to summarize the triggering causes of the alarm events and improve the digital management capabilities of the gas monitoring equipment.
[0087] like Figure 6As shown, the embodiment of the present application further provides an alarm threshold iteration method based on historical snapshot aggregation, which is applicable to the above-mentioned alarm threshold iteration system 100, and includes the following steps:
[0088] Step S201: taking any type of gas monitoring equipment as a target equipment, defining at least one indicator for the target equipment, where the indicator includes at least one attribute of the target equipment.
[0089] Step S202, taking any indicator of any gas monitoring device as a target indicator, and generating a snapshot for the target indicator, the snapshot including historical data of at least one attribute included in the target indicator within a preset period, and statistical values of the historical data of at least one attribute within the preset period.
[0090] Step S203, defining an alarm condition for the indicator, and obtaining a statistical value in the snapshot as an iteration condition parameter of the alarm condition.
[0091] Step S204: Generate an alarm rule, where the alarm rule includes an indicator and an alarm condition corresponding to the indicator.
[0092] Step S205: Generate an alarm set for the target device, where the alarm set includes at least one alarm rule related to the target device.
[0093] Step S206, traverse the alarm set, and obtain a snapshot of the target period according to the indicators in the alarm set, and the alarm determination module 16 analyzes whether the snapshot of the target period meets the alarm rule.
[0094] Step S207: in response to the target periodic snapshot satisfying the alarm rule, triggering an alarm event.
[0095] Step S208, updating the snapshot, and in response to the snapshot update, modifying the iteration condition parameters of the alarm condition in a linked manner.
[0096] It can be understood that this method is applicable to the above-mentioned alarm threshold iteration system 100. The specific implementation of this method has been reflected in the above description and will not be repeated here in detail.
[0097] It should be noted that the serial numbers of the steps in the embodiments of the present application do not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0098] In summary, the alarm threshold iteration system 100 and method based on historical snapshot collection provided by the present application can combine the historical data of the equipment to realize the separate setting of the alarm rules for each gas monitoring equipment, and solve the problem that the gas monitoring equipment in the related technology does not support real-time and more complex gas alarm determination methods. At the same time, the present application further improves the intelligent digital operation and management capabilities of the gas monitoring equipment by storing snapshots of different reporting frequencies, classifying and collecting alarm rules, and recording and displaying snapshots of triggered alarm events.
[0099] It will be appreciated that the word "exemplary" as used herein means "serving as an example, instance, or illustration". Any embodiment described as "exemplary" is not necessarily preferred or superior to other embodiments and / or does not exclude the combination of features of other embodiments. It will be appreciated that certain features of the present application described in the context of separate embodiments for the sake of clarity may also be provided in a single embodiment by combination. Conversely, various features of the present application described in the context of a single embodiment for the sake of clarity may also be provided individually or in any suitable combination or as any other described embodiment of the present application.
[0100] The above disclosure is only the preferred embodiment of the present application, but it is not intended to limit the scope of rights of the present application. A person of ordinary skill in the art can understand that without departing from the spirit and scope of the present application and the appended claims, changes, modifications, substitutions, combinations, and simplifications should all be equivalent replacement methods and still fall within the scope of the invention.
[0101] The application fields of the technology of the present invention include but are not limited to gas safety. As long as the essence of the technical solution does not deviate from the scope of the technical solution of each embodiment of the present invention, it falls within the protection scope of the present invention.
Claims
1. An alarm threshold iteration system based on historical snapshot collection, characterized in that: The system comprises: An indicator definition module, wherein the indicator definition module takes any type of gas monitoring device as a target device and defines at least one indicator for the target device, wherein the indicator includes at least one attribute of the target device; A snapshot generation module, the snapshot generation module is used to take any indicator of any gas monitoring device as a target indicator, and generate a snapshot for the target indicator, the snapshot including historical data of at least one attribute included in the target indicator within a preset period, and a statistical value of the historical data of at least one attribute within the preset period; An alarm condition definition module, the alarm condition definition module is used to define an alarm condition for the target indicator, and the alarm condition definition module can obtain the statistical value in the snapshot as an iteration condition parameter of the alarm condition; An alarm rule generation module, the alarm rule generation module is used to generate an alarm rule, the alarm rule includes one of the target indicators and an alarm condition corresponding to the target indicator; An alarm set generation module, wherein the alarm set generation module is used to generate an alarm set for the target device, wherein the alarm set includes at least one alarm rule related to the target device.
2. The alarm threshold iteration system based on historical snapshot collection according to claim 1 is characterized in that: The system comprises: A first storage module and a second storage module, wherein the first storage module and the second storage module are used to store the snapshot; The system also includes a reporting frequency detection module, which is used to detect the reporting frequency of the gas monitoring device. In response to the reporting frequency of the gas monitoring device being greater than or equal to a preset threshold, the snapshot of the gas monitoring device is stored in the first storage module. In response to the reporting frequency of the gas monitoring device being less than the preset threshold, the snapshot of the gas monitoring device is stored in the second storage module.
3. The alarm threshold iteration system based on historical snapshot collection according to claim 1 is characterized in that: The snapshot generation module is further used to update the snapshot, and in response to the snapshot update, trigger the alarm condition definition module to modify the iteration condition parameters of the alarm condition in a linked manner.
4. The alarm threshold iteration system based on historical snapshot collection according to claim 1 is characterized in that: The alarm set generation module can also be used to configure at least one of the alarm rules in the alarm set to be invalid.
5. The alarm threshold iteration system based on historical snapshot collection according to claim 1 is characterized in that: The system further comprises: An alarm determination module, the alarm determination module is used to traverse the alarm set and obtain a snapshot of a target period according to the indicators in the alarm set, and the alarm determination module analyzes whether the snapshot of the target period meets the alarm rule; An alarm module is used to receive the analysis result of the alarm determination module. In response to the alarm determination module analyzing that the target period snapshot meets the alarm rule, the alarm module triggers an alarm event.
6. The alarm threshold iteration system based on historical snapshot collection according to claim 5 is characterized in that: The alarm rule generation module is further used to generate a joint alarm rule, wherein the joint alarm rule includes at least two indicators; The system further comprises a classification and collection module, the classification and collection module being used to classify and collect the snapshots according to the indicators of the joint alarm rule; The alarm determination module is also used to perform intelligent analysis based on snapshots under the same classification.
7. The alarm threshold iteration system based on historical snapshot collection according to claim 5, characterized in that: The system further comprises an alarm recording module, the alarm recording module is used to record the alarm event, and the alarm recording module is also used to associate and record the snapshot that triggers the alarm event; The system further comprises a display module, and the display module is used to display the snapshot that triggers the alarm event and / or display the alarm event.
8. The alarm threshold iteration system based on historical snapshot collection according to any one of claims 1 to 7, characterized in that: The system uses the VEE alarm engine to configure the alarm set.
9. An iterative method for alarm thresholds based on historical snapshot collection, characterized in that: The method comprises the following steps: Taking any type of gas monitoring equipment as a target equipment, defining at least one indicator for the target equipment, wherein the indicator includes at least one attribute of the target equipment; Taking any indicator of any gas monitoring device as a target indicator, and generating a snapshot for the target indicator, the snapshot including historical data of all attributes included in the target indicator within a preset period, and a statistical value of the historical data of at least one attribute within the preset period; defining an alarm condition for the indicator, and obtaining the statistical value in the snapshot as an iteration condition parameter of the alarm condition; Generate an alarm rule, wherein the alarm rule includes the target indicator and an alarm condition corresponding to the target indicator; An alarm set is generated for the target device, wherein the alarm set includes at least one alarm rule related to the target device.
10. The method for iterating alarm thresholds based on historical snapshot collection according to claim 9, characterized in that: The method further comprises the following steps: The snapshot is updated, and in response to the snapshot update, the iteration condition parameters of the alarm condition are modified in a linked manner.
