WO2016184222A1 - Failure detecting method and device - Google Patents
Failure detecting method and device Download PDFInfo
- Publication number
- WO2016184222A1 WO2016184222A1 PCT/CN2016/075655 CN2016075655W WO2016184222A1 WO 2016184222 A1 WO2016184222 A1 WO 2016184222A1 CN 2016075655 W CN2016075655 W CN 2016075655W WO 2016184222 A1 WO2016184222 A1 WO 2016184222A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network management
- alarm
- network
- detection
- channel
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management 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
Definitions
- This application relates to, but is not limited to, the field of data communications.
- SNMP Simple Network Management Protocol
- TCP/IP Transmission Control Protocol/Internet Protocol
- the network management system manages the NE device.
- the NE device actively reports fault information, or the network management device monitors the NE device. If the channel that the NE is alerted to the NMS is faulty, the NMS cannot implement the device to supervise the NE. The NE cannot successfully report the alarm.
- the device will be faulty.
- the cause of the packet failure is that the alarm reporting channel is faulty.
- the network management system fault detection method of the related technology does not involve a problem: that is, it is impossible to determine whether the network element alarm reporting channel is normal.
- This document provides a fault detection method and device to solve the problem that the network management unit is not reliable.
- a fault detection method including: the network management apparatus sends an alarm detection instruction to the network element device, where the alarm detection instruction is used by the network management system to detect that the network element device reports a fault to Whether the channel of the network management device is faulty; the network management device determines whether the detection information fed back by the network element device according to the alarm detection instruction is received within a preset time threshold; If the judgment result is no, the network management determines that the channel is faulty.
- the method further includes: if the determination result is yes, the network management determines that the channel is normal.
- the method further includes: the network tube discarding the detection information.
- the method further includes: detecting, by the network management, whether the alarm information receiving function of the network management is normal.
- the detecting, by the network management, whether the alarm information receiving function of the network management is normal includes: sending, by the network management, a detection instruction to the network card; and determining, by the network management, whether the detection sent by the network card is received within a preset time threshold If the result of the determination is yes, the network management determines that the alarm information receiving function of the network management is normal; if the determination result is negative, the network management determines that the alarm information receiving function of the network management device is faulty.
- the detection information is a failure alarm, where the SNMP TRAP message is used to trigger the network element device to authenticate the failure alarm.
- a fault detection apparatus comprising: a sending module, configured to: send an alarm detection instruction to a network element device, where the alarm detection instruction is used for the network management detection The determining, by the network element device, the fault that the fault is detected on the channel of the network management device; the determining module is configured to: determine whether the detection information fed back by the network element device according to the alarm detection instruction is received within the preset time threshold; Set to: if the judgment result is no, it is determined that the channel is faulty.
- the determining module is further configured to: if the determination result is yes, determine that the channel is normal.
- the device further includes: a detecting module, configured to: detect whether the alarm information receiving function of the network management is normal.
- the detecting module includes: a sending unit, configured to: send a detection instruction to the network card; and the determining unit is configured to: determine, by the network management, whether the detection instruction sent by the network card is received within a preset time threshold The first determining unit is set to: in the case where the judgment result is yes And determining that the alarm information receiving function of the network management is normal; the second determining unit is configured to: when the determination result is negative, determine that the alarm information receiving function of the network management device is faulty.
- a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
- the network management device sends an alarm detection command to the network element device, where the alarm detection command is used by the network management device to detect whether the channel that the network element device reports the fault to the network management device is faulty; Whether the detection information fed back by the network element device according to the alarm detection instruction is received in the preset time threshold; if the determination result is negative, the network management determines that the channel is faulty, and the related technology cannot be determined. If the NE alarm reporting channel is normal, the network management system is unreliable on the NE. The network management system can check the NE reporting channel, improve the working efficiency, reduce the possibility of NE alarm loss, and improve the network management device monitoring. reliability.
- FIG. 1 is a flow chart 1 of a fault detection method according to an embodiment of the present invention.
- FIG. 2 is a second flowchart of a fault detection method according to an embodiment of the present invention.
- FIG. 3 is a third flowchart of a fault detection method according to an embodiment of the present invention.
- FIG. 4 is a block diagram 1 of a structure of a fault detecting apparatus according to an embodiment of the present invention.
- FIG. 5 is a structural block diagram 2 of a fault detecting apparatus according to an embodiment of the present invention.
- FIG. 6 is a structural block diagram of a detecting module of a fault detecting apparatus according to an embodiment of the present invention.
- FIG. 7 is a structural block diagram of a fault detecting apparatus according to another embodiment of the present invention.
- FIG. 8 is a flowchart 1 of a fault detection method according to another embodiment of the present invention.
- FIG. 9 is a second flowchart of a fault detection method according to another embodiment of the present invention.
- FIG. 10 is a schematic structural diagram of a detection ignore message received by the network management alarm receiving module 72 according to another embodiment of the present invention.
- FIG. 1 is a flowchart of a fault detection method according to an embodiment of the present invention. As shown in FIG. 1, the flow may include the following steps:
- step S100 the network management system sends an alarm detection command to the network element device, where the alarm detection command is used by the network management system to detect whether the channel that the network element device reports the fault to the network management device is faulty.
- Step S102 The network management determines whether the detection information fed back by the network element device according to the alarm detection instruction is received within a preset time threshold.
- Step S104 If the determination result is no, the network management determines that the channel is faulty.
- the network management system sends a detection command to the network element device, and the network element device feeds back the detection information according to the detection instruction. If the network management system does not receive the detection information of the feedback from the network element device in the predetermined time range, it may be determined that the network element device fails to determine whether the network element alarm reporting channel is faulty in the related art. If the network management system is unreliable on the NEs, the network management system can check the NEs to report the channels, improve the working efficiency, reduce the possibility of NE alarms, and improve the reliability of the network management.
- the method may further include step S106. If the determination result is yes, the network management determines that the channel is normal. If the network management system receives the detection information fed back by the network element device within the predetermined time range, it can be considered that the alarm channel is normal and the network management system monitors the reliability of the network element device.
- the method may further include: the network management device discarding the detection information. During the detection of whether the reported channel is faulty, the received detection information does not need to be displayed to the network management or storage. Otherwise, the customer will be misunderstood, and the device is attacked. Therefore, the network management system discards and ignores the detection information.
- FIG. 2 A fault detection method is also provided in the embodiment of the present invention, and FIG. 2 is implemented according to the present invention.
- Flowchart 2 of the fault detection method of the example, as shown in FIG. 2, the process may include the following steps:
- Step S200 The network management system detects whether the alarm information receiving function of the network management is normal.
- step S202 the network management system sends an alarm detection command to the network element device, where the alarm detection command is used by the network management device to detect whether the channel that is faulty to the network management device is faulty.
- Step S204 The network management determines whether the detection information fed back by the network element device according to the alarm detection instruction is received within the preset time threshold.
- Step S206 in the case that the determination result is no, the network management determines that the channel is faulty
- step S208 if the determination result is yes, the network management determines that the channel is normal.
- the network management system determines that the network element device alarm reporting channel is normal, this conclusion is very clear, and the alarm receiving function detection of the network management system is not required.
- the network management system determines that the alarm channel is faulty on the network element device, it cannot be determined that the alarm channel is faulty.
- the alarm receiving function of the network management system is faulty, and the network management system cannot receive the alarm in time.
- the fault detection information reported by the NE causes the network administrator to mistake the channel for a fault. In this case, the alarm receiving function of the network management system needs to be detected.
- the network management alarm channel detection module notifies the network management alarm receiving test module to perform network management alarm receiving detection.
- step S200 may be before step S202, or may be after step S206 or S208.
- the network management function is normal, the judgment result of detecting the alarm reporting channel can be accurate.
- the network management function is detected. If the network management alarm receiving function is normal, the alarm channel detection result is correct.
- the alarm receiving function fails, it is impossible to determine whether the alarm channel is faulty.
- FIG. 3 is a flowchart 3 of a fault detection method according to an embodiment of the present invention. As shown in FIG. 3, the flow may include the following steps:
- Step S300 the network management sends a detection instruction to the network card.
- Step S302 the network management determines whether the detection instruction sent by the network card is received within the preset time threshold.
- Step S304 If the determination result is negative, the network management determines that the alarm information receiving function of the network management device is faulty;
- Step S306 in the case that the determination result is yes, the network management determines the alarm information receiving function of the network management system. Can be normal;
- the detection and output commands are sent and received through the internal modules of the network management system to detect the reliability of the receiving function of the network management system.
- step S308 the network management system sends an alarm detection command to the network element device, where the alarm detection command is used by the network management device to detect whether the channel that is faulty to the network management device is faulty.
- step S310 the network management determines whether the detection information fed back by the network element device according to the alarm detection instruction is received within the preset time threshold.
- Step S312 in the case that the determination result is no, the network management determines that the channel is faulty;
- step S314 if the determination result is yes, the network management determines that the channel is normal.
- the normal operation of the network management alarm receiving function is a necessary condition for the network element alarm reporting channel detection. It only makes sense if the network management alarm receiving function is reported without problems. If the alarm receiving function of the network management system is normal, the alarm reporting channel is detected, and the alarm reporting channel is determined to be normal according to the detection result.
- the NMS monitors the unreliable network element and improves the reliability of the alarm management. You can find the NE alarm outage problem in time.
- the method may further include: the alarm detection instruction is an SNMP TRAP (trap) message, where the SNMP TRAP message is used to trigger the network element device authentication failure alarm; the detection information is an authentication failure.
- Alarm is a part of SNMP.
- the agent sends an alarm event to the NMS.
- an authentication failure NOTIFICATION-TYPE is defined.
- the alarm is used as the alarm reporting detection.
- the device alarm reporting channel can be detected simply and quickly. All supported SNMP (simplified network protocol) is supported. ) V1 and V2C managed devices. Test efficiency is hundreds of times more efficient than manual trigger port ⁇ alarm and configuration check.
- a fault detecting device is also provided, which is used to implement the above-mentioned embodiments and implementation manners, and has not been described again.
- the term “module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus includes a transmitting module 40, a determining module 42, and a determining module 44, which will be described below.
- the sending module 40 is configured to: send an alarm detection command to the network element device, where the alarm detection command is used by the network management device to detect whether the channel that the network element device reports the fault to the network management device is faulty;
- the determining module 42 is configured to: determine whether the detection information fed back by the network element device according to the alarm detection instruction is received within the preset time threshold;
- the determining module 44 is configured to: determine that the channel is faulty if the determination result is negative.
- the determining module 44 may be further configured to: determine that the channel is normal if the determination result is yes.
- FIG. 5 is a block diagram showing the structure of a fault detecting apparatus according to an embodiment of the present invention, which is described in conjunction with FIG. 5.
- the detecting module 50 is configured to: detect whether the alarm information receiving function of the network management is normal;
- the sending module 52 is configured to: send an alarm detection command to the network element device, where the alarm detection command is used by the network management device to detect whether the channel that the network element device reports the fault to the network management device is faulty;
- the determining module 54 is configured to: determine whether the detection information fed back by the network element device according to the alarm detection instruction is received within the preset time threshold;
- the determining module 56 is configured to: determine that the channel is faulty if the determination result is negative.
- the detecting module 50 may further include:
- the sending unit 501 is configured to: send a detection instruction to the network card;
- the determining unit 502 is configured to: determine whether the detection instruction sent by the network card is received within a preset time threshold;
- the first determining unit 503 is configured to: when the determination result is yes, determine that the alarm information receiving function of the network management is normal;
- the second determining unit 504 is configured to: if the determination result is negative, determine that the alarm information receiving function of the network management is faulty.
- the network management system actively sends a detection instruction to the network element device, and the network element device is configured according to The detection instruction feedback detection information. If the network management system does not receive the detection information of the feedback from the network element device in the predetermined time range, it may be determined that the network element device fails to determine whether the network element alarm reporting channel is faulty in the related art. If the network management system is unreliable on the NEs, the network management system can check the NEs to report the channels, improve the working efficiency, reduce the possibility of NE alarms, and improve the reliability of the network management.
- FIG. 7 is a structural block diagram of fault detection according to another embodiment of the present invention. As shown in FIG. 7, the apparatus may implement the functions of the apparatus described in the foregoing FIG. 4 to FIG. 6, and may include the following modules:
- the network management alarm channel detecting module 70 is configured to detect whether the alarm reporting channel is normal or not, and can implement the function of the determining module 42 in FIG. 4;
- the network management alarm receiving module 72 is mainly responsible for monitoring the port and receiving the trap, and can implement the function of the sending module in FIG. 4;
- the network management alarm receiving test module 74 is mainly responsible for generating and sending a specific trap to the network management alarm receiving port, and can implement the function of the detecting module 50 in FIG. 5;
- the NE alarm test module 76 is configured to generate an authentication failure alarm and record the alarm generation time. Returning the recorded alarm generation time and device information to the alarm channel detection module, the function of the determination module 44 in FIG. 4 can be implemented;
- the present embodiment provides a method and a system for quickly detecting whether an alarm reporting channel is normal.
- the actual test truly reflects the management status of the network management device alarm.
- the test-based alarm reporting method is simple, and the operation is faster than the configuration check. The check speed is faster.
- the alarm test does not need to modify the service on the device, and the impact on the device is smaller.
- FIG. 8 is a flowchart 1 of a fault detection method according to another embodiment of the present invention. As shown in FIG. 8, the flow may include the following steps:
- Step S800 detecting whether the network management alarm receiving is normal
- Step S802 detecting whether the alarm channel is normal on the network element.
- the network management alarm receiving detection is a prerequisite for the network element alarm reporting detection. It only makes sense if the network management alarm receiving function is reported without problems.
- the server port is occupied, the alarm receiving module is not started, and the firewall service exists on the network management system.
- the alarm on the device was intercepted; the network management server did not get enough permissions, started the exception, and so on.
- the alarms reported by the NEs are much more abnormal. The main reason is concentrated on the device side. This embodiment does not focus on the actual configuration of the device. It only focuses on whether the device can report traps to the NMS.
- FIG. 9 is a flowchart 2 of a home gateway based fault detection method according to another embodiment of the present invention, and FIG. 9 is directed to the step shown in FIG. 8. S800 and step S802 are described in detail. As shown in FIG. 9, the method may include the following steps:
- Step S900 the network management sends the designated TRAP to the network
- the network management alarm channel detection module 70 notifies the network management alarm receiving test module 74 to perform the network management alarm receiving function detection; the network management alarm receiving test module 74 sends the specified trap (for example, .1.3.6.1.4.1.3902.10.10.10.10) to the network.
- the specified trap for example, .1.3.6.1.4.1.3902.10.10.10.10
- Step S902 monitoring whether a specified TRAP is received within a specified time
- the network management alarm receiving module 70 monitors whether the network receives the specified trap within a specified time (usually 4 seconds).
- step S904 in the case of no, it is determined that the network management system receives the alarm function. If the trap message is not received within the timeout period, the network management server receives the alarm. The network management alarm channel detecting module 70 records the detection result.
- step S906 if yes, it is determined that the network management system receives the alarm function normally; if the network management alarm receiving module 70 receives the specified trap message, it indicates that the trap receiving port of the network management is available, that is, the trap monitoring is normal.
- the network management alarm channel detecting module 70 records the detection result.
- the network management alarm channel detecting module 70 notifies the network management alarm receiving module 72 that the device authentication failure alarm is ignored in a specified time. If the authentication failure alarm generated during the test alarm reporting is displayed to the NMS or the storage device, the device will be misunderstood and the device is attacked. Therefore, the alarm receiving module 72 should be notified to discard the detected TRAP message.
- the structure of the detection ignore message received by the network management alarm receiving module can be as shown in FIG. 10, which mainly includes: the network element id and the start time.
- the network management alarm channel detection module adds a record to the detection queue.
- the detection is completed or the detection timeout will delete the corresponding data of the queue. If the data in the queue is not empty, the alarm detection will ignore the check. Test message. And delete the corresponding detection entry from the queue.
- Step S908 The network management system sends a detection packet to the network element.
- the alarm channel detection module 70 notifies the network element alarm test module 76 to send a detection packet SNMP Trap; the SNMP Trap is part of the SNMP, and the agent sends an alarm event to the network management system when a specific event or fault occurs in the monitored segment.
- SNMP Trap is part of the SNMP
- the agent sends an alarm event to the network management system when a specific event or fault occurs in the monitored segment.
- RFC1907 an authentication failure NOTIFICATION-TYPE is defined.
- Step S910 triggering the network element to generate an authentication failure alarm
- the NE alarm test module 76 triggers the NE device to generate an authentication failure alarm. If the wrong community is used to retrieve the specified mib node (that is, the snmp get operation), the device generates an authentication failure alarm. If you use errorCommunity as the community string, use the snmp get method to send the request to the value on .iso.org.dod.internet.mgmt.mib-2.system.sysDescr. If the device receives the wrong community string, an authentication failure alarm will be generated. And sending an authentication failure alarm to the network management alarm receiving module 72.
- Step S912 The network management system receives an authentication failure alarm within a specified time.
- the number of retries is usually set to 0. If it is set to multiple retry, the judgment function of the reception will be affected. After the trigger command is sent, it usually waits for about 4 seconds. If the command is sent for 4 seconds, the network administrator can confirm that it cannot be received. This time can be increased when the network is poor. Increasing the time will reduce the channel detection speed, so it needs to be adjusted according to the actual network conditions. But it is recommended not to be less than 2 seconds.
- Step S914 in the case of YES, determining that the alarm channel is normal on the network element
- step S916 in the case of NO, it is determined that the alarm channel is faulty on the network element.
- the network management alarm receiving module 72 if the authentication failure packet of the test device is received within a specified time, the network management system can determine that the alarm channel is normal, and the device can record the alarm. To prevent network management and maintenance misidentification, you can discard this packet. If the authentication failure packet of the test device is not received within the specified time, the network management system can determine that the alarm channel is faulty, and the device cannot report the alarm information.
- test can be used for all devices that support snmpv1 and snmpv2C by sending standard test messages. Managed equipment does not require special customization, and development and application costs are low. Use message test if set The backup alarm can be used to test a single device for less than 1 second, and the high-performance device test time can be less than 0.1 second. Test efficiency is hundreds of times more efficient than manually triggering port ⁇ alarms and configuration checks. If the device is normal, the NE device can report the alarm normally. After the detection is complete, the NMS deletes the entry in the detection queue so that it does not affect the normal authentication failure. When the test is completed, the test results can be displayed to the user.
- the foregoing embodiments and implementations provide a method and a device for detecting an alarm channel, and sending a detection packet through the network management system to determine whether the detection failure information according to the detection packet is received within a preset time.
- the problem of determining whether the alarm channel is faulty is solved, and the problem that the network element alarm reporting channel is not normal is determined in the related art, and the network management is unreliable to the network element monitoring, so that the user can discover the network element alarm out of control and reduce the time.
- the possibility of the NE alarm being removed from the network improves the reliability of the network management for device monitoring.
- all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
- the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
- the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
- the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
- the embodiment of the present invention solves the problem in the related art that the network element alarm reporting channel is not normal, and the network management system is unreliable to the network element.
- the network management system can check the network element reporting channel, improve the working efficiency, and reduce the network element alarm.
- the possibility of management improves the reliability of the network management for device monitoring.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Disclosed are a failure detecting method and device in the present invention, the method comprising : the alarm detecting instruction is used by the network administrator to detect whether the channel through which the network element device reports the failure to the network administrator fails; the network administrator judges whether the detecting information fed back by the network element device on the basis of the alarm detecting instruction is received within a predetermined time threshold; when the judging result is no, the network administrator determines that the channel fails.
Description
本申请涉及但不限于数据通信领域。This application relates to, but is not limited to, the field of data communications.
简单网络管理协议(Simple Network Management Protocol,简称为SNMP)是一种应用层协议,是传输控制协议/因特网互联协议(Transmission Control Protocol/Internet Protocol,简称为TCP/IP)协议族的一部分。它使网络设备之间能够方便地交换管理信息。能够让网络管理员对网络进行配置管理,发现和解决网络问题。目前SNMP已成为网络管理领域中最重要的标准,并被广泛支持和应用,大多数网络管理***和平台都是基于SNMP的。The Simple Network Management Protocol (SNMP) is an application layer protocol and is part of the Transmission Control Protocol/Internet Protocol (TCP/IP) protocol family. It enables easy exchange of management information between network devices. Enables network administrators to configure and manage the network to discover and resolve network problems. Currently, SNMP has become the most important standard in the field of network management, and is widely supported and applied. Most network management systems and platforms are based on SNMP.
网管***管理网元设备,网元设备主动上报故障信息,或者网管监测网元设备。如果网元向网管告警的通道出现故障,网管无法实现对网元的监管功能,网元也无法成功地上报告警,有网元告警脱管的可能。The network management system manages the NE device. The NE device actively reports fault information, or the network management device monitors the NE device. If the channel that the NE is alerted to the NMS is faulty, the NMS cannot implement the device to supervise the NE. The NE cannot successfully report the alarm.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
网管接收不到网元的报文,会认为网元设备出现故障,但接收不到报文的原因很有可能是告警上报通道出现了故障。而相关技术的网管***故障检测方法都未涉及一个问题:即无法确定网元告警上报通道是否正常。If the NMS does not receive any packet from the NE, the device will be faulty. However, the cause of the packet failure is that the alarm reporting channel is faulty. However, the network management system fault detection method of the related technology does not involve a problem: that is, it is impossible to determine whether the network element alarm reporting channel is normal.
本文提供了一种故障检测方法及装置,以至少解决无法确定网元告警上报通道是否正常,导致网管对网元监控不可靠的问题。This document provides a fault detection method and device to solve the problem that the network management unit is not reliable.
根据本发明实施例的一个方面,提供了一种故障检测方法,包括:网管向网元设备发送告警检测指令,其中,所述告警检测指令用于所述网管检测所述网元设备上报故障至网管的通道是否出现故障;所述网管判断在预设时间阈值内是否接收到所述网元设备根据所述告警检测指令反馈的检测信息;
在判断结果为否的情况下,所述网管确定所述通道出现故障。According to an aspect of the present invention, a fault detection method is provided, including: the network management apparatus sends an alarm detection instruction to the network element device, where the alarm detection instruction is used by the network management system to detect that the network element device reports a fault to Whether the channel of the network management device is faulty; the network management device determines whether the detection information fed back by the network element device according to the alarm detection instruction is received within a preset time threshold;
If the judgment result is no, the network management determines that the channel is faulty.
可选地,所述方法还包括:在判断结果为是的情况下,所述网管确定所述通道正常。Optionally, the method further includes: if the determination result is yes, the network management determines that the channel is normal.
可选地,在所述网管确定所述通道正常之后,所述方法还包括:所述网管丢弃所述检测信息。Optionally, after the network management determines that the channel is normal, the method further includes: the network tube discarding the detection information.
可选地,所述方法还包括:所述网管检测所述网管的告警信息接收功能是否正常。Optionally, the method further includes: detecting, by the network management, whether the alarm information receiving function of the network management is normal.
可选地,所述网管检测所述网管的告警信息接收功能是否正常包括:所述网管向网卡发送检测指令;所述网管判断在预设时间阈值内是否接收到所述网卡发送的所述检测指令;在判断结果为是的情况下,所述网管确定所述网管的告警信息接收功能正常;在判断结果为否的情况下,所述网管确定所述网管的告警信息接收功能出现故障。Optionally, the detecting, by the network management, whether the alarm information receiving function of the network management is normal includes: sending, by the network management, a detection instruction to the network card; and determining, by the network management, whether the detection sent by the network card is received within a preset time threshold If the result of the determination is yes, the network management determines that the alarm information receiving function of the network management is normal; if the determination result is negative, the network management determines that the alarm information receiving function of the network management device is faulty.
可选地,所述告警检测指令是SNMP TRAP报文的情况下,所述检测信息是失败告警,其中,所述SNMP TRAP报文用于触发所述网元设备认证所述失败告警。Optionally, in the case that the alarm detection command is an SNMP TRAP message, the detection information is a failure alarm, where the SNMP TRAP message is used to trigger the network element device to authenticate the failure alarm.
根据本发明实施例的另一方面,提供了一种故障检测装置,该装置包括:发送模块,设置为:向网元设备发送告警检测指令,其中,所述告警检测指令用于所述网管检测所述网元设备上报故障至网管的通道是否出现故障;判断模块,设置为:判断在预设时间阈值内是否接收到所述网元设备根据所述告警检测指令反馈的检测信息;确定模块,设置为:在判断结果为否的情况下,确定所述通道出现故障。According to another aspect of the present invention, a fault detection apparatus is provided, the apparatus comprising: a sending module, configured to: send an alarm detection instruction to a network element device, where the alarm detection instruction is used for the network management detection The determining, by the network element device, the fault that the fault is detected on the channel of the network management device; the determining module is configured to: determine whether the detection information fed back by the network element device according to the alarm detection instruction is received within the preset time threshold; Set to: if the judgment result is no, it is determined that the channel is faulty.
可选地,所述确定模块,还设置为:在判断结果为是的情况下,确定所述通道正常。Optionally, the determining module is further configured to: if the determination result is yes, determine that the channel is normal.
可选地,所述装置还包括:检测模块,设置为:检测所述网管的告警信息接收功能是否正常。Optionally, the device further includes: a detecting module, configured to: detect whether the alarm information receiving function of the network management is normal.
可选地,所述检测模块包括:发送单元,设置为:向网卡发送检测指令;判断单元,设置为:所述网管判断在预设时间阈值内是否接收到所述网卡发送的所述检测指令;第一确定单元,设置为:在判断结果为是的情况
下,确定所述网管的告警信息接收功能正常;第二确定单元,设置为:在判断结果为否的情况下,确定所述网管的告警信息接收功能出现故障。Optionally, the detecting module includes: a sending unit, configured to: send a detection instruction to the network card; and the determining unit is configured to: determine, by the network management, whether the detection instruction sent by the network card is received within a preset time threshold The first determining unit is set to: in the case where the judgment result is yes
And determining that the alarm information receiving function of the network management is normal; the second determining unit is configured to: when the determination result is negative, determine that the alarm information receiving function of the network management device is faulty.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
通过本发明实施例,采用网管向网元设备发送告警检测指令,其中,所述告警检测指令用于所述网管检测所述网元设备上报故障至网管的通道是否出现故障;所述网管判断在预设时间阈值内是否接收到所述网元设备根据所述告警检测指令反馈的检测信息;在判断结果为否的情况下,所述网管确定所述通道出现故障,解决了相关技术中无法确定网元告警上报通道是否正常,导致网管对网元监控不可靠的问题,实现了网管***可以检查网元上报通道,提高工作效率,降低网元告警脱管可能性,提高了网管对设备监控的可靠性。According to the embodiment of the present invention, the network management device sends an alarm detection command to the network element device, where the alarm detection command is used by the network management device to detect whether the channel that the network element device reports the fault to the network management device is faulty; Whether the detection information fed back by the network element device according to the alarm detection instruction is received in the preset time threshold; if the determination result is negative, the network management determines that the channel is faulty, and the related technology cannot be determined. If the NE alarm reporting channel is normal, the network management system is unreliable on the NE. The network management system can check the NE reporting channel, improve the working efficiency, reduce the possibility of NE alarm loss, and improve the network management device monitoring. reliability.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是根据本发明实施例的故障检测方法的流程图一;1 is a flow chart 1 of a fault detection method according to an embodiment of the present invention;
图2是根据本发明实施例的故障检测方法的流程图二;2 is a second flowchart of a fault detection method according to an embodiment of the present invention;
图3是根据本发明实施例的故障检测方法的流程图三;3 is a third flowchart of a fault detection method according to an embodiment of the present invention;
图4是根据本发明实施例的故障检测装置的结构框图一;4 is a block diagram 1 of a structure of a fault detecting apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的故障检测装置的结构框图二;FIG. 5 is a structural block diagram 2 of a fault detecting apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的故障检测装置的检测模块的结构框图;6 is a structural block diagram of a detecting module of a fault detecting apparatus according to an embodiment of the present invention;
图7是根据本发另一实施例的故障检测装置的结构框图;FIG. 7 is a structural block diagram of a fault detecting apparatus according to another embodiment of the present invention; FIG.
图8是根据本发明另一实施例的故障检测方法的流程图一;FIG. 8 is a flowchart 1 of a fault detection method according to another embodiment of the present invention; FIG.
图9是根据本发明另一实施例的故障检测方法的流程图二;9 is a second flowchart of a fault detection method according to another embodiment of the present invention;
图10是根据本发明另一实施例的网管告警接收模块72收到的检测忽略消息结构示意图。
FIG. 10 is a schematic structural diagram of a detection ignore message received by the network management alarm receiving module 72 according to another embodiment of the present invention.
下文中将参考附图并结合实施例来说明本发明的实施方式。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Embodiments of the present invention will be hereinafter described with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种故障检测方法,图1是根据本发明实施例的故障检测方法的流程图,如图1所示,该流程可以包括如下步骤:A fault detection method is provided in this embodiment. FIG. 1 is a flowchart of a fault detection method according to an embodiment of the present invention. As shown in FIG. 1, the flow may include the following steps:
步骤S100,网管向网元设备发送告警检测指令,其中,告警检测指令用于网管检测所述网元设备上报故障至网管的通道是否出现故障;In step S100, the network management system sends an alarm detection command to the network element device, where the alarm detection command is used by the network management system to detect whether the channel that the network element device reports the fault to the network management device is faulty.
步骤S102,网管判断在预设时间阈值内是否接收到所述网元设备根据所述告警检测指令反馈的检测信息;Step S102: The network management determines whether the detection information fed back by the network element device according to the alarm detection instruction is received within a preset time threshold.
步骤S104,在判断结果为否的情况下,所述网管确定所述通道出现故障。Step S104: If the determination result is no, the network management determines that the channel is faulty.
通过上述步骤,网管***主动向网元设备发送检测指令,网元设备根据检测指令反馈检测信息。如果在预定时间范围内,网管***未接收到网元设备反馈的检测信息,则可以确定网元设备向网管***上报故障的通道出现了故障,解决了相关技术中无法确定网元告警上报通道是否正常,导致网管对网元监控不可靠的问题,实现了网管***可以检查网元上报通道,提高工作效率,降低网元告警脱管可能性,提高了网管对设备监控的可靠性。Through the above steps, the network management system sends a detection command to the network element device, and the network element device feeds back the detection information according to the detection instruction. If the network management system does not receive the detection information of the feedback from the network element device in the predetermined time range, it may be determined that the network element device fails to determine whether the network element alarm reporting channel is faulty in the related art. If the network management system is unreliable on the NEs, the network management system can check the NEs to report the channels, improve the working efficiency, reduce the possibility of NE alarms, and improve the reliability of the network management.
该方法还可以包括步骤S106,在判断结果为是的情况下,所述网管确定所述通道正常。如果在预定时间范围内,网管***接收到网元设备反馈的检测信息,则可以认为上报告警通道正常,保障网管***对网元设备监控的可靠性。The method may further include step S106. If the determination result is yes, the network management determines that the channel is normal. If the network management system receives the detection information fed back by the network element device within the predetermined time range, it can be considered that the alarm channel is normal and the network management system monitors the reliability of the network element device.
在可选实施方式中,网管***在确定上报告警通道正常的情况下,该方法还可以包括:所述网管丢弃所述检测信息。在检测上报通道是否出现故障期间,不需要对接收到的检测信息显示到网管或入库,否则会给客户带来误解,以为设备遭到了攻击,因此网管***会丢弃并忽略该检测信息,In an optional implementation manner, if the network management system determines that the police channel is normal, the method may further include: the network management device discarding the detection information. During the detection of whether the reported channel is faulty, the received detection information does not need to be displayed to the network management or storage. Otherwise, the customer will be misunderstood, and the device is attacked. Therefore, the network management system discards and ignores the detection information.
在本发明实施例中还提供了一种故障检测方法,图2是根据本发明实施
例的故障检测方法的流程图二,如图2所示,该流程可以包括如下步骤:A fault detection method is also provided in the embodiment of the present invention, and FIG. 2 is implemented according to the present invention.
Flowchart 2 of the fault detection method of the example, as shown in FIG. 2, the process may include the following steps:
步骤S200,网管检测网管的告警信息接收功能是否正常;Step S200: The network management system detects whether the alarm information receiving function of the network management is normal.
步骤S202,网管向网元设备发送告警检测指令,其中,告警检测指令用于网管检测网元设备上报故障至网管的通道是否出现故障;In step S202, the network management system sends an alarm detection command to the network element device, where the alarm detection command is used by the network management device to detect whether the channel that is faulty to the network management device is faulty.
步骤S204,网管判断在预设时间阈值内是否接收到网元设备根据告警检测指令反馈的检测信息;Step S204: The network management determines whether the detection information fed back by the network element device according to the alarm detection instruction is received within the preset time threshold.
步骤S206,在判断结果为否的情况下,网管确定通道出现故障;Step S206, in the case that the determination result is no, the network management determines that the channel is faulty;
步骤S208,在判断结果为是的情况下,网管确定通道正常。In step S208, if the determination result is yes, the network management determines that the channel is normal.
网管***在确定网元设备告警上报通道正常的情况下,这个结论是很明确的,不需要对网管***的告警接收功能检测。在网管***确定网元设备上报告警通道出现故障的情况下,并不能百分百确定是告警通道出了问题,也有一定的可能性是网管***告警接收功能出现了故障,导致网管无法及时接收到网元上报的故障检测信息,使网管误认为通道出现故障。在该种情况下,还需要对网管的告警接收功能进行检测。网管告警通道检测模块通知网管告警接收测试模块进行网管告警接收检测。In the case that the network management system determines that the network element device alarm reporting channel is normal, this conclusion is very clear, and the alarm receiving function detection of the network management system is not required. When the network management system determines that the alarm channel is faulty on the network element device, it cannot be determined that the alarm channel is faulty. There is also a possibility that the alarm receiving function of the network management system is faulty, and the network management system cannot receive the alarm in time. The fault detection information reported by the NE causes the network administrator to mistake the channel for a fault. In this case, the alarm receiving function of the network management system needs to be detected. The network management alarm channel detection module notifies the network management alarm receiving test module to perform network management alarm receiving detection.
其中,步骤S200可以在步骤S202之前,也可以在步骤S206或者S208之后。在网管接收功能正常的情况下,检测告警上报通道的判断结果可以是准确的。在确定上报告警通道出现故障的情况下,再对网管接收功能进行检测。如果网管告警接收功能正常,说明告警通道检测结果没有问题;在告警接收功能出现故障时,就不能确定告警通道是否出现故障。Wherein, step S200 may be before step S202, or may be after step S206 or S208. When the network management function is normal, the judgment result of detecting the alarm reporting channel can be accurate. When it is determined that the police channel is faulty, the network management function is detected. If the network management alarm receiving function is normal, the alarm channel detection result is correct. When the alarm receiving function fails, it is impossible to determine whether the alarm channel is faulty.
在本实施例中提供了一种故障检测方法,图3是根据本发明实施例的故障检测方法的流程图三,如图3所示,该流程可以包括如下步骤:In this embodiment, a fault detection method is provided. FIG. 3 is a flowchart 3 of a fault detection method according to an embodiment of the present invention. As shown in FIG. 3, the flow may include the following steps:
步骤S300,网管向网卡发送检测指令;Step S300, the network management sends a detection instruction to the network card.
步骤S302,网管判断在预设时间阈值内是否接收到网卡发送的检测指令;Step S302, the network management determines whether the detection instruction sent by the network card is received within the preset time threshold.
步骤S304,在判断结果为否的情况下,网管确定网管的告警信息接收功能出现故障;Step S304: If the determination result is negative, the network management determines that the alarm information receiving function of the network management device is faulty;
步骤S306,在判断结果为是的情况下,网管确定网管的告警信息接收功
能正常;Step S306, in the case that the determination result is yes, the network management determines the alarm information receiving function of the network management system.
Can be normal;
通过网管***内部模块发送和接收检测指令,实现检测网管***接收功能的可靠性。The detection and output commands are sent and received through the internal modules of the network management system to detect the reliability of the receiving function of the network management system.
步骤S308,网管向网元设备发送告警检测指令,其中,告警检测指令用于网管检测网元设备上报故障至网管的通道是否出现故障;In step S308, the network management system sends an alarm detection command to the network element device, where the alarm detection command is used by the network management device to detect whether the channel that is faulty to the network management device is faulty.
步骤S310,网管判断在预设时间阈值内是否接收到网元设备根据告警检测指令反馈的检测信息;In step S310, the network management determines whether the detection information fed back by the network element device according to the alarm detection instruction is received within the preset time threshold.
步骤S312,在判断结果为否的情况下,网管确定通道出现故障;Step S312, in the case that the determination result is no, the network management determines that the channel is faulty;
步骤S314,在判断结果为是的情况下,网管确定通道正常。In step S314, if the determination result is yes, the network management determines that the channel is normal.
网管告警接收功能正常是网元告警上报通道检测的必要条件。只有网管告警接收功能无问题测试设备上报才有意义。通过该方法,确定网管***的告警接收功能正常的情况下,再对告警上报通道进行检测,根据检测结果确定告警上报通道是否正常,解决了相关技术中无法确定网元告警上报通道是否正常,导致网管对网元监控不可靠的问题,提高了告警管理的可靠性,用户可以及时的发现网元告警脱管问题。The normal operation of the network management alarm receiving function is a necessary condition for the network element alarm reporting channel detection. It only makes sense if the network management alarm receiving function is reported without problems. If the alarm receiving function of the network management system is normal, the alarm reporting channel is detected, and the alarm reporting channel is determined to be normal according to the detection result. The NMS monitors the unreliable network element and improves the reliability of the alarm management. You can find the NE alarm outage problem in time.
在实施方式中,上述方法还可以包括:该告警检测指令是SNMP TRAP(陷阱)报文,其中,所述SNMP TRAP报文用于触发所述网元设备认证失败告警;该检测信息是认证失败告警。SNMP Trap是SNMP的一部分,当被监控段出现特定事件或故障,代理端会给网管发告警事件。在RFC1907中有定义认证失败告警(authentication Failure NOTIFICATION-TYPE,在该可选实施方式中利用此告警作为告警上报检测。可以简单快速的检测设备告警上报通道是否正常,支持所有支持SNMP(简单网络协议)V1和V2C管理的设备。测试效率比手动触发端口宕告警和配置检查的效率高了上百倍。In an embodiment, the method may further include: the alarm detection instruction is an SNMP TRAP (trap) message, where the SNMP TRAP message is used to trigger the network element device authentication failure alarm; the detection information is an authentication failure. Alarm. SNMP Trap is a part of SNMP. When a specific event or fault occurs in the monitored segment, the agent sends an alarm event to the NMS. In the RFC 1907, an authentication failure NOTIFICATION-TYPE is defined. In this optional implementation, the alarm is used as the alarm reporting detection. The device alarm reporting channel can be detected simply and quickly. All supported SNMP (simplified network protocol) is supported. ) V1 and V2C managed devices. Test efficiency is hundreds of times more efficient than manual trigger port 宕 alarm and configuration check.
在本实施例中还提供了一种故障检测装置,该装置用于实现上述实施例及实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
In the embodiment, a fault detecting device is also provided, which is used to implement the above-mentioned embodiments and implementation manners, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the devices described in the following embodiments are implemented in software, hardware, or a combination of software and hardware, is also possible and conceivable.
图4是根据本发明实施例的故障检测装置的结构框图一,如图4所示,该装置包括发送模块40、判断模块42和确定模块44,下面对该装置进行说明。4 is a block diagram showing the structure of a fault detecting apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes a transmitting module 40, a determining module 42, and a determining module 44, which will be described below.
发送模块40,设置为:向网元设备发送告警检测指令,其中,告警检测指令用于网管检测所述网元设备上报故障至网管的通道是否出现故障;The sending module 40 is configured to: send an alarm detection command to the network element device, where the alarm detection command is used by the network management device to detect whether the channel that the network element device reports the fault to the network management device is faulty;
判断模块42,设置为:判断在预设时间阈值内是否接收到网元设备根据所述告警检测指令反馈的检测信息;The determining module 42 is configured to: determine whether the detection information fed back by the network element device according to the alarm detection instruction is received within the preset time threshold;
确定模块44,设置为:在判断结果为否的情况下,确定通道出现故障。The determining module 44 is configured to: determine that the channel is faulty if the determination result is negative.
确定模块44,还可以设置为:在判断结果为是的情况下,确定所述通道正常。The determining module 44 may be further configured to: determine that the channel is normal if the determination result is yes.
图5是根据本发明实施例的故障检测装置的结构框图二,结合图5对该装置进行说明。FIG. 5 is a block diagram showing the structure of a fault detecting apparatus according to an embodiment of the present invention, which is described in conjunction with FIG. 5.
检测模块50,设置为:检测所述网管的告警信息接收功能是否正常;The detecting module 50 is configured to: detect whether the alarm information receiving function of the network management is normal;
发送模块52,设置为:向网元设备发送告警检测指令,其中,告警检测指令用于网管检测所述网元设备上报故障至网管的通道是否出现故障;The sending module 52 is configured to: send an alarm detection command to the network element device, where the alarm detection command is used by the network management device to detect whether the channel that the network element device reports the fault to the network management device is faulty;
判断模块54,设置为:判断在预设时间阈值内是否接收到网元设备根据所述告警检测指令反馈的检测信息;The determining module 54 is configured to: determine whether the detection information fed back by the network element device according to the alarm detection instruction is received within the preset time threshold;
确定模块56,设置为:在判断结果为否的情况下,确定通道出现故障。The determining module 56 is configured to: determine that the channel is faulty if the determination result is negative.
如附图6所示,该检测模块50还可以包括:As shown in FIG. 6, the detecting module 50 may further include:
发送单元501,设置为:向网卡发送检测指令;The sending unit 501 is configured to: send a detection instruction to the network card;
判断单元502,设置为:判断在预设时间阈值内是否接收到所述网卡发送的所述检测指令;The determining unit 502 is configured to: determine whether the detection instruction sent by the network card is received within a preset time threshold;
第一确定单元503,设置为:在判断结果为是的情况下,确定网管的告警信息接收功能正常;The first determining unit 503 is configured to: when the determination result is yes, determine that the alarm information receiving function of the network management is normal;
第二确定单元504,设置为:在判断结果为否的情况下,确定网管的告警信息接收功能出现故障。The second determining unit 504 is configured to: if the determination result is negative, determine that the alarm information receiving function of the network management is faulty.
通过上述装置,网管***主动向网元设备发送检测指令,网元设备根据
检测指令反馈检测信息。如果在预定时间范围内,网管***未接收到网元设备反馈的检测信息,则可以确定网元设备向网管***上报故障的通道出现了故障,解决了相关技术中无法确定网元告警上报通道是否正常,导致网管对网元监控不可靠的问题,实现了网管***可以检查网元上报通道,提高工作效率,降低网元告警脱管可能性,提高了网管对设备监控的可靠性。Through the above device, the network management system actively sends a detection instruction to the network element device, and the network element device is configured according to
The detection instruction feedback detection information. If the network management system does not receive the detection information of the feedback from the network element device in the predetermined time range, it may be determined that the network element device fails to determine whether the network element alarm reporting channel is faulty in the related art. If the network management system is unreliable on the NEs, the network management system can check the NEs to report the channels, improve the working efficiency, reduce the possibility of NE alarms, and improve the reliability of the network management.
图7是根据本发明另一实施例的故障检测的结构框图;如图7所示,该装置可以实现上述图4至6中所述装置的功能,可以包括如下模块:FIG. 7 is a structural block diagram of fault detection according to another embodiment of the present invention; as shown in FIG. 7, the apparatus may implement the functions of the apparatus described in the foregoing FIG. 4 to FIG. 6, and may include the following modules:
网管告警通道检测模块70:负责检测告警上报通道是否正常可以实现上述图4中的判断模块42的功能;The network management alarm channel detecting module 70 is configured to detect whether the alarm reporting channel is normal or not, and can implement the function of the determining module 42 in FIG. 4;
网管告警接收模块72:主要负责监听端口,接收trap,可以实现图4中发送模块的功能;The network management alarm receiving module 72 is mainly responsible for monitoring the port and receiving the trap, and can implement the function of the sending module in FIG. 4;
网管告警接收测试模块74:主要负责产生并发送特定的trap到网管告警接收端口,可以实现图5中的检测模块50的功能;The network management alarm receiving test module 74 is mainly responsible for generating and sending a specific trap to the network management alarm receiving port, and can implement the function of the detecting module 50 in FIG. 5;
网元告警测试模块76:主要使设备产生认证失败告警,并记录告警产生时间。将记录的告警产生时间和设备信息返回给告警通道检测模块,可以实现图4中确定模块44的功能;The NE alarm test module 76 is configured to generate an authentication failure alarm and record the alarm generation time. Returning the recorded alarm generation time and device information to the alarm channel detection module, the function of the determination module 44 in FIG. 4 can be implemented;
与相关技术相比较,本实施例提供一种快速检测告警上报通道是否正常方法和***,通过实际的测试真实的反映了网管对设备告警的管理状况。基于测试的告警上报检查方法简单,便于操作与配置检查相比可靠性更高,检查速度更快,告警测试不需要修改设备上的业务,对设备的影响更小。Compared with the related art, the present embodiment provides a method and a system for quickly detecting whether an alarm reporting channel is normal. The actual test truly reflects the management status of the network management device alarm. The test-based alarm reporting method is simple, and the operation is faster than the configuration check. The check speed is faster. The alarm test does not need to modify the service on the device, and the impact on the device is smaller.
在本发明的实施例中提供了一种故障检测方法,图8是根据本发明另一实施例的一种故障检测方法的流程图一,如图8所示,该流程可以包括如下步骤:In the embodiment of the present invention, a fault detection method is provided. FIG. 8 is a flowchart 1 of a fault detection method according to another embodiment of the present invention. As shown in FIG. 8, the flow may include the following steps:
步骤S800,检测网管告警接收是否正常;Step S800, detecting whether the network management alarm receiving is normal;
步骤S802,检测网元上报告警通道是否正常。Step S802, detecting whether the alarm channel is normal on the network element.
网管告警接收检测是网元告警上报检测的前提条件。只有网管告警接收功能无问题测试设备上报才有意义。目前已知的网管接收问题有很多种类,大概有:服务器端口被占用,告警接收模块未启动;网管上存在防火墙服务
器上的告警被拦截了;网管服务端没有获得足够的权限,启动异常等。网元告警上报异常更加多了,主要原因集中在设备侧。本实施例并不关注设备的实际配置,只关注设备是否可以上报trap到网管。The network management alarm receiving detection is a prerequisite for the network element alarm reporting detection. It only makes sense if the network management alarm receiving function is reported without problems. Currently, there are many types of network management problems that are known. The server port is occupied, the alarm receiving module is not started, and the firewall service exists on the network management system.
The alarm on the device was intercepted; the network management server did not get enough permissions, started the exception, and so on. The alarms reported by the NEs are much more abnormal. The main reason is concentrated on the device side. This embodiment does not focus on the actual configuration of the device. It only focuses on whether the device can report traps to the NMS.
在本发明的实施例中提供了一种故障检测方法,图9是根据本发明另一实施例的一种基于家庭网关的故障检测的方法流程图二,图9针对图8中所示的步骤S800、步骤S802进行了详细的描述。如图9所示,该方法可以包括如下步骤:In the embodiment of the present invention, a fault detection method is provided. FIG. 9 is a flowchart 2 of a home gateway based fault detection method according to another embodiment of the present invention, and FIG. 9 is directed to the step shown in FIG. 8. S800 and step S802 are described in detail. As shown in FIG. 9, the method may include the following steps:
步骤S900,网管发送指定TRAP到网络上;Step S900, the network management sends the designated TRAP to the network;
网管告警通道检测模块70通知网管告警接收测试模块74进行网管告警接收功能检测;网管告警接收测试模块74发送指定trap(例如:.1.3.6.1.4.1.3902.10.10.10.10)到网络上。The network management alarm channel detection module 70 notifies the network management alarm receiving test module 74 to perform the network management alarm receiving function detection; the network management alarm receiving test module 74 sends the specified trap (for example, .1.3.6.1.4.1.3902.10.10.10.10) to the network.
步骤S902,监听在指定时间内是否接收到指定的TRAP;Step S902, monitoring whether a specified TRAP is received within a specified time;
网管告警接收模块70监听网络在指定的时间(通常为4秒)内是否收到指定trap。The network management alarm receiving module 70 monitors whether the network receives the specified trap within a specified time (usually 4 seconds).
步骤S904,在否的情况下,确定网管接收告警功能出现故障;如果在达到超时时间还没有收到trap报文,则网管服务器告警接收出现问题。网管告警通道检测模块70记录检测结果。In step S904, in the case of no, it is determined that the network management system receives the alarm function. If the trap message is not received within the timeout period, the network management server receives the alarm. The network management alarm channel detecting module 70 records the detection result.
步骤S906,在是的情况下,确定网管接收告警功能正常;如果网管告警接收模块70收到了指定的trap报文:表明网管的trap接收端口是可用了,即Trap监听正常。网管告警通道检测模块70记录检测结果。In step S906, if yes, it is determined that the network management system receives the alarm function normally; if the network management alarm receiving module 70 receives the specified trap message, it indicates that the trap receiving port of the network management is available, that is, the trap monitoring is normal. The network management alarm channel detecting module 70 records the detection result.
网管告警通道检测模块70通知网管告警接收模块72忽略在指定时间内忽略设备认证失败告警。如果设备在测试告警上报期间产生的认证失败告警显示到网管或入库了,会给客户带来误解,认为设备遭到了攻击。所以应通知告警接收模块72丢弃该检测的TRAP报文。The network management alarm channel detecting module 70 notifies the network management alarm receiving module 72 that the device authentication failure alarm is ignored in a specified time. If the authentication failure alarm generated during the test alarm reporting is displayed to the NMS or the storage device, the device will be misunderstood and the device is attacked. Therefore, the alarm receiving module 72 should be notified to discard the detected TRAP message.
网管告警接收模块收到的检测忽略消息结构可以如图10所示,主要包括:网元id和开始时间。每个网元trap上报检测开始的时候,网管告警通道检测模块会往检测队列中加入一条记录。当检测完成或检测超时会将队列的相应数据删除。如果队列中的数据为非空的时候,告警检测将会忽略一次检
测报文。并将对应的检测条目从队列中删除。The structure of the detection ignore message received by the network management alarm receiving module can be as shown in FIG. 10, which mainly includes: the network element id and the start time. When the detection of each network element trap is started, the network management alarm channel detection module adds a record to the detection queue. When the detection is completed or the detection timeout will delete the corresponding data of the queue. If the data in the queue is not empty, the alarm detection will ignore the check.
Test message. And delete the corresponding detection entry from the queue.
步骤S908,网管向网元发送检测报文;Step S908: The network management system sends a detection packet to the network element.
告警通道检测模块70通知网元告警测试模块76发送检测报文SNMP Trap;SNMP Trap是SNMP的一部分,当被监控段出现特定事件或故障,代理端会给网管发告警事件。在RFC1907中有定义认证失败告警(authentication Failure NOTIFICATION-TYPE)。The alarm channel detection module 70 notifies the network element alarm test module 76 to send a detection packet SNMP Trap; the SNMP Trap is part of the SNMP, and the agent sends an alarm event to the network management system when a specific event or fault occurs in the monitored segment. In RFC1907, an authentication failure NOTIFICATION-TYPE is defined.
步骤S910,触发网元产生认证失败告警;Step S910, triggering the network element to generate an authentication failure alarm;
网元告警测试模块76触发网元设备产生认证失败告警。使用错误的团体串取设备上指定的mib节点(即snmp get操作),设备会产生认证失败告警。如使用errorCommunity作为团体串,使用snmp get方式发送请求取.iso.org.dod.internet.mgmt.mib-2.system.sysDescr上的值;设备收到错误的团体串后,会产生认证失败告警,并将认证失败告警发到网管告警接收模块72。The NE alarm test module 76 triggers the NE device to generate an authentication failure alarm. If the wrong community is used to retrieve the specified mib node (that is, the snmp get operation), the device generates an authentication failure alarm. If you use errorCommunity as the community string, use the snmp get method to send the request to the value on .iso.org.dod.internet.mgmt.mib-2.system.sysDescr. If the device receives the wrong community string, an authentication failure alarm will be generated. And sending an authentication failure alarm to the network management alarm receiving module 72.
步骤S912,网管是否在指定的时间内接收到认证失败告警;Step S912: The network management system receives an authentication failure alarm within a specified time.
使用错误的团体串取设备上指定的mib节点的时候,通常设置重试次数为0,如果设置为多次重试会影响接收的判断功能。触发命令发出后,通常等待4秒左右,如果命令发出4秒网管没有收到则告警可以确认是无法收到了。在网络较差的时候可以加大这个时间。增加时间会降低通道检测速度,所以需要按照实际的网络情况进行调整。但是建议不要低于2秒。When the wrong community is used to fetch the specified mib node on the device, the number of retries is usually set to 0. If it is set to multiple retry, the judgment function of the reception will be affected. After the trigger command is sent, it usually waits for about 4 seconds. If the command is sent for 4 seconds, the network administrator can confirm that it cannot be received. This time can be increased when the network is poor. Increasing the time will reduce the channel detection speed, so it needs to be adjusted according to the actual network conditions. But it is recommended not to be less than 2 seconds.
步骤S914,在是的情况下,确定网元上报告警通道正常;Step S914, in the case of YES, determining that the alarm channel is normal on the network element;
步骤S916,在否的情况下,确定网元上报告警通道出现故障。In step S916, in the case of NO, it is determined that the alarm channel is faulty on the network element.
网管告警接收模块72,如果在指定时间内收到了该测试设备的认证失败报文,网管***可以确定该上报告警通道正常,记录该网元设备可以上报告警。为防止网管和维护误认,可以将该报文丢弃。如果在指定时间内未收到了该测试设备的认证失败报文,网管***可以确定该上报告警通道出现了故障,记录此设备不能正常地上报告警信息。The network management alarm receiving module 72, if the authentication failure packet of the test device is received within a specified time, the network management system can determine that the alarm channel is normal, and the device can record the alarm. To prevent network management and maintenance misidentification, you can discard this packet. If the authentication failure packet of the test device is not received within the specified time, the network management system can determine that the alarm channel is faulty, and the device cannot report the alarm information.
通过发送标准的测试报文可以用于所有支持snmpv1和snmpv2C的设备。被管理设备不需要特别定制,开发和应用成本低。使用报文测试如果设
备告警可达测试单个设备的时间少于1秒,高性能设备测试时间可以少于0.1秒。测试效率比手动触发端口宕告警和配置检查的效率高了上百倍。无论该通道是否正常,该网元设备是否可以正常上报告警,在检测结束后网管***都会将检测队列中的条目删除,使其不影响正常的认证失败报文上报。当检测完成后,可以测试结果显示给用户。It can be used for all devices that support snmpv1 and snmpv2C by sending standard test messages. Managed equipment does not require special customization, and development and application costs are low. Use message test if set
The backup alarm can be used to test a single device for less than 1 second, and the high-performance device test time can be less than 0.1 second. Test efficiency is hundreds of times more efficient than manually triggering port 宕 alarms and configuration checks. If the device is normal, the NE device can report the alarm normally. After the detection is complete, the NMS deletes the entry in the detection queue so that it does not affect the normal authentication failure. When the test is completed, the test results can be displayed to the user.
通过本实施例提供的方法,支持所有支持SNMP(简单网络协议)V1和V2C管理的设备。可以快速地检测告警上报通道是否正常,可以降低告警无法上报导致的网元告警脱管可能性,提高网管对设备监控的可靠性。All the devices supporting SNMP (Simple Network Protocol) V1 and V2C management are supported by the method provided in this embodiment. You can quickly check whether the alarm reporting channel is normal. This can reduce the possibility of network controller alarm loss caused by the alarm being unable to be reported, and improve the reliability of the network management device monitoring.
综上所述,上述实施例和实施方式提供了一种上报告警通道的检测方法及装置,通过网管发送检测报文,判断在预设时间内是否接收到根据检测报文反馈的检测故障信息,确定上报告警通道是否出现故障,解决了相关技术中无法确定网元告警上报通道是否正常,导致网管对网元监控不可靠的问题,实现了用户可以及时的发现网元告警脱管,降低网元告警脱管可能性,提高了网管对设备监控的可靠性。In summary, the foregoing embodiments and implementations provide a method and a device for detecting an alarm channel, and sending a detection packet through the network management system to determine whether the detection failure information according to the detection packet is received within a preset time. The problem of determining whether the alarm channel is faulty is solved, and the problem that the network element alarm reporting channel is not normal is determined in the related art, and the network management is unreliable to the network element monitoring, so that the user can discover the network element alarm out of control and reduce the time. The possibility of the NE alarm being removed from the network improves the reliability of the network management for device monitoring.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如***、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
本发明实施例解决了相关技术中无法确定网元告警上报通道是否正常,导致网管对网元监控不可靠的问题,实现了网管***可以检查网元上报通道,提高工作效率,降低网元告警脱管可能性,提高了网管对设备监控的可靠性。
The embodiment of the present invention solves the problem in the related art that the network element alarm reporting channel is not normal, and the network management system is unreliable to the network element. The network management system can check the network element reporting channel, improve the working efficiency, and reduce the network element alarm. The possibility of management improves the reliability of the network management for device monitoring.
Claims (11)
- 一种故障检测方法,包括:A fault detection method includes:网管向网元设备发送告警检测指令,其中,所述告警检测指令用于所述网管检测所述网元设备上报故障至网管的通道是否出现故障;The network management device sends an alarm detection command to the network element device, where the alarm detection command is used by the network management device to detect whether the channel that the network element device reports the fault to the network management device is faulty.所述网管判断在预设时间阈值内是否接收到所述网元设备根据所述告警检测指令反馈的检测信息;Determining, by the network management, whether the detection information fed back by the network element device according to the alarm detection instruction is received within a preset time threshold;在判断结果为否的情况下,所述网管确定所述通道出现故障。If the judgment result is no, the network management determines that the channel is faulty.
- 根据权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:在判断结果为是的情况下,所述网管确定所述通道正常。In the case where the determination result is yes, the network management determines that the channel is normal.
- 根据权利要求2所述的方法,在所述网管确定所述通道正常之后,所述方法还包括:The method according to claim 2, after the network management determines that the channel is normal, the method further includes:所述网管丢弃所述检测信息。The network tube discards the detection information.
- 根据权利要求1至3任意一项所述的方法,所述方法还包括:The method according to any one of claims 1 to 3, further comprising:所述网管检测所述网管的告警信息接收功能是否正常。The network management system detects whether the alarm information receiving function of the network management device is normal.
- 根据权利要求4所述的方法,其中,所述网管检测所述网管的告警信息接收功能是否正常包括:The method according to claim 4, wherein the detecting, by the network management, whether the alarm information receiving function of the network management is normal comprises:所述网管向网卡发送检测指令;The network management system sends a detection instruction to the network card;所述网管判断在预设时间阈值内是否接收到所述网卡发送的所述检测指令;Determining, by the network management, whether the detection instruction sent by the network card is received within a preset time threshold;在判断结果为是的情况下,所述网管确定所述网管的告警信息接收功能正常;If the judgment result is yes, the network management determines that the alarm information receiving function of the network management is normal;在判断结果为否的情况下,所述网管确定所述网管的告警信息接收功能出现故障。If the determination result is negative, the network management determines that the alarm information receiving function of the network management device is faulty.
- 根据权利要求1至3任意一项所述的方法,其中,The method according to any one of claims 1 to 3, wherein所述告警检测指令是SNMP TRAP报文的情况下,所述检测信息是失败告警,其中,所述SNMP TRAP报文用于触发所述网元设备认证所述失败告 警。In the case that the alarm detection command is an SNMP TRAP message, the detection information is a failure alarm, and the SNMP TRAP message is used to trigger the network element device to authenticate the failure notification. police.
- 一种故障检测装置,应用于网管,包括:A fault detecting device is applied to a network management system, including:发送模块,设置为:向网元设备发送告警检测指令,其中,所述告警检测指令用于所述网管检测所述网元设备上报故障至网管的通道是否出现故障;The sending module is configured to: send an alarm detection command to the network element device, where the alarm detection command is used by the network management device to detect whether the channel that the network element device reports the fault to the network management device is faulty;判断模块,设置为:判断在预设时间阈值内是否接收到所述网元设备根据所述告警检测指令反馈的检测信息;The determining module is configured to: determine whether the detection information fed back by the network element device according to the alarm detection instruction is received within a preset time threshold;确定模块,设置为:在判断结果为否的情况下,确定所述通道出现故障。The determining module is configured to: determine that the channel is faulty if the determination result is negative.
- 根据权利要求1所述的装置,其中,The device according to claim 1, wherein所述确定模块,还设置为:在判断结果为是的情况下,确定所述通道正常。The determining module is further configured to: determine that the channel is normal if the determination result is yes.
- 根据权利要求7或8所述的装置,所述装置还包括:The device according to claim 7 or 8, the device further comprising:检测模块,设置为:检测所述网管的告警信息接收功能是否正常。The detecting module is configured to: detect whether the alarm information receiving function of the network management is normal.
- 根据权利要求9所述的装置,其中,所述检测模块包括:The apparatus of claim 9 wherein said detecting module comprises:发送单元,设置为:向网卡发送检测指令;The sending unit is configured to: send a detection instruction to the network card;判断单元,设置为:所述网管判断在预设时间阈值内是否接收到所述网卡发送的所述检测指令;The determining unit is configured to: determine, by the network management, whether the detection instruction sent by the network card is received within a preset time threshold;第一确定单元,设置为:在判断结果为是的情况下,确定所述网管的告警信息接收功能正常;The first determining unit is configured to: when the determination result is yes, determine that the alarm information receiving function of the network management is normal;第二确定单元,设置为:在判断结果为否的情况下,确定所述网管的告警信息接收功能出现故障。The second determining unit is configured to: if the determination result is negative, determine that the alarm information receiving function of the network management device is faulty.
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-6任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-6.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510256309.1A CN106301826A (en) | 2015-05-19 | 2015-05-19 | A kind of fault detection method and device |
CN201510256309.1 | 2015-05-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016184222A1 true WO2016184222A1 (en) | 2016-11-24 |
Family
ID=57319365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/075655 WO2016184222A1 (en) | 2015-05-19 | 2016-03-04 | Failure detecting method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106301826A (en) |
WO (1) | WO2016184222A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112219373A (en) * | 2019-04-29 | 2021-01-12 | 华为海洋网络有限公司 | Submarine cable fault judgment method and device |
CN116015426A (en) * | 2022-11-10 | 2023-04-25 | 国网山东省电力公司信息通信公司 | Power communication network and relay protection 2M channel fault joint diagnosis method and system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113013992B (en) * | 2021-04-16 | 2022-05-10 | 广东电网有限责任公司 | Method and device for monitoring functions of information-protecting master station |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102142977A (en) * | 2010-08-02 | 2011-08-03 | 华为技术有限公司 | Method, network management equipment and system for remotely managing detached node |
CN103109560A (en) * | 2012-09-07 | 2013-05-15 | 华为技术有限公司 | Fault recovery method of operation maintenance channel and network management terminal |
US20140207929A1 (en) * | 2013-01-21 | 2014-07-24 | Alaxala Networks Corporation | Management apparatus and management method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104579836A (en) * | 2015-01-06 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | Method for monitoring state of storage server through receiving and transmitting of trap data packet |
-
2015
- 2015-05-19 CN CN201510256309.1A patent/CN106301826A/en active Pending
-
2016
- 2016-03-04 WO PCT/CN2016/075655 patent/WO2016184222A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102142977A (en) * | 2010-08-02 | 2011-08-03 | 华为技术有限公司 | Method, network management equipment and system for remotely managing detached node |
CN103109560A (en) * | 2012-09-07 | 2013-05-15 | 华为技术有限公司 | Fault recovery method of operation maintenance channel and network management terminal |
US20140207929A1 (en) * | 2013-01-21 | 2014-07-24 | Alaxala Networks Corporation | Management apparatus and management method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112219373A (en) * | 2019-04-29 | 2021-01-12 | 华为海洋网络有限公司 | Submarine cable fault judgment method and device |
CN116015426A (en) * | 2022-11-10 | 2023-04-25 | 国网山东省电力公司信息通信公司 | Power communication network and relay protection 2M channel fault joint diagnosis method and system |
CN116015426B (en) * | 2022-11-10 | 2024-04-02 | 国网山东省电力公司信息通信公司 | Power communication network and relay protection 2M channel fault joint diagnosis method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106301826A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11245571B1 (en) | System and method for monitoring the status of multiple servers on a network | |
US6978302B1 (en) | Network management apparatus and method for identifying causal events on a network | |
US9130766B2 (en) | System for and method of performing residential gateway diagnostics and corrective actions | |
US8396945B2 (en) | Network management system with adaptive sampled proactive diagnostic capabilities | |
US7016955B2 (en) | Network management apparatus and method for processing events associated with device reboot | |
US7430688B2 (en) | Network monitoring method and apparatus | |
US20080056141A1 (en) | Method and System for Providing Connectivity Outage Detection for MPLS Core Networks Based on Service Level Agreement | |
US6633230B2 (en) | Apparatus and method for providing improved stress thresholds in network management systems | |
CN111314115A (en) | Alarm method, device and equipment based on IDL log and readable medium | |
JP2006501717A (en) | Telecom network element monitoring | |
US20160119181A1 (en) | Network state monitoring system | |
WO2016184222A1 (en) | Failure detecting method and device | |
US20040006619A1 (en) | Structure for event reporting in SNMP systems | |
JP4869160B2 (en) | Packet relay device | |
US7558216B2 (en) | Network connection control | |
US8064454B2 (en) | Protocol incompatibility detection | |
US7673035B2 (en) | Apparatus and method for processing data relating to events on a network | |
JP2009199556A (en) | Communication monitoring device, communication monitoring method, computer program and system therefor | |
WO2012079487A1 (en) | Method, network manager and system for trap handling based on simple network management protocol (snmp) | |
WO2016202025A1 (en) | Trap message processing method and apparatus | |
JP6057470B2 (en) | Network alarm processing system | |
CN107786380B (en) | Method and device for detecting network loop of controller and controller | |
US10162733B2 (en) | Debugging failure of a service validation test | |
KR100459540B1 (en) | Apparatus and method for automatically alerting failure conditions in network equipment | |
KR101071376B1 (en) | Apparatus for maintaining internet protocol network equipment using internet protocol network quality information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16795709 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16795709 Country of ref document: EP Kind code of ref document: A1 |