Power grid fault processing method and device, computer device and storage medium

By classifying power grid fault data and calculating the operational complexity of processing schemes, the problem of low accuracy of fault alarms in existing technologies has been solved, and more accurate fault alarms have been achieved.

CN116361687BActive Publication Date: 2025-11-07SHENZHEN POWER SUPPLY BUREAU
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310185879.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2025-11-07
Estimated Expiration
2043-02-21

AI Technical Summary

Technical Problem

Existing power grid fault monitoring methods are unable to perform fault analysis, resulting in low accuracy of fault alarms.

Method used

By acquiring and classifying faulty power grid data, the target fault category and severity are determined. Fault handling solutions are obtained based on preset relationships, and the operation and time complexity are calculated to generate accurate alarm information.

Benefits of technology

It improves the accuracy of alarms for faulty power grid data by analyzing the complexity of fault handling schemes through both operational and time dimensions, thereby generating more accurate alarm information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116361687B_ABST
    Figure CN116361687B_ABST
Patent Text Reader

Abstract

The application relates to a power grid fault processing method and device and computer equipment. The method comprises the following steps: obtaining fault power grid data and classifying the same to obtain a target fault category, determining a corresponding fault severity based on the target fault category; determining a target fault processing scheme according to a preset corresponding relationship between fault categories and fault processing schemes and performing operation splitting to obtain each execution operation; obtaining an initial operation complexity of each execution operation and a preset operation importance, and performing operation complexity calculation to obtain a target operation complexity corresponding to the target fault processing scheme; obtaining a cycle parameter and an execution frequency parameter corresponding to each execution operation, and performing time complexity calculation to obtain a target time complexity corresponding to the target fault processing scheme; generating alarm information corresponding to the fault power grid data according to the target operation complexity, the target time complexity and the fault severity, and performing alarm processing based on the alarm information. The method can improve the power grid fault response efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, in particular to a power grid fault processing method and device, computer equipment, storage medium and computer program product. BACKGROUND

[0002] With the development of artificial intelligence technology, the operation of the power grid is combined with artificial intelligence, and the operation of the power grid is monitored by artificial intelligence. However, due to the complexity of the operation of the power grid and the high density of data, the existing power grid monitoring method only monitors the power grid fault, cannot analyze the fault, and when the fault is found, a unified way is used for alarm, thereby causing the problem of low accuracy of power grid fault alarm. SUMMARY

[0003] Therefore, it is necessary to provide a power grid fault processing method, device, computer equipment, computer readable storage medium and computer program product capable of improving the accuracy of fault alarm to solve the above technical problems.

[0004] In a first aspect, the present application provides a power grid fault processing method. The method comprises:

[0005] obtaining fault power grid data, classifying based on the fault power grid data to obtain a target fault category, determining a corresponding fault severity based on the target fault category;

[0006] obtaining a target fault processing scheme corresponding to the target fault category according to a preset correspondence between the fault category and the fault processing scheme, splitting the target fault processing scheme into each execution operation;

[0007] obtaining the initial operation complexity of each execution operation, and calculating the operation complexity based on the initial operation complexity of each execution operation and the corresponding preset operation importance to obtain the target operation complexity corresponding to the target fault processing scheme;

[0008] obtaining the cycle parameter and the execution times parameter corresponding to each execution operation, and calculating the time complexity based on the cycle parameter and the execution times parameter corresponding to each execution operation to obtain the target time complexity corresponding to the target fault processing scheme;

[0009] generating alarm information corresponding to the fault power grid data according to the target operation complexity, the target time complexity and the fault severity, and performing alarm processing based on the alarm information.

[0010] In a second aspect, the present application further provides a power grid fault processing device. The device comprises:

[0011] The classification module is configured to obtain fault power grid data, perform classification based on the fault power grid data, obtain a target fault category, and determine a corresponding fault severity based on the target fault category.

[0012] The splitting module is configured to obtain a target fault handling scheme corresponding to the target fault category according to a preset correspondence between fault categories and fault handling schemes, split the target fault handling scheme into each execution operation, and obtain each execution operation.

[0013] The operation complexity calculation module is configured to obtain an initial operation complexity of each execution operation, and perform operation complexity calculation based on the initial operation complexity of each execution operation and a corresponding preset operation importance, to obtain a target operation complexity corresponding to the target fault handling scheme.

[0014] The time complexity calculation module is configured to obtain a loop parameter and an execution times parameter corresponding to each execution operation, and perform time complexity calculation based on the loop parameter and the execution times parameter corresponding to each execution operation, to obtain a target time complexity corresponding to the target fault handling scheme.

[0015] The alarm module is configured to generate alarm information corresponding to the fault power grid data according to the target operation complexity, the target time complexity, and the fault severity, and perform alarm processing based on the alarm information.

[0016] In a third aspect, the present application further provides a computer device. The computer device comprises a memory and a processor. The memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0017] The classification module is configured to obtain fault power grid data, perform classification based on the fault power grid data, obtain a target fault category, and determine a corresponding fault severity based on the target fault category.

[0018] The splitting module is configured to obtain a target fault handling scheme corresponding to the target fault category according to a preset correspondence between fault categories and fault handling schemes, split the target fault handling scheme into each execution operation, and obtain each execution operation.

[0019] The operation complexity calculation module is configured to obtain an initial operation complexity of each execution operation, and perform operation complexity calculation based on the initial operation complexity of each execution operation and a corresponding preset operation importance, to obtain a target operation complexity corresponding to the target fault handling scheme.

[0020] The time complexity calculation module is configured to obtain a loop parameter and an execution times parameter corresponding to each execution operation, and perform time complexity calculation based on the loop parameter and the execution times parameter corresponding to each execution operation, to obtain a target time complexity corresponding to the target fault handling scheme.

[0021] According to the target operation complexity, the target time complexity, and the fault severity, alarm information corresponding to the fault power grid data is generated, and alarm processing is performed based on the alarm information.

[0022] In a fourth aspect, the present application also provides a computer readable storage medium. The computer readable storage medium has a computer program stored thereon, and the computer program, when executed by a processor, implements the following steps:

[0023] Obtaining fault power grid data, classifying based on the fault power grid data to obtain a target fault category, and determining a corresponding fault severity based on the target fault category;

[0024] According to the corresponding relationship between the preset fault category and the fault handling scheme, a target fault handling scheme corresponding to the target fault category is obtained, the target fault handling scheme is split into each execution operation;

[0025] Obtaining the initial operation complexity of each execution operation, and performing operation complexity calculation based on the initial operation complexity of each execution operation and the corresponding preset operation importance to obtain the target operation complexity corresponding to the target fault handling scheme;

[0026] Obtaining the cycle parameter and the execution times parameter corresponding to each execution operation, and performing time complexity calculation based on the cycle parameter and the execution times parameter corresponding to each execution operation to obtain the target time complexity corresponding to the target fault handling scheme;

[0027] According to the target operation complexity, the target time complexity, and the fault severity, alarm information corresponding to the fault power grid data is generated, and alarm processing is performed based on the alarm information.

[0028] In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program, and the computer program, when executed by a processor, implements the following steps:

[0029] Obtaining fault power grid data, classifying based on the fault power grid data to obtain a target fault category, and determining a corresponding fault severity based on the target fault category;

[0030] According to the corresponding relationship between the preset fault category and the fault handling scheme, a target fault handling scheme corresponding to the target fault category is obtained, the target fault handling scheme is split into each execution operation;

[0031] Obtaining the initial operation complexity of each execution operation, and performing operation complexity calculation based on the initial operation complexity of each execution operation and the corresponding preset operation importance to obtain the target operation complexity corresponding to the target fault handling scheme;

[0032] obtain the loop parameters and the execution times parameters corresponding to each execution operation, and perform time complexity calculation based on the loop parameters and the execution times parameters corresponding to each execution operation to obtain target time complexity corresponding to the target fault handling scheme;

[0033] generate alarm information corresponding to the fault power grid data according to the target operation complexity, the target time complexity, and the fault severity, and perform alarm processing based on the alarm information.

[0034] The power grid fault handling method, device, computer device, storage medium, and computer program product described above can obtain a target fault category by classifying fault power grid data, determine the fault severity, i.e., the severity of the power grid fault, according to the target fault category, obtain a target fault handling scheme corresponding to the target fault category according to the correspondence between the preset fault categories and the fault handling schemes, and calculate the target operation complexity and the target time complexity corresponding to the target fault handling scheme, respectively. The complexity of the target fault handling scheme can be analyzed from two dimensions of operation and time, so that alarm information corresponding to the fault power grid data can be generated according to the target operation complexity, the target time complexity, and the fault severity, and the alarm accuracy of the fault power grid data is improved. BRIEF DESCRIPTION OF DRAWINGS

[0035] Figure 1 An application environment diagram of the power grid fault handling method in one embodiment;

[0036] Figure 2 A flowchart of the power grid fault handling method in one embodiment;

[0037] Figure 3 A flowchart of data preprocessing in one embodiment;

[0038] Figure 4 A flowchart of determining a fault handling scheme in one embodiment;

[0039] Figure 5 A flowchart of power grid fault handling in one embodiment;

[0040] Figure 6 A structural block diagram of the power grid fault handling device in one embodiment;

[0041] Figure 7 An internal structure diagram of the computer device in one embodiment;

[0042] Figure 8 An internal structure diagram of the computer device in one embodiment. DETAILED DESCRIPTION

[0043] In order to make the purposes, technical solutions and advantages of the present application clearer, further detailed description will be made to the present application in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not used to limit the present application.

[0044] The power grid fault processing method provided by the embodiments of the present application can be applied to an application environment as shown in Figure 1 The terminal 102 communicates with the server 104 through the network. The data storage system can store data required to be processed by the server 104. The data storage system can be integrated on the server 104, or placed on the cloud or other network servers. The server 104 communicates with the data acquisition terminal through the network and obtains the power grid data collected by the data acquisition terminal on the power grid equipment. The terminal 102 obtains the power grid data through the server 104, and obtains the fault power grid data after pre-processing the power grid data. The terminal 102 classifies based on the fault power grid data to obtain a target fault category, and determines a corresponding fault severity based on the target fault category; the terminal 102 obtains a target fault processing scheme corresponding to the target fault category according to a preset correspondence between the fault category and the fault processing scheme, splits the target fault processing scheme into each execution operation; the terminal 102 obtains an initial operation complexity of each execution operation, and performs operation complexity calculation based on the initial operation complexity of each execution operation and a corresponding preset operation importance, to obtain a target operation complexity corresponding to the target fault processing scheme; the terminal 102 obtains a loop parameter and an execution times parameter corresponding to each execution operation, and performs time complexity calculation based on the loop parameter and the execution times parameter corresponding to each execution operation, to obtain a target time complexity corresponding to the target fault processing scheme; the terminal 102 generates alarm information corresponding to the fault power grid data according to the target operation complexity, the target time complexity and the fault severity, and performs alarm processing based on the alarm information. The terminal 102 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things device can be a smart speaker, a smart television, a smart air conditioner, a smart vehicle device, etc. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc. The server 104 can be implemented by an independent server or a server cluster composed of multiple servers.

