CN113037578A - Equipment binding port fault warning method and device - Google Patents

Equipment binding port fault warning method and device Download PDF

Info

Publication number
CN113037578A
CN113037578A CN201911247968.3A CN201911247968A CN113037578A CN 113037578 A CN113037578 A CN 113037578A CN 201911247968 A CN201911247968 A CN 201911247968A CN 113037578 A CN113037578 A CN 113037578A
Authority
CN
China
Prior art keywords
binding port
alarm
network
ports
port
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.)
Granted
Application number
CN201911247968.3A
Other languages
Chinese (zh)
Other versions
CN113037578B (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.)
Zhongying Youchuang Information Technology Co Ltd
Original Assignee
Zhongying Youchuang 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 Zhongying Youchuang Information Technology Co Ltd filed Critical Zhongying Youchuang Information Technology Co Ltd
Priority to CN201911247968.3A priority Critical patent/CN113037578B/en
Publication of CN113037578A publication Critical patent/CN113037578A/en
Application granted granted Critical
Publication of CN113037578B publication Critical patent/CN113037578B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • 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/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a fault warning method and a device for a binding port of equipment, wherein the method comprises the following steps: collecting network state information of each binding port of the network equipment, wherein the network state information of each binding port comprises: the total number of ports contained in each binding port and the number of ports in a preset fault state; acquiring an alarm condition corresponding to each binding port of the network equipment according to the total number of ports contained in each binding port of the network equipment, wherein the alarm condition comprises the following steps: when the alarm information is sent out, the number of the ports in the preset fault state in each binding port accounts for an alarm threshold value which needs to be met; and judging whether each binding port of the network equipment meets the corresponding alarm condition according to the network state information of each binding port of the network equipment, and outputting the alarm information of the network equipment according to the judgment result. The invention can more accurately alarm the fault of the equipment binding port in advance and improve the timeliness of the fault alarm of the equipment binding port.

Description

Equipment binding port fault warning method and device
Technical Field
The invention relates to the field of network monitoring, in particular to a method and a device for alarming a fault of a binding port of equipment.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
With the rapid development of the internet industry, the number of internet users is continuously increased, and the types of services are continuously increased, so that the service volume of operators is greatly increased, and the number of various network devices providing services is continuously increased. With the rapid increase of the number of network devices, how to better monitor the network state of the network devices is an important guarantee for providing reliable and efficient services for operators.
At present, in the existing fault alarm scheme for the binding port of the device, whether the binding port is normal or not is judged by judging whether the flow of the binding port exceeds a threshold value or not. According to the fault alarm scheme for the binding port of the equipment, on one hand, due to the large number of binding ports in a network system, a corresponding flow threshold value is set for each binding port, and the workload is large; on the other hand, because the fault condition of each port in the binding port cannot be monitored, the flow of the binding port does not exceed the threshold, some ports in the binding port have faults (for example, port down faults), and the faults of some ports do not affect the normal operation of the binding port in the early stage, but one or two ports may have faults, which may affect the normal operation of the binding port of the network device, and even may have important faults.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a fault warning method for a binding port of equipment, which is used for solving the technical problem that the prior fault warning scheme for the binding port of the equipment can not warn the port fault condition of each binding port by determining whether the flow of each binding port exceeds a corresponding warning threshold value to determine whether to send warning information, and comprises the following steps: collecting network state information of each binding port of the network equipment, wherein the network state information of each binding port comprises: the total number of ports contained in each binding port and the number of ports in a preset fault state; acquiring an alarm condition corresponding to each binding port of the network equipment according to the total number of ports contained in each binding port of the network equipment, wherein the alarm condition comprises the following steps: when the alarm information is sent out, the number of the ports in the preset fault state in each binding port accounts for an alarm threshold value which needs to be met; and judging whether each binding port of the network equipment meets the corresponding alarm condition according to the network state information of each binding port of the network equipment, and outputting the alarm information of the network equipment according to the judgment result.
The embodiment of the invention also provides a device for alarming the fault of the binding port of the equipment, which is used for solving the technical problem that the prior device for alarming the fault of the binding port of the equipment determines whether to send out the alarm information by judging whether the flow of each binding port exceeds the corresponding alarm threshold value, and the scheme can not alarm the fault condition of the port of each binding port, and comprises the following steps: the network state information acquisition module is used for acquiring the network state information of each binding port of the network equipment, wherein the network state information of each binding port comprises: the total number of ports contained in each binding port and the number of ports in a preset fault state; the alarm condition obtaining module is used for obtaining an alarm condition corresponding to each binding port of the network equipment according to the total number of the ports contained in each binding port of the network equipment, wherein the alarm condition comprises: when the alarm information is sent, the number of ports in a preset fault state in each binding port accounts for an alarm threshold value which needs to be met; and the alarm information output module is used for judging whether each binding port of the network equipment meets the corresponding alarm condition according to the network state information of each binding port of the network equipment and outputting the alarm information of the network equipment according to the judgment result.
The embodiment of the invention also provides computer equipment, which is used for solving the technical problem that the existing equipment binding port fault alarm scheme can not alarm the port fault condition of each binding port by judging whether the flow of each binding port exceeds the corresponding alarm threshold value to determine whether to send out alarm information, and comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the equipment binding port fault alarm method is realized when the processor executes the computer program.
The embodiment of the invention also provides a computer readable storage medium, which is used for solving the technical problem that the existing equipment binding port fault warning scheme can not warn the port fault condition of each binding port by determining whether the flow of each binding port exceeds the corresponding warning threshold value to determine whether to send out warning information, and the computer readable storage medium stores a computer program for executing the equipment binding port fault warning method.
In the embodiment of the invention, after the network state information of each binding port of the network equipment is collected, the alarm condition corresponding to each binding port of the network equipment is obtained according to the total number of the ports contained in each binding port of the network equipment, whether each binding port of the network equipment meets the corresponding alarm condition is judged according to the network state information of each binding port of the network equipment, and the alarm information of the network equipment is output according to the judgment result.
According to the embodiment of the invention, whether the alarm information of the corresponding binding port is sent can be determined according to the number ratio of the ports in the fault state in each binding port of the network equipment, only the corresponding alarm threshold value needs to be configured for the binding ports in different port number ranges in advance, the alarm threshold value does not need to be configured for each binding port, and the workload is reduced; in addition, the number ratio of the ports in the fault state in each binding port is monitored, the faults of the equipment binding ports can be more accurately alarmed in advance, namely, the alarm is sent out before the major faults of each binding port occur, and the timeliness of the fault alarm of the equipment binding ports is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a flowchart of a device binding port fault warning method provided in an embodiment of the present invention;
fig. 2 is a schematic diagram of a configuration interface of alarm threshold information provided in an embodiment of the present invention;
fig. 3 is an interface diagram illustrating alarm threshold information configuration performed on a specified network device according to an embodiment of the present invention;
fig. 4 is an interface diagram of adding or modifying alarm threshold information of a certain network device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a device binding port fault warning apparatus provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention and not to limit the present invention.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are used in an open-ended fashion, i.e., to mean including, but not limited to. Reference to the description of 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 application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. 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 mentioned in the embodiments is for schematically illustrating the implementation of the present application, and the sequence of steps is not limited and can be adjusted as required.
An embodiment of the present invention provides a device binding port fault warning method, fig. 1 is a flowchart of a device binding port fault warning method provided in an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
s101, collecting network state information of each binding port of the network equipment, wherein the network state information of each binding port comprises: the total number of ports contained in each bundle and the number of ports in a preset fault state.
It should be noted that the network state information of each binding port of the network device collected in S101 includes, but is not limited to: the total number of ports contained in each binding port and the number of ports in a preset fault state; device names of network devices, device IPs, names of individual bindings, port names, etc. may also be included. In the embodiment of the invention, one device IP corresponds to one or more binding ports, and one binding port corresponds to one or more ports.
It should be noted that, in the embodiment of the present invention, the preset fault state may be, but is not limited to, a state in which the port is closed; for example, the state that the flow of each port in the bundle exceeds the preset flow threshold range can also be used. The invention aims to protect a scheme capable of alarming the binding port according to the number proportion of fault ports in the binding port, and is not limited to which kind of fault occurs in each port in the binding port.
S102, acquiring an alarm condition corresponding to each binding port of the network equipment according to the total number of ports contained in each binding port of the network equipment, wherein the alarm condition comprises: and when the alarm information is sent, the number of the ports in the preset fault state in each binding port accounts for an alarm threshold value which needs to be met.
Specifically, before the step S102, the method for alarming a fault of a device binding port according to the embodiment of the present invention may further include the following steps: displaying a configuration interface of an alarm condition; and receiving alarm thresholds corresponding to binding ports with different port numbers input by a user through a configuration interface.
Fig. 2 is a schematic diagram of a configuration interface of alarm threshold information provided in an embodiment of the present invention; as shown in fig. 2, alarm thresholds corresponding to binding ports with different port numbers may be preconfigured, where the port numbers included in different binding ports may be set to be integers or an integer range; the unit of the alarm threshold and the recovery threshold is "%". It is necessary to check whether the format is digital, and a 2-bit decimal point can be reserved.
As shown in fig. 2, for a binding port with a total number of ports of 8, an alarm threshold value is set to 60%, which indicates that when the percentage of the number of ports (e.g., the number of ports down) in a preset fault state in the binding port to the total number of ports is greater than or equal to 60%, an alarm is issued (i.e., a first alarm message is output); the recovery threshold is set to 40%, which indicates that when the percentage of the number of ports (e.g., the number of ports down) included in the bundle in the preset failure state to the total number of ports is less than or equal to 40%, a recovery alarm is issued (i.e., second alarm information is output).
It should be noted that, only after an alarm occurs, a recovery alarm is issued by a binding port, and the recovery alarm in the embodiment of the present invention means that the alarm of the binding port is recovered to be normal. For example, a certain binding port includes 8 ports, and the corresponding alarm threshold is 60%, and the recovery threshold is 40%, and if only 4 ports down occur at most, but the alarm threshold is not exceeded by 60%, the recovery alarm is not issued.
In addition, it should be noted that after configuration is completed, it is necessary to check that the port ranges of the binding ports cannot conflict, that is, the binding ports with different port numbers can only correspond to one alarm threshold and one recovery threshold.
For some important network devices, the embodiment of the present invention may also support setting of an alarm threshold for a specified network device, fig. 3 is an interface diagram for configuring alarm threshold information for a specified network device provided in the embodiment of the present invention, and as shown in fig. 3, in a default case, thresholds of all device ports may be displayed, and filtering query according to a device name, a device IP, and a port name is supported; for a certain binding port, when a delete button is clicked, a prompt box for confirming deletion can be popped up. Clicking on the "Add" or "Modify" button shown in FIG. 3 causes the configuration interface shown in FIG. 4 to appear, noting that if a Modify is clicked, only the modifications to alarm thresholds, recovery thresholds are supported. Clicking the port "select" button in FIG. 4 may select a binding port; in addition, it is not possible to add a plurality of times to the same device port, and as a preferred embodiment, it is supported to import configuration information in the standard template format shown in table 1.
TABLE 1 alarm threshold information Table in Standard template Format
Equipment IP Port name Alarm threshold Recovery threshold
It should be noted that when the alarm threshold information of each network device is imported in batch, only the binding port is supported; if a certain network device does not exist, or a binding port does not exist, or the network device is imported, corresponding prompt information is output, for example, "device IP: XX; port name: XX is absent/already present ".
S103, judging whether each binding port of the network equipment meets the corresponding alarm condition according to the network state information of each binding port of the network equipment, and outputting the alarm information of the network equipment according to the judgment result.
Optionally, the step S103 may include the following steps: monitoring the number ratio of ports in a preset fault state in each binding port of the network equipment according to the network state information of each binding port of the network equipment, and judging whether the number ratio is greater than or equal to a first alarm threshold value; and outputting first alarm information of the network equipment under the condition that the number of the ports in the preset fault state in each binding port of the network equipment is smaller than or equal to a first alarm threshold value, wherein the first alarm information is used for prompting the network equipment to have a fault.
Further, the step S103 may further include the steps of: monitoring the number ratio of ports in a preset fault state in each binding port of the network equipment, and judging whether the number ratio is greater than or equal to a second alarm threshold value; and outputting second alarm information of the network equipment when the number of the ports in the preset fault state in each binding port of the network equipment accounts for and is less than or equal to the first alarm threshold value, wherein the second alarm information is used for prompting the network equipment to eliminate the fault.
The alarm information output in S103 includes, but is not limited to: the device name, the binding port name, and the number of ports in the binding port in a preset fault state.
Optionally, the S103 may output the warning information by, but is not limited to, any one of the following manners: short message, mail and alarm board.
No matter which output mode is adopted, the embodiment of the present invention may further define an output format template of the alarm information, for example, an alarm variable: the alarm device name (DeviceName), the alarm device IP (DeviceIP), the first time of alarm occurrence time (StartTime), the last time of alarm occurrence time (LastOccurTime), the alarm recovery time (ClearTime), the alarm type (AlarmType) and the down port name (PortName).
The format of the short message is defined as follows:
time: XX, device name (device IP), port name, alarm type.
For example: HLJXI-MC-IPMAN-SR02-HWME60(218.203.40.12), binding port name port down ultra XX% early warning.
The mail format is defined as follows:
the receiver: mailbox of maintainer corresponding to alarm equipment
Mail title: and (4) alarming: device name (device IP) alarm types such as: and (4) alarming: HLJXI-MC-IPMAN-SR02-HWME60(218.203.40.12) bundled port down ultra XX% early warning,
e, mail content:
for example:
2017-04-1711: 10:00, equipment: HLJXI-MC-IPMAN-SR02-HWME60(218.203.40.12), Port: and (4) the name of the binding port and the down of the binding port exceed 80 percent of early warning. And the XX port name finds the down alarm of the port.
The alarm board format is defined as follows:
alarm title: and early warning that the down of the binding port exceeds XX%.
And (4) warning content:
2017-04-1711: 10:00, equipment: HLJXI-MC-IPMAN-SR02-HWME60(218.203.40.12), Port: and (5) binding port 01, wherein down of the binding port exceeds XX% early warning. XX port, YY port, ZZ port down
Taking the format of the short message as an example, the configuration method comprises the following steps: a failure occurs in [ Date ], [ Hfdate ], [ DeviceIP ] core network devices. Wherein Date represents the alarm occurrence time; DeviceIP stands for device IP; hfdate represents the alarm recovery time; if the variable is null, the empty string is replaced.
According to the embodiment of the invention, by defining the alarm threshold value and the alarm recovery threshold value corresponding to the binding ports in different port number ranges, when the fact that a certain number of ports in a certain binding port have faults (for example, port down) is monitored, an alarm is generated. Therefore, the fault alarm scheme of the equipment binding port provided by the embodiment of the invention can filter a plurality of unimportant alarms and enable the important alarms to be accurately notified to maintenance personnel in real time by short messages, mails and other modes.
As can be seen from the above, in the method for alarming a fault of a device binding port according to the embodiments of the present invention, after the network state information of each binding port of the network device is collected, the alarm condition corresponding to each binding port of the network device is obtained according to the total number of ports included in each binding port of the network device, and then whether each binding port of the network device meets the corresponding alarm condition is determined according to the network state information of each binding port of the network device, and the alarm information of the network device is output according to the determination result.
By the equipment binding port fault warning method provided by the embodiment of the invention, whether the warning information of the corresponding binding port is sent or not can be determined according to the number proportion of the ports in the fault state in each binding port of the network equipment, only the corresponding warning threshold value needs to be configured for the binding ports in different port number ranges in advance, the warning threshold value does not need to be configured for each binding port, and the workload is reduced; in addition, the number ratio of the ports in the fault state in each binding port is monitored, so that the faults of the equipment binding ports can be more accurately warned in advance, namely, the warning is sent before the major faults of each binding port occur, and the timeliness of the fault warning of the equipment binding ports is improved.
Based on the same inventive concept, the embodiment of the present invention further provides a device or system for alarming the fault of the binding port of the equipment, as described in the following embodiments. Because the principle of the device embodiment for solving the problems is similar to the device binding port fault warning method, the implementation of the device embodiment can refer to the implementation of the method, and repeated parts are not described again.
Fig. 5 is a schematic diagram of an apparatus binding port fault warning device provided in an embodiment of the present invention, and as shown in fig. 5, the device includes: a network state information acquisition module 51, an alarm condition acquisition module 52 and an alarm information output module 53.
The network state information acquiring module 51 is configured to acquire network state information of each binding port of the network device, where the network state information of each binding port includes: the total number of ports contained in each binding port and the number of ports in a preset fault state; an alarm condition obtaining module 52, configured to obtain, according to the total number of ports included in each binding port of the network device, an alarm condition corresponding to each binding port of the network device, where the alarm condition includes: when the alarm information is sent out, the number of ports in a preset fault state in each binding port accounts for an alarm threshold value which needs to be met; and an alarm information output module 53, configured to determine whether each binding port of the network device satisfies a corresponding alarm condition according to the network state information of each binding port of the network device, and output alarm information of the network device according to a determination result.
It should be noted that, in the embodiment of the present invention, the preset fault state may be, but is not limited to, a state in which the port is closed; for example, the state that the flow of each port in the bundle exceeds the preset flow threshold range can also be used. The invention aims to protect a scheme capable of alarming the binding port according to the number proportion of fault ports in the binding port, and is not limited to which kind of fault occurs in each port in the binding port.
As can be seen from the above, the device binding port fault warning apparatus provided in the embodiment of the present invention acquires the network state information of each binding port of the network device through the network state information acquisition module 51, acquires the warning condition corresponding to each binding port of the network device according to the total number of ports included in each binding port of the network device through the warning condition acquisition module 52, further determines whether each binding port of the network device satisfies the corresponding warning condition according to the network state information of each binding port of the network device through the warning information output module 53, and outputs the warning information of the network device according to the determination result.
The device binding port fault warning device provided by the embodiment of the invention can determine whether to send the warning information of the corresponding binding port according to the number ratio of the ports in the fault state in each binding port of the network device, only needs to configure the corresponding warning threshold value aiming at the binding ports with different port number ranges in advance, does not need to configure the warning threshold value aiming at each binding port, and reduces the workload; in addition, the number ratio of the ports in the fault state in each binding port is monitored, so that the faults of the equipment binding ports can be more accurately warned in advance, namely, the warning is sent before the major faults of each binding port occur, and the timeliness of the fault warning of the equipment binding ports is improved.
In an optional embodiment, in the device bundle interface fault warning apparatus provided in the embodiment of the present invention, the warning information output module 53 is further configured to monitor whether a ratio of the number of ports in a preset fault state in each bundle interface of the network device is greater than or equal to a first warning threshold according to network state information of each bundle interface of the network device; and outputting first alarm information of the network equipment when the number of the ports in the preset fault state in each binding port of the network equipment accounts for and is less than or equal to a first alarm threshold value, wherein the first alarm information is used for prompting the network equipment to have a fault.
In an optional embodiment, in the device bundle interface fault warning apparatus provided in the embodiment of the present invention, the warning information output module 53 is further configured to monitor whether a ratio of the number of ports in each bundle interface of the network device, which are in a preset fault state, is greater than or equal to a second warning threshold; and outputting second alarm information of the network equipment when the number of the ports in the preset fault state in each binding port of the network equipment accounts for and is less than or equal to the first alarm threshold value, wherein the second alarm information is used for prompting the network equipment to eliminate the fault.
In an optional embodiment, the device binding port fault warning apparatus provided in the embodiment of the present invention may further include: an alarm condition configuration module 54 for displaying a configuration interface of the alarm condition; and receiving an alarm threshold value corresponding to the binding port with different port numbers input by a user through a configuration interface.
In the device binding port fault warning apparatus provided in the embodiment of the present invention, the warning information output module 53 may, but is not limited to, output the warning information in any one of the following manners: short message, mail and alarm board.
In the device binding port fault warning apparatus provided in the embodiment of the present invention, the warning information of the network device output by the warning information output module 53 may include, but is not limited to: the name of the device, the name of the binding port and the number of ports in the binding port in a preset fault state account for the ratio.
The embodiment of the invention also provides computer equipment, which is used for solving the technical problems that whether alarm information is sent out is determined by judging whether the flow of each binding port of the network equipment exceeds a corresponding alarm threshold value or not in the prior art, the alarm threshold value is required to be configured for each binding port, and the alarm cannot be given to the port fault condition of each binding port.
The embodiment of the invention also provides a computer readable storage medium, which is used for solving the technical problems that in the prior art, whether alarm information is sent out is determined by judging whether the flow of each binding port of network equipment exceeds a corresponding alarm threshold value, the alarm scheme of the equipment binding port fault needs to configure the alarm threshold value for each binding port, and the alarm cannot be carried out on the port fault condition of each binding port, and the computer readable storage medium stores a computer program for executing the equipment binding port fault alarm method.
In summary, embodiments of the present invention provide a method and an apparatus for alarming a device binding port failure, a computer device, and a computer readable storage medium, which determine whether a binding port alarm is generated by determining a ratio of the number of ports in a failure state in a binding port (e.g., a ratio of the number of ports down), and provide a function of setting a binding port threshold value according to a common rule, so that the rule can be adapted to all ports in a network system. When the number of ports contained in the binding port meets the total number condition of the ports of the corresponding alarm threshold, monitoring alarm can be carried out according to the alarm threshold. The warning information can be notified to maintenance personnel through various output modes such as mails, short messages, warning boards and the like.
As will be appreciated by one skilled in the art, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A fault alarm method for a binding port of equipment is characterized by comprising the following steps:
collecting network state information of each binding port of the network equipment, wherein the network state information of each binding port comprises: the total number of ports contained in each binding port and the number of ports in a preset fault state;
acquiring an alarm condition corresponding to each binding port of the network equipment according to the total number of ports contained in each binding port of the network equipment, wherein the alarm condition comprises: when the alarm information is sent out, the number of the ports in the preset fault state in each binding port accounts for an alarm threshold value which needs to be met;
and judging whether each binding port of the network equipment meets the corresponding alarm condition according to the network state information of each binding port of the network equipment, and outputting the alarm information of the network equipment according to the judgment result.
2. The method of claim 1, wherein the predetermined fault condition is a port being in a closed condition.
3. The method of claim 1, wherein determining whether each binding port of the network device satisfies a corresponding alarm condition according to the network status information of each binding port of the network device, and outputting alarm information of the network device according to a determination result comprises:
monitoring the number ratio of ports in a preset fault state in each binding port of the network equipment according to the network state information of each binding port of the network equipment, and judging whether the number ratio is greater than or equal to a first alarm threshold value;
and outputting first alarm information of the network equipment when the number of the ports in the preset fault state in each binding port of the network equipment accounts for and is less than or equal to a first alarm threshold value, wherein the first alarm information is used for prompting the network equipment to have a fault.
4. The method of claim 3, wherein after outputting the first alarm information for the network device, the method further comprises:
monitoring the number ratio of ports in a preset fault state in each binding port of the network equipment, and judging whether the number ratio is greater than or equal to a second alarm threshold value;
and outputting second alarm information of the network equipment when the number of the ports in the preset fault state in each binding port of the network equipment accounts for and is less than or equal to a first alarm threshold value, wherein the second alarm information is used for prompting the network equipment to eliminate the fault.
5. The method of claim 1, wherein the method further comprises:
displaying a configuration interface of an alarm condition;
and receiving alarm thresholds corresponding to binding ports with different port numbers input by a user through the configuration interface.
6. The method according to any one of claims 1 to 5, wherein the alarm information is output by any one of: short message, mail and alarm board.
7. The method according to any of claims 1 to 5, wherein the alarm information of the network device comprises: the device name, the binding port name, and the number of ports in the binding port in a preset fault state.
8. A device binding port fault warning device is characterized by comprising:
the network state information acquisition module is used for acquiring the network state information of each binding port of the network equipment, wherein the network state information of each binding port comprises: the total number of ports contained in each binding port and the number of ports in a preset fault state;
an alarm condition obtaining module, configured to obtain an alarm condition corresponding to each binding port of the network device according to a total number of ports included in each binding port of the network device, where the alarm condition includes: when the alarm information is sent out, the number of the ports in the preset fault state in each binding port accounts for an alarm threshold value which needs to be met;
and the alarm information output module is used for judging whether each binding port of the network equipment meets the corresponding alarm condition according to the network state information of each binding port of the network equipment and outputting the alarm information of the network equipment according to the judgment result.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the device binding failure warning method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program for executing the device bundle interface fault warning method according to any one of claims 1 to 7.
CN201911247968.3A 2019-12-09 2019-12-09 Equipment binding port fault warning method and device Active CN113037578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911247968.3A CN113037578B (en) 2019-12-09 2019-12-09 Equipment binding port fault warning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911247968.3A CN113037578B (en) 2019-12-09 2019-12-09 Equipment binding port fault warning method and device

Publications (2)

Publication Number Publication Date
CN113037578A true CN113037578A (en) 2021-06-25
CN113037578B CN113037578B (en) 2022-10-04

Family

ID=76450852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911247968.3A Active CN113037578B (en) 2019-12-09 2019-12-09 Equipment binding port fault warning method and device

Country Status (1)

Country Link
CN (1) CN113037578B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143247A (en) * 2021-11-03 2022-03-04 中盈优创资讯科技有限公司 IP relay circuit flow emigration and emigration method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202196A (en) * 2014-09-11 2014-12-10 德科仕通信(上海)有限公司 Method for detecting network performance problems and positioning failure nodes
CN105429801A (en) * 2015-12-10 2016-03-23 北京奇虎科技有限公司 Traffic monitoring method and apparatus
EP3091519A1 (en) * 2015-05-08 2016-11-09 Securitas Direct AB Jamming detection method and device
CN109358602A (en) * 2018-10-23 2019-02-19 山东中创软件商用中间件股份有限公司 A kind of failure analysis methods, device and relevant device
CN109391494A (en) * 2017-08-09 2019-02-26 华为技术有限公司 A kind of communication means, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202196A (en) * 2014-09-11 2014-12-10 德科仕通信(上海)有限公司 Method for detecting network performance problems and positioning failure nodes
EP3091519A1 (en) * 2015-05-08 2016-11-09 Securitas Direct AB Jamming detection method and device
CN105429801A (en) * 2015-12-10 2016-03-23 北京奇虎科技有限公司 Traffic monitoring method and apparatus
CN109391494A (en) * 2017-08-09 2019-02-26 华为技术有限公司 A kind of communication means, equipment and storage medium
CN109358602A (en) * 2018-10-23 2019-02-19 山东中创软件商用中间件股份有限公司 A kind of failure analysis methods, device and relevant device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143247A (en) * 2021-11-03 2022-03-04 中盈优创资讯科技有限公司 IP relay circuit flow emigration and emigration method and device

Also Published As

Publication number Publication date
CN113037578B (en) 2022-10-04

Similar Documents

Publication Publication Date Title
CN106878064B (en) Data monitoring method and device
CN108011925B (en) Service auditing system and method
CN108989136B (en) Business end-to-end performance monitoring method and device
CN110086853A (en) A kind of industry Internet of Things information visualization methods, server and storage medium
CN113176978A (en) Monitoring method, system and device based on log file and readable storage medium
CN114020581A (en) Alarm correlation method based on topological optimization FP-Growth algorithm
CN114070711A (en) Alarm information processing method and device, electronic equipment and storage medium
CN107749778A (en) A kind of communications optical cable fault early warning method and device
CN113037578B (en) Equipment binding port fault warning method and device
CN114070709A (en) Alarm correlation analysis method and device
CN109818808B (en) Fault diagnosis method and device and electronic equipment
CN111427749B (en) Monitoring tool and method for ironic service in opentack environment
CN110609761B (en) Method and device for determining fault source, storage medium and electronic equipment
CN108959657A (en) A kind of operation of data modification method and device
CN110928942A (en) Index data monitoring and management method and device
CN112054913A (en) Data monitoring system and method
CN110727565A (en) Network equipment platform information collection method and system
CN115167297A (en) Intelligent manufacturing industry Internet of things based on thread control and control method
CN114760109A (en) Numerical behavior security baseline generation method and device for security analysis
CN113691392A (en) Internet of things alarm system based on business rules
CN116416764A (en) Alarm threshold generation method and device, electronic equipment and storage medium
CN110611576B (en) Data quality monitoring method, device, equipment and storage medium
CN109033189B (en) Compression method and device of link structure log, server and readable storage medium
CN112711517A (en) Server performance monitoring method and device, storage medium and terminal
CN111556098A (en) Artificial intelligence based analysis system and analysis method for internet of things data

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

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

CP02 Change in the address of a patent holder