Fault information processing method and device, storage medium and electronic device

By sending and processing fault messages on the server, and extracting and recording fault description information, the problem of low fault information processing efficiency in the existing technology is solved, and fast and efficient fault information processing is achieved.

CN115941438BActive Publication Date: 2024-10-15INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211393337.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-08
Publication Date
2024-10-15
Estimated Expiration
2042-11-08

AI Technical Summary

Technical Problem

The efficiency of processing server fault information in the existing technology is low. Testers need to process complicated fault messages one by one, resulting in high time and labor costs.

Method used

By sending the target message on the first server, the transmission status is obtained, the fault description field and value are extracted, and recorded in the fault description information. The required information is directly queried from the local storage to avoid reading from other servers.

Benefits of technology

It greatly reduces the time cost of processing server fault information, improves processing efficiency, and simplifies the query path for operation and maintenance personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115941438B_ABST
    Figure CN115941438B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a method and device for processing fault information, a storage medium, and an electronic device, wherein the method for processing fault information includes: sending a target message to a second server through a first server; obtaining a target transmission status of the target message; obtaining a first group of fault description fields and corresponding field values ​​in the target fault information, obtaining a second group of fault description fields and corresponding field values ​​in the target transmission status, and recording the first group of fault description fields and corresponding field values ​​and the second group of fault description fields and corresponding field values ​​in the fault description information on the first server; obtaining a fault query request on the first server; and in response to the fault query request, obtaining and returning the fault description fields and corresponding field values ​​that match the target query parameters in the fault description information stored on the first server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computers, and more specifically, to a method and device for processing fault information, a storage medium, and an electronic device. Background Art

[0002] As the core of the network system and computing platform, the server stores a large amount of important data. The status of the computer or server, or other hardware drive devices, etc. is often monitored through a BMC (Baseboard Management Controller).

[0003] In the prior art, when a stress test simulates a server failure or a server failure actually occurs, the BMC will send a fault message carrying fault information to other servers, and the tester can only process each fault message one by one and check the sending status of the fault message on the server side that receives the fault message. In this way, on the one hand, the fault message carries complicated content, which requires the tester to have relevant professional skills to understand. On the other hand, processing the relevant information in the fault message one by one will waste a lot of time and manpower costs, and the efficiency is low.

[0004] In view of the technical problem of low efficiency in processing server fault information in the related art, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide a method and device for processing fault information, a storage medium, and an electronic device, so as to at least solve the problem of low efficiency in processing server fault information in the related art.

[0006] According to an embodiment of the present application, a method for processing fault information is provided, including: sending a target message to a second server through a first server, wherein the target message carries target fault information reported by a baseboard management controller BMC on the first server, and the target fault information is fault information of a fault occurring on the first server; obtaining a target transmission status of the target message, wherein the target transmission status is used to indicate whether the target message is successfully transmitted from the first server to the second server; obtaining a first group of fault description fields and corresponding field values ​​in the target fault information, obtaining a second group of fault description fields and corresponding field values ​​in the target transmission status, and transmitting the target fault information to the first server; The first group of fault description fields and corresponding field values ​​and the second group of fault description fields and corresponding field values ​​are recorded in fault description information, wherein the fault description information records a preset fault description field set and corresponding field values, and the fault description field set includes the first group of fault description fields and the second group of fault description fields; a fault query request is obtained on the first server, wherein the fault query request carries target query parameters corresponding to at least some fields in the fault description field set; in response to the fault query request, the fault description fields and corresponding field values ​​matching the target query parameters are obtained and returned from the fault description information stored on the first server.

[0007] In an exemplary embodiment, obtaining the target transmission status of the target message includes: upon detecting that the first server sends the target message to the second server, obtaining, through the target interface on the first server, return parameters after the target message is sent, wherein the return parameters include a first status parameter and / or a second status parameter, the first status parameter being used to indicate whether the first server successfully sends the target message, and the second status parameter being used to indicate whether the second server successfully receives the target message; determining the target transmission status based on the return parameters.

[0008] In an exemplary embodiment, obtaining the return parameters after the target message is sent through the target interface on the first server includes: obtaining the first status parameter recorded by the first server through the target interface; obtaining the second status parameter returned by the second server through the target interface; determining the target transmission status based on the return parameters includes: when the first status parameter indicates that the first server successfully sent the target message and the second status parameter indicates that the second server successfully received the target message, determining the target transmission status as indicating that the target message is successfully transmitted from the first server to the second server.

[0009] In an exemplary embodiment, obtaining the first group of fault description fields and corresponding field values ​​in the target fault information includes: when it is detected that the BMC has reported the target fault information, extracting the first group of fault description fields and corresponding field values ​​from the target fault information through a first thread in the first server; or when it is detected that the first server sends the target message to the second server, extracting the target fault information from the target message through a second thread in the first server, and extracting the first group of fault description fields and corresponding field values ​​from the target fault information.

[0010] In an exemplary embodiment, extracting the first group of fault description fields and corresponding field values ​​from the target fault information includes: searching for a fault description field in the fault description field set in the target fault information; when a fault description field in the fault description field set is found in the target fault information, determining the found fault description field as the first group of fault description fields, and obtaining the field values ​​corresponding to the first group of fault description fields in the target fault information.

[0011] In an exemplary embodiment, obtaining a fault query request on the first server includes: obtaining a target query command on an interactive interface corresponding to the first server through a target command interface set on the first server, wherein the target query command carries the target query parameters, and the target query command is used to query the fault description fields and corresponding field values ​​that match the target query parameters in the fault description information stored on the first server.

[0012] In an exemplary embodiment, in response to the fault query request, the fault description fields and corresponding field values ​​matching the target query parameters are obtained and returned in the fault description information stored on the first server, including: when the target query parameters include a destination address parameter and a transmission status parameter, a third group of fault description fields and corresponding field values ​​matching the destination address parameter and the transmission status parameter are obtained in the fault description information, wherein the target address parameter is used to indicate the address of a server that is allowed to receive a message of a target type, the message of the target type is a message sent when a fault is detected on the first server, the message of the target type carries fault information of the detected fault, the message of the target type includes the target message, the first server is configured to allow the message of the target type to be sent to at least some servers in a group of servers, the group of servers including the second server; the third group of fault description fields includes a server identification field and a message transmission status field, the server identification field is used to identify the target server. a server in the group of servers, the transmission status parameter is used to indicate whether the server corresponding to the target address parameter successfully receives the message of the target type, or indicates the number of successful times the server corresponding to the target address parameter receives the message of the target type, or indicates the number of failures the server corresponding to the target address parameter receives the message of the target type, or indicates the total number of times the server corresponding to the target address parameter receives the message of the target type, the message transmission status field is used to indicate whether the message of the target type is successfully sent from the first server to a server in the group of servers, or indicates the number of successful times the message of the target type is sent from the first server to a server in the group of servers, or indicates the number of failures the message of the target type is sent from the first server to a server in the group of servers, or indicates the total number of times the message of the target type is sent from the first server to a server in the group of servers; the third group of fault description fields found and the corresponding field values ​​are returned.

[0013] According to another embodiment of the present application, a fault information processing device is provided, including: a sending module, used to send a target message to a second server through a first server, wherein the target message carries target fault information reported by a baseboard management controller BMC on the first server, and the target fault information is fault information of a fault occurring on the first server; a first acquisition module, used to acquire a target transmission status of the target message, wherein the target transmission status is used to indicate whether the target message is successfully transmitted from the first server to the second server; a processing module, used to acquire a first group of fault description fields and corresponding field values ​​in the target fault information, acquire a second group of fault description fields and corresponding field values ​​in the target transmission status, and transmit the target message to the second server on the first server. The first group of fault description fields and corresponding field values ​​and the second group of fault description fields and corresponding field values ​​are recorded in fault description information on the server, wherein the fault description information records a preset set of fault description fields and corresponding field values, and the fault description field set includes the first group of fault description fields and the second group of fault description fields; a second acquisition module is used to obtain a fault query request on the first server, wherein the fault query request carries target query parameters corresponding to at least some fields in the fault description field set; a third acquisition module is used to respond to the fault query request, obtain and return the fault description fields and corresponding field values ​​that match the target query parameters in the fault description information stored on the first server.

[0014] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned fault information processing method embodiments when running.

[0015] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned fault information processing method embodiments.

[0016] Through the embodiments of the present application, in the case of a server failure, the fault description information can be stored locally on the server. In the case of needing to process the fault information of the server, the desired fault information can be directly obtained from the fault description information stored locally on the server, thereby avoiding reading the stored fault description information from other servers and then processing the fault information of the server, greatly reducing the time cost required for processing the server's fault information and greatly improving the efficiency of processing the server's fault information. Therefore, the problem of low efficiency in processing the server's fault information can be solved, achieving the effect of improving the efficiency of processing the server's fault information. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a network architecture diagram according to an embodiment of the present application;

[0018] Figure 2 This is a schematic diagram of an application scenario of a method for processing fault information according to an embodiment of the present application;

[0019] Figure 3 is a flowchart of processing fault information according to an embodiment of the present application;

[0020] Figure 4 is a schematic diagram of a second server according to an embodiment of the present application;

[0021] Figure 5 is a schematic diagram of obtaining fault description information according to an embodiment of the present application;

[0022] Figure 6 This is a schematic diagram of extracting the first group of fault description fields and corresponding field values ​​according to an embodiment of the present application. Figure 1 ;

[0023] Figure 7 This is a schematic diagram of extracting the first group of fault description fields and corresponding field values ​​according to an embodiment of the present application. Figure 2 ;

[0024] Figure 8 It is a schematic diagram of obtaining and returning a fault description field matching a target query parameter and a corresponding field value according to an embodiment of the present application;

[0025] Fig. 9 is a schematic diagram of a method for processing fault information according to an embodiment of the present application;

[0026] Fig.10 It is a structural block diagram of a fault information processing device according to an embodiment of the present application. DETAILED DESCRIPTION

[0027] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0028] It should be noted that the terms "first", "second", etc. in the description and claims of the embodiments of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0029] Figure 1 is a network architecture diagram according to an embodiment of the present application. The embodiment of the present application can be run on Figure 1 In the network architecture shown in Figure 1 As shown, the network architecture may include, but is not limited to, a server 102 , a server 104 , and a server 106 .

[0030] The application scenario of the method for processing fault information according to the embodiment of the present application can be explained by taking the server 102 as the first server but is not limited thereto. Figure 2 is a schematic diagram of an application scenario of a method for processing fault information according to an embodiment of the present application, such as Figure 2 As shown, in the case of a failure of the server 102, the BMC 104 on the server 102 can, but is not limited to, report the failure information to the server 102. On the one hand, the server 102 will splice the failure information into a SNMP (Simple Network Management Protocol) message, and send the failure message to the SNMP server 108 (i.e., the second server), and receive the return parameter returned by the SNMP server 108 through the target interface 110 on the server 102; on the other hand, the server 102 will extract the failure description information from the failure information and the return parameter, and store the failure description information in an EEPROM (Electrically Erasable Programmable Readable Memory) on the server 102. In the electrically erasable programmable read-only memory (EEPROM) 106, the operation and maintenance personnel of the server 102 can, but are not limited to, select the fields to be queried from field 1, field 2, ..., field k as the fault field 1 to be queried, the fault field 2 to be queried, ..., the fault field n to be queried, and can, but are not limited to, generate a fault query request based on the fault field 1 to be queried as field 1, the fault field 2 to be queried as field 2, ..., the fault field n to be queried as field k, and initiate a fault query request to the target command interface 112 on the server 102. When receiving the fault query request, the target command interface 112 can, but are not limited to, obtain and return the query results of field 1, field 2 ..., field k and the corresponding field values ​​from the fault description information stored in the EEPROM 106.

[0031] In this embodiment, a method for processing fault information of each server running in the above network architecture is provided. Figure 3 is a flowchart of processing fault information according to an embodiment of the present application, such as Figure 3 As shown, the process includes the following steps:

[0032] Step S302: sending a target message to a second server through the first server, wherein the target message carries target fault information reported by a baseboard management controller BMC on the first server, and the target fault information is fault information of a fault occurring on the first server;

[0033] Step S304, obtaining a target transmission status of the target message, wherein the target transmission status is used to indicate whether the target message is successfully transmitted from the first server to the second server;

[0034] Step S306, obtaining a first group of fault description fields and corresponding field values ​​in the target fault information, obtaining a second group of fault description fields and corresponding field values ​​in the target transmission status, and recording the first group of fault description fields and corresponding field values ​​and the second group of fault description fields and corresponding field values ​​in the fault description information on the first server, wherein the fault description information records a preset set of fault description fields and corresponding field values, and the fault description field set includes the first group of fault description fields and the second group of fault description fields;

[0035] Step S308: obtaining a fault query request on the first server, wherein the fault query request carries a target query parameter corresponding to at least part of the fields in the fault description field set;

[0036] Step S310: In response to the fault query request, the fault description fields and corresponding field values ​​matching the target query parameters are obtained and returned from the fault description information stored on the first server.

[0037] Through the above steps, when a server fails, the fault description information can be stored locally on the server. When the fault information of the server needs to be processed, the desired fault information can be directly obtained from the fault description information stored locally on the server, avoiding reading the stored fault description information from other servers and then processing the fault information of the server, which greatly reduces the time cost required for processing the server's fault information and greatly improves the efficiency of processing the server's fault information. Therefore, the problem of low efficiency in processing the server's fault information can be solved, achieving the effect of improving the efficiency of processing the server's fault information.

[0038] The execution subject of the above steps may be a server, etc., but is not limited thereto.

[0039] The execution order of step S302 and step S304 is interchangeable, that is, step S304 may be executed first, and then step S302.

[0040] In the technical solution provided in the above step S302, when a real failure occurs in the first server, or a stress test is performed on the first server to simulate a failure of the first server, the baseboard management controller BMC on the first server may, but is not limited to, report the target fault information to the first server, and the first server may, but is not limited to, carry the target fault information in a target message, and send the target message to the second server through the first server, thereby realizing real-time monitoring of the operation of the first server by the second server and improving the stability of the operation of the first server.

[0041] Optionally, in this embodiment, the target message sent by the first server may be received by one or more servers but is not limited to the receiving server. Figure 4 is a schematic diagram of a second server according to an embodiment of the present application, such as Figure 4 As shown, in the event that a fault occurs in server 102 (i.e., the first server mentioned above), it is possible but not limited to allowing one or more servers among server 1, server 2, ..., server N (i.e., the second server mentioned above) to receive a fault message of fault information of the fault generated by server 102.

[0042] In the technical solution provided in the above step S304, when a real failure occurs in the first server, or a stress test is performed on the first server to simulate a failure of the first server, the baseboard management controller BMC on the first server may, but is not limited to, report the target fault information to the first server, may, but is not limited to, carry the target fault information in a target message, and send the target message to the second server through the first server. In such a case, it may, but is not limited to, obtain the target transmission status of the target message, and then monitor whether the target message is successfully sent to the second server, thereby realizing the monitoring of the reporting status of the fault information of the fault generated by the first server by obtaining the transmission status of the target message, and improving the timeliness of obtaining the transmission status of the target message.

[0043] In an exemplary embodiment, the target transmission status of the target message can be obtained in the following manner but is not limited to: when it is detected that the first server sends the target message to the second server, the return parameters after the target message is sent are obtained through the target interface on the first server, wherein the return parameters include a first status parameter and / or a second status parameter, the first status parameter is used to indicate whether the first server successfully sends the target message, and the second status parameter is used to indicate whether the second server successfully receives the target message; the target transmission status is determined according to the return parameter.

[0044] Optionally, in this embodiment, when it is detected that the first server sends a target message to the second server, the first return parameter and / or the second status parameter after the target message is sent can be obtained through the target interface on the first server, but is not limited to, thereby realizing a comprehensive judgment of the transmission status of the target message based on whether the first server successfully sends the target message and / or whether the second server successfully receives the target message, thereby improving the accuracy of the target transmission status.

[0045] Optionally, in this embodiment, the first return parameter may be but is not limited to WIFEXITED (Status), the second return parameter may be but is not limited to WEXITSTATUS (Status), and the first return parameter and / or the second status parameter may be obtained through but is not limited to an API (Application Programming Interface) interface on the Linux operating system on the first server.

[0046] In an exemplary embodiment, the return parameters after the target message is sent can be obtained in the following manner but is not limited to: obtaining the first state parameter recorded by the first server through the target interface; obtaining the second state parameter returned by the second server through the target interface.

[0047] Optionally, in this embodiment, when sending a target message to a second server through a first server, a first status parameter may be recorded on the first server based on, but not limited to, whether the first server successfully sends the target message; the second server may, but not limited to, generate and return a second status parameter to the first server based on, whether the target message is successfully received.

[0048] In an exemplary embodiment, the target transmission status can be determined in the following manner but is not limited to: when the first status parameter indicates that the first server successfully sent the target message and the second status parameter indicates that the second server successfully received the target message, the target transmission status is determined to indicate that the target message is successfully transmitted from the first server to the second server.

[0049] Optionally, in this embodiment, when the first status parameter indicates that the first server fails to send the target message, or when the first server successfully sends the target message and the second status parameter indicates that the second server fails to receive the target message, the target transmission state is determined to indicate that transmission of the target message from the first server to the second server fails.

[0050] Optionally, in this embodiment, the return value of the first return parameter may include but is not limited to 0 (indicating failure) and 1 (indicating success), and the return value of the second return parameter may include but is not limited to 0 (indicating failure) and 1 (indicating success). Taking the first return parameter as WIFEXITED (Status) and the second return parameter as WEXITSTATUS (Status) as an example, several situations of determining the target transmission status of the target message according to the return value of the first status parameter and / or the second status parameter are explained, which may include but are not limited to the following situations:

[0051] Scenario 1: When the return value of the first status parameter is 1 and the return value of the second status parameter is 1, it may indicate that the first server successfully sends the target message and the second server successfully receives the target message. In this case, the target transmission state is determined as successfully transmitting the target message from the first server to the second server.

[0052] Scenario 2: When the return value of the first status parameter is 0, it may indicate that the first server fails to send the target message. In this case, the target transmission state is determined as failure to transmit the target message from the first server to the second server.

[0053] Scenario three: When the return value of the first state parameter is 1 and the return value of the second state parameter is 0, it may indicate that the first server successfully sends the target message and the second server fails to receive the target message. In this case, the target transmission state is determined as failure to transmit the target message from the first server to the second server.

[0054] In the technical solution provided in the above step S306, the first group of fault description fields may be but not limited to part or all of the description fields in the target fault information, and the second group of fault description fields may be but not limited to part or all of the description fields in the target transmission status. Figure 5 is a schematic diagram of obtaining fault description information according to an embodiment of the present application, such as Figure 5 As shown, the target fault information may include but is not limited to a fault ID (Identity document) (01, 02, ..., m, ..., N), a time of occurrence of the fault (September 1, September 2, ..., October 1, ..., October 7), a fault type (CPU (Central Processing Unit), memory, ..., PCIE (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus standard) network card, ..., PCIE network card), a fault level (05, 03, ..., 01, ..., 02), ..., a fault IP (Internet Protocol) (116.179.33.205, 27.17.177.243, ..., 198.168.33.205, ..., 198.168.33.275), and other fault information.

[0055] The target transmission state may include, but is not limited to, the first return parameter and the second return parameter of fault message 1 corresponding to fault ID 01, the first return parameter and the second return parameter of fault message 2 corresponding to fault ID 02, ..., the first return parameter and the second return parameter of fault message m corresponding to fault ID m, ..., the first return parameter and the second return parameter of fault message N corresponding to fault ID N. The first return parameter of fault message 1 may be, but is not limited to, 0 (indicating that fault message 1 fails to be sent to the second server), the second return parameter may be, but is not limited to, 0 (indicating that the second server fails to receive fault message 1), the first return parameter of fault message 2 may be, but is not limited to, 1 (indicating that fault message 2 is successfully sent to the second server), the second return parameter may be, but is not limited to, 0 (indicating that the second server fails to receive fault message 2), ..., the first return parameter of fault message m may be, but is not limited to, 1 (indicating that fault message m is successfully sent to the second server), the second return parameter may be, but is not limited to, 1 (indicating that the second server successfully receives fault message m), ..., the first return parameter of fault message N may be, but is not limited to, 1 (indicating that fault message N is successfully sent to the second server), the second return parameter may be, but is not limited to, 1 (indicating that the second server successfully receives fault message N).

[0056] It is possible but not limited to extracting fault ID 01 to fault ID m and the corresponding fault time, fault IP, fault level, fault type and other information from the target fault information as the first group of fault description fields and their corresponding values. It is possible but not limited to extracting fault messages 1 to fault messages m and the corresponding first return parameters and second return parameters from the target transmission status, and according to fault messages 1 to fault messages m and the corresponding first return parameters and second return parameters, obtaining the fault message transmission status of fault messages 1 to fault messages m as N (indicating transmission failure), N, ..., Y (indicating successful transmission) as the second group of fault description fields and their corresponding values. It is possible but not limited to recording the first group of fault description fields and their corresponding values, and the second group of fault description fields and their corresponding values ​​in the fault description information on the first server.

[0057] In an exemplary embodiment, obtaining the first group of fault description fields and corresponding field values ​​in the target fault information may include, but is not limited to, one of the following situations:

[0058] Scenario 1: when it is detected that the BMC has reported the target fault information, the first group of fault description fields and corresponding field values ​​are extracted from the target fault information through the first thread in the first server.

[0059] Optionally, in this embodiment, when it is detected that the BMC reports the target fault information, the first group of fault description fields and corresponding field values ​​may be extracted, but not limited to. Figure 6 This is a schematic diagram of extracting the first group of fault description fields and corresponding field values ​​according to an embodiment of the present application. Figure 1 ,like Figure 6 As shown, in the case where a fault occurs in the server 102, the BMC 104 on the server 102 can, but is not limited to, report the target fault information to the server 102. On the one hand, the server 102 will splice the fault information into an SNMP message, and send the SNMP message to the SNMP server 108 (i.e., the second server), and receive the return parameter returned by the SNMP server 108 through the target interface 110 on the server 102; on the other hand, in the case where it is detected that the BMC has reported the target fault information, the first thread 01 in the server 102 can extract the first group of fault description fields and the corresponding field values ​​from the target fault information, and extract the fault description information based on the extracted first group of fault description fields and the corresponding field values, as well as the return parameters, and store the fault description information in the EEPROM 106 on the server 102.

[0060] The operation and maintenance personnel of the server 102 can, but are not limited to, select the fields to be queried from field 1, field 2, ..., field k as the fault field 1 to be queried, the fault field 2 to be queried, ..., the fault field n to be queried, and can, but are not limited to, generate a fault query request based on the fault field 1 to be queried being field 1, the fault field 2 to be queried being field 2, ..., the fault field n to be queried being field k, and initiate a fault query request to the target command interface 112 on the server 102. When receiving the fault query request, the target command interface 112 can, but is not limited to, obtain and return the query results of field 1, field 2 ..., field k and the corresponding field values ​​from the fault description information stored in the EEPROM 106.

[0061] Scenario 2: When it is detected that the first server sends the target message to the second server, the target fault information is extracted from the target message through the second thread in the first server, and the first group of fault description fields and corresponding field values ​​are extracted from the target fault information.

[0062] Optionally, in this embodiment, when it is detected that the first server sends a target message to the second server, the first group of fault description fields and corresponding field values ​​can be extracted from the target message through but not limited to the second thread in the first server. Figure 7 This is a schematic diagram of extracting the first group of fault description fields and corresponding field values ​​according to an embodiment of the present application. Figure 2 ,like Figure 7 As shown, in the case of a failure of the server 102, the BMC 104 on the server 102 sends an SNMP message carrying the target fault information to the SNMP server 108 (i.e., the second server), and receives the return parameter returned by the SNMP server 108 through the target interface 110 on the server 102; on the other hand, in the case of detecting that the server 102 sends the target message to the SNMP server 108, the target fault information can be extracted from the SNMP message through the second thread 02 in the server 102, and the first group of fault description fields and corresponding field values ​​can be extracted from the target fault information. Then, the fault description information is extracted according to the extracted first group of fault description fields and corresponding field values, as well as the return parameter, and the fault description information is stored in the EEPROM 106 on the server 102.

[0063] The operation and maintenance personnel of the server 102 can, but are not limited to, select the fields to be queried from field 1, field 2, ..., field k as the fault field 1 to be queried, the fault field 2 to be queried, ..., the fault field n to be queried, and can, but are not limited to, generate a fault query request based on the fault field 1 to be queried being field 1, the fault field 2 to be queried being field 2, ..., the fault field n to be queried being field k, and initiate a fault query request to the target command interface 112 on the server 102. When receiving the fault query request, the target command interface 112 can, but is not limited to, obtain and return the query results of field 1, field 2 ..., field k and the corresponding field values ​​from the fault description information stored in the EEPROM 106.

[0064] In an exemplary embodiment, the first group of fault description fields and corresponding field values ​​can be extracted from the target fault information in the following manner but is not limited to: searching for fault description fields in the fault description field set in the target fault information; when a fault description field in the fault description field set is found in the target fault information, the found fault description field is determined as the first group of fault description fields, and the field values ​​corresponding to the first group of fault description fields are obtained in the target fault information.

[0065] Optionally, in this embodiment, the target fault information may include, but is not limited to, recording fault description fields and their corresponding field values, and the fault description fields in the fault description field set may include, but is not limited to, some or all of the fault description fields in the target fault information. When extracting the first group of fault description fields and corresponding field values ​​that are desired to be recorded from the target fault information, the fault description fields in the fault description field set may be searched for from the target fault information, but is not limited to, and when the fault description fields in the fault description field set are found from the target fault information, the found fault description fields are determined as the first group of fault description fields, and the field values ​​corresponding to the first group of fault description fields are obtained in the target fault information.

[0066] Optionally, in this embodiment, when some fault description fields in the fault description field set are not found in the target fault information, it may indicate that not all fault description fields in the fault description field set are recorded in the target fault information. In this case, the found fault description fields may be determined as the first group of fault description fields, and the field values ​​corresponding to the first group of fault description fields may be obtained in the target fault information, and the field values ​​of the fault description fields that are not found may be determined as blank.

[0067] In the technical solution provided in the above step S308, when the first group of fault description fields and the corresponding field values, and the second group of fault description fields and the corresponding field values ​​are recorded in the fault description information on the first server, the server operation and maintenance personnel can query the desired fault description fields and the corresponding field values ​​from the fault description information by initiating a fault query request carrying the target query parameters on the first server. In this way, it is avoided to query the detailed information of the fault message one by one on the second server, but the relevant fault description fields and the corresponding field values ​​are recorded on the first server where the fault occurs, which greatly reduces the time required for the server operation and maintenance personnel to process the fault information of the first server, and greatly improves the efficiency of processing the fault information of the server.

[0068] Optionally, in this embodiment, one or more fields in the fault description field set and their corresponding field values ​​can be obtained from the fault description information recorded on the first server by initiating a fault query request, but is not limited to the method. In this way, a simple and convenient query path is provided for the server operation and maintenance personnel, which greatly reduces the difficulty for the server operation and maintenance personnel to query the desired fault information and greatly improves the readability of the server fault information and fault message.

[0069] In an exemplary embodiment, a fault query request can be obtained in the following manner but is not limited to: through a target command interface set on the first server, a target query command is obtained on an interactive interface corresponding to the first server, wherein the target query command carries the target query parameter, and the target query command is used to query the fault description field matching the target query parameter and the corresponding field value in the fault description information stored on the first server.

[0070] Optionally, in this embodiment, the target command interface set on the first server can obtain the target query command by, but not limited to, obtaining the editing operation performed on the desired fault description field on the interactive interface corresponding to the first server. In this case, the target command interface can query the fault description field matching the target query parameter and the corresponding field value from the fault description information recorded on the first server.

[0071] Figure 8 is a schematic diagram of obtaining and returning a fault description field matching a target query parameter and a corresponding field value according to an embodiment of the present application, such as Figure 8As shown, the target query command may carry, but is not limited to, target query parameters including the fault time range from September 1 to September 30, the fault type being a CPU fault, and the number of successful transmissions of the fault message. When the target command interface 112 on the first server obtains the target query command, it may obtain, but is not limited to, the fault time range from September 1 to September 30, the fault type being a CPU fault, the number of successful transmissions of the fault message, and the corresponding values ​​from the fault description information recorded on the first server. It may be, but is not limited to, counting the fault level, fault IP, fault type, transmission status of the fault message, and the number of successful transmissions of the fault message according to the time of occurrence of the fault.

[0072] For example, on September 1, fault ID 01 and fault ID 02 occurred. The fault level of fault ID 01 is 05, the fault IP is 192.168.01.201, the fault type is CPU, and the fault message transmission status is Y (transmission successful). The fault level of fault ID 02 is 03, the fault IP is 192.168.20.102, the fault type is CPU, and the fault message transmission status is N (transmission failed). Then, on September 1, the number of successful transmissions of the fault message of fault ID 01 is 1, and the number of successful transmissions of the fault message of fault ID 02 is 0.

[0073] For another example, on September 30, only fault ID N occurred. The fault level of fault ID N1 was 01, the fault IP was 192.168.253.255, the fault type was CPU, and the fault message transmission status was Y (transmission successful). The fault level of fault ID 02 was 03, the fault IP was 192.168.20.102, the fault type was CPU, and the fault message transmission status was N (transmission failed). Then, the number of successful transmissions of the fault message of fault ID N on September 30 was 1.

[0074] By analogy, the fault level, fault IP, fault type, transmission status of fault messages, and number of successful transmission of fault messages of the faults that occurred every day from September 1 to September 30 can be counted. In this way, batch and fast query of the desired fault information and fault times and other information is achieved, avoiding the need to check the fault messages received by the second server one by one, greatly improving the efficiency of checking the fault information of the server.

[0075] In the technical solution provided in the above step S310, when the first group of fault description fields and the corresponding field values, and the second group of fault description fields and the corresponding field values ​​are recorded in the fault description information on the first server, the operation and maintenance personnel of the server can query the desired fault description fields and the corresponding field values ​​from the fault description information by initiating a fault query request carrying the target query parameters on the first server. In this case, the fault query request can be responded to, and the fault description fields and the corresponding field values ​​that match the target query parameters can be obtained and returned from the fault description information stored on the first server. In this way, it is avoided to obtain relevant fault information from the fault message on the second server one by one, which greatly improves the efficiency of obtaining relevant fault information.

[0076] In an exemplary embodiment, the fault description fields and corresponding field values ​​that match the target query parameters can be obtained and returned in the fault description information stored on the first server in the following manner, but not limited to: when the target query parameters include a destination address parameter and a transmission status parameter, a third group of fault description fields and corresponding field values ​​that match the destination address parameter and the transmission status parameter are obtained in the fault description information, wherein the target address parameter is used to indicate the address of a server that is allowed to receive a message of a target type, the message of the target type is a message sent when a fault is detected on the first server, the message of the target type carries fault information of the detected fault, the message of the target type includes the target message, the first server is configured to allow the message of the target type to be sent to at least some servers in a group of servers, the group of servers including the second server; the third group of fault description fields includes a server identification field and a message transmission status field, the server identification field is used to identify the group of servers the server in the device, the transmission status parameter is used to indicate whether the server corresponding to the target address parameter successfully receives the message of the target type, or indicates the number of successful times that the server corresponding to the target address parameter receives the message of the target type, or indicates the number of failures that the server corresponding to the target address parameter receives the message of the target type, or indicates the total number of times that the server corresponding to the target address parameter receives the message of the target type, the message transmission status field is used to indicate whether the message of the target type is successfully sent from the first server to the server in the group of servers, or indicates the number of successful times that the message of the target type is sent from the first server to the server in the group of servers, or indicates the number of failures that the message of the target type is sent from the first server to the server in the group of servers, or indicates the total number of times that the message of the target type is sent from the first server to the server in the group of servers; the third group of fault description fields found and the corresponding field values ​​are returned.

[0077] Optionally, in this embodiment, the first server may, but is not limited to, send the target message to one or more servers in a group of servers, and may, but is not limited to, determine whether the number of failures in transmitting the message of the server corresponding to the target address parameter is greater than or equal to a number threshold based on the returned third group of fault description fields and corresponding field values ​​when a third group of fault description fields and corresponding field values ​​are returned.

[0078] When it is determined that the number of failures in transmitting messages of the server corresponding to the target address parameter is greater than or equal to the number threshold, the transmission link between the first server and the server corresponding to the target address parameter can be diagnosed, but is not limited to, or the transmission link between the first server and the server corresponding to the target address parameter can be rebuilt, or a prompt message can be issued on the interactive interface corresponding to the first server to indicate that there may be a problem with the server, so that the operation and maintenance personnel can diagnose and maintain the operation of the server in time, or the transmission link between the first server and the server corresponding to the target address parameter can be abandoned, and the target messages subsequently sent by the first server can be sent to other servers that are allowed to receive fault messages.

[0079] Optionally, in this embodiment, the target type message may include, but is not limited to, a message that satisfies the SNMP protocol, and the second server may be, but is not limited to, an SNMP server. In this case, when the BMC reports the target fault information, the first server may encapsulate the target fault information into a target message that satisfies the SNMP protocol, and may send the target message to the SNMP server, but is not limited to.

[0080] In order to better understand the above-mentioned method for processing fault information, the following explains the process of processing fault information in the embodiment of the present application in combination with optional embodiments. Fig. 9 is a schematic diagram of a method for processing fault information according to an embodiment of the present application, such as Fig. 9 As shown, a relevant SNMPtrapd statistics thread may be created in the BMC in the first server, but is not limited to;

[0081] When the BMC reports the target fault information, it can be but not limited to sending an SNMP message through an SNMP trap (i.e., sending the target message to the second server through the first server as mentioned above). In this case, the statistical thread of SNMP trapd communicates with the SNMP counting thread through a pipeline, and the SNMP counting thread can be but not limited to sending the SNMP message and the target fault information to the sending message parsing module in the BMC on the first server.

[0082] The message parsing module can, but is not limited to, parse out the level Event_Level of the currently sent SNMP message and the type of the currently sent SNMP message: Event_Type (memory, CPU, PCIE or satellite equipment, etc.) from the target fault information, and can, but is not limited to, parse out the destination IP address of the server to which the current SNMP message is sent from the SNMP message. It is possible but not limited to receiving and judging the return value of the target message through the Linux API interface (i.e., the above-mentioned target interface). In detail, it is possible but not limited to judging whether the SNMP message is successfully transmitted to the second server by comprehensively analyzing WIFEXITED (Status) and / or WEXITSTATUS (Status), and performing count on the first server to determine the transmission status of the SNMP message (which may include but is not limited to the number of successful transmissions, the number of failed transmissions, the total number of transmissions, and whether the transmission is successful, etc.), and recording the level Event_Level of the currently sent SNMP message, the type of the currently sent SNMP message: Event_Type, the destination IP address of the server to which the current SNMP message is sent, the number of successful transmissions, the number of failed transmissions, the total number of transmissions, and whether the transmission is successful, etc., in the EEPROM on the first server for the convenience of subsequent server operation and maintenance personnel to consult.

