CN115794471A - Fault diagnosis optimization method, system, equipment and storage medium - Google Patents

Fault diagnosis optimization method, system, equipment and storage medium Download PDF

Info

Publication number
CN115794471A
CN115794471A CN202211586804.5A CN202211586804A CN115794471A CN 115794471 A CN115794471 A CN 115794471A CN 202211586804 A CN202211586804 A CN 202211586804A CN 115794471 A CN115794471 A CN 115794471A
Authority
CN
China
Prior art keywords
fault diagnosis
fault
information
database
diagnosis
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
CN202211586804.5A
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.)
Tiangu Information Security System Shenzhen Co ltd
Original Assignee
Tiangu Information Security System Shenzhen 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 Tiangu Information Security System Shenzhen Co ltd filed Critical Tiangu Information Security System Shenzhen Co ltd
Priority to CN202211586804.5A priority Critical patent/CN115794471A/en
Publication of CN115794471A publication Critical patent/CN115794471A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application relates to the field of fault diagnosis optimization, in particular to a fault diagnosis optimization method, a fault diagnosis optimization system, a fault diagnosis optimization device and a storage medium, wherein the method comprises the steps of obtaining fault diagnosis information and a fault diagnosis method; generating a fault diagnosis database based on the fault diagnosis information and the fault diagnosis method; screening a fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database according to the fault diagnosis database and the fault diagnosis information to obtain an updated diagnosis method; obtaining an updated database based on the updated diagnosis method and the fault diagnosis information; acquiring information of a fault to be solved; and obtaining a fault diagnosis method based on the fault information to be solved and the updated database. After the fault is checked, the fault diagnosis method corresponding to the fault to be solved can be directly searched in the updating database, so that the time for analyzing the fault solving method is saved, and the fault diagnosis method can be maintained without experiential people when the fault solving method exists.

Description

Fault diagnosis optimization method, system, equipment and storage medium
Technical Field
The present application relates to the field of fault diagnosis optimization, and in particular, to a fault diagnosis optimization method, system, device, and storage medium.
Background
The server using Linux operating system is generally called Linux server, and can be regarded as a super computer with powerful configuration function, and also has its own independent operating system, wherein the core system is mainly the Linux system, and we can all refer to Linux server, and when the server is rented, we can select the operating system of the server according to our preference and operating habit.
During the use of the server, as the use time increases, the server needs to be maintained, including the maintenance of firmware, hardware, software, systems and device drivers, but the server still may fail. When a fault occurs, after the fault is diagnosed, a solution for the fault needs to be analyzed, and the maintenance efficiency is affected.
Disclosure of Invention
In order to obtain a corresponding solution quickly according to fault information, the application provides a fault diagnosis optimization method, a fault diagnosis optimization system, fault diagnosis optimization equipment and a storage medium.
The fault diagnosis optimization method, the fault diagnosis optimization system, the fault diagnosis optimization equipment and the fault diagnosis optimization storage medium adopt the following technical scheme:
a method of fault diagnosis optimization, comprising:
acquiring fault diagnosis information and a fault diagnosis method corresponding to the fault diagnosis information;
generating a fault diagnosis database based on the fault diagnosis information and the fault diagnosis method;
according to the fault diagnosis database and the fault diagnosis information, screening the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database to obtain an updated diagnosis method;
obtaining an updated database based on the updating diagnosis method and the fault diagnosis information;
acquiring information of a fault to be solved;
and obtaining the fault diagnosis method based on the to-be-solved fault information and the updated database.
By adopting the technical scheme, the fault diagnosis database is generated according to the past fault diagnosis information and the fault diagnosis method corresponding to each fault diagnosis information, the fault diagnosis database comprises all group leader diagnosis information and fault diagnosis methods, then a plurality of fault diagnosis methods are possible for the same fault diagnosis information, the fault diagnosis methods are screened to obtain the updated diagnosis method, and the updated diagnosis method is updated in the fault diagnosis database to obtain the updated database. And when the to-be-solved fault information is met, updating the fault diagnosis method corresponding to the to-be-solved fault information in the database. After the fault is eliminated, the fault diagnosis method corresponding to the fault to be solved can be directly searched in the updated database, so that the time for analyzing the fault solving method is saved, and the fault diagnosis method can be maintained without experiential people when the fault solving method exists.
Optionally, the generating a fault diagnosis database based on the fault diagnosis information and the fault diagnosis method includes:
acquiring a fault diagnosis category based on the fault diagnosis information and the fault diagnosis method;
and generating a fault diagnosis database based on the fault diagnosis category.
By adopting the technical scheme, the fault diagnosis information is classified according to the fault diagnosis information to obtain fault diagnosis categories, each fault diagnosis category comprises the fault diagnosis information and the fault diagnosis method corresponding to the fault diagnosis information, and the fault diagnosis information is classified to facilitate finding of the fault diagnosis information.
Optionally, the screening, according to the fault diagnosis database and the fault diagnosis information, the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database, and the obtaining of the updated diagnosis method include:
judging whether a plurality of fault diagnosis methods corresponding to the fault diagnosis information exist in the fault diagnosis database or not based on the fault diagnosis information;
if a plurality of fault diagnosis methods corresponding to the fault diagnosis information exist, acquiring the use times of the fault diagnosis methods;
based on the using times, screening the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database to obtain an updated diagnosis method;
and if the plurality of fault diagnosis methods corresponding to the fault diagnosis information do not exist, not operating.
By adopting the technical scheme, whether the fault diagnosis information has a plurality of fault diagnosis methods is a fault can adopt a plurality of solutions, if the plurality of solutions exist, the using times of the fault diagnosis methods are obtained, the plurality of fault diagnosis methods are screened according to the using times to obtain the updated diagnosis method, and if the plurality of fault diagnosis methods do not exist, the updated diagnosis method is kept unchanged. When there are a plurality of failure diagnosis methods, a better solution among them is selected as the failure diagnosis method.
Optionally, the screening, based on the number of times of use, the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database to obtain an updated diagnosis method includes:
judging whether the use times are larger than preset times or not;
if the using times are larger than the preset times, acquiring the fault diagnosis method corresponding to the maximum using times, and taking the fault diagnosis method corresponding to the maximum using times as the updating diagnosis method;
and if the using times are less than or equal to the preset times, entering the next step.
By adopting the technical scheme, when a plurality of fault diagnosis methods exist in the same fault diagnosis information, the use frequency corresponding to each fault diagnosis method is obtained, if the use frequency is greater than the preset frequency, the fault diagnosis method with the maximum use frequency is obtained as the updating diagnosis method, the most used fault diagnosis method is probably an effective solution for solving the fault and is also probably a time-saving solution, and when the use frequency is less than the preset frequency, the next step is carried out.
Optionally, the obtaining the fault diagnosis method based on the to-be-solved fault information and the updated database includes:
judging whether the fault information to be solved exists in the fault diagnosis database;
if the to-be-solved fault information does not exist in the fault diagnosis database, acquiring the fault similarity of the to-be-solved fault information and the fault diagnosis information;
and obtaining the fault diagnosis method based on the fault similarity.
By adopting the technical scheme, if the to-be-solved fault diagnosis information does not exist, the fault similarity between the to-be-solved fault information and the existing fault diagnosis information is obtained, and the fault diagnosis method is obtained according to the fault similarity. Possible solutions can be given when an unknown fault is encountered.
Optionally, the obtaining the fault diagnosis method based on the fault similarity includes:
acquiring a first fault component based on the to-be-solved fault information;
acquiring a second fault component based on the fault diagnosis information;
comparing the first fault component with the second fault component to obtain the fault similarity;
and obtaining the fault diagnosis method based on the fault similarity.
By adopting the technical scheme, the fault information to be solved is analyzed to obtain a first fault composition, then a second fault composition is obtained according to the fault diagnosis information, the first fault composition and the second fault composition are compared to obtain the fault similarity, and the fault diagnosis method is obtained according to the fault similarity. And selecting a solution closest to the fault information to be solved from the existing fault diagnosis methods.
Optionally, the obtaining of the fault diagnosis method based on the fault similarity includes:
judging whether the fault similarity is greater than the preset similarity or not;
and if the fault similarity is greater than the preset similarity, taking the fault diagnosis method with the fault similarity greater than the preset similarity as the fault diagnosis method of the fault information to be solved.
By adopting the technical scheme, the preset similarity is used for judging the similarity degree of the fault to be solved and the fault diagnosis information, and when the preset similarity is larger than the preset similarity, the fault diagnosis information larger than the preset similarity is used as the solution of the fault diagnosis information to be solved. When the fault similarity is larger than the preset similarity, the fault diagnosis method with the fault similarity larger than the preset similarity is used as the fault information to be solved, and the success rate of solving the fault is improved as much as possible.
In a second aspect, the present application provides a fault diagnosis optimization system, which adopts the following technical solutions:
the first acquisition module is used for acquiring fault diagnosis information and a fault diagnosis method corresponding to the fault diagnosis information;
the generating module is used for generating a fault diagnosis database based on the fault diagnosis information and the fault diagnosis method;
the first updating module is used for screening the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database according to the fault diagnosis database and the fault diagnosis information to obtain an updated diagnosis method;
the second updating module is used for obtaining an updated database based on the updating diagnosis method and the fault diagnosis information;
the second acquisition module is used for acquiring the information of the fault to be solved;
and the third acquisition module is used for acquiring the fault diagnosis method based on the to-be-solved fault information and the updated database.
By adopting the technical scheme, the first acquisition module is connected with the generation module, the first acquisition module acquires fault diagnosis information and a fault diagnosis method corresponding to the fault diagnosis information, the generation module generates a fault diagnosis database according to the fault diagnosis information and the fault diagnosis method, the generation module is connected with the first updating module, the first updating module screens fault targeting methods to obtain an update diagnosis method, the first updating module is connected with the second updating module, the second updating module obtains the update database according to the update diagnosis method and the fault diagnosis information, the second updating module is connected with the second acquisition module, the second acquisition module acquires fault information to be solved, the second acquisition module is connected with the third acquisition module, and the third acquisition module acquires the fault diagnosis method based on the fault information to be solved and the update database. After the fault is eliminated, the fault diagnosis method corresponding to the fault to be solved can be directly searched in the updated database, so that the time for analyzing the fault solving method is saved, and the fault diagnosis method can be maintained without experiential people when the fault solving method exists.
In a third aspect, the present application provides a terminal device, which adopts the following technical solution:
a terminal device comprising a memory, a processor, said memory storing a computer program operable on the processor, said processor when loading and executing said computer program employing the method of any of the above.
By adopting the technical scheme, the computer program is generated by the method and stored in the memory so as to be loaded and executed by the processor, so that the terminal equipment is manufactured according to the memory and the processor, and the use is convenient.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium, in which a computer program is stored, which, when loaded and executed by a processor, employs a fault diagnosis optimization method as described above
By adopting the technical scheme, the fault diagnosis optimization method generates the computer program and stores the computer program in the computer readable storage medium so as to be loaded and executed by the processor, and the computer program can be conveniently read and stored through the computer readable storage medium.
In summary, the present application includes at least one of the following beneficial technical effects:
and then screening the fault diagnosis methods for the same fault diagnosis information which may have a plurality of fault diagnosis methods to obtain an updated diagnosis method, and updating the updated diagnosis method in the fault diagnosis database to obtain an updated database. And when the fault information to be solved is met, updating the fault diagnosis method corresponding to the fault information to be solved in the database. After the fault is eliminated, the fault diagnosis method corresponding to the fault to be solved can be directly searched in the updated database, so that the time for analyzing the fault solving method is saved, and the fault diagnosis method can be maintained without experiential people when the fault solving method exists.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating one embodiment of a fault diagnosis optimization method according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram illustrating one embodiment of a fault diagnosis optimization method according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram illustrating one embodiment of a fault diagnosis optimization method according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart diagram illustrating one embodiment of a fault diagnosis optimization method according to an embodiment of the present disclosure;
FIG. 5 is a schematic flow chart diagram illustrating one embodiment of a fault diagnosis optimization method according to an embodiment of the present disclosure;
FIG. 6 is a schematic flow chart diagram illustrating one embodiment of a fault diagnosis optimization method according to an embodiment of the present disclosure;
FIG. 7 is a schematic flow chart diagram of one implementation of a fault diagnosis optimization method according to an embodiment of the present application;
fig. 8 is a system block diagram of a fault diagnosis optimization system according to an embodiment of the present application.
Description of the drawings: 1. a first acquisition module; 2. a generating module; 3. a first update module; 4. a second update module; 5. a second acquisition module; 6. and a third obtaining module.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings.
In a first aspect, the present application provides a fault diagnosis optimization method.
A method of fault diagnosis optimization, comprising:
s100, acquiring fault diagnosis information and a fault diagnosis method corresponding to the fault diagnosis information.
Specifically, the fault diagnosis information and the fault diagnosis method in this embodiment take a Linux server as an example, the fault diagnosis information is a fault that has occurred once in the Linux server, and has a specific cause of the fault, such as a heating fault, including a fault type and time of the fault, and the like, and the fault type is a device that has the fault, including hardware, software, a system, and a device driver; the fault diagnosis method is a method adopted for solving fault diagnosis information according to fault which occurs once, namely fault diagnosis information. The fault diagnosis information and the fault diagnosis method corresponding to the fault diagnosis information can be manually input.
And S110, generating a fault diagnosis database based on the fault diagnosis information and the fault diagnosis method.
Specifically, the fault diagnosis database includes all fault diagnosis information and fault diagnosis methods which have occurred once by the Linux server, and any one of the occurred fault diagnosis information and the corresponding fault diagnosis method can be found in the fault diagnosis data, and no matter whether a hardware fault, a software fault or a system fault is found.
And S120, screening the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database according to the fault diagnosis database and the fault diagnosis information to obtain an updated diagnosis method.
Specifically, the update diagnosis method is that there may be a plurality of fault diagnosis methods due to the existence of partial fault diagnosis information, and a better fault diagnosis method is selected from the plurality of fault diagnosis methods as the update diagnosis method.
And S130, obtaining an updated database based on the updated diagnosis method and the fault diagnosis information.
Specifically, for the case that there is one fault diagnosis information and there are multiple fault diagnosis methods, the update database screens the multiple fault diagnosis methods and then only retains one of the multiple fault diagnosis methods, and the database obtained after deleting the other fault diagnosis methods in the fault database is the update database.
And S140, acquiring the information of the fault to be solved.
Specifically, the information of the fault to be solved is the current fault, and the current fault needs to be solved.
And S150, obtaining a fault diagnosis method based on the information of the fault to be solved and the updated database.
Specifically, the information of the fault to be solved is searched in the updated database, and the fault diagnosis method corresponding to the information of the fault to be solved is searched, so that maintenance personnel can conveniently process the fault to be solved according to the fault diagnosis method.
The implementation principle of the embodiment is as follows: and then screening the fault diagnosis methods to obtain an updated diagnosis method for the same fault diagnosis information which may have a plurality of fault diagnosis methods, and updating the updated diagnosis method in the fault diagnosis database to obtain an updated database. And when the fault information to be solved is met, updating the fault diagnosis method corresponding to the fault information to be solved in the database. After the fault is eliminated, the fault diagnosis method corresponding to the fault to be solved can be directly searched in the updated database, so that the time for analyzing the fault solving method is saved, and the fault diagnosis method can be maintained without experiential people when the fault solving method exists.
In one implementation of this embodiment, as shown in fig. 2, the step S110 of generating the fault diagnosis database based on the fault diagnosis information and the fault diagnosis method includes:
s200, acquiring a fault diagnosis type based on the fault diagnosis information and the fault diagnosis method.
Specifically, the fault diagnosis category is to classify fault information of the same type of equipment with faults, for example, the fault information is hardware faults or software faults, the fault diagnosis information is classified into one category, and the fault diagnosis information is classified into one category.
And S210, generating a fault diagnosis database based on the fault diagnosis type.
The implementation principle of the embodiment is as follows: according to the fault diagnosis information, the fault diagnosis information is classified to obtain fault diagnosis categories, each fault diagnosis category comprises the fault diagnosis information and a fault diagnosis method corresponding to the fault diagnosis information, and the fault diagnosis information is classified to facilitate finding of the fault diagnosis information.
In one implementation of this embodiment, as shown in fig. 3, in step S120, the screening is performed on the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database according to the fault diagnosis database and the fault diagnosis information, and the obtaining the updated diagnosis method includes:
s300, judging whether a plurality of fault diagnosis methods corresponding to the fault diagnosis information exist in the fault diagnosis database or not based on the fault diagnosis information.
Specifically, it is determined whether there are multiple fault diagnosis methods corresponding to multiple fault diagnosis information in the fault diagnosis database, that is, there are multiple means for solving one fault. If there are a plurality of fault diagnosis methods in one fault diagnosis information, step S310 is performed, otherwise step S330 is performed.
And S310, if a plurality of fault diagnosis methods corresponding to the fault diagnosis information exist, acquiring the use times of the fault diagnosis methods.
Specifically, the number of times of use of the fault diagnosis method is the number of times that each of the plurality of fault diagnosis methods has been used in the past when the fault has been solved for one piece of fault diagnosis information.
S320, screening the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database based on the using times to obtain an updated diagnosis method.
Specifically, one of the failure diagnosis methods, which is used more frequently, is selected as the failure diagnosis method of the failure diagnosis information, that is, the update diagnosis method, from among the plurality of failure diagnosis methods, according to the number of times of use.
And S330, if a plurality of fault diagnosis methods corresponding to the fault diagnosis information do not exist, not operating.
Specifically, if only one fault diagnosis method exists in one fault diagnosis information, screening is not required.
The implementation principle of the embodiment is as follows: if the fault diagnosis information has a plurality of fault diagnosis methods, a plurality of solutions can be adopted, if the plurality of solutions exist, the using times of the fault diagnosis methods are obtained, the plurality of fault diagnosis methods are screened according to the using times to obtain an updated diagnosis method, and if the plurality of fault diagnosis methods do not exist, the updated diagnosis method is kept unchanged. When there are a plurality of failure diagnosis methods, a better solution among them is selected as the failure diagnosis method.
In one implementation manner of this embodiment, as shown in fig. 4, in step S320, the step of screening the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database based on the number of times of use includes:
and S400, judging whether the using times are larger than the preset times.
Specifically, the preset times are the lowest times for determining whether the fault diagnosis method can simply and quickly solve the fault, and when the preset times are larger than the preset times, the method is adopted by many people, or one diagnosis method is used by one person for many times and one diagnosis method is repeatedly used for many times, so that the diagnosis method is practical with high probability, otherwise, when other alternative methods exist, other fault diagnosis methods are certainly selected.
And S410, if the using times are larger than the preset times, acquiring the fault diagnosis method corresponding to the maximum using times, and taking the fault diagnosis method corresponding to the maximum using times as an updating diagnosis method.
Specifically, among the failure diagnosis methods whose number of times of use is greater than the preset number of times, the failure diagnosis method whose number of times of use is the largest is selected as the updated diagnosis method, and the updated diagnosis method is used as the only solution for the failure diagnosis information.
And S420, if the using times are less than or equal to the preset times, entering the next step.
Specifically, the fault diagnosis method with the use times smaller than the preset times is not considered, and if the use times of all the fault diagnosis methods are smaller than the preset times, all the fault diagnosis methods of the fault diagnosis information are recorded into the fault diagnosis database, and when the use times of the fault diagnosis methods which are not adopted reach the preset times when the follow-up staff is in maintenance, the step S400 is executed.
The implementation principle of the embodiment is as follows: when multiple fault diagnosis methods exist in the same fault diagnosis information, the use times corresponding to each fault diagnosis method are obtained, if the use times are larger than the preset times, the fault diagnosis method with the maximum use times is obtained to serve as an updating diagnosis method, the fault diagnosis method with the maximum use times is probably an effective solution for solving the fault, and is also probably a solution for saving time, and when the use times are smaller than the preset times, the next step is carried out.
In one implementation of this embodiment, as shown in fig. 5, the step S150 of obtaining the fault diagnosis method based on the information about the fault to be solved and the updated database includes:
and S500, judging whether the to-be-solved fault information exists in a fault diagnosis database.
Specifically, when a fault needs to be solved, the fault to be solved is input and matched in a fault database, if the fault does not exist in the fault database, the fault is a brand-new fault, and the fault diagnosis information includes a fault type, fault time and the like, for example, a fault diagnosis method only including a system fault and stored in the fault database just begins, but the new fault is a system fault plus hardware damage, and cannot be found in the fault diagnosis database, for example, a network fault exists, and a fault diagnosis method including a hardware fault exists in the fault diagnosis database, but the hardware does not have a fault, and the software has a problem.
And S510, if the to-be-solved fault information does not exist in the fault diagnosis database, acquiring the fault similarity of the to-be-solved fault information and the fault diagnosis information.
Specifically, the similarity of the fault is the similarity of the fault to be solved and the fault which has occurred in the fault diagnosis database, for example, when the hardware fault occurs, the fault diagnosis information in the fault database is three types of heating fault, voltage fault and current fault, and the similarity is two thirds when the fault to be solved is the voltage fault and the current fault, for example, the software fault and the hardware fault exist simultaneously, the software fault is an interface information setting error, the hardware fault is a voltage instability, and the similarity is 50% when the fault to be solved is only one type of the fault information.
And S520, obtaining a fault diagnosis method based on the fault similarity.
The implementation principle of the embodiment is as follows: and if the to-be-solved fault diagnosis information to be solved does not exist, acquiring the fault similarity between the to-be-solved fault information and the existing fault diagnosis information, and obtaining the fault diagnosis method according to the fault similarity. A possible solution can be given when an unknown fault is encountered.
In one implementation of this embodiment, as shown in fig. 6, the step S520 of obtaining the fault diagnosis method based on the fault similarity includes:
s600, acquiring a first fault composition based on the information of the fault to be solved.
Specifically, the first failure component is a component of a cause of failure of the failure information to be solved, such as a voltage failure and a heat generation failure.
S610, acquiring a second fault composition based on the fault diagnosis information.
Specifically, the second fault component is a fault component of fault diagnosis information existing in the fault diagnosis database, and some fault diagnosis information is recorded as a voltage fault, a current fault, and a heating fault.
And S620, comparing the first fault component with the second fault component to obtain fault similarity.
Specifically, the failure similarity = first failure component/second failure component, and the similarity of the above steps is 2/3, for example.
And S630, obtaining a fault diagnosis method based on the fault similarity.
Specifically, a fault diagnosis method closest to the fault information to be solved is selected according to the magnitude of the fault similarity.
The implementation principle of the embodiment is as follows: analyzing the fault information to be solved to obtain a first fault composition, then obtaining a second fault composition according to the fault diagnosis information, comparing the first fault composition with the second fault composition to obtain fault similarity, and obtaining a fault diagnosis method according to the fault similarity. And selecting a solution closest to the fault information to be solved from the existing fault diagnosis methods.
In one implementation of this embodiment, as shown in fig. 7, the step S520 of obtaining the fault diagnosis method based on the fault similarity includes:
s700, judging whether the fault similarity is larger than a preset similarity.
Specifically, the preset similarity is the lowest similarity for determining the association between the fault to be solved and the fault diagnosis information, for example, the preset similarity is 30%, and when the fault similarity is lower than 30%, it is determined that the fault to be solved and the fault diagnosis information in the fault diagnosis database are not similar.
And S710, if the fault similarity is greater than the preset similarity, taking the fault diagnosis method with the fault similarity greater than the preset similarity as the fault diagnosis method of the fault information to be solved.
Specifically, when the similarity of the faults is greater than the preset similarity, if the similarity of the fault diagnosis of a plurality of fault diagnosis methods is greater than the preset similarity, the plurality of fault diagnosis methods can be displayed for a worker to select or try, and the method with the highest similarity can be selected for display. And taking the fault diagnosis method with the fault similarity larger than the preset similarity as the fault diagnosis method of the fault information to be solved.
The implementation principle of the embodiment is as follows: the preset similarity is the lowest similarity for judging the association between the fault to be solved and the fault diagnosis information, and when the preset similarity is greater than the set preset similarity, the fault diagnosis information greater than the preset similarity is used as the solution of the fault diagnosis information to be solved. When the fault similarity is larger than the preset similarity, the fault diagnosis method with the fault similarity larger than the preset similarity is used as the fault information to be solved, and the success rate of solving the fault is improved as much as possible.
In a second aspect, the present application is directed to a fault diagnosis optimization system.
A fault diagnosis optimization system comprising:
the first acquisition module is used for acquiring fault diagnosis information and a fault diagnosis method corresponding to the fault diagnosis information;
the generating module is used for generating a fault diagnosis database based on the fault diagnosis information and the fault diagnosis method;
the first updating module is used for screening the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database according to the fault diagnosis database and the fault diagnosis information to obtain an updated diagnosis method;
the second updating module is used for obtaining an updated database based on the updating diagnosis method and the fault diagnosis information;
the second acquisition module is used for acquiring the information of the fault to be solved;
and the third acquisition module is used for acquiring the fault diagnosis method based on the fault information to be solved and the updated database.
The implementation principle of the embodiment is as follows: the first acquisition module is connected with the generation module, the first acquisition module acquires fault diagnosis information and a fault diagnosis method corresponding to the fault diagnosis information, the generation module generates a fault diagnosis database according to the fault diagnosis information and the fault diagnosis method, the generation module is connected with the first updating module, the first updating module screens fault targeting methods to obtain an update diagnosis method, the first updating module is connected with the second updating module, the second updating module obtains the update database according to the update diagnosis method and the fault diagnosis information, the second updating module is connected with the second acquisition module, the second acquisition module acquires fault information to be solved, the second acquisition module is connected with the third acquisition module, and the third acquisition module acquires the fault diagnosis method based on the fault information to be solved and the update database. After the fault is eliminated, the fault diagnosis method corresponding to the fault to be solved can be directly searched in the updated database, so that the time for analyzing the fault solving method is saved, and the fault diagnosis method can be maintained without experiential people when the fault solving method exists.
The embodiment of the application also discloses a terminal device, which comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and when the processor loads and executes the computer program, a fault diagnosis optimization method is adopted.
The terminal device may adopt a computer device such as a desktop computer, a notebook computer, or a cloud server, and the terminal device includes but is not limited to a processor and a memory, for example, the terminal device may further include an input/output device, a network access device, a bus, and the like.
The processor may be a Central Processing Unit (CPU), and of course, according to an actual use situation, other general processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like may also be used, and the general processor may be a microprocessor or any conventional processor, and the present application does not limit the present invention.
The memory may be an internal storage unit of the terminal device, for example, a hard disk or a memory of the terminal device, or an external storage device of the terminal device, for example, a plug-in hard disk, a smart card memory (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the terminal device, and the memory may also be a combination of the internal storage unit of the terminal device and the external storage device, and the memory is used for storing a computer program and other programs and data required by the terminal device, and the memory may also be used for temporarily storing data that has been output or will be output, which is not limited in this application.
The terminal device stores the fault diagnosis optimization method in the above embodiment in a memory of the terminal device, and the fault diagnosis optimization method is loaded and executed on a processor of the terminal device, so that the terminal device is convenient to use.
The embodiment of the application also discloses a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the fault diagnosis optimization method is adopted.
The computer program may be stored in a computer readable medium, the computer program includes computer program code, the computer program code may be in a source code form, an object code form, an executable file or some intermediate form, and the like, the computer readable medium includes any entity or device capable of carrying the computer program code, a recording medium, a usb disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read Only Memory (ROM), a Random Access Memory (RAM), an electrical carrier signal, a telecommunication signal, a software distribution medium, and the like, and the computer readable medium includes but is not limited to the above components.
The fault diagnosis optimization method is stored in the computer-readable storage medium through the computer-readable storage medium, and is loaded and executed on a processor, so that the storage and the application of the method are facilitated.
The above are preferred embodiments of the present application, and the protection scope of the present application is not limited thereby, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (10)

1. A method of fault diagnosis optimization, comprising:
acquiring fault diagnosis information and a fault diagnosis method corresponding to the fault diagnosis information;
generating a fault diagnosis database based on the fault diagnosis information and the fault diagnosis method;
according to the fault diagnosis database and the fault diagnosis information, screening the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database to obtain an updated diagnosis method;
obtaining an updated database based on the updated diagnosis method and the fault diagnosis information;
acquiring information of a fault to be solved;
and obtaining the fault diagnosis method based on the to-be-solved fault information and the updated database.
2. The method of claim 1, wherein the generating a fault diagnosis database based on the fault diagnosis information and the fault diagnosis method comprises:
acquiring a fault diagnosis category based on the fault diagnosis information and the fault diagnosis method;
and generating a fault diagnosis database based on the fault diagnosis category.
3. The method according to claim 1, wherein the step of screening the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database according to the fault diagnosis database and the fault diagnosis information to obtain an updated fault diagnosis method comprises:
judging whether a plurality of fault diagnosis methods corresponding to the fault diagnosis information exist in the fault diagnosis database or not based on the fault diagnosis information;
if a plurality of fault diagnosis methods corresponding to the fault diagnosis information exist, acquiring the use times of the fault diagnosis methods;
based on the using times, screening the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database to obtain an updated diagnosis method;
and if the plurality of fault diagnosis methods corresponding to the fault diagnosis information do not exist, not operating.
4. The method according to claim 3, wherein the step of screening the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database based on the number of times of use to obtain an updated fault diagnosis method comprises:
judging whether the use times are greater than preset times or not;
if the using times are larger than the preset times, acquiring the fault diagnosis method corresponding to the maximum using times, and taking the fault diagnosis method corresponding to the maximum using times as the updating diagnosis method;
and if the using times are less than or equal to the preset times, entering the next step.
5. The fault diagnosis optimization method according to claim 4, wherein the obtaining the fault diagnosis method based on the information about the fault to be solved and the updated database comprises:
judging whether the fault information to be solved exists in the fault diagnosis database;
if the to-be-solved fault information does not exist in the fault diagnosis database, acquiring the fault similarity of the to-be-solved fault information and the fault diagnosis information;
and obtaining the fault diagnosis method based on the fault similarity.
6. The fault diagnosis optimization method according to claim 5, wherein the obtaining the fault diagnosis method based on the fault similarity comprises:
acquiring a first fault composition based on the to-be-solved fault information;
acquiring a second fault component based on the fault diagnosis information;
comparing the first fault component with the second fault component to obtain the fault similarity;
and obtaining the fault diagnosis method based on the fault similarity.
7. The fault diagnosis optimization system according to claim 6, wherein the obtaining the fault diagnosis method based on the fault similarity comprises:
judging whether the fault similarity is greater than the preset similarity or not;
and if the fault similarity is greater than the preset similarity, taking the fault diagnosis method with the fault similarity greater than the preset similarity as the fault diagnosis method of the fault information to be solved.
8. The fault diagnosis optimization system according to claim 1, comprising:
the first acquisition module is used for acquiring fault diagnosis information and a fault diagnosis method corresponding to the fault diagnosis information;
the generating module is used for generating a fault diagnosis database based on the fault diagnosis information and the fault diagnosis method;
the first updating module is used for screening the fault diagnosis method corresponding to the fault diagnosis information in the fault diagnosis database according to the fault diagnosis database and the fault diagnosis information to obtain an updated diagnosis method;
the second updating module is used for obtaining an updated database based on the updating diagnosis method and the fault diagnosis information;
the second acquisition module is used for acquiring the information of the fault to be solved;
and the third acquisition module is used for acquiring the fault diagnosis method based on the to-be-solved fault information and the updated database.
9. A terminal device comprising a memory and a processor, characterized in that the memory stores a computer program capable of running on the processor, and in that the processor, when loading and executing the computer program, employs the method of any one of claims 1-7.
10. A computer-readable storage medium, in which a computer program is stored, which, when loaded and executed by a processor, carries out the method of any one of claims 1 to 7.
CN202211586804.5A 2022-12-09 2022-12-09 Fault diagnosis optimization method, system, equipment and storage medium Pending CN115794471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211586804.5A CN115794471A (en) 2022-12-09 2022-12-09 Fault diagnosis optimization method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211586804.5A CN115794471A (en) 2022-12-09 2022-12-09 Fault diagnosis optimization method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115794471A true CN115794471A (en) 2023-03-14

Family

ID=85418540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211586804.5A Pending CN115794471A (en) 2022-12-09 2022-12-09 Fault diagnosis optimization method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115794471A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234191A (en) * 2023-11-08 2023-12-15 徐州徐工汽车制造有限公司 Fault diagnosis method, device and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234191A (en) * 2023-11-08 2023-12-15 徐州徐工汽车制造有限公司 Fault diagnosis method, device and computer readable storage medium
CN117234191B (en) * 2023-11-08 2024-02-06 徐州徐工汽车制造有限公司 Fault diagnosis method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
US8745588B2 (en) Method for testing operation of software
US8219548B2 (en) Data processing method and data analysis apparatus
CN110471945B (en) Active data processing method, system, computer equipment and storage medium
WO2019085463A1 (en) Department demand recommendation method, application server, and computer-readable storage medium
CN113220540B (en) Service management method, device, computer equipment and storage medium
CN113448862B (en) Software version testing method and device and computer equipment
CN112860706A (en) Service processing method, device, equipment and storage medium
CN112130781A (en) Log printing method and device, electronic equipment and storage medium
CN115794471A (en) Fault diagnosis optimization method, system, equipment and storage medium
CN112579621A (en) Data display method and device, electronic equipment and computer storage medium
CN112328602A (en) Method, device and equipment for writing data into Kafka
CN116360937A (en) Task scheduling method, device, equipment and storage medium
CN116303320A (en) Real-time task management method, device, equipment and medium based on log file
CN115905260A (en) Map updating method and device, electronic equipment and storage medium
CN112346994B (en) Test information association method, device, computer equipment and storage medium
CN114860608A (en) Scene construction based system automation testing method, device, equipment and medium
US11392371B2 (en) Identification of a partial code to be refactored within a source code
CN113590484A (en) Algorithm model service testing method, system, equipment and storage medium
CN113448842B (en) Big data system testing method and device, server and storage medium
CN111651360B (en) Test method, test device, electronic equipment and medium
CN111260427B (en) Service order processing method, device, electronic equipment and storage medium
CN116434365A (en) Request response method, device, equipment and storage medium
CN116049508A (en) Test element information generation method, device, equipment and storage medium
CN116483716A (en) Test information generation method, device, equipment and storage medium
CN117130860A (en) Data processing method, device and storage medium for function execution process

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