Host network health status assessment method, device, equipment and storage medium

By dividing the host network into multiple modules and evaluating health status based on alarm information, the problems of complex models in the prior art reducing interpretability and probe overhead are solved, and a more efficient and accurate assessment of network health status is achieved.

CN114095345BActive Publication Date: 2024-12-03SANGFOR TECH INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111234382.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-22
Publication Date
2024-12-03
Estimated Expiration
2041-10-22

AI Technical Summary

Technical Problem

In the prior art, complex models reduce interpretability when evaluating network health status, operation and maintenance personnel have difficulty locating abnormalities, and probe overhead is high and there is lag in multi-dimensional scenarios.

Method used

By dividing the host network into multiple network modules according to application functions, the network indicators of each network module are obtained, the health status is calculated based on the alarm information, the health status and alarm relationship is realized, and the efficiency and accuracy of positioning and evaluation are improved.

Benefits of technology

It realizes more efficient and accurate host network abnormal location and health assessment, reducing operation and maintenance complexity, and reducing probe overhead and lag.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114095345B_ABST
    Figure CN114095345B_ABST
Patent Text Reader

Abstract

The present application discloses a method, apparatus, device and storage medium for evaluating the health status of a host network. The method comprises: obtaining at least one network indicator of each of at least one network module of a host network; each of the network modules has different application functions in the host network; according to each of the network indicators of each of the network modules, determining the alarm information of the corresponding network indicator; according to the alarm information of the at least one network indicator of each of the network modules, determining the health status of the corresponding network module; according to the health status of the at least one network module, determining the health status of the host network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network security technology, and relates to but is not limited to a method, device, equipment and storage medium for evaluating the health status of a host network. Background Art

[0002] In the related art, the network health status is generally evaluated by the following methods: Method 1, the analyzed multi-dimensional network indicators that influence each other are input into the correlation model or statistical model, and the model outputs a comprehensive host network health score to comprehensively evaluate the health status of the host network; Method 2, according to the evaluation requirements of the network health status, a detection message is constructed, and the health status of the host network is comprehensively evaluated through the comprehensive detection results of various probes.

[0003] However, the complex model in method one reduces the interpretability of network health status, making it difficult for operation and maintenance personnel to locate anomalies and deal with health status issues. In method two, the probe overhead is large in scenarios where there are many dimensions for evaluating network indicators, and the probe detection cycle is long and there is a lag. Summary of the invention

[0004] In view of this, embodiments of the present application provide a method, apparatus, device and storage medium for evaluating the health status of a host network.

[0005] In a first aspect, an embodiment of the present application provides a method for evaluating the health status of a host network, the method comprising: obtaining at least one network indicator of each of at least one network module of the host network; each of the network modules has different application functions in the host network; according to each network indicator of each of the network modules, determining the alarm information of the corresponding network indicator; according to the alarm information of the at least one network indicator of each of the network modules, determining the health status of the corresponding network module; according to the health status of the at least one network module, determining the health status of the host network.

[0006] In a second aspect, an embodiment of the present application provides a host network health status assessment device, comprising: an acquisition module, used to acquire at least one network indicator of each of the at least one network modules of the host network; each of the network modules has different application functions in the host network; a first determination module, used to determine the alarm information of the corresponding network indicator according to each network indicator of each of the network modules; a second determination module, used to determine the health status of the corresponding network module according to the alarm information of the at least one network indicator of each of the network modules; a third determination module, used to determine the health status of the host network according to the health status of the at least one network module.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor executes the program, the steps in the host network health status assessment method described in the first aspect of the embodiment of the present application are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the host network health status assessment method described in the first aspect of the embodiment of the present application.

[0009] In an embodiment of the present application, by dividing the host network into multiple network modules according to application functions, it is possible to evaluate the impact of each network module on the host network and locate the abnormalities of the host network more efficiently and accurately. In addition, by calculating the health status of the host network based on the alarm information, the association between the health status and the alarm is achieved, and the health status of the host network can be calculated more accurately. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 A flowchart of a method for evaluating the health status of a host network according to an embodiment of the present application;

[0011] Figure 2 A flowchart of a method for a manager to evaluate the network health status of a host according to an embodiment of the present application;

[0012] Figure 3 A flowchart of a method for evaluating the health status of a host network according to an embodiment of the present application;

[0013] Figure 4 A flowchart of a method for designing and configuring a network indicator collection strategy and an alarm strategy according to an embodiment of the present application;

[0014] Figure 5 A flowchart of a method for calculating the health score of each network module according to an embodiment of the present application;

[0015] Figure 6 A flowchart of a method for evaluating the health status of a host network according to an embodiment of the present application;

[0016] Figure 7 A schematic diagram of a process of locating the root cause of a score reduction in a host network according to an embodiment of the present application;

[0017] Figure 8 A schematic diagram of the structure of a host network health status assessment device according to an embodiment of the present application;

[0018] Fig. 9 A hardware entity schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0019] The technical solution of the present application is further described in detail below with reference to the accompanying drawings and embodiments.

[0020] Figure 1 A flowchart of a method for evaluating the health status of a host network according to an embodiment of the present application is shown in FIG. Figure 1 As shown, the method can be executed by a manager, and the method includes:

[0021] Step 102: Obtain at least one network indicator of each of the at least one network module of the host network; each of the network modules has different application functions in the host network;

[0022] Among them, the host network can be the network of the hyper-converged device host (referred to as host). The hyper-converged device host is a hyper-converged all-in-one machine. The host network can be divided into five network modules: management network, virtual network, business network, storage network and other networks according to the application function of the host network. Different network modules have different impacts on the host network. For example, the health of the management network has a significant impact on the management and control experience, the health of the virtual network has a significant impact on cross-host traffic, the health of the business network has a significant impact on the upper-level application experience, the health of the storage network has a significant impact on storage applications, and the health of other networks involves other related network states; each network module includes a corresponding network interface.

[0023] Network indicators may include network card status, network port throughput and packet loss, protocol stack status, network interruption, TCP (Transmission Control Protocol) / UDP (User Datagram Protocol) information, etc.

[0024] It should be noted that the host can configure a corresponding collection strategy for each of the network indicators, and use the corresponding collection strategy to collect the network indicators, and the manager can obtain the network indicators collected by the host.

[0025] Step 104: Determine alarm information corresponding to each network indicator of each network module according to the network indicator;

[0026] Among them, the alarm information of each of the network indicators can be used to characterize the abnormality of the corresponding network indicator and the abnormal content when it is abnormal; assuming that there is no abnormality in the network indicator, there may be no alarm information for the network indicator; the alarm information may include an alarm level and an alarm content, and the alarm level may include low, medium and high, and may also include level one, level two and level three, etc. The higher the level, the higher the degree of abnormality of the network indicator can be; assuming that the network indicator is the utilization of the CPU (Central Processing Unit, central processing unit), when the utilization of the CPU is 85%, the alarm information may include the alarm level "level one" and the alarm content "CPU utilization is high"; when the utilization of the CPU is 90%, the alarm information may include the alarm level "level two" and the alarm content "CPU utilization is 90%, high"; when the utilization of the CPU is 95%, the alarm information may include the alarm level "level three" and the alarm content "CPU utilization is 95%, close to the limit".

[0027] Assume that the key indicators of the five network modules, namely management network, virtual network, business network, storage network and other networks, are expressed as and When an abnormality occurs, the corresponding alarm information can be expressed as and

[0028] Step 106: Determine the health status of the corresponding network module according to the alarm information of the at least one network indicator of each network module;

[0029] Among them, since the alarm information can reflect the abnormal degree of network indicators, the alarm information of all network indicators in the corresponding network module can be comprehensively analyzed according to the alarm information of all network indicators in each network module to determine the health status of the corresponding network module; it should be noted that the health status of the network module can be used to reflect the number and degree of abnormalities of network indicators in the network module, and the abnormalities of the network indicators can include excessive memory utilization, low data throughput, etc.; the more abnormal network indicators of the network module, or the higher the degree of abnormality corresponding to the abnormal network indicators, the worse the health status of the network module; the fewer abnormal network indicators of the network module, or the lower the degree of abnormality corresponding to the abnormal network indicators, the better the health status of the network module.

[0030] The health status of the network module can be represented by a health score or a health level, the higher the health score, the better the health status, and the lower the health score, the worse the health status; the higher the health level, the better the health status, and the lower the health level, the worse the health status (for example, the health level gradually decreases from level one to level five). For example, when the health score is 100 points, or the health level is level one, the health status of the network module is considered to be excellent, and when the health score is 50 points, or the health level is level four, the health status of the network module is considered to be poor.

[0031] Step 108: Determine the health status of the host network according to the health status of the at least one network module.

[0032] Among them, the health status of all network modules can be comprehensively analyzed to determine the health status of the host network.

[0033] In an embodiment of the present application, by dividing the host network into multiple network modules according to application functions, it is possible to evaluate the impact of each network module on the host network and locate the abnormalities of the host network more efficiently and accurately. In addition, by calculating the health status of the host network based on the alarm information, the association between the health status and the alarm is achieved, and the health status of the host network can be determined more accurately.

[0034] The present application also provides a method for evaluating the health status of a host network, the method comprising the following steps:

[0035] Step S202: Divide the host network into at least one of the following network modules according to the application function of at least one network element in the host network: a management network, a virtual network, a service network, a storage network, and other networks;

[0036] Among them, the host network includes at least one network element, and the network element is an element or device in the host network. The network indicators of each of the network modules include at least one of the following: throughput, latency and packet loss rate; wherein the network indicators of different network modules correspond to different network elements.

[0037] The management network is a network in the host network that is related to management and control;

[0038] The virtual network is a network in the host network that is related to cross-host traffic;

[0039] The service network is a network in the host network that is related to the upper layer application experience;

[0040] The storage network is a network in the host network that is related to storage applications;

[0041] Each of the network modules includes at least one network element; the other networks are networks in the host network except the management network, the virtual network, the business network, and the storage network.

[0042] Step S204: obtaining at least one network indicator of each network module in at least one network module of the host network; each network module has different application functions in the host network;

[0043] Step S206: parsing each of the network indicators of each of the network modules to obtain parsing results of the corresponding network indicators;

[0044] Among them, the receiving and parsing functions of each of the network indicators can be configured in the manager to receive and parse the corresponding network indicators; the parsing results can include the value of the network indicator at each of multiple moments in the first time period, and the parsing results can also include the change trend of the value of each of multiple sub-periods in the first time period.

[0045] Step S208: when the analysis result of the network indicator of the network module meets the alarm condition corresponding to the network indicator, generate alarm information corresponding to the network indicator according to the analysis result of the network indicator and the corresponding alarm condition;

[0046] Among them, the alarm strategy of each network indicator can be configured in the manager, the network indicator can be represented as x, the alarm strategy of the network indicator can be A(x), and the alarm strategy can be a threshold-based alarm, that is, by comparing the value of the network indicator with the threshold, the corresponding alarm information is generated, or it can be an AI (Artificial Intelligence)-based alarm, that is, using the trained model to generate the alarm information corresponding to the network indicator. The alarm strategy of the network indicator can be to generate alarm information when the analysis result of the network indicator meets the corresponding alarm condition.

[0047] Step S210: according to the alarm information of each network indicator of each network module, the health score of the corresponding network indicator is reduced to obtain the reduced score of the corresponding network indicator;

[0048] Among them, when there is no alarm information for the network indicator, the score reduction value can be 0, and when there is alarm information for the network indicator, the score reduction value can be greater than 0; the manager can design a score reduction function for each alarm information according to the impact degree of each alarm information in different network modules. Assume that the key indicators of the management network, virtual network, business network, storage network and other network modules are represented as and The corresponding warning information is represented as and The designed score reduction functions are expressed as and Assuming that the health score of the network indicator (also called the original health score) is 100, the reduction score of the corresponding network indicator can be determined according to the alarm information and the reduction function of the network indicator.

[0049] Step S212: determining the health status of the corresponding network module according to the degradation score of the at least one network indicator of each network module;

[0050] Among them, the health score of each network indicator of each network module can be comprehensively calculated using a pre-given first comprehensive strategy to obtain the health of the corresponding network module. The first comprehensive strategy can also be directly used according to the alarm information of all network indicators of each network module and the score reduction function of the corresponding network indicator. Get the health score of the corresponding network module, and then determine the health status of the network module.

[0051] In one embodiment, the first comprehensive strategy may be a first weight allocation strategy; the first weight allocation strategy of each of the network modules may be determined; wherein the first weight allocation strategy is related to the application function of the corresponding network module; different network modules may correspond to different first weight allocation strategies, and different weights (i.e., first weights) may be assigned to the network indicators in the network modules according to the importance of the network indicators in the network modules. The higher the importance of the network indicators, the greater the first weight assigned; according to the first weight allocation strategy of each of the network modules, a first weight is assigned to each of the network indicators of the corresponding network module; according to the downgraded score of each of the network indicators of each network module and the first weight of the corresponding network indicator, the health of the corresponding network module is determined, and then the health status of the corresponding network module is determined.

[0052] Among them, the difference between the health score and the degradation score of the network indicator can be determined as the health of the corresponding network indicator (i.e., the health score). The product of the health score of each network indicator in a certain network module and the first weight of the corresponding network indicator can be calculated first, and then the sum of the products of the network indicators in the network module is calculated, and the sum of the products is determined as the health of the network module; the product of the degradation score of each network indicator in a certain network module and the first weight of the corresponding network indicator can be determined first, and then the sum of the products of the network indicators in the network module is calculated, and the sum of the products is determined as the total degradation score of the network module, and the difference between the health score of the network module (for example, 100) and the total degradation score is determined as the health of the corresponding network module.

[0053] Step S214: determining the health status of the host network according to the health status of the at least one network module;

[0054] It is assumed that the health scores of the management network, virtual network, business network, storage network and other networks are represented by Ω m ,Ω v ,Ω e ,Ω s and Ω o , we can use the designed comprehensive strategy E(Ω m ,Ω v ,Ω e ,Ω s ,Ω o ) calculates the health of the host network, and then determines the health status of the host network based on the health of the host network.

[0055] In one embodiment, the comprehensive strategy E(Ω m ,Ω v ,Ω e ,Ω s ,Ω o ) may be a second weight allocation strategy, and the second weight allocation strategy of the host network may be determined; according to the second weight allocation strategy, a second weight is allocated to each of the at least one network module; according to the health of each of the at least one network module and the second weight of the corresponding network module, the health of the host network is determined. For example, the sum of the product of the health of each network module and the corresponding second weight may be determined as the health of the host network, and then the health status of the host network may be determined according to the health of the host network.

[0056] In one embodiment, the application scenario of the host network may be determined first; and the second weight allocation strategy of the host network may be determined according to the association between the application scenario and each of the network modules.

[0057] Among them, the application scenario can be an application scenario in which virtual machines communicate with each other through the virtual network of the host network, in which case it can be determined that the network module of the virtual network has a greater correlation with the application scenario, while other network modules have a smaller correlation with the application scenario; the application scenario can also be an application scenario in which storage devices communicate with each other through the storage network of the host network, in which case it can be determined that the network module of the storage network has a greater correlation with the application scenario, while other network modules have a smaller correlation with the application scenario; the application scenario can also be a composite scenario of multiple network modules, etc.

[0058] The network modules can be sorted according to the descending order of the correlation between the application scenario and the network module, and a larger second weight is assigned to the network module with a higher correlation with the application scenario, and a smaller second weight is assigned to the network module with a lower correlation.

[0059] Step S216: determining the reason for the score reduction of the corresponding network indicator according to the alarm information of each network indicator of each network module;

[0060] Step S218: determining the network indicator in each network module whose score reduction value is greater than a preset score reduction threshold as the target network indicator;

[0061] Step S220: determining the root cause of the host network score degradation according to the score degradation reason of each target network indicator of each network module;

[0062] Among them, the network indicator with a degradation score greater than 0 can be determined as the target network indicator. Assuming that the target network indicators are memory usage and data throughput, the reason for the degradation of memory usage may be that the memory usage is too high, and the reason for the degradation of data throughput may be that the data throughput is low; then the fundamental reason for the host network degradation is the excessively high memory usage and the low data throughput.

[0063] Step S222: Outputting the health status of the host network and the health status of each of the network modules;

[0064] Step S224: outputting the reason for the reduction of the target network indicator in each of the network modules;

[0065] Step S226: Output the root cause of the host network score degradation.

[0066] In the embodiment of the present application, by dividing the host network into multiple network modules according to the application functions of the network elements in the host network, it is possible to evaluate the differences in the impact of different network modules on the host network. When analyzing the reasons for the reduction of the host network score, a hierarchical positioning capability can be provided to improve the efficiency and accuracy of the health problem analysis; according to whether the analysis results of the network indicators meet the alarm conditions of the network indicators, corresponding alarm information is generated, so that the alarm information can more accurately reflect the abnormality of the network indicators; by using the alarm information corresponding to the network indicators, the health scores of the network indicators are reduced, so that the obtained health scores of the network indicators can be more accurate and can more intuitively reflect the abnormality of the network indicators. The health status of network indicators; by assigning different weights to different network indicators in the same network module according to the importance of the network indicators, the accuracy of determining the health status of the network module can be improved; by assigning different weights to different network modules according to the application scenarios of the host network, the accuracy of determining the health status of the host network can be improved; by determining the reason for the degradation of the host network according to the reason for the degradation of each network module, the reason for the degradation of the host network can be determined more accurately; by outputting the health status of the host network and network modules and the reasons for the degradation of the host network and network modules respectively, the health status and degradation reasons of the host network and each module can be more intuitively reflected.

[0067] The present application also provides a method for evaluating the health status of a host network, the method comprising the following steps:

[0068] Step S302: obtaining at least one network indicator of each network module in at least one network module of the host network; each network module has different application functions in the host network;

[0069] Step S304: parsing each of the network indicators of each of the network modules to obtain parsing results of the corresponding network indicators;

[0070] Among them, the analysis result of each network indicator includes the value of the corresponding network indicator; when the network indicator is the packet loss rate, the packet loss rate can be 2%, 10% and 25%, etc.; when the network indicator is the memory idle rate, the memory idle rate can be 40%, 65% and 90%, etc.

[0071] Step S306: Determine a first reference value corresponding to each of the alarm conditions;

[0072] Among them, when the network indicator is the packet loss rate, the first reference value can be 2%, 5%, 10%, etc.; when the network indicator is the memory idle rate, the first reference value can be 30%, 10%, 5%, etc.

[0073] Step S308: when the value of each network indicator satisfies a specific magnitude relationship with the corresponding first reference value, alarm information of the corresponding network indicator is generated according to the value of the corresponding network indicator.

[0074] The alarm condition may be that the value of each network indicator satisfies a specific size relationship with the corresponding first reference value. In the case where the network indicator is the packet loss rate, the specific size relationship may be that the value of each network indicator is greater than the corresponding first reference value. Assuming that the packet loss rate is 10% and the first reference value corresponding to the packet loss rate is 2%, since the value of the packet loss rate is greater than the corresponding first reference value, an alarm message "the packet loss rate is 10%, the packet loss rate is high" may be generated.

[0075] When the network indicator is the memory idle rate, the specific size relationship can be that the value of each of the network indicators is less than the corresponding first reference value. Assuming that the memory idle rate is 5% and the first reference value corresponding to the memory idle rate is 10%, since the value of the memory idle rate is less than the corresponding first reference value, an alarm message "memory idle rate is 5%, insufficient memory" can be generated.

[0076] Step S310: according to the alarm information of each network indicator of each network module, the health score of the corresponding network indicator is reduced to obtain the reduced score of the corresponding network indicator;

[0077] Step S312: determining the health of the corresponding network module according to the degradation score of the at least one network indicator of each network module;

[0078] First, the health of the corresponding network indicator can be determined according to the reduction score of each network indicator of each network module. Assuming that the network indicator is the memory idle rate, the first reference value corresponding to the memory idle rate is 20%, and the reduction function corresponding to the memory idle rate can be: when the memory idle rate is less than 5%, the reduction score is 90 points, and the health score of the memory idle rate is 10 points (100 points minus 90 points); when the memory idle rate is between 5% and 10%, the reduction score is 60 points, and the health score of the memory idle rate is 40 points (100 points minus 40 points); when the memory idle rate is between 10% and 15%, the reduction score is 40 points, and the health score of the memory idle rate is 60 points (100 points minus 40 points); when the memory idle rate is between 15% and 20%, the reduction score is 20 points, and the health score of the memory idle rate is 80 points (100 points minus 20 points).

[0079] Secondly, the health of the corresponding network module can be determined based on the health of at least one network indicator of each of the network modules. For example, the health of each network indicator can be multiplied by the corresponding first weight to obtain the product of the corresponding network indicator, and then the sum of the products of all network indicators in the network module can be taken as the health of the network module.

[0080] Step S314: Determine the health of the host network according to the health of the at least one network module.

[0081] In an embodiment of the present application, by generating alarm information of the network indicator according to the value of the network indicator and the size relationship between the value of the network indicator and the reference value, the alarm information of the network indicator can be generated more conveniently and accurately; by determining the score reduction value of the network indicator according to the alarm information of the network indicator, and further determining the health score of the network indicator, the health of the network indicator can be determined more conveniently and accurately.

[0082] The present application also provides a method for evaluating the health of a host network, the method comprising the following steps:

[0083] Step S402: obtaining at least one network indicator of each network module in at least one network module of the host network; each network module has different application functions in the host network;

[0084] Step S404: parsing each of the network indicators of each of the network modules to obtain parsing results of the corresponding network indicators;

[0085] The analysis result of each network indicator includes the value and change trend of the corresponding network indicator; the change trend may be increasing or decreasing.

[0086] Step S406: Determine a second reference value corresponding to each of the alarm conditions;

[0087] Step S408: when the value of each network indicator satisfies a specific magnitude relationship with the corresponding second reference value, and the change trend of the corresponding network indicator is the first change trend, generating alarm information of the corresponding network indicator according to the value and change trend of the corresponding network indicator;

[0088] When the network indicator is the packet loss rate, the second reference value may be smaller than the first reference value, and the second reference value may be 1%, 4%, 8%, etc., and the first change trend may be increasing; when the network indicator is the memory idle rate, the second reference value may be larger than the first reference value, and the second reference value may be 40%, 20%, 10%, etc., and the first change trend may be decreasing.

[0089] When the network indicator is the packet loss rate, the specific size relationship can be that the value of each network indicator is greater than the corresponding second reference value. Assuming that the packet loss rate is 10%, and the packet loss rate is on an increasing trend, and the second reference value corresponding to the packet loss rate is 1%, then since the value of the packet loss rate is greater than the corresponding first reference value, and since the packet loss rate is on an increasing trend, an alarm message "The packet loss rate is 10%, which is on an increasing trend, and the packet loss rate is high" can be generated.

[0090] When the network indicator is the memory idle rate, the specific size relationship may be that the value of each of the network indicators is less than the corresponding second reference value, the second reference value may be greater than the first reference threshold, assuming that the memory idle rate is 5% and the memory idle rate is on a decreasing trend, the first reference value corresponding to the memory idle rate is 20%, then because the value of the memory idle rate is less than the corresponding first reference value and the memory idle rate is on a decreasing trend, an alarm message "the memory idle rate is 5%, showing a decreasing trend, insufficient memory" may be generated.

[0091] Step S410: according to the alarm information of each network indicator of each network module, the health score of the corresponding network indicator is reduced to obtain the reduced score of the corresponding network indicator;

[0092] Step S412: determining the health of the corresponding network module according to the degradation score of the at least one network indicator of each network module;

[0093] Among them, the health of the corresponding network indicator can also be determined based on the alarm information of each network indicator of each network module and the trained score reduction model; for example, the initial score reduction model can be trained using the alarm information of multiple network indicators determined at historical moments and the corresponding health scores to obtain a trained score reduction model, so that when the alarm information of the network indicator is input into the trained score reduction model, the trained score reduction model can output the health score of the network indicator, and then the health of the corresponding network module can be determined based on the health of the at least one network indicator.

[0094] Step S414: Determine the health of the host network according to the health of the at least one network module.

[0095] In an embodiment of the present application, by generating alarm information of the network indicator according to the value of the network indicator, the size relationship between the value of the network indicator and the reference value, and the changing trend of the network indicator, the alarm information of the network indicator can be generated more conveniently and accurately; by determining the health score of the network indicator according to the alarm information and the reduction model of the network indicator, the health of the network indicator can be determined more conveniently, accurately and intelligently.

[0096] In related technologies, network health assessment mainly includes methods such as indicator weighting, model scoring and active probes. The introduction of various methods is as follows:

[0097] (1) Index weighting: The host collects corresponding network indicators according to demand. The network indicators include network card status, network port throughput and packet loss, protocol stack status, network interruption, TCP / UDP information, etc. The weight of each network indicator is designed by analyzing the impact of each network indicator on the host network. After calculating and scoring each network indicator, the weight is used to weight it to obtain the host network health.

[0098] (2) Model scoring: Since the network indicators of the host network are correlated, it is not accurate to weight each network indicator independently. Therefore, a correlation model or statistical model is used to perform a comprehensive score. The input of the model is the multi-dimensional network indicators that have been analyzed to have mutual influence. The output of the model is a comprehensive host network health score, which can more accurately reflect the health of the host network.

[0099] (3) Active probes: Probe messages are constructed based on the network health assessment requirements. For example, the path of the probe message is used to reflect the network configuration, and the delay mark of the probe message is used to reflect the network processing performance. The health of the host network is comprehensively assessed through the comprehensive detection results of various probes.

[0100] In related technologies, network health assessment can reflect the status of the network, but various methods have their own shortcomings:

[0101] (1) Indicator weighting: Although weighting by weight is simple and direct, it is difficult to obtain accurate indicator weights, which makes it impossible to determine the credibility of the network health score, limiting the use scenarios of the network health score. The embodiment of the present application can directly calculate the host network health score through alarm information, which can intuitively reflect the problems existing in the host network and realize the association between the network health score and the alarm.

[0102] (2) Model scoring: The use of association models or statistical methods can better achieve weighting between multi-dimensional indicators, but complex models reduce the interpretability of network health scores, making it difficult for operation and maintenance personnel to deal with health issues. The embodiments of the present application can achieve module health assessment through accurate division of host network modules, intuitively reflect the problems existing in the modules, and use alarm information to associate health, thereby achieving interpretability of network health scores.

[0103] (3) Active probe: The active method requires injecting probe messages into the network. In scenarios where there are many dimensions of network indicators to be evaluated, the probe overhead is large. At the same time, the probe detection cycle is long and there is a lag. The embodiment of the present application can directly respond to abnormal conditions of key indicators by configuring reasonable alarm strategies. During the calculation process of the network health score, the current network alarm information is obtained in a timely manner to perceive the host network status, thereby achieving fast and accurate host network health evaluation.

[0104] On the product side, the embodiments of the present application can be used to evaluate the health of a host network, and the health of the host network can be evaluated in a server (such as a hyper-converged device host); Figure 2 This is a flowchart of a method for a manager to evaluate the network health of a host according to an embodiment of the present application. Figure 2 According to the application characteristics of the host network, the host network can be divided into several network modules including management network, virtual network, business network, storage network and other networks. Each network module includes a corresponding network interface (ie, network port).

[0105] The hyper-converged device host (referred to as the host) 201 includes a management network port 2011, a virtual network port 2012, a business network port 2013, a storage network port 2014, and other network ports 2015. The indicator collection module 2021 of the manager 202 can collect the management network indicators of the hyper-converged device host 201 through the management network port 2011, collect the virtual network indicators of the hyper-converged device host 201 through the virtual network port 2012, collect the business network indicators of the hyper-converged device host 201 through the business network port 2013, collect the storage network indicators of the hyper-converged device host 201 through the storage network port 2014, and collect other network indicators of the hyper-converged device host 201 through other network ports 2015, etc.; the hyper-converged device host 201 also includes a virtual machine (VirtualMachine, VM) 2016, a kernel protocol stack 2017 and a data plane 2018.

[0106] The alarm generation module 2022 of the manager 202 can judge the value table data of the collected network indicators according to the pre-given alarm strategy and generate alarm information; then for each type of network module, the network health score of each network module is calculated according to the alarm reduction function designed for the corresponding type of network module, that is, the health evaluation dimensions of different network modules are different, and the management network health 2023, virtual network health 2024, business network health 2025, storage network health 2026 and other network health 2027 can be calculated respectively; finally, the health of all network modules is comprehensively considered, and the host network health score 2028 is obtained based on the pre-given comprehensive strategy. When there is alarm information in the host network, the host network health can directly reflect the current network anomaly through the score; when the alarm of the host network is gradually eliminated, the host network health score can achieve an interpretable change; at the same time, according to the health score of each network module, the root cause of the low health of the host network can be directly located, providing an accurate reference for further problem troubleshooting.

[0107] On the technical side, the embodiment of the present application proposes a method for evaluating the health of a host network. According to the application characteristics of the host network, the host network is divided into several sub-network modules, including management network, virtual network, business network, storage network and other networks. Key indicator monitoring and alarm strategies are designed for each sub-network module, and the reduction function of each alarm is designed according to the severity of the alarm. Each network module calculates the health score of the network module according to the alarm situation of the network module to reflect the health of the network module; the health of all network modules is integrated, the alarm information of all network indicators of the host is considered, and the health score of the host network is calculated according to the designed comprehensive strategy, so as to intuitively and accurately reflect the health of the host network.

[0108] Figure 3 This is a flow chart of a method for evaluating the health of a host network according to an embodiment of the present application. Figure 3 , the method comprises the following steps:

[0109] Step 301: The host configures a network indicator collection strategy, and the manager configures an alarm strategy corresponding to the network indicator;

[0110] Among them, the host network health assessment process needs to be calculated based on the alarm situation of the host network, so it is necessary to analyze the key indicators of each network module and configure the corresponding indicator collection strategy in the host. At the same time, the corresponding indicator reception and analysis functions need to be configured in the manager, and the corresponding alarm strategy needs to be set according to the characteristics of different network indicators, so as to generate the corresponding network indicator alarm information. Figure 4 This is a flow chart of a method for designing and configuring a network indicator collection strategy and an alarm strategy according to an embodiment of the present application. Figure 4The method corresponding to step 301 may include the following steps 401 to 404:

[0111] Step 401: Analyze key host network indicators and alarm strategies;

[0112] Among them, according to the purpose of the host network health assessment and the collection capability of the host network, the key network indicator x is analyzed, and an alarm strategy A(x) for the corresponding indicator is formulated. The alarm strategy can be a threshold-based alarm, that is, comparing the size relationship between the value of the network indicator and the preset threshold, and generating corresponding alarm information when the size relationship meets a specific size relationship; it can also be an AI-based alarm, that is, comparing the size relationship between the value of the network indicator and the preset threshold, and determining the change trend of the network indicator, and generating alarm information according to the size relationship and change trend.

[0113] Step 402: configuring network indicator collection functions corresponding to different network modules on the host;

[0114] Among them, according to the analyzed key network indicators, different network modules, namely management network, virtual network, business network, storage network and other networks, can be configured on the host to collect corresponding network indicator functions.

[0115] Step 403: configuring the network indicator collection and analysis functions corresponding to different network modules in the manager;

[0116] Among them, according to the analyzed key network indicators, different network modules, namely management network, virtual network, business network, storage network and other network indicator collection and analysis functions can be configured in the controller (i.e., manager).

[0117] Step 404: Configure an alarm policy for each network indicator of each network module in the manager.

[0118] Among them, the alarm capability of network indicators is configured according to the formulated alarm strategy, which can provide alarm information of host network indicators.

[0119] Step 302: Calculate the health score of the corresponding network module according to the alarm information of each network module;

[0120] Among them, the host network can be divided into five parts: management network, virtual network, business network, storage network and other networks according to its different application functions. The impact of its alarm information is evaluated in each network module, and the corresponding alarm reduction function is designed to provide a calculation basis for the health of each network module. The reduction function can be in the form of segmented reduction, model reduction or AI reduction, etc. Segmented reduction means segmenting the network indicators according to the value of the network indicators, for example, 5% to 10% is a segment, 10% to 15% is a segment, and the corresponding reduction scores of network indicators in different segments are different; model reduction means inputting the alarm information of the network indicators into the trained model, and providing the health of the network indicators corresponding to the output of the trained model; AI reduction can be to comprehensively consider the current throughput, packet loss rate and latency, etc., to determine the reduction score of each network indicator, and obtain the health of the corresponding network indicator; the reduction function ensures that no reduction value is generated when there is no alarm information. Each network module calculates its health score separately, thereby providing the health of each network module. Figure 5 This is a flow chart of a method for calculating the health score of each network module in an embodiment of the present application, see Figure 5 The method corresponding to step 302 may include the following steps 501 to 507:

[0121] Step 501: Analyze and specify the alarm reduction function corresponding to the network indicator;

[0122] Among them, a score reduction function can be designed for each alarm information according to the impact of each alarm information in different network modules. Assume that the key indicators of the management network, virtual network, business network, storage network and other network modules are and The corresponding warning information is: and The designed score reduction functions are and The score reduction function is formulated according to the influence of each network module indicator on the module.

[0123] Step 502: Obtain alarm information of the management network and calculate the health score of the management network module;

[0124] Among them, all the alarm information of the management network and its corresponding reduction function can be obtained, and the comprehensive strategy of each network indicator of the management network module is given. The health score of the management network module is directly obtained.

[0125] Step 503: Acquire the alarm information of the virtual network and calculate the health score of the virtual network module;

[0126] Among them, all the alarm information of the virtual network and its corresponding reduction function can be obtained, and the comprehensive strategy of each network indicator of the given virtual network module can be obtained. The health score of the virtual network module is directly obtained.

[0127] Step 504: Obtain the alarm information of the service network and calculate the health score of the service network module;

[0128] Among them, all the alarm information of the business network and its corresponding downgrade function can be obtained, and the comprehensive strategy of each network indicator of the business network module is given. The health score of the business network module is directly obtained.

[0129] Step 505: Acquire alarm information of the storage network and calculate the health score of the storage network module;

[0130] Among them, all the alarm information of the storage network and its corresponding reduction function can be obtained, and the comprehensive strategy of each network indicator of the storage network module is given. The health score of the storage network module is directly obtained.

[0131] Step 506: Obtain alarm information of other networks and calculate health scores of other network modules;

[0132] Among them, all the alarm information of other networks and their corresponding downscore functions can be obtained, and the comprehensive strategy of each network indicator of other network modules can be given. Directly integrate the health scores of other network modules.

[0133] Step 507: Output the health score of each network module.

[0134] Among them, the module health scores of the calculated management network, virtual network, business network, storage network and other network modules can be output, and the corresponding score reduction information can be output for subsequent root cause analysis.

[0135] Step 303: Calculate the host network health score by combining the health scores of each network module;

[0136] The host network is divided into five network modules according to application functions: management network, virtual network, business network, storage network and other networks for module health assessment. Different network modules have different impacts on the host network. For example, the health of the management network has a significant impact on the management experience, the health of the virtual network has a significant impact on cross-host traffic, the health of the business network has a significant impact on the upper-level application experience, the health of the storage network has a significant impact on storage applications, and the health of other networks involves other related network states. Therefore, designing a comprehensive computing strategy can provide accurate host network health assessment. Figure 6This is a flowchart of a host network health assessment processing method according to an embodiment of the present application, see Figure 6 The method corresponding to step 303 may include the following steps 601 to 603:

[0137] Step 601: Analyze and design a comprehensive calculation strategy for host network health;

[0138] Among them, we can design a comprehensive strategy for the health of the host network E(Ω m ,Ω v ,Ω e ,Ω s ,Ω o ).

[0139] Step 602: Obtain health information of each network module and comprehensively calculate the health score of the host network;

[0140] The health information of the network module may also be referred to as the health result of the network module, for example, the health score of the network module. A comprehensive strategy may be used to process the health score of each network module to obtain the health score of the host network.

[0141] Step 603: Output the health score of the host network and the corresponding score reduction information for use in module root cause location.

[0142] Step 304: Display the health of the host network and / or network module, and locate the root cause of the host network degradation.

[0143] Among them, the host network health display needs to display the host network health score, the health score of each network module, and the detailed situation of the score reduction of each network module. When the host network health score is reduced, the specific health status of each network module will be detected to locate the specific score reduction items and reasons, and accurately locate the root cause. At the same time, when all the alarm information of the host network is processed, the host network health score will not be reduced, thus ensuring the interpretability of the host network health. Figure 7 This is a flow chart of a method for locating the root cause of a host network score reduction according to an embodiment of the present application. Figure 7 The method corresponding to step 304 may include the following steps 701 to 708:

[0144] Step 701: Display the host network health score and the health score of each network module, and provide detailed information on the score reduction of each module.

[0145] Step 702: Determine whether the host network health has been degraded. If so, execute step 703.

[0146] Step 703: Analyze and manage the network health score, and collect all score reduction items and reasons for the score reduction of the module.

[0147] Step 704: Analyze the virtual network health score, and collect all score reduction items and reasons for the score reduction of the module.

[0148] Step 705: Analyze the service network health score, and collect all score reduction items and reasons for the score reduction of the module.

[0149] Step 706: Analyze the storage network health score, and collect all score reduction items and reasons for the module's score reduction.

[0150] Step 707: Analyze other network health scores, and collect all score reduction items and reasons for the score reduction of this module.

[0151] Step 708: Collect all score reduction items and reasons, and output the root cause of the host network health score reduction.

[0152] Compared with the host indicator collection solution in the related art, the embodiment of the present application has the following advantages:

[0153] (1) Host network health score based on alarm information evaluation: The host network health is calculated directly based on the alarm information of the host network, and the health evaluation results are associated with the alarms, which ensures the interpretability of the health score and provides accurate information for locating the root cause of the health problem.

[0154] Analyze the alarm status of each network module of the host network, comprehensively consider all alarm information, and calculate the comprehensive score reduction results of all alarms according to the pre-set alarm reduction function, so as to achieve accurate host network health score calculation, which is directly associated with the alarm information to ensure the interpretability of the score results.

[0155] (2) Network module division and health assessment based on application functions: Dividing the host network into modules based on application functions can evaluate the differences in the degree of impact of different modules on the host network. At the same time, it provides hierarchical positioning capabilities during the root cause analysis process, thereby improving the efficiency and accuracy of health problem analysis.

[0156] According to the application functions of each network module of the host in the virtualization environment, the host network health is divided into several dimensions, including management network, virtual network, business network, storage network and other networks, to evaluate the health of the network modules. According to the characteristics of different functional modules, corresponding health evaluation dimensions are designed. Accurate health evaluation of each network module of the host network is achieved through the alarm information of each module, and it is directly associated with the module alarm information.

[0157] It should be noted that in the embodiments of the present application, if the above-mentioned host network health assessment method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a mobile phone, tablet computer, desktop computer, personal digital assistant, navigator, digital phone, video phone, television, sensor device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0158] Based on the foregoing embodiments, an embodiment of the present application provides a host network health assessment device, which includes the modules included and can be implemented by a processor in the device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Microprocessor Unit), a digital signal processor (DSP, Digital Signal Processing) or a field programmable gate array (FPGA, Field Programmable Gate Array), etc.

[0159] Figure 8 Schematic diagram of the structure of a host network health assessment device according to an embodiment of the present application. Figure 8 As shown, the apparatus 800 includes an acquisition module 801, a first determination module 802, a second determination module 803, and a third determination module 804, wherein:

[0160] The acquisition module 801 is used to acquire at least one network indicator of each network module in at least one network module of the host network; each network module has different application functions in the host network;

[0161] A first determining module 802, configured to determine alarm information corresponding to a network indicator according to each of the network indicators of each of the network modules;

[0162] A second determination module 803 is used to determine the health status of the corresponding network module according to the alarm information of the at least one network indicator of each network module;

[0163] The third determination module 804 is configured to determine the health status of the host network according to the health status of the at least one network module.

[0164] In one embodiment, the first determination module 802 includes: a parsing submodule, used to parse each of the network indicators of each of the network modules to obtain a parsing result of the corresponding network indicator; and a generating submodule, used to generate alarm information of the corresponding network indicator according to the parsing result of the network indicator and the corresponding alarm condition when the parsing result of the network indicator of the network module meets the alarm condition corresponding to the network indicator.

[0165] In one embodiment, the analysis result of each of the network indicators includes the value of the corresponding network indicator; the generation submodule includes: a first determination unit, used to determine the first reference value corresponding to each of the alarm conditions; a first generation unit, used to generate alarm information of the corresponding network indicator according to the value of the corresponding network indicator when a specific size relationship is satisfied between the value of each of the network indicators and the corresponding first reference value.

[0166] In one embodiment, the analysis result of each of the network indicators includes the value and change trend of the corresponding network indicator; the generation submodule includes: a second determination unit, used to determine the second reference value corresponding to each of the alarm conditions; a second generation unit, used to generate alarm information of the corresponding network indicator according to the value and change trend of the corresponding network indicator when the value of each of the network indicators and the corresponding second reference value satisfy a specific size relationship and the change trend of the corresponding network indicator is the first change trend.

[0167] In one embodiment, the second determination module 803 includes: a downgrading submodule, which is used to downgrade the health score of the corresponding network indicator according to the alarm information of each network indicator of each network module to obtain the downgraded score of the corresponding network indicator; and a first determination submodule, which is used to determine the health status of the corresponding network module according to the downgraded score of at least one network indicator of each network module.

[0168] In one embodiment, the first determination submodule includes: a third determination unit, used to determine a first weight allocation strategy for each of the network modules; wherein the first weight allocation strategy is related to the application function of the corresponding network module; a fourth determination unit, used to allocate a first weight to each of the network indicators of the corresponding network module according to the first weight allocation strategy of each of the network modules; and a fifth determination unit, used to determine the health status of the corresponding network module according to the degradation score of each of the network indicators of each network module and the first weight of the corresponding network indicator.

[0169] In one embodiment, the device also includes: a fourth determination module, used to determine the reason for the score reduction of the corresponding network indicator based on the alarm information of each network indicator of each network module; a fifth determination module, used to determine the network indicator in each network module whose score reduction value is greater than a preset score reduction threshold as the target network indicator; a sixth determination module, used to determine the root cause of the host network score reduction based on the reason for the score reduction of each target network indicator of each network module.

[0170] In one embodiment, the device also includes: a first output module, used to output the health status of the host network and the health status of each of the network modules; a second output module, used to output the reason for the degradation of the target network indicator in each of the network modules; and a third output module, used to output the root cause of the host network degradation.

[0171] In one embodiment, the third determination module 803 includes: a second determination submodule, used to determine the application scenario of the host network; a third determination submodule, used to determine the second weight allocation strategy of the host network according to the association between the application scenario and each of the network modules; an allocation submodule, used to allocate a second weight to each of the at least one network module according to the second weight allocation strategy; and a fourth determination submodule, used to determine the health status of the host network according to the health status of each of the at least one network module and the second weight of the corresponding network module.

[0172] In one embodiment, the host network includes at least one network element, and the device further includes: a division module, which is used to divide the host network into at least one of the following network modules according to the application function of at least one network element in the host network: a management network, a virtual network, a service network, a storage network, and other networks;

[0173] The network indicator of each of the network modules includes at least one of the following: throughput, delay and packet loss rate; wherein the network indicators of different network modules correspond to different network elements.

[0174] It should be noted that in the embodiments of the present application, if the above-mentioned host network health assessment method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a mobile phone, tablet computer, desktop computer, personal digital assistant, navigator, digital phone, video phone, television, sensor device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0175] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0176] Correspondingly, an embodiment of the present application provides an electronic device, Fig. 9 A hardware entity diagram of an electronic device according to an embodiment of the present application is shown in FIG. Fig. 9 As shown, the hardware entity of the device 900 includes: a memory 901 and a processor 902, wherein the memory 901 stores a computer program that can be run on the processor 902, and the processor 902 implements the steps in the host network health assessment method of the above embodiment when executing the program.

[0177] The memory 901 is configured to store instructions and applications executable by the processor 902, and can also cache data to be processed or processed by the processor 902 and various modules in the device 900 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).

[0178] Correspondingly, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the host network health assessment method provided in the above embodiment are implemented.

[0179] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the device embodiments. For technical details not disclosed in the storage medium and method embodiments of this application, please refer to the description of the device embodiments of this application for understanding.

[0180] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0181] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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 "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0182] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0183] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, the functional units in the embodiments of the present application may be all integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0184] It can be understood by those skilled in the art that all or part of the steps of the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiment are executed; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, read-only memory (ROM), magnetic disks or optical disks. Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensor device, etc.) to execute all or part of the methods described in each embodiment of the present application. And the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, magnetic disks or optical disks.

[0185] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain a new method embodiment. The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain a new product embodiment. The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain a new method embodiment or device embodiment.

[0186] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for evaluating the health status of a host network, characterized in that: The method comprises: Acquire at least one network indicator of each of the at least one network module of the host network; each of the network modules has different application functions in the host network; According to each of the network indicators of each of the network modules, determining the alarm information of the corresponding network indicator; Determine the health status of the corresponding network module according to the alarm information of the at least one network indicator of each network module; Determining a health status of the host network according to a health status of the at least one network module; The step of determining the alarm information of the corresponding network indicator according to each network indicator of each network module includes: Analyze each network indicator of each network module to obtain an analysis result of the corresponding network indicator; When the parsing result of the network indicator of the network module meets the alarm condition corresponding to the network indicator, the alarm information of the corresponding network indicator is generated according to the parsing result of the network indicator and the corresponding alarm condition; Determining the health status of the host network according to the health status of the at least one network module includes: Determining an application scenario of the host network; Determining a second weight allocation strategy for the host network according to the association between the application scenario and each of the network modules; Allocating a second weight to each of the at least one network module according to the second weight allocation strategy; The health status of the host network is determined according to the health status of each of the at least one network module and the second weight of the corresponding network module.

2. The method according to claim 1, characterized in that The analysis result of each of the network indicators includes the value of the corresponding network indicator; When the parsing result of the network indicator of the network module meets the alarm condition corresponding to the network indicator, generating the alarm information of the corresponding network indicator according to the parsing result of the network indicator and the corresponding alarm condition, including: Determining a first reference value corresponding to each of the alarm conditions; When a specific magnitude relationship is satisfied between the value of each network indicator and the corresponding first reference value, alarm information of the corresponding network indicator is generated according to the value of the corresponding network indicator.

3. The method according to claim 2, characterized in that The analysis result of each of the network indicators also includes a change trend of the corresponding network indicator; the method also includes: determining a second reference value corresponding to each of the alarm conditions; The generating of the alarm information of the corresponding network indicator according to the value of the corresponding network indicator when the value of each network indicator satisfies a specific magnitude relationship with the corresponding first reference value includes: When the value of each network indicator satisfies a specific size relationship with the corresponding second reference value, and the change trend of the corresponding network indicator is the first change trend, alarm information of the corresponding network indicator is generated according to the value and change trend of the corresponding network indicator.

4. The method according to claim 1, characterized in that: The determining, according to the alarm information of the at least one network indicator of each of the network modules, the health status of the corresponding network module comprises: According to the alarm information of each network indicator of each network module, the health score of the corresponding network indicator is reduced to obtain the reduced score of the corresponding network indicator; The health status of the corresponding network module is determined according to the degradation score of the at least one network indicator of each network module.

5. The method according to claim 4, characterized in that The determining the health status of the corresponding network module according to the degradation score of the at least one network indicator of each network module includes: Determine a first weight allocation strategy for each of the network modules; wherein the first weight allocation strategy is related to an application function of the corresponding network module; According to the first weight allocation strategy of each of the network modules, a first weight is allocated to each of the network indicators of the corresponding network module; The health status of the corresponding network module is determined according to the degradation score of each network indicator of each network module and the first weight of the corresponding network indicator.

6. The method according to claim 4, characterized in that The method further comprises: Determine the reason for the score reduction of the corresponding network indicator according to the alarm information of each network indicator of each network module; Determine the network indicator whose score reduction value in each network module is greater than a preset score reduction threshold as the target network indicator; The root cause of the host network score degradation is determined according to the reason for the score degradation of each target network indicator of each network module.

7. The method according to claim 6, characterized in that The method further comprises: Outputting the health status of the host network and the health status of each of the network modules; Outputting the reason for the reduction of the target network indicator in each of the network modules; Output the root cause of the host network score degradation.

8. The method according to any one of claims 1 to 6, characterized in that The host network includes at least one network element, and the method further includes: According to the application function of at least one network element in the host network, the host network is divided into at least one of the following network modules: management network, virtual network, service network, storage network and other network; The network indicator of each of the network modules includes at least one of the following: throughput, delay and packet loss rate; wherein the network indicators of different network modules correspond to different network elements.

9. A host network health status assessment device, characterized in that: The device comprises: An acquisition module, used for acquiring at least one network indicator of each of the at least one network module of the host network; each of the network modules has different application functions in the host network; A first determination module, configured to determine the alarm information of the corresponding network indicator according to each network indicator of each network module; A second determination module, configured to determine the health status of the corresponding network module according to the alarm information of the at least one network indicator of each network module; A third determination module, configured to determine a health status of the host network according to a health status of the at least one network module; The first determination module includes: a parsing submodule, which is used to parse each of the network indicators of each of the network modules to obtain a parsing result of the corresponding network indicator; a generating submodule, which is used to generate alarm information of the corresponding network indicator according to the parsing result of the network indicator and the corresponding alarm condition when the parsing result of the network indicator of the network module meets the alarm condition corresponding to the network indicator; The third determination module includes: a second determination submodule, used to determine the application scenario of the host network; a third determination submodule, used to determine the second weight allocation strategy of the host network according to the association between the application scenario and each of the network modules; an allocation submodule, used to allocate a second weight to each of the at least one network module according to the second weight allocation strategy; and a fourth determination submodule, used to determine the health status of the host network according to the health status of each of the at least one network module and the second weight of the corresponding network module.

10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the steps of the host network health status assessment method described in any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the host network health status assessment method described in any one of claims 1 to 8 are implemented.