Network fault processing method and device, storage medium and electronic device

By collecting server cluster data during network fault handling, identifying fault hidden dangers and selecting disposal strategies, the problem of long time consumption and difficulty in finding hidden faults in the existing technology is solved, and the fault handling efficiency and network service quality are improved.

CN115865612BActive Publication Date: 2024-09-24CHINA CONSTRUCTION BANK
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211190499.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-28
Publication Date
2024-09-24
Estimated Expiration
2042-09-28

AI Technical Summary

Technical Problem

Existing network fault handling methods are time-consuming, inefficient, and difficult to detect hidden faults, which affects network service quality.

Method used

By collecting host data and switch data from the server cluster during the preset detection cycle, we can determine potential fault conditions, determine potential fault information and application system information, select appropriate fault handling strategies, and generate alarm notifications, which are automatically sent to operation and maintenance personnel. .

Benefits of technology

It achieves scheduled automatic fault identification and location, reduces the workload of manual analysis and policy formulation, improves fault handling efficiency, detects hidden faults in a timely manner, and ensures high business continuity and high network availability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115865612B
    Figure CN115865612B
Patent Text Reader

Abstract

The present invention provides a network fault processing method and device, a storage medium and an electronic device, the method comprising: collecting host data and switch data from each node server to obtain host data information and switch data information of each node server; judging whether it meets the preset fault potential conditions based on the host data information and switch data information of the node server, and taking the node server that meets the conditions as the target node server; determining the fault potential information, application system information and network topology information corresponding to the target node server, and determining the target fault handling strategy corresponding to the target node server based on the above information; generating an alarm notification based on the fault potential information and the target fault handling strategy corresponding to the target node server; and sending the alarm notification to the user. The method of the present invention can reduce the workload by automatically identifying fault potentials and determining handling strategies without manual intervention.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of operation and maintenance technology, and in particular to a network fault processing method and device, a storage medium and an electronic device. Background Art

[0002] With the development of computer technology, computer networks have become an indispensable infrastructure for all enterprises and institutions. In order to ensure the quality of network services, enterprises and institutions need to locate and handle network failures in a timely manner in their daily operation and maintenance work to ensure high network availability.

[0003] The existing network fault handling usually involves manually checking the relevant data of the equipment and analyzing them one by one when an abnormality occurs in the computer network to locate the network fault, analyze the fault handling strategy, and handle it.

[0004] In actual application scenarios, large server clusters are generally deployed in the computer networks of enterprises and organizations, and the network scale and topology are very complex. Based on the existing network fault handling method, it is necessary to manually locate the fault and analyze the fault handling strategy, which is time-consuming and difficult to ensure high business continuity and emergency handling efficiency. Secondly, the existing network fault handling is only triggered when an explicit fault occurs, and it is difficult to find hidden faults, which is not conducive to ensuring the quality of network services. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a network fault handling method to solve the problem that manual fault location and analysis of handling strategies are time-consuming, inefficient, and difficult to discover hidden faults.

[0006] The embodiment of the present invention also provides a network fault processing device to ensure the actual implementation and application of the above method.

[0007] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0008] A network fault processing method, comprising:

[0009] When each detection time point corresponding to the preset detection period is reached, host data is collected for each node server in the preset server cluster to obtain host data information corresponding to each of the node servers;

[0010] Collect switch data for each of the node servers to obtain switch data information corresponding to each of the node servers;

[0011] For each of the node servers, judging whether the node server meets the preset fault potential condition according to the host data information and switch data information corresponding to the node server, and if the node server meets the preset fault potential condition, taking the node server as the target node server;

[0012] Determine the potential fault information corresponding to each of the target node servers;

[0013] Determine the application system information and network topology information corresponding to each of the target node servers;

[0014] For each of the target node servers, according to the fault potential information, application system information and network topology information corresponding to the target node server, determine the target fault handling strategy corresponding to the target node server from a plurality of preset fault handling strategies;

[0015] Generate an alarm notification corresponding to each target node server according to the fault potential information corresponding to each target node server and the target fault handling strategy;

[0016] Each of the alarm notifications is sent to a pre-specified user to complete the network fault handling process at the current detection time point.

[0017] In the above method, optionally, the collecting host data of each node server in the preset server cluster to obtain the host data information corresponding to each node server currently includes:

[0018] For each of the node servers, collecting the overall host data corresponding to the node server, the overall host data including index values ​​of a plurality of preset host indexes, the plurality of preset host indexes including a first port status, a device connection status, a second port status, a current rate of a network card, a mode and rate supported by the network card, and a current mode of the network card;

[0019] For each of the node servers, host network card data corresponding to the node server is collected, the host network card data includes index values ​​of a plurality of preset host network card indexes, the plurality of preset host network card indexes include the number of packets received / sent by the network card, the size of the data received / sent by the network card, the number of error packets received / sent by the network card, and the number of lost packets received / sent by the network card;

[0020] For each of the node servers, host network port data corresponding to the node server is collected, the host network port data includes index values ​​of a plurality of preset host network port indexes, the plurality of preset host network port indexes include network port packet receiving / sending count, network port packet receiving / sending data size, network port packet receiving / sending error count, network port packet receiving / sending packet loss count, and network port packet receiving verification error count;

[0021] The host overall data, host network card data and host network port data corresponding to each of the node servers are used as the host data information corresponding to each of the node servers.

[0022] In the above method, optionally, the step of collecting switch data for each of the node servers to obtain switch data information corresponding to each of the node servers currently includes:

[0023] For each of the node servers, the switch network port data corresponding to the node server is collected, the switch network port data includes index values ​​of multiple preset switch network port indicators, and the multiple preset switch network port indicators include the number of frames sent and received, the number of frames with cyclic redundancy check errors, the number of packet losses of predetermined types of frames, link error count, error frame count, port delay count, and timeout packet loss number;

[0024] The switch network port data corresponding to each of the node servers is used as the switch data information corresponding to each of the node servers.

[0025] Optionally, the above method, judging whether the node server meets the preset fault potential condition based on the host data information and switch data information corresponding to the node server, includes:

[0026] Determine multiple key indicator values ​​of hosts corresponding to the node server according to the host data information corresponding to the node server;

[0027] Determine the preset indicator value corresponding to each of the host key indicator values;

[0028] For each of the host key indicator values, determine whether the host key indicator value is the same as the corresponding indicator preset value; if the host key indicator value is different from the corresponding indicator preset value, treat the host key indicator value as an abnormal indicator value;

[0029] If there is at least one abnormal indicator value among the key indicator values ​​of each host, it is determined that the node server meets the preset fault potential condition.

[0030] The above method may optionally further include:

[0031] If there is no abnormal indicator value among the key indicator values ​​of each host, determining multiple performance indicator count values ​​corresponding to the node server according to the host data information and switch data information corresponding to the node server;

[0032] Determine an indicator threshold corresponding to each of the performance indicator count values;

[0033] For each of the performance indicator count values, compare the performance indicator count value with its corresponding indicator threshold value, and if the performance indicator count value is greater than or equal to its corresponding indicator threshold value, determine the performance indicator count value as an abnormal count value;

[0034] If there are abnormal count values ​​in each of the performance indicator count values, determining whether each of the abnormal count values ​​in each of the performance indicator count values ​​meets a preset abnormal matching condition;

[0035] If each of the abnormal count values ​​meets the preset abnormal matching condition, it is determined that the node server meets the preset fault potential condition.

[0036] The above method may optionally further include:

[0037] If there is no abnormal count value among the performance indicator count values, it is determined that the node server does not meet the preset fault potential condition.

[0038] The above method may optionally further include:

[0039] For each target fault handling strategy corresponding to the target node server, determine whether the target fault handling strategy meets the preset automatic execution condition; if the target fault handling strategy meets the preset automatic execution condition, the target node server is used as a node server to be processed;

[0040] Determine the processing operation corresponding to each of the to-be-processed node servers according to the target fault handling strategy corresponding to each of the to-be-processed node servers;

[0041] Execute the processing operation corresponding to each of the node servers to be processed.

[0042] A network fault processing device, comprising:

[0043] The first collection unit is used to collect host data from each node server in the preset server cluster when each detection time point corresponding to the preset detection period is reached, and obtain the host data information corresponding to each of the node servers;

[0044] The second collection unit is used to collect switch data for each of the node servers to obtain switch data information corresponding to each of the node servers;

[0045] A judging unit, configured to judge, for each of the node servers, whether the node server meets a preset potential fault condition according to the host data information and the switch data information corresponding to the node server, and if the node server meets the preset potential fault condition, use the node server as a target node server;

[0046] A first determining unit, configured to determine potential fault information corresponding to each of the target node servers;

[0047] A second determining unit, used to determine the application system information and network topology information corresponding to each of the target node servers;

[0048] A third determining unit is used to determine, for each of the target node servers, a target fault handling strategy corresponding to the target node server from among a plurality of preset fault handling strategies according to the fault potential information, application system information and network topology information corresponding to the target node server;

[0049] A generating unit, configured to generate an alarm notification corresponding to each target node server according to the fault potential information corresponding to each target node server and the target fault handling strategy;

[0050] The alarm unit is used to send each of the alarm notifications to a pre-specified user to complete the network fault handling process at the current detection time point.

[0051] A storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the network fault processing method as described above.

[0052] An electronic device includes a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors as the above-mentioned network fault processing method.

[0053] Based on a network fault handling method provided by the above-mentioned embodiment of the present invention, when each detection time point corresponding to a preset detection period is reached, host data collection and switch data collection are performed on each node server in the preset server cluster to obtain host data information and switch data information corresponding to each node server; based on the host data information and switch data information corresponding to each node server, it is judged whether each node server meets the preset fault potential condition, and the node server that meets the condition is used as the target node server; the fault potential information corresponding to each target node server is determined; the application system information and network topology information corresponding to each target node server are determined; for each target node server, based on the fault potential information, application system information and network topology information corresponding to the target node server, the target fault handling strategy corresponding to the target node server is determined from the preset multiple fault handling strategies; based on the fault potential information and target fault handling strategy corresponding to each target node server, an alarm notification corresponding to each target node server is generated; each alarm notification is sent to a pre-specified user to complete the network fault handling process at the current detection time point. By applying the method provided in the embodiment of the present invention, the host data and switch data of each server in the server cluster can be automatically collected at regular intervals, and the fault hidden danger judgment and location can be realized through condition matching, and the fault handling strategy can be further determined, and the operation and maintenance personnel can be notified in time to perform maintenance. There is no need for manual fault analysis and strategy formulation, which can reduce the workload and time consumption of fault handling, which is conducive to ensuring high continuity of business and improving emergency handling efficiency. Secondly, the fault hidden danger conditions can be set in combination with hidden faults, and there is no need to wait until the explicit fault occurs before performing operation and maintenance processing, which is conducive to discovering hidden faults and performing preventive operation and maintenance processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0055] Figure 1 A method flow chart of a network fault processing method provided by an embodiment of the present invention;

[0056] Figure 2 A flowchart of another method for handling a network fault provided by an embodiment of the present invention;

[0057] Figure 3 An exemplary diagram of a network fault handling process provided by an embodiment of the present invention;

[0058] Figure 4A schematic diagram of the structure of a network fault processing device provided by an embodiment of the present invention;

[0059] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0061] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0062] The embodiment of the present invention provides a network fault processing method, which can be applied to a network fault processing system, and the execution subject can be a server of the system. The method flow chart of the method is as follows: Figure 1 As shown, including:

[0063] S101: When each detection time point corresponding to a preset detection period is reached, host data is collected for each node server in a preset server cluster to obtain host data information corresponding to each of the node servers;

[0064] In the method provided in the embodiment of the present invention, each application system in the information system runs based on a preset server cluster, and the preset server cluster includes multiple node servers. The detection cycle can be pre-set according to factors such as the busyness of each application system and actual detection requirements, and the starting time point of each detection cycle is used as the detection time point.

[0065] When each detection time point is reached, host data can be collected for each node server through the pre-established communication interface and the host data collection script. Specifically, the indicator values ​​of various preset indicators of the host network card and network port can be collected, and the collected data can be used as the host data information corresponding to the node server.

[0066] It should be noted that, in the specific implementation process, the detection cycles of the various node servers deployed by the organization may be different. The node servers with the same detection cycle can be divided into a server cluster, and network fault processing can be performed for each server cluster based on the method provided in the embodiment of the present invention.

[0067] S102: Collect switch data for each of the node servers to obtain switch data information corresponding to each of the node servers;

[0068] In the method provided by the embodiment of the present invention, data collection is performed on the switch corresponding to each node server through a pre-established communication interface and a switch data collection script, that is, switch data collection is performed. Specifically, indicator values ​​can also be collected based on preset indicators, and the collected data is used as the switch data information corresponding to the node server.

[0069] S103: for each of the node servers, judging whether the node server meets a preset fault potential condition according to the host data information and the switch data information corresponding to the node server, and if the node server meets the preset fault potential condition, taking the node server as a target node server;

[0070] In the method provided in the embodiment of the present invention, fault potential condition can be pre-set according to the performance data under the health status of the application system. The fault potential condition is set based on the explicit fault and implicit fault conditions of the server performance. The fault potential condition is used to indicate that there is a fault in the performance of the server or there is a fault trend in the performance degradation. When the node server meets the preset fault potential condition, it means that there is a fault in the node server or there is a fault trend in the performance degradation.

[0071] In the method provided by the embodiment of the present invention, it is possible to determine whether each node server meets the preset fault potential condition based on the host data information and switch data information corresponding to each node server, that is, to determine whether there is data matching the abnormal data defined in the fault potential condition in the real-time performance data of the node server. Each node server that meets the preset fault potential condition is determined as a target node server.

[0072] It should be noted that in the specific implementation process, at the current detection time point, there may be only one target node server, there may be multiple target node servers, or there may be no target node server. The specific number of target node servers is determined by the actual judgment situation. When there is no target node server, subsequent processes can be skipped. There is no network failure that needs to be handled at the current detection time point, and the processing process at the current detection time point can be ended.

[0073] S104: Determine the potential fault information corresponding to each target node server;

[0074] In the method provided by the embodiment of the present invention, the fault potential information corresponding to the target node server, that is, the specific object information where the fault occurs or the specific object information with a fault trend, can be determined based on the host data information and / or switch data information of the target node server and the data content that specifically matches the fault potential conditions.

[0075] S105: Determine the application system information and network topology information corresponding to each target node server;

[0076] In the method provided in the embodiment of the present invention, the application system information and network topology information of each application system can be pre-set based on the data in the configuration management database (CMDB). CMDB contains all relevant information of the components of the information system used by an organization's IT services and the relationships between these components (including physical relationships, real-time communication relationships, non-real-time communication relationships, and dependency relationships). The application system information may include data such as the application system name, system importance level, server level level agreement (SLA), application manager, application manager contact information, etc., and the network topology information may include data such as the network topology structure (switch routing information) of the application system.

[0077] The application system information corresponding to each target node server and the network topology information corresponding to each target node server are determined from among the preset application system information and network topology information.

[0078] S106: for each of the target node servers, according to the fault potential information, application system information and network topology information corresponding to the target node server, determine a target fault handling strategy corresponding to the target node server from a plurality of preset fault handling strategies;

[0079] In the method provided in the embodiment of the present invention, multiple fault handling strategies are pre-set, and each fault handling strategy defines its corresponding fault / hidden danger, handling operation, maintenance time, online maintenance or shutdown maintenance and other information.

[0080] In the method provided by the embodiment of the present invention, based on the fault potential information corresponding to the target node server, various fault handling strategies for the fault potential of the target node server can be preliminarily screened out from various fault handling strategies, and then based on the application system information and network topology information, data such as the system importance level and network topology involved in the fault handling can be obtained. Combined with these data, the various fault handling strategies obtained by the preliminary screening can be further screened to obtain the optimal fault handling strategy, which is used as the target fault handling strategy. The target fault handling strategy is a fault handling strategy that is conducive to ensuring high availability of the network.

[0081] S107: generating an alarm notification corresponding to each target node server according to the fault potential information corresponding to each target node server and the target fault handling strategy;

[0082] In the method provided by the embodiment of the present invention, for each target node server, an alarm notification corresponding to the corresponding fault potential information and the target fault handling strategy is generated as the alarm notification corresponding to the target node server. Each alarm notification contains the corresponding fault potential information and the target fault handling strategy.

[0083] S108: Send each of the alarm notifications to a pre-specified user to complete the network fault handling process at the current detection time point.

[0084] In the method provided in the embodiment of the present invention, the user corresponding to each application system can be preset, or a unified user can be set, which is usually an application manager or an operation and maintenance personnel, and can be set specifically through a user ID. Each alarm notification is sent to a pre-specified user through SMS or client notification. If each alarm notification corresponds to a different user, each alarm notification can be sent to its corresponding user separately.

[0085] Based on the method provided by the embodiment of the present invention, when each detection time point corresponding to a preset detection period is reached, host data collection and switch data collection are performed on each node server in the preset server cluster to obtain host data information and switch data information corresponding to each node server; based on the host data information and switch data information corresponding to each node server, it is judged whether each node server meets the preset fault potential condition, and the node server that meets the condition is used as the target node server; the fault potential information, application system information and network topology information corresponding to each target node server are determined; for each target node server, based on the fault potential information, application system information and network topology information corresponding to the target node server, the target fault handling strategy corresponding to the target node server is determined from the preset multiple fault handling strategies; based on the fault potential information and target fault handling strategy corresponding to each target node server, an alarm notification corresponding to each target node server is generated; each alarm notification is sent to a pre-specified user to complete the network fault handling process at the current detection time point. By applying the method provided in the embodiment of the present invention, the host data and switch data of each server in the server cluster can be automatically collected at regular intervals, and the fault hidden danger judgment and location can be realized through condition matching, and the fault handling strategy can be further determined, and the operation and maintenance personnel can be notified in time to perform maintenance. There is no need for manual fault analysis and strategy formulation, which can reduce the workload and time consumption of fault handling, which is conducive to ensuring high continuity of business and improving emergency handling efficiency. Secondly, the fault hidden danger conditions can be set in combination with hidden faults, and there is no need to wait until the explicit fault occurs before performing operation and maintenance processing, which is conducive to discovering hidden faults and performing preventive operation and maintenance processing.

[0086] exist Figure 1 On the basis of the method shown, in the method provided by the embodiment of the present invention, the process of collecting host data from each node server in the preset server cluster mentioned in step S101 to obtain host data information corresponding to each of the current node servers includes:

[0087] For each of the node servers, collecting the overall host data corresponding to the node server, the overall host data including index values ​​of a plurality of preset host indexes, the plurality of preset host indexes including a first port status, a device connection status, a second port status, a current rate of a network card, a mode and rate supported by the network card, and a current mode of the network card;

[0088] In the method provided by the embodiment of the present invention, for each node server, data is collected on the node server according to a plurality of preset host indicators that are preset in advance, and the indicator value of each preset host indicator at the current time point is collected, and the collected data is used as the overall data of the main body. Each preset host indicator is a performance indicator of the host network card and the network port. Specifically, the indicator values ​​of each preset host indicator and some indicators in the normal state can be shown in Table 1:

[0089] Table 1

[0090]

[0091]

[0092] The first port status refers to the port status of the network card port, and the second port status refers to the port status of the link.

[0093] For each of the node servers, host network card data corresponding to the node server is collected, the host network card data includes index values ​​of a plurality of preset host network card indexes, the plurality of preset host network card indexes include the number of packets received / sent by the network card, the size of the data received / sent by the network card, the number of error packets received / sent by the network card, and the number of lost packets received / sent by the network card;

[0094] In the method provided by the embodiment of the present invention, for each node server, according to a plurality of preset host network card indicators, host network card data is collected for the node server, the index value of each preset host network card indicator at the current time point is collected, and the collected data is used as the host network card data. The preset host network card indicators can be shown in Table 2, where each indicator refers to an indicator about the host network card:

[0095] Table 2

[0096] index Meaning of indicators RX / TX packets Number of packets sent / received RX / TX bytes Receive / send data size RX / TX errors Number of received / sent error packets RX / TX dropped Number of received / sent packets lost (packets that have entered the network card buffer) RX / TX overruns Number of received / sent packet losses (packets that did not enter the network card buffer)

[0097] In the method provided by the embodiment of the present invention, the number of packet losses of the network card receiving / sending includes two types of packet losses, namely the number of packet losses of the packets that have entered the network card buffer and the number of packet losses of the packets that have not entered the network card buffer.

[0098] For each of the node servers, host network port data corresponding to the node server is collected, the host network port data includes index values ​​of a plurality of preset host network port indexes, the plurality of preset host network port indexes include network port packet receiving / sending count, network port packet receiving / sending data size, network port packet receiving / sending error count, network port packet receiving / sending packet loss count, and network port packet receiving verification error count;

[0099] In the method provided by the embodiment of the present invention, for each node server, according to the preset multiple host network port indicators, the host network port data of the node server is collected, the indicator value of each current host network port indicator is collected, and the collected data is used as the host network port data. Each preset host network port indicator can be shown in Table 3, where each indicator refers to an indicator about the host network port:

[0100] Table 3

[0101] index Meaning of indicators tx / rx_packets Receive / send packet count tx / rx_bytes Receive / send data size tx / rx_errors Receive / send packet error count tx / rx_dropped Receive / send packet loss count rx_crc_errors Receive packet check error count

[0102] The host overall data, host network card data and host network port data corresponding to each of the node servers are used as the host data information corresponding to each of the node servers.

[0103] In the method provided by the embodiment of the present invention, for each node server, the corresponding host overall data, host network card data and host network port data are combined to form the host data information corresponding to the node server.

[0104] It should be noted that the specific indicators mentioned in the embodiments of the present invention are only for better illustrating the specific embodiments provided by the method of the present invention. In the specific implementation process, the contents of indicators such as preset host indicators, preset host network card indicators, preset host network port indicators, etc. are not limited to the indicators listed in Tables 1, 2 and 3, and can be set according to actual needs without affecting the function of the method provided in the embodiments of the present invention.

[0105] exist Figure 1 On the basis of the method shown, in the method provided by the embodiment of the present invention, the process of collecting switch data for each of the node servers mentioned in step S102 to obtain switch data information corresponding to each of the node servers currently includes:

[0106] For each of the node servers, the switch network port data corresponding to the node server is collected, the switch network port data includes index values ​​of multiple preset switch network port indicators, and the multiple preset switch network port indicators include the number of frames sent and received, the number of frames with cyclic redundancy check errors, the number of packet losses of predetermined types of frames, link error count, error frame count, port delay count, and timeout packet loss number;

[0107] The switch network port data corresponding to each of the node servers is used as the switch data information corresponding to each of the node servers.

[0108] In the method provided by the embodiment of the present invention, for each node server, according to each preset switch network port index, the node server is subjected to switch network port data collection, the index value of each preset switch network port index at the current time point is collected, and the collected data is used as the switch network port data. Each preset switch network port index can be shown in Table 4:

[0109] Table 4

[0110] index Meaning of indicators Tx / Rx Number of frames sent and received Crc_err Number of frames with CRC check errors Disc_c3 Number of class3 FC frame losses Loss sync / Loss sig / Link-fail Link Error Count ITC Error frame count IO_PERF_IMPACT Port delay count TimeoutDiscards Number of packets lost due to timeout

[0111] In the method provided in the embodiment of the present invention, cyclic redundancy check (CRC) refers to cyclic redundancy check, which is a hash function that generates a short fixed-bit check code based on data such as online data packets or computer files, and is mainly used to detect or verify errors that may occur after data transmission or storage. Preset switch network port indicator: the number of packet losses of a predetermined type of frame, wherein the predetermined type of frame refers to a class 3 type of FC frame.

[0112] In the method provided by the embodiment of the present invention, the switch network port data corresponding to each node server is the corresponding switch data information.

[0113] It should be noted that the specific indicators mentioned in the embodiments of the present invention are only for better illustrating the specific embodiments provided by the method of the present invention. In the specific implementation process, the preset switch network port indicators are not limited to the indicators listed in Table 4, and can be set according to actual needs without affecting the function of the method provided in the embodiments of the present invention.

[0114] exist Figure 1 Based on the method shown in FIG. 1 , the embodiment of the present invention provides another method for handling network failures. Figure 2 As shown in the flowchart, in the method provided by the embodiment of the present invention, the process mentioned in step S103 of judging whether the node server meets the preset fault potential condition according to the host data information and switch data information corresponding to the node server includes:

[0115] S201: Determine multiple host key indicator values ​​corresponding to the node server according to the host data information corresponding to the node server;

[0116] In the method provided by the embodiment of the present invention, the host data information includes the indicator values ​​of multiple indicators. Multiple host key indicator values, that is, the indicator values ​​of the host key indicators, can be determined in the host data information. The host key indicators refer to indicators associated with the host network card and network port performance, which can be pre-set, such as the preset host indicators mentioned in the previous embodiments, whose indicator values ​​directly represent the health status of the relevant performance. The host key indicators can be indicators such as the port status and device connection status shown in Table 1, such as the indicator up / down. When its indicator value is UP, it represents a normal state. When the indicator value is not UP, it represents an abnormal state.

[0117] S202: Determine a preset indicator value corresponding to each of the key indicator values ​​of the host;

[0118] In the method provided in the embodiment of the present invention, the preset indicator value of each host key indicator can be preset, that is, the value indicating that the corresponding performance state is in a normal state. The preset indicator value corresponding to the host key indicator corresponding to each host key indicator value can be obtained from the preset information, and the preset indicator value is used as the preset indicator value corresponding to the corresponding host key indicator value.

[0119] S203: for each of the host key indicator values, determining whether the host key indicator value is the same as its corresponding preset indicator value; if the host key indicator value is different from its corresponding preset indicator value, treating the host key indicator value as an abnormal indicator value;

[0120] In the method provided by the embodiment of the present invention, each host key indicator value is compared with its corresponding indicator preset value. If the two are different, the host key indicator value currently being compared is determined as an abnormal indicator value. If the two are the same, the host key indicator value currently being compared is not marked as abnormal.

[0121] S204: If there is at least one abnormal indicator value among the key indicator values ​​of each host, it is determined that the node server meets the preset fault potential condition.

[0122] In the method provided by the embodiment of the present invention, it is determined whether any host key indicator value among the key indicator values ​​of each host is determined to be an abnormal indicator value. If there is an abnormal indicator value, it is determined that the node server meets the preset fault potential condition.

[0123] On the basis of the method provided in the above embodiment, the method provided in the embodiment of the present invention further includes:

[0124] If there is no abnormal indicator value among the key indicator values ​​of each host, determining multiple performance indicator count values ​​corresponding to the node server according to the host data information and switch data information corresponding to the node server;

[0125] In the method provided by the embodiment of the present invention, if no host key indicator value is marked as an abnormal indicator value, then the indicator values ​​of multiple performance indicators are obtained in the host data information and the switch data information. Each performance indicator is a counting indicator, so the indicator value of each performance indicator is determined as the performance indicator count value corresponding to the node server. Each performance indicator can be preset, and can be an indicator as shown in Table 2, Table 3 and Table 4, that is, the preset host network card indicator, preset host network port indicator and preset switch network port indicator mentioned in the above embodiment.

[0126] Determine an indicator threshold corresponding to each of the performance indicator count values;

[0127] In the method provided by the embodiment of the present invention, the indicator threshold of each performance indicator can be pre-set, and the indicator threshold corresponding to the performance indicator corresponding to each performance indicator count value is obtained from the pre-set information, and the indicator threshold is used as the indicator threshold corresponding to the corresponding performance indicator count value.

[0128] For each of the performance indicator count values, compare the performance indicator count value with its corresponding indicator threshold value, and if the performance indicator count value is greater than or equal to its corresponding indicator threshold value, determine the performance indicator count value as an abnormal count value;

[0129] In the method provided by an embodiment of the present invention, each performance indicator count value is compared with its corresponding indicator threshold. If the performance indicator count value currently being compared is greater than or equal to its corresponding indicator threshold, the performance indicator count value is determined as an abnormal count value. If the performance indicator count value is less than its corresponding indicator threshold, the performance indicator count value is not marked as abnormal.

[0130] If there are abnormal count values ​​in each of the performance indicator count values, determining whether each of the abnormal count values ​​in each of the performance indicator count values ​​meets a preset abnormal matching condition;

[0131] In the method provided in the embodiment of the present invention, abnormal matching conditions can be set according to actual needs, for example, the existence of at least one abnormal count value can be used as an abnormal matching condition, or the existence of more than a predetermined number of abnormal count values ​​can be used as an abnormal matching condition, or the performance indicator count value of a specified performance indicator being determined as an abnormal count value can be used as an abnormal matching condition, etc. The specific condition content can be customized according to the fault investigation situation or the official standard of the manufacturer, and will not affect the function of the method provided in the embodiment of the present invention.

[0132] If there are abnormal count values ​​in the count values ​​of each performance indicator, it is determined whether each abnormal count value meets the preset abnormal matching condition. For example, if the abnormal matching condition is that there are abnormal count values ​​exceeding a predetermined number, the number of abnormal count values ​​existing in the performance indicator count values ​​is determined, and it is determined whether the number exceeds the predetermined number. If it exceeds, it is considered to meet the condition, and if it does not exceed, it is considered not to meet the condition.

[0133] If each of the abnormal count values ​​meets the preset abnormal matching condition, it is determined that the node server meets the preset fault potential condition.

[0134] In the method provided by the embodiment of the present invention, if it is determined that each abnormal count value meets the preset abnormal matching condition, it is determined that the node server meets the preset fault potential condition.

[0135] In the method provided by the embodiment of the present invention, if each abnormal count value does not meet the preset abnormal matching condition, it is determined that the node server does not meet the preset fault potential condition.

[0136] It should be noted that, in the specific implementation process, the processing flow of the performance indicator count value mentioned in the method provided in the embodiment of the present invention may not be limited to being triggered when there is no abnormal indicator value in the host key indicator value, and may be triggered by Figure 2 The process shown is carried out synchronously. When there is at least one abnormal indicator value in each host key indicator value, and / or there is an abnormal count value in each performance indicator count value, and each abnormal count value meets the preset abnormal matching condition, it is considered that the node server meets the preset fault potential condition.

[0137] On the basis of the method provided in the above embodiment, the method provided in the embodiment of the present invention further includes:

[0138] If there is no abnormal count value among the performance indicator count values, it is determined that the node server does not meet the preset fault potential condition.

[0139] In the method provided by the embodiment of the present invention, the abnormal count value can represent the hidden danger of performance degradation. When there is no abnormal indicator value in the key indicator values ​​of each host, if there is no abnormal count value in the count values ​​of each performance indicator, it means that the node server has no explicit fault and no hidden fault, so it is determined that the node server does not meet the preset fault hidden danger conditions.

[0140] exist Figure 1 On the basis of the method shown, the method provided in the embodiment of the present invention further includes:

[0141] For each target fault handling strategy corresponding to the target node server, determine whether the target fault handling strategy meets the preset automatic execution condition; if the target fault handling strategy meets the preset automatic execution condition, the target node server is used as a node server to be processed;

[0142] In the method provided by the embodiment of the present invention, for some fault handling strategies, fault handling scripts are pre-set, and corresponding troubleshooting operations can be performed by executing the fault handling scripts, such as automatically isolating problematic ports, etc. It can be determined whether the target fault handling strategy corresponding to each target node server meets the preset automatic execution conditions, that is, it can be determined whether there is a fault handling script associated with the target fault handling strategy in the pre-set fault handling scripts. If so, it is considered that the preset automatic execution conditions are met, and if not, it is considered that the automatic execution conditions are not met.

[0143] In the method provided by the embodiment of the present invention, when the target fault handling strategy corresponding to the target node server meets the preset automatic execution condition, the target node server is used as the node server to be processed.

[0144] Determine the processing operation corresponding to each of the to-be-processed node servers according to the target fault handling strategy corresponding to each of the to-be-processed node servers;

[0145] In the method provided by an embodiment of the present invention, for each node server to be processed, a fault handling script associated with its corresponding target fault handling strategy can be determined from among the preset fault handling scripts, and the processing operation corresponding to the node server to be processed can be determined based on the fault handling script.

[0146] Execute the processing operation corresponding to each of the node servers to be processed.

[0147] In the method provided by the embodiment of the present invention, the processing operation corresponding to each node server to be processed can be executed by executing the corresponding fault handling script.

[0148] In order to better illustrate the method provided by the embodiment of the present invention, in combination with actual application scenarios, the embodiment of the present invention provides another network fault processing method.

[0149] refer to Figure 3 As shown in the example diagram, the network fault handling process provided by the embodiment of the present invention includes:

[0150] Obtain equipment network topology and the importance level of associated application systems through the CMDB system;

[0151] Obtain basic information about the application system, network topology, switch routing, etc. associated with each node server as a reference for the formulation of subsequent fault maintenance strategies. Optionally, the information obtained mainly includes: application system name, system importance level, service level agreement (SLA), application manager, application manager contact information, switch routing information (network topology), etc.

[0152] Obtain the busyness or idleness of the application system through the operating system;

[0153] At the operating system level, the busyness of the application system associated with the node server and itself is obtained as one of the references for the formulation of subsequent fault maintenance strategies. Optionally, the collected indicators are shown in Table 5.

[0154] Table 5

[0155] Indicator Meaning of indicators Cpu Util CPU usage Sed Mem Perccent Memory usage IOwait CPU Waiting for IO NET_RATE Total network traffic per second Swap Used Percent Swap utilization DISK Percent Busy Disk busyness DISK IO Rate Disk IO throughput

[0156] According to business characteristics, set the normal status of monitoring indicators and set the execution time and cycle of the script system;

[0157] According to the previously collected information and preset rules, the time and cycle of program execution are set (select the service idle time period to execute this script regularly, and this time can be static or dynamic), as well as the normal state values ​​of some monitoring indicators. Optionally, the normal state values ​​of some monitoring indicators of the host network card and network port can be as shown in Table 1 mentioned in the above embodiment.

[0158] According to the execution time and cycle set by the program, the performance data related to the host network card and switch are collected.

[0159] Match the monitoring indicator keywords and compare them with the set thresholds;

[0160] To match various performance indicators, optionally, the host network card preset indicators are as shown in Table 2 mentioned in the previous embodiment, the host network port preset indicators are as shown in Table 3, and the switch network port preset indicators are as shown in Table 4.

[0161] Determine if there is a malfunction or performance degradation;

[0162] According to the above matching results and counting results, if a device meets at least one of the following two conditions, it is marked as a target component:

[0163] The host network card and network port matching key values ​​are inconsistent with the preset normal values;

[0164] The counts of host and switch related performance indicators reach the threshold.

[0165] Fault maintenance strategy matching;

[0166] Taking into account the relevant information of the application system to which the faulty device / port belongs, as well as the high availability of the network topology, and the preset fault component maintenance strategy, the system automatically formulates the optimal handling strategy and issues an alarm notification with relevant information about the target component failure and the optimal strategy.

[0167] Network fault handling;

[0168] Application managers and operation and maintenance personnel can handle faulty hard disks in a timely manner based on alarm text messages, or the system can automatically isolate problematic ports or devices based on pre-set processing strategies and network high availability to prevent problematic ports or devices from causing large-scale network slowdowns and affecting user experience.

[0169] Optionally, the current program execution time and cycle setting rules can be formulated according to actual scenario requirements and with reference to the failure rate.

[0170] Optionally, the reference values ​​pre-set for the host network card and network port keywords can be set according to the hardware configuration in the actual scenario.

[0171] Optionally, performance thresholds of host network cards, network ports, switches, etc. can be set after statistical analysis based on network characteristics in different application scenarios.

[0172] The method provided by the embodiment of the present invention sets the normal state keywords of the monitoring indicators, the program running time and cycle based on the business characteristics of the application system to which the server deployment cluster belongs;

[0173] Run the program system to capture the performance data of the server network cards and switch network ports of each node in the cluster;

[0174] Match the pre-set keywords and thresholds of each monitoring indicator to determine whether the cluster has network problems or network performance degradation. If so, enter the fault maintenance strategy matching and network fault handling; if not, wait for the next data collection;

[0175] The method provided by the embodiment of the present invention calls the CMDB system to collect basic configuration information, the network topology architecture of the problem equipment, the importance level of the application involved and the busy and idle time periods;

[0176] The method provided in the embodiment of the present invention can automatically execute simple handling operations according to the set fault handling strategy, and give the best handling suggestions, and notify the operation and maintenance personnel to handle the fault in time.

[0177] Based on the method provided in the embodiment of the present invention, it is possible to automatically collect performance data of each server network card and switch network port, and then determine whether there is a network fault or whether preventive replacement of problematic components is required by matching pre-set monitoring indicator corresponding keywords and thresholds. If it is determined to be so, the fault is handled in combination with CMDB system information and network component replacement strategy, thereby achieving timely troubleshooting of network faults in the context of large-scale server clusters.

[0178] The method provided by the embodiment of the present invention can ensure that the operation and maintenance personnel can maintain the faulty hard disk in a timely manner and ensure the long-term stable and efficient operation of the large server cluster by automatically locating the failed devices and the devices with degraded performance and performing simple disposal in the context of a large server cluster.

[0179] In the operation and maintenance scenario of a large server cluster, it can first assist in determining whether there are explicit or implicit network-related faults, and then quickly formulate the best maintenance and disposal strategy for faulty components based on the business characteristics of the application system, promptly notify the operation and maintenance personnel to perform maintenance, and even automatically isolate faulty ports and equipment to avoid causing large-scale network slowdowns. The entire operation and maintenance process, from fault location to policy formulation and then to fault preprocessing, does not require manual intervention. Compared with traditional network fault location methods, it can not only detect implicit network faults in a timely manner, but also add policy formulation modules and automatic disposal modules. On the one hand, it improves passive operation and maintenance to active operation and maintenance, and on the other hand, it reduces fault handling response time to ensure high business continuity.

[0180] When a network failure occurs in a large server cluster, the method provided by the embodiment of the present invention can promptly locate the problematic device or port and quickly formulate a fault handling strategy to ensure that the operation and maintenance personnel can promptly operate and maintain the faulty component.

[0181] In the context of large-scale server clusters, the entire network troubleshooting process does not require human intervention, saving a lot of manpower and time resources and greatly improving operation and maintenance efficiency.

[0182] Based on the method provided in the embodiment of the present invention, the automatic handling strategy is set in combination with rich operation and maintenance experience, which can automatically perform simple pre-processing of faults, avoid greater losses caused by faulty components, and greatly ensure the external service quality of the cluster;

[0183] On the basis of the method provided in the embodiment of the present invention, by slightly adjusting the preset information in combination with rich operation and maintenance experience, hidden faults can be effectively predicted and located to ensure long-term and stable operation of the cluster.

[0184] and Figure 1 Corresponding to the network fault processing method shown in FIG. 1 , an embodiment of the present invention further provides a network fault processing device for Figure 1The specific implementation of the method shown in is shown in the structural diagram Figure 4 As shown, including:

[0185] The first collection unit 301 is used to collect host data from each node server in the preset server cluster when each detection time point corresponding to the preset detection period is reached, and obtain the host data information corresponding to each of the node servers;

[0186] The second collection unit 302 is used to collect switch data for each of the node servers to obtain switch data information corresponding to each of the node servers;

[0187] The judging unit 303 is used to judge, for each of the node servers, whether the node server meets the preset fault potential condition according to the host data information and the switch data information corresponding to the node server, and if the node server meets the preset fault potential condition, the node server is used as the target node server;

[0188] A first determining unit 304 is used to determine the potential fault information corresponding to each of the target node servers;

[0189] The second determining unit 305 is used to determine the application system information and network topology information corresponding to each of the target node servers;

[0190] The third determining unit 306 is used to determine, for each of the target node servers, a target fault handling strategy corresponding to the target node server from among a plurality of preset fault handling strategies according to the fault potential information, application system information and network topology information corresponding to the target node server;

[0191] A generating unit 307, configured to generate an alarm notification corresponding to each target node server according to the fault potential information corresponding to each target node server and the target fault handling strategy;

[0192] The alarm unit 308 is used to send each of the alarm notifications to a pre-specified user to complete the network fault handling process at the current detection time point.

[0193] By using the device provided by the embodiment of the present invention, the host data and switch data of each server in the server cluster can be automatically collected at regular intervals, and the fault hidden danger judgment and location can be realized through condition matching, and the fault handling strategy can be further determined, and the operation and maintenance personnel can be notified in time to perform maintenance. There is no need for manual fault analysis and strategy formulation, which can reduce the workload and time consumption of fault handling, which is conducive to ensuring high continuity of business and improving emergency handling efficiency. Secondly, the fault hidden danger conditions can be set in combination with hidden faults, and there is no need to wait until the obvious fault occurs before performing operation and maintenance processing, which is conducive to discovering hidden faults and performing preventive operation and maintenance processing.

[0194] exist Figure 4 Based on the device shown, the device provided by the embodiment of the present invention can be further expanded into multiple units. The function of each unit can refer to the description of each embodiment provided in the above network fault processing method, and no further examples will be given here.

[0195] An embodiment of the present invention further provides a storage medium, which includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above-mentioned network fault processing method.

[0196] The embodiment of the present invention further provides an electronic device, the structural diagram of which is shown in FIG. Figure 5 As shown, it specifically includes a memory 401 and one or more instructions 402, wherein the one or more instructions 402 are stored in the memory 401 and are configured to be executed by one or more processors 403 to perform the following operations:

[0197] When each detection time point corresponding to the preset detection period is reached, host data is collected for each node server in the preset server cluster to obtain host data information corresponding to each of the node servers;

[0198] Collect switch data for each of the node servers to obtain switch data information corresponding to each of the node servers;

[0199] For each of the node servers, judging whether the node server meets the preset fault potential condition according to the host data information and switch data information corresponding to the node server, and if the node server meets the preset fault potential condition, taking the node server as the target node server;

[0200] Determine the potential fault information corresponding to each of the target node servers;

[0201] Determine the application system information and network topology information corresponding to each of the target node servers;

[0202] For each of the target node servers, according to the fault potential information, application system information and network topology information corresponding to the target node server, determine the target fault handling strategy corresponding to the target node server from a plurality of preset fault handling strategies;

[0203] Generate an alarm notification corresponding to each target node server according to the fault potential information corresponding to each target node server and the target fault handling strategy;

[0204] Each of the alarm notifications is sent to a pre-specified user to complete the network fault handling process at the current detection time point.

[0205] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

[0206] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0207] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A network fault handling method, It is characterized in that include: When each detection time point corresponding to the preset detection period is reached, host data is collected for each node server in the preset server cluster to obtain host data information corresponding to each of the node servers; Collect switch data for each of the node servers to obtain switch data information corresponding to each of the node servers; For each of the node servers, judging whether the node server meets the preset fault potential condition according to the host data information and switch data information corresponding to the node server, and if the node server meets the preset fault potential condition, taking the node server as the target node server; Determine the potential fault information corresponding to each of the target node servers; Determine the application system information and network topology information corresponding to each of the target node servers; For each of the target node servers, according to the fault potential information, application system information and network topology information corresponding to the target node server, determine the target fault handling strategy corresponding to the target node server from a plurality of preset fault handling strategies; Generate an alarm notification corresponding to each target node server according to the fault potential information corresponding to each target node server and the target fault handling strategy; Sending each of the alarm notifications to a pre-specified user to complete the network fault handling process at the current detection time point; The determining whether the node server meets the preset fault potential condition according to the host data information and switch data information corresponding to the node server includes: According to the host data information corresponding to the node server, determine multiple host key indicator values ​​corresponding to the node server; determine the indicator preset value corresponding to each of the host key indicator values; for each of the host key indicator values, judge whether the host key indicator value is the same as the indicator preset value corresponding to it; if the host key indicator value is different from the indicator preset value corresponding to it, use the host key indicator value as an abnormal indicator value; if there is at least one abnormal indicator value among each of the host key indicator values, determine that the node server meets the preset fault hidden danger condition; if there is no abnormal indicator value among each of the host key indicator values, determine that the node server meets the preset fault hidden danger condition according to the host data information corresponding to the node server and the exchange machine data information, determine multiple performance indicator count values ​​corresponding to the node server; determine the indicator threshold corresponding to each of the performance indicator count values; for each of the performance indicator count values, compare the performance indicator count value with its corresponding indicator threshold, if the performance indicator count value is greater than or equal to its corresponding indicator threshold, determine the performance indicator count value as an abnormal count value; if there is an abnormal count value in each of the performance indicator count values, determine whether each abnormal count value in each of the performance indicator count values ​​meets a preset abnormal matching condition; if each of the abnormal count values ​​meets the preset abnormal matching condition, determine that the node server meets the preset fault potential condition; The network fault handling method further includes: For the target fault handling strategy corresponding to each of the target node servers, determine whether the target fault handling strategy meets the preset automatic execution conditions. If the target fault handling strategy meets the preset automatic execution conditions, the target node server is used as a node server to be processed; based on the target fault handling strategy corresponding to each of the node servers to be processed, determine the processing operation corresponding to each of the node servers to be processed; and execute the processing operation corresponding to each of the node servers to be processed.

2. The method according to claim 1, It is characterized in that The collecting host data of each node server in the preset server cluster to obtain host data information corresponding to each node server currently includes: For each of the node servers, collecting the overall host data corresponding to the node server, the overall host data including index values ​​of a plurality of preset host indexes, the plurality of preset host indexes including a first port status, a device connection status, a second port status, a current rate of a network card, a mode and rate supported by the network card, and a current mode of the network card; For each of the node servers, host network card data corresponding to the node server is collected, the host network card data includes index values ​​of a plurality of preset host network card indexes, the plurality of preset host network card indexes include the number of packets received / sent by the network card, the size of the data received / sent by the network card, the number of error packets received / sent by the network card, and the number of lost packets received / sent by the network card; For each of the node servers, host network port data corresponding to the node server is collected, the host network port data includes index values ​​of a plurality of preset host network port indexes, the plurality of preset host network port indexes include network port packet receiving / sending count, network port packet receiving / sending data size, network port packet receiving / sending error count, network port packet receiving / sending packet loss count, and network port packet receiving verification error count; The host overall data, host network card data and host network port data corresponding to each of the node servers are used as the host data information corresponding to each of the node servers.

3. The method according to claim 1, It is characterized in that The performing switch data collection on each of the node servers to obtain switch data information corresponding to each of the node servers currently includes: For each of the node servers, the switch network port data corresponding to the node server is collected, the switch network port data includes index values ​​of multiple preset switch network port indicators, and the multiple preset switch network port indicators include the number of frames sent and received, the number of frames with cyclic redundancy check errors, the number of packet losses of predetermined types of frames, link error count, error frame count, port delay count, and timeout packet loss number; The switch network port data corresponding to each of the node servers is used as the switch data information corresponding to each of the node servers.

4. The method according to claim 1, It is characterized in that Also includes: If there is no abnormal count value among the performance indicator count values, it is determined that the node server does not meet the preset fault potential condition.

5. A network fault processing device, It is characterized in that include: The first collection unit is used to collect host data from each node server in the preset server cluster when each detection time point corresponding to the preset detection period is reached, and obtain the host data information corresponding to each of the node servers; The second collection unit is used to collect switch data for each of the node servers to obtain switch data information corresponding to each of the node servers; A judging unit, configured to judge, for each of the node servers, whether the node server meets a preset potential fault condition according to the host data information and the switch data information corresponding to the node server, and if the node server meets the preset potential fault condition, use the node server as a target node server; A first determining unit, configured to determine potential fault information corresponding to each of the target node servers; A second determining unit, used to determine the application system information and network topology information corresponding to each of the target node servers; A third determining unit is used to determine, for each of the target node servers, a target fault handling strategy corresponding to the target node server from among a plurality of preset fault handling strategies according to the fault potential information, application system information and network topology information corresponding to the target node server; A generating unit, configured to generate an alarm notification corresponding to each target node server according to the fault potential information corresponding to each target node server and the target fault handling strategy; An alarm unit is used to send each of the alarm notifications to a pre-specified user to complete the network fault handling process at the current detection time point; The judgment unit is specifically used to: determine multiple host key indicator values ​​corresponding to the node server according to the host data information corresponding to the node server; determine the indicator preset value corresponding to each of the host key indicator values; for each of the host key indicator values, determine whether the host key indicator value is the same as the indicator preset value corresponding to it; if the host key indicator value is different from the indicator preset value corresponding to it, use the host key indicator value as an abnormal indicator value; if there is at least one abnormal indicator value among each of the host key indicator values, determine that the node server meets the preset fault potential condition; if there is no abnormal indicator value among each of the host key indicator values, determine that the node server meets the preset fault potential condition according to the host key indicator value corresponding to the node server. The method comprises the following steps: determining a plurality of performance indicator count values ​​corresponding to the node server based on the machine data information and the switch data information; determining an indicator threshold corresponding to each of the performance indicator count values; comparing the performance indicator count value with its corresponding indicator threshold for each of the performance indicator count values; if the performance indicator count value is greater than or equal to its corresponding indicator threshold, determining the performance indicator count value as an abnormal count value; if there is an abnormal count value in each of the performance indicator count values, determining whether each abnormal count value in each of the performance indicator count values ​​meets a preset abnormal matching condition; if each of the abnormal count values ​​meets the preset abnormal matching condition, determining that the node server meets the preset fault potential condition; The alarm unit is also used to determine whether the target fault handling strategy corresponding to each of the target node servers meets the preset automatic execution conditions. If the target fault handling strategy meets the preset automatic execution conditions, the target node server is used as a node server to be processed; based on the target fault handling strategy corresponding to each of the node servers to be processed, the processing operation corresponding to each of the node servers to be processed is determined; and the processing operation corresponding to each of the node servers to be processed is executed.

6. A storage medium, It is characterized in that The storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the network fault handling method according to any one of claims 1 to 4.

7. An electronic device, It is characterized in that It comprises a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors to perform the network fault handling method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Virtual network fault positioning device based on Kernel-based virtual machine (KVM)

    CN105162639A

  • Network risk monitoring method and system for substation

    CN107241224A

  • System capable of quickly discovering and processing network fault, and processing method thereof

    CN107819633A

  • Power grid dispatching-based operation and maintenance method

    WO2019233047A1