A power grid operation alarm information intelligent screening and judgment method

By standardizing deduplication and using dual-model fusion analysis, combined with the power grid topology and decision tree model, the problems of redundancy and difficulty in determining the root cause in power grid alarm analysis are solved, achieving efficient and accurate alarm handling and adaptive capabilities.

CN123157802APending Publication Date: 2026-11-24CHINA SOUTHERN POWER GRID DIGITAL GRID GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611400487.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-10
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing power grid alarm analysis methods suffer from problems such as large redundancy, loss of effective information, low root cause identification accuracy, limited positioning precision, poor adaptability, and difficulty in adapting to complex power grid operation scenarios.

Method used

By standardizing deduplication, rule matching, and dual-model fusion analysis, and combining the power grid topology to accurately locate the root cause of alarms, and relying on decision trees to output handling solutions and closed-loop self-updating mechanisms, the accuracy and efficiency of alarm analysis are improved.

Benefits of technology

It effectively eliminates invalid and redundant alarms, improves the accuracy and efficiency of power grid alarm analysis, adapts to the needs of complex power grid operation scenarios, and realizes the dynamic updating and adaptive capability of intelligent handling solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157802A_ABST
    Figure CN123157802A_ABST
Patent Text Reader

Abstract

This invention discloses an intelligent screening and judgment method for power grid operation alarm information, relating to the field of data mining and processing. The method includes: receiving heterogeneous raw alarms, completing format standardization and integrity verification, removing abnormal alarms based on historical statistics, and filtering duplicate alarms through sliding window hash comparison. A priority queue is constructed for rule matching; if a match is found, an initial diagnostic conclusion with confidence is directly output; otherwise, it enters the model channel. Equipment features are extracted and input into a time-series trend and correlation analysis model, fusing and outputting candidate root causes and combining them with network topology to obtain the final root cause. The root cause and alarm context are sent to a CART handling decision tree to obtain a handling scheme identifier, a script is executed, handling records are written back, and the confidence parameters of the rule base are updated. The advantages of this invention are: combining power grid topology to locate the root cause of the alarm, relying on the decision tree to output the handling scheme, improving the accuracy and efficiency of power grid alarm judgment, and solving the problems of alarm redundancy, difficulty in root cause judgment, and delayed handling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data mining and processing, and in particular to a method for intelligent screening and analysis of power grid operation alarm information. Background Technology

[0002] With the rapid development of artificial intelligence and digitalization, technologies such as intelligent operation and maintenance, business visualization, and regulatory decision support based on large-scale models for power grid infrastructure have become increasingly mature. Promoting cloudification, intelligentization, digitalization, and ecological development is the future direction for fully realizing a digital power grid. However, the increasingly complex alarm and fault information from infrastructure operations poses challenges to the safe operation and fault tracking of various power grid business systems. There is an urgent need to improve the information security level and operational command capabilities of power grid infrastructure by building intelligent command applications for network security operation, scheduling, and control. These applications should combine visualization and scenario models to quickly filter information and establish a security baseline, assisting operation and maintenance personnel in making rapid judgments and decisions, improving information security levels, reducing information security risks, and ensuring the safe operation of critical information infrastructure.

[0003] Current mainstream power grid alarm analysis methods suffer from numerous inherent shortcomings, lacking sufficient overall intelligence and precision. Most of these methods rely solely on simple threshold filtering and static rule matching, lacking standardized data governance and multi-dimensional deduplication mechanisms. They fail to effectively filter the massive amounts of invalid and duplicate alarms generated by power grid oscillations and cascading triggers, resulting in high alarm redundancy and the suppression of valuable information. Their analysis models are simplistic, relying solely on fixed expert rules or single analytical models, failing to integrate temporal trend changes with alarm correlations. This leads to low root cause identification accuracy when facing complex and hidden faults, making them ill-suited for complex power grid operation scenarios. Furthermore, traditional methods do not incorporate hierarchical tracing based on network topology, limiting fault location accuracy and lacking intelligent decision-making output capabilities. They rely heavily on manual experience, resulting in low efficiency. Moreover, existing technologies are generally static, with rule parameters unable to dynamically update based on processing results, leading to poor adaptability. Over long-term operation, misjudgments and omissions continue to worsen, making them unsuitable for the dynamic and complex alarm handling needs of modern power grids. Summary of the Invention

