CN112953742B - Fault positioning method and device for binding port of network equipment - Google Patents

Fault positioning method and device for binding port of network equipment Download PDF

Info

Publication number
CN112953742B
CN112953742B CN201911255930.0A CN201911255930A CN112953742B CN 112953742 B CN112953742 B CN 112953742B CN 201911255930 A CN201911255930 A CN 201911255930A CN 112953742 B CN112953742 B CN 112953742B
Authority
CN
China
Prior art keywords
port
current moment
binding
binding port
fault
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911255930.0A
Other languages
Chinese (zh)
Other versions
CN112953742A (en
Inventor
王建
耿开
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Unihub China Information Technology Co Ltd
Original Assignee
Unihub China Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unihub China Information Technology Co Ltd filed Critical Unihub China Information Technology Co Ltd
Priority to CN201911255930.0A priority Critical patent/CN112953742B/en
Publication of CN112953742A publication Critical patent/CN112953742A/en
Application granted granted Critical
Publication of CN112953742B publication Critical patent/CN112953742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults

Abstract

The invention provides a fault positioning method and device for binding ports of network equipment, wherein the method comprises the following steps: obtaining a variation coefficient of each binding port at the current moment according to the bandwidth utilization rate of a plurality of member ports of each binding port of the network equipment at the current moment, wherein the variation coefficient of the current moment is used for judging whether the binding port sends faults at the current moment; comparing the variation coefficient of each binding port at the current moment with the historical baseline variation coefficient to determine the binding port with the fault at the current moment, wherein the historical baseline variation coefficient of each binding port is obtained according to a plurality of historical variation coefficients of each binding port; and for each failed binding port at the current moment, determining the failed member port at the current moment according to the bandwidth utilization rate of each member port in the failed binding ports. The invention can locate the failed member port in the binding ports of the network equipment, and has high efficiency.

Description

Fault positioning method and device for binding port of network equipment
Technical Field
The present invention relates to the field of the internet, and in particular, to a method and an apparatus for locating a failure of a binding port of a network device.
Background
In a network device, a plurality of physical ports (or called member ports) are bundled together to form a logic port, and the logic port is the bundling port, so that on one hand, the bandwidth between the network devices is increased, and on the other hand, the reliability is also enhanced through the flow sharing among the member ports. The traffic sharing mechanism of the binding port can cause the phenomenon of 'abusive index', and in the network operation and maintenance work, such a scene often appears, the whole binding port is normally represented, but a certain member port is degraded. With the increasing number of member ports (in a backbone network of a telecom operator, many binding ports include 20-30 member ports), how to find a failed member port conveniently and quickly becomes a problem to be solved. At present, the conventional method for finding out the fault member port mostly depends on the business knowledge of network experts, performs causal analysis according to certain indexes of the port, establishes the mapping relation between each index of the port and the abnormality of the port, and performs modeling so as to perform problem screening. The traditional method has the defects that the model is complex, the whole method is complex, the realization difficulty is high, and the fault positioning efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a fault positioning method of a binding port of network equipment, which is used for positioning a member port with a fault in the binding port of the network equipment, and has high efficiency, and the method comprises the following steps:
obtaining a variation coefficient of each binding port at the current moment according to the bandwidth utilization rate of a plurality of member ports of each binding port of the network equipment at the current moment, wherein the variation coefficient of the current moment is used for judging whether the binding port sends faults at the current moment;
comparing the variation coefficient of each binding port at the current moment with the historical baseline variation coefficient to determine the binding port with the fault at the current moment, wherein the historical baseline variation coefficient of each binding port is obtained according to a plurality of historical variation coefficients of each binding port;
and for each failed binding port at the current moment, determining the failed member port at the current moment according to the bandwidth utilization rate of each member port in the failed binding ports.
The embodiment of the invention provides a fault positioning device of a binding port of network equipment, which is used for positioning a member port with a fault in the binding port of the network equipment, and has high efficiency, and the device comprises:
the system comprises a variation coefficient determining module, a failure determining module and a failure determining module, wherein the variation coefficient determining module is used for obtaining the variation coefficient of each binding port at the current moment according to the bandwidth utilization rate of a plurality of member ports of each binding port of the network equipment at the current moment, and the variation coefficient of the current moment is used for judging whether the binding port sends a failure at the current moment;
the fault binding port determining module is used for comparing the variation coefficient of each binding port at the current moment with the historical base line variation coefficient to determine the binding port with the fault at the current moment, wherein the historical base line variation coefficient of each binding port is obtained according to a plurality of historical variation coefficients of each binding port;
the failure member port determining module is used for determining the failed member port at the current moment according to the bandwidth utilization rate of each member port in the failed binding port for each failed binding port at the current moment.
The embodiment of the invention also provides a computer device which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the fault positioning method of the binding port of the network device when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program for executing the fault locating method of the network equipment binding port.
In the embodiment of the invention, according to the bandwidth utilization rate of a plurality of member ports of each binding port of the network equipment at the current moment, the variation coefficient of each binding port at the current moment is obtained, and the variation coefficient of each binding port at the current moment is used for judging whether the binding port sends a fault at the current moment or not; comparing the variation coefficient of each binding port at the current moment with the historical baseline variation coefficient to determine the binding port with the fault at the current moment, wherein the historical baseline variation coefficient of each binding port is obtained according to a plurality of historical variation coefficients of each binding port; and for each failed binding port at the current moment, determining the failed member port at the current moment according to the bandwidth utilization rate of each member port in the failed binding ports. In the process, the binding port with the fault at the current moment is determined by comparing the variation coefficient of each binding port at the current moment with the variation coefficient of the historical baseline, and the variation coefficient of the historical baseline is obtained in advance, so that the process for determining the binding port with the fault at the current moment is simple and high in efficiency, and the subsequent binding port with the fault at the current moment can directly determine the member port with the fault at the current moment according to the bandwidth utilization rate of each member port in the binding port with the fault, and compared with the traditional modeling process, the process is simple and independent of the business knowledge of network experts, and is easy to realize; the efficiency is high because a large amount of computing resources are not required to be consumed.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
fig. 1 is a flowchart of a fault locating method of a binding port of a network device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a binding port according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the variation coefficients of a binding port at multiple moments in time according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of the variation coefficients of another bonded port at multiple moments in time according to an embodiment of the present invention;
fig. 5 is a detailed flowchart of a fault locating method of a binding port of a network device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a fault locating device for a binding port of a network device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings. The exemplary embodiments of the present invention and their descriptions herein are for the purpose of explaining the present invention, but are not to be construed as limiting the invention.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are open-ended terms, meaning including, but not limited to. Reference to the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the embodiments is used to schematically illustrate the practice of the present application, and is not limited thereto and may be appropriately adjusted as desired.
Fig. 1 is a flowchart of a fault locating method of a binding port of a network device according to an embodiment of the present invention, where, as shown in fig. 1, the method includes:
step 101, obtaining a variation coefficient of each binding port at the current moment according to the bandwidth utilization rate of a plurality of member ports of each binding port of the network device at the current moment, wherein the variation coefficient of each binding port at the current moment is used for judging whether the binding port sends a fault at the current moment;
102, comparing a variation coefficient of each binding port at the current moment with a historical baseline variation coefficient to determine the binding port with a fault at the current moment, wherein the historical baseline variation coefficient of each binding port is obtained according to a plurality of historical variation coefficients of each binding port;
step 103, determining each failed binding port at the current moment according to the bandwidth utilization rate of each member port in the failed binding ports.
In the embodiment of the invention, the binding port with the fault at the current moment is determined by comparing the variation coefficient of each binding port at the current moment with the historical baseline variation coefficient, and the historical baseline variation coefficient is obtained in advance, so that the process for determining the binding port with the fault at the current moment is simple and high in efficiency, the subsequent binding port with the fault at the current moment can directly determine the member port with the fault at the current moment according to the bandwidth utilization rate of each member port in the binding ports with the fault, and compared with the traditional modeling process, the previous process is simple and does not depend on the business knowledge of network experts, and is easy to realize and high in efficiency.
In specific implementation, the network device refers to a physical entity forming a network of a telecom operator, and mainly comprises a switch, a broadband remote access server, a router and the like. Modern telecommunications carrier networks consist of thousands of network devices. Fig. 2 is a schematic diagram of a binding port in an embodiment of the present invention, where a network device may have a plurality of binding ports, and each binding port has a plurality of member ports, and because of the data volume of the network device in the backbone network of the telecom operator, the number of binding ports is large, the bandwidth is large, and a large amount of user services are carried. Once a problem arises, the effect is great. Based on the principle of 'no disorder and no trouble', when the problem starts to appear at the beginning, sensitive and effective early warning is required to be provided, and the member port with the problem is rapidly positioned so as to solve the problem early. The inventors have found that under normal circumstances, the bandwidth utilization of the individual member ports is approximately the same due to the traffic sharing mechanism of the network device. Once the bandwidth utilization of the member ports deviates greatly, this means that a problem occurs in a certain member port, and the router device, for example, has automatically switched the traffic carried by the member port with the problem to other member ports.
In an embodiment, before obtaining the coefficient of variation of the current time of each bonded port according to the bandwidth utilization of the plurality of member ports of each bonded port of the network device at the current time, the method further includes:
for each binding port of the network device, obtaining the flow rate and bandwidth of each member port of the binding port at the current moment;
and obtaining the bandwidth utilization rate of each member port at the current moment according to the flow rates and the bandwidths of the plurality of member ports of the binding port at the current moment.
In the above embodiment, the flow rate of each member port is the inflow or outflow rate, and the flow rate of the member port at the present moment is collected, and typically, the flow rate is collected at regular intervals, for example, every 5 minutes. The process for calculating the bandwidth utilization rate not only considers the bandwidth, but also considers the flow rate of the member port, and the calculated bandwidth utilization rate has higher accuracy.
In an embodiment, according to the bandwidth utilization of a plurality of member ports of each binding port of the network device at the current time, the following formula is adopted to obtain the variation coefficient of each binding port at the current time:
Figure BDA0002310253650000051
Figure BDA0002310253650000052
Figure BDA0002310253650000053
wherein r is i Bandwidth utilization for the ith member port of each bonded port;
n is the total number of member ports per bonded port.
In the above embodiment, the variation coefficient is used to determine whether the bundled port transmits a fault at the current moment, which reflects the equalization degree of the bandwidth utilization rate of the member port. Through calculating the coefficient of variation in real time, hidden danger can be effectively found sensitively, and early warning is provided. In probability theory and statistics, the coefficient of variation is a normalized measure of the degree of dispersion of the probability distribution. Fig. 3 is a schematic diagram of a variation coefficient of a binding port at multiple times in the embodiment of the present invention, as shown in fig. 3, the binding port is composed of 7 member ports, and when the average bandwidth utilization rate of the 7 member ports is very small, the variation coefficient is very unstable, so in step 101, the current time needs to be determined from busy time periods of the multiple binding ports, so that a small disturbance of the bandwidth utilization rate of the member ports will not cause a severe change of the variation coefficient, thereby avoiding a false report situation as much as possible. The busy hour period may be, for example, 9 early to 11 late.
In one embodiment, the historical baseline coefficient of variation for each bonded port is obtained using the following formula:
Figure BDA0002310253650000054
wherein C is t Historical baseline coefficients of variation for each binding port;
c i,t historical variation coefficients at time t of the ith day for each binding port;
n is the total number of days.
In the above embodiment, each binding port has its own historical baseline variation coefficient, and since the bandwidth utilization of the member ports is different at each time, a variation coefficient can be obtained at each time, so in order to make the historical baseline variation coefficient meaningful, it is necessary to count the historical variation coefficient at each time every day, and the greater the total number of days, the more accurate the historical baseline variation coefficient. The time of day may be accurate to a minute, for example 9 points 15 minutes.
In an embodiment, comparing the variation coefficient of the current time of each binding port with the historical baseline variation coefficient to determine the binding port with the fault at the current time comprises:
obtaining a historical baseline variation coefficient of the current moment of each binding port;
for each binding port, when the difference value between the variation coefficient of the current moment of the binding port and the historical baseline variation coefficient of the current moment exceeds a set threshold value, determining that the binding port fails at the current moment.
In the above embodiment, the predetermined historical baseline variation coefficient of the current time of each binding port may be obtained through the formula (4), the above set threshold may be determined according to the actual situation, and the above process of determining the binding port that fails at the current time is very simple, and only the variation coefficient of the binding port at the current time is compared with the historical baseline variation coefficient at the current time, which is very efficient compared with the conventional modeling method. Fig. 4 is a schematic diagram of a variation coefficient of another binding port at a plurality of moments in an embodiment of the present invention, as shown in fig. 4, the variation coefficient is abrupt at a moment 201908061500, which illustrates that the binding port fails at a moment 201908061500. Through investigation, at the moment 201908061500, the traffic of one member port of the bonded port is 0, and the member port fails, which indicates that the bonded port determined by the method of the variation coefficient is accurate.
In specific implementation, there are various methods for determining each failed binding port at the current time according to the bandwidth utilization of each member port in the failed binding port, and one embodiment is given below.
In one embodiment, determining, for each failed bonded port at the current time, the failed member port at the current time based on the bandwidth utilization of each member port in the failed bonded port includes:
obtaining an average value of bandwidth utilization rates of a plurality of member ports in the failed bonded port;
calculating the difference between the bandwidth utilization rate of each member port and the average value;
and determining the member port with the largest difference value as the member port with the fault at the current moment.
In the above embodiment, the average value of the bandwidth utilization ratios of the plurality of member ports in the failed binding port is obtained, and may be calculated by the formula (4), and the previous step is actually performed, where data may be directly obtained in this step, the difference value between the bandwidth utilization ratio of each member port and the average value is calculated, the absolute value of the difference value is generally obtained, the member port with the largest difference value is determined to be the member port with the failure at the current moment, in some cases, there may be a failure in the plurality of member ports with the difference value exceeding the preset difference value threshold, and the related variation cases should all fall into the protection scope of the present invention.
In an embodiment, the method further comprises:
and generating early warning information of the member port which is faulty at the current moment.
The early warning information can be prompted through interfaces, sounds and the like.
Based on the above embodiments, the present invention proposes the following embodiment to explain the detailed flow of the failure positioning method of the network device bonding port, and fig. 5 is a detailed flow chart of the failure positioning method of the network device bonding port according to the embodiment of the present invention, as shown in fig. 5, in one embodiment, the detailed flow of the failure positioning method of the network device bonding port includes:
step 501, for each binding port of the network device, obtaining a flow rate and a bandwidth of each member port of the binding port at the current moment;
step 502, obtaining the bandwidth utilization rate of each member port at the current moment according to the flow rates and bandwidths of the plurality of member ports of the binding port at the current moment;
step 503, obtaining a variation coefficient of each binding port at the current moment according to the bandwidth utilization rate of the plurality of member ports of each binding port of the network device at the current moment;
step 504, obtaining a historical baseline variation coefficient of the current moment of each binding port;
step 505, for each binding port, determining that the binding port fails at the current time when the difference between the coefficient of variation of the binding port at the current time and the historical baseline coefficient of variation of the binding port at the current time exceeds a set threshold;
step 506, obtaining an average value of bandwidth utilization rates of a plurality of member ports in each failed bonded port at the current moment;
step 507, calculating the difference between the bandwidth utilization of each member port and the average value;
step 508, determining the member port with the largest difference as the member port with the fault at the current moment;
step 509, generating early warning information of the member port that fails at the current moment.
Of course, it can be understood that other variations of the detailed flow of the fault locating method of the binding port of the network device are also possible, and all related variations should fall within the protection scope of the present invention.
In summary, in the method provided by the embodiment of the present invention, according to the bandwidth utilization ratio of the plurality of member ports of each binding port of the network device at the current time, the variation coefficient of the current time of each binding port is obtained, where the variation coefficient of the current time is used to determine whether the binding port sends a fault at the current time; comparing the variation coefficient of each binding port at the current moment with the historical baseline variation coefficient to determine the binding port with the fault at the current moment, wherein the historical baseline variation coefficient of each binding port is obtained according to a plurality of historical variation coefficients of each binding port; and for each failed binding port at the current moment, determining the failed member port at the current moment according to the bandwidth utilization rate of each member port in the failed binding ports. In the process, the binding port with the fault at the current moment is determined by comparing the variation coefficient of each binding port at the current moment with the variation coefficient of the historical baseline, and the variation coefficient of the historical baseline is obtained in advance, so that the process for determining the binding port with the fault at the current moment is simple and high in efficiency, and the subsequent binding port with the fault at the current moment can directly determine the member port with the fault at the current moment according to the bandwidth utilization rate of each member port in the binding port with the fault, and compared with the traditional modeling process, the process is simple and independent of the business knowledge of network experts, and is easy to realize; the efficiency is high because a large amount of computing resources are not required to be consumed.
Based on the same inventive concept, the embodiment of the invention also provides a fault positioning device of the binding port of the network equipment, as described in the following embodiment. Since the principles of solving the problems are similar to those of the failure positioning method of the binding port of the network device, the implementation of the device can be referred to the implementation of the method, and the repetition is omitted.
Fig. 6 is a schematic diagram of a fault locating device for a binding port of a network device according to an embodiment of the present invention, as shown in fig. 6, where the device includes:
the variation coefficient determining module 601 is configured to obtain a variation coefficient of each binding port at a current time according to bandwidth utilization rates of a plurality of member ports of each binding port of the network device at the current time, where the variation coefficient of the current time is used to determine whether the binding port sends a fault at the current time;
a fault binding port determining module 602, configured to compare a coefficient of variation of each binding port at a current time with a historical baseline coefficient of variation, and determine a binding port that is faulty at the current time, where the historical baseline coefficient of variation of each binding port is obtained according to a plurality of historical coefficients of variation of each binding port;
the failure member port determining module 603 is configured to determine, for each failed bonded port at the current time, a failed member port at the current time according to the bandwidth utilization of each member port in the failed bonded port.
In an embodiment, the method further includes a bandwidth utilization obtaining module 604, configured to:
for each binding port of the network device, obtaining the flow rate and bandwidth of each member port of the binding port at the current moment;
and obtaining the bandwidth utilization rate of each member port at the current moment according to the flow rates and the bandwidths of the plurality of member ports of the binding port at the current moment.
In one embodiment, the fail-bind port determination module 602 is specifically configured to:
and (3) according to the bandwidth utilization rate of the plurality of member ports of each binding port of the network equipment at the current moment, adopting the formulas (1) - (3) to obtain the variation coefficient of each binding port at the current moment.
In an embodiment, the apparatus further comprises a historical baseline coefficient of variation obtaining module 605 for:
and (3) obtaining a historical baseline variation coefficient of each binding port by adopting a formula (4).
In one embodiment, the fail-bind port determination module 602 is specifically configured to:
obtaining a historical baseline variation coefficient of the current moment of each binding port;
for each binding port, when the difference value between the variation coefficient of the current moment of the binding port and the historical baseline variation coefficient of the current moment exceeds a set threshold value, determining that the binding port fails at the current moment.
In one embodiment, the failure member port determination module 603 is specifically configured to:
obtaining an average value of bandwidth utilization rates of a plurality of member ports in the failed bonded port;
calculating the difference between the bandwidth utilization rate of each member port and the average value;
and determining the member port with the largest difference value as the member port with the fault at the current moment.
In an embodiment, the apparatus further includes an early warning information generation module 606 for:
and generating early warning information of the member port which is faulty at the current moment.
In summary, in the apparatus provided in the embodiment of the present invention, according to the bandwidth utilization ratio of the plurality of member ports of each binding port of the network device at the current time, the variation coefficient of the current time of each binding port is obtained, where the variation coefficient of the current time is used to determine whether the binding port sends a fault at the current time; comparing the variation coefficient of each binding port at the current moment with the historical baseline variation coefficient to determine the binding port with the fault at the current moment, wherein the historical baseline variation coefficient of each binding port is obtained according to a plurality of historical variation coefficients of each binding port; and for each failed binding port at the current moment, determining the failed member port at the current moment according to the bandwidth utilization rate of each member port in the failed binding ports. In the process, the binding port with the fault at the current moment is determined by comparing the variation coefficient of each binding port at the current moment with the variation coefficient of the historical baseline, and the variation coefficient of the historical baseline is obtained in advance, so that the process for determining the binding port with the fault at the current moment is simple and high in efficiency, and the subsequent binding port with the fault at the current moment can directly determine the member port with the fault at the current moment according to the bandwidth utilization rate of each member port in the binding port with the fault, and compared with the traditional modeling process, the process is simple and independent of the business knowledge of network experts, and is easy to realize; the efficiency is high because a large amount of computing resources are not required to be consumed.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (12)

1. A method for locating a failure of a binding port of a network device, comprising:
obtaining a variation coefficient of each binding port at the current moment according to the bandwidth utilization rate of a plurality of member ports of each binding port of the network equipment at the current moment, wherein the variation coefficient of the current moment is used for judging whether the binding port sends faults at the current moment;
comparing the variation coefficient of each binding port at the current moment with the historical baseline variation coefficient to determine the binding port with the fault at the current moment, wherein the historical baseline variation coefficient of each binding port is obtained according to a plurality of historical variation coefficients of each binding port;
for each binding port with fault at the current moment, determining the member port with fault at the current moment according to the bandwidth utilization rate of each member port in the binding port with fault;
the historical baseline coefficient of variation for each binding port was obtained using the following formula:
Figure FDA0003980525920000011
wherein C is t Historical baseline coefficients of variation for each binding port; c i,t Historical variation coefficients at time t of the ith day for each binding port; n is total number of days;
comparing the variation coefficient of each binding port at the current moment with the historical baseline variation coefficient to determine the binding port with the fault at the current moment, comprising: obtaining a historical baseline variation coefficient of the current moment of each binding port; for each binding port, when the difference value between the variation coefficient of the current moment of the binding port and the historical baseline variation coefficient of the current moment exceeds a set threshold value, determining that the binding port fails at the current moment.
2. The method for locating a failure of a bonded port of a network device according to claim 1, further comprising, before obtaining a coefficient of variation of a current time of each bonded port according to a bandwidth utilization of a plurality of member ports of each bonded port of the network device at the current time:
for each binding port of the network device, obtaining the flow rate and bandwidth of each member port of the binding port at the current moment;
and obtaining the bandwidth utilization rate of each member port at the current moment according to the flow rates and the bandwidths of the plurality of member ports of the binding port at the current moment.
3. The method for locating a failure of a bonded port of a network device according to claim 1, wherein the coefficient of variation of the current time of each bonded port is obtained according to the bandwidth utilization of a plurality of member ports of each bonded port of the network device at the current time by using the following formula:
Figure FDA0003980525920000021
Figure FDA0003980525920000022
Figure FDA0003980525920000023
wherein r is i Bandwidth utilization for the ith member port of each bonded port;
n is the total number of member ports per bonded port.
4. The method for locating a failure of a bonded port of a network device according to claim 1, wherein determining a failed member port at a current time based on a bandwidth utilization of each member port in the failed bonded port for each failed bonded port at the current time comprises:
obtaining an average value of bandwidth utilization rates of a plurality of member ports in the failed bonded port;
calculating the difference between the bandwidth utilization rate of each member port and the average value;
and determining the member port with the largest difference value as the member port with the fault at the current moment.
5. The method for locating a failure of a bundled port of a network device as claimed in claim 1, further comprising:
and generating early warning information of the member port which is faulty at the current moment.
6. A fault locating device for a binding port of a network device, comprising:
the system comprises a variation coefficient determining module, a failure determining module and a failure determining module, wherein the variation coefficient determining module is used for obtaining the variation coefficient of each binding port at the current moment according to the bandwidth utilization rate of a plurality of member ports of each binding port of the network equipment at the current moment, and the variation coefficient of the current moment is used for judging whether the binding port sends a failure at the current moment;
the fault binding port determining module is used for comparing the variation coefficient of each binding port at the current moment with the historical base line variation coefficient to determine the binding port with the fault at the current moment, wherein the historical base line variation coefficient of each binding port is obtained according to a plurality of historical variation coefficients of each binding port;
the system comprises a fault member port determining module, a fault management module and a fault management module, wherein the fault member port determining module is used for determining a member port with a fault at the current moment for each binding port with the fault at the current moment according to the bandwidth utilization rate of each member port in the binding port with the fault;
the method also comprises a historical baseline variation coefficient obtaining module for: the historical baseline coefficient of variation for each binding port was obtained using the following formula:
Figure FDA0003980525920000024
wherein C is t Historical baseline coefficients of variation for each binding port; c i,t Historical variation coefficients at time t of the ith day for each binding port; n is total number of days;
the fault binding port determining module is specifically configured to: obtaining a historical baseline variation coefficient of the current moment of each binding port; for each binding port, when the difference value between the variation coefficient of the current moment of the binding port and the historical baseline variation coefficient of the current moment exceeds a set threshold value, determining that the binding port fails at the current moment.
7. The network device bonding port failure localization apparatus of claim 6, further comprising a bandwidth utilization acquisition module configured to:
for each binding port of the network device, obtaining the flow rate and bandwidth of each member port of the binding port at the current moment;
and obtaining the bandwidth utilization rate of each member port at the current moment according to the flow rates and the bandwidths of the plurality of member ports of the binding port at the current moment.
8. The fault location device of claim 6, wherein the fault binding port determination module is specifically configured to:
according to the bandwidth utilization rate of a plurality of member ports of each binding port of the network equipment at the current moment, the variation coefficient of each binding port at the current moment is obtained by adopting the following formula:
Figure FDA0003980525920000031
/>
Figure FDA0003980525920000032
Figure FDA0003980525920000033
wherein r is i Bandwidth utilization for the ith member port of each bonded port;
n is the total number of member ports per bonded port.
9. The fault locating device of claim 6, wherein the fault member port determining module is specifically configured to:
obtaining an average value of bandwidth utilization rates of a plurality of member ports in the failed bonded port;
calculating the difference between the bandwidth utilization rate of each member port and the average value;
and determining the member port with the largest difference value as the member port with the fault at the current moment.
10. The fault locating device for a binding port of a network device of claim 6, further comprising an early warning information generation module for:
and generating early warning information of the member port which is faulty at the current moment.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 5 when executing the computer program.
12. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program for executing the method of any one of claims 1 to 5.
CN201911255930.0A 2019-12-10 2019-12-10 Fault positioning method and device for binding port of network equipment Active CN112953742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911255930.0A CN112953742B (en) 2019-12-10 2019-12-10 Fault positioning method and device for binding port of network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911255930.0A CN112953742B (en) 2019-12-10 2019-12-10 Fault positioning method and device for binding port of network equipment

Publications (2)

Publication Number Publication Date
CN112953742A CN112953742A (en) 2021-06-11
CN112953742B true CN112953742B (en) 2023-05-12

Family

ID=76225670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911255930.0A Active CN112953742B (en) 2019-12-10 2019-12-10 Fault positioning method and device for binding port of network equipment

Country Status (1)

Country Link
CN (1) CN112953742B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227402A (en) * 2008-02-20 2008-07-23 杭州华三通信技术有限公司 Method and apparatus for sharing polymerization link circuit flow
WO2009036705A1 (en) * 2007-09-18 2009-03-26 Huawei Technologies Co., Ltd. Method for detecting interface failure and network node equipment
CN102685007A (en) * 2012-05-04 2012-09-19 华为技术有限公司 Method and device for processing member links in multi-link bundled link group
WO2016101469A1 (en) * 2014-12-25 2016-06-30 中兴通讯股份有限公司 Method and apparatus for tunnel bandwidth reservation based on binding interface

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8312145B2 (en) * 2003-12-22 2012-11-13 Rockstar Consortium US L.P. Traffic engineering and bandwidth management of bundled links
US7907527B2 (en) * 2006-10-25 2011-03-15 NetTraffic, Inc. Methods, systems, and computer program products for grooming traffic on a shared network facility based on a peak utilization analysis of the shared network facility

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009036705A1 (en) * 2007-09-18 2009-03-26 Huawei Technologies Co., Ltd. Method for detecting interface failure and network node equipment
CN101227402A (en) * 2008-02-20 2008-07-23 杭州华三通信技术有限公司 Method and apparatus for sharing polymerization link circuit flow
CN102685007A (en) * 2012-05-04 2012-09-19 华为技术有限公司 Method and device for processing member links in multi-link bundled link group
WO2016101469A1 (en) * 2014-12-25 2016-06-30 中兴通讯股份有限公司 Method and apparatus for tunnel bandwidth reservation based on binding interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于CE网络多链路聚合的探针测试设计;张峥栋;《信息与电脑(理论版)》;20190315(第05期);全文 *

Also Published As

Publication number Publication date
CN112953742A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
US9692671B2 (en) Method and apparatus for automatically determining causes of service quality degradation
CN114024837B (en) Fault root cause positioning method of micro-service system
CN108989136B (en) Business end-to-end performance monitoring method and device
EP2838226A1 (en) Method and apparatus for correlation analysis of layered network alarms and services
US20200021511A1 (en) Performance analysis for transport networks using frequent log sequence discovery
CN106685750A (en) System anomaly detection method and device
CN107749778B (en) A kind of communications optical cable fault early warning method and device
CN112737800B (en) Service node fault positioning method, call chain generating method and server
EP2713270A1 (en) Resource scheduling method and device
WO2016188187A1 (en) Testing method and device for passive optical network alarm
JP7081741B2 (en) Methods and devices for determining the status of network devices
CN111092752B (en) Fault positioning method and device spanning multiple network slices
CN105871581A (en) Method and device for processing of alarm information in cloud calculation
EP3232620B1 (en) Data center based fault analysis method and device
EP3035596A1 (en) Link performance test method and device, logical processor and network processor
CN110830307B (en) Network capacity expansion method and device
CN114363212B (en) Equipment detection method, device, equipment and storage medium
US8797891B2 (en) System and method for capacity planning on a high speed data network
CN112953742B (en) Fault positioning method and device for binding port of network equipment
US11294748B2 (en) Identification of constituent events in an event storm in operations management
CN112769643B (en) Resource scheduling method and device, electronic equipment and storage medium
US8566634B2 (en) Method and system for masking defects within a network
CN109964450A (en) A kind of method and device of determining sharing memory
CN110855480B (en) Network fault fixed factor analysis method and device
CN111628901B (en) Index anomaly detection method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 702-2, No. 4811, Cao'an Highway, Jiading District, Shanghai

Patentee after: CHINA UNITECHS

Address before: 100872 5th floor, Renmin culture building, 59 Zhongguancun Street, Haidian District, Beijing

Patentee before: CHINA UNITECHS