WO2015131744A1 - Network device alarm reporting method and network device - Google Patents

Network device alarm reporting method and network device Download PDF

Info

Publication number
WO2015131744A1
WO2015131744A1 PCT/CN2015/072587 CN2015072587W WO2015131744A1 WO 2015131744 A1 WO2015131744 A1 WO 2015131744A1 CN 2015072587 W CN2015072587 W CN 2015072587W WO 2015131744 A1 WO2015131744 A1 WO 2015131744A1
Authority
WO
WIPO (PCT)
Prior art keywords
alarm
network device
priority
packets
field
Prior art date
Application number
PCT/CN2015/072587
Other languages
French (fr)
Chinese (zh)
Inventor
李莹
李伟
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015131744A1 publication Critical patent/WO2015131744A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • H04L41/0609Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time based on severity or priority

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and network device for reporting alarms of network devices.
  • the alarm information of the network device is reported to a specified server such as the network management server or the log server for management. After the network device generates the alarm information, the alarm information needs to be transmitted to the server through the network.
  • the alarm information is transmitted to the server, the complex transmission and processing flow is required. The transmission is prone to abnormal conditions, especially when congestion occurs on the network, and the alarm is generated. The delay of the information is even lost. If the important alarm information is delayed or lost, the network device will not be processed in time, resulting in network failure and endless troubles.
  • the embodiment of the invention provides a method for reporting alarms of a network device and a network device, and solves the technical problem that the important alarm information is reported to the server quickly, timely and reliably.
  • the present invention provides a method for reporting alarms of a network device, and the method for reporting alarms of the network device includes the following steps:
  • the network device generates different levels of alarm information and generates corresponding alarm packets.
  • the alarm packets of different priorities are reported to the server.
  • the method further includes:
  • the service packets of different priority levels are scheduled for quality of service.
  • the priority field includes at least one of a differential service code point field, a priority field, and an experiment field.
  • a network device includes:
  • the generating module is configured to generate different levels of alarm information and generate corresponding alarm messages
  • the mapping module is configured to map the level to the priority field of the alarm packet to obtain alarm packets of different priorities
  • the reporting module is configured to report the alarm packets of different priorities to the server.
  • the network device further includes:
  • the scheduling module is configured to perform the quality of service scheduling on the alarm packets of different priorities.
  • the priority field includes at least one of a differential service code point field, a priority field, and an experiment field.
  • the embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
  • the network device alarm reporting method and the network device in the embodiment of the present invention generate different levels of alarm information, generate an alarm message, and then map the level to the priority field of the alarm message, thereby obtaining different priorities.
  • the alarm packet is sent to the highest-priority alarm packet, and the lowest priority alarm packet is processed and reported.
  • the network bandwidth is effectively used to prevent the alarm packet with the highest priority. Or lost, improve the reliability of the transmission, and enable it to timely handle the abnormal conditions of the network equipment and improve the security of the network.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for reporting alarms of a network device according to the present invention
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for reporting alarms of a network device according to the present invention
  • FIG. 3 is a schematic diagram of functional modules of a first embodiment of a network device according to the present invention.
  • FIG. 4 is a schematic diagram of functional modules of a second embodiment of a network device according to the present invention.
  • the present invention provides a method for reporting alarms of a network device.
  • the method for reporting alarms of the network device includes:
  • Step S101 The network device generates different levels of alarm information, and generates corresponding alarm messages.
  • the network device may generate alarm information in a normal state or an abnormal state. For example, when the network device is in an abnormal state, the network device needs to report the abnormality to the server, so as to perform abnormal processing in time to make the network The device resumes normal working status as soon as possible; for example, when the network device is in a normal state, it sends a prompt message to the server to act as a prompt or perform the next processing.
  • the alarm packet includes the identifier information, the address information, the port number, the alarm content, the priority information, and the generation time of the alarm packet.
  • the network device generates different levels of alarm information.
  • the network device can be classified according to the urgency of the alarm, for example, it can be classified into general alarm information, severe alarm information, and fatal alarm information, etc., where fatal The alarm information corresponds to the highest level.
  • the severity alarm information corresponds to the next highest level.
  • the general alarm information corresponds to the normal level.
  • step S102 the level is mapped to the priority field of the alarm packet, and the alarm packets of different priorities are obtained.
  • step S103 the alarm packets of different priorities are reported to the server.
  • the network device generates different levels of alarm information, and encapsulates the alarm information into an alarm message.
  • the levels can be defined, for example, as the highest level, the second highest level, and the normal level.
  • the priority field may include a differentiated service code point according to the network device through which the alarm message is transmitted. , DSCP) field, at least one of a Priority field and an EXP field.
  • the present embodiment does not need to notify or open a special transmission channel to transmit an alarm message by using another specific message, that is, the alarm information is encapsulated into an ordinary message format, and the priority field of the alarm message is mapped according to the level, and the message can be directly used through the message. If the priority of the corresponding alarm packet is obtained, the alarm packet with the highest priority is reported to the server. The alarm packet can be reported to the server quickly and timely.
  • the highest-priority alarm packet can be forwarded to the server, and the lowest-priority alarm packet can be discarded or delayed to ensure the priority.
  • the highest alarm packets can be reported to the server in time, which can effectively allocate network bandwidth and utilize network resources reasonably.
  • the network device of the embodiment When an abnormality occurs, the network device of the embodiment generates alarm packets of different levels and generates an alarm packet, and then maps the level to the priority field of the alarm packet, thereby obtaining alarm packets of different priorities, so that priority is obtained.
  • the alarm packet with the highest priority is processed and reported, and the alarm packet with the lowest priority is processed and reported.
  • the network bandwidth is effectively used to prevent the delay or loss of the highest priority alarm packet. Reliability, and enable it to timely handle abnormal conditions of network devices and improve network security.
  • the method further includes:
  • Step S120 Perform service quality scheduling on the alarm packets of different priorities.
  • the QoS scheduling can allocate and schedule network resources according to the requirements of the user, and provide different quality of service for the alarm packets of different priorities, and the alarm packets with strong real-time and important priority are processed preferentially; A strong general alarm packet provides a lower processing priority, and the highest priority alarm packet is processed and reported.
  • the QoS is scheduled according to the priority, and the alarm with the highest priority is reported to the server, and the highest priority alarm is reported in time to prevent the highest priority alarm.
  • the file is delayed or lost, and the abnormal condition of the network device can be processed in time to improve the security of the device network.
  • the network device alarm information is acquired in advance, such as the abnormality of the router and the severity of the abnormality, and the level of the corresponding alarm information is configured according to the abnormality of the hub and the severity of the abnormality. If the hub is abnormal and the severity of the abnormality is high, You can configure the corresponding alarm level to be higher or higher, and then generate higher or highest priority alarm packets based on the level.
  • the alarm level may be configured by the network device itself, or the alarm level may be configured by other devices.
  • the present invention further provides a network device.
  • the network device includes:
  • the generating module 101 is configured to generate different levels of alarm information and generate corresponding alarm messages.
  • the network device may generate alarm information in a normal state or an abnormal state. For example, when the network device is in an abnormal state, the network device needs to report the abnormality to the server, so as to perform abnormal processing in time to make the network The device resumes normal working status as soon as possible; for example, when the network device is in a normal state, it sends a prompt message to the server to act as a prompt or perform the next processing.
  • the alarm packet includes the identifier information, the address information, the port number, the alarm content, the priority information, and the generation time of the alarm packet.
  • the network device generates different levels of alarm information.
  • the network device can be classified according to the urgency of the alarm, for example, it can be classified into general alarm information, severe alarm information, and fatal alarm information, etc., where fatal The alarm information corresponds to the highest level.
  • the severity alarm information corresponds to the next highest level.
  • the general alarm information corresponds to the normal level.
  • the mapping module 102 is configured to map the level to the priority field of the alarm packet to obtain alarm packets of different priorities.
  • the reporting module 103 is configured to report the alarm packets of different priorities to the server.
  • the network device generates different levels of alarm information, and encapsulates the alarm information into an alarm message.
  • the levels can be defined, for example, as the highest level, the second highest level, and the normal level.
  • the priority field may include the DSCP field, the Priority field, and the EXP field according to the network device through which the alarm message is transmitted. At least one of them.
  • the present embodiment does not need to notify or open a special transmission channel to transmit an alarm message by using another specific message, that is, the alarm information is encapsulated into an ordinary message format, and the priority field of the alarm message is mapped according to the level, and the message can be directly used through the message. If the priority of the corresponding alarm packet is obtained, the alarm packet with the highest priority is reported to the server. The alarm packet can be reported to the server quickly and timely.
  • the highest-priority alarm packet can be forwarded to the server, and the lowest-priority alarm packet can be discarded or delayed to ensure the priority.
  • the highest alarm packets can be reported to the server in time, which can effectively allocate network bandwidth and utilize network resources reasonably.
  • the network device of the embodiment When an abnormality occurs, the network device of the embodiment generates alarm packets of different levels and generates an alarm packet, and then maps the level to the priority field of the alarm packet, thereby obtaining alarm packets of different priorities, so that priority is obtained.
  • the alarm packet with the highest priority is processed and reported, and the alarm packet with the lowest priority is processed and reported.
  • the network bandwidth is effectively used to prevent the delay or loss of the highest priority alarm packet. Reliability, and enable it to timely handle abnormal conditions of network devices and improve network security.
  • the network device further includes:
  • the scheduling module 120 is configured to perform service quality scheduling on the alarm packets of different priorities.
  • the QoS scheduling can allocate and schedule network resources according to the requirements of the user, and provide different quality of service for the alarm packets of different priorities, and the alarm packets with strong real-time and important priority are processed preferentially; A strong general alarm packet provides a lower processing priority, and the highest priority alarm packet is processed and reported.
  • the QoS is scheduled according to the priority, and the alarm with the highest priority is reported to the server, and the highest priority alarm is reported in time to prevent the highest priority alarm.
  • the file is delayed or lost, and the abnormal condition of the network device can be processed in time to improve the security of the device network.
  • the network device alarm information is acquired in advance, such as the abnormality of the router and the severity of the abnormality, and the level of the corresponding alarm information is configured according to the abnormality of the hub and the severity of the abnormality. If the hub is abnormal and the severity of the abnormality is high, You can configure the corresponding alarm level to be higher or higher, and then generate higher or highest priority alarm packets based on the level.
  • the alarm level may be configured by the network device itself, or the alarm level may be configured by other devices.
  • 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. Thus, the invention is not limited to any specific combination of hardware and software.
  • 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.
  • each device/function module/functional unit in the above embodiment When each 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 delay or loss of the highest-priority alarm packet is prevented, and the reliability of the transmission is improved, and the abnormal condition of the network device can be processed in time to improve the security of the network.

Abstract

A network device alarm reporting method, said network device alarm reporting method comprising the following steps: a network device produces different levels of alarm information, and generates corresponding alarm packets; mapping the levels to the priority field of the alarm packet, and obtaining alarm packets having different priority levels; and reporting the alarm packets having different priority levels to a server.

Description

网络设备告警上报的方法及网络设备Network device alarm reporting method and network device 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种网络设备告警上报的方法及网络设备。The present invention relates to the field of communications technologies, and in particular, to a method and network device for reporting alarms of network devices.
背景技术Background technique
在运营商网络中,网络设备的告警信息上报至网管服务器、日志服务器等指定的服务器来管理。网络设备产生告警信息之后,告警信息需要通过网络传输到服务器,告警信息在传输至服务器时,需要经过复杂的传输及处理流程,传输容易出现异常状况,特别是在网络产生拥塞,还会引起告警信息的延时甚至丢失,如果是重要告警信息发生延时或者丢失,将导致网络设备异常未能得到及时处理,产生网络故障,隐患无穷。In the carrier network, the alarm information of the network device is reported to a specified server such as the network management server or the log server for management. After the network device generates the alarm information, the alarm information needs to be transmitted to the server through the network. When the alarm information is transmitted to the server, the complex transmission and processing flow is required. The transmission is prone to abnormal conditions, especially when congestion occurs on the network, and the alarm is generated. The delay of the information is even lost. If the important alarm information is delayed or lost, the network device will not be processed in time, resulting in network failure and endless troubles.
发明内容Summary of the invention
本发明实施例提供一种网络设备告警上报的方法及网络设备,解决将重要告警信息快速、及时可靠地上报至服务器的技术问题。The embodiment of the invention provides a method for reporting alarms of a network device and a network device, and solves the technical problem that the important alarm information is reported to the server quickly, timely and reliably.
为实现上述目的,本发明提供一种网络设备告警上报的方法,所述网络设备告警上报的方法包括以下步骤:To achieve the above object, the present invention provides a method for reporting alarms of a network device, and the method for reporting alarms of the network device includes the following steps:
网络设备产生不同级别的告警信息,并生成对应的告警报文;The network device generates different levels of alarm information and generates corresponding alarm packets.
将所述级别映射至所述告警报文的优先级字段中,得到不同优先级的告警报文;Mapping the level to the priority field of the alarm packet to obtain alarm packets of different priorities;
上报所述不同优先级的告警报文至服务器。The alarm packets of different priorities are reported to the server.
可选地,所述将所述级别映射至所述告警报文的优先级字段中,得到不同优先级的告警报文的步骤之后还包括:Optionally, after the step of mapping the level to the priority field of the alarm packet to obtain the alarm message of different priorities, the method further includes:
将所述不同优先级的告警报文进行服务质量调度。The service packets of different priority levels are scheduled for quality of service.
可选地,所述优先级字段包括差分服务代码点字段、优先字段及实验字段中的至少一个。Optionally, the priority field includes at least one of a differential service code point field, a priority field, and an experiment field.
此外,一种网络设备,所述网络设备包括: In addition, a network device includes:
产生模块,设置为产生不同级别的告警信息,并生成对应的告警报文;The generating module is configured to generate different levels of alarm information and generate corresponding alarm messages;
映射模块,设置为将所述级别映射至所述告警报文的优先级字段中,得到不同优先级的告警报文;以及The mapping module is configured to map the level to the priority field of the alarm packet to obtain alarm packets of different priorities;
上报模块,设置为上报所述不同优先级的告警报文至服务器。The reporting module is configured to report the alarm packets of different priorities to the server.
可选地,所述网络设备还包括:Optionally, the network device further includes:
调度模块,设置为将所述不同优先级的告警报文进行服务质量调度。The scheduling module is configured to perform the quality of service scheduling on the alarm packets of different priorities.
可选地,所述优先级字段包括差分服务代码点字段、优先字段及实验字段中的至少一个。Optionally, the priority field includes at least one of a differential service code point field, a priority field, and an experiment field.
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现上面所述的方法。The embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
本发明实施例的一种网络设备告警上报的方法及网络设备,通过产生不同级别的告警信息并生成告警报文,然后将级别映射至告警报文的优先级字段中,从而得到不同优先级的告警报文,使优先级最高的告警报文优先处理并上报,而优先级最低的告警报文最后处理并上报,在有效地使用网络带宽的同时,防止优先级最高的告警报文发生时延或者丢失,提高传输的可靠性,并使之能够及时处理网络设备的异常状况,提高网络的安全性。The network device alarm reporting method and the network device in the embodiment of the present invention generate different levels of alarm information, generate an alarm message, and then map the level to the priority field of the alarm message, thereby obtaining different priorities. The alarm packet is sent to the highest-priority alarm packet, and the lowest priority alarm packet is processed and reported. The network bandwidth is effectively used to prevent the alarm packet with the highest priority. Or lost, improve the reliability of the transmission, and enable it to timely handle the abnormal conditions of the network equipment and improve the security of the network.
附图概述BRIEF abstract
图1为本发明网络设备告警上报的方法第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a method for reporting alarms of a network device according to the present invention;
图2为本发明网络设备告警上报的方法第二实施例的流程示意图;2 is a schematic flowchart of a second embodiment of a method for reporting alarms of a network device according to the present invention;
图3为本发明网络设备第一实施例的功能模块示意图;3 is a schematic diagram of functional modules of a first embodiment of a network device according to the present invention;
图4为本发明网络设备第二实施例的功能模块示意图。4 is a schematic diagram of functional modules of a second embodiment of a network device according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
本发明的较佳实施方式Preferred embodiment of the invention
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种网络设备告警上报的方法,参照图1,在一实施例中,该网络设备告警上报的方法包括:The present invention provides a method for reporting alarms of a network device. Referring to FIG. 1 , in an embodiment, the method for reporting alarms of the network device includes:
步骤S101,网络设备产生不同级别的告警信息,并生成对应的告警报文;Step S101: The network device generates different levels of alarm information, and generates corresponding alarm messages.
本实施例中,网络设备在正常状态或异常状态之下,均有可能产生告警信息,例如网络设备在异常状态时,需要将其发生异常的情况上报至服务器,以便及时进行异常处理,使网络设备尽快恢复正常工作状态;又如,网络设备在正常状态时,向服务器发送一提示信息,以起到提示作用或者执行下一步的处理。In this embodiment, the network device may generate alarm information in a normal state or an abnormal state. For example, when the network device is in an abnormal state, the network device needs to report the abnormality to the server, so as to perform abnormal processing in time to make the network The device resumes normal working status as soon as possible; for example, when the network device is in a normal state, it sends a prompt message to the server to act as a prompt or perform the next processing.
本实施例中,告警报文包括网络设备的标识信息、地址信息、端口号、告警内容、优先级信息及告警报文的产生时间。In this embodiment, the alarm packet includes the identifier information, the address information, the port number, the alarm content, the priority information, and the generation time of the alarm packet.
本实施例中,网络设备产生不同级别的告警信息,一般来说,可以按照告警的紧急程度划分其级别,例如可以划分为一般告警信息、严重告警信息及致命的告警信息等等,其中致命的告警信息对应最高的级别,严重告警信息对应次高的级别,一般告警信息对应普通的级别。In this embodiment, the network device generates different levels of alarm information. Generally, the network device can be classified according to the urgency of the alarm, for example, it can be classified into general alarm information, severe alarm information, and fatal alarm information, etc., where fatal The alarm information corresponds to the highest level. The severity alarm information corresponds to the next highest level. The general alarm information corresponds to the normal level.
步骤S102,将所述级别映射至所述告警报文的优先级字段中,得到不同优先级的告警报文;In step S102, the level is mapped to the priority field of the alarm packet, and the alarm packets of different priorities are obtained.
步骤S103,上报所述不同优先级的告警报文至服务器。In step S103, the alarm packets of different priorities are reported to the server.
本实施例中,网络设备产生不同级别的告警信息,并将告警信息封装为告警报文。其中,级别例如可以定义为最高级别、次高级别及普通级别等。In this embodiment, the network device generates different levels of alarm information, and encapsulates the alarm information into an alarm message. The levels can be defined, for example, as the highest level, the second highest level, and the normal level.
根据告警信息中所定义的级别,将其映射至告警报文中的优先级字段中,其中,根据告警报文所传输经过的网络设备,优先级字段可以包括差分服务代码点(Differentiated Services Code Point,DSCP)字段、Priority(优先)字段及EXP(实验)字段中的至少一个。According to the level defined in the alarm information, it is mapped to the priority field in the alarm message. The priority field may include a differentiated service code point according to the network device through which the alarm message is transmitted. , DSCP) field, at least one of a Priority field and an EXP field.
本实施例不需要通过其他特定消息进行告知或者开通特殊的传输通道来传输告警报文,即将告警信息封装为普通报文的形式,根据级别映射告警报文的优先级字段,通过报文可以直接得知对应告警报文的优先级,使优先级高的告警报文优先上报至服务器,保证告警报文能够快速、及时上报至服务器。The present embodiment does not need to notify or open a special transmission channel to transmit an alarm message by using another specific message, that is, the alarm information is encapsulated into an ordinary message format, and the priority field of the alarm message is mapped according to the level, and the message can be directly used through the message. If the priority of the corresponding alarm packet is obtained, the alarm packet with the highest priority is reported to the server. The alarm packet can be reported to the server quickly and timely.
本实施例中,特别是当网络发生拥塞时,例如针对致命告警报文,可以为其赋予级别最高的优先级,来标识它的相对重要性,并使用网络设备所提 供的各种优先级转发策略、拥塞避免等机制为致命告警报文提供特殊的传输服务。In this embodiment, especially when the network is congested, for example, for a fatal alarm message, it can be given the highest priority to identify its relative importance and use the network device to provide Various priority forwarding policies and congestion avoidance mechanisms provide special transmission services for fatal alarm messages.
当网络发生拥塞或者过载时,为了使优先级最高的告警报文优先处理上报至服务器,还可以在网络拥塞时,将最低优先级的告警报文采取丢弃或者延时等等操作,保证优先级最高的告警报文能够及时上报至服务器,能够有效地分配网络带宽,并合理地利用网络资源。When the network is congested or overloaded, the highest-priority alarm packet can be forwarded to the server, and the lowest-priority alarm packet can be discarded or delayed to ensure the priority. The highest alarm packets can be reported to the server in time, which can effectively allocate network bandwidth and utilize network resources reasonably.
本实施例的网络设备在发生异常时,通过产生不同级别的告警信息并生成告警报文,然后将级别映射至告警报文的优先级字段中,从而得到不同优先级的告警报文,使优先级最高的告警报文优先处理并上报,而优先级最低的告警报文最后处理并上报,在有效地使用网络带宽的同时,防止优先级最高的告警报文发生时延或者丢失,提高传输的可靠性,并使之能够及时处理网络设备的异常状况,提高网络的安全性。When an abnormality occurs, the network device of the embodiment generates alarm packets of different levels and generates an alarm packet, and then maps the level to the priority field of the alarm packet, thereby obtaining alarm packets of different priorities, so that priority is obtained. The alarm packet with the highest priority is processed and reported, and the alarm packet with the lowest priority is processed and reported. The network bandwidth is effectively used to prevent the delay or loss of the highest priority alarm packet. Reliability, and enable it to timely handle abnormal conditions of network devices and improve network security.
在一实施例中,如图2所示,在上述图1的实施例的基础上,在上述步骤S102之后且步骤S103之前还包括:In an embodiment, as shown in FIG. 2, on the basis of the foregoing embodiment of FIG. 1, after step S102 and before step S103, the method further includes:
步骤S120,将所述不同优先级的告警报文进行服务质量调度。Step S120: Perform service quality scheduling on the alarm packets of different priorities.
本实施例中,服务质量调度能根据用户的要求分配和调度网络资源,对不同优先级的告警报文提供不同的服务质量,对实时性强且重要的告警报文优先处理;对于实时性不强的普通告警报文,提供较低的处理优先级,使优先级最高的告警报文优先处理上报。In this embodiment, the QoS scheduling can allocate and schedule network resources according to the requirements of the user, and provide different quality of service for the alarm packets of different priorities, and the alarm packets with strong real-time and important priority are processed preferentially; A strong general alarm packet provides a lower processing priority, and the highest priority alarm packet is processed and reported.
本实施例中,根据优先级对告警报文进行服务质量调度,使优先级最高的告警报文优先处理上报至服务器,能及时将优先级最高的告警报文上报,防止优先级最高的告警报文发生时延或者丢失,并能及时处理网络设备的异常状况,提高设备网络的安全性。In this embodiment, the QoS is scheduled according to the priority, and the alarm with the highest priority is reported to the server, and the highest priority alarm is reported in time to prevent the highest priority alarm. The file is delayed or lost, and the abnormal condition of the network device can be processed in time to improve the security of the device network.
在一实施例中,预先获取网络设备告警信息,如路由器异常及异常的严重程度等,根据集线器异常及异常的严重程度配置其对应的告警信息的级别,如果集线器异常且异常的严重程度高,则可配置其对应的告警级别的为较高级或最高级,然后根据该级别可以产生较高或最高优先级的告警报文。本实施例可以由网络设备自身配置告警级别,也可以由其他设备配置告警级别。 In an embodiment, the network device alarm information is acquired in advance, such as the abnormality of the router and the severity of the abnormality, and the level of the corresponding alarm information is configured according to the abnormality of the hub and the severity of the abnormality. If the hub is abnormal and the severity of the abnormality is high, You can configure the corresponding alarm level to be higher or higher, and then generate higher or highest priority alarm packets based on the level. In this embodiment, the alarm level may be configured by the network device itself, or the alarm level may be configured by other devices.
本发明还提供一种网络设备,如图3所示,在一实施例中,该网络设备包括:The present invention further provides a network device. As shown in FIG. 3, in an embodiment, the network device includes:
产生模块101,设置为产生不同级别的告警信息,并生成对应的告警报文;The generating module 101 is configured to generate different levels of alarm information and generate corresponding alarm messages.
本实施例中,网络设备在正常状态或异常状态之下,均有可能产生告警信息,例如网络设备在异常状态时,需要将其发生异常的情况上报至服务器,以便及时进行异常处理,使网络设备尽快恢复正常工作状态;又如,网络设备在正常状态时,向服务器发送一提示信息,以起到提示作用或者执行下一步的处理。In this embodiment, the network device may generate alarm information in a normal state or an abnormal state. For example, when the network device is in an abnormal state, the network device needs to report the abnormality to the server, so as to perform abnormal processing in time to make the network The device resumes normal working status as soon as possible; for example, when the network device is in a normal state, it sends a prompt message to the server to act as a prompt or perform the next processing.
本实施例中,告警报文包括网络设备的标识信息、地址信息、端口号、告警内容、优先级信息及告警报文的产生时间。In this embodiment, the alarm packet includes the identifier information, the address information, the port number, the alarm content, the priority information, and the generation time of the alarm packet.
本实施例中,网络设备产生不同级别的告警信息,一般来说,可以按照告警的紧急程度划分其级别,例如可以划分为一般告警信息、严重告警信息及致命的告警信息等等,其中致命的告警信息对应最高的级别,严重告警信息对应次高的级别,一般告警信息对应普通的级别。In this embodiment, the network device generates different levels of alarm information. Generally, the network device can be classified according to the urgency of the alarm, for example, it can be classified into general alarm information, severe alarm information, and fatal alarm information, etc., where fatal The alarm information corresponds to the highest level. The severity alarm information corresponds to the next highest level. The general alarm information corresponds to the normal level.
映射模块102,设置为将所述级别映射至所述告警报文的优先级字段中,得到不同优先级的告警报文;The mapping module 102 is configured to map the level to the priority field of the alarm packet to obtain alarm packets of different priorities.
上报模块103,设置为上报所述不同优先级的告警报文至服务器。The reporting module 103 is configured to report the alarm packets of different priorities to the server.
本实施例中,网络设备产生不同级别的告警信息,并将告警信息封装为告警报文。其中,级别例如可以定义为最高级别、次高级别及普通级别等。In this embodiment, the network device generates different levels of alarm information, and encapsulates the alarm information into an alarm message. The levels can be defined, for example, as the highest level, the second highest level, and the normal level.
根据告警信息中所定义的级别,将其映射至告警报文中的优先级字段中,其中,根据告警报文所传输经过的网络设备,优先级字段可以包括DSCP字段、Priority字段及EXP字段中的至少一个。According to the level defined in the alarm information, it is mapped to the priority field in the alarm message. The priority field may include the DSCP field, the Priority field, and the EXP field according to the network device through which the alarm message is transmitted. At least one of them.
本实施例不需要通过其他特定消息进行告知或者开通特殊的传输通道来传输告警报文,即将告警信息封装为普通报文的形式,根据级别映射告警报文的优先级字段,通过报文可以直接得知对应告警报文的优先级,使优先级高的告警报文优先上报至服务器,保证告警报文能够快速、及时上报至服务器。The present embodiment does not need to notify or open a special transmission channel to transmit an alarm message by using another specific message, that is, the alarm information is encapsulated into an ordinary message format, and the priority field of the alarm message is mapped according to the level, and the message can be directly used through the message. If the priority of the corresponding alarm packet is obtained, the alarm packet with the highest priority is reported to the server. The alarm packet can be reported to the server quickly and timely.
本实施例中,特别是当网络发生拥塞时,例如针对致命告警报文,可以为其赋予级别最高的优先级,来标识它的相对重要性,并使用网络设备所提 供的各种优先级转发策略、拥塞避免等机制为致命告警报文提供特殊的传输服务。In this embodiment, especially when the network is congested, for example, for a fatal alarm message, it can be given the highest priority to identify its relative importance and use the network device to provide Various priority forwarding policies and congestion avoidance mechanisms provide special transmission services for fatal alarm messages.
当网络发生拥塞或者过载时,为了使优先级最高的告警报文优先处理上报至服务器,还可以在网络拥塞时,将最低优先级的告警报文采取丢弃或者延时等等操作,保证优先级最高的告警报文能够及时上报至服务器,能够有效地分配网络带宽,并合理地利用网络资源。When the network is congested or overloaded, the highest-priority alarm packet can be forwarded to the server, and the lowest-priority alarm packet can be discarded or delayed to ensure the priority. The highest alarm packets can be reported to the server in time, which can effectively allocate network bandwidth and utilize network resources reasonably.
本实施例的网络设备在发生异常时,通过产生不同级别的告警信息并生成告警报文,然后将级别映射至告警报文的优先级字段中,从而得到不同优先级的告警报文,使优先级最高的告警报文优先处理并上报,而优先级最低的告警报文最后处理并上报,在有效地使用网络带宽的同时,防止优先级最高的告警报文发生时延或者丢失,提高传输的可靠性,并使之能够及时处理网络设备的异常状况,提高网络的安全性。When an abnormality occurs, the network device of the embodiment generates alarm packets of different levels and generates an alarm packet, and then maps the level to the priority field of the alarm packet, thereby obtaining alarm packets of different priorities, so that priority is obtained. The alarm packet with the highest priority is processed and reported, and the alarm packet with the lowest priority is processed and reported. The network bandwidth is effectively used to prevent the delay or loss of the highest priority alarm packet. Reliability, and enable it to timely handle abnormal conditions of network devices and improve network security.
在一实施例中,如图4所示,在上述图3的实施例的基础上,网络设备还包括:In an embodiment, as shown in FIG. 4, on the basis of the foregoing embodiment of FIG. 3, the network device further includes:
调度模块120,设置为将所述不同优先级的告警报文进行服务质量调度;The scheduling module 120 is configured to perform service quality scheduling on the alarm packets of different priorities.
本实施例中,服务质量调度能根据用户的要求分配和调度网络资源,对不同优先级的告警报文提供不同的服务质量,对实时性强且重要的告警报文优先处理;对于实时性不强的普通告警报文,提供较低的处理优先级,使优先级最高的告警报文优先处理上报。In this embodiment, the QoS scheduling can allocate and schedule network resources according to the requirements of the user, and provide different quality of service for the alarm packets of different priorities, and the alarm packets with strong real-time and important priority are processed preferentially; A strong general alarm packet provides a lower processing priority, and the highest priority alarm packet is processed and reported.
本实施例中,根据优先级对告警报文进行服务质量调度,使优先级最高的告警报文优先处理上报至服务器,能及时将优先级最高的告警报文上报,防止优先级最高的告警报文发生时延或者丢失,并能及时处理网络设备的异常状况,提高设备网络的安全性。In this embodiment, the QoS is scheduled according to the priority, and the alarm with the highest priority is reported to the server, and the highest priority alarm is reported in time to prevent the highest priority alarm. The file is delayed or lost, and the abnormal condition of the network device can be processed in time to improve the security of the device network.
在一实施例中,预先获取网络设备告警信息,如路由器异常及异常的严重程度等,根据集线器异常及异常的严重程度配置其对应的告警信息的级别,如果集线器异常且异常的严重程度高,则可配置其对应的告警级别的为较高级或最高级,然后根据该级别可以产生较高或最高优先级的告警报文。本实施例可以由网络设备自身配置告警级别,也可以由其他设备配置告警级别。In an embodiment, the network device alarm information is acquired in advance, such as the abnormality of the router and the severity of the abnormality, and the level of the corresponding alarm information is configured according to the abnormality of the hub and the severity of the abnormality. If the hub is abnormal and the severity of the abnormality is high, You can configure the corresponding alarm level to be higher or higher, and then generate higher or highest priority alarm packets based on the level. In this embodiment, the alarm level may be configured by the network device itself, or the alarm level may be configured by other devices.
以上仅为本发明的实施例,并非因此限制本发明的专利范围。 The above are only examples of the invention and are not intended to limit the scope of the invention.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。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. Thus, the invention is not limited to any specific combination of hardware and software.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。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 each 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.
工业实用性Industrial applicability
本发明实施例在有效地使用网络带宽的同时,防止优先级最高的告警报文发生时延或者丢失,提高传输的可靠性,并使之能够及时处理网络设备的异常状况,提高网络的安全性。 In the embodiment of the present invention, when the network bandwidth is effectively used, the delay or loss of the highest-priority alarm packet is prevented, and the reliability of the transmission is improved, and the abnormal condition of the network device can be processed in time to improve the security of the network. .

Claims (7)

  1. 一种网络设备告警上报的方法,包括以下步骤:A method for reporting a network device alarm includes the following steps:
    网络设备产生不同级别的告警信息,并生成对应的告警报文;The network device generates different levels of alarm information and generates corresponding alarm packets.
    将所述级别映射至所述告警报文的优先级字段中,得到不同优先级的告警报文;Mapping the level to the priority field of the alarm packet to obtain alarm packets of different priorities;
    上报所述不同优先级的告警报文至服务器。The alarm packets of different priorities are reported to the server.
  2. 如权利要求1所述的网络设备告警上报的方法,还包括:得到不同优先级的告警报文之后,The method for reporting alarms of a network device according to claim 1, further comprising: after obtaining alarm packets of different priorities,
    将所述不同优先级的告警报文进行服务质量调度。The service packets of different priority levels are scheduled for quality of service.
  3. 如权利要求1所述的网络设备告警上报的方法,其中,所述优先级字段包括差分服务代码点字段、优先字段及实验字段中的至少一个。The method for reporting a network device alarm according to claim 1, wherein the priority field comprises at least one of a difference service code point field, a priority field, and an experiment field.
  4. 一种网络设备,包括:A network device, including:
    产生模块,设置为产生不同级别的告警信息,并生成对应的告警报文;The generating module is configured to generate different levels of alarm information and generate corresponding alarm messages;
    映射模块,设置为将所述级别映射至所述告警报文的优先级字段中,得到不同优先级的告警报文;以及The mapping module is configured to map the level to the priority field of the alarm packet to obtain alarm packets of different priorities;
    上报模块,设置为上报所述不同优先级的告警报文至服务器。The reporting module is configured to report the alarm packets of different priorities to the server.
  5. 如权利要求4所述的网络设备,还包括:The network device of claim 4, further comprising:
    调度模块,设置为将所述不同优先级的告警报文进行服务质量调度。The scheduling module is configured to perform the quality of service scheduling on the alarm packets of different priorities.
  6. 如权利要求4所述的网络设备,其中,所述优先级字段包括差分服务代码点字段、优先字段及实验字段中的至少一个。The network device of claim 4, wherein the priority field comprises at least one of a differentiated service code point field, a priority field, and an experimental field.
  7. 一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现权利要求1-3任一项所述的方法。 A computer readable storage medium storing program instructions that, when executed, can implement the method of any of claims 1-3.
PCT/CN2015/072587 2014-10-10 2015-02-09 Network device alarm reporting method and network device WO2015131744A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410531022.0 2014-10-10
CN201410531022.0A CN105577401A (en) 2014-10-10 2014-10-10 Network device alarm reporting method and network device

Publications (1)

Publication Number Publication Date
WO2015131744A1 true WO2015131744A1 (en) 2015-09-11

Family

ID=54054583

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/072587 WO2015131744A1 (en) 2014-10-10 2015-02-09 Network device alarm reporting method and network device

Country Status (2)

Country Link
CN (1) CN105577401A (en)
WO (1) WO2015131744A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110233759A (en) * 2019-06-10 2019-09-13 平安科技(深圳)有限公司 A kind of load abnormal alarm method and relevant apparatus
CN112202592A (en) * 2020-09-02 2021-01-08 烽火通信科技股份有限公司 Alarm delay diagnosis method, system and readable storage medium
WO2021231332A1 (en) * 2020-05-12 2021-11-18 Qualcomm Incorporated Mitigation of inter-band interference to receivers by allocating alerts in frequency domain based on severity
CN113965452A (en) * 2021-11-02 2022-01-21 烽火通信科技股份有限公司 Equipment switching state obtaining method and device
CN114124690A (en) * 2021-08-30 2022-03-01 济南浪潮数据技术有限公司 Alarm configuration method, system and related device for data center

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107070811B (en) * 2017-02-27 2021-03-09 宇龙计算机通信科技(深圳)有限公司 Data sending method, terminal and data processing system
CN108920339A (en) * 2018-07-21 2018-11-30 中国人民解放军战略支援部队信息工程大学 A kind of system exception report method and device
CN114205225A (en) * 2020-08-26 2022-03-18 华为技术有限公司 Configuration error information transmission method and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374077A (en) * 2008-10-20 2009-02-25 中兴通讯股份有限公司 Method and system for forwarding network management alarm
CN102333002A (en) * 2011-11-04 2012-01-25 迈普通信技术股份有限公司 Method and device for sorting alarms
CN102685784A (en) * 2011-03-17 2012-09-19 中兴通讯股份有限公司 Method and device for achieving fault alarm
CN102694678A (en) * 2012-05-04 2012-09-26 青岛海信传媒网络技术有限公司 Method, system, network management server and network element device for alarm message transmission

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100370762C (en) * 2006-03-08 2008-02-20 华为技术有限公司 Method device and system for processing warning message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374077A (en) * 2008-10-20 2009-02-25 中兴通讯股份有限公司 Method and system for forwarding network management alarm
CN102685784A (en) * 2011-03-17 2012-09-19 中兴通讯股份有限公司 Method and device for achieving fault alarm
CN102333002A (en) * 2011-11-04 2012-01-25 迈普通信技术股份有限公司 Method and device for sorting alarms
CN102694678A (en) * 2012-05-04 2012-09-26 青岛海信传媒网络技术有限公司 Method, system, network management server and network element device for alarm message transmission

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110233759A (en) * 2019-06-10 2019-09-13 平安科技(深圳)有限公司 A kind of load abnormal alarm method and relevant apparatus
CN110233759B (en) * 2019-06-10 2022-07-22 平安科技(深圳)有限公司 Load abnormity warning method and related device
WO2021231332A1 (en) * 2020-05-12 2021-11-18 Qualcomm Incorporated Mitigation of inter-band interference to receivers by allocating alerts in frequency domain based on severity
US11291013B2 (en) 2020-05-12 2022-03-29 Qualcomm Incorporated Mitigation of inter-band interference to receivers by allocating alerts in frequency domain based on severity
US11778651B2 (en) 2020-05-12 2023-10-03 Qualcomm Incorporated Mitigation of inter-band interference to receivers by allocating alerts in frequency domain based on severity
CN112202592A (en) * 2020-09-02 2021-01-08 烽火通信科技股份有限公司 Alarm delay diagnosis method, system and readable storage medium
CN114124690A (en) * 2021-08-30 2022-03-01 济南浪潮数据技术有限公司 Alarm configuration method, system and related device for data center
CN113965452A (en) * 2021-11-02 2022-01-21 烽火通信科技股份有限公司 Equipment switching state obtaining method and device
CN113965452B (en) * 2021-11-02 2023-11-03 烽火通信科技股份有限公司 Equipment switching state acquisition method and device

Also Published As

Publication number Publication date
CN105577401A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
WO2015131744A1 (en) Network device alarm reporting method and network device
US10447606B2 (en) Time-sensitive networking differentiation of traffic based upon content
US20200413283A1 (en) Congestion Avoidance with Adaptive QoS policy enforcement from SD-WAN Controller in SD-WAN Networks
US9819590B2 (en) Method and apparatus for notifying network abnormality
US20170339062A1 (en) Congestion avoidance in a network device
EP3154224B1 (en) Systems and methods for maintaining network service levels
US10581752B2 (en) Generating automatic bandwidth adjustment policies per label-switched path
US20070263540A1 (en) Method and Device for the Automatic Readjustment of Limits for Access Controls Used to Restrict Traffic in a Communication Network
CN111092840B (en) Processing strategy generation method, system and storage medium
US20090219818A1 (en) Node device, packet switch device, communication system and method of communicating packet data
WO2020083301A1 (en) Network slice method, computer device and storage medium
US20140201354A1 (en) Network traffic debugger
Trakadas et al. Scalable monitoring for multiple virtualized infrastructures for 5G services
KR20220058576A (en) Method and apparatus for controlling data transmission, and storage medium
WO2017107363A1 (en) Cache management method and device, and computer storage medium
US9203759B2 (en) Switch state reporting
CN102780630B (en) A kind of method and apparatus realizing QoS queue based on FPGA queue
WO2016150020A1 (en) Scheduling flow identifier-based packet scheduling method and device
Imputato et al. Design and implementation of the traffic control module in ns-3
US9577957B2 (en) Facilitating congestion control in a network switch fabric based on group traffic rates
WO2021118811A1 (en) Determining the impact of network events on network applications
US9692704B2 (en) Facilitating congestion control in a network switch fabric based on group and aggregate traffic rates
CN104219169A (en) CBQ (Class Based Queuing) scheduling method and device
JP2011091711A (en) Node, method for distributing transmission frame, and program
CN103973590B (en) A kind of QoS dispatching methods and device

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: 15757862

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: 15757862

Country of ref document: EP

Kind code of ref document: A1