Network equipment and link real-time fault detection method and system based on traffic statistics

By using dynamic statistics of traffic data in communication networks to build statistical empirical models, it solves the problem of fault detection in complex networks, achieves rapid response and high-accuracy fault detection, and adapts to network changes.

CN113454950BActive Publication Date: 2024-09-13ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980092647.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-15
Publication Date
2024-09-13
Estimated Expiration
2039-05-15

AI Technical Summary

Technical Problem

It is difficult for existing technologies to implement comprehensive fault detection in complex communication networks with rapid response, especially due to the exponential growth in the number of network devices and unobservable interactivity between devices, which makes it challenging to define effective fault detection rules, and static users Define rules that become obsolete as new devices or software versions are released.

Method used

By using dynamic statistics of traffic data, we build a statistical empirical model of network equipment and links, periodically evaluate the difference between inlet and outlet traffic and link traffic distribution, determine abnormal values ​​and generate alarms, and trigger automatic or manual troubleshooting measures. The model Reflect the latest data probability distribution through frequent updates.

Benefits of technology

It enables rapid response capture of device or link anomalies in complex network architectures, improves the accuracy and effectiveness of fault detection, avoids the need to understand detailed characteristics and business operations, and enhances the accuracy of fault detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113454950B
    Figure CN113454950B
Patent Text Reader

Abstract

A real-time fault detection system and method for network devices or network links based on traffic statistics are provided. In terms of device fault detection, a statistical empirical model of network traffic is constructed based on a baseline data set, and each baseline data in the baseline data set corresponds to the accumulated network traffic in each interval. In terms of link fault detection, a statistical empirical model of link traffic distribution is constructed based on the baseline data set, and each baseline data in the baseline data set corresponds to the link traffic distribution in each interval. In both cases, after the initial construction, the model is dynamically updated using qualified, selected new data. Each new baseline data is evaluated according to the updated model to determine whether the new baseline data is an outlier. Continuous outliers can trigger a fault alarm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of communication networks, and in particular, to the field of network fault detection mechanisms. Background Art

[0002] Communication networks consist of links and nodes arranged in a certain topology for transporting Internet traffic. The nodes include network devices such as servers, switches and routers that are interconnected by links. Existing commercial network fault detection usually relies on user-defined alarms and rule violations based on measurement indicators, which requires detailed knowledge of hardware characteristics and performance and software elements in the network infrastructure. For single devices or simple networks, fault detection is well understood and easy to implement.

[0003] However, in recent years, network architectures have become increasingly complex due to the exponential growth in the number of network devices and links, the multitude of device manufacturers, the variety of software versions running on network devices, and the multi-layer switching used in the architecture. As a result, it is almost impossible to set up fault detection rules that can cover all possible faults in a fast response. The complexity of the network further comes from some unobservable interactions between devices. For example, two devices are not directly connected, but there is an indirect path connecting them. As a result, it is a great challenge to define effective rules that can lead to fast and reliable fault detection. In addition, static user-defined rules for fault detection can quickly become outdated with the introduction of new devices or new software versions. Summary of the invention

[0004] The embodiments of the present disclosure are directed to a system and method for real-time network fault detection, in which the traffic anomalies of network components are discovered by using dynamic statistics of traffic data without identifying detailed characteristics and business operations of the monitored components.

[0005] In one aspect, embodiments of the present disclosure provide an anomaly detection mechanism for a single switching device that periodically evaluates network traffic of a device based on dynamically updated statistical data, where the network traffic corresponds to the difference between ingress traffic and egress traffic of a device.

[0006] In particular, for network devices, a statistical empirical model of network traffic can be constructed based on a machine learning process. In some embodiments, the model is initially established using network traffic data collected from the device in multiple intervals, such as continuous intervals. For example, each baseline data of the baseline data set of the model corresponds to the accumulated network traffic in each interval. For example, the model includes a function of the mean value and standard deviation of the network traffic in each interval. After the initial model is constructed, for each interval, it is determined whether a new baseline data of the network traffic is qualified and selected for updating the model. If so, the new baseline data replaces the earliest baseline data in the baseline data set and the model is recalculated. Regardless of whether the new baseline data is used to update the model, the new baseline data is evaluated according to the updated model to determine whether it is an outlier. In response to detecting a predetermined number of consecutive outliers, an alarm is generated, which can trigger further automatic or manual diagnosis, troubleshooting and repair measures.

