Multi-dimensional alarm light indicator generation method and system
Through the multi-dimensional alarm light card generation method, the problems of large configuration workload, prone to errors and low efficiency in the existing technology are solved, and multi-dimensional processing and priority management are realized, repeated alarms are reduced, and the stability and efficiency of the system are improved.
Patent Information
- Application Number
- CN202411988062.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2044-12-31
AI Technical Summary
In the prior art, the configuration workload is large, error-prone, low efficiency, and cannot perform multi-dimensional statistical processing, resulting in repeated alarms and reducing the efficiency of the system.
The multi-dimensional alarm light card generation method is used to configure alarm configuration, set priority, read alarm data, calculate alarm similarity in the time window, judge the same alarm event, and process alarm information according to priority.
Multi-dimensional processing is realized, the stability and efficiency of the system are improved, duplicate alarms are reduced, the recognition and accuracy of alarms are improved, and priority management is supported.
Smart Images

Figure CN119882625A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sequential controllers or logic controllers, and in particular to the use of digital processing devices. Background Art
[0002] In medium and large industrial DCS control systems, the number of bit numbers, including hard points and soft points, often reaches tens of thousands or even hundreds of thousands in total, and one bit number often has multiple alarm types. When designing an alarm light sign, if you directly select from so many bit number alarm types, the configuration workload is very large and prone to errors. For example, a Chinese patent with publication number CN118584882A discloses a high-precision integration method and system for alarm event signals of a distributed control system, and provides the following technical solutions. The present invention discloses a high-precision integration method and system for alarm event signals of a distributed control system, and relates to the field of signal data integration technology, including storing real-time data and generated alarm event information on a DCS database server; constructing a physical data link to transmit the real-time data and corresponding alarm signal information generated in the DCS from the safety zone I to the management information zone; by calling the real-time data of the measuring points in the real-time library database and the corresponding alarm event message queue data in the InfluxDB database. The high-precision integration method of the distributed control system alarm event signal provided by the present invention integrates the distributed control system DCS and the plant-level monitoring system SIS to ensure that the measurement point alarm event information in the SIS is consistent with that in the DCS, which can avoid the workload of repeatedly implementing the alarm monitoring condition judgment and alarm level judgment in the plant-level monitoring system, and significantly reduce the implementation cost. However, the above-mentioned high-precision integration method and system for the alarm event signal of a distributed control system has a large configuration workload and is prone to errors. It also does not have the function of statistics from dimensions such as alarm partitions, flow charts, alarm statistical bit numbers, alarm levels, and alarm types. It is also impossible to handle the same alarm event well, which easily leads to repeated alarms and greatly reduces efficiency. Summary of the invention
[0003] The present invention solves the problems in the prior art that are difficult to solve, such as large configuration workload, easy errors, low efficiency, and one-sided processing dimensions, and proposes a multi-dimensional alarm light sign generation method and system, which achieves the purposes of multi-dimensional processing, high stability, high efficiency, and small configuration workload.
[0004] To achieve the above object, the present invention adopts the following technical solution: A multi-dimensional alarm light sign generation method comprises the following steps: S1: Configure the alarm configuration according to the bit number and alarm information, and set the priority of each alarm configuration; S2: Read the alarm configuration and obtain all system alarms; S3: Determine the dimension and filter, calculate the similarity of the alarms in the time window, process the filtered alarms, and determine whether there is the same alarm event based on the comparison between the time window and the similarity model; S4: For the same alarm event, an alarm is issued according to the information of the high priority alarm configuration, and the information of the low priority alarm configuration is used as a supplement.
[0005] A multi-dimensional alarm light sign system includes: a data acquisition module, a dimension judgment module and an alarm module, the data acquisition module collects alarm status and bit number information and other real-time data and transmits them to the dimension judgment module, the dimension judgment module receives configuration information transmitted by the configuration module, and transmits the alarm data after screening and judgment to the alarm module, the alarm module filters and analyzes the alarm data, and generates the display status of the alarm light sign as the final result and sends it to the display module.
[0006] The advantage of this design is that it can manage and integrate alarms through multiple dimensions, reduce duplicate alarms, improve alarm recognition and accuracy, and implement priority management, making it easier for operators to quickly locate key issues.
[0007] Preferably, the step S3 further comprises the following steps: S3.1: Perform corresponding filtering according to the filtering type, which is bit number or bit number alarm type or alarm level or alarm type; S3.2: Set the required time window and obtain the timestamp of each alarm message; S3.3: sorting the received alarm information according to the timestamp, checking the difference between the timestamp of the alarm record and the timestamp of the next alarm record in order; S3.4: Determine whether the timestamp difference is within the time window. If so, proceed to step S3.5. If not, return to step S3.3 to calculate the next timestamp difference. S3.5: Process the alarm text and calculate the similarity.
[0008] The advantage of this design is that it can effectively screen and classify alarm data through time windows and similarity calculations, avoid repeated alarms for the same event, and improve the intelligence level of alarm management.
[0009] Preferably, the step S3.5 specifically includes the following steps: S3.51: Perform text preprocessing on the alarm content, remove stop words and punctuation, and perform stem extraction; S3.52: Convert each alarm content into a word set, and calculate the size of the intersection and union of the two sets; S3.53: Calculate the value of the first similarity, and determine whether the first similarity is less than the first similarity threshold. If so, proceed to step S3.54; if not, determine that they are the same alarm event; S3.54: Convert the alarm content into a vector representation to obtain a feature vector of each alarm; S3.55: Calculate the dot product and the modulus of the two vectors, and calculate the value of the second similarity; S3.56: Determine whether the second similarity is less than a second similarity threshold. If so, they are not the same alarm event and return to step S3.3. If not, determine that they are the same alarm event.
[0010] The advantage of this design is that, through text preprocessing and similarity calculation, not only can the alarm content be analyzed based on semantics, but the accuracy of the analysis can also be further improved through vector calculation to ensure accurate identification of the same alarm event.
[0011] Preferably, in step S4, it is determined to be the same alarm event, the alarm information with the highest priority is selected and an alarm is issued, and it is determined whether the alarm information with the lower priority has additional information compared to the alarm information with the highest priority. If so, it is retained as supplementary information; if not, the alarm information with the lower priority is deleted.
[0012] The advantage of this design is that through priority judgment, key alarm information can be retained, while improving information processing efficiency, making the alarm content more concise and focused, and additional information can also be retained as supplementary information to prevent omissions.
[0013] Preferably, in the step S1, configuring the alarm configuration according to the bit number includes configuring according to the alarm partition and the flow chart and the direct bit number, and the alarm partition is a bit number partition or a custom alarm partition; the custom alarm partition classifies the bit number into each custom partition name according to actual needs, and one or more alarm partitions can be selected, and the flow chart includes a plurality of graphic objects, and the graphic objects are associated with a plurality of bit numbers.
[0014] The advantage of this design is that it provides a flexible configuration method for alarm configuration. Users can customize partitions and flow chart configurations according to actual needs to meet the diverse needs in complex control scenarios.
[0015] Preferably, the direct bit number selects one or more bit numbers through the system's bit number selector, and if the alarm type corresponding to the bit number is selected, it is the bit number alarm type dimension; according to the bit number configuration, the alarm configuration also includes an alarm bit number, and the alarm bit number groups the related bit number alarm types together, and the alarm bit number handles the alarm status of the entire group.
[0016] Preferably, in the step S1, configuring the alarm configuration according to the alarm information includes configuring according to the alarm level and the alarm category, and each alarm type corresponds to an alarm level; a bit number has several alarm types, the alarm types of the same type of bit number alarm types are the same, and the alarm types of different types of bit number alarm types may also be the same, and one or more alarm levels and alarm types can be selected.
[0017] Preferably, in step S3, if the dimension is an alarm partition, the alarm partition is obtained, and all the bit numbers involved are obtained through the alarm partition; if the dimension is a flowchart, the flowchart name is extracted and the flowchart configuration file is parsed, and then the bit number is extracted. If the flowchart extracts multiple bit numbers, all the extracted bit numbers are integrated into a set of lists, and duplicate bit numbers are removed to obtain all the bit numbers involved; if the dimension is a bit number, the selected bit number is directly obtained; if the dimension is a bit number alarm type, the bit number alarm type is directly obtained; if the dimension is an alarm bit number, all bit number alarm types are obtained through the alarm statistical bit number; if the dimension is an alarm level, the selected alarm level is obtained; if the dimension is an alarm type, the selected alarm type is obtained.
[0018] The advantage of this design is that it provides a wealth of filtering dimensions and data extraction methods, thereby meeting the alarm statistics needs of different scenarios and improving the applicability and flexibility of the system.
[0019] Preferably, in step S3.53, the specific method for calculating the value of the first similarity is: the first similarity is the quotient of the size of the intersection of two sets and the size of the union of the two sets; the specific method for calculating the value of the second similarity is: the second similarity is the quotient of the dot product of two vectors and the product of the moduli of the two vectors.
[0020] The advantage of this design is that by combining the two similarity calculation methods, the similarities between alarm contents can be analyzed more accurately, thereby improving the recognition efficiency and accuracy of the same alarm event.
[0021] Compared with the prior art, the invention has the following beneficial effects.
[0022] 1. The present invention greatly improves the flexibility and accuracy of alarm management by multi-dimensional statistics and filtering of alarm information. The multiple dimensions include alarm partitions, flow charts, bit numbers, bit number alarm types, alarm levels, and alarm types, which can adapt to the needs of various industrial control scenarios. This design allows users to flexibly select the required dimensions for alarm configuration according to different statistical needs, thereby improving the configurability and scalability of the system. At the same time, by combining alarm information of different dimensions, alarm data can be screened and integrated more efficiently, thereby simplifying the management of complex systems, reducing error rates, and enhancing the adaptability and efficiency of the system.
[0023] 2. The present invention can effectively avoid the interference of multiple repeated alarms to users by judging the same alarm event through time window and similarity calculation. The setting of the time window ensures the possibility of the same alarm event in a short time, and prevents the same alarm event from being judged as the same alarm event for a long time and causing missed reports. The application of the similarity model identifies whether it is the same event from the level of content semantics. Combining the two for comprehensive analysis greatly reduces the possibility of false alarms and missed reports. At the same time, the introduction of the priority mechanism enables high-priority alarms to be presented to users faster and more comprehensively, while low-priority alarms are retained or eliminated as supplementary information, realizing the precise management of unified alarm events. This design helps operators focus on key issues and improves the efficiency of responding to emergencies.
[0024] 3. The present invention greatly improves the efficiency of alarm configuration through modular design and multi-dimensional options, especially when facing complex industrial processes. Users can quickly filter and configure the required alarm rules according to multiple dimensions such as alarm partition, bit number, alarm type, etc., without having to manually set them one by one, which greatly reduces the configuration time. In addition, the present invention supports batch operation and template management functions, further optimizes the configuration process, and makes it more efficient and convenient when used in large-scale systems. This design can flexibly adapt to various complex scenarios while ensuring the accuracy and consistency of the configuration, providing strong support for the rapid deployment and operation of industrial control systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 The present invention is an overall flow chart of a multi-dimensional alarm light sign generation method and system.
[0026] Figure 2 The present invention discloses a multi-dimensional alarm light sign generation method and a same alarm event judgment flow chart of the system. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical scheme and advantages of the present disclosure clearer, the following will further describe the embodiments of the present disclosure in detail with reference to the accompanying drawings. The proportions of the components are not drawn according to the actual proportions, and the proportions and sizes shown in the accompanying drawings should not limit the substantial technical scheme of the present invention. These embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described.
[0028] See also Figure 1-2 As shown, a multi-dimensional alarm light sign generation method comprises the following steps: S1: Configure the alarm configuration according to the bit number and alarm information, and set the priority of each alarm configuration; S2: Read the alarm configuration and obtain all system alarms; S3: Determine the dimension and filter, calculate the similarity of the alarms in the time window, process the filtered alarms, and determine whether there is the same alarm event based on the comparison between the time window and the similarity model; S4: For the same alarm event, an alarm is issued according to the information of the high priority alarm configuration, and the information of the low priority alarm configuration is used as a supplement.
[0029] A multi-dimensional alarm light sign system includes: a data acquisition module, a dimension judgment module and an alarm module, the data acquisition module collects alarm status and bit number information and other real-time data and transmits them to the dimension judgment module, the dimension judgment module receives configuration information transmitted by the configuration module, and transmits the alarm data after screening and judgment to the alarm module, the alarm module filters and analyzes the alarm data, and generates the display status of the alarm light sign as the final result and sends it to the display module.
[0030] The present invention can manage and integrate alarms in multiple dimensions, reduce duplicate alarms, improve the recognition and accuracy of alarms, and simultaneously implement priority management, making it easier for operators to quickly locate key issues.
[0031] like Figure 1 In one embodiment shown, Figure 1 The present invention is an overall flow chart of a multi-dimensional alarm light sign generation method and system. The present invention is designed to generate a multi-dimensional alarm light sign, which includes the following main steps: First, configure the alarm configuration according to the bit number and the alarm information. At this stage, the bit number to be monitored is associated with the corresponding alarm information, and the priority of each alarm configuration is set. The priority is set to ensure that the user pays priority attention to the most important information among multiple alarm messages, while the additional information of the same alarm event can be treated as supplementary or secondary information. The configuration of the alarm information can be flexibly selected based on multiple dimensions such as alarm partitions, flow charts or specific bit numbers. For example, the configuration of the alarm partition can be bit number partitions or custom partitions. Users can classify different bit numbers into specific partition names according to actual needs, thereby achieving more efficient alarm management.
[0032] Next, the system reads the alarm configuration configured above and obtains all the alarm data in the system. This step is the core of the entire method operation, which is to classify and manage all possible alarms through the configured logic. Acquiring alarm data ensures the real-time performance of the system, can capture all alarm events, and provide basic data support for subsequent filtering and processing.
[0033] Then, the system performs dimension judgment and filtering on the alarm data. In this link, the system will filter the data according to the alarm dimension configured. For example, if the dimension is alarm partition, the system will extract all relevant bit numbers in the alarm partition; if the dimension is flow chart, the configuration file of the flow chart will be parsed to extract relevant bit number information; if the dimension is bit number or bit number alarm type, the corresponding bit number or alarm type will be directly extracted; if the dimension is alarm level or alarm type, the corresponding alarm level and type will be extracted. This multi-dimensional screening and filtering method can meet the diverse needs of different users and prepare for subsequent alarm event processing.
[0034] After filtering is completed, the system will further analyze the filtered alarm information, including the calculation of alarm similarity within the time window. In order to avoid repeated alarms for the same alarm event, the system will compare the alarm data with the time window and similarity model to determine whether it is the same alarm event. Specifically, the system will perform text preprocessing on the alarm content, such as removing stop words and punctuation marks, converting the alarm text into a word set or vector representation, and using a similarity calculation model (such as the ratio of intersection to union or vector dot product calculation) to determine whether the two alarms are the same event.
[0035] Finally, for the same alarm event, the system will filter and process the alarm information according to the priority. The highest priority alarm information will be prompted as the main alarm, and the lower priority alarm information will be compared and analyzed. If there is different additional information, this part of the information will be retained as supplementary information; if the additional information has no new value, the low priority information will be directly deleted. This can ensure that the system focuses on the alarm information, reduce the interference of operators, and improve the efficiency of emergency response.
[0036] In a multi-dimensional alarm light sign system designed by the present invention, the data acquisition module is responsible for collecting the alarm status, bit number information and other real-time data, and transmitting these data to the dimension judgment module; the dimension judgment module filters and judges the alarm data according to the configuration information transmitted by the configuration module; the alarm module analyzes the final alarm data, generates the display status of the alarm light sign and transmits it to the display module.
[0037] In one embodiment, the present invention is implemented in the following manner: First enter the configuration phase and classify the alarm statistics dimensions: 1. Alarm partition, a DCS control system is often divided into several sections, each section can be one partition or several partitions. When configuring the bit number, you need to set the bit number partition (also called bit number grouping) attribute settings. The alarm partition can be a bit number partition, or a custom alarm partition, and the bit number can be classified into each custom partition name according to actual needs. In the alarm statistics configuration, you can select the alarm partition, select one or more.
[0038] 2. Flowchart: Flowchart is the most important monitoring operation interface in the control system. It is used to display the overall process and working status of the controlled equipment object and operate the relevant data volume. A flow chart often contains many graphic objects, and a graphic object is associated with many bit numbers. For alarm statistics configuration, you can select a flow chart.
[0039] 3. Bit number, you can select one or more bit numbers through the system bit number selector.
[0040] 4. Bit number alarm type: Bit number alarm type is an extension of the bit number dimension and is also the data source of the underlying alarm statistics. To configure alarm statistics, you can first select a group of bit numbers, and then select the alarm type corresponding to the bit number.
[0041] 5. Alarm statistics bit number. The alarm statistics bit number is a host computer bit number, which is customized by the engineer in the upper configuration. It groups related bit number alarm types together, and an alarm statistics bit number is used to manage the alarm status of the entire group (whether there is an alarm, alarm level, etc.). In the alarm statistics configuration, you can first select an alarm statistics bit number.
[0042] 6. Alarm level: A DCS system alarm level can be customized into multiple levels, such as low, medium, high, emergency, safety, etc. Each alarm type will select an alarm level to correspond to it. Alarm statistics configuration, you can select one or more alarm levels.
[0043] 7. Alarm type: one bit number has multiple alarm types. Bit numbers of the same type have the same alarm type, and bit numbers of different types may also have the same alarm type. In the alarm statistics configuration, one or more alarm types can be selected.
[0044] After classifying the alarm statistics dimensions, the operation period begins. The operation period multi-dimensional alarm statistics process is as follows: read the alarm statistics configuration, obtain all system alarms, and determine the statistical dimensions: if it is an alarm partition, obtain the alarm partition, and obtain all the bit numbers involved through the alarm partition. If it is a flowchart, obtain the flowchart name, and obtain all the bit numbers involved by parsing the flowchart configuration; if it is a bit number, directly obtain the selected bit number. If it is a bit number alarm type, directly obtain the bit number alarm type. If it is an alarm statistics bit number, obtain all bit number alarm types through the alarm statistics bit number.
[0045] If it is an alarm level, get the selected alarm level. If it is an alarm type, get the selected alarm type.
[0046] If the alarm filtering type is bit number, filter according to the bit number obtained above, and filter out the alarms that meet the conditions. If the alarm filtering type is bit number alarm type, filter according to the bit number alarm type obtained above, and filter out the alarms that meet the conditions. If the alarm filtering type is alarm level, filter according to the alarm level obtained above, and filter out the alarms that meet the conditions. If the alarm filtering type is alarm type, filter according to the alarm type obtained above, and filter out the alarms that meet the conditions.
[0047] Statistics are collected on the filtered alarms to obtain information such as whether there is an alarm, the highest alarm level, the lowest alarm level, whether they have all been confirmed, and whether there are the same alarm events.
[0048] In another embodiment, the system of the present invention consists in part of the following parts: 1. Data acquisition module, responsible for collecting real-time data from on-site I / O devices, including the status and alarm information of various sensors and actuators. Mainly includes: I / O module collects raw signals from equipment, including pressure, temperature, current and other data; Data transmission interface, used to transmit the collected data to the DCS host (for example, via a communication bus or industrial Ethernet).
[0049] The sensors and actuators connected to the industrial site are used as input, and the collected alarm status, bit number information and other real-time data are transmitted to the DCS host module as output.
[0050] 2. The statistical dimension module is responsible for judging the statistical dimension of the alarm data according to the rules configured by the engineer station (partition, flow chart, bit number, alarm level, etc.) and screening the alarm information set that meets the conditions. It mainly includes: Dimension analysis unit, analyzes the alarm configuration and determines the alarm statistics dimension (such as partition, flow chart, etc.); Data filtering unit, filtering real-time alarm data according to dimension analysis results; Data output interface, which passes the filtered alarm data set to subsequent modules.
[0051] It receives the input of the statistical dimension configuration provided by the engineer station module or the host and the real-time alarm data transmitted by the receiving data acquisition module, and passes the filtered alarm data to the alarm statistics module.
[0052] 3. The alarm statistics module performs statistical analysis on the alarm data filtered by the statistical dimension module and generates summary information of the alarm status (such as whether there is an alarm, the highest level alarm, etc.). It mainly includes: Data statistics unit, which counts alarm data, calculates the number of alarms, confirmation status, etc.; The status generation unit generates the display status of the alarm light sign (such as fast flashing, slow flashing, alarm level, etc.) according to the statistical results; the data output interface outputs the statistical results for the operator station or other modules to call.
[0053] It receives the alarm data filtered by the judgment and statistical dimension module, and transmits the alarm statistical results to the display module (operator station).
[0054] 4. The engineer station module provides configuration tools that allow users to define the rules and dimensions of alarm statistics. Engineers can use this module to configure alarm partitions, flow charts, bit numbers, alarm levels, etc. Mainly includes: Configuration interface, providing a user operation interface and supporting the definition and grouping of alarm dimensions; The data storage unit stores the configuration rules in the system and passes them to the statistical dimension module; Data interaction interface, communicates with DCS host and other modules, and updates configuration.
[0055] 5. Display module (operator station), which displays the real-time status of the alarm light sign in the control room for the operator to monitor and respond quickly. It supports the display of alarm level, alarm quantity, confirmation status and other information. It mainly includes: Display interface, which displays the graphical interface of the alarm light sign, including alarm status, color, flashing mode, etc.; User interaction unit, allowing operators to confirm alarms, view historical alarm records, etc.; Data receiving interface, receiving alarm statistics results from the alarm statistics module.
[0056] While receiving the alarm status calculated by the alarm statistics module, the operator can provide feedback to the system (such as confirming the alarm) through the operation interface.
[0057] 6. Data storage module, which stores the system's alarm history data, configuration rules and statistical results for subsequent query, analysis and tracing. Mainly includes: Historical data storage unit, recording alarm information (such as alarm time, level, confirmation status, etc.); Configuration rule storage unit, which saves the alarm dimension configuration defined by the engineering station or host; Interface module provides data access services for operator stations, engineer stations, etc.
[0058] A multi-dimensional alarm light-emitting sign generation method and system designed by the present invention has significant advantages. It can greatly improve the flexibility and accuracy of alarm management by multi-dimensional statistics and filtering of alarm information. Users can freely configure according to multiple dimensions such as alarm partitions, flow charts, bit numbers, alarm types, etc., adapt to complex industrial control scenarios, effectively classify similar or related alarm information, reduce data confusion, and improve readability. By combining the time window with the similarity calculation model, the repeated triggering of the same alarm event is avoided, the false alarm and missed alarm rates are reduced, and the intelligent level of alarm management is further improved. The priority mechanism ensures the priority presentation of key alarm information, focuses on important content and temporarily does not display useless information, which improves processing efficiency and simplicity. The modular and multi-dimensional configuration process significantly simplifies the configuration work, greatly reduces manpower requirements, and supports rapid deployment and template management, which is suitable for complex industrial environments. The system adopts dynamic visualization design, and adjusts the display status of the light-emitting sign in real time in combination with the alarm statistics results, helping users to quickly grasp the operation of production equipment and improve management efficiency. The highly adaptable design makes it widely applicable to distributed control systems (DCS) in thermal power, petrochemical, chemical and other industrial fields, providing users with flexible, efficient and safe alarm processing solutions, and comprehensively optimizing alarm configuration efficiency and information management capabilities.
[0059] like Figure 2 In one embodiment shown, Figure 2 The present invention is a multi-dimensional alarm light sign generation method and system for determining the same alarm event flow chart. The present invention is designed to generate a multi-dimensional alarm light sign, including the whole process of configuring, reading, filtering and processing alarm information. Specifically, it is first necessary to configure the alarm configuration according to the bit number and the alarm information. In this step, the relevant bit number in the DCS system is associated with the alarm information, and the priority of different alarm configurations is set to ensure that the system can process and display the alarm data according to the set logic. The setting of priority allows the system to give priority to presenting key alarm information in complex alarm scenarios in multiple dimensions, while secondary information is retained as supplementary or backup data.
[0060] Next, the system can read the configured alarm configuration and obtain all alarm information. The purpose of this step is to provide complete data support for subsequent alarm filtering and processing. By reading the real-time alarm data of the system, it ensures that all possible abnormal conditions can be captured and sent to the filtering and analysis module for further processing.
[0061] After completing the reading of the alarm information, the system will filter according to the dimension type of the alarm according to the set multi-dimensional alarm configuration. The alarm filtering dimensions can include bit number, bit number alarm type, alarm partition, flowchart, alarm level and alarm type. Taking the filtering bit number as an example, the system will filter the alarm data according to the configured bit number list and only retain the alarm records related to the target bit number; for the flowchart dimension, the system will parse the flowchart configuration file, extract the relevant bit number information from it, and then filter out the alarm records based on this; if the dimension is alarm level or alarm type, the system will directly extract the alarm records of the corresponding alarm level and alarm type, and eliminate other irrelevant information.
[0062] After filtering out the target alarm information, the system will further process it, including time window judgment and similarity calculation to identify whether it is the same alarm event. The core of time window judgment is to sort all the filtered alarm information according to the timestamp and calculate the time difference between each alarm record and the subsequent record. If the time difference is within the preset time window, it is considered to be the same alarm event and proceed to the next step for similarity calculation; otherwise, continue to judge the next record. The similarity calculation is performed by analyzing the content of the alarm text, which includes the following steps: The first step is to preprocess the alarm text, including removing meaningless stop words and punctuation marks and extracting stems from words, so as to convert the alarm text into a standardized word set. Subsequently, the system calculates the size of the intersection and union of the word sets of the two alarm texts, and calculates the first similarity by dividing the size of the intersection by the size of the union. If the first similarity is lower than the set threshold, the second similarity is calculated; otherwise, it is directly determined to be the same alarm event.
[0063] The second step is to convert the alarm text into a vector representation and calculate the second similarity through the dot product and modulus of the vector. When the value of the second similarity is higher than the threshold, the alarm text is identified as the same alarm event; otherwise, the system regards it as a different alarm event and returns to the time window judgment step to start calculating the next set of alarm records.
[0064] After completing the screening of alarm events, the system will process the same alarm event according to priority. The highest priority alarm information will be prompted and recorded as the main alarm, while the lower priority alarm information will be analyzed to see if it contains additional information. If there is additional information, it will be retained as supplementary information; if not, the lower priority alarm information will be directly deleted, thereby streamlining the alarm data and improving the operator's attention efficiency.
[0065] In one embodiment, the size of the time window is first determined, and a reasonable time window is determined based on system requirements and actual conditions.
[0066] In this embodiment, it is set to 5 minutes. Then, the alarm information is obtained. The alarm information is received in real time in the system. Each alarm information should contain a timestamp. The received alarm information is sorted according to the timestamp to ensure that the comparison within the time range can be easily performed. For each alarm record, the difference between its timestamp and the timestamps of other alarm records is checked. For the alarm records within the time window, they are marked and prepared for subsequent merging processing.
[0067] Then, the alarm content is preprocessed to remove stop words and punctuation marks and perform stem extraction. Each alarm content is converted into a word set to obtain A and B. The size of the intersection and union of the two sets is calculated, and the similarity of the two alarm contents is calculated using the following formula: Determine the similarity and the threshold. If it is not the same event, perform a second similarity comparison: Convert the alarm content into a vector representation, obtain the feature vectors A and B of each alarm, and calculate the dot product of vectors A and B: A·B.
[0068] Compute the magnitude of vectors A and B: The second similarity is calculated as:
[0069] The present invention supports multiple dimensional configurations such as alarm partitions, flow charts, bit numbers, and alarm levels through flexible multi-dimensional alarm management capabilities, can adapt to the diverse needs of complex industrial scenarios, help operators quickly locate target alarm information, and improve management efficiency. At the same time, the time window judgment and similarity calculation model are used to effectively avoid repeated triggering of the same alarm event, accurately analyze the alarm content, reduce false alarms and missed alarms, and significantly improve the intelligent level of alarm management. The priority mechanism further optimizes the information processing process, so that key alarm information is presented intuitively, and the secondary information retains useful content after screening, which is concise and efficient. In addition, the present invention supports modular and templated batch configuration functions, significantly reduces configuration time and labor costs, and realizes standardized management, which is particularly suitable for large-scale industrial control systems. Through real-time data reading and dynamic analysis, the system has strong real-time performance and wide compatibility, and is suitable for various DCS control scenarios such as thermal power, petrochemical, and chemical industry. In addition, the alarm light sign combines dynamic adjustment with intuitive display, which significantly improves the user's operating experience, helps to quickly grasp the system operation status, and avoids the confusion caused by information overload. Intelligent analysis and efficient configuration further reduce the workload and error rate of operators, providing an efficient, accurate and safe alarm management solution for complex industrial environments.
[0070] The present invention is not limited to the above-mentioned embodiments. No matter any changes are made in the shape or material composition, any structural design provided by the present invention is a variation of the present invention and should be considered to be within the protection scope of the present invention.
Claims
1. A multi-dimensional warning light sign generation method, characterized in that: The following steps are involved: S1: Configure the alarm configuration according to the bit number and alarm information, and set the priority of each alarm configuration; S2: Read the alarm configuration and obtain all system alarms; S3: Determine the dimension and filter, calculate the similarity of the alarms in the time window, process the filtered alarms, and determine whether there is the same alarm event based on the comparison between the time window and the similarity model; S4: For the same alarm event, an alarm is issued according to the information of the high priority alarm configuration, and the information of the low priority alarm configuration is used as a supplement.
2. A method for generating a multi-dimensional warning light sign according to claim 1, characterized in that: The step S3 further comprises the following steps: S3.1: Perform corresponding filtering according to the filtering type, which is bit number or bit number alarm type or alarm level or alarm type; S3.2: Set the required time window and obtain the timestamp of each alarm message; S3.3: sorting the received alarm information according to the timestamp, checking the difference between the timestamp of the alarm record and the timestamp of the next alarm record in order; S3.4: Determine whether the timestamp difference is within the time window. If so, proceed to step S3.
5. If not, return to step S3.3 to calculate the next timestamp difference. S3.5: Process the alarm text and calculate the similarity.
3. A method for generating a multi-dimensional warning light sign according to claim 2, characterized in that: The step S3.5 specifically includes the following steps: S3.51: Perform text preprocessing on the alarm content, remove stop words and punctuation, and perform stem extraction; S3.52: Convert each alarm content into a word set, and calculate the size of the intersection and union of the two sets; S3.53: Calculate the value of the first similarity, and determine whether the first similarity is less than the first similarity threshold. If so, proceed to step S3.54; if not, determine that they are the same alarm event; S3.54: Convert the alarm content into a vector representation to obtain a feature vector of each alarm; S3.55: Calculate the dot product and the modulus of the two vectors, and calculate the value of the second similarity; S3.56: Determine whether the second similarity is less than a second similarity threshold. If so, they are not the same alarm event and return to step S3.
3. If not, determine that they are the same alarm event.
4. A method for generating a multi-dimensional warning light sign according to claim 1, 2 or 3, characterized in that: In step S4, it is determined to be the same alarm event, the alarm information with the highest priority is selected and an alarm is issued, and it is determined whether the alarm information with a lower priority has additional information compared to the alarm information with the highest priority. If so, it is retained as supplementary information. If not, the alarm information with a lower priority is deleted.
5. A method for generating a multi-dimensional warning light sign according to claim 4, characterized in that: In the step S1, configuring the alarm configuration according to the bit number includes configuring according to the alarm partition and the flow chart and the direct bit number, and the alarm partition is a bit number partition or a custom alarm partition; the custom alarm partition classifies the bit number into each custom partition name according to actual needs, and one or more alarm partitions can be selected, and the flow chart includes a plurality of graphic objects, and the graphic objects are associated with a plurality of bit numbers.
6. A method for generating a multi-dimensional warning light sign according to claim 5, characterized in that: The direct bit number selects one or more bit numbers through the system's bit number selector. If the alarm type corresponding to the bit number is selected, it is the bit number alarm type dimension; according to the bit number configuration, the alarm configuration also includes an alarm bit number. The alarm bit number groups the related bit number alarm types together, and the alarm bit number handles the alarm status of the entire group.
7. A method for generating a multi-dimensional warning light sign according to claim 6, characterized in that: In the step S1, configuring the alarm configuration according to the alarm information includes configuring according to the alarm level and the alarm category, and each alarm type corresponds to an alarm level; a bit number has several alarm types, the alarm types of the bit number alarm types of the same type are the same, and the alarm types of the bit number alarm types of different types can also be the same, and one or more of the alarm levels and the alarm types can be selected.
8. A method for generating a multi-dimensional warning light sign according to claim 5, 6 or 7, characterized in that: In step S3, if the dimension is an alarm partition, the alarm partition is obtained, and all the bit numbers involved are obtained through the alarm partition; if the dimension is a flowchart, the flowchart name is extracted and the flowchart configuration file is parsed, and then the bit number is extracted. If the flowchart extracts multiple bit numbers, all the extracted bit numbers are integrated into a set of lists, and duplicate bit numbers are removed to obtain all the bit numbers involved; If the dimension is bit number, the selected bit number is obtained directly; if the dimension is bit number alarm type, the bit number alarm type is obtained directly; if the dimension is alarm bit number, all bit number alarm types are obtained through the alarm statistics bit number; if the dimension is alarm level, the selected alarm level is obtained; if the dimension is alarm type, the selected alarm type is obtained.
9. A method for generating a multi-dimensional warning light sign according to claim 3, characterized in that: In step S3.53, the specific method for calculating the value of the first similarity is: the first similarity is the quotient of the size of the intersection of two sets and the size of the union of the two sets; the specific method for calculating the value of the second similarity is: the second similarity is the quotient of the dot product of two vectors and the product of the moduli of the two vectors.
10. A multi-dimensional warning light sign system, using a multi-dimensional warning light sign generation method according to any one of claims 1 to 9, characterized in that: include: A data acquisition module, a dimension judgment module and an alarm module. The data acquisition module collects alarm status and bit number information and other real-time data and transmits them to the dimension judgment module. The dimension judgment module receives the configuration information transmitted by the configuration module and passes the alarm data after screening and judgment to the alarm module. The alarm module filters and analyzes the alarm data and generates the display status of the alarm light sign as the final result and sends it to the display module.
Citation Information
Patent Citations
High-precision integration method and system for alarm event signals of distributed control system
CN118584882A
Alarm inhibiting method of nuclear plant digital alarming system
CN101339817A
Intelligent alarm system based on SCADA (supervisory control and data acquisition) system
CN104317603A
Alarming restraining method based on distributed clustering of historical alarming
CN105069115A
Intelligent alarm suppression method and system for coal-fired power plant
CN111899119A