CN106452877B - The method of fault location of power information network - Google Patents
The method of fault location of power information network Download PDFInfo
- Publication number
- CN106452877B CN106452877B CN201610911531.5A CN201610911531A CN106452877B CN 106452877 B CN106452877 B CN 106452877B CN 201610911531 A CN201610911531 A CN 201610911531A CN 106452877 B CN106452877 B CN 106452877B
- Authority
- CN
- China
- Prior art keywords
- detection
- max
- network
- probes
- fault location
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种电力信息网故障定位方法,使用贝叶斯网络模型来描述候选探测集中的探测和电力信息网络中的节点的关系,结合单个探测的信息增益和单个探测路径中的重要节点个数,作为探测价值来衡量候选探测集中每个探测的诊断能力,从候选探测集中选取探测价值最大的探测组成故障定位集,由返回的探测结果得出电力信息网最有可能的状态信息,从而定位故障节点。本发明方法理论简单,信息节点与探测之间的有向边使得故障定位过程更清晰,定义新的探测价值作为选取故障定位集的标准,提高故障定位的准确度;利用贝叶斯网络的条件独立性,将其划分为若干子网,更新探测价值时只更新同一子网的探测,减少探测选取时间,提升故障定位的时效性。
The invention discloses a fault location method for an electric power information network. The Bayesian network model is used to describe the relationship between the detections in the candidate detection set and the nodes in the electric power information network, and the information gain of a single detection is combined with the important nodes in the single detection path. The number is used as the detection value to measure the diagnostic ability of each detection in the candidate detection set. Select the detection with the largest detection value from the candidate detection set to form a fault location set, and obtain the most likely state information of the power information network from the returned detection results. To locate the faulty node. The method of the invention is simple in theory, the directed edge between the information node and the detection makes the fault location process clearer, defines a new detection value as the criterion for selecting the fault location set, and improves the accuracy of the fault location; the conditions of the Bayesian network are used. Independence, it is divided into several subnets, and only the detections of the same subnet are updated when the detection value is updated, which reduces the detection selection time and improves the timeliness of fault location.
Description
技术领域technical field
本发明涉及电力信息技术领域,具体涉及一种电力信息网故障定位方法。The invention relates to the technical field of electric power information, in particular to a fault location method for an electric power information network.
背景技术Background technique
智能电网中,电力信息网承载着各种电力生产业务,是保障电力通信业务的重要通道。然而庞大的网络结构导致故障时有发生,且发生故障后定位困难,若无法快速、准确排查出故障则会引发电力事故。传统网络故障管理大多使用北向接口被动采集设备发出的告警信息,建立告警-故障关联模型来分析故障根源,但是被动地等待告警会导致故障定位时效性差,且一旦告警信息出现虚假、丢失和冗余现象则无法保障故障定位的准确性。为了弥补传统网络管理的不足,主动测量逐步应用于电力信息网运维工作中,对于提高电力信息网的管理运维水平,具有重要的应用意义。In the smart grid, the power information network carries various power production services and is an important channel to ensure power communication services. However, the huge network structure causes faults to occur frequently, and it is difficult to locate the fault after the fault occurs. If the fault cannot be quickly and accurately located, it will cause a power accident. Traditional network fault management mostly uses northbound interfaces to passively collect alarm information from devices, and establish an alarm-fault correlation model to analyze the root cause of the fault. However, passively waiting for alarms will lead to poor fault location timeliness, and once the alarm information is false, lost, or redundant This phenomenon cannot guarantee the accuracy of fault location. In order to make up for the shortcomings of traditional network management, active measurement is gradually applied to the operation and maintenance of power information network, which has important application significance for improving the management and operation level of power information network.
国内外在公网中使用网络探测提高网络运维水平的研究成果相对较多,大多是通过主动发送探测包进行网络与业务质量数据的获取,发现网络的隐患进行故障定位,典型的应用场景包括故障检测、定位和识别等。主动探测旨在选取最佳的探测集,一般包括预先选择方式与交互式选择方式。预先选择方式计算方法简单但是执行过程低效,且实时性不佳导致准确率相对较低,交互式探测集选择方式使用边计算边发送的方式减少了执行探测的数目,使得网络负载更低。At home and abroad, there are relatively many research results on using network detection in public networks to improve network operation and maintenance level. Most of them are actively sending detection packets to obtain network and service quality data, and find network hidden dangers to locate faults. Typical application scenarios include Fault detection, location and identification, etc. Active detection aims to select the best detection set, generally including pre-selection and interactive selection. The pre-selection method has a simple calculation method, but the execution process is inefficient, and the accuracy is relatively low due to poor real-time performance. The interactive probe set selection method uses the calculation-and-send method to reduce the number of executed probes and make the network load lower.
专利号CN103840967A的名称为“一种电力通信网中故障定位的方法”专利,提供了一种电力通信网中故障定位的方法,将故障和症状的多对多的不确定性用加权二分图来建模,引入故障影响权重在二分图模型下利用全概率和贝叶斯思想,将先验故障概率转化为条件概率,计算故障影响度,再加入可信参数控制疑似故障的影响,结合覆盖度和贡献度选出完全合理的解释所发生的症状。该方法涉及的理论过于繁琐,实现起来比较复杂,需要分析全网的拓扑,且症状的收集过于被动,定位时效性低。The patent number CN103840967A is entitled "A method for fault location in electric power communication network", which provides a method for fault location in electric power communication network. Modeling, introducing fault impact weights, using full probability and Bayesian thinking under the bipartite graph model, converting the prior fault probability into conditional probability, calculating the fault impact degree, and adding credible parameters to control the impact of suspected faults, combining the coverage degree and Contribution to select a completely plausible explanation for the symptoms that occurred. The theory involved in this method is too cumbersome and complicated to implement. It needs to analyze the topology of the entire network, and the collection of symptoms is too passive, and the positioning timeliness is low.
发明内容SUMMARY OF THE INVENTION
本发明要解决的技术问题是:现有方法实现复杂,在确保故障定位准确度的同时不能满足较高的故障定位时效性。The technical problem to be solved by the present invention is that the existing method is complicated to implement, and cannot satisfy high fault location timeliness while ensuring the fault location accuracy.
本发明提出了一种电力信息网故障定位方法,包括以下步骤:The present invention provides a method for locating faults in a power information network, comprising the following steps:
S1、在电力信息网络中随机选取网络节点部署探针,获得由所有探针到所有网络节点的全部探测,组成可用探测集Tall;S1. Randomly select network nodes in the power information network to deploy probes, obtain all probes from all probes to all network nodes, and form an available probe set T all ;
S2、从可用探测集Tall中选择能覆盖网络所有节点的探测,周期性地发送探测包到信息网中,这些探测构成故障检测集Tobs,同时得到候选探测集Tsta=Tall-Tobs,此时由能够定位故障的探测组成的故障定位集Tdia为空;S2. Select probes that can cover all nodes in the network from the available probe set T all , and periodically send probe packets to the information network. These probes constitute a fault detection set T obs , and a candidate probe set T sta =T all -T is obtained at the same time obs , the fault location set T dia consisting of probes capable of locating faults is empty at this time;
S3、建立候选探测集Tsta中的探测tj与网络节点xi之间的贝叶斯网络模型,其中j=1,2,...,m,i=1,2,...,n,m是候选探测集Tsta中探测的数目,n是网络节点的数目;S3. Establish a Bayesian network model between the detection t j in the candidate detection set T sta and the network node x i , where j=1,2,...,m, i=1,2,..., n, m is the number of probes in the candidate probe set T sta , n is the number of network nodes;
S4、根据故障检测集Tobs中所有探测的返回结果,将S3建立的贝叶斯网络模型划分成若干子网;S4. Divide the Bayesian network model established in S3 into several sub-networks according to the returned results of all detections in the fault detection set T obs ;
S5、计算候选探测集Tsta中每个探测的信息增益G(tj)=H(X|T)-H(X|T∪{S(tj)})及每个探测的重要节点个数NIm(tj),得出每个探测的探测价值V(tj)=αG(tj)+βNIm(tj),将候选探测集Tsta中的探测按照探测价值从大到小排序,取tmax为当前候选探测集Tsta中探测价值最大的探测;其中S(tj)为探测tj的状态,P(X,T)是X和T的联合概率,P(X|T)是已知T情况下X的条件概率,X=(S(x1),S(x2),...,S(xn))为整体网络节点的状态向量,T=(S(t'1),S(t'2),...,S(t'h))为当前已发送探测包的探测的状态向量,t'1,t'2,...,t'h为当前已发送探测包的探测,h为当前已发送探测包的探测的数目,α和β为预设权值;S5. Calculate the information gain G(t j )=H(X|T)-H(X|T∪{S(t j )}) of each detection in the candidate detection set T sta and the number of important nodes of each detection Number N Im (t j ), obtain the detection value V(t j )=αG(t j )+βN Im (t j ) of each detection, and classify the detections in the candidate detection set T sta according to the detection value from large to Small sorting, take t max as the detection with the largest detection value in the current candidate detection set T sta ; where S(t j ) is the state of detection t j , P(X,T) is the joint probability of X and T, P(X|T) is the conditional probability of X given T, X=(S(x 1 ),S(x 2 ),..., S(x n )) is the state vector of the overall network node, T=(S(t' 1 ), S(t' 2 ),..., S(t' h )) is the detection of the currently sent detection packet The state vector of , t' 1 , t' 2 ,...,t' h is the detection of the currently sent detection packet, h is the number of detections of the currently sent detection packet, α and β are preset weights;
S6、若故障定位集的代价C(Tdia)≥B,则转到S9,否则探测tmax发送探测包到信息网中,获得信息网当前该探测的状态S(tmax),同时将探测tmax加入故障定位集Tdia并将其从候选探测集Tsta中删除,若此时候选探测集Tsta为空,则转到S9;其中B为预设探测代价阈值;S6. If the cost of the fault location set C(T dia )≥B, go to S9, otherwise the detection t max sends a detection packet to the information network to obtain the current state of the detection S(t max ) of the information network, and at the same time the detection t max is added to the fault location set T dia and deleted from the candidate detection set T sta . If the candidate detection set T sta is empty at this time, go to S9; where B is the preset detection cost threshold;
S7、取t'max为当前候选探测集Tsta中探测价值最大的探测,若t'max与tmax在同一子网内,则重新计算探测t'max的探测价值V(t'max),否则直接转到S8;S7, take t' max as the detection with the largest detection value in the current candidate detection set T sta , if t' max and t max are in the same subnet, then recalculate the detection value V(t' max ) of the detection t' max , Otherwise go directly to S8;
S8、取为候选探测集Tsta中排在探测t'max的后一位探测,若则令tmax为t'max,转到S6,否则判断与tmax是否在同一子网内,若不在同一子网,则比较t'max与的探测价值,若在同一子网,则重新计算的探测价值再比较t'max与的探测价值;如果则令t'max为转到S8,否则令tmax为t'max,转到S6;S8, take is the next probe in the candidate probe set T sta in the probe t' max , if Then let t max be t' max , go to S6, otherwise judge Whether it is in the same subnet as t max , if not, compare t' max with The detection value of , if in the same subnet, recalculate detection value Then compare t' max with The detection value of ; if Then let t'max be Go to S8, otherwise let tmax be t'max , go to S6;
S9、计算整体网络节点状态X的一个实例x*=argmaxP(X|ST),得出整体网络节点最有可能的状态向量x*,从而定位故障节点;其中ST=(S(T1),S(T2),...)是当前故障检测集Tobs和故障定位集Tdia中所有探测的状态向量。S9. Calculate an instance x * =argmaxP(X|ST) of the overall network node state X, and obtain the most probable state vector x * of the overall network node, thereby locating the faulty node; where ST=(S(T 1 ), S(T 2 ),...) is the state vector of all probes in the current fault detection set T obs and fault location set T dia .
进一步,步骤S4具体包括:Further, step S4 specifically includes:
根据故障检测集Tobs中所有探测的返回结果,计算网络节点xi应被探测的次数和覆盖该网络节点xi的所有探测返回结果一致的比例若同时满足ai>λ和bi>θ,则定义该网络节点xi为近似可观测节点,利用D-分离方法将S3建立的贝叶斯网络模型划分成若干个相互独立的小规模贝叶斯子网络;其中c'为可用探测集Tall中覆盖网络节点xi的探测,c为故障检测集Tobs中覆盖网络节点xi的探测,e为故障检测集Tobs中覆盖网络节点xi且状态为k的探测,|·|表示求集合包含元素的个数,λ和θ为预设系数。Calculate the number of times the network node x i should be probed according to the return results of all probes in the fault detection set T obs The proportion that is consistent with the return results of all probes covering the network node x i If both a i > λ and b i > θ are satisfied, the network node xi is defined as an approximately observable node, and the Bayesian network model established by S3 is divided into several independent small-scale Bayesian network models using the D-separation method. Yeasian sub-network; where c' is the detection of the overlay network node xi in the available detection set T all , c is the detection of the overlay network node xi in the fault detection set T obs , e is the detection that covers the network node x i and the state is k in the fault detection set T obs , |·| represents the number of elements contained in the set, and λ and θ are preset coefficients.
进一步,步骤S6中故障定位集Tdia的代价C(Tdia)为故障定位集Tdia中探测的个数。Further, the cost C(T dia ) of the fault location set T dia in step S6 is the number of probes in the fault location set T dia .
本发明的有益效果:(1)本发明方法使用贝叶斯网络模型来描述候选探测集中的探测和电力信息网络中的节点的关系,有效地简化了问题,信息节点与探测之间的有向边使得故障定位过程更清晰;(2)结合单个探测的信息增益和单个探测路径中的重要节点个数,作为探测价值来衡量候选探测集中每个探测的诊断能力,从候选探测集中选取探测价值最大的探测组成故障定位集,提高故障定位的准确度;(3)利用贝叶斯网络的条件独立性,将其划分为若干子网,更新探测价值时只更新同一子网的探测,减少探测选取时间,提升故障定位的时效性;(4)探测价值更新过程中表现子模型,减少更新探测的个数,加快探测选取时间,提升故障定位的时效性。The beneficial effects of the present invention: (1) The method of the present invention uses a Bayesian network model to describe the relationship between the probes in the candidate probe set and the nodes in the power information network, which effectively simplifies the problem, and the directed relationship between the information nodes and the probes The edge makes the fault location process clearer; (2) Combine the information gain of a single detection and the number of important nodes in a single detection path as the detection value to measure the diagnostic ability of each detection in the candidate detection set, and select the detection value from the candidate detection set. The largest detection constitutes a fault location set, which improves the accuracy of fault location; (3) Using the conditional independence of the Bayesian network, it is divided into several subnets, and only the detections of the same subnet are updated when the detection value is updated, reducing the number of detections. The selection time improves the timeliness of fault location; (4) the sub-model is represented in the process of detection value update, which reduces the number of update detections, speeds up the detection selection time, and improves the timeliness of fault location.
附图说明Description of drawings
图1是本发明方法的流程图。Figure 1 is a flow chart of the method of the present invention.
图2是本发明方法与BPEA方法的故障定位准确度对比图。FIG. 2 is a comparison diagram of the fault location accuracy of the method of the present invention and the BPEA method.
图3是本发明方法与BPEA方法的时效性对比图。Figure 3 is a time-sensitive comparison diagram of the method of the present invention and the BPEA method.
具体实施方式Detailed ways
本发明中使用的几个探测集的概念如下:The concepts of several probe sets used in the present invention are as follows:
1)可用探测集Tall:在信息网中随机选择若干节点部署探针,每一个探针都可以发送主动探测包给信息网中任意的网络节点,称之为一个探测,根据探测返回的结果可以推断网络节点状态的好坏。由所有探针到所有网络节点组成的全部探测构成的集合为可用探测集Tall,下文所述的探测集都是此集合的子集。1) Available probe set T all : randomly select several nodes in the information network to deploy probes, each probe can send active probe packets to any network node in the information network, which is called a probe, according to the results returned by the probe It is possible to infer whether the state of the network nodes is good or bad. A set consisting of all probes from all probes to all network nodes is an available probe set T all , and the probe sets described below are all subsets of this set.
2)故障检测集Tobs:要保障电力信息网的可靠运行,不能被动地等待用户发出故障申告,需要实时监测网络运行情况,所以要从可用探测集Tall中选择一些探测周期性地发送探测包到网络中,所选择发送的各个探测综合起来要有能力覆盖网络中的所有节点,由这些探测组成的集合便是故障检测集Tobs。2) Fault detection set T obs : To ensure the reliable operation of the power information network, we cannot passively wait for users to issue fault reports, and we need to monitor the network operation in real time. Therefore, we need to select some probes from the available probe set T all to periodically send probes. When the packet is sent to the network, the selected and sent probes must be able to cover all nodes in the network. The set composed of these probes is the fault detection set T obs .
3)候选探测集Tsta:可用探测集Tall中不属于故障检测集Tobs的探测组成的集合,即Tsta=Tall-Tobs。3) Candidate detection set T sta : a set consisting of the detections in the available detection set T all that do not belong to the fault detection set T obs , that is, T sta =T all -T obs .
4)故障定位集Tdia:故障定位集是在已经获知故障检测集Tobs中各探测返回结果的情况下,从候选探测集Tsta中选择的能达到定位故障目的探测组成的集合。4) Fault locating set T dia : The fault locating set is a set consisting of probes selected from the candidate probe set T sta to achieve the purpose of locating faults when the return results of each probe in the fault detection set T obs are known.
本发明提供的一种电力信息网故障定位方法包括以下步骤:A method for locating faults in a power information network provided by the present invention includes the following steps:
S1、在电力信息网络中随机选取网络节点部署探针,获得可用探测集Tall;S1. Randomly select network nodes in the power information network to deploy probes to obtain an available probe set T all ;
S2、从可用探测集Tall中选择能覆盖网络所有节点的探测,构成故障检测集Tobs,同时得到候选探测集Tsta;S2. Select a probe that can cover all nodes of the network from the available probe set T all to form a fault detection set T obs , and obtain a candidate probe set T sta at the same time;
S3、建立候选探测集Tsta中的探测tj与网络节点xi之间的贝叶斯网络模型,其中j=1,2,...,m,i=1,2,...,n,m是候选探测集Tsta中探测的数目,n是网络节点的数目;S3. Establish a Bayesian network model between the detection t j in the candidate detection set T sta and the network node x i , where j=1,2,...,m, i=1,2,..., n, m is the number of probes in the candidate probe set T sta , n is the number of network nodes;
S4、根据故障检测集Tobs中所有探测的返回结果,将S3建立的贝叶斯网络模型划分成若干子网;S4. Divide the Bayesian network model established in S3 into several sub-networks according to the returned results of all detections in the fault detection set T obs ;
S5、计算候选探测集Tsta中每个探测的信息增益G(tj)=H(X|T)-H(X|T∪{S(tj)})及每个探测的重要节点个数NIm(tj),得出每个探测的探测价值V(tj)=αG(tj)+βNIm(tj),将候选探测集Tsta中的探测按照探测价值从大到小排序,取tmax为当前候选探测集Tsta中探测价值最大的探测;其中S(tj)为探测tj的状态,P(X,T)是X和T的联合概率,P(X|T)是已知T情况下X的条件概率,X=(S(x1),S(x2),...,S(xn))为整体网络节点的状态向量,T=(S(t'1),S(t'2),...,S(t'h))为当前已发送探测包的探测的状态向量,t'1,t'2,...,t'h为当前已发送探测包的探测,h为当前已发送探测包的探测的数目,α和β为预设权值;S5. Calculate the information gain G(t j )=H(X|T)-H(X|T∪{S(t j )}) of each detection in the candidate detection set T sta and the number of important nodes of each detection Number N Im (t j ), obtain the detection value V(t j )=αG(t j )+βN Im (t j ) of each detection, and classify the detections in the candidate detection set T sta according to the detection value from large to Small sorting, take t max as the detection with the largest detection value in the current candidate detection set T sta ; where S(t j ) is the state of detection t j , P(X,T) is the joint probability of X and T, P(X|T) is the conditional probability of X given T, X=(S(x 1 ),S(x 2 ),..., S(x n )) is the state vector of the overall network node, T=(S(t' 1 ), S(t' 2 ),..., S(t' h )) is the detection of the currently sent detection packet The state vector of , t' 1 , t' 2 ,...,t' h is the detection of the currently sent detection packet, h is the number of detections of the currently sent detection packet, α and β are preset weights;
S6、若故障定位集的代价C(Tdia)≥B,则转到S9,否则探测tmax发送探测包到信息网中,获得信息网当前该探测的状态S(tmax),同时将探测tmax加入故障定位集Tdia并将其从候选探测集Tsta中删除,若此时候选探测集Tsta为空,则转到S9;其中B为预设探测代价阈值;S6. If the cost of the fault location set C(T dia )≥B, go to S9, otherwise the detection t max sends a detection packet to the information network to obtain the current state of the detection S(t max ) of the information network, and at the same time the detection t max is added to the fault location set T dia and deleted from the candidate detection set T sta . If the candidate detection set T sta is empty at this time, go to S9; where B is the preset detection cost threshold;
S7、取t'max为当前候选探测集Tsta中探测价值最大的探测,若t'max与tmax在同一子网内,则重新计算探测t'max的探测价值V(t'max),否则直接转到S8;S7, take t' max as the detection with the largest detection value in the current candidate detection set T sta , if t' max and t max are in the same subnet, then recalculate the detection value V(t' max ) of the detection t' max , Otherwise go directly to S8;
S8、取为候选探测集Tsta中排在探测t'max的后一位探测,若则令tmax为t'max,转到S6,否则判断与tmax是否在同一子网内,若不在同一子网,则比较t'max与的探测价值,若在同一子网,则重新计算的探测价值再比较t'max与的探测价值;如果则令t'max为转到S8,否则令tmax为t'max,转到S6;S8, take is the next probe in the candidate probe set T sta in the probe t' max , if Then let t max be t' max , go to S6, otherwise judge Whether it is in the same subnet as t max , if not, compare t' max with The detection value of , if in the same subnet, recalculate detection value Then compare t' max with The detection value of ; if Then let t'max be Go to S8, otherwise let tmax be t'max , go to S6;
S9、计算整体网络节点状态X的一个实例x*=argmaxP(X|ST),得出整体网络节点最有可能的状态向量x*,从而定位故障节点;其中ST=(S(T1),S(T2),...)是当前故障检测集Tobs和故障定位集Tdia中所有探测的状态向量。S9. Calculate an instance x * =argmaxP(X|ST) of the overall network node state X, and obtain the most probable state vector x * of the overall network node, thereby locating the faulty node; where ST=(S(T 1 ), S(T 2 ),...) is the state vector of all probes in the current fault detection set T obs and fault location set T dia .
步骤S3建立的贝叶斯网络模型中节点xi(i=1,2,...,n)表示信息网络中的节点,节点tj(j=1,2,...,m)表示候选探测集Tsta中的探测,网络节点与探测之间的有向边表示该探测的探测路径中包含了此节点。节点xi有两个状态,S(xi)=0表示该节点没有故障,S(xi)=1表示该节点存在故障,探测tj的状态S(tj)与指向它的所有网络节点的状态有关,只要其指向的一个网络节点的状态为0,此探测的状态S(tj),探测路径上的任何一个节点出故障都会导致探测出故障,即只要探测tj指向的网络节点中有一个节点的状态S(xi)=0,此探测的状态S(tj)=0。将探测和网络节点抽象成贝叶斯网络模型中的一个个节点,有效地简化了问题,而节点与探测之间的有向边使得故障定位过程更清晰。In the Bayesian network model established in step S3, the nodes x i (i=1, 2,...,n) represent the nodes in the information network, and the nodes t j (j=1, 2,...,m) represent the For a probe in the candidate probe set T sta , the directed edge between the network node and the probe indicates that the probe's probe path includes this node. Node x i has two states, S(x i )=0 means that the node is not faulty, S(x i )=1 means that the node is faulty, probe the state S(t j ) of t j and all the networks that point to it The state of the node is related. As long as the state of a network node it points to is 0, the state of the probe is S(t j ), and any node failure on the probe path will cause the probe to fail, that is, as long as the probe t j points to the network One of the nodes has state S(x i )=0, and this probe has state S(t j )=0. Abstracting probes and network nodes into nodes in the Bayesian network model effectively simplifies the problem, and the directed edges between nodes and probes make the fault location process clearer.
步骤S4划分子网络,具体为根据故障检测集Tobs中所有探测返回的结果,通过下式来定义“近似可观测节点”表示此网络节点xi的状态已近似确定:Step S4 divides the sub-network. Specifically, according to the results returned by all detections in the fault detection set T obs , the “approximately observable node” is defined by the following formula, indicating that the state of the network node x i has been approximately determined:
其中, in,
|·|表示集合包含元素的个数,λ和θ为预设值,λ表示近似可观测节点应被探测的最少次数,θ表示探测返回结果中一致结果至少需要满足的比例,0≤θ≤1。若网络节点xi同时满足式(1)和式(2),则认为它是近似可观测的,其指向的探测之间就满足条件独立性,使用D-分离原理将大规模的贝叶斯网络转换成若干个相互独立的子网络,在更新候选探测的探测价值时只需要更新同一子网内的其余探测即可。|·| represents the number of elements contained in the set, λ and θ are preset values, λ represents the minimum number of times that approximately observable nodes should be detected, θ represents the at least proportion of consistent results in the detection results, 0≤θ≤ 1. If the network node x i satisfies both equations (1) and (2), it is considered to be approximately observable, and the detections it points to satisfy the conditional independence. Using the D-separation principle, the large-scale Bayesian The network is converted into several independent sub-networks, and only the remaining probes in the same sub-network need to be updated when updating the detection value of candidate probes.
步骤S5至步骤S8为从候选探测集Tsta中选择故障定位集Tdia的步骤。Steps S5 to S8 are the steps of selecting the fault location set T dia from the candidate detection set T sta .
具体的,为了衡量候选探测集Tsta中探测的优劣,引入信息熵量化电力信息网状态的不确定性,定义向量X=(S(x1),S(x2),...,S(xn))表示整体网络节点的状态,其中n为网络节点的数目,定义向量T=(S(t'1),S(t'2),...,S(t'h))表示已发送探测包的探测的状态,其中h是当前已发送探测包的探测的数目,则在获得探测返回结果后,信息网状态的不确定性表示为:Specifically, in order to measure the pros and cons of the detection in the candidate detection set T sta , the information entropy is introduced to quantify the uncertainty of the state of the power information network, and the vector X=(S(x 1 ), S(x 2 ),..., S(x n )) represents the state of the entire network node, where n is the number of network nodes, and the definition vector T=(S(t' 1 ), S(t' 2 ),...,S(t' h ) ) represents the state of the probe that has sent the probe packet, where h is the number of probes that have sent the probe packet at present, then after obtaining the probe return result, the uncertainty of the information network state is expressed as:
式(4)中P(X,T)是X和T的联合概率,P(X|T)是已知T情况下X的条件概率。采用信息增益G(t)量化单个探测t的优劣:In formula (4), P(X, T) is the joint probability of X and T, and P(X|T) is the conditional probability of X when T is known. Use the information gain G(t) to quantify the pros and cons of a single probe t:
G(t)=H(X|T)-H(X|T∪{S(t)}) (5)G(t)=H(X|T)-H(X|T∪{S(t)}) (5)
为了保障更重要的网络节点优先被检测,在比较两个探针的优劣时需要考虑网络节点的重要度,本发明方法定义V(t)表示单个探测的探测价值:In order to ensure that more important network nodes are preferentially detected, the importance of network nodes needs to be considered when comparing the pros and cons of two probes. The method of the present invention defines V(t) to represent the detection value of a single probe:
V(t)=αG(t)+βNIm(t) (6)V(t)=αG(t)+βN Im (t) (6)
式(6)中NIm(t)表示探测t的探测路径中重要节点的个数,本实施例中重要节点为处于网路中心的核心层网络节点;α和β是权值,调整α,β的值可以平衡信息增益和重要节点在探测价值中的权重,满足不同信息网结构的需要。In the formula (6), N Im (t) represents the number of important nodes in the detection path of detection t. In this embodiment, the important nodes are the core layer network nodes in the center of the network; α and β are weights, adjusting α, The value of β can balance the information gain and the weight of important nodes in the detection value to meet the needs of different information network structures.
使用式(4)至式(6),计算候选探测集Tsta中每个探测的探测价值。从候选探测集Tsta中不断选取出探测价值最大的探测加入集合T*,当C(T*)=B时,选取结束,得到故障定位集Tdia=T*。其中C(T*)表示集合T*的代价,一般是探针的价格或者完成探测需要的时间等,本实施例中C(T*)为集合T*中探测的个数,B是根据实际情况设置的探测代价阈值。Using equations (4) to (6), the detection value of each detection in the candidate detection set T sta is calculated. From the candidate detection set T sta , the detection with the greatest detection value is continuously selected and added to the set T * . When C(T * )=B, the selection ends, and the fault location set T dia =T * is obtained. Among them, C(T * ) represents the cost of the set T * , which is generally the price of the probe or the time required to complete the detection, etc. In this embodiment, C(T * ) is the number of probes in the set T * , and B is based on the actual The detection cost threshold set by the situation.
选择探测价值最大的探测过程中,当观测到一个新的探测结果后,剩余候选探测集中所有探测的探测价值在更新后均变小,因此仅需更新当前具有最大探测价值的探测即可,若更新后此探测的探测价值比其他探测更新前还要大,则在不更新其余探测的情况下便可确定此探测就是下一轮的最佳选择,大大地节省了时间。In the process of selecting the detection with the largest detection value, when a new detection result is observed, the detection value of all detections in the remaining candidate detection set becomes smaller after the update, so only the detection with the current maximum detection value needs to be updated. After the update, the detection value of this detection is greater than that of other detections before the update, so it can be determined that this detection is the best choice for the next round without updating the other detections, which greatly saves time.
步骤S9具体的,求出故障定位集Tdia后,根据故障检测集Tobs和故障定位集Tdia中探测返回的结果分析电力信息网中节点状态,也就是求:Specifically, in step S9, after the fault location set T dia is obtained, the state of the nodes in the power information network is analyzed according to the fault detection set T obs and the results returned by detection in the fault location set T dia , that is, to find:
x*=argmaxP(X|ST) (8)x * =argmaxP(X|ST) (8)
其中ST=(S(T1),S(T2),...)是已发送探测返回的状态集合,x*是网络状态X的一个实例。x*中若有网络节点的状态为0,则表明该网络节点有故障。使用故障检测集综合判断信息网节点状态可以减少故障定位集的负担,在探测代价阈值一定的情况下能得到更好的故障定位结果。where ST=(S(T 1 ), S(T 2 ), . . . ) is the set of states returned by sent probes, and x * is an instance of network state X. If the status of any network node in x * is 0, it indicates that the network node is faulty. Using the fault detection set to comprehensively judge the status of the information network nodes can reduce the burden of the fault location set, and can obtain better fault location results when the detection cost threshold is constant.
图2和图3中IPCA为本发明方法,BPEA为传统多故障网络探测选择算法,图2所示为本发明方法与BPEA方法的故障定位准确度对比图,图3所示为本发明方法与BPEA方法的时效性对比图。从图2中可以看出,随着网络节点的数目增多,本发明方法的准确度与BPEA方法近似一样,表明本发明方法确保了故障定位的准确度。从图3可以看出,随着节点的数目增多,本发明方法对时间的改进效果明显,提高可故障诊断的时间效率。In Fig. 2 and Fig. 3, IPCA is the method of the present invention, BPEA is the traditional multi-fault network detection and selection algorithm, Fig. 2 shows the comparison diagram of the fault location accuracy between the method of the present invention and the BPEA method, and Fig. 3 shows the method of the present invention and the Timeliness comparison chart of BPEA method. As can be seen from FIG. 2 , as the number of network nodes increases, the accuracy of the method of the present invention is approximately the same as that of the BPEA method, indicating that the method of the present invention ensures the accuracy of fault location. As can be seen from FIG. 3 , with the increase of the number of nodes, the method of the present invention has obvious improvement effect on time, and improves the time efficiency of fault diagnosis.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610911531.5A CN106452877B (en) | 2016-10-19 | 2016-10-19 | The method of fault location of power information network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610911531.5A CN106452877B (en) | 2016-10-19 | 2016-10-19 | The method of fault location of power information network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106452877A CN106452877A (en) | 2017-02-22 |
CN106452877B true CN106452877B (en) | 2021-09-24 |
Family
ID=58175301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610911531.5A Active CN106452877B (en) | 2016-10-19 | 2016-10-19 | The method of fault location of power information network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106452877B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106685742B (en) * | 2017-03-02 | 2020-04-10 | 北京邮电大学 | Network fault diagnosis method and device |
CN107135100A (en) * | 2017-05-02 | 2017-09-05 | 国网辽宁省电力有限公司 | A faulty node detection method for SDN network |
CN107171832A (en) * | 2017-05-02 | 2017-09-15 | 国网辽宁省电力有限公司 | A kind of malfunctioning node detection system of SDN |
CN107147534A (en) * | 2017-05-31 | 2017-09-08 | 国家电网公司 | A Quantity-Optimized Probe Deployment Method for Fault Detection in Power Communication Networks |
CN110048901B (en) * | 2019-06-04 | 2022-03-22 | 广东电网有限责任公司 | Fault positioning method, device and equipment for power communication network |
CN110380903B (en) * | 2019-07-23 | 2021-09-10 | 广东电网有限责任公司 | Power communication network fault detection method, device and equipment |
CN113300868B (en) * | 2020-07-13 | 2024-04-30 | 阿里巴巴集团控股有限公司 | Positioning method and device for fault network equipment node and network communication method |
CN112436954B (en) * | 2020-10-10 | 2022-07-08 | 西安电子科技大学 | Probability probe selection method, system, equipment and application for fault diagnosis |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102684902A (en) * | 2011-03-18 | 2012-09-19 | 北京邮电大学 | Network fault positioning method based on probe prediction |
CN103501257A (en) * | 2013-10-11 | 2014-01-08 | 北京邮电大学 | Method for selecting IP (Internet Protocol) network fault probe |
CN103840967A (en) * | 2013-12-23 | 2014-06-04 | 北京邮电大学 | Method for locating faults in power communication network |
CN105721209A (en) * | 2016-02-19 | 2016-06-29 | 国网河南省电力公司信息通信公司 | A Fault Detection Method for Noisy Networks |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7389347B2 (en) * | 2004-04-16 | 2008-06-17 | International Business Machines Corporation | Active probing for real-time diagnosis |
-
2016
- 2016-10-19 CN CN201610911531.5A patent/CN106452877B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102684902A (en) * | 2011-03-18 | 2012-09-19 | 北京邮电大学 | Network fault positioning method based on probe prediction |
CN103501257A (en) * | 2013-10-11 | 2014-01-08 | 北京邮电大学 | Method for selecting IP (Internet Protocol) network fault probe |
CN103840967A (en) * | 2013-12-23 | 2014-06-04 | 北京邮电大学 | Method for locating faults in power communication network |
CN105721209A (en) * | 2016-02-19 | 2016-06-29 | 国网河南省电力公司信息通信公司 | A Fault Detection Method for Noisy Networks |
Non-Patent Citations (1)
Title |
---|
基于PMS和GIS系统的10kV配电网故障快速定位方法研究;时庆宾;《电子制作》;20160930;第81-82页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106452877A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106452877B (en) | The method of fault location of power information network | |
CN103840967B (en) | A kind of method of fault location in power telecom network | |
CN106685742B (en) | Network fault diagnosis method and device | |
CN103761684A (en) | Comprehensive evaluation method and system of overall state of transmission cable | |
CN102684902B (en) | Based on the network failure locating method of probe prediction | |
CN110380903B (en) | Power communication network fault detection method, device and equipment | |
CN105486976A (en) | Fault positioning detection selection method | |
CN103793230A (en) | Method for measuring class cohesion orientated to object software system | |
Seyedi et al. | A new approach to reliability assessment and improvement of synchrophasor communications in smart grids | |
CN111884859B (en) | Network fault diagnosis method and device and readable storage medium | |
CN103345552A (en) | Method and device for assessing reliability of power ICT communication network | |
Mandal et al. | Joint optimal PMU placement and data pruning for resource efficient smart grid monitoring | |
CN111092827B (en) | Power communication network resource allocation method and device | |
CN112383934A (en) | Multi-domain cooperation service fault diagnosis method under 5G network slice | |
CN111600805A (en) | Bayes-based power data network congestion link inference algorithm | |
Fahim et al. | A probabilistic generative model for fault analysis of a transmission line with sfcl | |
Qi et al. | Probabilistic probe selection algorithm for fault diagnosis in communication networks | |
CN117520746A (en) | Source end data anomaly detection and cleaning treatment method and system under medium-level architecture | |
CN111105145A (en) | A Grid Survivability Assessment Method Considering Intermittent Energy | |
Wang et al. | GP-INT: Generating balanced network-wide in-band telemetry path for digital twin networks | |
CN101291255B (en) | Heuristic fault positioning method for network of next generation | |
CN107426044B (en) | Serial line detection method and device and operation and maintenance server | |
Zheng et al. | Dynamic Network Fault Diagnosis Algorithm under 5G Network Slice | |
Gao et al. | The diagnosis of wired network malfunctions based on big data and traffic prediction: An overview | |
Wei et al. | Reliability of the local IP bearer network: Analysis and optimization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |