CN114004311A - Power distribution network fault positioning method and device, server and storage medium - Google Patents

Power distribution network fault positioning method and device, server and storage medium Download PDF

Info

Publication number
CN114004311A
CN114004311A CN202111363472.XA CN202111363472A CN114004311A CN 114004311 A CN114004311 A CN 114004311A CN 202111363472 A CN202111363472 A CN 202111363472A CN 114004311 A CN114004311 A CN 114004311A
Authority
CN
China
Prior art keywords
intelligent terminal
fault
power failure
node
preset time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111363472.XA
Other languages
Chinese (zh)
Inventor
袁绍军
刘震宇
孙文宇
杨丽
周迎伟
尹兆磊
毕圆圆
白明辉
李雪
王迪
张柏杨
赵磊
翟艳男
冯浩
曹颖
田添
张媛一
程方园
罗晨瑀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Chengde Power Supply Co of State Grid Jibei Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Chengde Power Supply Co of State Grid Jibei Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Chengde Power Supply Co of State Grid Jibei Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202111363472.XA priority Critical patent/CN114004311A/en
Publication of CN114004311A publication Critical patent/CN114004311A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K9/00Methods or arrangements for recognising patterns
    • G06K9/62Methods or arrangements for pattern recognition using electronic means
    • G06K9/6267Classification techniques
    • G06K9/6279Classification techniques relating to the number of classes
    • G06K9/628Multiple classes
    • G06K9/6281Piecewise classification, i.e. whereby each classification requires several discriminant rules
    • G06K9/6282Tree-organised sequential classifiers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/08Locating faults in cables, transmission lines, or networks
    • G01R31/081Locating faults in cables, transmission lines, or networks according to type of conductors
    • G01R31/086Locating faults in cables, transmission lines, or networks according to type of conductors in power transmission or distribution networks, i.e. with interconnected conductors

Abstract

The invention provides a power distribution network fault positioning method, a power distribution network fault positioning device, a server and a storage medium. The method comprises the following steps: acquiring power failure information reported by users with power failure time within preset time, and determining corresponding fault areas according to the power failure information reported by each user; the method comprises the steps that for each fault area, an intelligent terminal of the fault area reporting a power failure event within preset time is obtained, whether all intelligent terminals reporting the power failure event in the fault area within the preset time have a common first upper-layer intelligent terminal or not is judged, and if all intelligent terminals reporting the power failure event in the fault area within the preset time have the common first upper-layer intelligent terminal, power supply equipment corresponding to the first upper-layer intelligent terminal is determined to be fault equipment; in each fault area, each power supply device is provided with a corresponding intelligent terminal, and the intelligent terminals are used for reporting a power failure event after the power failure event is detected. The invention can accurately position the fault equipment and is convenient for power supply rush repair.

Description