[0045] In one embodiment, as shown in Figure 2 A power grid fault processing method is provided. The embodiments are exemplified by the method applied to a terminal. It should be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and can be implemented through the interaction of the terminal and the server. The method includes the following steps:

[0046] In step 202, fault power grid data is obtained, classification is performed based on the fault power grid data, a target fault category is obtained, and a corresponding fault severity is determined based on the target fault category.

[0047] The fault power grid data refers to power grid fault data representing power grid faults that is pre-screened. The power grid refers to the whole composed of power transformation devices and power transmission and distribution lines excluding the power generation side. The target fault category refers to the fault type of the power grid, which can represent the cause of the power grid fault. The fault severity represents the severity of the power grid fault.

[0048] Specifically, the terminal can obtain the fault power grid data through the server. The fault power grid data can be fault data screened after the server pre-obtains power grid data for fault identification. The terminal classifies the fault power grid data using a preset classification algorithm to obtain a target fault category, and then determines a corresponding fault severity according to the target fault category. The corresponding relationship between various fault categories and fault severities can be pre-set, and the terminal can find the fault severity corresponding to the target fault category according to the corresponding relationship.

[0049] In step 204, a target fault handling scheme corresponding to the target fault category is obtained according to a preset corresponding relationship between fault categories and fault handling schemes, and each execution operation is obtained by splitting the target fault handling scheme into execution operations.

[0050] The target fault handling scheme refers to the fault handling scheme corresponding to the target fault category. The execution operation refers to the operation step in the target fault handling scheme, and each execution operation can constitute the fault handling scheme.

[0051] Specifically, the terminal can pre-set a corresponding relationship between fault categories and fault handling schemes. The corresponding relationship can include one or more fault handling schemes corresponding to the fault category. The terminal obtains a fault handling scheme corresponding to the target fault category according to the preset corresponding relationship between fault categories and fault handling schemes, and takes the fault handling scheme as the target fault handling scheme. The terminal can also obtain multiple fault handling schemes corresponding to the target fault category according to the corresponding relationship, and then compare each fault handling scheme according to a preset comparison scheme to obtain the target fault handling scheme. The preset comparison scheme can be a comparison scheme based on operation complexity, a comparison scheme based on processing time, etc.

[0052] The terminal splits the target fault scheme into execution operations to obtain at least one execution operation corresponding to the target fault scheme.

[0053] In step 206, the initial operation complexity of each execution operation is obtained, and operation complexity calculation is performed based on the initial operation complexity of each execution operation and the corresponding preset operation importance to obtain a target operation complexity corresponding to the target fault handling scheme.

[0054] The initial operation complexity refers to an initial value of an operation complexity of each execution operation set in advance. The preset operation importance refers to weight information corresponding to each execution operation set in advance. The target operation complexity refers to an operation complexity degree corresponding to the target fault handling scheme.

[0055] Specifically, the terminal obtains the initial operation complexity and the preset operation importance corresponding to each execution operation. The terminal can use a preset operation complexity algorithm to calculate the initial operation complexity and the preset operation importance corresponding to each execution operation, to obtain the target operation complexity corresponding to the target fault handling scheme.

[0056] In step 208, the loop parameter and the execution times parameter corresponding to each execution operation are obtained, and the time complexity is calculated based on the loop parameter and the execution times parameter corresponding to each execution operation, to obtain the target time complexity corresponding to the target fault handling scheme.

[0057] The loop parameter refers to a parameter of an execution operation that needs to be executed in a loop in each execution operation. The execution times parameter refers to execution times information corresponding to each execution operation in the target fault handling scheme. The target time complexity refers to a time length degree that the target fault handling scheme needs to spend in the execution process.

[0058] Specifically, the target fault handling scheme includes a loop execution operation group, indicating that one or more execution operations are operated in a loop as a whole. The terminal splits the target fault handling scheme for execution operation, traverses each execution operation and the loop execution operation group, obtains the loop parameter corresponding to the loop execution operation group, and the execution parameter corresponding to each execution operation, and calculates the time complexity based on the loop parameter and the execution times parameter corresponding to each execution operation, to obtain the target time complexity corresponding to the target fault handling scheme.

[0059] In step 210, the alarm information corresponding to the fault power grid data is generated according to the target operation complexity, the target time complexity, and the fault severity, and the alarm processing is performed based on the alarm information.

[0060] The alarm information refers to alarm information indicating that the power grid has a fault.

[0061] Specifically, the terminal sets different fault handling priorities in advance, indicating the priority of the power grid fault. The fault handling priority can be an alarm level. The terminal determines the fault handling priority corresponding to the fault power grid data according to the target operation complexity, the target time complexity, and the fault severity, generates the alarm information according to the fault handling priority, and sends the alarm information to the management terminal, so that the management terminal responds to the alarm information to perform fault handling.

[0062] In the power grid fault processing method, the target fault category is obtained by classifying the fault power grid data, and the fault severity, i.e., the severity of the power grid fault, is determined according to the target fault category. Then, the target fault processing scheme corresponding to the target fault category is obtained according to the correspondence between the preset fault category and the fault processing scheme, and the target operation complexity and the target time complexity corresponding to the target fault processing scheme are calculated respectively. The complexity of the target fault processing scheme can be analyzed from two dimensions of operation and time, so that the alarm information corresponding to the fault power grid data is generated according to the target operation complexity, the target time complexity and the fault severity, and the alarm accuracy of the fault power grid data is improved.

[0063] In one embodiment, as shown in Figure 3 a flowchart of data preprocessing is provided. Before obtaining the fault power grid data, steps 202 are further included:

[0064] In step 302, the current data usage frequency and the current weight corresponding to the current power grid data are obtained, and the historical data usage frequency corresponding to the historical power grid data is obtained.

[0065] In step 304, the historical weight corresponding to the historical power grid data is calculated based on the current weight.

[0066] In step 306, the data real-time performance corresponding to the current power grid data is obtained by performing real-time calculation based on the current data usage frequency, the historical data usage frequency and the historical weight.

[0067] In step 308, when the data real-time performance meets the preset real-time condition, the current power grid data is determined as the target power grid data.

[0068] In step 310, the target power grid data is filtered based on the preset fault data filtering condition to obtain the fault power grid data corresponding to the target power grid data.

[0069] The current power grid data refers to the power grid data obtained in the current time period. The current data usage frequency refers to the frequency of calling the current power grid data. The current weight refers to the weight information of the current power grid data set in advance. The historical power grid data refers to the power grid data obtained in the historical time period. The historical data usage frequency refers to the frequency of calling the historical power grid data. The data real-time performance refers to the time attribute of the power grid data, which represents the effectiveness of the power grid data.

[0070] Specifically, the terminal obtains user information through a human-computer interaction interface, the user information being identity registration information input by a user before logging into a cloud management platform in order to call power grid monitoring data. The terminal performs permission authentication on the user information, and obtains current power grid data in response to a data call request after detecting that the authentication is passed. The terminal can obtain data call parameters of the user after detecting that the user authentication is passed, the data call parameters being a call number of the power grid data. When the terminal detects that the data call parameters exceed a preset data call parameter threshold, it is determined that the user abnormally calls data, the permission of the user is locked, and user abnormal alarm information is generated and sent to a management terminal.

[0071] The current power grid data obtained by the terminal includes power parameters, environmental parameters, and image data. The power parameters include current and voltage, and the environmental parameters include environmental temperature of a power grid line. The image data is a line image of the power grid. Then, the terminal obtains a current data usage frequency and a current weight corresponding to the current power grid data, and a historical data usage frequency corresponding to historical power grid data. The terminal calculates a historical weight corresponding to the historical power grid data using the current weight, and performs real-time calculation according to the current data usage frequency, the historical data usage frequency, and the historical weight to obtain data real-time corresponding to the current power grid data.

[0072] When the terminal detects that the data real-time corresponding to the current power grid data exceeds a preset real-time threshold, it is determined that the current power grid data is target power grid data, and the target power grid data is screened using a preset fault data screening condition to obtain fault power grid data corresponding to the target power grid data. For example, the power parameters in the current power grid data are screened for fault data by setting a power parameter threshold to obtain fault power parameters; the environmental parameters in the current power grid data are screened for fault data by setting an environmental parameter threshold to obtain fault environmental parameters; the image data in the current power grid data is abnormally identified through image recognition to obtain fault image data, and then the fault power grid data is obtained according to the fault power parameters, the fault environmental parameters, and the fault image data.

[0073] In this embodiment, the server can also obtain the current power grid data from the data acquisition terminal device, and perform real-time verification on the current power grid data to obtain target power grid data after verification. Then, the target power grid data is screened for fault data using a preset fault data screening condition to obtain fault power grid data, and the fault power grid data is sent to the terminal.

[0074] In one specific embodiment, the terminal can pre-calculate a historical data usage frequency corresponding to historical power grid data and a current data usage frequency corresponding to current power grid data. The data usage frequency is shown in formula (1): i N i / T formula (1);

[0075] wherein, P i represents the current data usage frequency, T represents the data collection period, N i represents the number of data calls in each period. Then the terminal obtains the current weight, using a to represent, and the historical weight is: 1-a. The terminal uses the current data usage frequency, the historical data usage frequency and the historical weight to perform real-time calculation, which can be dynamic weighted average calculation, and the calculation formula is shown in formula (2):

[0076]

[0077] represents that the data real-time of the current power grid data is calculated by weighted average calculation using the data usage frequency corresponding to i time periods and the weight corresponding thereto, and the smaller the data real-time is, the worse the effectiveness of the current power grid data is. Wherein, DAW represents the data real-time corresponding to the current power grid data, P i represents the current data usage frequency corresponding to the current time period, P i-1 represents the historical data usage frequency corresponding to the first historical time period before the current time period, P i-2 represents the historical data usage frequency corresponding to the second historical time period before the current time period.

[0078] In the embodiment, by calculating the real-time of the current power grid data, the reliability of the target fault handling scheme caused by data call errors is avoided, thereby improving the accuracy of the target fault handling scheme, and further improving the alarm accuracy of the power grid fault.

[0079] In one embodiment, step 202, based on the target fault category, the corresponding fault severity is determined, comprising:

[0080] According to the corresponding relationship between the preset fault category and the fault level, the fault level corresponding to the target fault category is determined;

[0081] Obtain the fault location information corresponding to the fault power grid data, and determine the fault range information based on the fault location information;

[0082] Based on the fault level and the fault range information, the product calculation is performed to obtain the fault severity.

[0083] Wherein, the fault level refers to the fault severity level corresponding to the fault category. The fault location information refers to the location of the power grid line fault. The fault range information refers to the influence area of the fault location, which generally refers to the coverage range of the power grid line.

[0084] Specifically, the terminal acquires a preset correspondence between fault categories and fault levels, determines a fault level corresponding to a target fault category according to the correspondence, such as fault level 1, fault level 2, and the like. Then the terminal acquires a power grid topology, determines a data source of fault grid data according to the topology, that is, fault location information corresponding to the fault grid data. Then the terminal acquires a corresponding fault range diameter from the database according to the fault location information, calculates a fault range according to the fault range diameter, and obtains fault range information. For example, according to the topology, the line identifier corresponding to the fault grid data is determined, the line length of the line identifier is acquired in the database, the line length is taken as the fault range diameter for area calculation, which can be circular area calculation, and the fault range information is obtained. Then the terminal performs product calculation on the fault level and the fault range information to obtain the fault severity.

[0085] In the embodiment, the fault level is determined according to the fault category, the fault range information is determined according to the fault location information, and the fault severity level is obtained according to the fault level and the fault range information, so that the fault severity level is determined according to multi-dimensional fault information, thereby improving the accuracy of the fault severity level, and further improving the alarm accuracy of the power grid fault.

[0086] In one embodiment, as shown in Figure 4 a flowchart for determining a fault handling scheme is provided. Step 204, according to a preset correspondence between fault categories and fault handling schemes, a target fault handling scheme corresponding to the target fault category is acquired, including:

[0087] Step 402, based on the preset correspondence between fault categories and fault handling schemes, each candidate fault handling scheme corresponding to the target fault category is acquired;

[0088] Step 404, each candidate fault handling scheme is split into each candidate execution operation corresponding to each candidate fault handling scheme;

[0089] Step 406, an initial operation comprehensive value and an operation weight corresponding to each candidate execution operation are acquired, and a scheme comparison is performed based on the initial operation comprehensive value and the operation weight corresponding to each candidate execution operation, to obtain a comparison result corresponding to each candidate fault handling scheme;

[0090] Step 408, based on the comparison result, a target fault handling scheme is determined from the candidate fault handling schemes.

[0091] The candidate fault handling scheme refers to a fault handling scheme that can handle the power grid fault corresponding to the target fault type. The candidate execution operation refers to an execution operation in the candidate fault handling scheme. The initial operation comprehensive value refers to an initial value of the operation difficulty of each candidate execution operation set in advance. The operation weight refers to weight information corresponding to each candidate execution operation set in advance, representing the importance of the candidate execution operation.

[0092] Specifically, the terminal obtains the correspondence between the fault categories and the fault handling schemes in advance, which can be a correspondence table, obtains each candidate fault handling scheme corresponding to the target fault type according to the correspondence, and splits each candidate fault handling scheme into each candidate execution operation corresponding to the candidate fault handling scheme.

[0093] The terminal obtains the initial operation comprehensive value and the operation weight corresponding to each candidate execution operation, performs weighted and combined calculation using the initial operation comprehensive value and the operation weight, obtains the weighted comprehensive value corresponding to each candidate fault handling scheme, compares the weighted comprehensive values corresponding to each candidate fault handling scheme, and determines the target fault handling scheme according to the comparison result, which can be the candidate fault handling scheme with the highest weighted comprehensive value as the target fault handling scheme.

[0094] In this embodiment, by determining each candidate fault handling scheme, splitting each candidate fault handling scheme into each candidate execution operation, comparing the initial operation comprehensive value and the operation weight corresponding to each candidate execution operation, and determining the target fault handling scheme according to the comparison result, the accuracy of the target fault handling scheme is ensured, the accuracy of the fault handling complexity calculated by the target fault handling scheme is improved, and the alarm accuracy of the power grid fault is improved.

[0095] In one embodiment, step 406, based on the initial operation comprehensive value and the operation weight corresponding to each candidate execution operation, a comparison result corresponding to each candidate fault handling scheme is obtained, including:

[0096] Based on the initial operation comprehensive value and the operation weight, a scheme comprehensive value corresponding to each candidate fault handling scheme is obtained by comprehensive calculation, and the scheme comprehensive value is used to construct a comparison matrix.

[0097] Based on the comparison matrix, the scheme comprehensive value corresponding to each candidate fault handling scheme is compared to obtain a comparison result corresponding to each candidate fault handling scheme.

[0098] The scheme comprehensive value refers to a numerical value calculated using the initial operation comprehensive value and the operation weight. The comparison matrix refers to a judgment matrix used for scheme comparison.

[0099] Specifically, the terminal obtains an initial operation comprehensive value corresponding to each candidate execution operation and an operation weight, performs weighted and combined calculation on the initial operation comprehensive value corresponding to each candidate execution operation and the operation weight according to the candidate fault handling scheme, and obtains a scheme comprehensive value corresponding to each candidate fault handling scheme. Then, the terminal constructs a comparison matrix corresponding to each candidate fault handling scheme using the scheme comprehensive value, and the comparison matrix is shown in formula (3):

[0100]

[0101] wherein Hj represents the comparison matrix, represents a weighted comprehensive value corresponding to the candidate fault handling scheme, represents a weighted comprehensive value of each candidate fault handling scheme.

[0102] In this embodiment, the scheme comprehensive value is calculated by the initial operation comprehensive value corresponding to each candidate execution operation and the operation weight, and the comparison matrix is constructed by the scheme comprehensive value. The comparison matrix is used for scheme comparison, and the target fault handling scheme is determined according to the comparison result, which improves the accuracy of the target fault handling scheme, thereby improving the alarm accuracy of the power grid fault.

[0103] In one embodiment, step 210, generating alarm information corresponding to the fault power grid data according to the target operation complexity, the target time complexity and the fault severity, and performing alarm processing based on the alarm information, including:

[0104] generating a fault handling complexity using the target time complexity and the fault severity;

[0105] determining an alarm level corresponding to the fault power grid data based on the fault handling complexity and the fault severity, and generating alarm information corresponding to the alarm level;

[0106] performing alarm processing based on the alarm information.

[0107] wherein the fault handling complexity represents the comprehensive complexity of operation and time when performing fault handling.

[0108] Specifically, the terminal generates the fault handling complexity using the target time complexity and the fault severity, which can be obtaining a weight corresponding to the target time complexity and the fault severity, and performing weighted multiplication based on the weight to obtain the fault handling complexity. Then, the terminal can perform product calculation on the fault handling complexity and the fault severity, or perform weighted multiplication again on the fault handling complexity and the fault severity to obtain a product result. The terminal obtains a numerical range corresponding to each alarm level, determines the alarm level to which the product result belongs, generates alarm information corresponding to the alarm level, and sends the alarm information to the management terminal for alarm processing.

[0109] In one specific embodiment, the terminal traverses each execution operation corresponding to the target fault handling scheme, determines the loop parameter g(n) of the operation, represents the loop flow of the operation, then determines the operation number of each execution operation as X, calculates the relationship between the execution number x of the operation and the problem size n, obtains x = f(n), and the satisfaction formula of the target time complexity is shown in formula (4):

[0110] D(f(n)) x D(g(n)) = D(f(n) x g(n)) Formula (4);

[0111] Wherein, n represents the problem size, i.e. the severity of the problem, D(f(n)) represents the number of operation executions required to solve the problem, and D(g(n)) represents the number of operation loops.

[0112] In the formula embodiment, by determining the alarm level corresponding to the fault grid data according to the fault handling complexity and the fault severity, the reporting process of abnormal data can be standardized and the priority alarm process can be improved, thereby improving the alarm accuracy of the grid fault.

[0113] In one specific embodiment, the power grid fault handling method can be implemented by a power grid fault handling system, which includes a power grid monitoring terminal module, a data analysis module, a data decision module, an abnormal call troubleshooting module, and a fault classification alarm module. The power grid monitoring terminal module includes a plurality of intelligent data acquisition devices, which include a single-chip microcomputer, a sensor unit, a communication interface, an encryption unit, and a power supply. The single-chip microcomputer is of the STM32L151 type. The power grid environmental parameters and power parameters are collected by the sensor unit, the data is encrypted by the encryption unit, and then the data is aggregated to the cloud service platform through the communication interface. The cloud service platform implements the functions of the data analysis module, the data decision module, the abnormal call troubleshooting module, and the fault classification alarm module. The data analysis module is used to obtain fault data through a feature extraction unit, and the fault information is transmitted to the data decision module and the fault classification alarm module. The fault classification alarm module transmits the classified fault information to the management terminal to realize real-time monitoring of the fault. The data decision module obtains a fault solution through a decision algorithm, and the abnormal call troubleshooting module is used to evaluate the real-time performance of the data decision module and prevent users from abnormally calling data frequently.

[0114] In one specific embodiment, as shown in Figure 5 an improved power grid fault handling process diagram is shown. A communication network is built in advance in the power grid area, such as an NB-LOT communication base station. The communication base station is connected to the intelligent data acquisition device through a bus, and then the aggregated data is transmitted to the cloud service platform.

[0115] Then install the intelligent data acquisition terminal in the power grid area, the intelligent data acquisition terminal includes a power parameter measuring instrument, a temperature sensor camera, the power measuring instrument is used to collect the current and voltage of the power grid, the temperature sensor is used to collect the temperature of the power grid line, and the camera is used to collect the line picture of the power grid. The intelligent data acquisition terminal can be installed on the outdoor power transmission line. Then the intelligent data acquisition terminal encrypts the collected data. The encryption step is: the sender and the receiver agree on a key B consistent with the length of the data plaintext in advance, the sender is the intelligent data acquisition terminal, and the receiver is the cloud service platform; before sending the data A, the sender uses the key B to encrypt the data plaintext according to the formula A^B=C to obtain the data ciphertext C, and then sends the data ciphertext C to the receiver; after receiving the data ciphertext C, the receiver uses the key B to decrypt the data ciphertext according to the formula C^B=A to obtain the data plaintext A.

[0116] The current power grid data called by the user is obtained, the current power grid data is decrypted, and the current power grid data is checked for data real-time, and after the check passes, the current power grid data is taken as target power grid data, and the target power grid data is screened for faults using a preset fault data screening condition to obtain fault power grid data. Then the feature information of the fault power grid data is extracted, and the fault power grid data is classified using a clustering algorithm according to the feature information to obtain a target fault type.

[0117] The target fault type and the fault power grid data are input to a data decision module, the data decision module is used to process power grid faults, and outputs a target fault processing scheme, and then the terminal evaluates the target fault processing scheme according to data real-time, that is, determines the effectiveness of the fault power grid data according to data real-time, determines the reliability of the target fault processing scheme through the effectiveness of the fault power grid data, and the higher the effectiveness of the fault power grid data, the higher the reliability of the target fault processing scheme. When the effectiveness of the fault power grid data is less than a preset threshold, the current power grid data is reacquired for processing.

[0118] Then the terminal inputs the fault power grid data and the target to a fault grading alarm module. The fault grading alarm module determines the fault severity according to the fault power grid data, calculates the fault processing complexity according to the target fault processing scheme, determines the alarm level according to the fault severity and the fault processing complexity, and performs alarm processing according to the alarm level.

[0119] In one specific embodiment, the intelligent data acquisition terminal comprises an STM32 single-chip microcomputer and an embedded memory, I / O and peripherals connected with a bus, an RS485 communication interface, and a memory protection unit, a real-time clock and a backup register for preventing data loss, the intelligent data acquisition terminal is connected with the NB-LOT communication base station based on the communication interface and the bus, and the intelligent data acquisition terminal sets a threshold before data acquisition, marks data exceeding the threshold, and transmits the data to the cloud service platform together with other data.

[0120] It should be understood that, although each step in the flowchart involved in each embodiment as described above is shown in sequence according to the arrow, these steps are not necessarily executed in the order indicated by the arrow. Unless otherwise specified herein, there is no strict order limitation for the execution of these steps, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.

[0121] Based on the same inventive concept, the embodiments of the present application also provide a power grid fault processing device for implementing the power grid fault processing method described above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more power grid fault processing device embodiments provided below can refer to the limitations of the power grid fault processing method described above, which will not be repeated here.

[0122] In one embodiment, as shown in Figure 6 A power grid fault processing device 600 is provided, comprising a classification module 602, a splitting module 604, an operation calculation module 606, a time calculation module 608 and an alarm module 610, wherein:

[0123] The classification module 602 is configured to obtain fault power grid data, perform classification based on the fault power grid data, obtain a target fault category, and determine a corresponding fault severity based on the target fault category;

[0124] The splitting module 604 is configured to obtain a target fault handling scheme corresponding to the target fault category according to a preset correspondence between fault categories and fault handling schemes, split the target fault handling scheme into each execution operation;

[0125] The operation calculation module 606 is configured to obtain initial operation complexity of each execution operation, and perform operation complexity calculation based on the initial operation complexity of each execution operation and corresponding preset operation importance, to obtain target operation complexity corresponding to the target fault processing scheme.

[0126] The time calculation module 608 is configured to obtain a cycle parameter and an execution times parameter corresponding to each execution operation, and perform time complexity calculation based on the cycle parameter and the execution times parameter corresponding to each execution operation, to obtain target time complexity corresponding to the target fault processing scheme.

[0127] The alarm module 610 is configured to generate alarm information corresponding to the fault power grid data according to the target operation complexity, the target time complexity and the fault severity, and perform alarm processing based on the alarm information.

[0128] In an embodiment, the power grid fault processing apparatus 600 further comprises:

[0129] The judgment unit is configured to obtain a current data usage frequency and a current weight corresponding to the current power grid data, and obtain a historical data usage frequency corresponding to the historical power grid data.

[0130] The historical weight corresponding to the historical power grid data is calculated based on the current weight, and the data real-time performance corresponding to the current power grid data is calculated based on the current data usage frequency, the historical data usage frequency and the historical weight. When the data real-time performance meets a preset real-time condition, the current power grid data is determined as the target power grid data. The target power grid data is screened based on a preset fault data screening condition, to obtain the fault power grid data corresponding to the target power grid data.

[0131] In an embodiment, the classification module 602 comprises:

[0132] The fault degree calculation unit is configured to determine a fault level corresponding to the target fault category according to a preset corresponding relationship between fault categories and fault levels, obtain fault location information corresponding to the fault power grid data, determine fault range information based on the fault location information, and perform product calculation based on the fault level and the fault range information, to obtain the fault severity.

[0133] In an embodiment, the splitting module 604 comprises:

[0134] The comparison unit is configured to obtain each candidate fault handling scheme corresponding to the target fault category based on a preset correspondence between fault categories and fault handling schemes; split each candidate fault handling scheme into each candidate execution operation corresponding to the candidate fault handling scheme respectively; obtain an initial operation comprehensive value and an operation weight corresponding to each candidate execution operation; perform scheme comparison based on the initial operation comprehensive value and the operation weight corresponding to each candidate execution operation, to obtain a comparison result corresponding to each candidate fault handling scheme; and determine the target fault handling scheme from the candidate fault handling schemes based on the comparison result.

[0135] In one embodiment, the splitting module 604 includes:

[0136] The comprehensive calculation unit is configured to perform comprehensive calculation based on the initial operation comprehensive value and the operation weight, to obtain a scheme comprehensive value corresponding to each candidate fault handling scheme, and construct a comparison matrix using the scheme comprehensive value; and perform comparison on the scheme comprehensive value corresponding to each candidate fault handling scheme based on the comparison matrix, to obtain a comparison result corresponding to each candidate fault handling scheme.

[0137] In one embodiment, the alarm module 610 includes:

[0138] The grading unit is configured to generate a fault handling complexity using the target time complexity and the fault severity; determine an alarm level corresponding to the fault power grid data based on the fault handling complexity and the fault severity, and generate alarm information corresponding to the alarm level; and perform alarm processing based on the alarm information.

[0139] Each module in the power grid fault handling apparatus described above can be realized wholly or partially by software, hardware, or a combination thereof. Each module described above can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in a computer device in software form, so as to be called and executed by a processor to perform operations corresponding to each module.

[0140] In one embodiment, a computer device is provided, which can be a server, and an internal structure diagram of the computer device can be as shown in FIG. 6. Figure 7As shown in the figure. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through the system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control ability. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store fault power grid data. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals through network connection. The computer program is executed by the processor to implement a power grid fault processing method.

[0141] In one embodiment, a computer device is provided, which can be a terminal, and its internal structure diagram can be as shown in the figure. Figure 8 As shown in the figure. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through the system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control ability. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store fault power grid data. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals through network connection. The computer program is executed by the processor to implement a power grid fault processing method.

[0142] Those skilled in the art can understand that, Figures 7-8The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0143] In one embodiment, a computer device is also provided, including a memory and a processor, the memory storing a computer program, and the processor implementing the steps in the above method embodiments when executing the computer program.

[0144] In one embodiment, a computer readable storage medium is provided, storing a computer program, and the computer program implements the steps in the above method embodiments when executed by a processor.

[0145] In one embodiment, a computer program product is provided, including a computer program, and the computer program implements the steps in the above method embodiments when executed by a processor.

[0146] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant national and regional laws, regulations and standards.

[0147] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0148] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.

[0149] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A power grid fault handling method, characterized by, The method comprises: obtaining fault power grid data, classifying based on the fault power grid data to obtain a target fault category, and determining a corresponding fault severity based on the target fault category; obtaining a target fault handling scheme corresponding to the target fault category according to a preset correspondence between fault categories and fault handling schemes, splitting the target fault handling scheme into each execution operation; obtaining the initial operation complexity of each execution operation, and calculating the operation complexity based on the initial operation complexity of each execution operation and the corresponding preset operation importance to obtain the target operation complexity corresponding to the target fault handling scheme; obtaining the cycle parameter and the execution frequency parameter corresponding to each execution operation, and calculating the time complexity based on the cycle parameter and the execution frequency parameter corresponding to each execution operation to obtain the target time complexity corresponding to the target fault handling scheme; generating alarm information corresponding to the fault power grid data according to the target operation complexity, the target time complexity, and the fault severity, and performing alarm processing based on the alarm information.

2. The method of claim 1, wherein, Before the obtaining fault power grid data, it further comprises: obtaining the current data usage frequency and the current weight corresponding to the current power grid data, and obtaining the historical data usage frequency corresponding to the historical power grid data; calculating the historical weight corresponding to the historical power grid data based on the current weight; calculating the data real-time based on the current data usage frequency, the historical data usage frequency, and the historical weight to obtain the data real-time corresponding to the current power grid data; determining the current power grid data as target power grid data when the data real-time meets the preset real-time condition; screening the target power grid data based on the preset fault data screening condition to obtain the fault power grid data corresponding to the target power grid data.

3. The method of claim 1, wherein, The determination of the corresponding fault severity based on the target fault category comprises: determining the fault level corresponding to the target fault category according to the preset correspondence between fault categories and fault levels; obtaining the fault location information corresponding to the fault power grid data, and determining the fault range information based on the fault location information; performing product calculation based on the fault level and the fault range information to obtain the fault severity.

4. The method of claim 1, wherein, The obtaining of the target fault handling scheme corresponding to the target fault category according to the preset correspondence between fault categories and fault handling schemes comprises: obtaining each candidate fault handling scheme corresponding to the target fault category based on the preset correspondence between fault categories and fault handling schemes; splitting each candidate fault handling scheme into each candidate execution operation corresponding to the candidate fault handling scheme respectively; obtaining the initial operation comprehensive value and the operation weight corresponding to each candidate execution operation, comparing the schemes based on the initial operation comprehensive value and the operation weight corresponding to each candidate execution operation to obtain the comparison result corresponding to each candidate fault handling scheme; determining the target fault handling scheme in each candidate fault handling scheme based on the comparison result.

5. The method of claim 4, wherein, The scheme comparison is performed based on the initial operation comprehensive value and operation weight of each candidate execution operation, and a comparison result corresponding to each candidate fault handling scheme is obtained, including: The scheme comprehensive value corresponding to each candidate fault handling scheme is obtained by comprehensive calculation based on the initial operation comprehensive value and operation weight, and a comparison matrix is constructed using the scheme comprehensive value; The scheme comprehensive value corresponding to each candidate fault handling scheme is compared based on the comparison matrix, and a comparison result corresponding to each candidate fault handling scheme is obtained.

6. The method of claim 1, wherein, The alert information corresponding to the fault power grid data is generated according to the target operation complexity, the target time complexity, and the fault severity, and alert processing is performed based on the alert information, including: A fault handling complexity is generated using the target time complexity and the fault severity; An alert level corresponding to the fault power grid data is determined based on the fault handling complexity and the fault severity, and alert information corresponding to the alert level is generated; Alert processing is performed based on the alert information.

7. A power grid fault handling device, characterized by The device includes: The classification module is configured to obtain fault power grid data, perform classification based on the fault power grid data, obtain a target fault category, and determine a corresponding fault severity based on the target fault category; The splitting module is configured to obtain a target fault handling scheme corresponding to the target fault category according to a preset correspondence between fault categories and fault handling schemes, and split the target fault handling scheme into execution operations to obtain each execution operation; The operation calculation module is configured to obtain an initial operation complexity of each execution operation, and perform operation complexity calculation based on the initial operation complexity of each execution operation and a corresponding preset operation importance to obtain a target operation complexity corresponding to the target fault handling scheme; The time calculation module is configured to obtain a loop parameter and an execution frequency parameter corresponding to each execution operation, and perform time complexity calculation based on the loop parameter and the execution frequency parameter corresponding to each execution operation to obtain a target time complexity corresponding to the target fault handling scheme; The alert module is configured to generate alert information corresponding to the fault power grid data according to the target operation complexity, the target time complexity, and the fault severity, and perform alert processing based on the alert information.

8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The processor executes the computer program to implement the steps of the method of any one of claims 1 to 6.

9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 6.

10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method for constructing dispatching disposal strategy rule base of power grid equipment faults

    CN114091804A

  • Failure cause identifying device and method for identifying failure cause

    US20100060470A1