CN112347617B - A multi-factor based fault detection strategy evaluation method and device - Google Patents

A multi-factor based fault detection strategy evaluation method and device Download PDF

Info

Publication number
CN112347617B
CN112347617B CN202011126016.9A CN202011126016A CN112347617B CN 112347617 B CN112347617 B CN 112347617B CN 202011126016 A CN202011126016 A CN 202011126016A CN 112347617 B CN112347617 B CN 112347617B
Authority
CN
China
Prior art keywords
fault
factor
node
value
weight vector
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
Application number
CN202011126016.9A
Other languages
Chinese (zh)
Other versions
CN112347617A (en
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.)
Beijing Institute of Spacecraft System Engineering
Original Assignee
Beijing Institute of Spacecraft System Engineering
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 Beijing Institute of Spacecraft System Engineering filed Critical Beijing Institute of Spacecraft System Engineering
Priority to CN202011126016.9A priority Critical patent/CN112347617B/en
Publication of CN112347617A publication Critical patent/CN112347617A/en
Application granted granted Critical
Publication of CN112347617B publication Critical patent/CN112347617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application discloses a fault troubleshooting strategy evaluation method and device based on multiple factors, wherein the method comprises the following steps: constructing a fault investigation model according to a preset fault investigation strategy, wherein the fault investigation model comprises a multi-stage system composition node, a plurality of fault nodes and at least one problem node; determining all problem nodes in the fault investigation model, and determining a processing path corresponding to each problem node and system composition nodes connected through a problem index path; determining a processing path and a fault node corresponding to a system composition node respectively, and carrying out normalization processing on a plurality of preset factor weight information corresponding to the fault node to obtain a normalized factor weight vector; and calculating a grading value according to a preset fault-factor association matrix and a factor weight vector, and evaluating a fault troubleshooting strategy according to the grading value to obtain an evaluation result. The application solves the technical problem of blank evaluation of the fault detection strategy in the prior art.

Description

一种基于多因子的故障排查策略评价方法及装置A multi-factor based fault detection strategy evaluation method and device

技术领域Technical Field

本申请涉及故障排查策略评价技术领域,尤其涉及一种基于多因子的故障排查策略评价方法及装置。The present application relates to the technical field of troubleshooting strategy evaluation, and in particular to a method and device for evaluating a troubleshooting strategy based on multiple factors.

背景技术Background technique

故障排查策略是指通过环境、条件等线索逐步缩小故障排查范围,最后进行定位故障,优秀的故障排查策略步骤更少,定位更精准。A troubleshooting strategy is to gradually narrow the scope of troubleshooting through clues such as the environment and conditions, and finally locate the fault. An excellent troubleshooting strategy has fewer steps and more accurate positioning.

目前,故障排查策略有多种,如故障树分析方法(Fault Tree Analysis,FTA)、基于本体模型的问题引导式故障排查方法等;其中,故障排查策略的基本原理为:建立故障排查模型,然后通过故障排查模型评估问题的处理能力并进行归一化处理。而采用同一种故障排查策略又可以建立多种不同的故障排查模型,如利用基于本体模型的问题引导式故障排查方法建立排故模型时,问题所挂接的节点位置不同将会产生不同的排故模型。因此,如何确定哪种排故模型的故障定位效率更高、排故更加全面,以便进行排查策略优化,目前尚无一种方法来量化对故障排查策略的评估。At present, there are many troubleshooting strategies, such as Fault Tree Analysis (FTA), problem-guided troubleshooting method based on ontology model, etc. The basic principle of troubleshooting strategy is to establish a troubleshooting model, and then evaluate the problem handling capability through the troubleshooting model and perform normalization. The same troubleshooting strategy can be used to establish a variety of different troubleshooting models. For example, when using the problem-guided troubleshooting method based on ontology model to establish a troubleshooting model, different troubleshooting models will be generated when the node position to which the problem is attached is different. Therefore, how to determine which troubleshooting model has higher fault location efficiency and more comprehensive troubleshooting in order to optimize the troubleshooting strategy, there is currently no method to quantify the evaluation of troubleshooting strategies.

发明内容Summary of the invention

本申请解决的技术问题是:针对现有技术中对故障排查策略的评估空白。本申请提供了一种基于多因子的故障排查策略评价方法及装置,本申请实施例所提供的方案中,通过建立故障排查模型,推导出能够排查故障的所有可能路径,并对所有排查路径进行加权计算,衡量不同权重下判断条件的影响范围和定位能力是否恰当,最后对整条路径进行得分累计求和,对整条排查路径乃至整个排查策略进行评估,进而对故障排除策略进行量化评估方法,填补了故障排查策略评估的空白。The technical problem solved by the present application is: to address the gap in the evaluation of troubleshooting strategies in the prior art. The present application provides a method and device for evaluating troubleshooting strategies based on multiple factors. In the solution provided by the embodiments of the present application, by establishing a troubleshooting model, all possible paths that can troubleshoot the fault are derived, and all troubleshooting paths are weighted to measure whether the influence range and positioning capabilities of the judgment conditions under different weights are appropriate. Finally, the scores of the entire path are accumulated and summed, and the entire troubleshooting path and even the entire troubleshooting strategy are evaluated, thereby performing a quantitative evaluation method for the troubleshooting strategy, filling the gap in the evaluation of the troubleshooting strategy.

第一方面,本申请实施例提供一种基于多因子的故障排查策略评价方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for evaluating a troubleshooting strategy based on multiple factors, the method comprising:

根据预设的故障排查策略构建故障排查模型,其中,所述故障排查模型包括多级系统组成节点、按照从上到下的顺序与最后一级系统组成节点连接的多个故障节点以及通过问题索引路径以及处理路径与所述系统组成节点连接的至少一个问题节点;Constructing a fault troubleshooting model according to a preset fault troubleshooting strategy, wherein the fault troubleshooting model includes a multi-level system component node, a plurality of fault nodes connected to the last level of system component nodes in a top-to-bottom order, and at least one problem node connected to the system component node through a problem index path and a processing path;

确定所述故障排查模型中所有的问题节点,确定每个问题节点所对应的所述处理路径以及通过所述问题索引路径所连接的系统组成节点;Determine all problem nodes in the troubleshooting model, determine the processing path corresponding to each problem node and the system component nodes connected by the problem index path;

分别确定所述处理路径以及所述系统组成节点对应的所述故障节点,将所述故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量;Determine the processing path and the fault node corresponding to the system component node respectively, and normalize the preset multiple factor weight information corresponding to the fault node to obtain a normalized factor weight vector;

根据预设的故障-因子关联矩阵与所述因子权重向量计算得到评分值,根据所述评分值对所述故障排查策略进行评价得到评价结果。A score value is calculated based on a preset fault-factor association matrix and the factor weight vector, and the fault troubleshooting strategy is evaluated based on the score value to obtain an evaluation result.

本申请实施例所提供的方案中,根据预设的故障排查策略构建故障排查模型,然后确定所述故障排查模型中所有的问题节点,确定每个问题节点所对应的所述处理路径以及通过所述问题索引路径所连接的系统组成节点,再分别确定所述处理路径以及所述系统组成节点对应的所述故障节点,将所述故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量,最后根据预设的故障-因子关联矩阵与所述因子权重向量计算得到评分值,根据所述评分值对所述故障排查策略进行评价得到评价结果。即通过建立故障排查模型,推导出能够排查故障的所有可能路径,并对所有排查路径进行加权计算,衡量不同权重下判断条件的影响范围和定位能力是否恰当,最后对整条路径进行得分累计求和,对整条排查路径乃至整个排查策略进行评估,进而对故障排除策略进行量化评估方法,填补了故障排查策略评估的空白。In the scheme provided in the embodiment of the present application, a fault troubleshooting model is constructed according to a preset fault troubleshooting strategy, and then all the problem nodes in the fault troubleshooting model are determined, the processing path corresponding to each problem node and the system component nodes connected by the problem index path are determined, and then the processing path and the fault node corresponding to the system component node are respectively determined, and the preset multiple factor weight information corresponding to the fault node is normalized to obtain a normalized factor weight vector, and finally a score value is calculated according to the preset fault-factor association matrix and the factor weight vector, and the fault troubleshooting strategy is evaluated according to the score value to obtain an evaluation result. That is, by establishing a fault troubleshooting model, all possible paths that can troubleshoot the fault are derived, and all troubleshooting paths are weighted to measure whether the influence range and positioning ability of the judgment conditions under different weights are appropriate, and finally the score of the entire path is accumulated and summed, and the entire troubleshooting path and even the entire troubleshooting strategy are evaluated, and then a quantitative evaluation method for the troubleshooting strategy is performed, filling the gap in the evaluation of the troubleshooting strategy.

可选地,将所述故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量,包括:Optionally, normalizing the preset multiple factor weight information corresponding to the faulty node to obtain a normalized factor weight vector includes:

确定出所述权重信息中权重的最大值以及最小值;Determine the maximum value and the minimum value of the weight in the weight information;

根据所述最大值和所述最小值以及任一因子对应的权重值计算出所述任一因子对应的归一化权重值;Calculating a normalized weight value corresponding to any factor according to the maximum value, the minimum value and the weight value corresponding to any factor;

根据所述归一化权重值得到所述归一化的因子权重向量。The normalized factor weight vector is obtained according to the normalized weight value.

可选地,根据所述最大值和所述最小值以及任一因子对应的权重值计算出所述任一因子对应的归一化权重值,包括:Optionally, calculating a normalized weight value corresponding to any factor according to the maximum value, the minimum value and the weight value corresponding to any factor includes:

通过下式计算出所述任一因子对应的归一化权重值:The normalized weight value corresponding to any of the factors is calculated by the following formula:

其中,Xnorm表示所述任一因子对应的归一化权重值;X表示所述任一因子对应的权重值;Xmin表示所述预设因子权重信息中权重最小值;Xmax表示所述预设因子权重信息中权重最大值。Among them, X norm represents the normalized weight value corresponding to any factor; X represents the weight value corresponding to any factor; X min represents the minimum weight value in the preset factor weight information; X max represents the maximum weight value in the preset factor weight information.

可选地,所述故障-因子关联矩阵通过下式表示:Optionally, the fault-factor association matrix is expressed by the following formula:

其中,A表示故障-因子关联矩阵,故障-因子关联矩阵的列数为故障点(g1,…,gm)数量,故障-因子关联矩阵的行数为因子(s1,…,sn)数量;amn表示故障gm在因子sn影响下的影响程度。Wherein, A represents the fault-factor association matrix, the number of columns of the fault-factor association matrix is the number of fault points (g 1 ,…,g m ), the number of rows of the fault-factor association matrix is the number of factors (s 1 ,…,s n ); a mn represents the influence degree of fault g m under the influence of factor s n .

可选地,所述处理路径包括故障定位路径和故障排除路径;Optionally, the processing path includes a fault location path and a fault elimination path;

所述故障节点包括所述故障定位路径对应的第一故障节点、所述故障排除路径对应的第二故障节点以及所述系统组成节点对应的第三故障节点;The fault nodes include a first fault node corresponding to the fault location path, a second fault node corresponding to the fault elimination path, and a third fault node corresponding to the system component node;

所述因子权重向量包括所述第一故障节点对应的第一因子权重向量,所述第二故障节点对应的第二因子权重向量以及所述第三故障节点对应的第三因子权重向量。The factor weight vector includes a first factor weight vector corresponding to the first fault node, a second factor weight vector corresponding to the second fault node, and a third factor weight vector corresponding to the third fault node.

可选地,根据所述故障-因子关联矩阵与所述因子权重向量计算得到评分值,包括:Optionally, calculating a score value according to the fault-factor association matrix and the factor weight vector includes:

计算所述故障-因子关联矩阵与所述第一因子权重向量的乘积,将乘积结果取模得到第一评分值,并将其记为S1;Calculate the product of the fault-factor association matrix and the first factor weight vector, take the modulus of the product result to obtain a first score value, and record it as S1;

计算所述故障-因子关联矩阵与所述第二因子权重向量的乘积,将乘积结果取模得到第二评分值,并将其记为S2;Calculate the product of the fault-factor association matrix and the second factor weight vector, take the modulus of the product result to obtain a second score value, and record it as S2;

计算所述故障-因子关联矩阵与所述第三因子权重向量的乘积,将乘积结果取模得到第三评分值,并将其记为W。The product of the fault-factor association matrix and the third factor weight vector is calculated, and the product result is modulo to obtain a third score value, which is recorded as W.

可选地,根据所述评分值对所述故障排查策略进行评价得到评价结果,包括:Optionally, evaluating the troubleshooting strategy according to the scoring value to obtain an evaluation result includes:

将所述第一评分值S1与所述第二评分值S2进行比较,确定出所述S1与所述S2中的最大值,将其记为S;Compare the first score value S1 with the second score value S2, determine the maximum value between S1 and S2, and record it as S;

计算所述S与所述W的比值S/W,根据所述比值对所述故障排查策略进行评价得到评价结果。A ratio S/W of the S to the W is calculated, and the fault troubleshooting strategy is evaluated according to the ratio to obtain an evaluation result.

本申请实施例所提供的方案中,在对故障排查策略评价过程中,需要的关联信息较低,仅需要待评估问题节点及附属的系统组成下属节点,无需其他节点即可进行问题评估。覆盖范围函数处理流程相同,可以实现复用,进一步降低算法计算复杂度。In the solution provided by the embodiment of the present application, in the process of evaluating the troubleshooting strategy, the required related information is relatively low, and only the problem node to be evaluated and the subordinate nodes of the attached system components are required, and the problem evaluation can be performed without other nodes. The coverage function processing flow is the same, and reuse can be achieved, further reducing the algorithm calculation complexity.

第二方面,本申请实施例提供了一种基于多因子的故障排查策略评价装置,该装置包括:In a second aspect, an embodiment of the present application provides a multi-factor based troubleshooting strategy evaluation device, the device comprising:

构建单元,用于根据预设的故障排查策略构建故障排查模型,其中,所述故障排查模型包括多级系统组成节点、按照从上到下的顺序与最后一级系统组成节点连接的多个故障节点以及通过问题索引路径以及处理路径与所述系统组成节点连接的至少一个问题节点;A construction unit, configured to construct a fault troubleshooting model according to a preset fault troubleshooting strategy, wherein the fault troubleshooting model includes a multi-level system component node, a plurality of fault nodes connected to the last level of system component nodes in a top-to-bottom order, and at least one problem node connected to the system component node via a problem index path and a processing path;

确定单元,用于确定所述故障排查模型中所有的问题节点,确定每个问题节点所对应的所述处理路径以及通过所述问题索引路径所连接的系统组成节点;A determination unit, used to determine all problem nodes in the troubleshooting model, determine the processing path corresponding to each problem node and the system component nodes connected through the problem index path;

处理单元,用于分别确定所述处理路径以及所述系统组成节点对应的所述故障节点,将所述故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量;A processing unit, used to respectively determine the processing path and the fault node corresponding to the system component node, and normalize the preset multiple factor weight information corresponding to the fault node to obtain a normalized factor weight vector;

计算评价单元,用于根据预设的故障-因子关联矩阵与所述因子权重向量计算得到评分值,根据所述评分值对所述故障排查策略进行评价得到评价结果。The calculation and evaluation unit is used to calculate a score value according to a preset fault-factor association matrix and the factor weight vector, and evaluate the fault troubleshooting strategy according to the score value to obtain an evaluation result.

可选地,所述处理单元,具体用于:Optionally, the processing unit is specifically configured to:

确定出所述权重信息中权重的最大值以及最小值;Determine the maximum value and the minimum value of the weight in the weight information;

根据所述最大值和所述最小值以及任一因子对应的权重值计算出所述任一因子对应的归一化权重值;Calculating a normalized weight value corresponding to any factor according to the maximum value, the minimum value and the weight value corresponding to any factor;

根据所述归一化权重值得到所述归一化的因子权重向量。The normalized factor weight vector is obtained according to the normalized weight value.

可选地,所述处理单元,具体用于:Optionally, the processing unit is specifically configured to:

通过下式计算出所述任一因子对应的归一化权重值:The normalized weight value corresponding to any of the factors is calculated by the following formula:

其中,Xnorm表示所述任一因子对应的归一化权重值;X表示所述任一因子对应的权重值;Xmin表示所述预设因子权重信息中权重最小值;Xmax表示所述预设因子权重信息中权重最大值。Among them, X norm represents the normalized weight value corresponding to any factor; X represents the weight value corresponding to any factor; X min represents the minimum weight value in the preset factor weight information; X max represents the maximum weight value in the preset factor weight information.

可选地,所述故障-因子关联矩阵通过下式表示:Optionally, the fault-factor association matrix is expressed by the following formula:

其中,A表示故障-因子关联矩阵,故障-因子关联矩阵的列数为故障点(g1,…,gm)数量,故障-因子关联矩阵的行数为因子(s1,…,sn)数量;amn表示故障gm在因子sn影响下的影响程度。Wherein, A represents the fault-factor association matrix, the number of columns of the fault-factor association matrix is the number of fault points (g 1 ,…,g m ), the number of rows of the fault-factor association matrix is the number of factors (s 1 ,…,s n ); a mn represents the influence degree of fault g m under the influence of factor s n .

可选地,所述处理路径包括故障定位路径和故障排除路径;Optionally, the processing path includes a fault location path and a fault elimination path;

所述故障节点包括所述故障定位路径对应的第一故障节点、所述故障排除路径对应的第二故障节点以及所述系统组成节点对应的第三故障节点;The fault nodes include a first fault node corresponding to the fault location path, a second fault node corresponding to the fault elimination path, and a third fault node corresponding to the system component node;

所述因子权重向量包括所述第一故障节点对应的第一因子权重向量,所述第二故障节点对应的第二因子权重向量以及所述第三故障节点对应的第三因子权重向量。The factor weight vector includes a first factor weight vector corresponding to the first fault node, a second factor weight vector corresponding to the second fault node, and a third factor weight vector corresponding to the third fault node.

可选地,所述计算评价单元,具体用于:Optionally, the calculation and evaluation unit is specifically used to:

计算所述故障-因子关联矩阵与所述第一因子权重向量的乘积,将乘积结果取模得到第一评分值,并将其记为S1;Calculate the product of the fault-factor association matrix and the first factor weight vector, take the modulus of the product result to obtain a first score value, and record it as S1;

计算所述故障-因子关联矩阵与所述第二因子权重向量的乘积,将乘积结果取模得到第二评分值,并将其记为S2;Calculate the product of the fault-factor association matrix and the second factor weight vector, take the modulus of the product result to obtain a second score value, and record it as S2;

计算所述故障-因子关联矩阵与所述第三因子权重向量的乘积,将乘积结果取模得到第三评分值,并将其记为W。The product of the fault-factor association matrix and the third factor weight vector is calculated, and the product result is modulo to obtain a third score value, which is recorded as W.

可选地,所述计算评价单元,具体用于:Optionally, the calculation and evaluation unit is specifically used to:

将所述第一评分值S1与所述第二评分值S2进行比较,确定出所述S1与所述S2中的最大值,将其记为S;Compare the first score value S1 with the second score value S2, determine the maximum value between S1 and S2, and record it as S;

计算所述S与所述W的比值S/W,根据所述比值对所述故障排查策略进行评价得到评价结果。A ratio S/W of the S to the W is calculated, and the fault troubleshooting strategy is evaluated according to the ratio to obtain an evaluation result.

可选地,所述计算评价单元304,具体用于:Optionally, the calculation and evaluation unit 304 is specifically used to:

计算所述故障-因子关联矩阵与所述第一因子权重向量的乘积,将乘积结果取模得到第一评分值,并将其记为S1;Calculate the product of the fault-factor association matrix and the first factor weight vector, take the modulus of the product result to obtain a first score value, and record it as S1;

计算所述故障-因子关联矩阵与所述第二因子权重向量的乘积,将乘积结果取模得到第二评分值,并将其记为S2;Calculate the product of the fault-factor association matrix and the second factor weight vector, take the modulus of the product result to obtain a second score value, and record it as S2;

计算所述故障-因子关联矩阵与所述第三因子权重向量的乘积,将乘积结果取模得到第三评分值,并将其记为W。The product of the fault-factor association matrix and the third factor weight vector is calculated, and the product result is modulo to obtain a third score value, which is recorded as W.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本申请实施例所提供的一种基于多因子的故障排查策略评价方法的流程示意图;FIG1 is a schematic diagram of a flow chart of a multi-factor based troubleshooting strategy evaluation method provided in an embodiment of the present application;

图2为本申请实施例所提供的一种故障排查模型的结构示意图;FIG2 is a schematic diagram of the structure of a fault troubleshooting model provided in an embodiment of the present application;

图3为本申请实施例所提供的一种基于多因子的故障排查策略评价装置的结构示意图。FIG3 is a schematic diagram of the structure of a multi-factor based troubleshooting strategy evaluation device provided in an embodiment of the present application.

具体实施方式Detailed ways

本申请实施例提供的方案中,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In the solutions provided in the embodiments of this application, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

以下结合说明书附图对本申请实施例所提供的一种基于多因子的故障排查策略评价方法做进一步详细的说明,该方法具体实现方式可以包括以下步骤(方法流程如图1所示):The following is a further detailed description of a multi-factor based troubleshooting strategy evaluation method provided by an embodiment of the present application in conjunction with the accompanying drawings. The specific implementation of the method may include the following steps (the method flow is shown in FIG1 ):

步骤101,根据预设的故障排查策略构建故障排查模型,其中,所述故障排查模型包括多级系统组成节点、按照从上到下的顺序与最后一级系统组成节点连接的多个故障节点以及通过问题索引路径以及处理路径与所述系统组成节点连接的至少一个问题节点。Step 101, construct a troubleshooting model according to a preset troubleshooting strategy, wherein the troubleshooting model includes a multi-level system component node, a plurality of fault nodes connected to the last level system component node in a top-to-bottom order, and at least one problem node connected to the system component node through a problem index path and a processing path.

具体的,在本申请实施例所提供的方案中,系统组成节点是指描述软件模块和/或硬件模块等的节点,例如,系统组成节点包括软件节点、硬件节点或内存节点,多级系统组成节点之间通过故障排查系统真实结构组成路径连接,按照划分粒度由粗到细自顶向下划分,例如,内存节点是硬件节点的子节点,内存松动节点是内存节点的子节;故障节点用于描述发生的故障,例如,故障节点所包含的内容包括内存松动或磁盘空间不足等;问题节点用于表征故障所导致系统存在的问题,其中,问题节点通过问题索引路径与系统组成节点关联,并依据处理路径确定引起该问题的故障进行排查,其中,处理路径包括故障定位路径和故障排除路径。Specifically, in the scheme provided in the embodiments of the present application, a system component node refers to a node that describes a software module and/or a hardware module, etc. For example, a system component node includes a software node, a hardware node or a memory node. The multi-level system component nodes are connected by a real structure component path of the troubleshooting system, and are divided from top to bottom from coarse to fine according to the division granularity. For example, a memory node is a child node of a hardware node, and a loose memory node is a child node of a memory node; a fault node is used to describe a fault that has occurred, for example, the content contained in a fault node includes loose memory or insufficient disk space, etc.; a problem node is used to characterize problems in the system caused by the fault, wherein the problem node is associated with the system component node through a problem index path, and the fault causing the problem is determined based on a processing path for troubleshooting, wherein the processing path includes a fault location path and a fault troubleshooting path.

为了便于理解上述故障排查模型,下面以举例的形式对故障排查模型进行简要介绍。参见图2,本申请实施例所提供的一种故障排查模型的结构示意图。In order to facilitate understanding of the above-mentioned troubleshooting model, the troubleshooting model is briefly introduced below in the form of an example. Referring to FIG2 , a schematic diagram of the structure of a troubleshooting model provided in an embodiment of the present application.

具体的,在图2中,故障排查模型包括四级系统组成节点,在故障排查模型中按照从上到下的顺序依次为第一级系统组成节点、第二级系统组成节点、第三级系统组成节点以及第四级系统组成节点,其中,第一级系统组成节点包括系统组成节点1;第二级系统组成节点包括与系统组成节点1连接的系统组成节点2以及系统组成节点3;第三级系统组成节点包括与系统组成节点2连接的系统组成节点4、系统组成节点5以及系统组成节点6,与系统组成节点3连接的系统组成节点7以及系统组成节点8;第四级系统组成节点包括与系统组成节点4连接的系统组成节点9以及系统组成节点10,与系统组成节点5连接的系统组成节点11以及系统组成节点12,与系统组成节点6连接的系统组成接点13以及系统组成节点14,与系统组成节点7连接的系统组成节点15以及系统组成节点16,与系统组成节点8连接的系统组成节点17以及系统组成节点18。Specifically, in Figure 2, the fault troubleshooting model includes four levels of system component nodes, which are first-level system component nodes, second-level system component nodes, third-level system component nodes and fourth-level system component nodes in order from top to bottom in the fault troubleshooting model, wherein the first-level system component nodes include system component node 1; the second-level system component nodes include system component node 2 and system component node 3 connected to system component node 1; the third-level system component nodes include system component node 4, system component node 5 and system component node 6 connected to system component node 2, system component node 7 and system component node 8 connected to system component node 3; the fourth-level system component nodes include system component node 9 and system component node 10 connected to system component node 4, system component node 11 and system component node 12 connected to system component node 5, system component node 13 and system component node 14 connected to system component node 6, system component node 15 and system component node 16 connected to system component node 7, and system component node 17 and system component node 18 connected to system component node 8.

进一步,在图2所示的故障排查模型中还包括与第四级系统组成节点连接的11个故障节点,分别与故障节点1、故障节点2、故障节点3、故障节点4、故障节点5、故障节点6、故障节点7、故障节点8、故障节点9、故障节点10以及故障节点11。Furthermore, the fault troubleshooting model shown in Figure 2 also includes 11 fault nodes connected to the fourth-level system component nodes, namely fault node 1, fault node 2, fault node 3, fault node 4, fault node 5, fault node 6, fault node 7, fault node 8, fault node 9, fault node 10 and fault node 11.

进一步,在图2所示的故障排查模型中还包括4个问题节点,分别为Q1、Q2、Q3以及Q4;其中,问题节点Q1以及问题节点Q3通过问题索引与系统组成节点1连接,问题节点Q1通过故障定位路径与系统组成节点3以及通过故障排除路径与系统组成节点6连接,问题节点Q3通过故障排除路径与系统组成节点7连接以及通过故障定位路径与系统组成节点8连接;问题节点Q2通过问题索引与系统组成节点2连接,问题节点Q2通过故障定位路径与系统组成节点4连接;问题节点Q4通过问题索引与系统组成节点8连接,问题节点Q4通过故障排除路径与系统组成节点16连接以及通过故障定位路径与系统组成节点18连接。Furthermore, the troubleshooting model shown in Figure 2 also includes four problem nodes, namely Q1, Q2, Q3 and Q4; wherein, problem node Q1 and problem node Q3 are connected to system component node 1 through a problem index, problem node Q1 is connected to system component node 3 through a fault location path and to system component node 6 through a fault elimination path, problem node Q3 is connected to system component node 7 through a fault elimination path and to system component node 8 through a fault location path; problem node Q2 is connected to system component node 2 through a problem index, problem node Q2 is connected to system component node 4 through a fault location path; problem node Q4 is connected to system component node 8 through a problem index, problem node Q4 is connected to system component node 16 through a fault elimination path and to system component node 18 through a fault location path.

步骤102,确定所述故障排查模型中所有的问题节点,确定每个问题节点所对应的所述处理路径以及通过所述问题索引路径所连接的系统组成节点。Step 102, determining all problem nodes in the troubleshooting model, determining the processing path corresponding to each problem node and the system component nodes connected through the problem index path.

步骤103,分别确定所述处理路径以及所述系统组成节点对应的所述故障节点,将所述故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量。Step 103, respectively determining the processing path and the faulty node corresponding to the system component node, and normalizing the preset multiple factor weight information corresponding to the faulty node to obtain a normalized factor weight vector.

在一种可能实现方式中,所述处理路径包括故障定位路径和故障排除路径;In a possible implementation, the processing path includes a fault location path and a fault elimination path;

所述故障节点包括所述故障定位路径对应的第一故障节点、所述故障排除路径对应的第二故障节点以及所述系统组成节点对应的第三故障节点;The fault nodes include a first fault node corresponding to the fault location path, a second fault node corresponding to the fault elimination path, and a third fault node corresponding to the system component node;

所述因子权重向量包括所述第一故障节点对应的第一因子权重向量,所述第二故障节点对应的第二因子权重向量以及所述第三故障节点对应的第三因子权重向量。The factor weight vector includes a first factor weight vector corresponding to the first fault node, a second factor weight vector corresponding to the second fault node, and a third factor weight vector corresponding to the third fault node.

例如,参见图2,问题节点Q1通过问题索引路径所连接的系统组成节点为系统组成节点1,故障定位路径所对应的故障节点为故障节点1、故障节点2、故障节点3、故障节点4、故障节点5以及故障节点6,故障排除路径所对应的故障节点为故障节点5以及故障节点6;系统组成节点1所对应的故障节点为故障节点1、故障节点2、故障节点3、故障节点4、故障节点5、故障节点6、故障节点7、故障节点8、故障节点9、故障节点10以及故障节点11。For example, referring to Figure 2, the system component node connected to the problem node Q1 through the problem index path is system component node 1, the fault nodes corresponding to the fault location path are fault node 1, fault node 2, fault node 3, fault node 4, fault node 5 and fault node 6, and the fault nodes corresponding to the fault elimination path are fault node 5 and fault node 6; the fault nodes corresponding to system component node 1 are fault node 1, fault node 2, fault node 3, fault node 4, fault node 5, fault node 6, fault node 7, fault node 8, fault node 9, fault node 10 and fault node 11.

具体的,每个故障节点所对应的权重信息均由不同的侧重方向的权重值组成,不同侧重方向分别描述该故障节点在对应方向上的敏感程度,在系统中不同侧重方向的权重值由系统管理员评分产生。在本申请实施例所提供的方案中,不同侧重方向通过“因子”来表征。在同一系统中所有故障点选取的因子数据应保持一致,即每个故障点均有n个影响因子组成。故障点所对应的权重信息通过下述公式表示:Specifically, the weight information corresponding to each fault node is composed of weight values of different emphasis directions, and different emphasis directions respectively describe the sensitivity of the fault node in the corresponding direction. The weight values of different emphasis directions in the system are generated by the system administrator's scoring. In the scheme provided in the embodiment of the present application, different emphasis directions are characterized by "factors". The factor data selected for all fault points in the same system should be consistent, that is, each fault point is composed of n influencing factors. The weight information corresponding to the fault point is expressed by the following formula:

X=δ123+…+δn X=δ 123 +…+δ n

其中,X表示故障点对应的多因子权重信息;δn表示第n个侧重方向的影响因子。Among them, X represents the multi-factor weight information corresponding to the fault point; δn represents the influencing factor of the nth emphasis direction.

进一步,通过每个故障节点对应的多因子权重信息对每个问题节点的问题索引路径和处理路径进行评估之前,需要将每个故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量。具体的,将每个故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量的方式有多种,下面以一种较佳的方式为例进行说明。Furthermore, before evaluating the problem index path and processing path of each problem node through the multi-factor weight information corresponding to each fault node, it is necessary to normalize the preset multiple factor weight information corresponding to each fault node to obtain a normalized factor weight vector. Specifically, there are many ways to normalize the preset multiple factor weight information corresponding to each fault node to obtain a normalized factor weight vector, and a preferred way is used as an example to illustrate below.

在一种可能实现的方式中,将所述故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量,包括:确定出所述权重信息中权重的最大值以及最小值;根据所述最大值和所述最小值以及任一因子对应的权重值计算出所述任一因子对应的归一化权重值;根据所述归一化权重值得到所述归一化的因子权重向量。In one possible implementation, the preset multiple factor weight information corresponding to the fault node is normalized to obtain a normalized factor weight vector, including: determining the maximum and minimum values of the weights in the weight information; calculating the normalized weight value corresponding to any factor based on the maximum and minimum values and the weight value corresponding to any factor; and obtaining the normalized factor weight vector based on the normalized weight values.

在一种可能实现的方式中,根据所述最大值和所述最小值以及任一因子对应的权重值计算出所述任一因子对应的归一化权重值,包括:In a possible implementation manner, calculating a normalized weight value corresponding to any factor according to the maximum value, the minimum value, and the weight value corresponding to any factor includes:

通过下式计算出所述任一因子对应的归一化权重值:The normalized weight value corresponding to any of the factors is calculated by the following formula:

其中,Xnorm表示所述任一因子对应的归一化权重值;X表示所述任一因子对应的权重值;Xmin表示所述预设因子权重信息中权重最小值;Xmax表示所述预设因子权重信息中权重最大值。Among them, X norm represents the normalized weight value corresponding to any factor; X represents the weight value corresponding to any factor; X min represents the minimum weight value in the preset factor weight information; X max represents the maximum weight value in the preset factor weight information.

进一步,在将每个故障节点对应的预设的多个因子权重信息进行归一化处理之后得到每个故障节点所对应的归一化的因子权重向量。具体的,每个故障节点所对应的归一化的因子权重向量通过下式表示:Furthermore, after normalizing the preset multiple factor weight information corresponding to each faulty node, a normalized factor weight vector corresponding to each faulty node is obtained. Specifically, the normalized factor weight vector corresponding to each faulty node is expressed by the following formula:

lT=(X1,X2,X3…Xn)l T =(X 1 ,X 2 ,X 3 …X n )

其中,l为列向量;X1,X2,X3…Xn分别为不同因子归一化后的权重值。Among them, l is a column vector; X 1 , X 2 , X 3 …X n are the normalized weight values of different factors.

步骤104,根据预设的故障-因子关联矩阵与所述因子权重向量计算得到评分值,根据所述评分值对所述故障排查策略进行评价得到评价结果。Step 104: A score value is calculated based on a preset fault-factor association matrix and the factor weight vector, and the fault troubleshooting strategy is evaluated based on the score value to obtain an evaluation result.

具体的,在一种可能实现的方式中,所述故障-因子关联矩阵通过下式表示:Specifically, in a possible implementation, the fault-factor association matrix is expressed by the following formula:

其中,A表示故障-因子关联矩阵,故障-因子关联矩阵的列数为故障点(g1,…,gm)数量,故障-因子关联矩阵的行数为因子(s1,…,sn)数量;amn表示故障gm在因子sn影响下的影响程度。Wherein, A represents the fault-factor association matrix, the number of columns of the fault-factor association matrix is the number of fault points (g 1 ,…,g m ), the number of rows of the fault-factor association matrix is the number of factors (s 1 ,…,s n ); a mn represents the influence degree of fault g m under the influence of factor s n .

进一步,在本申请实施例所提供的方案中,将所述故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量之后,还需要根据故障点对应的因子权重向量与预设的故障-因子关联矩阵计算得到评分值。具体的,根据故障点对应的因子权重向量与预设的故障-因子关联矩阵计算得到评分值的方式有多种下面以一种较佳的方式为例进行说明。Further, in the solution provided in the embodiment of the present application, after normalizing the preset multiple factor weight information corresponding to the fault node to obtain a normalized factor weight vector, it is also necessary to calculate the score value based on the factor weight vector corresponding to the fault point and the preset fault-factor association matrix. Specifically, there are many ways to calculate the score value based on the factor weight vector corresponding to the fault point and the preset fault-factor association matrix. The following is an example of a preferred method.

在一种可能实现的方式中,根据预设的故障-因子关联矩阵与所述因子权重向量计算得到评分值,包括:计算所述故障-因子关联矩阵与所述故障定位路径所述第一因子权重向量的乘积,将乘积结果取模得到第一评分值,并将其记为S1;计算所述故障-因子关联矩阵与所述第二因子权重向量的乘积,将乘积结果取模得到第二评分值,并将其记为S2;计算所述故障-因子关联矩阵与所述第三因子权重向量的乘积,将乘积结果取模得到第三评分值,并将其记为W。In a possible implementation, the score value is calculated based on a preset fault-factor association matrix and the factor weight vector, including: calculating the product of the fault-factor association matrix and the first factor weight vector of the fault location path, taking the product modulo to obtain a first score value, and recording it as S1; calculating the product of the fault-factor association matrix and the second factor weight vector, taking the product modulo to obtain a second score value, and recording it as S2; calculating the product of the fault-factor association matrix and the third factor weight vector, taking the product modulo to obtain a third score value, and recording it as W.

具体的,在本申请实施例所提供的方案中,可通过下式计算故障-因子关联矩阵与因子权重向量的乘积:Specifically, in the solution provided in the embodiment of the present application, the product of the fault-factor association matrix and the factor weight vector can be calculated by the following formula:

其中,γ表示故障-因子关联矩阵与因子权重向量。Among them, γ represents the fault-factor association matrix and the factor weight vector.

进一步,在计算出故障-因子关联矩阵与因子权重向量的乘积之后,通过下式将乘积结果取模:Furthermore, after calculating the product of the fault-factor association matrix and the factor weight vector, the product result is modulo by the following formula:

其中,|γ|表示乘积结果取模。Among them, |γ| represents the modulus of the product result.

进一步,在一种可能实现的方式中,根据所述评分值对所述故障排查策略进行评价得到评价结果,包括:将所述第一评分值S1与所述第二评分值S2进行比较,确定出所述S1与所述S2中的最大值,将其记为S;计算所述S与所述W的比值S/W,根据所述比值对所述故障排查策略进行评价得到评价结果。Further, in a possible implementation, the troubleshooting strategy is evaluated according to the scoring value to obtain an evaluation result, including: comparing the first scoring value S1 with the second scoring value S2, determining the maximum value between S1 and S2, and recording it as S; calculating the ratio S/W of S to W, and evaluating the troubleshooting strategy according to the ratio to obtain an evaluation result.

为了便于理解上述基于多因子的故障排查策略评价方法的原理,下面以举例的形式对其进行简要介绍。In order to facilitate understanding of the principle of the above-mentioned multi-factor-based troubleshooting strategy evaluation method, a brief introduction is given below in the form of an example.

以某信息系统为例,按照逻辑规则生成故障排查流程,并利用本发明方法进行计算,得到的节点与评分,选取部分内容在下表展示:Taking a certain information system as an example, a troubleshooting process is generated according to logical rules, and the method of the present invention is used to calculate the nodes and scores obtained. Some of the selected contents are shown in the following table:

本申请实施例所提供的方案中,根据预设的故障排查策略构建故障排查模型,然后确定所述故障排查模型中所有的问题节点,确定每个问题节点所对应的所述处理路径以及通过所述问题索引路径所连接的系统组成节点,再分别确定所述处理路径以及所述系统组成节点对应的所述故障节点,将所述故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量,最后根据预设的故障-因子关联矩阵与所述因子权重向量计算得到评分值,根据所述评分值对所述故障排查策略进行评价得到评价结果。即通过建立故障排查模型,推导出能够排查故障的所有可能路径,并对所有排查路径进行加权计算,衡量不同权重下判断条件的影响范围和定位能力是否恰当,最后对整条路径进行得分累计求和,对整条排查路径乃至整个排查策略进行评估,进而对故障排除策略进行量化评估方法,填补了故障排查策略评估的空白。In the scheme provided in the embodiment of the present application, a fault troubleshooting model is constructed according to a preset fault troubleshooting strategy, and then all the problem nodes in the fault troubleshooting model are determined, the processing path corresponding to each problem node and the system component nodes connected by the problem index path are determined, and then the processing path and the fault node corresponding to the system component node are respectively determined, and the preset multiple factor weight information corresponding to the fault node is normalized to obtain a normalized factor weight vector, and finally a score value is calculated according to the preset fault-factor association matrix and the factor weight vector, and the fault troubleshooting strategy is evaluated according to the score value to obtain an evaluation result. That is, by establishing a fault troubleshooting model, all possible paths that can troubleshoot the fault are derived, and all troubleshooting paths are weighted to measure whether the influence range and positioning ability of the judgment conditions under different weights are appropriate, and finally the score of the entire path is accumulated and summed, and the entire troubleshooting path and even the entire troubleshooting strategy are evaluated, and then a quantitative evaluation method for the troubleshooting strategy is performed, filling the gap in the evaluation of the troubleshooting strategy.

进一步,在本申请实施例所提供的方案中,在对故障排查策略评价过程中,需要的关联信息较低,仅需要待评估问题节点及附属的系统组成下属节点,无需其他节点即可进行问题评估。覆盖范围函数处理流程相同,可以实现复用,进一步降低算法计算复杂度。Furthermore, in the solution provided in the embodiment of the present application, in the process of evaluating the troubleshooting strategy, the required related information is relatively low, and only the problem node to be evaluated and the subordinate nodes of the attached system components are required, and the problem evaluation can be performed without other nodes. The coverage function processing flow is the same, and reuse can be achieved, further reducing the algorithm calculation complexity.

基于与图1所示的方法相同的发明构思,本申请实施例提供了一种基于多因子的故障排查策略评价装置,参见图3,该装置包括:Based on the same inventive concept as the method shown in FIG1 , the embodiment of the present application provides a multi-factor based troubleshooting strategy evaluation device, referring to FIG3 , the device includes:

构建单元301,用于根据预设的故障排查策略构建故障排查模型,其中,所述故障排查模型包括多级系统组成节点、按照从上到下的顺序与最后一级系统组成节点连接的多个故障节点以及通过问题索引路径以及处理路径与所述系统组成节点连接的至少一个问题节点;A construction unit 301 is used to construct a fault troubleshooting model according to a preset fault troubleshooting strategy, wherein the fault troubleshooting model includes a multi-level system component node, a plurality of fault nodes connected to the last level of system component nodes in a top-to-bottom order, and at least one problem node connected to the system component node through a problem index path and a processing path;

确定单元302,用于确定所述故障排查模型中所有的问题节点,确定每个问题节点所对应的所述处理路径以及通过所述问题索引路径所连接的系统组成节点;A determination unit 302 is used to determine all problem nodes in the troubleshooting model, determine the processing path corresponding to each problem node and the system component nodes connected through the problem index path;

处理单元303,用于分别确定所述处理路径以及所述系统组成节点对应的所述故障节点,将所述故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量;The processing unit 303 is used to respectively determine the processing path and the fault node corresponding to the system component node, and normalize the preset multiple factor weight information corresponding to the fault node to obtain a normalized factor weight vector;

计算评价单元304,用于根据预设的故障-因子关联矩阵与所述因子权重向量计算得到评分值,根据所述评分值对所述故障排查策略进行评价得到评价结果。The calculation and evaluation unit 304 is used to calculate a score value according to a preset fault-factor association matrix and the factor weight vector, and evaluate the fault troubleshooting strategy according to the score value to obtain an evaluation result.

可选地,所述处理单元303,具体用于:Optionally, the processing unit 303 is specifically configured to:

确定出所述权重信息中权重的最大值以及最小值;Determine the maximum value and the minimum value of the weight in the weight information;

根据所述最大值和所述最小值以及任一因子对应的权重值计算出所述任一因子对应的归一化权重值;Calculating a normalized weight value corresponding to any factor according to the maximum value, the minimum value and the weight value corresponding to any factor;

根据所述归一化权重值得到所述归一化的因子权重向量。The normalized factor weight vector is obtained according to the normalized weight value.

可选地,所述处理单元303,具体用于:Optionally, the processing unit 303 is specifically configured to:

通过下式计算出所述任一因子对应的归一化权重值:The normalized weight value corresponding to any of the factors is calculated by the following formula:

其中,Xnorm表示所述任一因子对应的归一化权重值;X表示所述任一因子对应的权重值;Xmin表示所述预设因子权重信息中权重最小值;Xmax表示所述预设因子权重信息中权重最大值。Among them, X norm represents the normalized weight value corresponding to any factor; X represents the weight value corresponding to any factor; X min represents the minimum weight value in the preset factor weight information; X max represents the maximum weight value in the preset factor weight information.

可选地,所述故障-因子关联矩阵通过下式表示:Optionally, the fault-factor association matrix is expressed by the following formula:

其中,A表示故障-因子关联矩阵,故障-因子关联矩阵的列数为故障点(g1,…,gm)数量,故障-因子关联矩阵的行数为因子(s1,…,sn)数量;amn表示故障gm在因子sn影响下的影响程度。Wherein, A represents the fault-factor association matrix, the number of columns of the fault-factor association matrix is the number of fault points (g 1 ,…,g m ), the number of rows of the fault-factor association matrix is the number of factors (s 1 ,…,s n ); a mn represents the influence degree of fault g m under the influence of factor s n .

可选地,所述处理路径包括故障定位路径和故障排除路径;Optionally, the processing path includes a fault location path and a fault elimination path;

所述故障节点包括所述故障定位路径对应的第一故障节点、所述故障排除路径对应的第二故障节点以及所述系统组成节点对应的第三故障节点;The fault nodes include a first fault node corresponding to the fault location path, a second fault node corresponding to the fault elimination path, and a third fault node corresponding to the system component node;

所述因子权重向量包括所述第一故障节点对应的第一因子权重向量,所述第二故障节点对应的第二因子权重向量以及所述第三故障节点对应的第三因子权重向量。The factor weight vector includes a first factor weight vector corresponding to the first fault node, a second factor weight vector corresponding to the second fault node, and a third factor weight vector corresponding to the third fault node.

可选地,所述计算评价单元304,具体用于:Optionally, the calculation and evaluation unit 304 is specifically used to:

计算所述故障-因子关联矩阵与所述第一因子权重向量的乘积,将乘积结果取模得到第一评分值,并将其记为S1;Calculate the product of the fault-factor association matrix and the first factor weight vector, take the modulus of the product result to obtain a first score value, and record it as S1;

计算所述故障-因子关联矩阵与所述第二因子权重向量的乘积,将乘积结果取模得到第二评分值,并将其记为S2;Calculate the product of the fault-factor association matrix and the second factor weight vector, take the modulus of the product result to obtain a second score value, and record it as S2;

计算所述故障-因子关联矩阵与所述第三因子权重向量的乘积,将乘积结果取模得到第三评分值,并将其记为W。The product of the fault-factor association matrix and the third factor weight vector is calculated, and the product result is modulo to obtain a third score value, which is recorded as W.

可选地,所述计算评价单元304,具体用于:Optionally, the calculation and evaluation unit 304 is specifically used to:

将所述第一评分值S1与所述第二评分值S2进行比较,确定出所述S1与所述S2中的最大值,将其记为S;Compare the first score value S1 with the second score value S2, determine the maximum value between S1 and S2, and record it as S;

计算所述S与所述W的比值S/W,根据所述比值对所述故障排查策略进行评价得到评价结果。A ratio S/W of the S to the W is calculated, and the fault troubleshooting strategy is evaluated according to the ratio to obtain an evaluation result.

可选地,所述计算评价单元304,具体用于:Optionally, the calculation and evaluation unit 304 is specifically used to:

计算所述故障-因子关联矩阵与所述第一因子权重向量的乘积,将乘积结果取模得到第一评分值,并将其记为S1;Calculate the product of the fault-factor association matrix and the first factor weight vector, take the modulus of the product result to obtain a first score value, and record it as S1;

计算所述故障-因子关联矩阵与所述第二因子权重向量的乘积,将乘积结果取模得到第二评分值,并将其记为S2;Calculate the product of the fault-factor association matrix and the second factor weight vector, take the modulus of the product result to obtain a second score value, and record it as S2;

计算所述故障-因子关联矩阵与所述第三因子权重向量的乘积,将乘积结果取模得到第三评分值,并将其记为W。The product of the fault-factor association matrix and the third factor weight vector is calculated, and the product result is modulo to obtain a third score value, which is recorded as W.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the flowchart and/or block diagram of the method, device (system) and computer program product according to the embodiment of the present application. It should be understood that each process and/or box in the flowchart and/or block diagram, and the combination of the process and/or box in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (9)

1.一种基于多因子的故障排查策略评价方法,其特征在于,包括:1. A multi-factor based troubleshooting strategy evaluation method, characterized by comprising: 根据预设的故障排查策略构建故障排查模型,其中,所述故障排查模型包括多级系统组成节点、按照从上到下的顺序与最后一级系统组成节点连接的多个故障节点以及通过问题索引路径以及处理路径与所述系统组成节点连接的至少一个问题节点;Constructing a fault troubleshooting model according to a preset fault troubleshooting strategy, wherein the fault troubleshooting model includes a multi-level system component node, a plurality of fault nodes connected to the last level of system component nodes in a top-to-bottom order, and at least one problem node connected to the system component node through a problem index path and a processing path; 确定所述故障排查模型中所有的问题节点,确定每个问题节点所对应的所述处理路径以及通过所述问题索引路径所连接的系统组成节点;Determine all problem nodes in the troubleshooting model, determine the processing path corresponding to each problem node and the system component nodes connected by the problem index path; 分别确定所述处理路径以及所述系统组成节点对应的所述故障节点,将所述故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量;Determine the processing path and the fault node corresponding to the system component node respectively, and normalize the preset multiple factor weight information corresponding to the fault node to obtain a normalized factor weight vector; 根据预设的故障-因子关联矩阵与所述因子权重向量计算得到评分值,根据所述评分值对所述故障排查策略进行评价得到评价结果;A scoring value is calculated according to a preset fault-factor association matrix and the factor weight vector, and the fault troubleshooting strategy is evaluated according to the scoring value to obtain an evaluation result; 所述处理路径包括故障定位路径和故障排除路径;The processing path includes a fault location path and a fault elimination path; 所述故障节点包括所述故障定位路径对应的第一故障节点、所述故障排除路径对应的第二故障节点以及所述系统组成节点对应的第三故障节点;The fault nodes include a first fault node corresponding to the fault location path, a second fault node corresponding to the fault elimination path, and a third fault node corresponding to the system component node; 所述因子权重向量包括所述第一故障节点对应的第一因子权重向量,所述第二故障节点对应的第二因子权重向量以及所述第三故障节点对应的第三因子权重向量。The factor weight vector includes a first factor weight vector corresponding to the first fault node, a second factor weight vector corresponding to the second fault node, and a third factor weight vector corresponding to the third fault node. 2.如权利要求1所述的方法,其特征在于,将所述故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量,包括:2. The method according to claim 1, characterized in that normalizing the preset multiple factor weight information corresponding to the faulty node to obtain a normalized factor weight vector comprises: 确定出所述权重信息中权重的最大值以及最小值;Determine the maximum value and the minimum value of the weight in the weight information; 根据所述最大值和所述最小值以及任一因子对应的权重值计算出所述任一因子对应的归一化权重值;Calculating a normalized weight value corresponding to any factor according to the maximum value, the minimum value and the weight value corresponding to any factor; 根据所述归一化权重值得到所述归一化的因子权重向量。The normalized factor weight vector is obtained according to the normalized weight value. 3.如权利要求2所述的方法,其特征在于,根据所述最大值和所述最小值以及任一因子对应的权重值计算出所述任一因子对应的归一化权重值,包括:3. The method according to claim 2, characterized in that the normalized weight value corresponding to any factor is calculated according to the maximum value, the minimum value and the weight value corresponding to any factor, comprising: 通过下式计算出所述任一因子对应的归一化权重值:The normalized weight value corresponding to any of the factors is calculated by the following formula: 其中,Xnorm表示所述任一因子对应的归一化权重值;X表示所述任一因子对应的权重值;Xmin表示所述预设因子权重信息中权重最小值;Xmax表示所述预设因子权重信息中权重最大值。Among them, X norm represents the normalized weight value corresponding to any factor; X represents the weight value corresponding to any factor; X min represents the minimum weight value in the preset factor weight information; X max represents the maximum weight value in the preset factor weight information. 4.如权利要求3所述的方法,其特征在于,所述故障-因子关联矩阵通过下式表示:4. The method according to claim 3, characterized in that the fault-factor association matrix is represented by the following formula: 其中,A表示故障-因子关联矩阵,故障-因子关联矩阵的列数为故障点(g1,…,gm)数量,故障-因子关联矩阵的行数为因子(s1,…,sn)数量;amn表示故障gm在因子sn影响下的影响程度。Wherein, A represents the fault-factor association matrix, the number of columns of the fault-factor association matrix is the number of fault points (g 1 ,…,g m ), the number of rows of the fault-factor association matrix is the number of factors (s 1 ,…,s n ); a mn represents the influence degree of fault g m under the influence of factor s n . 5.如权利要求1所述的方法,其特征在于,根据所述故障-因子关联矩阵与所述因子权重向量计算得到评分值,包括:5. The method according to claim 1, characterized in that the scoring value is calculated according to the fault-factor association matrix and the factor weight vector, comprising: 计算所述故障-因子关联矩阵与所述第一因子权重向量的乘积,将乘积结果取模得到第一评分值,并将其记为S1;Calculate the product of the fault-factor association matrix and the first factor weight vector, take the modulus of the product result to obtain a first score value, and record it as S1; 计算所述故障-因子关联矩阵与所述第二因子权重向量的乘积,将乘积结果取模得到第二评分值,并将其记为S2;Calculate the product of the fault-factor association matrix and the second factor weight vector, take the modulus of the product result to obtain a second score value, and record it as S2; 计算所述故障-因子关联矩阵与所述第三因子权重向量的乘积,将乘积结果取模得到第三评分值,并将其记为W。The product of the fault-factor association matrix and the third factor weight vector is calculated, and the product result is modulo to obtain a third score value, which is recorded as W. 6.如权利要求5所述的方法,其特征在于,根据所述评分值对所述故障排查策略进行评价得到评价结果,包括:6. The method according to claim 5, characterized in that evaluating the troubleshooting strategy according to the score value to obtain an evaluation result comprises: 将所述第一评分值S1与所述第二评分值S2进行比较,确定出所述S1与所述S2中的最大值,将其记为S;Compare the first score value S1 with the second score value S2, determine the maximum value between S1 and S2, and record it as S; 计算所述S与所述W的比值S/W,根据所述比值对所述故障排查策略进行评价得到评价结果。A ratio S/W of the S to the W is calculated, and the fault troubleshooting strategy is evaluated according to the ratio to obtain an evaluation result. 7.一种基于多因子的故障排查策略评价装置,其特征在于,包括:7. A multi-factor based troubleshooting strategy evaluation device, comprising: 构建单元,用于根据预设的故障排查策略构建故障排查模型,其中,所述故障排查模型包括多级系统组成节点、按照从上到下的顺序与最后一级系统组成节点连接的多个故障节点以及通过问题索引路径以及处理路径与所述系统组成节点连接的至少一个问题节点;A construction unit, configured to construct a fault troubleshooting model according to a preset fault troubleshooting strategy, wherein the fault troubleshooting model includes a multi-level system component node, a plurality of fault nodes connected to the last level of system component nodes in a top-to-bottom order, and at least one problem node connected to the system component node via a problem index path and a processing path; 确定单元,用于确定所述故障排查模型中所有的问题节点,确定每个问题节点所对应的所述处理路径以及通过所述问题索引路径所连接的系统组成节点;A determination unit, configured to determine all problem nodes in the troubleshooting model, determine the processing path corresponding to each problem node and the system component nodes connected via the problem index path; 处理单元,用于分别确定所述处理路径以及所述系统组成节点对应的所述故障节点,将所述故障节点对应的预设的多个因子权重信息进行归一化处理得到归一化的因子权重向量;A processing unit, used to respectively determine the processing path and the fault node corresponding to the system component node, and normalize the preset multiple factor weight information corresponding to the fault node to obtain a normalized factor weight vector; 计算评价单元,用于根据预设的故障-因子关联矩阵与所述因子权重向量计算得到评分值,根据所述评分值对所述故障排查策略进行评价得到评价结果;A calculation and evaluation unit, used to calculate a score value according to a preset fault-factor association matrix and the factor weight vector, and evaluate the fault troubleshooting strategy according to the score value to obtain an evaluation result; 所述处理路径包括故障定位路径和故障排除路径;The processing path includes a fault location path and a fault elimination path; 所述故障节点包括所述故障定位路径对应的第一故障节点、所述故障排除路径对应的第二故障节点以及所述系统组成节点对应的第三故障节点;The fault nodes include a first fault node corresponding to the fault location path, a second fault node corresponding to the fault elimination path, and a third fault node corresponding to the system component node; 所述因子权重向量包括所述第一故障节点对应的第一因子权重向量,所述第二故障节点对应的第二因子权重向量以及所述第三故障节点对应的第三因子权重向量。The factor weight vector includes a first factor weight vector corresponding to the first fault node, a second factor weight vector corresponding to the second fault node, and a third factor weight vector corresponding to the third fault node. 8.如权利要求7所述的装置,其特征在于,所述处理单元,具体用于:8. The device according to claim 7, characterized in that the processing unit is specifically used for: 确定出所述权重信息中权重的最大值以及最小值;Determine the maximum value and the minimum value of the weight in the weight information; 根据所述最大值和所述最小值以及任一因子对应的权重值计算出所述任一因子对应的归一化权重值;Calculating a normalized weight value corresponding to any factor according to the maximum value, the minimum value and the weight value corresponding to any factor; 根据所述归一化权重值得到所述归一化的因子权重向量。The normalized factor weight vector is obtained according to the normalized weight value. 9.如权利要求8所述的装置,其特征在于,所述计算评价单元,具体用于:9. The device according to claim 8, characterized in that the calculation and evaluation unit is specifically used for: 计算所述故障-因子关联矩阵与所述第一因子权重向量的乘积,将乘积结果取模得到第一评分值,并将其记为S1;Calculate the product of the fault-factor association matrix and the first factor weight vector, take the modulus of the product result to obtain a first score value, and record it as S1; 计算所述故障-因子关联矩阵与所述第二因子权重向量的乘积,将乘积结果取模得到第二评分值,并将其记为S2;Calculate the product of the fault-factor association matrix and the second factor weight vector, take the modulus of the product result to obtain a second score value, and record it as S2; 计算所述故障-因子关联矩阵与所述第三因子权重向量的乘积,将乘积结果取模得到第三评分值,并将其记为W。The product of the fault-factor association matrix and the third factor weight vector is calculated, and the product result is modulo to obtain a third score value, which is recorded as W.
CN202011126016.9A 2020-10-20 2020-10-20 A multi-factor based fault detection strategy evaluation method and device Active CN112347617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011126016.9A CN112347617B (en) 2020-10-20 2020-10-20 A multi-factor based fault detection strategy evaluation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011126016.9A CN112347617B (en) 2020-10-20 2020-10-20 A multi-factor based fault detection strategy evaluation method and device

Publications (2)

Publication Number Publication Date
CN112347617A CN112347617A (en) 2021-02-09
CN112347617B true CN112347617B (en) 2024-05-03

Family

ID=74358899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011126016.9A Active CN112347617B (en) 2020-10-20 2020-10-20 A multi-factor based fault detection strategy evaluation method and device

Country Status (1)

Country Link
CN (1) CN112347617B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014180400A1 (en) * 2013-11-25 2014-11-13 中兴通讯股份有限公司 Method and device for locating and processing problem
CN109150635A (en) * 2018-10-26 2019-01-04 中国农业银行股份有限公司 Failure effect analysis (FEA) method and device
CN110175745A (en) * 2019-04-26 2019-08-27 中国电力科学研究院有限公司 A kind of electric power telecommunication network risk assessment method and system based on fault modeling
CN110263856A (en) * 2019-06-20 2019-09-20 北京实力伟业环保科技有限公司 Fan trouble evaluation method, system and equipment based on Internet of Things
CN110401965A (en) * 2018-04-24 2019-11-01 中国移动通信集团广东有限公司 VoLTE voice quality dial test analysis method and system
CN110544940A (en) * 2019-09-04 2019-12-06 国电南瑞科技股份有限公司 CPS security assessment method and device considering information impact in fault recovery
CN111697566A (en) * 2020-05-19 2020-09-22 浙江工业大学 Reliability assessment method for active power distribution network information physical system considering information failure

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120317058A1 (en) * 2011-06-13 2012-12-13 Abhulimen Kingsley E Design of computer based risk and safety management system of complex production and multifunctional process facilities-application to fpso's

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014180400A1 (en) * 2013-11-25 2014-11-13 中兴通讯股份有限公司 Method and device for locating and processing problem
CN110401965A (en) * 2018-04-24 2019-11-01 中国移动通信集团广东有限公司 VoLTE voice quality dial test analysis method and system
CN109150635A (en) * 2018-10-26 2019-01-04 中国农业银行股份有限公司 Failure effect analysis (FEA) method and device
CN110175745A (en) * 2019-04-26 2019-08-27 中国电力科学研究院有限公司 A kind of electric power telecommunication network risk assessment method and system based on fault modeling
CN110263856A (en) * 2019-06-20 2019-09-20 北京实力伟业环保科技有限公司 Fan trouble evaluation method, system and equipment based on Internet of Things
CN110544940A (en) * 2019-09-04 2019-12-06 国电南瑞科技股份有限公司 CPS security assessment method and device considering information impact in fault recovery
CN111697566A (en) * 2020-05-19 2020-09-22 浙江工业大学 Reliability assessment method for active power distribution network information physical system considering information failure

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于未确知集和模糊TOPSIS决策的故障模式风险评估;陶秋香;涂继亮;程若发;潘洪亮;;计算机应用研究;20170828(09);122-125 *

Also Published As

Publication number Publication date
CN112347617A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
JP6771751B2 (en) Risk assessment method and system
JP6898562B2 (en) Machine learning programs, machine learning methods, and machine learning equipment
CN107168995B (en) Data processing method and server
KR20190032495A (en) METHOD AND DEVICE FOR MODELING EVALUATION MODELS
CN108205571B (en) Key value data table connection method and device
CN111506731A (en) Method, device and equipment for training field classification model
CN112948469B (en) Data mining method, device, computer equipment and storage medium
CN113469696A (en) User abnormality degree evaluation method and device and computer readable storage medium
CN112347617B (en) A multi-factor based fault detection strategy evaluation method and device
CN110362569A (en) The method of calibration and device of tables of data, electronic equipment, storage medium
CN109948800B (en) Risk control method and system thereof
JP4391504B2 (en) Evaluation apparatus, evaluation method, and evaluation program
CN107016028A (en) Data processing method and its equipment
CN110795342A (en) Error detection method and device
CN111176968B (en) Method and device for generating log file and related products
US20210326724A1 (en) Hypothesis evaluation system and hypothesis evaluation method
CN113128594A (en) Optimization method and equipment of evaluation model based on cross-domain data
CN114461390A (en) Evaluation method and related device combining multi-dimensional analysis and critical path method
CN103440186A (en) Method and system for testing cache acceleration
CN114416023A (en) Method and apparatus for random number generation on a pre-execution and post-consensus blockchain
CN114942396A (en) A new energy power generation component quality detection method and device
CN107369093A (en) A kind of business determines method and apparatus
CN113673811A (en) Session-based online learning performance evaluation method and device
Pan et al. Identifying the move method refactoring opportunities based on evolutionary algorithm
JP2022072149A (en) Machine learning program, device, and method

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
GR01 Patent grant
GR01 Patent grant