[0083] When the operation and maintenance personnel of the server conduct inquiries, they can, but are not limited to, view the statistical data of the previous month from the current time at most, and can, but are not limited to, pass the parameters to the ipmi OEM raw command interface (i.e., the above-mentioned target command interface) in the form of custom Netfn, Cmd, Date (0 represents today, 1 represents yesterday, 3 represents the day before yesterday, and so on), 0x00 (indicates query of the transmission status of all SNMP messages) / 0x01 (indicates CPU) / 0x02 (indicates memory) / 0x03 (indicates PCIE), etc., 0x00 (indicates the total number of SNMP message transmissions) / 0x01 (indicates the number of successful SNMP message transmissions) / 0x02 (indicates the number of failed SNMP message transmissions), Index (indicates the index of the destination server IP) command line to achieve statistics on the desired fault information and the sending status of the fault message.

[0084] Through the description of the above implementation methods, 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 it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), including a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0085] In this embodiment, a device for processing fault information is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0086] Fig.10 is a structural block diagram of a device for processing fault information according to an embodiment of the present application, such as Fig.10 As shown, the device comprises:

[0087] A sending module 1002 is used to send a target message to a second server through a first server, wherein the target message carries target fault information reported by a baseboard management controller BMC on the first server, and the target fault information is fault information of a fault occurring on the first server;

[0088] A first acquisition module 1004 is used to acquire a target transmission status of the target message, wherein the target transmission status is used to indicate whether the target message is successfully transmitted from the first server to the second server;

[0089] Processing module 1006, used to obtain a first group of fault description fields and corresponding field values ​​in the target fault information, obtain a second group of fault description fields and corresponding field values ​​in the target transmission status, and record the first group of fault description fields and corresponding field values ​​and the second group of fault description fields and corresponding field values ​​in the fault description information on the first server, wherein the fault description information records a preset fault description field set and corresponding field values, and the fault description field set includes the first group of fault description fields and the second group of fault description fields;

[0090] A second acquisition module 1008 is configured to acquire a fault query request on the first server, wherein the fault query request carries a target query parameter corresponding to at least some fields in the fault description field set;

[0091] The third acquisition module 1010 is used to obtain and return the fault description field and the corresponding field value matching the target query parameter from the fault description information stored on the first server in response to the fault query request.

[0092] Optionally, the first acquisition module includes:

[0093] A first acquisition unit is configured to, when detecting that the first server sends the target message to the second server, acquire, through a target interface on the first server, a return parameter after the target message is sent, wherein the return parameter includes a first status parameter and / or a second status parameter, the first status parameter is used to indicate whether the first server successfully sends the target message, and the second status parameter is used to indicate whether the second server successfully receives the target message;

[0094] A determination unit is used to determine the target transmission state according to the returned parameter.

[0095] Optionally, the first acquiring unit is configured to: acquire the first state parameter recorded by the first server through the target interface; acquire the second state parameter returned by the second server through the target interface;

[0096] The determination unit is used to: when the first status parameter indicates that the first server successfully sent the target message and the second status parameter indicates that the second server successfully received the target message, determine the target transmission state to indicate that the target message is successfully transmitted from the first server to the second server.

[0097] Optionally, the processing module includes:

[0098] A first extraction unit is configured to extract the first group of fault description fields and corresponding field values ​​from the target fault information through a first thread in the first server when detecting that the BMC has reported the target fault information; or

[0099] A second extraction unit is configured to extract the target fault information from the target message and extract the first group of fault description fields and corresponding field values ​​from the target fault information through a second thread in the first server when it is detected that the first server sends the target message to the second server.

[0100] Optionally, the processing module is used to extract the first group of fault description fields and corresponding field values ​​from the target fault information by performing the following steps:

[0101] Searching the target fault information for a fault description field in the fault description field set;

[0102] When a fault description field in the fault description field set is found in the target fault information, the found fault description field is determined as the first group of fault description fields, and field values ​​corresponding to the first group of fault description fields are obtained in the target fault information.

[0103] Optionally, the second acquisition module includes:

[0104] A second acquisition unit is used to acquire a target query command on an interactive interface corresponding to the first server through a target command interface set on the first server, wherein the target query command carries the target query parameter, and the target query command is used to query the fault description field matching the target query parameter and the corresponding field value in the fault description information stored on the first server.

[0105] Optionally, the third acquisition module includes:

[0106] a third acquisition unit, configured to acquire, in the fault description information, a third group of fault description fields and corresponding field values ​​that match the destination address parameter and the transmission status parameter, when the target query parameter includes a destination address parameter and a transmission status parameter, wherein the target address parameter is used to indicate an address of a server that is allowed to receive a message of a target type, the message of the target type is a message sent when a fault is detected on the first server, the message of the target type carries fault information of the detected fault, the message of the target type includes the target message, the first server is configured to allow the message of the target type to be sent to at least some servers in a group of servers, the group of servers including the second server; the third group of fault description fields includes a server identification field and a message transmission status field, the server identification field is used to identify a server in the group of servers, and the transmission status parameter is used to Indicates whether the server corresponding to the target address parameter successfully receives the message of the target type, or indicates the number of successful times the server corresponding to the target address parameter receives the message of the target type, or indicates the number of failed times the server corresponding to the target address parameter receives the message of the target type, or indicates the total number of times the server corresponding to the target address parameter receives the message of the target type, the message transmission status field is used to indicate whether the message of the target type is successfully sent from the first server to a server in the group of servers, or indicates the number of successful times the message of the target type is sent from the first server to a server in the group of servers, or indicates the number of failed times the message of the target type is sent from the first server to a server in the group of servers, or indicates the total number of times the message of the target type is sent from the first server to a server in the group of servers;

[0107] The returning unit is used to return the third group of fault description fields found and the corresponding field values.

[0108] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0109] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0110] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0111] An embodiment of the present application further provides an electronic device, including 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 the steps in any one of the above method embodiments.

[0112] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0113] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0114] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0115] The above description is only the preferred embodiment of the present application and is not intended to limit the embodiments of the present application. For those skilled in the art, the embodiments of the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the embodiments of the present application shall be included in the protection scope of the embodiments of the present application.

Claims

1. A method for processing fault information, characterized in that: include: Sending a target message to the second server through the first server, wherein the target message carries target fault information reported by the baseboard management controller BMC on the first server, and the target fault information is fault information of the fault occurring in the first server; Acquire a target transmission status of the target message, wherein the target transmission status is used to indicate whether the target message is successfully transmitted from the first server to the second server; Obtaining a first group of fault description fields and corresponding field values ​​in the target fault information, obtaining a second group of fault description fields and corresponding field values ​​in the target transmission status, and recording the first group of fault description fields and corresponding field values ​​and the second group of fault description fields and corresponding field values ​​in the fault description information on the first server, wherein the fault description information records a preset set of fault description fields and corresponding field values, and the fault description field set includes the first group of fault description fields and the second group of fault description fields; Acquire a fault query request on the first server, wherein the fault query request carries a target query parameter corresponding to at least some fields in the fault description field set; In response to the fault query request, the fault description fields and corresponding field values ​​matching the target query parameters are obtained and returned from the fault description information stored on the first server.

2. The method according to claim 1, characterized in that The acquiring the target transmission status of the target message includes: In the case of detecting that the first server sends the target message to the second server, obtaining, through the target interface on the first server, a return parameter after the target message is sent, wherein the return parameter includes a first status parameter and / or a second status parameter, the first status parameter is used to indicate whether the first server successfully sends the target message, and the second status parameter is used to indicate whether the second server successfully receives the target message; The target transmission status is determined according to the returned parameter.

3. The method according to claim 2, characterized in that The step of obtaining the return parameter after the target message is sent through the target interface on the first server includes: obtaining the first state parameter recorded by the first server through the target interface; and obtaining the second state parameter returned by the second server through the target interface. Determining the target transmission status according to the return parameter includes: when the first status parameter indicates that the first server successfully sent the target message and the second status parameter indicates that the second server successfully received the target message, determining the target transmission status as indicating that the target message is successfully transmitted from the first server to the second server.

4. The method according to claim 1, characterized in that The obtaining a first group of fault description fields and corresponding field values ​​in the target fault information includes: In a case where it is detected that the BMC reports the target fault information, extracting the first group of fault description fields and corresponding field values ​​from the target fault information through the first thread in the first server; or When it is detected that the first server sends the target message to the second server, the target fault information is extracted from the target message through the second thread in the first server, and the first group of fault description fields and corresponding field values ​​are extracted from the target fault information.

5. The method according to any one of claims 1 to 4, characterized in that Extracting the first group of fault description fields and corresponding field values ​​from the target fault information includes: Searching the target fault information for a fault description field in the fault description field set; When a fault description field in the fault description field set is found in the target fault information, the found fault description field is determined as the first group of fault description fields, and field values ​​corresponding to the first group of fault description fields are obtained in the target fault information.

6. The method according to any one of claims 1 to 4, characterized in that The obtaining the fault query request on the first server includes: Through the target command interface set on the first server, a target query command is obtained on the interactive interface corresponding to the first server, wherein the target query command carries the target query parameters, and the target query command is used to query the fault description fields and corresponding field values ​​that match the target query parameters in the fault description information stored on the first server.

7. The method according to any one of claims 1 to 4, characterized in that The step of obtaining and returning, in response to the fault query request, a fault description field matching the target query parameter and a corresponding field value from the fault description information stored on the first server, includes: In the case where the target query parameter includes a destination address parameter and a transmission status parameter, a third group of fault description fields and corresponding field values ​​that match the destination address parameter and the transmission status parameter are obtained in the fault description information, wherein the destination address parameter is used to indicate the address of a server that is allowed to receive a message of a target type, the message of the target type is a message sent when a fault is detected on the first server, the message of the target type carries fault information of the detected fault, the message of the target type includes the target message, the first server is configured to allow the message of the target type to be sent to at least some servers in a group of servers, the group of servers including the second server; the third group of fault description fields includes a server identification field and a message transmission status field, the server identification field is used to identify a server in the group of servers, and the transmission status parameter is used to indicate the destination whether the server corresponding to the address parameter of the destination address parameter successfully receives the message of the target type, or the number of successful times the server corresponding to the destination address parameter receives the message of the target type, or the number of failed times the server corresponding to the destination address parameter receives the message of the target type, or the total number of times the server corresponding to the destination address parameter receives the message of the target type; the message transmission status field is used to indicate whether the message of the target type is successfully sent from the first server to a server in the group of servers, or the number of successful times the message of the target type is sent from the first server to a server in the group of servers, or the number of failed times the message of the target type is sent from the first server to a server in the group of servers, or the total number of times the message of the target type is sent from the first server to a server in the group of servers; The third group of fault description fields found and the corresponding field values ​​are returned.

8. A device for processing fault information, characterized in that: include: A sending module, configured to send a target message to a second server through a first server, wherein the target message carries target fault information reported by a baseboard management controller BMC on the first server, and the target fault information is fault information of a fault occurring on the first server; A first acquisition module, configured to acquire a target transmission status of the target message, wherein the target transmission status is used to indicate whether the target message is successfully transmitted from the first server to the second server; a processing module, configured to obtain a first group of fault description fields and corresponding field values ​​in the target fault information, obtain a second group of fault description fields and corresponding field values ​​in the target transmission status, and record the first group of fault description fields and corresponding field values ​​and the second group of fault description fields and corresponding field values ​​in the fault description information on the first server, wherein the fault description information records a preset set of fault description fields and corresponding field values, and the fault description field set includes the first group of fault description fields and the second group of fault description fields; A second acquisition module is used to acquire a fault query request on the first server, wherein the fault query request carries a target query parameter corresponding to at least part of the fields in the fault description field set; The third acquisition module is used to respond to the fault query request and obtain and return the fault description field and the corresponding field value that match the target query parameter from the fault description information stored on the first server.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 7 when executed by a processor.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 7 are implemented.