[0007] Generally speaking, a link includes a group of parallel links that share the traffic load between the two sides of the link, and each side includes one or more devices. The links are functionally equivalent, and when there is no failure, the total traffic between the two sides can be distributed on the links in a stable proportion. If one of the links fails, the other links can automatically take over the traffic load that the failed link cannot complete, so the traffic distribution between the links (herein, link traffic distribution) changes. In another aspect of the present disclosure, an embodiment provides a link anomaly detection mechanism that periodically compares the real-time link traffic distribution in the link with a dynamically updated statistical empirical model. In some embodiments, the model includes an expected link traffic distribution.

[0008] The expected link traffic distribution can be obtained by averaging a baseline data set of link traffic distribution data collected in multiple intervals, such as continuous intervals. For example, each baseline data of the baseline data set corresponds to a group of traffic proportions, and the group of traffic proportions is the traffic proportion shared by each link in an interval. After the initial construction of the model, for each interval, determine whether a new baseline data of the link traffic distribution is qualified and selected to update the baseline data set. If so, the new baseline data replaces the earliest baseline data of the baseline data set to update the expected link traffic distribution. Regardless of whether the new baseline data is used to update the model, the new baseline data is evaluated according to the expected distribution to determine whether the new baseline data is an outlier. In response to detecting a predetermined number of consecutive outliers, an alarm is generated, and the alarm can further trigger automatic or manual diagnosis, troubleshooting and repair measures.

[0009] According to the disclosed embodiments, since the network traffic or link traffic distribution is continuously monitored and evaluated in real time using simple statistical processing, network anomalies of devices or links can be easily captured in a quick response regardless of the complexity of the network architecture. Since the monitored statistical data can be simply obtained from the traffic data, fault detection can be easily implemented by using the ready-made data of the device or link, and the empirical model does not require comprehensive knowledge of detailed characteristics and business operations.

[0010] In addition, because the statistical model is frequently updated as new data is collected, it can reflect the latest data probability distribution, which conveniently enhances the effect and accuracy of fault detection. Further, because the model of the device or link can be constructed and updated using the real empirical data of the monitored device or monitored link itself, the model is formulated based on the characteristics and business operations of the device or link. This further contributes to the accuracy of fault detection.

[0011] The above is a summary, which inevitably simplifies, generalizes, and omits details; therefore, those skilled in the art will understand that the summary is merely illustrative and not limiting in any way. In other aspects, the inventive features and benefits of the present disclosure, as strictly defined in the claims, will be clearly reflected in the following non-limiting specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The embodiments of the present disclosure may be better understood by reading the following detailed description in conjunction with the accompanying drawings, in which similar characters represent similar elements.

[0013] Figure 1 An exemplary communication network with a fault detection device according to one embodiment of the present disclosure is shown, wherein the fault detection device can detect device failures and link failures in real time based on statistical values ​​of traffic data.

[0014] Figure 2 is a flow chart of an exemplary computer-implemented process for real-time device fault detection based on traffic statistics data according to an embodiment of the present disclosure.

[0015] Figure 3 is a flowchart of an exemplary computer-implemented process for statistical model construction and corresponding fault detection of a device according to an embodiment of the present disclosure.

[0016] Figure 4 The change of the link traffic distribution of the exemplary link after one of the links fails is shown.

[0017] Figure 5 is a flowchart of an exemplary computer-implemented process for real-time link failure detection based on traffic statistics according to an embodiment of the present disclosure.

[0018] Figure 6 is a flowchart of an exemplary computer-implemented process for statistical model construction of a link and corresponding fault detection according to an embodiment of the present disclosure.

[0019] Figure 7 is a block diagram of an exemplary computing system for real-time device failure detection and link detection based on traffic statistics according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0020] Reference is made in detail to the preferred embodiments of the present disclosure, which are illustrated in the accompanying drawings. The present invention will be described in conjunction with the preferred embodiments, it being understood that they are not intended to limit the present invention to these embodiments. On the contrary, the present invention is intended to cover substitutions, modifications and equivalents included within the scope and spirit of the invention as defined by the appended claims. Further, in the following detailed description of the embodiments of the present invention, a number of specific details are given in order to provide a thorough understanding of the present invention. However, it can be understood by those of ordinary skill in the art that the present invention can be practiced without these specific details. In other examples, well-known methods, processes, components and links are not described in detail to avoid unnecessarily obscuring aspects of the embodiments of the present invention. Although a method can be described as a series of steps for clarity, the step numbering does not necessarily mean the order of the steps. It should be understood that some steps can be skipped, performed in parallel or performed without requiring a strict order. The drawings showing embodiments of the present invention are semi-diagrammatic and not drawn to scale, especially some dimensions are exaggerated in the drawings for clarity of description. Similarly, although the views in the drawings are not necessarily illustrated for ease of description, the drawings are not necessarily illustrated for ease of description. Figure 1 Although the present invention generally shows the same orientation, this description in the drawings is largely arbitrary. In general, the present invention can be implemented in any orientation.

[0021] Symbols and terminology

[0022] It should be borne in mind, however, that all of these and similar terms are associated with appropriate physical quantities and are merely convenient labels for these quantities. Unless otherwise particularly apparent from the following discussion, it should be understood that terms such as "collecting," "constructing," "processing," or "calculating," or "executing," or "storing," or similar terms used throughout this disclosure refer to the actions and processes of a computer system or similar electronic computing device, which operates and converts data representing physical (electronic) quantities in the computer system's registers and memories and other computer-readable media into other similar data representing physical quantities in the computer system's memories or registers or other such as information storage devices, transmission devices, or display devices. When a component appears in several embodiments, the same reference number is used to indicate that the component is the same as the component shown in the initial embodiment.

[0023] Real-time fault detection of network devices and links based on traffic statistics

[0024] The disclosed embodiments provide a mechanism for detecting network device or link failures based on real-time traffic data and its statistical values. For network devices, an empirical statistical model can be constructed by using a baseline data set collected in a plurality of intervals, and the model represents the probability distribution of the network traffic of the device in each interval. The model may include a set of statistical indicators or related functions, for example, the indicators are the mean and standard deviation. After the initial model is constructed, a new baseline data of the network traffic in each interval is evaluated according to the model to determine whether the baseline data in the interval is an abnormal value. The continuous occurrence of abnormal values ​​can trigger a fault alarm. If qualified, the new baseline data can be randomly selected to update the baseline model. In this embodiment, the model is updated with the latest normal data, so it can accurately reflect the current characteristics and business operations of the device.

[0025] For a link, an empirical statistical model is constructed by using a baseline data set collected in a plurality of intervals, and the model represents the probability distribution of the link traffic distribution in each interval in the link. The model may correspond to the expected link traffic distribution. After the initial model is constructed, for each interval, a new baseline data including a set of link traffic or link traffic distribution is evaluated according to the model to determine whether the baseline data in the interval is an outlier. The continuous occurrence of outliers may trigger a fault alarm. If qualified, the baseline data can be randomly selected to update the baseline model. In this embodiment, the model is updated with the latest normal data, so that it can accurately reflect the current characteristics and business operations of the device.

[0026] Figure 1 An exemplary communication network 100 having fault detection devices 121 and 122 capable of detecting device failures and link failures in real time based on traffic data statistics according to an embodiment of the present disclosure is shown. In a simplified form, the network 100 includes a plurality of network switching devices (such as routers) interconnected and arranged in multiple layers, each of which is configured to forward network traffic. The switching device belongs to a network architecture controlled by an Internet service provider 110. A terminal (such as 131) is connected to the switching device and can be a server device or a client device. It is understood that the present disclosure is not limited to any particular type of network topology or switching device.

[0027] Each switching device may be configured to collect various forms of traffic data, for example, in accordance with the Simple Network Management Protocol (SNMP). According to the present disclosure, the real-time traffic data can be used to build a dynamically updated statistical model for real-time fault detection of devices and links. In an exemplary embodiment, the model building and fault detection functions may be implemented in an independent monitoring device (such as device 141 or 142), which is connected to the monitored (such as switching device 121 or 122). However, in some other embodiments, the fault detection function may be integrated into the switching device.

[0028] As shown in the figure, during the business operation, the switching device 122 periodically collects its inlet and outlet traffic for providing to the monitoring device 142. It is assumed that a significant change in network traffic in a very short time can indicate an abnormality or failure of the switching device, wherein the network traffic corresponds to the difference between the total inlet traffic and the total outlet traffic. The monitoring device 142 constructs a statistical empirical model of network traffic based on the baseline data set provided by the switching device 122. The model represents the probability distribution of network traffic in each interval, and normal areas and abnormal areas are defined according to the model. In some embodiments, the model is as simple as including the mean and standard deviation of the baseline data set. However, the present disclosure is not limited to any specific statistical indicators, functions, algorithms or formulas related to the network traffic used in the statistical model. For each interval, the new baseline data of the network traffic is evaluated according to the model to determine whether it falls into the abnormal area. In addition, a qualified new baseline data can be selected for updating the model. If continuous abnormal values ​​are detected, an alarm is generated to trigger subsequent manual or automatic fault diagnosis measures.

[0029] Further, it is assumed that in a link, a significant change in the link traffic distribution in a very short time may indicate a link abnormality or failure. As shown in the figure, the switching devices 121 and 123 and several links 151 therebetween are configured as a link. The traffic between the switching devices 121 and 123 is distributed on the link 151 according to a set of specific ratios. The switching device 123 periodically collects the total inlet traffic or total outlet traffic of each link and provides it to the monitoring device 141. The monitoring device 141 builds a statistical empirical model based on the baseline data set provided by the switching device 123. The model represents the expected link traffic distribution of the link. Normal areas and abnormal areas are defined according to the model. The present disclosure is not limited to any specific statistical indicators, functions, algorithms or formulas related to the link traffic used in the statistical model. For each interval, a new baseline data includes a set of link traffic or current link traffic distribution, and the new baseline data is evaluated according to the expected distribution to determine whether the new baseline data falls into the abnormal area. In addition, a qualified new baseline data can be selected for updating the model. If continuous abnormal values ​​are detected, an alarm is generated to trigger subsequent manual or automatic fault diagnosis measures.

[0030] According to the embodiments of the present disclosure, since the network traffic or link traffic distribution is continuously monitored and evaluated in real time using simple statistical processing, even if the network architecture is complex, network anomalies of devices or links can be easily captured in a quick response. Since the monitored statistical indicators can be obtained from the traffic, fault detection can be conveniently implemented by using the ready-made data and empirical models of the device or link, and does not require comprehensive knowledge of its complex detailed characteristics, performance, and business operations.

[0031] In addition, because the model is frequently updated with new data collected, it reflects the latest data probability distribution, which can significantly enhance the effectiveness and accuracy of fault detection. Furthermore, because the model is constructed and updated using empirical data collected from a specific device or link, the model is also formulated based on the monitored device or monitored link. This further contributes to the accuracy of fault detection.

[0032] Figure 2It is a flowchart of an exemplary computer implementation process 200 of real-time device fault detection based on traffic statistics data according to one embodiment of the present disclosure. The implementation process 200 can be performed by a monitoring device or a monitoring module, wherein the monitoring device is interactively connected to the monitored switching device, and the monitoring module is integrated into the monitored switching device. At 201, a statistical empirical model of network traffic in each interval is generated based on an initialized baseline data set. For example, the baseline data set includes network traffic data for N consecutive intervals, for example, each interval is 1 minute, and N is 2000. The specific numbers in this article are only exemplary, and the present disclosure is not limited thereto. The interval span and sample capacity can be selected based on considerations such as data acquisition noise caused by various engineering constraints, statistical properties of traffic distribution, and sufficient representativeness of probability distribution.