Power distribution network fault positioning method and device, server and storage medium
Technical Field
The invention relates to the technical field of fault location, in particular to a power distribution network fault location method, a power distribution network fault location device, a power distribution network fault location server and a storage medium.
Background
Along with the continuous expansion of the scale of the power distribution network and the continuous increase of the power consumption demand, the probability of the power distribution network breaking down is also gradually increased. The power supply reliability of power consumers is required to be higher and higher.
At present, after a power failure event occurs, a user is mainly relied on to dial a report call to determine a fault occurring area, but the method cannot accurately position fault equipment, and power supply rush repair is affected.
Disclosure of Invention
The embodiment of the invention provides a power distribution network fault positioning method, a power distribution network fault positioning device, a server and a storage medium, and aims to solve the problem that power supply rush repair is influenced because fault equipment cannot be accurately positioned.
In a first aspect, an embodiment of the present invention provides a power distribution network fault location method, including:
acquiring power failure information reported by users with power failure time within preset time, and determining corresponding fault areas according to the power failure information reported by each user;
the method comprises the steps that for each fault area, an intelligent terminal of the fault area reporting a power failure event within preset time is obtained, whether all intelligent terminals reporting the power failure event in the fault area within the preset time have a common first upper-layer intelligent terminal or not is judged, and if all intelligent terminals reporting the power failure event in the fault area within the preset time have the common first upper-layer intelligent terminal, power supply equipment corresponding to the first upper-layer intelligent terminal is determined to be fault equipment;
in each fault area, each power supply device is provided with a corresponding intelligent terminal, and the intelligent terminals are used for reporting a power failure event after the power failure event is detected.
In a possible implementation manner, after determining whether all the intelligent terminals reporting the power failure event in the fault area have a common first upper-layer intelligent terminal within a preset time, the method further includes:
if all the intelligent terminals reporting the power failure events in the fault area do not have the common first upper-layer intelligent terminal within the preset time, judging whether each intelligent terminal reporting the power failure events in the fault area within the preset time and other intelligent terminals reporting the power failure events in the fault area within the preset time have the common second upper-layer intelligent terminal;
if the second upper-layer intelligent terminals exist in the fault area, determining the power supply equipment corresponding to each second upper-layer intelligent terminal as fault equipment, and determining the power supply equipment corresponding to the intelligent terminals which do not have the common second upper-layer intelligent terminal with other intelligent terminals reporting power failure events in the fault area within the preset time as fault equipment;
and if the second upper-layer intelligent terminal does not exist in the fault area, determining the power supply equipment corresponding to each intelligent terminal reporting the power failure event in the fault area within the preset time as fault equipment.
In a possible implementation manner, determining whether all the intelligent terminals reporting the power failure event in the fault area have a common first upper-layer intelligent terminal within a preset time includes:
generating a multi-branch tree model of the fault area according to the topological structure of the power supply equipment of the fault area; the nodes of the multi-branch tree model represent intelligent terminals corresponding to corresponding power supply equipment, edges of the multi-branch tree model are represented in a topological structure of the power supply equipment in the fault area, and the power supply equipment corresponding to two nodes connected with the edges have a connection relation;
acquiring the shortest path information from the node of each intelligent terminal reporting the power failure event to the root node of the multi-branch tree model in the fault area within the preset time;
if the shortest path information corresponding to each intelligent terminal reporting the power failure event in the fault area in the preset time comprises the same node, determining that all the intelligent terminals reporting the power failure event in the fault area in the preset time have a common first upper-layer intelligent terminal, and determining the intelligent terminal corresponding to the node as the first upper-layer intelligent terminal;
if the shortest path information corresponding to each intelligent terminal reporting the power failure event in the fault area does not contain the same node in the preset time, determining that all the intelligent terminals reporting the power failure event in the fault area do not have the common first upper-layer intelligent terminal in the preset time.
In a possible implementation manner, obtaining information of a shortest path from a node where each intelligent terminal reporting a power failure event is located to a root node of a multi-way tree model in a fault area within a preset time includes:
adding the first node into the shortest path information of the intelligent terminal corresponding to the first node; the first node is a node where any intelligent terminal reporting the power failure event in the fault area is located within a preset time;
acquiring a second node which is directly connected with the first node and is positioned on the upper layer of the first node, and adding the second node into the shortest path information of the intelligent terminal corresponding to the first node according to the time sequence;
if the second node is the root node of the multi-branch tree model, obtaining the shortest path information of the intelligent terminal corresponding to the first node;
if the second node is not the root node of the multi-branch tree model, acquiring a third node which is directly connected with the second node and is positioned at the upper layer of the second node, and adding the third node into the shortest path information of the intelligent terminal corresponding to the first node according to the time sequence;
if the third node is the root node of the multi-branch tree model, stopping circulation to obtain the shortest path information of the intelligent terminal corresponding to the first node;
and if the third node is not the root node of the multi-branch tree model, taking the third node as a new second node, and skipping to the step of acquiring the third node which is directly connected with the second node and is positioned at the upper layer of the second node for cyclic execution.
In a possible implementation manner, the power failure information reported by the user includes a user number;
determining a corresponding fault area according to the power failure information reported by each user, including:
and determining the power supply area to which the power failure information reported by each user belongs as a fault area according to the corresponding relation between the pre-stored power supply area and the user number.
In a possible implementation manner, for each fault area, after acquiring an intelligent terminal that reports a power outage event in a preset time of the fault area, the method further includes:
if the fault area has no intelligent terminal reporting the power failure event within the preset time, determining that the fault corresponding to the power failure information reported by the user within the preset time of the fault area is a user fault;
if the intelligent terminals reporting the power failure event exist in the fault area within the preset time, continuously executing the step of judging whether all the intelligent terminals reporting the power failure event in the fault area within the preset time have a common first upper-layer intelligent terminal, and if all the intelligent terminals reporting the power failure event in the fault area within the preset time have a common first upper-layer intelligent terminal, determining the power supply equipment corresponding to the first upper-layer intelligent terminal as fault equipment.
In a second aspect, an embodiment of the present invention provides a power distribution network fault location apparatus, including:
the fault area determining module is used for acquiring power failure information reported by users with power failure time within preset time, and determining a corresponding fault area according to the power failure information reported by each user;
the fault equipment positioning module is used for acquiring the intelligent terminals reporting the power failure events of the fault area within the preset time aiming at each fault area, judging whether all the intelligent terminals reporting the power failure events of the fault area within the preset time have a common first upper-layer intelligent terminal or not, and if all the intelligent terminals reporting the power failure events of the fault area within the preset time have the common first upper-layer intelligent terminal, determining power supply equipment corresponding to the first upper-layer intelligent terminal as fault equipment;
in each fault area, each power supply device is provided with a corresponding intelligent terminal, and the intelligent terminals are used for reporting a power failure event after the power failure event is detected.
In one possible implementation, the faulty device location module is further configured to:
if all the intelligent terminals reporting the power failure events in the fault area do not have the common first upper-layer intelligent terminal within the preset time, judging whether each intelligent terminal reporting the power failure events in the fault area within the preset time and other intelligent terminals reporting the power failure events in the fault area within the preset time have the common second upper-layer intelligent terminal;
if the second upper-layer intelligent terminals exist in the fault area, determining the power supply equipment corresponding to each second upper-layer intelligent terminal as fault equipment, and determining the power supply equipment corresponding to the intelligent terminals which do not have the common second upper-layer intelligent terminal with other intelligent terminals reporting power failure events in the fault area within the preset time as fault equipment;
and if the second upper-layer intelligent terminal does not exist in the fault area, determining the power supply equipment corresponding to each intelligent terminal reporting the power failure event in the fault area within the preset time as fault equipment.
In a third aspect, an embodiment of the present invention provides a server, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the steps of the power distribution network fault location method according to the first aspect or any possible implementation manner of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the steps of the power distribution network fault location method according to the first aspect or any possible implementation manner of the first aspect.
The embodiment of the invention provides a power distribution network fault positioning method, a power distribution network fault positioning device, a server and a storage medium, wherein a corresponding fault area is determined by acquiring power failure information reported by users within preset time and according to the power failure information reported by each user; the method comprises the steps of acquiring an intelligent terminal reporting a power failure event in a preset time of each fault area, judging whether all intelligent terminals reporting the power failure event in the preset time of the fault area have a common first upper layer intelligent terminal or not, and determining power supply equipment corresponding to the first upper layer intelligent terminal as fault equipment if all intelligent terminals reporting the power failure event in the preset time of the fault area have the common first upper layer intelligent terminal, so that the fault equipment can be accurately positioned, and power supply rush repair is facilitated.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an implementation of a power distribution network fault location method according to an embodiment of the present invention;
FIG. 2 is a structural diagram of a multi-way tree model of a fault region provided by an embodiment of the invention;
fig. 3 is a schematic structural diagram of a power distribution network fault locating device provided by an embodiment of the invention;
fig. 4 is a schematic diagram of a server provided in an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following description is made by way of specific embodiments with reference to the accompanying drawings.
Referring to fig. 1, it shows an implementation flowchart of a power distribution network fault location method provided by the embodiment of the present invention, where an execution subject of the power distribution network fault location method may be a server.
Referring to fig. 1, the power distribution network fault location method is detailed as follows:
in S101, power outage information reported by users whose power outage time is within a preset time is obtained, and a corresponding fault area is determined according to the power outage information reported by each user.
In this embodiment, the power failure information reported by the user may include power failure time. The power failure information reported by the users with the power failure time within the preset time can be obtained through the power failure time in the power failure information reported by the users, and the fault area corresponding to each power failure information is determined based on the obtained power failure information reported by each user. The same failure region may be deduplicated.
The preset time may be set according to actual requirements, and is not specifically limited herein.
In some embodiments, the power failure information reported by the user includes a user number;
determining a corresponding fault area according to the power failure information reported by each user, including:
and determining the power supply area to which the power failure information reported by each user belongs as a fault area according to the corresponding relation between the pre-stored power supply area and the user number.
The user number and the power supply area have a corresponding relation, the power supply area to which the user number belongs can be determined according to the user number in the power failure information reported by the user, and the power supply area is used as a fault area.
In a possible implementation manner, the user may report the power failure information in a manner of making a call or reporting on the internet.
In S102, for each fault area, acquiring an intelligent terminal reporting a power failure event in a preset time of the fault area, and determining whether all intelligent terminals reporting the power failure event in the preset time of the fault area have a common first upper layer intelligent terminal, and if all intelligent terminals reporting the power failure event in the preset time of the fault area have a common first upper layer intelligent terminal, determining power supply equipment corresponding to the first upper layer intelligent terminal as fault equipment;
in each fault area, each power supply device is provided with a corresponding intelligent terminal, and the intelligent terminals are used for reporting a power failure event after the power failure event is detected.
In the present embodiment, each power supply apparatus is equipped with a corresponding smart terminal. The intelligent terminal can detect whether a power failure event occurs to the corresponding power supply equipment, and if the power failure event is detected, the power failure event is reported to the server. The power failure event reported by the intelligent terminal can comprise information such as power failure time, power failure equipment and the power supply area.
And for each fault area, acquiring the intelligent terminal reporting the power failure time of the fault area within the preset time. And the common upper-layer intelligent terminal of all the intelligent terminals which report the power failure time in the acquired fault area within the preset time is called a first upper-layer intelligent terminal. If the first upper intelligent terminal exists in the fault area, determining that the power supply equipment corresponding to the first upper intelligent terminal is in fault, and determining the power supply equipment as fault equipment.
Because the power distribution network supplies power layer by layer, when a certain upper-layer power supply device fails, the power supply condition of the associated lower-layer power supply device can be affected, and therefore whether the upper-layer power supply device fails or not is determined by finding whether the upper-layer power supply device has a common upper-layer intelligent terminal or not.
After the fault equipment is determined, a corresponding maintenance work order can be generated and sent to the mobile phone terminal corresponding to the maintenance personnel, so that the maintenance personnel can repair the fault in time.
In the embodiment, the power failure information reported by the users in the preset time is obtained, and the corresponding fault area is determined according to the power failure information reported by each user; the method comprises the steps of acquiring an intelligent terminal reporting a power failure event in a preset time of each fault area, judging whether all intelligent terminals reporting the power failure event in the preset time of the fault area have a common first upper layer intelligent terminal or not, and determining power supply equipment corresponding to the first upper layer intelligent terminal as fault equipment if all intelligent terminals reporting the power failure event in the preset time of the fault area have the common first upper layer intelligent terminal, so that the fault equipment can be accurately positioned, and power supply rush repair is facilitated.
In some embodiments, after determining whether all the intelligent terminals reporting the power outage event in the fault area have a common first upper-layer intelligent terminal within a preset time, the method further includes:
if all the intelligent terminals reporting the power failure events in the fault area do not have the common first upper-layer intelligent terminal within the preset time, judging whether each intelligent terminal reporting the power failure events in the fault area within the preset time and other intelligent terminals reporting the power failure events in the fault area within the preset time have the common second upper-layer intelligent terminal;
if the second upper-layer intelligent terminals exist in the fault area, determining the power supply equipment corresponding to each second upper-layer intelligent terminal as fault equipment, and determining the power supply equipment corresponding to the intelligent terminals which do not have the common second upper-layer intelligent terminal with other intelligent terminals reporting power failure events in the fault area within the preset time as fault equipment;
and if the second upper-layer intelligent terminal does not exist in the fault area, determining the power supply equipment corresponding to each intelligent terminal reporting the power failure event in the fault area within the preset time as fault equipment.
If the fault area does not have the first upper-layer intelligent terminal, some intelligent terminals (not all intelligent terminals) may have a common upper-layer intelligent terminal, and the upper-layer intelligent terminal is called a second upper-layer intelligent terminal.
And if the fault area has the second upper-layer intelligent terminal, determining the power supply equipment corresponding to the second upper-layer intelligent terminal as fault equipment, and simultaneously determining the power supply equipment corresponding to each independent intelligent terminal as fault equipment. The independent intelligent terminal is an intelligent terminal which does not have a second upper-layer intelligent terminal in common with other intelligent terminals.
If the fault area does not have the second upper-layer intelligent terminal, the situation that the intelligent terminals do not have the common second upper-layer intelligent terminal is shown, and therefore the power supply equipment corresponding to the intelligent terminals is determined to be fault equipment.
In a possible implementation manner, it is assumed that the number of intelligent terminals reporting the power failure event in the fault area within a preset time is N;
the determining whether each intelligent terminal reporting the blackout event in the fault area within the preset time and other intelligent terminals reporting the blackout event in the fault area within the preset time have a common second upper-layer intelligent terminal may include:
selecting one intelligent terminal in turn, judging whether the remaining N-1 intelligent terminals have a common second upper layer intelligent terminal, and if the remaining N-1 intelligent terminals have the common second upper layer intelligent terminal, determining power supply equipment corresponding to the common second upper layer intelligent terminal of the N-1 intelligent terminals and power supply equipment corresponding to the intelligent terminal as fault equipment; repeating the process for N times, if the second upper layer intelligent terminal is not obtained for N times, selecting two intelligent terminals in turn, judging whether the remaining N-2 intelligent terminals have the common second upper layer intelligent terminal and whether the two intelligent terminals have the common second upper layer intelligent terminal, and repeating the process until the second upper layer intelligent terminal is found or all the intelligent terminals are determined not to have the common second upper layer intelligent terminal.
In some embodiments, determining whether all the intelligent terminals reporting the power failure event in the fault area have a common first upper-layer intelligent terminal within a preset time includes:
generating a multi-branch tree model of the fault area according to the topological structure of the power supply equipment of the fault area; the nodes of the multi-branch tree model represent intelligent terminals corresponding to corresponding power supply equipment, edges of the multi-branch tree model are represented in a topological structure of the power supply equipment in the fault area, and the power supply equipment corresponding to two nodes connected with the edges have a connection relation;
acquiring the shortest path information from the node of each intelligent terminal reporting the power failure event to the root node of the multi-branch tree model in the fault area within the preset time;
if the shortest path information corresponding to each intelligent terminal reporting the power failure event in the fault area in the preset time comprises the same node, determining that all the intelligent terminals reporting the power failure event in the fault area in the preset time have a common first upper-layer intelligent terminal, and determining the intelligent terminal corresponding to the node as the first upper-layer intelligent terminal;
if the shortest path information corresponding to each intelligent terminal reporting the power failure event in the fault area does not contain the same node in the preset time, determining that all the intelligent terminals reporting the power failure event in the fault area do not have the common first upper-layer intelligent terminal in the preset time.
The multi-way tree model of the fault area is shown in fig. 2, wherein each circle represents a node, and the connecting lines between the circles represent an edge.
The shortest path information from the node where the intelligent terminal reports the power failure event to the root node of the multi-branch tree model can be obtained through the multi-branch tree model of the fault area, and the shortest path information comprises all nodes through which the shortest path from the node where the intelligent terminal is located to the root node passes, including the node where the intelligent terminal is located and the root node.
If the shortest path information corresponding to each intelligent terminal reporting the power failure event in the fault area in the preset time comprises the same node, determining the intelligent terminal corresponding to the same node as a first upper-layer intelligent terminal;
if the shortest path information corresponding to each intelligent terminal reporting the power failure event in the fault area does not contain the same node in the preset time, determining that all the intelligent terminals reporting the power failure event in the fault area do not have the common first upper-layer intelligent terminal in the preset time.
And judging whether the second upper-layer intelligent terminal exists in the fault area or not can also adopt a similar method, and details are not repeated.
In some embodiments, obtaining information of a shortest path from a node where each intelligent terminal reporting the power failure event is located to a root node of the multi-branch tree model in the fault area within a preset time includes:
adding the first node into the shortest path information of the intelligent terminal corresponding to the first node; the first node is a node where any intelligent terminal reporting the power failure event in the fault area is located within a preset time;
acquiring a second node which is directly connected with the first node and is positioned on the upper layer of the first node, and adding the second node into the shortest path information of the intelligent terminal corresponding to the first node according to the time sequence;
if the second node is the root node of the multi-branch tree model, obtaining the shortest path information of the intelligent terminal corresponding to the first node;
if the second node is not the root node of the multi-branch tree model, acquiring a third node which is directly connected with the second node and is positioned at the upper layer of the second node, and adding the third node into the shortest path information of the intelligent terminal corresponding to the first node according to the time sequence;
if the third node is the root node of the multi-branch tree model, stopping circulation to obtain the shortest path information of the intelligent terminal corresponding to the first node;
and if the third node is not the root node of the multi-branch tree model, taking the third node as a new second node, and skipping to the step of acquiring the third node which is directly connected with the second node and is positioned at the upper layer of the second node for cyclic execution.
In this embodiment, by using the node where each intelligent terminal reporting the power failure event in the fault area is located as the first node to execute the above process, the shortest path information from the node where each intelligent terminal reporting the power failure event in the fault area is located to the root node of the multi-branch tree model in the preset time can be obtained.
Firstly, adding a node where an intelligent terminal is located, namely a first node, into corresponding shortest path information; then, a second node directly connected to the first node and located at an upper layer of the first node is obtained, referring to fig. 2, the multi-way tree model shown in fig. 2 has three layers, a root node is a first layer, leaf nodes are a third layer, a middle node is a second layer, the first layer is located at an upper layer of the second layer, and the second layer is located at an upper layer of the third layer. The two nodes are directly connected, namely the two nodes are connected through an edge.
And after the second node is obtained, adding the second node into the shortest path information of the intelligent terminal corresponding to the first node, and adding the second node according to the time sequence, namely adding the node in front first and adding the node in back later.
And if the second node is the root node, ending the process, wherein the shortest path information of the intelligent terminal corresponding to the first node at the moment is the final shortest path information of the intelligent terminal corresponding to the first node.
And if the second node is not the root node, continuously acquiring a third node which is directly connected with the second node and is positioned at the upper layer of the second node, adding the third node into the shortest path information of the intelligent terminal corresponding to the first node, continuously judging whether the third node is the root node or not, and executing in a circulating way until the found node is the root node.
In some embodiments, for each fault area, after acquiring the intelligent terminal that reports the power outage event in the fault area within a preset time, the method further includes:
if the fault area has no intelligent terminal reporting the power failure event within the preset time, determining that the fault corresponding to the power failure information reported by the user within the preset time of the fault area is a user fault;
if the intelligent terminals reporting the power failure event exist in the fault area within the preset time, continuously executing the step of judging whether all the intelligent terminals reporting the power failure event in the fault area within the preset time have a common first upper-layer intelligent terminal, and if all the intelligent terminals reporting the power failure event in the fault area within the preset time have a common first upper-layer intelligent terminal, determining the power supply equipment corresponding to the first upper-layer intelligent terminal as fault equipment.
In this embodiment, if the power failure information reported by the user is received, but a power failure event reported by any intelligent terminal is not received, it is determined that the user has a fault, that is, the equipment in the user's home has a fault, and is not the power supply equipment in the power distribution network has a fault.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The following are embodiments of the apparatus of the invention, reference being made to the corresponding method embodiments described above for details which are not described in detail therein.
Fig. 3 shows a schematic structural diagram of a power distribution network fault locating device provided by an embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown, which are detailed as follows:
as shown in fig. 3, the distribution network fault location device 30 includes: a fault area determination module 31 and a faulty equipment location module 32.
The fault area determining module is used for acquiring power failure information reported by users with power failure time within preset time, and determining a corresponding fault area according to the power failure information reported by each user;
the fault equipment positioning module is used for acquiring the intelligent terminals reporting the power failure events of the fault area within the preset time aiming at each fault area, judging whether all the intelligent terminals reporting the power failure events of the fault area within the preset time have a common first upper-layer intelligent terminal or not, and if all the intelligent terminals reporting the power failure events of the fault area within the preset time have the common first upper-layer intelligent terminal, determining power supply equipment corresponding to the first upper-layer intelligent terminal as fault equipment;
in each fault area, each power supply device is provided with a corresponding intelligent terminal, and the intelligent terminals are used for reporting a power failure event after the power failure event is detected.
In one possible implementation, the faulty device location module 32 is further configured to:
if all the intelligent terminals reporting the power failure events in the fault area do not have the common first upper-layer intelligent terminal within the preset time, judging whether each intelligent terminal reporting the power failure events in the fault area within the preset time and other intelligent terminals reporting the power failure events in the fault area within the preset time have the common second upper-layer intelligent terminal;
if the second upper-layer intelligent terminals exist in the fault area, determining the power supply equipment corresponding to each second upper-layer intelligent terminal as fault equipment, and determining the power supply equipment corresponding to the intelligent terminals which do not have the common second upper-layer intelligent terminal with other intelligent terminals reporting power failure events in the fault area within the preset time as fault equipment;
and if the second upper-layer intelligent terminal does not exist in the fault area, determining the power supply equipment corresponding to each intelligent terminal reporting the power failure event in the fault area within the preset time as fault equipment.
In one possible implementation, the faulty device location module 32 is further configured to:
generating a multi-branch tree model of the fault area according to the topological structure of the power supply equipment of the fault area; the nodes of the multi-branch tree model represent intelligent terminals corresponding to corresponding power supply equipment, edges of the multi-branch tree model are represented in a topological structure of the power supply equipment in the fault area, and the power supply equipment corresponding to two nodes connected with the edges have a connection relation;
acquiring the shortest path information from the node of each intelligent terminal reporting the power failure event to the root node of the multi-branch tree model in the fault area within the preset time;
if the shortest path information corresponding to each intelligent terminal reporting the power failure event in the fault area in the preset time comprises the same node, determining that all the intelligent terminals reporting the power failure event in the fault area in the preset time have a common first upper-layer intelligent terminal, and determining the intelligent terminal corresponding to the node as the first upper-layer intelligent terminal;
if the shortest path information corresponding to each intelligent terminal reporting the power failure event in the fault area does not contain the same node in the preset time, determining that all the intelligent terminals reporting the power failure event in the fault area do not have the common first upper-layer intelligent terminal in the preset time.
In one possible implementation, the faulty device location module 32 is further configured to:
adding the first node into the shortest path information of the intelligent terminal corresponding to the first node; the first node is a node where any intelligent terminal reporting the power failure event in the fault area is located within a preset time;
acquiring a second node which is directly connected with the first node and is positioned on the upper layer of the first node, and adding the second node into the shortest path information of the intelligent terminal corresponding to the first node according to the time sequence;
if the second node is the root node of the multi-branch tree model, obtaining the shortest path information of the intelligent terminal corresponding to the first node;
if the second node is not the root node of the multi-branch tree model, acquiring a third node which is directly connected with the second node and is positioned at the upper layer of the second node, and adding the third node into the shortest path information of the intelligent terminal corresponding to the first node according to the time sequence;
if the third node is the root node of the multi-branch tree model, stopping circulation to obtain the shortest path information of the intelligent terminal corresponding to the first node;
and if the third node is not the root node of the multi-branch tree model, taking the third node as a new second node, and skipping to the step of acquiring the third node which is directly connected with the second node and is positioned at the upper layer of the second node for cyclic execution.
In a possible implementation manner, the power failure information reported by the user includes a user number;
the failure area determining module 31 is specifically configured to:
and determining the power supply area to which the power failure information reported by each user belongs as a fault area according to the corresponding relation between the pre-stored power supply area and the user number.
In one possible implementation, the faulty device location module 32 is further configured to:
for each fault area, after acquiring an intelligent terminal reporting a power failure event in a preset time of the fault area, if the intelligent terminal does not report the power failure event in the preset time of the fault area, determining that a fault corresponding to power failure information reported by a user in the preset time of the fault area is a user fault;
if the intelligent terminals reporting the power failure event exist in the fault area within the preset time, continuously executing the step of judging whether all the intelligent terminals reporting the power failure event in the fault area within the preset time have a common first upper-layer intelligent terminal, and if all the intelligent terminals reporting the power failure event in the fault area within the preset time have a common first upper-layer intelligent terminal, determining the power supply equipment corresponding to the first upper-layer intelligent terminal as fault equipment.
Fig. 4 is a schematic diagram of a server provided in an embodiment of the present invention. As shown in fig. 4, the server 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40, when executing the computer program 42, implements the steps in the above-described embodiments of the power distribution network fault location method, such as S101 to S102 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the modules/units in the above-mentioned device embodiments, such as the modules/units 31 to 32 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the server 4. For example, the computer program 42 may be divided into the modules/units 31 to 32 shown in fig. 3.
The server 4 may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of a server 4 and does not constitute a limitation of server 4 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the server may also include input output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the server 4, such as a hard disk or a memory of the server 4. The memory 41 may also be an external storage device of the server 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the server 4. Further, the memory 41 may also include both an internal storage unit of the server 4 and an external storage device. The memory 41 is used for storing the computer program and other programs and data required by the server. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/server and method may be implemented in other ways. For example, the above-described apparatus/server embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the steps of the embodiments of the power distribution network fault location method may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A power distribution network fault positioning method is characterized by comprising the following steps:
acquiring power failure information reported by users with power failure time within preset time, and determining corresponding fault areas according to the power failure information reported by each user;
for each fault area, acquiring the intelligent terminals reporting the power failure events of the fault area within the preset time, judging whether all the intelligent terminals reporting the power failure events of the fault area within the preset time have a common first upper-layer intelligent terminal, and if all the intelligent terminals reporting the power failure events of the fault area within the preset time have a common first upper-layer intelligent terminal, determining power supply equipment corresponding to the first upper-layer intelligent terminal as fault equipment;
in each fault area, each power supply device is provided with a corresponding intelligent terminal, and the intelligent terminals are used for reporting a power failure event after the power failure event is detected.
2. The method according to claim 1, wherein after the determining whether all the intelligent terminals reporting the outage event in the fault area within the preset time have a common first upper-layer intelligent terminal, the method further comprises:
if all the intelligent terminals reporting the power failure events in the fault area do not have a common first upper-layer intelligent terminal in the preset time, judging whether each intelligent terminal reporting the power failure events in the fault area in the preset time and other intelligent terminals reporting the power failure events in the fault area in the preset time have a common second upper-layer intelligent terminal;
if the second upper-layer intelligent terminals exist in the fault area, determining the power supply equipment corresponding to each second upper-layer intelligent terminal as fault equipment, and determining the power supply equipment corresponding to the intelligent terminals which do not have the common second upper-layer intelligent terminal with other intelligent terminals reporting power failure events in the fault area within the preset time as fault equipment;
and if the second upper-layer intelligent terminal does not exist in the fault area, determining the power supply equipment corresponding to each intelligent terminal reporting the power failure event in the fault area within the preset time as fault equipment.
3. The method according to claim 1, wherein the determining whether all the intelligent terminals reporting the outage event in the fault area within the preset time have a common first upper-layer intelligent terminal comprises:
generating a multi-branch tree model of the fault area according to the topological structure of the power supply equipment of the fault area; the nodes of the multi-branch tree model represent intelligent terminals corresponding to corresponding power supply equipment, edges of the multi-branch tree model are represented in a topological structure of the power supply equipment in the fault area, and the power supply equipment corresponding to two nodes connected with the edges have a connection relation;
acquiring the shortest path information from the node of each intelligent terminal reporting the power failure event in the fault area to the root node of the multi-branch tree model within the preset time;
if the shortest path information corresponding to each intelligent terminal reporting the power failure event in the preset time of the fault area contains the same node, determining that all the intelligent terminals reporting the power failure event in the preset time of the fault area have a common first upper-layer intelligent terminal, and determining the intelligent terminal corresponding to the node as the first upper-layer intelligent terminal;
if the shortest path information corresponding to each intelligent terminal reporting the power failure event in the preset time of the fault area does not contain the same node, determining that all the intelligent terminals reporting the power failure event in the preset time of the fault area do not have the common first upper-layer intelligent terminal.
4. The method according to claim 3, wherein the obtaining information of the shortest path from the node where each intelligent terminal reporting the outage event is located in the fault area within the preset time to the root node of the multi-branch tree model comprises:
adding a first node into the shortest path information of the intelligent terminal corresponding to the first node; the first node is a node where any intelligent terminal reporting a power failure event in the fault area within the preset time is located;
acquiring a second node which is directly connected with the first node and is positioned on the upper layer of the first node, and adding the second node into the shortest path information of the intelligent terminal corresponding to the first node according to the time sequence;
if the second node is the root node of the multi-branch tree model, obtaining shortest path information of the intelligent terminal corresponding to the first node;
if the second node is not the root node of the multi-branch tree model, acquiring a third node which is directly connected with the second node and is positioned at the upper layer of the second node, and adding the third node into the shortest path information of the intelligent terminal corresponding to the first node according to the time sequence;
if the third node is the root node of the multi-branch tree model, stopping circulation to obtain the shortest path information of the intelligent terminal corresponding to the first node;
and if the third node is not the root node of the multi-branch tree model, taking the third node as a new second node, and skipping to the step of acquiring the third node which is directly connected with the second node and is positioned at the upper layer of the second node for cyclic execution.
5. The power distribution network fault location method of claim 1, wherein the power outage information reported by the user comprises a user number;
the determining the corresponding fault area according to the power failure information reported by each user includes:
and determining the power supply area to which the power failure information reported by each user belongs as a fault area according to the corresponding relation between the pre-stored power supply area and the user number.
6. The power distribution network fault location method according to any one of claims 1 to 5, wherein for each fault area, after acquiring the intelligent terminal that reports the power outage event in the fault area within the preset time, the method further includes:
if the fault area has no intelligent terminal reporting the power failure event within the preset time, determining that the fault corresponding to the power failure information reported by the user within the preset time of the fault area is a user fault;
if the intelligent terminal reporting the power failure event exists in the fault area within the preset time, continuing to execute the step of judging whether all the intelligent terminals reporting the power failure event in the fault area within the preset time have a common first upper-layer intelligent terminal, and if all the intelligent terminals reporting the power failure event in the fault area within the preset time have a common first upper-layer intelligent terminal, determining the power supply equipment corresponding to the first upper-layer intelligent terminal as fault equipment.
7. A distribution network fault locating device, characterized by includes:
the fault area determining module is used for acquiring power failure information reported by users with power failure time within preset time, and determining a corresponding fault area according to the power failure information reported by each user;
the fault equipment positioning module is used for acquiring the intelligent terminals reporting the power failure events of the fault area within the preset time aiming at each fault area, judging whether all the intelligent terminals reporting the power failure events of the fault area within the preset time have a common first upper-layer intelligent terminal or not, and if all the intelligent terminals reporting the power failure events of the fault area within the preset time have the common first upper-layer intelligent terminal, determining power supply equipment corresponding to the first upper-layer intelligent terminal as fault equipment;
in each fault area, each power supply device is provided with a corresponding intelligent terminal, and the intelligent terminals are used for reporting a power failure event after the power failure event is detected.
8. The power distribution network fault location device of claim 7, wherein the fault equipment location module is further configured to:
if all the intelligent terminals reporting the power failure events in the fault area do not have a common first upper-layer intelligent terminal in the preset time, judging whether each intelligent terminal reporting the power failure events in the fault area in the preset time and other intelligent terminals reporting the power failure events in the fault area in the preset time have a common second upper-layer intelligent terminal;
if the second upper-layer intelligent terminals exist in the fault area, determining the power supply equipment corresponding to each second upper-layer intelligent terminal as fault equipment, and determining the power supply equipment corresponding to the intelligent terminals which do not have the common second upper-layer intelligent terminal with other intelligent terminals reporting power failure events in the fault area within the preset time as fault equipment;
and if the second upper-layer intelligent terminal does not exist in the fault area, determining the power supply equipment corresponding to each intelligent terminal reporting the power failure event in the fault area within the preset time as fault equipment.
9. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program performs the steps of the power distribution network fault location method according to any of the preceding claims 1 to 6.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for fault location of an electrical distribution network according to any one of claims 1 to 6.
CN202111363472.XA 2021-11-17 2021-11-17 Power distribution network fault positioning method and device, server and storage medium Pending CN114004311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111363472.XA CN114004311A (en) 2021-11-17 2021-11-17 Power distribution network fault positioning method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111363472.XA CN114004311A (en) 2021-11-17 2021-11-17 Power distribution network fault positioning method and device, server and storage medium

