A method for analyzing the temporal correlation of multi-dimensional alarm information of relay protection device based on Apriori algorithm
The Apriori algorithm is used to analyze massive alarm data in relay protection devices, extract association rules and mark redundant information, solving the problem of important information being ignored in the power grid, achieving efficient early warning and management of power grid faults, and reducing the risk of power grid failure. .
Patent Information
- Application Number
- CN202011536994.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-23
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-12-23
AI Technical Summary
In power systems, important information in massive alarm data is easily overlooked, leading to catastrophic consequences such as power grid failure or collapse. It is difficult to effectively screen out core alarm information with existing technology.
The multi-dimensional alarm information time series correlation analysis method of relay protection devices based on the Apriori algorithm is used to extract association rules from historical alarm data through data mining algorithms, analyze with real-time data, mark redundant alarm information, and calculate the support and sum of labels Confidence, determine correlation strength, and provide refined and intelligent operation and maintenance management suggestions.
It effectively reduces the number of alarms, provides clearer fault information, avoids the omission of core alarm information, obtains truly valuable alarm information, and reduces the risk of power grid failure.
Smart Images

Figure CN112699106B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of relay protection of power systems, and in particular relates to a method for analyzing the temporal correlation relationship of multi-dimensional alarm information of a relay protection device based on an Apriori algorithm. Background Art
[0002] According to the analysis of the historical alarm database, a root fault alarm often triggers some subsequent alarms, which are correlated in time series. The Apriori algorithm is used to mine time series association rules from historical data, merge alarm information, and effectively reduce the number of alarms when the alarm information is visualized, so that operation and maintenance personnel can receive clearer and more accurate fault information. Data mining technology can discover data association rules from a large amount of data in a certain way, and further extract the objective phenomena reflected by the data from these rules. The Apriori algorithm uses the generated frequent k-item set to generate a frequent k+1-item set, iterating layer by layer until no new frequent items are generated, thereby mining the associated label features in the multidimensional alarm database.
[0003] The present invention proposes a method for analyzing the temporal correlation relationship of multi-dimensional alarm information of relay protection devices by applying the Apriori algorithm. The association rule extraction and information feature analysis of alarm information are completed through the steps of massive historical alarm information data capture, iteration, training, verification, etc., to avoid major losses caused by the omission of core alarm information. Information is collected on massive alarm data to obtain truly valuable alarm information. Summary of the invention
[0004] The purpose of the present invention is to filter out important alarm information from the massive alarm data uploaded by the smart substation, so as to avoid catastrophic consequences such as power grid expansion failure or even power grid collapse caused by ignoring the potential safety hazards submerged in the massive data. A method for analyzing the temporal correlation relationship of multi-dimensional alarm information of relay protection devices based on the Apriori algorithm is proposed. Data label feature vector extraction, data modeling and storage are performed for the multi-dimensional full-state alarm information of the relay protection device, and the alarm information is cleaned to form a candidate item set; the Apriori data mining algorithm is used to derive the strong association rules of the alarm information, and the real-time data, detection and debugging data, online monitoring data, and ledger information of the power grid are combined and analyzed to provide refined, intelligent, real-time, and visual data support for the operation and maintenance management, maintenance arrangement, and decommissioning of the relay protection system.
[0005] In order to achieve the above-mentioned invention object, the present invention proposes a method for analyzing the temporal correlation relationship of multi-dimensional alarm information of a relay protection device based on the Apriori algorithm, comprising:
[0006] Collect the alarm information of the relay protection system and store the alarm information;
[0007] Call the alarm information, perform defect analysis and cleaning on the alarm information, and form a candidate item set;
[0008] For the candidate set, the temporal association rules of multi-dimensional alarm information of relay protection devices are obtained based on the temporal Apriori algorithm;
[0009] Perform defect analysis on the obtained strong association rules, obtain analysis results, and give maintenance suggestions based on the analysis results.
[0010] Optionally, the alarm information is collected through the MMS at the process layer of the smart substation, the SNMP at the bay layer, and the DL / 860 at the station control layer.
[0011] Optionally, the alarm information is stored using RAID5.
[0012] Optionally, in the process of obtaining the temporal association rules of the multi-dimensional alarm information of the relay protection device based on the temporal Apriori algorithm, redundant alarm information is marked.
[0013] Optionally, defect analysis and cleaning processing are performed on the alarm to form a defect cause analysis result of the alarm information, and the defect cause is stored in the candidate set.
[0014] Optionally, a multi-dimensional alarm information time sequence association rule of the relay protection device is obtained, including:
[0015] Iterative training is performed on the correlation strength and alarm information to obtain the multi-dimensional alarm information temporal association rules of the relay protection device;
[0016] Calculate the support and confidence of the tags and determine the strength of association between the tags.
[0017] Optionally, obtaining a multi-dimensional alarm information temporal association rule of a relay protection device, calculating the support and confidence of a tag, and determining the association strength between tags include:
[0018] Traverse the alarm information database and find the first-order frequent item set L1;
[0019] L k-1 Use self-join to generate k-order candidate item set C k ;
[0020] For the k-order candidate item set C k Perform branch pruning to obtain frequent item sets;
[0021] In frequent item sets, obtain association rules that meet preset requirements.
[0022] Optionally, calculate the confidence of the label and adjust the confidence calculation to:
[0023]
[0024] Among them, Card(A) is the number of candidate items A included in the candidate item set;
[0025] Card(A∪B) indicates the number of items in the candidate item set that contain both A and B;
[0026] Confidence (A→B) is the temporal serial relationship of the candidate item set in the time series;
[0027] The number of frequent item statistics of items that contain both A and B in the candidate item set marked as redundant alarm information in adjacent time windows during the sliding time window;
[0028] is the frequent item statistics of items containing A in the candidate item set marked as redundant warning information in the adjacent time window of the sliding time window.
[0029] Optionally, the expression for the candidate itemset is:
[0030]
[0031] Among them, T is the time when the defect occurred, F is the manufacturer of the equipment, S is the equipment category, and Y is the number of years the equipment has been in operation;
[0032] The equipment operation period is divided into less than 1 year, more than 1 year and less than 5 years, more than 5 years and less than 12 years, and more than 12 years;
[0033] W is the warning information, R is the defect cause and T p is the time series observation period.
[0034] Optionally, the support and confidence of the association rule are respectively greater than a support threshold min_sup and a confidence threshold min_conf.
[0035] The present invention realizes a data mining device for time series correlation relationships, and completes the extraction of association rules and information feature analysis of alarm information through the steps of massive historical alarm information data capture, iteration, training, verification, etc., to avoid major losses caused by omissions of core alarm information, and to perform information convergence on massive alarm data to obtain truly valuable alarm information. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a flow chart of the method of the present invention;
[0037] Figure 2This is a structural diagram of the four-hard disk RAID5 of the present invention;
[0038] Figure 3 This is a schematic diagram of the alarm timing sequence of the present invention;
[0039] Figure 4 This is a flowchart of the alarm information time series correlation analysis of the present invention;
[0040] Figure 5 This is the flow chart of the Apriori algorithm of the present invention. DETAILED DESCRIPTION
[0041] Now, exemplary embodiments of the present invention are described with reference to the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to disclose the present invention in detail and completely and to fully convey the scope of the present invention to those skilled in the art. The terms used in the exemplary embodiments shown in the accompanying drawings are not intended to limit the present invention. In the accompanying drawings, the same units / elements are marked with the same reference numerals.
[0042] Unless otherwise specified, the terms (including technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is understood that the terms defined in commonly used dictionaries should be understood to have the same meanings as those in the context of the relevant fields, and should not be understood as idealized or overly formal meanings.
[0043] The present invention proposes a method for analyzing the temporal correlation relationship of multi-dimensional alarm information of relay protection devices based on the Apriori algorithm. Figure 1 As shown, including:
[0044] Collect the alarm information of the relay protection system and store the alarm information;
[0045] Call the alarm information, perform defect analysis and cleaning on the alarm information, and form a candidate item set;
[0046] For the candidate set, the temporal association rules of multi-dimensional alarm information of relay protection devices are obtained based on the temporal Apriori algorithm;
[0047] Perform defect analysis on the obtained strong association rules, obtain analysis results, and give maintenance suggestions based on the analysis results.
[0048] Among them, the alarm information is collected through the MMS of the process layer of the smart substation, the SNMP of the bay layer, and the DL / 860 of the station control layer.
[0049] Among them, the alarm information is stored using RAID5.
[0050] In the process of obtaining the temporal association rules of the multi-dimensional alarm information of the relay protection device based on the temporal Apriori algorithm, redundant alarm information is marked.
[0051] The alarm is subjected to defect analysis and cleaning processing to form a defect cause analysis result of the alarm information, and the defect cause is stored in the candidate set.
[0052] Among them, obtaining the multi-dimensional alarm information time sequence association rules of the relay protection device includes:
[0053] Iterative training is performed on the correlation strength and alarm information to obtain the multi-dimensional alarm information temporal association rules of the relay protection device;
[0054] Calculate the support and confidence of the tags and determine the strength of association between the tags.
[0055] Among them, obtaining the multi-dimensional alarm information time sequence association rules of the relay protection device, calculating the support and confidence of the tags, and determining the association strength between the tags include:
[0056] Traverse the alarm information database and find the first-order frequent item set L1;
[0057] L k-1 Use self-join to generate k-order candidate item set C k ;
[0058] For the k-order candidate item set C k Perform branch pruning to obtain frequent item sets;
[0059] In frequent item sets, obtain association rules that meet preset requirements.
[0060] Optionally, calculate the confidence of the label and adjust the confidence calculation to:
[0061]
[0062] Among them, Card(A) is the number of candidate items A included in the candidate item set;
[0063] Card(A∪B) indicates the number of items in the candidate item set that contain both A and B;
[0064] confidence(A→B) is the temporal serial relationship of the candidate item set in the time series;
[0065] The number of frequent item statistics of items that contain both A and B in the candidate item set marked as redundant alarm information in adjacent time windows during the sliding time window;
[0066] is the frequent item statistics of items containing A in the candidate item set marked as redundant warning information in the adjacent time window of the sliding time window.
[0067] The expression of the candidate item set is:
[0068]
[0069] Among them, T is the time when the defect occurred, F is the manufacturer of the equipment, S is the equipment category, and Y is the number of years the equipment has been in operation;
[0070] The equipment operation period is divided into less than 1 year, more than 1 year and less than 5 years, more than 5 years and less than 12 years, and more than 12 years;
[0071] W is the warning information, R is the defect cause and T p is the time series observation period.
[0072] Optionally, the support and confidence of the association rule are respectively greater than a support threshold min_sup and a confidence threshold min_conf.
[0073] The present invention realizes a data mining device for time series correlation relationships, and completes the extraction of association rules and information feature analysis of alarm information through the steps of massive historical alarm information data capture, iteration, training, verification, etc., to avoid major losses caused by omissions of core alarm information, and to perform information convergence on massive alarm data to obtain truly valuable alarm information.
[0074] The present invention will be further described below in conjunction with embodiments:
[0075] The following steps are involved:
[0076] Step 1: Collect and store relay protection system alarm information;
[0077] Step 2: Obtain the alarm information, clean and process it, and form a candidate item set;
[0078] Step 3: Calculate the temporal association rules of multi-dimensional alarm information of relay protection device based on the temporal Apriori algorithm;
[0079] Step 4: Perform defect analysis on the obtained strong association rules and provide relevant maintenance suggestions.
[0080] In step 1, the alarm data information collection method of the relay protection system is:
[0081] (1) Process layer: intelligent terminals, merging units, GOOSE / SV (Generic Object Oriented Substation Event / Sampled Value) status detection information, equipment self-test information, and measurement and control devices are sent to the online status monitoring module of the station control layer through MMS (Multimedia Messaging Service) messages;
[0082] (2) Interval layer: protection devices, measurement and control devices, message recorders and analyzers, switches and other equipment. The collected information includes the real-time status of hardware modules such as CPU, Flash and other IC chips, power supply, A / D, I / O, communication status, clock, etc. The monitoring information of measurement and control, protection, and message recorders is collected directly from the MMS network. The switch information is collected through DL / T 860. For stations that do not meet the conditions, it can also be collected through SNMP (Simple Network Management Prorocol);
[0083] (3) Station control layer: The remote motor and monitoring host collect the operating conditions and alarm information of the equipment. The monitoring data is exchanged with the station control layer equipment through DL / T 860 or private protocols.
[0084] RAID5 is a data storage solution that takes into account storage performance, data security, and storage cost. Figure 2 shown.
[0085] In step 2, the alarm information is cleaned to form a candidate item set:
[0086] (1) Perform temporal correlation analysis on the acquired alarm information and mark the redundant alarm information:
[0087] In actual engineering applications, alarms have certain correlation in time sequence. A root fault alarm often triggers some subsequent alarms. It is necessary to perform time sequence correlation analysis on the alarm information and mark redundant alarm information to eliminate the influence of redundant alarm information on confidence calculation.
[0088] The alarm timing sequence diagram is as follows Figure 3 As shown, in the alarm sequence n(t x ,i y ) is the candidate item y In the time window t x Frequent item records in time window t p for:
[0089]
[0090] T P=T E -T S
[0091] Where m is the number of time windows; T P represents the time series observation period, T E Indicates the sequence termination time; T S Indicates the start time of the sequence.
[0092] See the alarm information time series correlation analysis process for Figure 4 , analysis steps:
[0093] 1) Given a time series observation period T p , the number of alarm information items is M; the window starts recording K w_s =1
[0094] 2) Calculate the number of records N within the window period w ; Initial record K within the window period in_w_st =1;
[0095] 3) Save the current recording device information;
[0096] 4) Is the current record marked as a redundant alarm? If yes, go to step 6)
[0097] 5) Compare the device information. If the information is exactly the same, the alarm information is marked as a redundant alarm;
[0098] 6) K during the window period in_w_st =K in_w_st +1
[0099] 7) K in_w_st Is it within the window period? If not, go to 9)
[0100] 8) Go to 3)
[0101] 9) Go to the next window for timing analysis until the last record.
[0102] (2) Analyze the alarm information and give the cause of the defect;
[0103] Since the data collected by the alarm information database may not be standardized and the fault descriptions are not unified, a data dictionary can be set in advance. The dictionary setting can refer to the State Grid Corporation's "Defect Management Measures for Relay Protection and Safety Automatic Devices" to facilitate manual or machine cleaning and analysis of the data to determine the causes of the defects.
[0104] (3) Based on the device information, call the basic database of the protection device to form a candidate set
[0105]
[0106] Among them, T is the alarm occurrence time; F is the manufacturer of the equipment; S is the equipment category; Y is the equipment operation life. In order to reduce the candidates of the Apriori algorithm, the equipment operation life is processed into four levels: less than 1 year, more than 1 year and less than 5 years, more than 5 years and less than 12 years, and more than 12 years; W is the alarm information, R is the defect cause, which is obtained by analyzing the alarm information; T P Represents the time series observation period.
[0107] In step 3, the concept of Apriori frequent item set strong association rule is determined by two indicators: support_(A→B) and confidence_(A→B). The item set that meets the support requirement becomes a frequent item set, and the rule that meets the credibility requirement is called a strong association rule.
[0108] Figure 5 This is the Apriori algorithm process. First, scan the defect alarm information database once. At this time, each item in the database is an element in the candidate k=1 item set. Calculate the support count of each candidate item in this scanning process, and generate the frequent k=1 item set L1 through the minimum support. Then use L1 to search and generate the frequent k=2 item set L2, and so on k=k+1, until no new frequent items k=n can be generated, (n∈N * ). During the algorithm execution, in order to find the frequent k-item set L k , the Apriori algorithm converts L k-1 Perform a self-join operation to generate a new candidate frequent item set and record it as C k Each time a candidate item set C is generated k You need to scan the library again to confirm that C k The count of each candidate in L k .
[0109] In actual engineering applications, it is necessary to eliminate the influence of redundant alarm information on confidence calculation. The time series Apriori confidence calculation formula is:
[0110]
[0111] Among them, Card(A) represents the number of candidate items in the candidate set that contain candidate item A, and Card(A∪B) represents the number of items in the candidate set that contain both A and B. The rule A→B describes the candidate set (T, F, S, A, W, R) in the time series T p In the timing serial relationship, The number of frequent item statistics of items that contain both A and B in the candidate item set marked as redundant alarm information in adjacent time windows during the sliding time window; is the frequent item statistics of items containing A in the candidate item set marked as redundant warning information in the adjacent time window of the sliding time window.
[0112] If the confidence meets the minimum confidence threshold min_conf:
[0113] confidence(A→B)≥min_conf
[0114] A rule R:A→B that satisfies both the minimum support threshold min_sup and the minimum confidence threshold min_conf is considered a strong rule.
[0115] In step 4, defect analysis is performed on the calculation results based on strong association rules. 1) Filter out some unnecessary rules, such as some defect causes are unique to a certain type of equipment. The confidence of these rules is often 100%. If the support of these rules is very low, they are of little guiding significance to operation and maintenance personnel; 2) The relationship between the equipment's years of operation and defects can be analyzed from the derived rules, and targeted operation and maintenance can be performed; 3) Analyze the association rules between manufacturers and defective equipment categories, and further analyze the family defects of relay protection equipment. For example, when the defect alarms of a certain manufacturer or a certain type of device are relatively concentrated, and the operating years are no more than 12 years, it can be further analyzed whether there are family defects; 4) Analyze the weak links of protection equipment, find the causes of the weak links, and provide a reference for the operation and maintenance and control of protection equipment.
[0116] The specific implementation of the present invention is described below through a specific case:
[0117] The alarm information of a power company on a certain day is obtained, and its alarms are cleaned, including normalization of information, time series correlation analysis, and defect cause analysis. Table 1 is an example of time series correlation analysis of alarm information. The alarm information 25, 26, 32, 33, etc. in the table, "GOOSE data abnormality" and "GOOSE maintenance status inconsistency", are all caused by "GOOSE communication interruption" and should be marked as redundant alarm information. After processing, 3389 sample data are formed, and the data is saved in an Excel file. The data format is as follows: the first column is the time of defect occurrence; the second column is the manufacturer of the equipment; the third column is the equipment category, including relay protection equipment, secondary circuits, safety automatic devices, AC and DC power supplies, recording equipment, and security substations; the fourth column is the equipment operation period. In order to reduce the candidate items of the Apriori algorithm, the equipment operation period is processed into four gears: less than 1 year, more than 1 year and less than 5 years, more than 5 years and less than 12 years, and more than 12 years; the fifth column is the alarm information; the sixth column is the cause of the defect, including LCD black screen or flower screen, memory error, program error, DSP error, fixed value error, abnormal export circuit, DC system parameter error, DC system grounding, parasitic circuit, incorrect circuit wiring, circuit short circuit, etc. An example of the candidate set data is shown in Table 2.
[0118] Table 1
[0119]
[0120] Table 2
[0121]
[0122]
[0123] The minimum support threshold min_sup is set to 0.5%. After the Apriori algorithm temporal association analysis, 28 strong association rules about protection devices with min_sup>0.5% are derived as shown in Table 3.
[0124] Table 3
[0125] Serial number rule Support Confidence 1 Power supply abnormality ---> relay protection device body 6.91% 98.81% 2 Power supply abnormality, less than 1 year ---> relay protection device body 1.45% 87.89% 3 Power supply abnormality, more than 5 years and less than 12 years ---> relay protection device body 1.12% 87.24% 4 Power supply abnormality, more than 1 year but less than 5 years ---> relay protection device body 0.77% 86.53% 5 Power supply abnormality, more than 12 years ---> relay protection device body 3.57% 95.71% 6 Power supply abnormality, manufacturer D---> relay protection device body 1.59% 88.19% 7 Power supply abnormality, manufacturer D, more than 12 years ---> relay protection device body 1.15% 88.45% 8 Power supply abnormality, manufacturer C---> relay protection device body 1.77% 88.54% 9 Power supply abnormality, manufacturer C, more than 12 years ---> relay protection device body 0.74% 87.21% 10 Power supply abnormality, manufacturer B--> relay protection device body 1.45% 87.89% 11 Power supply abnormality, manufacturer B, more than 12 years ---> relay protection device body 0.71% 87.12% 12 Power supply abnormality, manufacturer A--> relay protection device body 2.10% 89.19% 13 Power supply abnormality, manufacturer A, less than 1 year ---> relay protection device body 0.50% 86.00% 14 Power supply abnormality, manufacturer A, more than 12 years ---> relay protection device body 0.97% 87.92% 15 CPU abnormality ---> relay protection device 6.55% 98.10% 16 CPU abnormality, less than 1 year ---> relay protection device body 1.68% 88.36% 17 CPU abnormality, more than 5 years and less than 12 years ---> relay protection device 1.21% 87.42% 18 CPU abnormality, more than 1 year but less than 5 years ---> relay protection device body 0.50% 86.00% 19 CPU abnormality, more than 12 years ---> relay protection device body 3.16% 91.31% 20 CPU abnormality, manufacturer D---> relay protection device body 1.92% 88.84% 21 CPU abnormality, manufacturer D, more than 12 years old ---> relay protection device body 1.18% 88.54% 22 CPU abnormality, manufacturer C---> relay protection device body 1.39% 87.77% 23 CPU abnormality, manufacturer C, more than 12 years old ---> relay protection device 0.53% 86.06% 24 CPU abnormality, manufacturer B---> relay protection device body 1.65% 88.30% 25 CPU abnormality, manufacturer B, less than 1 year ---> relay protection device 0.56% 86.12% 26 CPU abnormality, manufacturer B, more than 12 years old ---> relay protection device 0.74% 86.48% 27 CPU abnormality, manufacturer A---> relay protection device body 1.59% 88.19% 28 CPU abnormality, manufacturer A, more than 12 years old ---> relay protection device 0.71% 86.42%
[0126] Based on the derived strong association rules, we can conduct a deeper analysis:
[0127] (1) Analyzing the rules derived from the Apriori algorithm, some rules can be filtered out. For example, some defect causes are unique to a certain type of equipment, such as the rules "DC loop grounding → AC and DC power supply" and "DC power supply short circuit → AC and DC power supply". Although these rules have high confidence and support, they can be filtered out. However, some rules also need attention. For example, the rule "power supply abnormality → protection device body" has a high support, indicating that the aging failure problem of the power supply components in the protection device body is relatively prominent.
[0128] (2) From the strong association rules of the protection device in Table 3, it can be seen that the defects of the protection device are mainly concentrated on the power plug-in, CPU plug-in, and I / O plug-in. In particular, the power plug-in and CPU plug-in, with confidence levels of 98.81% and 98.1% respectively, and support levels of 6.91% and 6.55% respectively, are the weak links of the protection device. Therefore, during the operation and maintenance of relay protection, attention should be paid to easily damaged parts, especially the power plug-in and CPU plug-in.
[0129] (3) From Rules 2 to 5, it can be seen that for those with an operating life of more than 12 years, the confidence and support of power supply anomalies are relatively prominent, at 95.71% and 3.57% respectively. The power plug-in is mainly composed of electronic components such as control units, transformers, and semiconductor switches. As the operating life increases, the aging of components accelerates, and the problems of power plug-ins become more prominent. Power plug-in failure will directly cause the protection device to fail to work properly. The capacitor in the power plug-in circuit is a vulnerable component. The factors that cause capacitor damage are mainly the operating environment, temperature, and the quality of capacitor material selection. Therefore, it is necessary to strengthen the monitoring of the relay protection operating environment during actual operation and maintenance, and create good environmental conditions for the operation of the power plug-in as much as possible.
[0130] (4) From Rules 8 and 12, we can see that the power plug-in problems of Manufacturer A and Manufacturer C are more prominent, with confidence levels of 89.19% and 88.54%, and support levels of 2.1% and 1.77%, respectively. They should be given special attention during equipment operation and maintenance.
[0131] (5) The data source of the case analysis is one day's alarm data of a certain power company. The derived rules have certain limitations. After the data source is enriched, the generated rules are representative. There are many derived rules. Pay attention to the support of the rules during analysis.
[0132] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0133] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0134] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0135] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0136] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0137] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for analyzing the temporal correlation relationship of multi-dimensional alarm information of a relay protection device based on an Apriori algorithm, the method comprising: Collect the alarm information of the relay protection system and store the alarm information; Call the alarm information, perform defect analysis and cleaning on the alarm, and form a candidate item set; For the candidate set, the temporal association rules of multi-dimensional alarm information of relay protection devices are obtained based on the temporal Apriori algorithm; Perform defect analysis on the obtained strong association rules, obtain analysis results, and give maintenance suggestions based on the analysis results; The method of obtaining the multi-dimensional alarm information time sequence association rules of the relay protection device includes: Iterative training is performed on the correlation strength and alarm information to obtain the multi-dimensional alarm information temporal association rules of the relay protection device; Calculate the support and confidence of the tags and determine the strength of association between the tags; The confidence of the calculated label is adjusted to the following: Among them, Card(A) is the number of candidate items A included in the candidate item set; Card(A∪B) indicates the number of items in the candidate item set that contain both A and B; confidence(A→B) is the temporal serial relationship of the candidate item set in the time series; The number of frequent item statistics of items that contain both A and B in the candidate item set marked as redundant alarm information in adjacent time windows during the sliding time window; is the frequent item statistics of items containing A in the candidate item set marked as redundant warning information in the adjacent time window during the sliding time window; The expression of the candidate item set is: Among them, T is the time when the defect occurred, F is the manufacturer of the equipment, S is the equipment category, and Y is the number of years the equipment has been in operation; The equipment operation period is divided into less than 1 year, more than 1 year and less than 5 years, more than 5 years and less than 12 years, and more than 12 years; W is the warning information, R is the defect cause and T p is the time series observation period.
2. According to the method of claim 1, the alarm information is collected through the MMS of the process layer, the SNMP of the bay layer and the DL / 860 of the station control layer of the smart substation.
3. According to the method of claim 1, the alarm information is stored using RAID5.
4. The method according to claim 1, in the process of obtaining the temporal association rules of the multi-dimensional alarm information of the relay protection device based on the temporal Apriori algorithm, marking redundant alarm information.
5. The method according to claim 1, wherein the alarm information is subjected to defect analysis and cleaning processing to form a defect cause analysis result of the alarm information, and the defect cause is stored in a candidate set.
6. According to the method of claim 1, the step of obtaining the temporal association rules of the multi-dimensional alarm information of the relay protection device, calculating the support and confidence of the tags, and determining the strength of association between the tags comprises: Traverse the alarm information database and find the first-order frequent item set L1; L k-1 Use self-join to generate k-order candidate item set C k ; For the k-order candidate item set C k Perform branch pruning to obtain frequent item sets; In frequent item sets, obtain association rules that meet preset requirements. 7 . The method according to claim 1 , wherein the support and confidence of the association rule are respectively greater than a support threshold min_sup and a confidence threshold min_conf.