[0004] To improve existing methods, this paper proposes an intelligent screening and analysis method for power grid operation alarm information. This method uses standardized deduplication, rule matching, and dual-model fusion analysis to accurately locate the root cause of alarms by combining power grid topology. It also relies on decision tree to output handling solutions and a closed-loop self-updating mechanism to significantly improve the accuracy and efficiency of power grid alarm analysis and effectively solve the problems of alarm redundancy, difficulty in determining the root cause, and delayed handling.

[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A method for intelligent screening and analysis of power grid operation alarm information includes: It receives raw alarm data from different monitoring systems, converts heterogeneous alarms into a standardized format, and performs integrity verification on the standardized alarm records. Based on the historical alarm database, the average duration and frequency distribution of each alarm type are statistically analyzed. Alarms outside the statistical boundaries and those missing key fields are marked and removed. Hash fingerprints of key feature fields of alarms are calculated by sliding time windows and compared with fingerprints already stored in the window. When the fingerprints are the same and the timestamp difference is less than the set threshold, duplicate alarms that arrive later are discarded. A rule matching priority queue is constructed based on the alarm type code, the device type to which the alarm object belongs, and the alarm level. The standardized alarms are matched with the conditional expressions in the rule base. When a match is found, the initial diagnostic conclusion and confidence score are output according to the preset reasoning logic. When no match is found, the process is transferred to the model analysis channel. The alarm records transferred to the model analysis channel are used to extract the device operation feature vectors, which are then input into the time-series trend model and the correlation analysis model, respectively. The time-series trend model identifies abnormal inflection points that deviate from the normal baseline by fitting the change curves of device indicators before and after the alarm. The correlation analysis model mines the temporal co-occurrence relationship between alarms based on frequent itemsets. The output results of the two models are weighted and fused to locate the candidate root cause set. The candidate root causes are then sorted according to the network topology and the final root cause location result is output. The root cause localization results and alarm context are input into the CART algorithm-based decision tree model. After being bisected to the leaf nodes, the action plan identifier is output. The action plan identifier is mapped to the corresponding preset action script. After execution, the execution result is written back to the alarm action record library, and the confidence statistics parameters in the rule library are updated.

[0006] Preferably, the construction and dynamic updating of the historical alarm database specifically includes: Extract the start and end timestamps of each alarm from the alarm log table, grouped by alarm type code, calculate the duration, and fit a normal distribution to the duration of the same type. Take the mean plus or minus two standard deviations as the effective duration boundary. If the duration of a new alarm exceeds this boundary, it is discarded directly. The feature extraction window is formed by extending the set number of seconds before and after the alarm time. Within the window, the number of repeated reports of the same alarm code under the same source IP address or device number is counted. When the number of repeated reports exceeds the frequency threshold corresponding to the type, only the first report record is retained. After each alarm is processed, the average duration and frequency threshold of the alarm type are updated asynchronously, and the updated parameters are written back to the rule configuration table.

[0007] Preferably, the hash fingerprint comparison within the sliding time window specifically includes: When each standardized alarm record arrives, the device identifier, alarm type code, alarm object hierarchy path, and alarm additional attribute key-value pairs are extracted from the alarm, concatenated into a string in a fixed order, and then the MD5 algorithm is used to generate the deduplication fingerprint of the alarm. A configurable sliding window is constructed based on the alarm generation time. The window start time is the current alarm time minus the window length, and the end time is the current alarm time plus the tolerance delay offset. Only historical alarm records that are within the window range and have the same fingerprint are retrieved. When a record with the same fingerprint is retrieved and the difference in timestamps between the two alarms is less than the system's preset minimum interval threshold, the alarm is determined to be a duplicate alarm and is discarded.

[0008] Preferably, the construction and inference execution of the rule matching priority queue specifically includes: Each rule in the rule base is weighted according to the alarm type priority coefficient, device level weight, and alarm level urgency coefficient to calculate a comprehensive priority score, and then sorted by score from high to low to form a matching queue. After standardized alarms enter the engine, they are compared with the matching conditions of the rules in the queue. The matching conditions include exact or fuzzy matching of alarm type code, the area range of alarm source device, and the time period of alarm occurrence. When all sub-conditions are met, it is determined to be a complete match. After a complete match, the rule execution action is triggered. Other alarms that occurred within the same root device as the alarm within the set time period are retrieved as auxiliary evidence. The list of auxiliary evidence is combined with the preset reasoning template in the rule base. A forward reasoning strategy is used to match intermediate conclusions step by step. When an intermediate conclusion matches any preset final conclusion, the conclusion and confidence score are output. At the same time, the rule number and reasoning path of this successful match are written to the alarm processing log.

[0009] Preferably, the time-series trend model fitting the device index change curve specifically includes: Based on the alarm object identifier, retrieve the sampled index sequence of the device from the performance database within the range of the first time before to the first time after the alarm occurrence. The baseline curve is obtained by taking the index sample values ​​within the second time period before the alarm occurs and making a moving average. The expected normal value at the time of alarm occurrence is predicted by using the exponential smoothing method on the baseline curve. The deviation between the actual sample value and the expected normal value at that time is calculated. The moment when the deviation exceeds the set threshold is marked as an abnormal inflection point. The first abnormal inflection point is traced back along the time axis from the alarm time as the candidate fault starting point. The timestamp and device indicator name corresponding to the starting point are combined to form a time-series root cause candidate and output to the fusion module.

[0010] Preferably, the association analysis model for mining time-series co-occurrence relationships specifically includes: The time range from the third time before the alarm occurs to the time when the alarm ends is defined as the correlation analysis window. All alarm type codes generated within this window are considered as a transaction. The alarm type codes of multiple consecutive windows under the same root device constitute the transaction dataset. The Apriori algorithm is used to mine frequent itemsets in a transaction dataset. The minimum support count is set as a certain percentage of the total number of windows, and the minimum confidence is set as a certain percentage. Frequent itemsets that meet the conditions and their corresponding association rules are mined. The current alarm type code is used as the rule antecedent. In the mined associated rules, rules containing candidate root cause alarm types are searched. The alarm types and associated device numbers pointed to by the first set number of rules are selected in descending order of confidence and output as associated root cause candidates to the fusion module.

[0011] Preferably, the weighted fusion ranking of candidate root causes combined with network topology localization specifically includes: Assign a first weight coefficient and a second weight coefficient to the time-series root cause candidates and the associated root cause candidates, respectively. When the same candidate has outputs in both types of models, their scores are summed to obtain the comprehensive score of each candidate root cause. Based on the device number of the device to which the candidate root cause belongs, query the topology database to find the position of the device in the network hierarchy, and at the same time obtain a list of all upstream and downstream related devices on the link where the device is located. Starting with the device with the highest overall score as the candidate root cause, trace upstream along the topology link level by level until the alarm status of the parent node device is normal. Mark the last device node with an alarm on the tracing path as the root cause node, and merge the root cause node information with the candidate root cause type as the final root cause location result output.

[0012] Preferably, the construction and binary partitioning process of the CART decision tree model specifically includes: Labeled samples are extracted from the historical alarm handling record database. The characteristic attributes of each sample include alarm type code, root cause location result category, device runtime level and alarm occurrence time. The sample label is the final handling operation code adopted. Based on the Gini coefficient minimization criterion, the feature attributes are recursively divided into binary partitions. Each time, the feature value that causes the largest decrease in the impurity of the child node is selected as the split point. The splitting stops when the number of samples in the node is less than the preset threshold or the node depth reaches the preset maximum depth, forming a decision tree structure containing internal nodes and leaf nodes. Each leaf node stores the corresponding disposal operation code. The feature vector of the current alarm is routed downwards layer by layer from the root node according to the judgment conditions of each internal node until it reaches the leaf node. The handling operation code stored in the leaf node is then read, and the script is loaded and executed from the preset script library according to the handling operation code.

[0013] Preferably, the confidence statistics parameters for updating the rule base specifically include: After each action is completed, extract three fields from the action record: the type code of the alarm, the rule matching path, and whether the final action result is valid. Then, add these fields as a feedback sample to the feedback sample table. The statistical task is triggered at a set period, and the total number of hits and the number of effective handlings for each rule path within the period are statistically analyzed by alarm type code. The ratio of the number of effective handlings to the total number of hits is calculated as the confidence score of the rule path. The updated confidence score is stored in association with the rule path. When the rule matching priority queue is rebuilt next time, the score is used as a weighting factor to participate in the recalculation of the comprehensive priority score, so as to realize the dynamic adjustment of the rule matching order.

[0014] Compared with the prior art, the advantages of the present invention are: By employing a heterogeneous alarm standardization and a dual-layer filtering mechanism for completeness and repetition, invalid and redundant alarms are efficiently eliminated, significantly simplifying alarm data and reducing the burden of manual analysis. It adopts a dual-channel analysis mode of rule priority matching and model analysis, relying on a weighted priority queue to improve the accuracy and efficiency of rule matching. For complex non-matching alarms, it integrates the anomaly inflection point identification of time-series trend models and the Apriori association rule mining capability, combined with the power grid topology structure, to accurately complete root cause tracing, overcoming the limitations of single analysis methods. Simultaneously, it utilizes the CART decision tree model to output intelligent handling solutions, and can dynamically update core parameters such as rule confidence and alarm statistical thresholds based on handling feedback, forming a data closed-loop iterative optimization system. This effectively improves the accuracy, timeliness, and adaptability of power grid alarm analysis, adapting to the alarm handling needs of complex power grid operation scenarios. Attached Figure Description

[0015] Figure 1 This is a schematic diagram of an intelligent screening and judgment method for power grid operation alarm information proposed in this invention; Figure 2 This is a schematic diagram of the construction rule matching priority queue proposed in this invention; Figure 3 This is a schematic diagram of the construction and binary partitioning process of the CART decision tree model proposed in this invention. Detailed Implementation

[0016] The following description is intended to disclose the invention and enable those skilled in the art to implement it. The preferred embodiments described below are merely examples, and other obvious variations will occur to those skilled in the art.

[0017] See Figure 1 As shown, a method for intelligent screening and analysis of power grid operation alarm information includes: It receives raw alarm data from different monitoring systems, converts heterogeneous alarms into a standardized format, and performs integrity verification on the standardized alarm records. Based on the historical alarm database, the average duration and frequency distribution of each alarm type are statistically analyzed. Alarms outside the statistical boundaries and those missing key fields are marked and removed. Hash fingerprints of key feature fields of alarms are calculated by sliding time windows and compared with fingerprints already stored in the window. When the fingerprints are the same and the timestamp difference is less than the set threshold, duplicate alarms that arrive later are discarded. A rule matching priority queue is constructed based on the alarm type code, the device type to which the alarm object belongs, and the alarm level. The standardized alarms are matched with the conditional expressions in the rule base. When a match is found, the initial diagnostic conclusion and confidence score are output according to the preset reasoning logic. When no match is found, the process is transferred to the model analysis channel. The alarm records transferred to the model analysis channel are used to extract the device operation feature vectors, which are then input into the time-series trend model and the correlation analysis model, respectively. The time-series trend model identifies abnormal inflection points that deviate from the normal baseline by fitting the change curves of device indicators before and after the alarm. The correlation analysis model mines the temporal co-occurrence relationship between alarms based on frequent itemsets. The output results of the two models are weighted and fused to locate the candidate root cause set. The candidate root causes are then sorted according to the network topology and the final root cause location result is output. The root cause localization results and alarm context are input into the CART algorithm-based decision tree model. After being bisected to the leaf nodes, the action plan identifier is output. The action plan identifier is mapped to the corresponding preset action script. After execution, the execution result is written back to the alarm action record library, and the confidence statistics parameters in the rule library are updated.

[0018] Specifically, for various monitoring systems deployed in the power grid, the raw alarm data output by each system differs significantly in field naming, data format, encoding rules, and transmission protocols. A front-end adapter cluster connects to the data interfaces of each monitoring system, and the adapters use corresponding protocol parsers based on the system type to unpack the raw messages and extract fields.

[0019] The extracted raw fields are fed into a unified standardization engine, which contains a pre-defined global field mapping table. This table defines conversion rules for each standard field, from the original field names of various monitoring systems to the standard field names, and also includes data type conversion rules. For time fields, the standardization engine parses them according to the preset time format templates of each system, uniformly converting them into absolute timestamps in milliseconds. The conversion process is represented as follows:

[0020] in This is the original time string. This is the time format template corresponding to the monitoring system. The function converts the parsed results into milliseconds since 00:00:00 UTC on 1970-01-01.

[0021] After completing field mapping and format conversion, the system performs integrity checks on each standardized alarm record. Integrity checks are based on a predefined set of key fields. ={Device Number, Alarm Occurrence Time, Alarm Type Code, Alarm Level}, and configure a validity check function for each key field. Define the validity flag V for each alarm as follows:

[0022] If V=True, the alarm is considered complete and valid and proceeds to the next processing step; if V=False, the missing field information and error code are recorded, the alarm is discarded and written to the exception log, and the feedback mechanism of the alarm source system is triggered to indicate data quality abnormality.

[0023] Maintain a global historical alarm statistics table, grouped by alarm type code, and store the average duration of each alarm type. Standard deviation Valid duration minimum and upper limit And the frequency threshold of this type within a unit time window. The initial values ​​were obtained through offline analysis of existing alarm logs.

[0024] During online processing, newly added completed alarm records are periodically extracted from the alarm log table. Each record includes a start timestamp. and end timestamp Calculate its duration as For the same type of code For all samples, a normal distribution is fitted using maximum likelihood estimation to obtain the mean. and standard deviation Then update the valid duration boundary:

[0025] When a new standardized alarm (type code is) arrives Duration of carry satisfy or If the system determines that the alarm duration is abnormal, it will discard the alarm and record the reason, without proceeding to further processing.

[0026] At the same time, the alarm occurs at the time of occurrence Expansions before and after Feature extraction window formed in seconds This window displays the number of reports for the same alarm type code under the same source device number. .like Exceeding the frequency threshold for this type If a record is repeatedly reported frequently within a short period of time, only the first record appearing within the window will be retained, and all others will be discarded. After each processing step, the average duration and frequency threshold for that type will be recalculated asynchronously and written back to the rule configuration table, so that the boundaries and thresholds will dynamically shift according to the operating conditions.

[0027] For each standardized alarm that passes the above validity check, a unique fingerprint is generated for accurate deduplication. During fingerprint generation, the device identifier, alarm type code, the hierarchical path of the alarm object in the asset tree, and a set of key-value pairs from the alarm's additional attributes that affect fault determination are extracted. All extracted fields are concatenated into a long string S in the above fixed order, and then its hash value is calculated using the MD5 message digest algorithm to obtain the fingerprint. :

[0028] A sliding window buffer is maintained for each device, sorted by alarm occurrence time. The window length ΔW and the tolerance delay offset ΔD are both configurable. For the current alarm time... Window start time Window end time The system only retrieves timestamps from the cache that fall within the specified range. Within range and fingerprint equal to Historical warning records.

[0029] For any retrieved historical record, let its timestamp be... Calculate the time difference .like ,in If the system's preset minimum interval threshold is 2 seconds, the current alarm is determined to be a duplicate alarm and immediately discarded, without being passed downstream. If there is no identical fingerprint in the cache or the time difference exceeds the threshold, the current alarm is inserted into the cache and delivered to the subsequent rule engine.

[0030] See Figure 2 As shown, for each rule r in the rule base, the system extracts the priority coefficient of its associated alarm type. Equipment level weight and alarm level urgency coefficient The above three sub-factors are used to calculate the overall priority score using a weighted summation method. :

[0031] Where α, β, and γ are system-preset weighting coefficients, taking values ​​of 0.3, 0.3, and 0.4 respectively, and satisfying α + β + γ = 1. Based on... All rules are sorted in descending order to form a matching queue, ensuring that high-priority rules are evaluated first.

[0032] After standardized alarms enter the engine, they are compared sequentially with the matching condition set of each rule. Each rule's matching conditions include three types of sub-conditions: alarm type code (supporting exact matching of identical strings or fuzzy matching using wildcards or prefixes), the region range of the alarm source device, and the time period constraint of the alarm occurrence. All sub-conditions are combined into a logical AND relation, and the exact match flag M is defined as:

[0033] in , , M is true only when all three are true, indicating that the rule is a perfect match.

[0034] Once a perfect match is found, the engine immediately triggers the execution action for that rule. The execution action first searches for devices sharing the same root as the current alarm that are nearby. Other alarms occurring within a few minutes are used to extract their type codes and key attributes into a list of supporting evidence. The engine then combines this list with pre-defined reasoning templates in the rule base, employing a forward reasoning strategy: starting from the matched current alarm and supporting evidence, it repeatedly applies the preconditions in the reasoning template, gradually deriving intermediate conclusions until the derived intermediate conclusion matches any pre-defined final conclusion for that rule in the rule base. Upon successful matching, the system outputs this final conclusion as the initial diagnostic conclusion and calculates a confidence score, which is weighted based on the rule's inherent confidence and the coverage of evidence used in this reasoning. Finally, the engine writes the rule number of the successful match, the complete reasoning path, and the output conclusion into the alarm processing log for subsequent source tracing and rule optimization; if no rules are fully matched, the current alarm is transferred to the model analysis channel for further processing.

[0035] When an alarm record does not match any rules in the rule engine, the system transfers it to the model analysis channel. Based on the alarm object identifier, it extracts the device's data prior to the alarm occurrence from the real-time performance database. Minutes later A sequence of sampling indicators within minutes. =30, and at the same time, extract all alarm type code sequences under the same root device within this period from the alarm association library, which respectively constitute the input feature vector of the time series trend model and the transaction data of the association analysis model.

[0036] Take the time before the alarm occurs Calculate the equally weighted moving average of the indicator sample values ​​within the specified time. =60, obtaining the baseline value B(t) for each time point within this period. This is used to predict the alarm occurrence time. The expected normal value is used to smooth the baseline curve using first-order exponential smoothing, with the smoothing coefficient set to 1. The expected normal value at the alarm time. It is obtained recursively from the actual and predicted values ​​of the previous time step. Then, the actual sampled value at that time step is calculated. Deviation from expected normal value D:

[0037] When D exceeds the preset deviation threshold When an alarm occurs, that moment is marked as an abnormal inflection point. Tracing back along the leading timeline from the alarm moment, the earliest occurrence of the abnormal inflection point and the associated indicator name are combined to form a time-series root cause candidate, which is then output to the fusion module.

[0038] Before the alarm occurred The period from the minute to the end of the alarm cycle is designated as the correlation analysis window. All alarm type codes generated within this window are combined into a single transaction. The alarm type code sets from multiple consecutive windows under the same root device constitute the transaction dataset. The system uses the Apriori algorithm to mine frequent itemsets, with the minimum support count set to s% of the total number of windows and the minimum confidence set to c%. The algorithm first generates all frequent 1-itemsets, then iteratively generates higher-order frequent itemsets, extracting correlation rules X⇒Y that meet the confidence requirements. The current alarm type code is used as the antecedent X of the rule. From the mined rules, rules containing candidate root cause alarm types in the consequent Y are retrieved. The top K rules, ordered by descending confidence, are selected, along with the alarm types they point to and their associated device numbers. K is set to 5, forming a candidate list of correlation root causes, which is then output to the fusion module.

[0039] Assign a first weight coefficient to the time-series root cause candidates and the associated root cause candidates respectively. Second weighting coefficient For each candidate root cause i, if it appears only in the time series model, the score is... In the association model only, it is If there are outputs in both types of models, the two scores are combined to obtain the overall score. ,in , These represent the raw confidence or support scores output by the two models, respectively. After sorting, the system starts with the device ID of the candidate root cause with the highest comprehensive score and queries the topology database for the device's position in the network hierarchy and the list of upstream and downstream devices on the link it belongs to. Then, it traces upstream along the topology link, level by level, checking if the parent node has any alarm records in the current time period. If the parent node has no alarms, the tracing stops, and the last device node with an alarm on the tracing path is marked as the root cause node. If the parent node has alarms, the tracing continues upstream until the root node or the first device without alarms is reached. Finally, the root cause node information and candidate root cause types are merged, and the final root cause localization result is output.

[0040] See Figure 3 As shown, a decision tree model for handling is constructed. This process is executed offline and incrementally updated periodically during operation. During model construction, a labeled sample set is extracted from the historical alarm handling record library. The characteristic attributes of each sample include alarm type code, root cause localization result category, device runtime level, and alarm occurrence time. The sample label is the final handling operation code adopted.

[0041] The binary tree is recursively constructed using the CART algorithm. For the sample set S at the current node, its Gini coefficient is calculated:

[0042] Where K is the total number of categories of disposal operation codes. This represents the proportion of the k-th class of treatment encoding in the sample set. A smaller Gini coefficient indicates higher node purity. The system iterates through all possible split points for each feature, dividing the samples into left subsets based on feature values. and right subset Calculate the weighted impurity after partitioning:

[0043] Choose to The feature value with the largest decrease is taken as the optimal split point for the current node, and the samples are recursively divided into left and right child nodes. Splitting stops when the number of samples in a node is less than a preset threshold or the node depth reaches a preset maximum depth. The current node becomes a leaf node, storing the processing operation code that appears most frequently in the sample set of that node.

[0044] During online decision-making, the feature vector of the current alarm is processed layer by layer from the root node, according to the partitioning features and thresholds stored in each internal node, until it reaches the leaf node, where the handling operation code stored in that node is read. The system loads the corresponding execution script from the preset script library based on the code, and after execution, writes the execution result and handling details back to the alarm handling record library.

[0045] Regarding the model feedback update mechanism, after each action is executed, the system extracts the alarm type code (type), rule matching path (path), and the validity (validv) of the final action result (takes 1 or 0) from the action record. This is appended to the feedback sample table as a feedback sample. The system triggers a statistical task at a set period, grouping alarms by alarm type code (type), and counting the total number of hits for each rule path within that period. and number of effective treatments Calculate the confidence score of the rule path. :

[0046] when When =0, Retrieve the historical confidence value saved at the last time for this rule path to avoid division by zero anomalies. Updated The score is stored in association with the rule path, and during the next reconstruction of the rule matching priority queue, it is used as a weighting factor in the recalculation of the rule's overall priority score. This ensures that rules with good historical performance receive a higher evaluation order in subsequent matches, achieving dynamic adaptive adjustment of the rule matching order. Through this closed-loop feedback, the output quality of the decision tree continuously improves, and the matching efficiency of the rule engine is continuously optimized as running data accumulates.

[0047] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, the above description focuses on specific embodiments of this specification. Additionally, the processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0048] The various embodiments in this specification are described in a progressive manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.

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