Publications (1)

Publication Number Publication Date
CN114004311A true CN114004311A (en) 2022-02-01

Family

ID=79929454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111363472.XA Pending CN114004311A (en) 2021-11-17 2021-11-17 Power distribution network fault positioning method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN114004311A (en)

Similar Documents

Publication Publication Date Title
CN108501980B (en) Monitoring method of track circuit equipment and terminal equipment
CN108564181A (en) Electrical equipment fault detects and method for maintaining and terminal device
CN106339222B (en) A kind of service implementing method and device
CN107547262A (en) Generation method, device and the Network Management Equipment of alarm level
CN104133765B (en) The test case sending method of network activity and test case server
CN109299846A (en) A kind of nuclear power plant equipment analysis method for reliability, system and terminal device
CN110611876B (en) Indoor asset management method, device and system
CN109656767A (en) A kind of acquisition methods, system and the associated component of CPLD status information
CN103345439A (en) Method and device for monitoring health states of full links in information system
CN108376110A (en) A kind of automatic testing method, system and terminal device
CN108038127A (en) A kind of method, apparatus, terminal device and the storage medium of data synchronization
CN109041064B (en) Pseudo base station identification method and device and mobile terminal
CN114004311A (en) Power distribution network fault positioning method and device, server and storage medium
CN105069639A (en) Agricultural product quality tracing method and device
CN112541841A (en) Method and device for simulating past and future data and terminal equipment
CN107678917A (en) Test machine automatic management method, apparatus, equipment and storage medium
CN108712442B (en) Switch-in method of data acquisition end of power distribution cabinet and terminal equipment
CN112035344A (en) Multi-scenario test method, device, equipment and computer readable storage medium
CN109614246B (en) Message processing method and device and message processing server
CN110703988A (en) Storage pool creating method, system, terminal and storage medium for distributed storage
CN110135798A (en) Commission calculation method, platform, computer equipment and computer readable storage medium
CN109191701B (en) Power metering method, system and server
CN112667638A (en) Dynamic report generation method and device, terminal equipment and readable storage medium
CN110266001B (en) Power grid reliability assessment method and system and terminal power supply equipment
CN114153892A (en) Node coding and checking method for data center, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination