+

CN112035286A - Method and device for determining cause of failure, storage medium, and electronic device - Google Patents

Method and device for determining cause of failure, storage medium, and electronic device Download PDF

Info

Publication number
CN112035286A
CN112035286A CN202010866416.7A CN202010866416A CN112035286A CN 112035286 A CN112035286 A CN 112035286A CN 202010866416 A CN202010866416 A CN 202010866416A CN 112035286 A CN112035286 A CN 112035286A
Authority
CN
China
Prior art keywords
program
probability
failure
network model
classification network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010866416.7A
Other languages
Chinese (zh)
Inventor
李本浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN202010866416.7A priority Critical patent/CN112035286A/en
Publication of CN112035286A publication Critical patent/CN112035286A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2415Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
    • G06F18/24155Bayesian classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Probability & Statistics with Applications (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明提供了一种故障原因的确定方法及装置、存储介质、电子装置,其中,上述方法包括:将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,其中,所述分类网络模型为使用多组数据通过机器学习训练出的,所述多组数据中的每组数据均包括:特征属性,以及所述特征属性对应的不同类别的多个概率值;将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因,采用上述技术方案,解决了相关技术中,对于程序故障时响应较慢,不能够及时找出程序故障的故障原因等问题。

Figure 202010866416

The present invention provides a method and device, a storage medium and an electronic device for determining the cause of a failure, wherein the method includes: inputting the characteristic attributes collected when the program fails into a classification network model, so as to obtain the characteristic attributes corresponding to different Multiple probability values of categories, wherein the classification network model is trained by using multiple sets of data through machine learning, and each set of data in the multiple sets of data includes: feature attributes, and different Multiple probability values of the category; the target category corresponding to the maximum probability value among the determined multiple probability values is used as the failure cause of the program failure, and the above technical solution is used to solve the problem of the program failure in the related art. The response is slow, and the failure cause of the program failure cannot be found out in time.

Figure 202010866416

Description

故障原因的确定方法及装置、存储介质、电子装置Method and device for determining cause of failure, storage medium, and electronic device

技术领域technical field

本发明涉及通信领域,具体而言,涉及一种故障原因的确定方法及装置、存储介质、电子装置。The present invention relates to the field of communications, and in particular, to a method and device for determining a cause of a failure, a storage medium, and an electronic device.

背景技术Background technique

对于一个程序来说,最要紧的莫过于程序的高可用性,程序所带来的服务是直接面对用户,若程序不可用,那么对用户体验将造成不良影响。目前现有技术,常常是在程序出现异常时才能及时发现程序的异常情况,比如服务器资源不可用,或者锁表等问题,这时是故障已经出现。并且目前的对于程序出现问题时的解决办法,大部分都是靠人工去查看报错日志,去排查问题所在,有时候相同的错误日志,导致错误的原因不同,需要根据当时场景去进行分析才能找到正确的错误原因,这中间可能花费大量时间,这段时间造成程序的服务不可用,会极大的影响客户体验。For a program, the most important thing is the high availability of the program. The service brought by the program is directly facing the user. If the program is unavailable, it will have a bad impact on the user experience. In the current technology, the abnormality of the program can often be discovered in time when the program is abnormal, for example, the server resource is unavailable, or the table is locked. At this time, the fault has occurred. And the current solutions for program problems, most of which rely on manual inspection of error logs to troubleshoot the problem. Sometimes the same error log has different causes, and it needs to be analyzed according to the scene to find out. The correct reason for the error, it may take a lot of time in the middle, and the service of the program is unavailable during this time, which will greatly affect the customer experience.

针对相关技术中,对于程序故障时响应较慢,不能够及时找出程序故障的故障原因等问题,尚未提出有效的技术方案。In the related art, an effective technical solution has not been proposed for problems such as slow response when a program failure occurs, and failure to find out the failure cause of the program failure in time.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种故障原因的确定方法及装置、存储介质、电子装置,以至少解决相关技术中,对于程序故障时响应较慢,不能够及时找出程序故障的故障原因等问题。Embodiments of the present invention provide a method and device, a storage medium, and an electronic device for determining the cause of a failure, so as to at least solve the problems in the related art that the response to a program failure is slow and the failure cause of the program failure cannot be found in time.

根据本发明的一个实施例,提供了一种故障原因的确定方法,包括:将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,其中,所述分类网络模型为使用多组数据通过机器学习训练出的,所述多组数据中的每组数据均包括:特征属性,以及所述特征属性对应的不同类别的多个概率值;将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因。According to an embodiment of the present invention, a method for determining the cause of a fault is provided, which includes: inputting a characteristic attribute collected when a program fails into a classification network model, so as to obtain multiple probability values corresponding to different categories of the characteristic attribute , wherein the classification network model is trained by using multiple sets of data through machine learning, and each set of data in the multiple sets of data includes: feature attributes, and multiple probability values of different categories corresponding to the feature attributes ; Use the target category corresponding to the largest probability value among the determined plurality of probability values as the failure cause of the program failure.

可选地,将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值之前,上述方法还包括:为所述分类网络模型配置类别库,其中,所述类别库中包括特征属性对应的多个类别;根据程序故障时对应的特征属性,以及从所述类别库中选择的与所述程序故障对应的多个类别对所述分类网络模型进行训练。Optionally, before inputting the feature attributes collected when the program fails into the classification network model to obtain multiple probability values corresponding to different categories of the feature attributes, the above method further includes: configuring a class library for the classification network model. , wherein the category library includes multiple categories corresponding to feature attributes; the classification network is classified according to the feature attributes corresponding to the program failure and a plurality of categories selected from the category library corresponding to the program failure The model is trained.

可选地,将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,包括:确定步骤,包括:根据所述分类网络模型确定每一个类别的第一概率,第二概率,以及第三概率,其中,所述第一概率为在目标类别发生的条件下,存在所述特征属性的概率,所述第二概率为所述目标类别发生的概率,所述第三概率为所述特征属性存在的概率;确定所述第一概率以及第二概率的乘积,将所述乘积与所述第三概率的比值作为所述目标类别的概率值;循环执行上述确定步骤,以确定所述不同类别的多个概率值。Optionally, inputting the characteristic attributes collected when the program fails into the classification network model to obtain multiple probability values corresponding to different categories of the characteristic attributes, including: a determining step, including: determining each classification network model according to the classification network model. The first probability, the second probability, and the third probability of a category, where the first probability is the probability that the feature attribute exists under the condition that the target category occurs, and the second probability is the target category The probability of occurrence, the third probability is the probability of the existence of the characteristic attribute; determine the product of the first probability and the second probability, and use the ratio of the product and the third probability as the probability of the target category value; the above determination steps are performed cyclically to determine a plurality of probability values of the different categories.

可选地,将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因之后,上述方法还包括:根据程序的故障处理记录选择与所述故障原因对应的故障处理记录;根据所述故障处理记录对所述程序故障进行处理。Optionally, after using the target category corresponding to the largest probability value among the determined plurality of probability values as the failure cause of the program failure, the above method further includes: selecting the failure cause according to the failure processing record of the program. Corresponding fault handling records; process the program faults according to the fault handling records.

可选地,根据所述故障处理记录对所述程序故障进行处理,包括:在根据所述故障处理记录未成功对所述程序故障进行处理的情况下,将所述多个概率值中的第二大概率值所对应的目标类别作为所述程序故障的故障原因。Optionally, processing the program fault according to the fault processing record includes: in the case that the program fault is not successfully processed according to the fault processing record, processing the first probability value among the plurality of probability values. The target category corresponding to the two major probability values is used as the failure cause of the program failure.

可选地,在根据所述故障处理记录成功对所述程序故障进行处理的情况下,上述方法还包括:将所述故障处理记录和所述程序原因对应保存在运行程序的目标设备中。Optionally, in the case that the program failure is successfully processed according to the failure handling record, the above method further includes: correspondingly saving the failure handling record and the program cause in the target device running the program.

根据本发明的一个实施例,提供了一种故障原因的确定装置,包括:第一处理模块,用于将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,其中,所述分类网络模型为使用多组数据通过机器学习训练出的,所述多组数据中的每组数据均包括:特征属性,以及所述特征属性对应的不同类别的多个概率值;确定模块,将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因。According to an embodiment of the present invention, a device for determining a cause of a fault is provided, including: a first processing module, configured to input the characteristic attribute collected when the program fails into a classification network model, so as to obtain the corresponding characteristic attribute Multiple probability values of different categories, wherein the classification network model is trained by using multiple sets of data through machine learning, and each set of data in the multiple sets of data includes: feature attributes, and the corresponding feature attributes. multiple probability values of different categories; the determining module uses the target category corresponding to the maximum probability value among the determined multiple probability values as the failure cause of the program failure.

可选地,上述装置还包括:配置模块,用于为所述分类网络模型配置类别库,其中,所述类别库中包括特征属性对应的多个类别;根据程序故障时对应的特征属性,以及从所述类别库中选择的与所述程序故障对应的多个类别对所述分类网络模型进行训练。Optionally, the above-mentioned apparatus further includes: a configuration module configured to configure a class library for the classification network model, wherein the class library includes a plurality of categories corresponding to characteristic attributes; according to the characteristic attributes corresponding to the program failure, and The classification network model is trained from a plurality of classes selected from the class library corresponding to the program failure.

可选地,上述第一处理模块,还用于执行确定步骤,包括:根据所述分类网络模型确定每一个类别的第一概率,第二概率,以及第三概率,其中,所述第一概率为在目标类别发生的条件下,存在所述特征属性的概率,所述第二概率为所述目标类别发生的概率,所述第三概率为所述特征属性存在的概率;确定所述第一概率以及第二概率的乘积,将所述乘积与所述第三概率的比值作为所述目标类别的概率值;循环执行上述确定步骤,以确定所述不同类别的多个概率值。Optionally, the above-mentioned first processing module is further configured to perform a determining step, including: determining a first probability, a second probability, and a third probability of each category according to the classification network model, wherein the first probability is the probability that the feature attribute exists under the condition that the target category occurs, the second probability is the probability that the target category occurs, and the third probability is the probability that the feature attribute exists; determine the first probability The product of the probability and the second probability is used, and the ratio of the product and the third probability is used as the probability value of the target category; the above determination steps are performed cyclically to determine multiple probability values of the different categories.

可选地,上述装置还包括:选择模块,用于根据程序的故障处理记录选择与所述故障原因对应的故障处理记录;第二处理模块,用于根据所述故障处理记录对所述程序故障进行处理。Optionally, the above-mentioned device further includes: a selection module for selecting a fault processing record corresponding to the fault cause according to the fault processing record of the program; a second processing module for selecting the program fault according to the fault processing record. to be processed.

可选地,上述第二处理模块,还用于在根据所述故障处理记录未成功对所述程序故障进行处理的情况下,将所述多个概率值中的第二大概率值所对应的目标类别作为所述程序故障的故障原因。Optionally, the above-mentioned second processing module is further configured to, in the case that the program fault is not successfully processed according to the fault processing record, the corresponding value corresponding to the second largest probability value in the plurality of probability values. The target class serves as the failure cause for the program failure.

可选地,上述第二处理模块,还用于在根据所述故障处理记录成功对所述程序故障进行处理的情况下,将所述故障处理记录和所述程序原因对应保存在运行程序的目标设备中。Optionally, the above-mentioned second processing module is further configured to store the fault processing record and the program cause correspondingly in the target of the running program under the condition that the program fault is successfully processed according to the fault processing record. in the device.

根据本发明的另一个实施例,还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to another embodiment of the present invention, a storage medium is also provided, and a computer program is stored in the storage medium, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.

根据本发明的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present invention, there is also provided an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor is configured to run the computer program to execute any of the above Steps in Method Examples.

通过本发明,将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,其中,所述分类网络模型为使用多组数据通过机器学习训练出的,所述多组数据中的每组数据均包括:特征属性,以及所述特征属性对应的不同类别的多个概率值;将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因,即通过分类网络模型输出的概率值结果,减少了程序故障的处理时间,采用上述技术方案,解决了相关技术中,对于程序故障时响应较慢,不能够及时找出程序故障的故障原因等问题,通过分类网络模型可以对可能出现的程序故障作出故障问题预测,以及对故障问题进行快速的响应确认,避免了对于程序故障原因长时间的分析,提高了对于程序故障的处理效率。Through the present invention, the feature attributes collected when the program fails are input into the classification network model, so as to obtain multiple probability values corresponding to different categories of the feature attributes, wherein the classification network model uses multiple sets of data through machine learning After training, each set of data in the multiple sets of data includes: feature attributes, and multiple probability values of different categories corresponding to the feature attributes; The corresponding target category is used as the failure cause of the program failure, that is, the probability value result output by the classified network model reduces the processing time of the program failure, and the above technical solution solves the problem that the response to the program failure is slow in the related art. It is impossible to find out the fault cause of the program failure in time. Through the classification network model, the failure problem can be predicted for the possible program failure, and the failure problem can be quickly responded and confirmed, avoiding the long-term analysis of the program failure cause. , which improves the processing efficiency for program failures.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached image:

图1是本发明实施例的一种故障原因的确定方法的计算机终端的硬件结构框图;Fig. 1 is a hardware structure block diagram of a computer terminal of a method for determining a fault cause according to an embodiment of the present invention;

图2是根据本发明实施例的故障原因的确定方法的流程图;2 is a flowchart of a method for determining a cause of a failure according to an embodiment of the present invention;

图3是根据本发明可选实施例的一种基于朴素贝叶斯分类的程序故障处理及预测的分类网络模型的处理流程图;3 is a process flow diagram of a classification network model for program fault handling and prediction based on Naive Bayes classification according to an optional embodiment of the present invention;

图4是根据本发明实施例的故障原因的确定装置的结构框图(一);4 is a structural block diagram (1) of a device for determining a cause of a fault according to an embodiment of the present invention;

图5是根据本发明实施例的故障原因的确定装置的结构框图(二)。FIG. 5 is a structural block diagram (2) of an apparatus for determining a cause of a failure according to an embodiment of the present invention.

具体实施方式Detailed ways

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in conjunction with embodiments. It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict.

需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence.

本申请实施例所提供的方法可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在计算机终端上为例,图1是本发明实施例的故障原因的确定方法的计算机终端的硬件结构框图。如图1所示,计算机终端可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器104,可选地,上述计算机终端还可以包括用于通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述计算机终端的结构造成限定。The methods provided by the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking running on a computer terminal as an example, FIG. 1 is a hardware structural block diagram of a computer terminal according to a method for determining a cause of a fault according to an embodiment of the present invention. As shown in FIG. 1 , the computer terminal may include one or more (only one is shown in FIG. 1 ) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data, optionally, the above-mentioned computer terminal may further include a transmission device 106 and an input and output device 108 for communication functions. Those of ordinary skill in the art can understand that the structure shown in FIG. 1 is only a schematic diagram, which does not limit the structure of the above-mentioned computer terminal.

例如,计算机终端还可包括比图1中所示更多或者更少的组件,或者具有与图1所示等同功能或比图1所示功能更多的不同的配置。存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本发明实施例中的故障原因的确定方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。For example, the computer terminal may also include more or fewer components than those shown in FIG. 1 , or have a different configuration with equivalent or more functions than those shown in FIG. 1 . The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer programs corresponding to the method for determining the cause of the failure in the embodiment of the present invention. Executing various functional applications and data processing implements the above-mentioned methods. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.

在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。In some instances, memory 104 may further include memory located remotely from processor 102, which may be connected to a computer terminal through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Transmission means 106 are used to receive or transmit data via a network. The specific example of the above-mentioned network may include a wireless network provided by the communication provider of the computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is used to communicate with the Internet in a wireless manner.

本发明实施例提供了一种故障原因的确定方法,应用于上述计算机终端中,图2是根据本发明实施例的故障原因的确定方法的流程图,如图2所示,该流程包括如下步骤:An embodiment of the present invention provides a method for determining a cause of a failure, which is applied to the above-mentioned computer terminal. FIG. 2 is a flowchart of a method for determining a cause of a failure according to an embodiment of the present invention. As shown in FIG. 2 , the process includes the following steps :

步骤S202,将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,其中,所述分类网络模型为使用多组数据通过机器学习训练出的,所述多组数据中的每组数据均包括:特征属性,以及所述特征属性对应的不同类别的多个概率值;Step S202, input the feature attributes collected when the program fails into the classification network model, so as to obtain multiple probability values corresponding to different categories of the feature attributes, wherein the classification network model is trained by using multiple sets of data through machine learning , each set of data in the multiple sets of data includes: feature attributes, and multiple probability values of different categories corresponding to the feature attributes;

步骤S204,将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因。Step S204, taking the target category corresponding to the largest probability value among the determined multiple probability values as the failure cause of the program failure.

通过上述步骤,将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,其中,所述分类网络模型为使用多组数据通过机器学习训练出的,所述多组数据中的每组数据均包括:特征属性,以及所述特征属性对应的不同类别的多个概率值;将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因,即通过分类网络模型输出的概率值结果,减少了程序故障的处理时间,采用上述技术方案,解决了相关技术中,对于程序故障时响应较慢,不能够及时找出程序故障的故障原因等问题,通过分类网络模型可以对可能出现的程序故障作出故障问题预测,以及对故障问题进行快速的响应确认,避免了对于程序故障原因长时间的分析,提高了对于程序故障的处理效率。Through the above steps, the feature attributes collected when the program fails are input into the classification network model, so as to obtain multiple probability values corresponding to different categories of the feature attributes, wherein the classification network model uses multiple sets of data through machine learning. After training, each set of data in the multiple sets of data includes: feature attributes, and multiple probability values of different categories corresponding to the feature attributes; The corresponding target category is used as the failure cause of the program failure, that is, the probability value result output by the classified network model reduces the processing time of the program failure, and the above technical solution solves the problem that the response to the program failure is slow in the related art. It is impossible to find out the fault cause of the program failure in time. Through the classification network model, the failure problem can be predicted for the possible program failure, and the failure problem can be quickly responded and confirmed, avoiding the long-term analysis of the program failure cause. , which improves the processing efficiency for program failures.

需要说明的是,上述输入到分类网络模型中的特征属性可以是一个,也可以同时存在多个,这是根据分类网络模型的训练过程决定的,可以进行灵活的变换,本发明实施例对此不做过多限定。It should be noted that, the above-mentioned feature attributes input into the classification network model may be one or multiple at the same time, which is determined according to the training process of the classification network model, and can be flexibly transformed. Don't be too restrictive.

步骤S202中的对于分类网络模型的训练方式有多种实现方式,可选地,为所述分类网络模型配置类别库,其中,所述类别库中包括特征属性对应的多个类别;根据程序故障时对应的特征属性,以及从所述类别库中选择的与所述程序故障对应的多个类别对所述分类网络模型进行训练。In step S202, there are multiple implementations for the training method of the classification network model. Optionally, a category library is configured for the classification network model, wherein the category library includes multiple categories corresponding to the feature attributes; according to the program failure The classification network model is trained with the corresponding feature attributes at the time, and a plurality of categories corresponding to the program failure selected from the category library.

也就是说,为了便于通过分类网络模型对多个类别进行识别,以及针对不同的程序故障均可实现类别区分,在进行分类网络模型训练时,为分类网络模型配置类别库,进而从类别库中获取与程序故障对应的多个类别来进行对分类网络模型的训练。That is to say, in order to facilitate the identification of multiple categories through the classification network model, and to achieve category distinction for different program faults, when training the classification network model, configure a class library for the classification network model, and then from the category library Obtain multiple categories corresponding to program failures to train the classification network model.

可选地,将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,包括:确定步骤,包括:根据所述分类网络模型确定每一个类别的第一概率,第二概率,以及第三概率,其中,所述第一概率为在目标类别发生的条件下,存在所述特征属性的概率,所述第二概率为所述目标类别发生的概率,所述第三概率为所述特征属性存在的概率;确定所述第一概率以及第二概率的乘积,将所述乘积与所述第三概率的比值作为所述目标类别的概率值;循环执行上述确定步骤,以确定所述不同类别的多个概率值。Optionally, inputting the characteristic attributes collected when the program fails into the classification network model to obtain multiple probability values corresponding to different categories of the characteristic attributes, including: a determining step, including: determining each classification network model according to the classification network model. The first probability, the second probability, and the third probability of a category, where the first probability is the probability that the feature attribute exists under the condition that the target category occurs, and the second probability is the target category The probability of occurrence, the third probability is the probability of the existence of the characteristic attribute; determine the product of the first probability and the second probability, and use the ratio of the product and the third probability as the probability of the target category value; the above determination steps are performed cyclically to determine a plurality of probability values of the different categories.

简而言之,为了使确定出的多个概率值更加准确,在通过分类网络模型得出特征属性对应不同类别的多个概率值时,需要通过分类网络模型确定在目标类别发生的条件下,存在特征属性的第一概率;目标类别在程序故障时的发生第二概率;多个不同特征属性存在的相互独立的第三概率,进一步的结合条件概率与贝叶斯公式,将第一概率于第二概率相乘与第三概率的进行比例运算,进而将比例运算的比值结果作为目标类别的概率值,从而循环执行上述比例运算,确定出多个不同类别所一一对应的概率值。In short, in order to make the determined multiple probability values more accurate, when obtaining multiple probability values of feature attributes corresponding to different categories through the classification network model, it is necessary to determine through the classification network model that under the condition that the target category occurs, The first probability of the existence of characteristic attributes; the second probability of the occurrence of the target category when the program fails; the third independent probability of the existence of multiple different characteristic attributes, and further combining the conditional probability and the Bayesian formula, the first probability is calculated as The second probability is multiplied by the third probability to perform a proportional operation, and then the ratio result of the proportional operation is used as the probability value of the target category, so that the above proportional operation is performed cyclically to determine the probability values corresponding to multiple different categories one-to-one.

可选地,将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因之后,上述方法还包括:根据程序的故障处理记录选择与所述故障原因对应的故障处理记录;根据所述故障处理记录对所述程序故障进行处理。Optionally, after using the target category corresponding to the largest probability value among the determined plurality of probability values as the failure cause of the program failure, the above method further includes: selecting the failure cause according to the failure processing record of the program. Corresponding fault handling records; process the program faults according to the fault handling records.

也就是说,为了提高对确定故障原因的程序故障的处理效率,在通过分类模型完成程序故障的目标类别确认后,从运行程序的目标设备中选择之前在程序故障时,故障原因与当前程序故障的目标类别的原因相同或相似的故障处理记录,对当前已确认目标类别的程序故障进行处理,从而加快了对程序故障的处理响应。That is to say, in order to improve the processing efficiency of the program failure that determines the cause of the failure, after completing the target category confirmation of the program failure through the classification model, select from the target devices that run the program before the program failure, the failure cause and the current program failure The fault processing records of the same or similar cause of the target category of the target category, the program fault of the currently confirmed target category is processed, thereby speeding up the processing response to the program fault.

可选地,根据所述故障处理记录对所述程序故障进行处理,包括:在根据所述故障处理记录未成功对所述程序故障进行处理的情况下,将所述多个概率值中的第二大概率值所对应的目标类别作为所述程序故障的故障原因。Optionally, processing the program fault according to the fault processing record includes: in the case that the program fault is not successfully processed according to the fault processing record, processing the first probability value among the plurality of probability values. The target category corresponding to the two major probability values is used as the failure cause of the program failure.

由于程序故障种类的多样性,选择出来的故障处理记录并不一定能成功的对程序故障进行处理,这时,将分类网络模型确认出的多个概率值中处于当前最大概率值下的第二大概率值所对应的目标类别作为程序故障的故障原因,进而在故障处理记录中重新选择与第二大概率值对应的故障处理记录对程序故障进行处理。Due to the diversity of program failure types, the selected failure handling records may not be able to successfully handle program failures. The target category corresponding to the high probability value is used as the fault cause of the program fault, and then the fault processing record corresponding to the second largest probability value is reselected in the fault processing record to process the program fault.

可选地,在根据所述故障处理记录成功对所述程序故障进行处理的情况下,上述方法还包括:将所述故障处理记录和所述程序故障原因对应保存在运行程序的目标设备中。Optionally, in the case that the program failure is successfully processed according to the failure processing record, the above method further includes: correspondingly saving the failure processing record and the program failure cause in the target device running the program.

也就是说,在利用故障处理记录成功的完成程序故障处理后,为了下一次出现相同程序故障时可以快速处理,因此,需要将故障处理记录和程序故障原因对应保存在运行程序的目标设备中。That is to say, after the program fault processing is successfully completed by using the fault processing record, in order to quickly handle the same program fault next time, it is necessary to store the fault processing record and the program fault cause in the target device running the program correspondingly.

为了更好的理解上述故障原因的确定流程,以下结合可选实施例进行说明,但不用于限定本发明实施例的技术方案。In order to better understand the process of determining the cause of the above-mentioned fault, the following description is given in conjunction with optional embodiments, but is not used to limit the technical solutions of the embodiments of the present invention.

本发明可选实施例的技术背景是基于朴素贝叶斯算法进行的,朴素贝叶斯分类是贝叶斯分类中最简单,也是常见的一种分类方法从数学角度来说,分类问题可做如下定义:已知集合C=y1,y2,....,yn和I=x1,x2,....,xn确定映射规则y=f(x),使得任意x∈I有且仅有一个y∈C,使得y∈f(x)I成立,其中C叫做类别集合,其中每一个元素是一个类别,而I叫做项集合(特征集合),其中每一个元素是一个待分类项,f叫做分类器。分类算法的任务就是构造分类器f。The technical background of the optional embodiment of the present invention is based on the Naive Bayes algorithm. Naive Bayes classification is the simplest and common classification method in Bayesian classification. From a mathematical point of view, the classification problem can be done by Defined as follows: Given the sets C=y 1 , y 2 ,....,y n and I=x 1 ,x 2 ,....,x n determine the mapping rule y=f(x) such that any x ∈I has one and only one y∈C, such that y∈f(x)I holds, where C is called a category set, where each element is a category, and I is called an item set (feature set), where each element is An item to be classified, f is called a classifier. The task of a classification algorithm is to construct a classifier f.

程序在运行时发生的错误以及现场情况(相当于本发明实施例中的程序故障),可以作为程序的一个特征属性,将每次出现的不同错误作为一个特征集合,例如,每次程序报出的错误日志,错误发生的时间,错误发生时服务器的资源信息,程序的QoS(Quality ofService,联网服务质量,简称QoS)等等,都可以作为一个特征属性来构成特征集合。The errors that occur during the running of the program and the on-site situation (equivalent to the program failure in the embodiment of the present invention) can be used as a characteristic attribute of the program, and the different errors that occur each time are regarded as a characteristic set, for example, each time the program reports The error log, the time when the error occurs, the resource information of the server when the error occurs, the QoS of the program (Quality of Service, quality of service, QoS for short), etc., can be used as a feature attribute to form a feature set.

程序每次发生错误的具体原因可以作为类别(相当于本发明实施例中的目标类别),例如:服务器资源不足,并发过大,等等可以作为一个类别集合。The specific reason for each occurrence of an error in the program can be used as a category (equivalent to the target category in the embodiment of the present invention), for example, insufficient server resources, excessive concurrency, etc., can be used as a category set.

为了便于对本发明实施例中的分类网络模型的理解,现对工作过程进行如下解释:In order to facilitate the understanding of the classification network model in the embodiment of the present invention, the working process is now explained as follows:

(1)、设D是训练元组(相当于本发明实施例中的特征属性)和它们相关联的类标号(相当于本发明实施例中的类别)的集合。每个元组用一个n维属性向量X={x1,x2,...,xn}表示。(1) Let D be a set of training tuples (equivalent to feature attributes in the embodiment of the present invention) and their associated class labels (equivalent to categories in the embodiment of the present invention). Each tuple is represented by an n-dimensional attribute vector X={x 1, x 2 ,...,x n }.

(2)、假定有m个类标号C1,C2,...Cm,给定元组X,分类法将预测X属于具有最高后验概率的类。也就是说,朴素贝叶斯分类法预测X属于类Ci,当且仅当P(Ci|X)>P(Cj|X),1≤j≤m,j≠i;这样,P(Ci|X)最大的类C1称为最大后验概率。根据贝叶斯定理:(2) Assuming there are m class labels C 1 , C 2 ,...C m , given a tuple X, the classification method will predict that X belongs to the class with the highest posterior probability. That is, naive Bayesian classification predicts that X belongs to class C i if and only if P(C i |X)>P(C j |X), 1≤j≤m, j≠i; thus, P The class C 1 with the largest (C i |X) is called the maximum posterior probability. According to Bayes' theorem:

Figure BDA0002649885730000091
其中,式中P(X|Ci)为在模式属于Ci类的条件下出现X的概率密度,称为X的类条件概率密度;P(Ci)表示在所研究的识别问题中出现Ci类的概率,又称为先验概率;P(X)是特征向量X的概率密度。
Figure BDA0002649885730000091
where P(X|C i ) is the probability density of X appearing under the condition that the pattern belongs to class C i , which is called the class conditional probability density of X; The probability of class C i , also known as prior probability; P(X) is the probability density of feature vector X.

(3)、由于P(X)对所有类为常数,所以只需要P(Ci|X)P(Ci)最大即可。若类的先验概率未知,则通常假定这些类是等概率的,即P(C1)=P(C2)=...=P(Cm),并据此对P(Ci|X)最大化,否则最大化P(Ci|X)P(Ci);(3) Since P(X) is a constant for all classes, it is only necessary that P(C i |X)P(C i ) is the largest. If the prior probabilities of the classes are unknown, the classes are usually assumed to be equally probable, ie P(C 1 )=P(C 2 )=...=P(C m ), and P(C i | X) maximizes, otherwise maximizes P(C i |X)P(C i );

(4)、给定具有很多属性的数据集,计算P(Ci|X)的开销非常大。为了降低计算开销,可以做类条件独立的朴素假定。给定元组的类标号,假定属性值有条件地相互独立。因此,得到

Figure BDA0002649885730000101
考察该属性是分类的还是连续值的,例如,为了计算P(X|Ci),考虑如下两种情况:(4) Given a dataset with many attributes, the cost of computing P(C i |X) is very large. In order to reduce the computational cost, a naive assumption of class condition independence can be made. Given a tuple of class labels, attribute values are assumed to be conditionally independent of each other. Therefore, get
Figure BDA0002649885730000101
Consider whether the attribute is categorical or continuous-valued, for example, to compute P(X|C i ), consider the following two cases:

(a)、如果Ak是分类属性,则P(xk|Ci)是D中属性Ak的值为xk的Ci类的元组数除以D中Ci类的元组数|Ci,D|(a) If A k is a categorical attribute, then P(x k |C i ) is the number of tuples of class C i with the value of attribute A k in D divided by the number of tuples of class C i in D |C i,D |

(b)、如果Ak是连续值属性,则假定连续值属性服从均值为η、标准差为σ的高斯分布,由下式定义:(b) If A k is a continuous-valued attribute, it is assumed that the continuous-valued attribute obeys a Gaussian distribution with mean η and standard deviation σ, which is defined by the following formula:

Figure BDA0002649885730000102
即P(xk|Ci)=g(xkcici);
Figure BDA0002649885730000102
That is, P(x k |C i )=g(x kcici );

(5)、为了预测X得类标号,对每个类Ci,计算P(Ci|X)P(Ci)。该分类法预测输入元组X的类为Ci,当且仅当,P(X|Ci)P(Ci)>P(X|Cj)P(Cj),1≤j≤m,j≠i。即是,被预测的类标号是使P(X|Ci)P(Ci)最大的类Ci(5) In order to predict the class label of X, for each class C i , calculate P(C i |X)P(C i ). This taxonomy predicts that the class of the input tuple X is C i if and only if, P(X|C i )P(C i )>P(X|C j )P(C j ), 1≤j≤m , j≠i. That is, the predicted class label is the class C i that maximizes P(X|C i )P(C i ).

本发明可选实施例提出了一种基于朴素贝叶斯分类的程序故障处理及预测的分类网络模型。如图3所示,该网络模型的处理流程如下:An optional embodiment of the present invention proposes a classification network model for program fault processing and prediction based on Naive Bayes classification. As shown in Figure 3, the processing flow of the network model is as follows:

步骤S302:准备阶段,确定特征属性,例如,程序中常见的“错误日志,访问时间,程序的QoS”等特征属性,同时明确预测值是什么,并对每个特征属性进行适当划分,然后由人工对一部分数据进行分类,形成训练样本,这一阶段是整个朴素贝叶斯分类中唯一需要人工完成的阶段,其质量对整个过程将有重要影响,分类器的质量很大程度上由特征属性、特征属性划分及训练样本质量决定。Step S302: In the preparation stage, determine the characteristic attributes, for example, the characteristic attributes such as "error log, access time, QoS of the program" that are common in the program, and at the same time clarify what the predicted value is, and divide each characteristic attribute appropriately, and then use Manually classify a part of the data to form training samples. This stage is the only stage in the entire Naive Bayes classification that needs to be done manually. Its quality will have an important impact on the entire process. The quality of the classifier is largely determined by the feature attributes. , feature attribute division and training sample quality determination.

步骤S304:训练阶段,输入特征属性和训练样本进而得到不同输出的分类器;这个阶段就是生成分类器,主要工作是计算每个类别在训练样本中的出现频率及每个特征属性划分对每个类别的条件概率P(yi)。Step S304: In the training stage, input feature attributes and training samples to obtain classifiers with different outputs; this stage is to generate classifiers, and the main job is to calculate the frequency of occurrence of each category in the training samples and the division of each feature attribute for each. The conditional probability P(y i ) of the class.

步骤S306:应用阶段,以P(x|yi)P(yi)最大项作为x所属类别,对每个类别计算P(x|yi)P(yi)的值,这个阶段是使用分类器对新数据进行分类,输入是分类器和新数据,输出是新数据的分类结果。Step S306: In the application stage, the maximum item of P(x|y i )P(y i ) is used as the category to which x belongs, and the value of P(x|y i )P(y i ) is calculated for each category. The classifier classifies the new data, the input is the classifier and the new data, and the output is the classification result of the new data.

需要说明的是,当出现P(xk|Ci)=0时,即某个类别下某个特征属性项没有出现时就出现这种现象,这时会出现的情况是:尽管没有这个零概率,仍然可能得到一个表明X属于Ci类的高概率。此时,可以通过拉普拉斯校准或拉普拉斯估计法来避免这一现象的出现,具体的,假定训练数据库D很大,以至于对每个计数加1造成的估计概率的变化可以忽略不计,从而方便地避免概率值为0。It should be noted that this phenomenon occurs when P(x k |C i )=0, that is, when a certain feature attribute item under a certain category does not appear, then the situation will be: although there is no such zero probability, it is still possible to get a high probability that X belongs to class Ci. At this time, the occurrence of this phenomenon can be avoided by Laplace calibration or Laplace estimation. Specifically, it is assumed that the training database D is large, so that the change in the estimated probability caused by adding 1 to each count can be Negligible, thus conveniently avoiding a probability value of 0.

为了更好地理解上述的基于朴素贝叶斯分类的程序故障处理及预测的分类网络模型,以下通过一个实际案例进行说明。In order to better understand the above-mentioned classification network model for program failure processing and prediction based on Naive Bayes classification, an actual case is used to illustrate the following.

在分类网络模型已完成训练后,对一组新数据进行处理,假设该组新数据存在两种类别:C1:服务器资源不足;C2:程序死锁;该组新数据的特征属性为:A1:错误日志,A2:访问时间,A3:程序的QoS。After the classification network model has been trained, a new set of data is processed, assuming that the new set of data has two categories: C 1 : insufficient server resources; C 2 : program deadlock; the characteristic attributes of this set of new data are: A1 : Error log, A2 : Access time, A3: QoS of the program.

当需要确定在A1、A2、A3等3种特征属性存在的前提下,为Cj类别的概率,用条件概率表示就是P(Cj|A1A2A3),结合上述的贝叶斯公式可得出:

Figure BDA0002649885730000111
由于该组新数据存在两种类别,因此,需要求得P(C1|A1A2A3)和P(C2|A1A2A3)的概率,进而通过比较C1、C2哪个分类的可能性大,从而可以得出该组新数据的分类结果。也就是说,该组新数据的分类结果等价于P(A1A2A3|Cj)P(Cj)最大值的求取。When it is necessary to determine the probability of category C j under the premise of the existence of three characteristic attributes such as A 1 , A 2 , and A 3 , the conditional probability is expressed as P(C j |A 1 A 2 A 3 ), combined with the above Bayesian formula can be obtained:
Figure BDA0002649885730000111
Since there are two categories of new data in this group, it is necessary to obtain the probabilities of P(C 1 |A 1 A 2 A 3 ) and P(C 2 |A 1 A 2 A 3 ), and then by comparing C 1 and C 2 Which classification is more likely, so that the classification results of this new set of data can be obtained. That is to say, the classification result of this group of new data is equivalent to finding the maximum value of P(A 1 A 2 A 3 |C j )P(C j ).

进一步的,令Ai之间是相互独立的,那么:P(A1A2A3|Cj)=P(A1|Cj)P(A2|Cj)P(A3|Cj);Further, let A i be independent of each other, then: P(A 1 A 2 A 3 |C j )=P(A 1 |C j )P(A 2 |C j )P(A 3 |C j );

P(A1|C1)=Y1;P(A2|C1)=Y2;P(A3|C1)=Y3P(A 1 |C 1 )=Y 1 ; P(A 2 |C 1 )=Y 2 ; P(A 3 |C 1 )=Y 3 ;

P(A1|C2)=Y3;P(A2|C2)=Y4;P(A3|C5)=Y6P(A 1 |C 2 )=Y 3 ; P(A 2 |C 2 )=Y 4 ; P(A 3 |C 5 )=Y 6 ;

P(A1A2A3|C1)=Y1 Y2 Y3P(A 1 A 2 A 3 |C 1 )=Y 1 Y 2 Y 3 ;

P(A1A2A3|C2)=Y4 Y5 Y6P(A 1 A 2 A 3 |C 2 )=Y 4 Y 5 Y 6 ;

如果出现Y1 Y2 Y3>Y4 Y5 Y6,则说明该组新数据经过分类网络模型处理后确定的类别为服务器资源不足的C1,如果出现Y1 Y2 Y3<Y4 Y5 Y6,则说明该组新数据经过分类网络模型处理后确定的类别为程序死锁的C2If Y 1 Y 2 Y 3 > Y 4 Y 5 Y 6 , it means that the category of the new data after processing by the classification network model is C 1 with insufficient server resources, if Y 1 Y 2 Y 3 <Y 4 Y 5 Y 6 , it means that this group of new data is classified as C 2 of program deadlock after being processed by the classification network model.

通过本发明可选实施例,解决了相关技术中,解决了相关技术中,对于程序故障时响应较慢,不能够及时找出程序故障的故障原因等问题,通过分类网络模型可以对可能出现的程序故障作出故障问题预测,以及对故障问题进行快速的响应确认,避免了对于程序故障原因长时间的分析,提高了对于程序故障的处理效率,而且本发明可选实施例所提供的这种分类网络模型结构,可以使得对于突发的程序问题处理反应根据迅速,能及时发现问题所在点,反应处理,并对于可能出现的问题及时作出预测及反馈对应的处理方法,从而提高了开发人员的程序异常问题处理的效率以及提升了程序代码的可用性,且不需要人工提取特征属性。The optional embodiment of the present invention solves the problems in the related art, such as the slow response to the program failure and the inability to find out the failure cause of the program failure in time. Predicting failure problems for program failures, and quickly responding to and confirming failure problems, avoiding long-term analysis of the causes of program failures, and improving the processing efficiency of program failures, and the classification provided by optional embodiments of the present invention The network model structure makes it possible to quickly respond to sudden program problems, find the point of the problem in time, respond to the treatment, and make predictions and feedback corresponding processing methods for possible problems in time, thereby improving the developer's program. The efficiency of abnormal problem processing and the usability of program code are improved, and there is no need to manually extract feature attributes.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present invention.

在本实施例中还提供了一种故障原因的确定装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, an apparatus for determining a fault cause is also provided, and the apparatus is used to implement the above-mentioned embodiments and preferred implementations, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.

图4是根据本发明实施例的故障原因的确定装置的结构框图,如图4所示,该装置包括:FIG. 4 is a structural block diagram of an apparatus for determining a cause of a fault according to an embodiment of the present invention. As shown in FIG. 4 , the apparatus includes:

(1)第一处理模块42,用于将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,其中,所述分类网络模型为使用多组数据通过机器学习训练出的,所述多组数据中的每组数据均包括:特征属性,以及所述特征属性对应的不同类别的多个概率值;(1) The first processing module 42 is used to input the characteristic attributes collected when the program fails into the classification network model, so as to obtain multiple probability values corresponding to different categories of the characteristic attributes, wherein the classification network model is Trained by using multiple sets of data through machine learning, each set of data in the multiple sets of data includes: feature attributes, and multiple probability values of different categories corresponding to the feature attributes;

(2)确定模块44,将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因。(2) The determination module 44 takes the target category corresponding to the largest probability value among the determined plurality of probability values as the failure cause of the program failure.

通过上述装置,将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,其中,所述分类网络模型为使用多组数据通过机器学习训练出的,所述多组数据中的每组数据均包括:特征属性,以及所述特征属性对应的不同类别的多个概率值;将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因,即通过分类网络模型输出的概率值结果,减少了程序故障的处理时间,采用上述技术方案,解决了相关技术中,对于程序故障时响应较慢,不能够及时找出程序故障的故障原因等问题,通过分类网络模型可以对可能出现的程序故障作出故障问题预测,以及对故障问题进行快速的响应确认,避免了对于程序故障原因长时间的分析,提高了对于程序故障的处理效率。Through the above device, the feature attributes collected when the program fails are input into the classification network model, so as to obtain multiple probability values corresponding to different categories of the feature attributes, wherein the classification network model uses multiple sets of data through machine learning. After training, each set of data in the multiple sets of data includes: feature attributes, and multiple probability values of different categories corresponding to the feature attributes; The corresponding target category is used as the failure cause of the program failure, that is, the probability value result output by the classified network model reduces the processing time of the program failure, and the above technical solution solves the problem that the response to the program failure is slow in the related art. It is impossible to find out the fault cause of the program failure in time. Through the classification network model, the failure problem can be predicted for the possible program failure, and the failure problem can be quickly responded and confirmed, avoiding the long-term analysis of the program failure cause. , which improves the processing efficiency for program failures.

需要说明的是,上述输入到分类网络模型中的特征属性可以是一个,也可以同时存在多个,这是根据分类网络模型的训练过程决定的,可以进行灵活的变换,本发明实施例对此不做过多限定。It should be noted that, the above-mentioned feature attributes input into the classification network model may be one or multiple at the same time, which is determined according to the training process of the classification network model, and can be flexibly transformed. Don't be too restrictive.

图5是根据本发明实施例的另一种故障原因的确定装置,如图5所示,该装置除包括图4所示的所有模块外,还包括:FIG. 5 is another device for determining the cause of a fault according to an embodiment of the present invention. As shown in FIG. 5 , the device includes all the modules shown in FIG. 4 , and further includes:

可选地,上述装置还包括:配置模块40,用于为所述分类网络模型配置类别库,其中,所述类别库中包括特征属性对应的多个类别;根据程序故障时对应的特征属性,以及从所述类别库中选择的与所述程序故障对应的多个类别对所述分类网络模型进行训练。Optionally, the above-mentioned apparatus further includes: a configuration module 40, configured to configure a class library for the classification network model, wherein the class library includes a plurality of categories corresponding to characteristic attributes; according to the characteristic attributes corresponding to the program failure, and training the classification network model with a plurality of categories selected from the category library and corresponding to the program failure.

也就是说,为了便于通过分类网络模型对多个类别进行识别,以及针对不同的程序故障均可实现类别区分,在进行分类网络模型训练时,为分类网络模型配置类别库,进而从类别库中获取与程序故障对应的多个类别来进行对分类网络模型的训练。That is to say, in order to facilitate the identification of multiple categories through the classification network model, and to achieve category distinction for different program faults, when training the classification network model, configure a class library for the classification network model, and then from the category library Obtain multiple categories corresponding to program failures to train the classification network model.

可选地,上述第一处理模块42,还用于执行确定步骤,包括:根据所述分类网络模型确定每一个类别的第一概率,第二概率,以及第三概率,其中,所述第一概率为在目标类别发生的条件下,存在所述特征属性的概率,所述第二概率为所述目标类别发生的概率,所述第三概率为所述特征属性存在的概率;确定所述第一概率以及第二概率的乘积,将所述乘积与所述第三概率的比值作为所述目标类别的概率值;循环执行上述确定步骤,以确定所述不同类别的多个概率值。Optionally, the above-mentioned first processing module 42 is further configured to perform a determining step, including: determining a first probability, a second probability, and a third probability of each category according to the classification network model, wherein the first probability The probability is the probability that the characteristic attribute exists under the condition that the target category occurs, the second probability is the probability that the target category occurs, and the third probability is the probability that the characteristic attribute exists; A product of a probability and a second probability, and the ratio of the product and the third probability is used as the probability value of the target category; the above determination steps are performed cyclically to determine multiple probability values of the different categories.

简而言之,为了使确定出的多个概率值更加准确,在通过分类网络模型得出特征属性对应不同类别的多个概率值时,需要通过分类网络模型确定在目标类别发生的条件下,存在特征属性的第一概率;目标类别在程序故障时的发生第二概率;多个不同特征属性存在的相互独立的第三概率,进一步的结合条件概率与贝叶斯公式,将第一概率于第二概率相乘与第三概率的进行比例运算,进而将比例运算的比值结果作为目标类别的概率值,从而循环执行上述比例运算,确定出多个不同类别所一一对应的概率值。In short, in order to make the determined multiple probability values more accurate, when obtaining multiple probability values of feature attributes corresponding to different categories through the classification network model, it is necessary to determine through the classification network model that under the condition that the target category occurs, The first probability of the existence of characteristic attributes; the second probability of the occurrence of the target category when the program fails; the third independent probability of the existence of multiple different characteristic attributes, and further combining the conditional probability and the Bayesian formula, the first probability is calculated as The second probability is multiplied by the third probability to perform a proportional operation, and then the ratio result of the proportional operation is used as the probability value of the target category, so that the above proportional operation is performed cyclically to determine the probability values corresponding to multiple different categories one-to-one.

可选地,上述装置还包括:选择模块46,用于根据程序的故障处理记录选择与所述故障原因对应的故障处理记录;第二处理模块,用于根据所述故障处理记录对所述程序故障进行处理。Optionally, the above-mentioned device further includes: a selection module 46 for selecting a fault processing record corresponding to the fault cause according to the fault processing record of the program; a second processing module for selecting the program according to the fault processing record. Troubleshoot.

也就是说,为了提高对确定故障原因的程序故障的处理效率,在通过分类模型完成程序故障的目标类别确认后,从运行程序的目标设备中选择之前在程序故障时,故障原因与当前程序故障的目标类别的原因相同或相似的故障处理记录,对当前已确认目标类别的程序故障进行处理,从而加快了对程序故障的处理响应。That is to say, in order to improve the processing efficiency of the program failure that determines the cause of the failure, after completing the target category confirmation of the program failure through the classification model, select from the target devices that run the program before the program failure, the failure cause and the current program failure The fault processing records of the same or similar cause of the target category of the target category, the program fault of the currently confirmed target category is processed, thereby speeding up the processing response to the program fault.

可选地,上述第二处理模块48,还用于在根据所述故障处理记录未成功对所述程序故障进行处理的情况下,将所述多个概率值中的第二大概率值所对应的目标类别作为所述程序故障的故障原因。Optionally, the above-mentioned second processing module 48 is further configured to, in the case that the program fault is not successfully processed according to the fault processing record, the corresponding second largest probability value in the plurality of probability values. target class as the failure cause of the program failure.

由于程序故障种类的多样性,选择出来的故障处理记录并不一定能成功的对程序故障进行处理,这时,将分类网络模型确认出的多个概率值中处于当前最大概率值下的第二大概率值所对应的目标类别作为程序故障的故障原因,进而在故障处理记录中重新选择与第二大概率值对应的故障处理记录对程序故障进行处理。Due to the diversity of program failure types, the selected failure handling records may not be able to successfully handle program failures. The target category corresponding to the high probability value is used as the fault cause of the program fault, and then the fault processing record corresponding to the second largest probability value is reselected in the fault processing record to process the program fault.

可选地,上述第二处理模块48,还用于在根据所述故障处理记录成功对所述程序故障进行处理的情况下,将所述故障处理记录和所述程序原因对应保存在运行程序的目标设备中。Optionally, the above-mentioned second processing module 48 is further configured to store the fault processing record and the program cause correspondingly in the running program under the condition that the program fault is successfully processed according to the fault processing record. in the target device.

也就是说,在利用故障处理记录成功的完成程序故障处理后,为了下一次出现相同程序故障时可以快速处理,因此,需要将故障处理记录和程序故障原因对应保存在运行程序的目标设备中。That is to say, after the program fault processing is successfully completed by using the fault processing record, in order to quickly handle the same program fault next time, it is necessary to store the fault processing record and the program fault cause in the target device running the program correspondingly.

需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above modules can be implemented by software or hardware, and the latter can be implemented in the following ways, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.

本发明的实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。An embodiment of the present invention further provides a storage medium, where a computer program is stored in the storage medium, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.

在一个示例性实施例中,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:In an exemplary embodiment, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps:

S1,将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,其中,所述分类网络模型为使用多组数据通过机器学习训练出的,所述多组数据中的每组数据均包括:特征属性,以及所述特征属性对应的不同类别的多个概率值;S1, input the feature attributes collected when the program fails into a classification network model, so as to obtain multiple probability values corresponding to different categories of the feature attributes, wherein the classification network model is obtained by using multiple sets of data through machine learning training Each group of data in the multiple sets of data includes: feature attributes, and multiple probability values of different categories corresponding to the feature attributes;

S2,将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因。S2. The target category corresponding to the largest probability value among the determined multiple probability values is used as the failure cause of the program failure.

本发明的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项的方法。An embodiment of the present invention further provides a storage medium, where the storage medium includes a stored program, wherein the above-mentioned program executes any one of the above-mentioned methods when running.

本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present invention also provides an electronic device, comprising a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.

可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.

可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:

S1,将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,其中,所述分类网络模型为使用多组数据通过机器学习训练出的,所述多组数据中的每组数据均包括:特征属性,以及所述特征属性对应的不同类别的多个概率值;S1, input the feature attributes collected when the program fails into a classification network model, so as to obtain multiple probability values corresponding to different categories of the feature attributes, wherein the classification network model is obtained by using multiple sets of data through machine learning training Each group of data in the multiple sets of data includes: feature attributes, and multiple probability values of different categories corresponding to the feature attributes;

S2,将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因。S2. The target category corresponding to the largest probability value among the determined multiple probability values is used as the failure cause of the program failure.

可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM), a random access memory (Random Access Memory, referred to as RAM), Various media that can store program codes, such as removable hard disks, magnetic disks, or optical disks.

可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not described herein again in this embodiment.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device, which can be centralized on a single computing device, or distributed in a network composed of multiple computing devices Alternatively, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device and executed by the computing device, and in some cases, in a different order than here The steps shown or described are performed either by fabricating them separately into individual integrated circuit modules, or by fabricating multiple modules or steps of them into a single integrated circuit module. As such, the present invention is not limited to any particular combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1.一种故障原因的确定方法,其特征在于,包括:1. a method for determining a cause of failure, characterized in that, comprising: 将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,其中,所述分类网络模型为使用多组数据通过机器学习训练出的,所述多组数据中的每组数据均包括:特征属性,以及所述特征属性对应的不同类别的多个概率值;The feature attributes collected when the program fails are input into the classification network model to obtain multiple probability values corresponding to different categories of the feature attributes, wherein the classification network model is trained by using multiple sets of data through machine learning, Each of the multiple sets of data includes: feature attributes, and multiple probability values of different categories corresponding to the feature attributes; 将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因。The target category corresponding to the largest probability value among the determined plurality of probability values is used as the failure cause of the program failure. 2.根据权利要求1所述的方法,其特征在于,将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值之前,所述方法还包括:2. The method according to claim 1, characterized in that, before inputting the characteristic attributes collected when the program fails into a classification network model to obtain multiple probability values corresponding to different categories of the characteristic attributes, the method Also includes: 为所述分类网络模型配置类别库,其中,所述类别库中包括特征属性对应的多个类别;Configuring a category library for the classification network model, wherein the category library includes multiple categories corresponding to feature attributes; 根据程序故障时对应的特征属性,以及从所述类别库中选择的与所述程序故障对应的多个类别对所述分类网络模型进行训练。The classification network model is trained according to the characteristic attributes corresponding to the program failure and a plurality of categories corresponding to the program failure selected from the category library. 3.根据权利要求1所述的方法,其特征在于,将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,包括:3. The method according to claim 1, wherein the characteristic attributes collected when the program fails are input into the classification network model, so as to obtain a plurality of probability values corresponding to different categories of the characteristic attributes, including: 确定步骤,包括:根据所述分类网络模型确定每一个类别的第一概率,第二概率,以及第三概率,其中,所述第一概率为在目标类别发生的条件下,存在所述特征属性的概率,所述第二概率为所述目标类别发生的概率,所述第三概率为所述特征属性存在的概率;确定所述第一概率以及第二概率的乘积,将所述乘积与所述第三概率的比值作为所述目标类别的概率值;The determining step includes: determining a first probability, a second probability, and a third probability of each category according to the classification network model, wherein the first probability is that the feature attribute exists under the condition that the target category occurs probability, the second probability is the probability of occurrence of the target category, and the third probability is the probability of the existence of the characteristic attribute; determine the product of the first probability and the second probability, and combine the product with the The ratio of the third probability is used as the probability value of the target category; 循环执行上述确定步骤,以确定所述不同类别的多个概率值。The above determination steps are performed cyclically to determine a plurality of probability values for the different categories. 4.根据权利要求1所述的方法,其特征在于,将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因之后,所述方法还包括:4 . The method according to claim 1 , wherein after taking the target category corresponding to the determined maximum probability value among the plurality of probability values as the failure cause of the program failure, the method further comprises: 5 . 根据程序的故障处理记录选择与所述故障原因对应的故障处理记录;Select the fault processing record corresponding to the fault cause according to the fault processing record of the program; 根据所述故障处理记录对所述程序故障进行处理。The program fault is processed according to the fault processing record. 5.根据权利要求4所述的方法,其特征在于,根据所述故障处理记录对所述程序故障进行处理,包括:5. The method according to claim 4, wherein processing the program fault according to the fault processing record comprises: 在根据所述故障处理记录未成功对所述程序故障进行处理的情况下,将所述多个概率值中的第二大概率值所对应的目标类别作为所述程序故障的故障原因。In the case that the program failure is not successfully processed according to the failure processing record, the target category corresponding to the second largest probability value among the plurality of probability values is used as the failure cause of the program failure. 6.根据权利要求5所述的方法,其特征在于,在根据所述故障处理记录成功对所述程序故障进行处理的情况下,所述方法还包括:6. The method according to claim 5, characterized in that, in the case that the program fault is successfully processed according to the fault processing record, the method further comprises: 将所述故障处理记录和所述程序故障原因对应保存在运行程序的目标设备中。The fault handling record and the program failure cause are correspondingly stored in the target device running the program. 7.一种故障原因的确定装置,其特征在于,包括:7. A device for determining a cause of failure, characterized in that, comprising: 第一处理模块,用于将程序故障时采集到的特征属性输入到分类网络模型中,以得到所述特征属性对应不同类别的多个概率值,其中,所述分类网络模型为使用多组数据通过机器学习训练出的,所述多组数据中的每组数据均包括:特征属性,以及所述特征属性对应的不同类别的多个概率值;The first processing module is used to input the characteristic attributes collected when the program fails into the classification network model, so as to obtain multiple probability values corresponding to different categories of the characteristic attributes, wherein the classification network model uses multiple sets of data Trained through machine learning, each of the multiple sets of data includes: feature attributes, and multiple probability values of different categories corresponding to the feature attributes; 确定模块,将确定的所述多个概率值中的最大概率值所对应的目标类别作为所述程序故障的故障原因。The determining module uses the determined target category corresponding to the largest probability value among the plurality of probability values as the failure cause of the program failure. 8.根据权利要求7所述的装置,其特征在于,所述装置还包括:配置模块,用于为所述分类网络模型配置类别库,其中,所述类别库中包括特征属性对应的多个类别;根据程序故障时对应的特征属性,以及从所述类别库中选择的与所述程序故障对应的多个类别对所述分类网络模型进行训练。8. The device according to claim 7, wherein the device further comprises: a configuration module configured to configure a class library for the classification network model, wherein the class library includes a plurality of corresponding feature attributes category; the classification network model is trained according to the characteristic attributes corresponding to the program failure, and a plurality of categories corresponding to the program failure selected from the category library. 9.一种计算机可读的存储介质,其特征在于,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至6任一项中所述的方法。9. A computer-readable storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to execute the program described in any one of claims 1 to 6 when running. Methods. 10.一种电子装置,包括存储器和处理器,其特征在于,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至6任一项中所述的方法。10. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute any one of claims 1 to 6 method described in.
CN202010866416.7A 2020-08-25 2020-08-25 Method and device for determining cause of failure, storage medium, and electronic device Pending CN112035286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010866416.7A CN112035286A (en) 2020-08-25 2020-08-25 Method and device for determining cause of failure, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010866416.7A CN112035286A (en) 2020-08-25 2020-08-25 Method and device for determining cause of failure, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
CN112035286A true CN112035286A (en) 2020-12-04

Family

ID=73580091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010866416.7A Pending CN112035286A (en) 2020-08-25 2020-08-25 Method and device for determining cause of failure, storage medium, and electronic device

Country Status (1)

Country Link
CN (1) CN112035286A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699048A (en) * 2021-01-13 2021-04-23 腾讯科技(深圳)有限公司 Program fault processing method, device and equipment based on artificial intelligence and storage medium
CN112882887A (en) * 2021-01-12 2021-06-01 昆明理工大学 Dynamic establishment method for service fault model in cloud computing environment
CN114881117A (en) * 2022-04-08 2022-08-09 展讯通信(上海)有限公司 Data classification method and related device
CN116595452A (en) * 2023-05-09 2023-08-15 苏州浪潮智能科技有限公司 Server fault prediction method and device, computer equipment and storage medium
CN116910245A (en) * 2023-06-13 2023-10-20 青岛海尔科技有限公司 Category determining method and device, storage medium and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008052376A (en) * 2006-08-22 2008-03-06 Fuji Xerox Co Ltd Image forming apparatus, failure diagnostic system and fault diagnostic program
US20150347926A1 (en) * 2014-06-02 2015-12-03 Salesforce.Com, Inc. Fast Naive Bayesian Framework with Active-Feature Ordering
CN105530122A (en) * 2015-12-03 2016-04-27 国网江西省电力公司信息通信分公司 A Network Fault Diagnosis Method Based on Selective Hidden Naive Bayesian Classifier
CN106570513A (en) * 2015-10-13 2017-04-19 华为技术有限公司 Fault diagnosis method and apparatus for big data network system
CN110555477A (en) * 2019-08-30 2019-12-10 青岛海信网络科技股份有限公司 municipal facility fault prediction method and device
CN110568286A (en) * 2019-09-12 2019-12-13 齐鲁工业大学 Transformer Fault Diagnosis Method and System Based on Weighted Double Hidden Naive Bayes
CN111174370A (en) * 2018-11-09 2020-05-19 珠海格力电器股份有限公司 Fault detection method and device, storage medium and electronic device
US20200159601A1 (en) * 2018-11-15 2020-05-21 International Business Machines Corporation Storage mounting event failure prediction
CN111340099A (en) * 2020-02-24 2020-06-26 上海明略人工智能(集团)有限公司 Method, device, storage medium and electronic device for determining state of object

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008052376A (en) * 2006-08-22 2008-03-06 Fuji Xerox Co Ltd Image forming apparatus, failure diagnostic system and fault diagnostic program
US20150347926A1 (en) * 2014-06-02 2015-12-03 Salesforce.Com, Inc. Fast Naive Bayesian Framework with Active-Feature Ordering
CN106570513A (en) * 2015-10-13 2017-04-19 华为技术有限公司 Fault diagnosis method and apparatus for big data network system
CN105530122A (en) * 2015-12-03 2016-04-27 国网江西省电力公司信息通信分公司 A Network Fault Diagnosis Method Based on Selective Hidden Naive Bayesian Classifier
CN111174370A (en) * 2018-11-09 2020-05-19 珠海格力电器股份有限公司 Fault detection method and device, storage medium and electronic device
US20200159601A1 (en) * 2018-11-15 2020-05-21 International Business Machines Corporation Storage mounting event failure prediction
CN110555477A (en) * 2019-08-30 2019-12-10 青岛海信网络科技股份有限公司 municipal facility fault prediction method and device
CN110568286A (en) * 2019-09-12 2019-12-13 齐鲁工业大学 Transformer Fault Diagnosis Method and System Based on Weighted Double Hidden Naive Bayes
CN111340099A (en) * 2020-02-24 2020-06-26 上海明略人工智能(集团)有限公司 Method, device, storage medium and electronic device for determining state of object

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高欣;刁新平;刘婧;张密;何杨;: "基于模型自适应选择融合的智能电表故障多分类方法", 电网技术, no. 06, pages 105 - 111 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882887A (en) * 2021-01-12 2021-06-01 昆明理工大学 Dynamic establishment method for service fault model in cloud computing environment
CN112882887B (en) * 2021-01-12 2022-08-09 昆明理工大学 Dynamic establishment method for service fault model in cloud computing environment
CN112699048A (en) * 2021-01-13 2021-04-23 腾讯科技(深圳)有限公司 Program fault processing method, device and equipment based on artificial intelligence and storage medium
CN112699048B (en) * 2021-01-13 2023-11-17 腾讯科技(深圳)有限公司 Program fault processing method, device, equipment and storage medium based on artificial intelligence
CN114881117A (en) * 2022-04-08 2022-08-09 展讯通信(上海)有限公司 Data classification method and related device
CN116595452A (en) * 2023-05-09 2023-08-15 苏州浪潮智能科技有限公司 Server fault prediction method and device, computer equipment and storage medium
CN116910245A (en) * 2023-06-13 2023-10-20 青岛海尔科技有限公司 Category determining method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN112035286A (en) Method and device for determining cause of failure, storage medium, and electronic device
US11151479B2 (en) Automated computer-based model development, deployment, and management
CN113626241B (en) Abnormality processing method, device, equipment and storage medium for application program
CN110888755A (en) A method and device for finding abnormal root cause nodes in a microservice system
CN107247666B (en) Feature selection and integrated learning-based software defect number prediction method
US10581667B2 (en) Method and network node for localizing a fault causing performance degradation of a service
JP7339321B2 (en) Machine learning model update method, computer program and management device
CN111104242A (en) Method and device for processing abnormal logs of operating system based on deep learning
JP2020512631A (en) Automated decision making using stepwise machine learning
CN110362473A (en) Test optimization method and device, storage medium, the terminal of environment
US11924018B2 (en) System for decomposing events and unstructured data
CN111274084A (en) Fault diagnosis method, apparatus, device and computer readable storage medium
CN112685207A (en) Method, apparatus and computer program product for error assessment
CN111367782B (en) Method and device for automatically generating regression test data
CN118170595A (en) Fault processing method and device and electronic equipment
CN120295923A (en) Test case execution method, device, storage medium and program product
CN114791927A (en) A data analysis method and device
CN116827759B (en) Method and device for processing restarting instruction of converging current divider
CN110177006B (en) Node testing method and device based on interface prediction model
CN116051018B (en) Election processing method, election processing device, electronic equipment and computer readable storage medium
CN117272207A (en) Data center anomaly analysis method and system
CN119272037A (en) Data anomaly detection model training method, data anomaly detection method and device
CN115065584A (en) Internet of things quality difference processing method and device
CN117544487B (en) Abnormal device determination method, device, electronic device and storage medium
CN115587138B (en) Continuous feature-independent determination of features for deviation analysis

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201204

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载