Claims

1. A method for intelligent screening and analysis of power grid operation alarm information, characterized in that, include: It receives raw alarm data from different monitoring systems, converts heterogeneous alarms into a standardized format, and performs integrity verification on the standardized alarm records. Based on the historical alarm database, the average duration and frequency distribution of each alarm type are statistically analyzed. Alarms outside the statistical boundaries and those missing key fields are marked and removed. Hash fingerprints of key feature fields of alarms are calculated by sliding time windows and compared with fingerprints already stored in the window. When the fingerprints are the same and the timestamp difference is less than the set threshold, duplicate alarms that arrive later are discarded. A rule matching priority queue is constructed based on the alarm type code, the device type to which the alarm object belongs, and the alarm level. The standardized alarms are matched with the conditional expressions in the rule base. When a match is found, the initial diagnostic conclusion and confidence score are output according to the preset reasoning logic. When no match is found, the process is transferred to the model analysis channel. The alarm records transferred to the model analysis channel are used to extract the device operation feature vectors, which are then input into the time-series trend model and the correlation analysis model, respectively. The time-series trend model identifies abnormal inflection points that deviate from the normal baseline by fitting the change curves of device indicators before and after the alarm. The correlation analysis model mines the temporal co-occurrence relationship between alarms based on frequent itemsets. The output results of the two models are weighted and fused to locate the candidate root cause set. The candidate root causes are then sorted according to the network topology and the final root cause location result is output. The root cause localization results and alarm context are input into the CART algorithm-based decision tree model. After being bisected to the leaf nodes, the action plan identifier is output. The action plan identifier is mapped to the corresponding preset action script. After execution, the execution result is written back to the alarm action record library, and the confidence statistics parameters in the rule library are updated.

2. The intelligent screening and analysis method for power grid operation alarm information according to claim 1, characterized in that, The construction and dynamic updating of the historical alarm database specifically includes: Extract the start and end timestamps of each alarm from the alarm log table, grouped by alarm type code, calculate the duration, and fit a normal distribution to the duration of the same type. Take the mean plus or minus two standard deviations as the effective duration boundary. If the duration of a new alarm exceeds this boundary, it is discarded directly. The feature extraction window is formed by extending the set number of seconds before and after the alarm time. Within the window, the number of repeated reports of the same alarm code under the same source IP address or device number is counted. When the number of repeated reports exceeds the frequency threshold corresponding to the type, only the first report record is retained. After each alarm is processed, the average duration and frequency threshold of the alarm type are updated asynchronously, and the updated parameters are written back to the rule configuration table.

3. The intelligent screening and analysis method for power grid operation alarm information according to claim 1, characterized in that, The hash fingerprint comparison within the sliding time window specifically includes: When each standardized alarm record arrives, the device identifier, alarm type code, alarm object hierarchy path, and alarm additional attribute key-value pairs are extracted from the alarm, concatenated into a string in a fixed order, and then the MD5 algorithm is used to generate the deduplication fingerprint of the alarm. A sliding window with configurable length is constructed based on the alarm generation time. The window start time is the current alarm time minus the window length, and the end time is the current alarm time plus the tolerance delay offset. Only historical alarm records that are within the window range and have the same fingerprint are retrieved. When a record with the same fingerprint is retrieved and the difference in timestamps between the two alarms is less than the system's preset minimum interval threshold, the alarm is determined to be a duplicate alarm and is discarded.