[0033] Each baseline data in the baseline data set is the network flow of each interval, and the network flow of each interval corresponds to the difference between the total inlet flow and the total outlet flow accumulated in an interval. The total inlet flow and the total outlet flow can be the sum of the respective flows of all inlet ports and outlet ports passing through the device respectively. The inlet and outlet flow data can be collected in real time at the monitored device and provided to the monitoring device or monitoring module for the purpose of fault detection.

[0034] According to the probability distribution of the network traffic data in the N intervals, a normal region and one or more abnormal regions are defined. In one example, the actual network traffic data may follow a normal probability distribution; however, the present disclosure is not limited thereto. In some embodiments, the statistical model involves the mean and standard deviation of the baseline data set, and the abnormal region and the normal region can be defined according to a function of the mean and the standard deviation, as described below with respect to Figure 3 A more detailed description of .

[0035] At 202, the network traffic data of the device is generated periodically in the same manner as the baseline data set is generated at 201, for example, every minute. At 203, the statistical model is updated in real time using the new network traffic data while maintaining the data volume of the baseline data set. At 204, each new network traffic baseline data is evaluated according to the updated statistical model to determine whether it is located in the abnormal area. At 205, if M abnormal values ​​appear continuously, an alarm is generated, and the alarm can trigger various further operations, such as fault verification, diagnostic operations, etc. For example, M is predefined as 3.

[0036] Figure 3 301 is a flow chart of an exemplary computer-implemented process 300 for statistical model building and corresponding fault detection of a device according to an embodiment of the present disclosure. At 301, the interval index "i" is set to 1. At 302, the interval T i Network traffic baseline data Di , determined based on the real-time inlet flow and outlet flow of the interval detected in real time. At 303, determine D i Whether it is qualified can be used as a baseline data for the statistical empirical model. In some embodiments, a baseline data is qualified if it meets the following conditions: (1) the total inlet flow and the total outlet flow in the interval are both greater than a specific value, such as 1Mbit / s (BPS, megabits per second); and, (2) the previous baseline data (i-1) is a normal value, as described below. However, various other qualification conditions can be adopted without departing from the scope of the present disclosure. If the baseline data is not qualified baseline data, the index i is incremented at 311 to evaluate the next baseline data.

[0037] For a qualified baseline data, determine whether to add it to the baseline data set of the statistical model. In particular, at 304, determine whether the current baseline data set is less than 2000 data. If so, at 305, the new baseline data D i is added to the baseline data set used for the initial construction of the statistical model, for example, to obtain the mean and standard deviation of the baseline data set. In some embodiments, the mean (m) is calculated as follows:

[0038] mean=average(log(D1),…,log(D i ), …, log(D N )),

[0039] Where N = 2000; the standard deviation (sd) is calculated as follows:

[0040] sd=sd(log(D1),…,log(D i ), …, log(D N )).

[0041] It will be appreciated that various other forms or equations for the mean or standard deviation, or other statistical indicators may be employed without departing from the scope of the present disclosure. i To update the model, the index i is incremented at 311 to evaluate the next baseline data.

[0042] If the current baseline dataset has reached 2000 (as determined in 304), D i Directly, further judge D in 306 i Is it an outlier? For example, if (D i -mean) / ad>3, then define D i is an outlier. If D i Non-outliers, D iis merged into the baseline data set, and the earliest baseline data in the baseline data set is updated at 307; the average value and standard deviation of the network traffic are updated accordingly at 305. Once D is used at 305 i To update the model, the index i is incremented at 311 to evaluate the next baseline data.

[0043] If the current baseline dataset does not reach 2000, and D i is an outlier (as determined at 306), which is recorded at 308. At 309, it is further determined that D i Is it the third abnormal value detected consecutively? If yes, it means there are three abnormal values ​​consecutively, and a fault alarm is generated at 310. At 310, the index i is incremented. The above processing of 302-312 is repeated for each interval.

[0044] In some embodiments, D i It can be randomly selected according to a specified probability, such as 50%. i is selected, and the earliest baseline data in the baseline data set is represented by D i Replace, so that the statistical model is updated. For example, D i In the recalculation of the mean and standard deviation, the D i It is added to the baseline data set and does not replace any baseline data, but is used to recalculate the mean and standard deviation.

[0045] In a basic form, a link includes a first side A and a second side B, and several parallel links that are functionally equivalent and share the traffic load between A and B. Each side has ingress traffic and egress traffic. According to the present disclosure, any traffic from A_in, A_out, B_in, and B_out can be used to characterize the link for fault detection purposes. The examples described in detail herein are applicable to traffic from any connection in side and direction.

[0046] When one link fails, the link traffic of that link is likely to drop significantly, and the total traffic between A and B is automatically redistributed to each link. Therefore, a significant change in link traffic distribution indicates a link failure. Figure 4 The figure shows the change of the link traffic distribution of the exemplary link after one of the links fails. As shown in the figure, under normal operation, the four links 401-404 each share 20%, 30%, 40% and 10% of the total traffic, such as the traffic flowing into side A. When link 401 fails, its share drops to 0%, while the rest become 40%, 40% and 20%.

[0047] Figure 5It is a flowchart of an exemplary computer implementation process 500 of real-time link fault detection based on traffic statistics according to one embodiment of the present disclosure. The implementation process 500 can be performed by a monitoring device or a monitoring module within the monitored link, and the monitoring device is interactively connected to the switching device of the monitored link. At 501, a representative statistical empirical model of link traffic distribution is generated based on an initial baseline data set. For example, the baseline data set includes link traffic distribution data for N intervals, such as each interval is 1 minute, and N is 100. The specific numbers are merely exemplary, and the present disclosure is not limited thereto. The interval span and sample capacity can be selected based on the following considerations, such as: data collection noise caused by various engineering constraints, statistical properties of traffic distribution, and sufficient representativeness of probability distribution.

[0048] Each baseline data in the baseline data set corresponds to the traffic proportion shared by all links in a specific direction (entrance or exit) on one side of the link. The traffic data of each link can be collected in each interval and provided to a monitoring device or monitoring module for fault detection purposes. The model can correspond to an expected link traffic distribution including a set of expected link traffic proportions. In some embodiments, the expected proportion of a link can be obtained by averaging the traffic proportions of the link in the baseline data set. A normal area and one or more abnormal areas can be defined as a function of the expected link traffic distribution.

[0049] At 502, the traffic data of the link is collected and the link traffic distribution data is generated periodically, for example, every minute, in the same manner as the baseline data set is generated in 501. At 503, the statistical model is updated in real time using the new link traffic distribution data, while keeping the amount of data in the baseline data set unchanged. At 504, each new link traffic distribution baseline data is evaluated according to the updated statistical model to determine whether it is in the abnormal area. At 505, if M abnormal values ​​appear continuously, an alarm is generated, and the alarm triggers various further operations, such as fault verification, diagnostic operations, etc. For example, M is predefined as 3.

[0050] Figure 6 6 is a flow chart of an exemplary computer-implemented process 600 for link statistical model construction and corresponding fault detection according to an embodiment of the present disclosure. At 601, the interval index "i" is set to 1. At 602, the interval T i Link traffic distribution baseline data A i , is determined based on the real-time traffic accumulated in the interval detected. For example, A i Includes the A-side ingress traffic of all links in a range, A i =(V 1_i ,V 2_i ,V 3_i ,V4_i ). In some embodiments, A i It may include an inbound link traffic ratio derived from the link traffic or any other link traffic variable suitable for representing the link traffic distribution.

[0051] At 603, determine A i Is it a qualified baseline data, for example, whether the number of functional links that can provide valid flow data has changed in the last three consecutive intervals. If yes, a fault alarm is generated at 604.

[0052] For a qualified baseline data, it is then determined whether to add it to the baseline data set of the statistical model. In particular, at 605, it is determined whether the current baseline data set has less than 100 baseline data. If so, the new baseline data A is added to the baseline data set of the statistical model. i Added to the baseline data set used for the initial construction of the statistical model, for example, the expected link traffic distribution is obtained based on the baseline data set. At 614, the index i is incremented.

[0053] In some embodiments, the expected distribution corresponds to the average distribution of the baseline data set. It is understood that various other forms of average values ​​or other statistical indicators may be used without departing from the scope of the present disclosure.

[0054] If the baseline data set has reached 100, the distance between the current connection traffic distribution and the expected link traffic distribution is evaluated at 607, and the result is then used to determine A at 608. i Is it an outlier? For example, if the following expression holds, then A i Defined as outliers:

[0055]

[0056] Among them, V j_i is the ingress flow of link j in interval i; V all is the total ingress traffic passing through all links; is the expected proportion of link j traffic in each interval according to the model; X is a preset threshold.

[0057] If A i is an abnormal value, and is recorded at 610. At 611, it is further determined that A i Is this the third abnormal value detected consecutively? If yes, it means there have been three abnormal values ​​consecutively, and an alarm is generated at 612. At 614, the index i is incremented. i Non-outliers, use A i The earliest baseline data in the baseline data set is replaced, thereby updating the statistical model at 606. For example, Ai The expected link traffic distribution is incorporated in the recalculation. At 614, the index i is incremented. The above process 602-614 is repeated in each interval.

[0058] In some embodiments, in 606 A i Randomly select with a predetermined probability, for example, 10%. i Selected, use A i The earliest baseline data in the baseline data set is replaced, thereby updating the statistical model.

[0059] Figure 7 It is a block diagram of an exemplary computing system 700 for real-time device fault detection and link detection based on traffic statistics according to one embodiment of the present disclosure. The computing system includes: a main processor (CPU) 701, a system memory 702, a graphics processing unit (GPU) 703, an I / O interface 704 and a network link 705, an operating system 706, and application software 710 including real-time fault detection modules 720 and 730 and stored in the memory 702. The system 700 is interactively connected to a switching device through a network interface.

[0060] When the flow data from the switching device 750 is combined and executed by the CPU 701, the device fault detection module 720 can detect the faults according to the following example: Figure 1-3 The device failure detection module 720 includes: a network flow data generation module 721, a baseline data set module 722, a statistical model module 723 and a device failure processing module 724.

[0061] The network traffic data generation module 721 is configured to calculate the difference between the inlet and outlet traffic of each interval switching device 750. The baseline data set module 722 maintains a fixed amount of data in the baseline data set by selectively accepting qualified new data and deleting the oldest data. The statistical model module 723 can calculate the mean and standard deviation of the baseline data set, and update these statistical indicators each time the baseline data set is updated with new baseline data. The device fault processing module 724 can determine whether a new baseline data is an abnormal value based on the model, generate an alarm in response to detecting the continuous occurrence of abnormal values, and perform various other operations of fault detection, verification and diagnosis.

[0062] When the flow data from the switch device 750 (or any other type of device in the link) is combined and executed by the CPU 701, the link failure detection module 720 can be based on the following Figure 4-6The link failure detection module 730 includes: a link traffic distribution generation module 731, a baseline data set module 732, a statistical model module 733 and a link failure processing module 724.

[0063] The link traffic distribution generation module 731 is configured to calculate the link traffic proportion in the link in each interval. The baseline data set module 732 maintains a fixed data volume of the baseline data set by selectively accepting qualified new data and deleting the earliest data. The statistical model module 733 can calculate the expected link traffic distribution, and update the expected distribution when the baseline data set is updated with a new baseline data. The link fault processing module 734 can determine whether a new baseline data is an abnormal value based on the model, and generate an alarm in response to detecting the continuous occurrence of abnormal values, as well as various other operations of fault detection, verification and diagnosis.

[0064] It is understood by those skilled in the art that the fault detection modules 720 and 730 can be implemented in any one or more suitable programming languages ​​known to those skilled in the art. In some embodiments, a system includes only one of the fault detection modules 720 and 730 .

[0065] Although certain preferred embodiments and methods have been disclosed herein, it will be apparent to those skilled in the art from the above disclosure that variations and modifications may be made to these embodiments and methods without departing from the spirit and scope of the invention. It is intended that the present invention be limited only to the extent required by the appended claims and the rules and principles of applicable law.

Claims

1. A real-time fault detection method for a network link group, the method comprising: Collecting real-time traffic of the network link group in each of the multiple intervals; wherein the network link group includes: a first end, a second end, and a plurality of links with equivalent functions; wherein the real-time traffic of the interval includes: a link flow rate of each of a plurality of links from the first end to the second end; and, link traffic of a network link group from the first end to the second end; dynamically updating the expected link traffic distribution for the network link group according to the real-time traffic of the interval; According to the expected link traffic distribution, evaluating the real-time link traffic of the interval; According to the deviation, the real-time flow rate in the interval is judged to be an abnormal value; and, In response to the real-time flow of a predetermined number of intervals being determined to be abnormal, a fault alarm is generated; Also includes: Determining the expected link traffic distribution according to the baseline data set, wherein dynamically updating the expected link traffic distribution for the network link group according to the real-time traffic of the interval includes: updating the baseline data set by adding the real-time traffic of the interval to the baseline data set and deleting the earliest real-time traffic from the baseline data set; and, The expected link traffic distribution is recalculated according to the updated baseline data set.

2. The method of claim 1, further comprising: determining a real-time link flow distribution of the plurality of links, the real-time link flow distribution corresponding to a ratio of each link flow in the interval relative to the link flow; The step of evaluating the real-time link traffic of the interval according to the expected link traffic distribution includes: The real-time link traffic distribution is evaluated according to the expected link traffic distribution.

3. The method according to claim 1, characterized in that The step of evaluating the real-time link traffic of the interval according to the expected link traffic distribution includes: The distance between the traffic share of each link and the expected traffic share of the link is evaluated.

4. The method according to claim 1, characterized in that The updating of the baseline data set comprises: Determining the real-time traffic of the interval as qualified baseline data for updating the baseline data set; and, The real-time traffic of the interval for updating the baseline data set is randomly selected according to a selection probability.

5. The method according to claim 1, characterized in that The updating of the baseline data set comprises: The real-time traffic of the interval is determined as qualified baseline data for updating the baseline data set according to the following conditions: The number of links of the plurality of links providing effective real-time traffic remains unchanged relative to a previous interval.

6. A system for real-time fault detection of a network link group, comprising: processor; and memory; The memory is connected to the processor and stores instructions, wherein when the instructions are executed by the processor, a fault detection method for a switching device is implemented, wherein the method includes: Collecting real-time traffic of the network link group in each of the multiple intervals; wherein the network link group includes: a first end, a second end, and a plurality of links with equivalent functions; wherein the real-time traffic of the interval includes: a link flow rate of each of a plurality of links from the first end to the second end; and, link traffic of a network link group from the first end to the second end; dynamically updating the expected link traffic distribution for the network link group according to the real-time traffic of the interval; According to the expected link traffic distribution, evaluating the real-time link traffic of the interval; According to the deviation, the real-time flow rate in the interval is judged to be an abnormal value; and, In response to the real-time flow of a predetermined number of intervals being determined to be abnormal, a fault alarm is generated; Also includes: Determining the expected link traffic distribution according to the baseline data set, wherein dynamically updating the expected link traffic distribution for the network link group according to the real-time traffic of the interval includes: updating the baseline data set by adding the real-time traffic of the interval to the baseline data set and deleting the earliest real-time traffic from the baseline data set; and, The expected link traffic distribution is recalculated according to the updated baseline data set.

7. The system of claim 6, further comprising: determining a real-time link flow distribution of the plurality of links, the real-time link flow distribution corresponding to a ratio of each link flow in the interval relative to the link flow; The step of evaluating the real-time link traffic of the interval according to the expected link traffic distribution includes: The real-time link traffic distribution is evaluated according to the expected link traffic distribution.

8. The system according to claim 6, characterized in that The step of evaluating the real-time link traffic of the interval according to the expected link traffic distribution includes: The distance between the traffic share of each link and the expected traffic share of the link is evaluated.

9. The system according to claim 6, characterized in that The updating of the baseline data set comprises: Determining the real-time traffic of the interval as qualified baseline data for updating the baseline data set; and, The real-time traffic of the interval for updating the baseline data set is randomly selected according to a selection probability.

10. The system according to claim 6, characterized in that The updating of the baseline data set comprises: The real-time traffic of the interval is determined as qualified baseline data for updating the baseline data set according to the following conditions: The number of links of the plurality of links providing effective real-time traffic remains unchanged relative to a previous interval.