4. The intelligent screening and analysis method for power grid operation alarm information according to claim 1, characterized in that, The construction and inference execution of the rule matching priority queue specifically includes: Each rule in the rule base is weighted according to the alarm type priority coefficient, device level weight, and alarm level urgency coefficient to calculate a comprehensive priority score, and then sorted by score from high to low to form a matching queue. After standardized alarms enter the engine, they are compared with the matching conditions of the rules in the queue. The matching conditions include exact or fuzzy matching of alarm type code, the area range of alarm source device, and the time period of alarm occurrence. When all sub-conditions are met, it is determined to be a complete match. After a complete match, the rule execution action is triggered. Other alarms that occurred within the same root device as the alarm within the set time period are retrieved as auxiliary evidence. The list of auxiliary evidence is combined with the preset reasoning template in the rule base. A forward reasoning strategy is used to match intermediate conclusions step by step. When an intermediate conclusion matches any preset final conclusion, the conclusion and confidence score are output. At the same time, the rule number and reasoning path of this successful match are written to the alarm processing log.

5. The intelligent screening and analysis method for power grid operation alarm information according to claim 1, characterized in that, The time-series trend model fitting the equipment index change curve specifically includes: Based on the alarm object identifier, retrieve the sampled index sequence of the device from the performance database within the range of the first time before to the first time after the alarm occurrence. The baseline curve is obtained by taking the moving average of the index sample values ​​within the second time period before the alarm occurs. The expected normal value at the time of alarm occurrence is predicted by the exponential smoothing method on the baseline curve. The deviation between the actual sample value and the expected normal value at that time is calculated. The moment when the deviation exceeds the set threshold is marked as an abnormal inflection point. The first abnormal inflection point is traced back along the time axis from the alarm time as the candidate fault starting point. The timestamp and device indicator name corresponding to the starting point are combined to form a time-series root cause candidate and output to the fusion module.

6. The intelligent screening and analysis method for power grid operation alarm information according to claim 1, characterized in that, The association analysis model for mining time-series co-occurrence relationships specifically includes: The time range from the third time before the alarm occurs to the time when the alarm ends is defined as the correlation analysis window. All alarm type codes generated within this window are considered as a transaction. The alarm type codes of multiple consecutive windows under the same root device constitute the transaction dataset. The Apriori algorithm is used to mine frequent itemsets in a transaction dataset. The minimum support count is set as a certain percentage of the total number of windows, and the minimum confidence is set as a certain percentage. Frequent itemsets that meet the conditions and their corresponding association rules are mined. The current alarm type code is used as the rule antecedent. In the mined associated rules, rules containing candidate root cause alarm types are searched. The alarm types and associated device numbers pointed to by the first set number of rules are selected in descending order of confidence and output as associated root cause candidates to the fusion module.

7. The intelligent screening and analysis method for power grid operation alarm information according to claim 1, characterized in that, The weighted fusion ranking of candidate root causes and the combination of network topology for localization specifically include: Assign a first weight coefficient and a second weight coefficient to the time-series root cause candidates and the associated root cause candidates, respectively. When the same candidate has outputs in both types of models, their scores are summed to obtain the comprehensive score of each candidate root cause. Based on the device number of the device to which the candidate root cause belongs, query the topology database to find the position of the device in the network hierarchy, and at the same time obtain a list of all upstream and downstream related devices on the link where the device is located. Starting with the device with the highest overall score as the candidate root cause, trace upstream along the topology link level by level until the alarm status of the parent node device is normal. Mark the last device node with an alarm on the tracing path as the root cause node, and merge the root cause node information with the candidate root cause type as the final root cause location result output.

8. The intelligent screening and analysis method for power grid operation alarm information according to claim 1, characterized in that, The construction and binary partitioning process of the CART decision tree model specifically includes: Labeled samples are extracted from the historical alarm handling record database. The characteristic attributes of each sample include alarm type code, root cause location result category, device runtime level and alarm occurrence time. The sample label is the final handling operation code adopted. Based on the Gini coefficient minimization criterion, the feature attributes are recursively divided into binary partitions. Each time, the feature value that causes the largest decrease in the impurity of the child node is selected as the split point. The splitting stops when the number of samples in the node is less than the preset threshold or the node depth reaches the preset maximum depth, forming a decision tree structure containing internal nodes and leaf nodes. Each leaf node stores the corresponding disposal operation code. The feature vector of the current alarm is routed downwards layer by layer from the root node according to the judgment conditions of each internal node until it reaches the leaf node. The handling operation code stored in the leaf node is then read, and the script is loaded and executed from the preset script library according to the handling operation code.

9. The intelligent screening and analysis method for power grid operation alarm information according to claim 1, characterized in that, The confidence statistics parameters for updating the rule base specifically include: After each action is completed, extract three fields from the action record: the type code of the alarm, the rule matching path, and whether the final action result is valid. Then, add these fields as a feedback sample to the feedback sample table. The statistical task is triggered at a set period, and the total number of hits and the number of effective handlings for each rule path within the period are statistically analyzed by alarm type code. The ratio of the number of effective handlings to the total number of hits is calculated as the confidence score of the rule path. The updated confidence score is stored in association with the rule path. When the rule matching priority queue is rebuilt next time, the score is used as a weighting factor to participate in the recalculation of the comprehensive priority score, so as to realize the dynamic adjustment of the rule matching order.