CN114978861A - Operation and maintenance management method, device and medium based on multi-manufacturer equipment alarm - Google Patents
Operation and maintenance management method, device and medium based on multi-manufacturer equipment alarm Download PDFInfo
- Publication number
- CN114978861A CN114978861A CN202210606642.0A CN202210606642A CN114978861A CN 114978861 A CN114978861 A CN 114978861A CN 202210606642 A CN202210606642 A CN 202210606642A CN 114978861 A CN114978861 A CN 114978861A
- Authority
- CN
- China
- Prior art keywords
- alarm
- alarm message
- information
- management platform
- standard
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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/06—Management of faults, events, alarms or notifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Alarm Systems (AREA)
Abstract
本申请公开了一种基于多厂商设备告警的运维管理方法、装置及介质,涉及通信领域,为了解决管理平台接收到不同厂商设备发送的告警报文时,处理信息的复杂度,本申请提供的基于多厂商设备告警的运维管理方法,获取设备的告警报文,并根据告警报文中的地址信息获取对应的设备硬件信息,根据告警报文与设备硬件信息,结合预设模板生成对应的标准告警报文,将标准告警报文发送至管理平台。由于通过将告警报文根据预设模板,统一格式,生成标准告警报文,并发送至管理平台,管理平台接收到的告警报文都是统一格式的,降低了管理平台需要处理不同厂商设备产生的不同格式的告警报文的解析复杂度,提高了管理平台的管理运维的效率。
The present application discloses an operation and maintenance management method, device and medium based on multi-vendor equipment alarms, and relates to the field of communications. The operation and maintenance management method based on multi-vendor equipment alarms, obtains the alarm packets of the equipment, and obtains the corresponding device hardware information according to the address information in the alarm packets, and generates corresponding device hardware information according to the alarm packets and device hardware information in combination with the preset template. The standard alarm message is sent to the management platform. Since standard alarm messages are generated according to the preset templates and unified format, and sent to the management platform, the alarm messages received by the management platform are all in a unified format, which reduces the need for the management platform to deal with equipment generated by different manufacturers. The complexity of parsing alarm messages in different formats is improved, which improves the efficiency of management, operation and maintenance of the management platform.
Description
技术领域technical field
本申请涉及通信领域,特别是涉及一种基于多厂商设备告警的运维管理方法、装置及介质。The present application relates to the field of communications, and in particular, to a method, device and medium for operation and maintenance management based on multi-vendor equipment alarms.
背景技术Background technique
在实际应用中,很多企业网络设备往往来自于多个厂商,为了实现统一管理及监控,通常通过一个或多个管理平台对设备实施监控与管理,可通过管理平台控制设备运行,也可以通过管理平台实现对设备状态的监控、故障检测等。在服务器管理运维中,基于多个厂商设备所产生的不同告警信息尚未形成统一的标准,不同厂商发送的告警内容都是自己定义的,此时当上层管理平台接收到不同厂商设备的告警后,首先需要各厂商提供告警报文信息格式的具体内容对应解释,然后分类别从告警报文中一一解析其内容并封装成不同类型告警的方式来实现不同厂商告警的发送。此种运维方式大大提升了管理平台系统针对不同厂商告警处理的复杂度。In practical applications, many enterprise network devices often come from multiple manufacturers. In order to achieve unified management and monitoring, the devices are usually monitored and managed through one or more management platforms. The platform realizes monitoring of equipment status, fault detection, etc. In server management operation and maintenance, a unified standard has not yet been formed based on different alarm information generated by equipment of multiple manufacturers. The content of alarms sent by different manufacturers is defined by themselves. At this time, when the upper management platform receives alarms from equipment of different manufacturers First, each manufacturer needs to provide the corresponding explanation of the specific content of the alarm message information format, and then parse the content from the alarm message one by one by category and encapsulate it into different types of alarms to realize the sending of alarms from different manufacturers. This operation and maintenance method greatly increases the complexity of the management platform system for handling alarms from different manufacturers.
由此可见,如何降低管理平台处理告警信息的复杂度,是本领域人员亟待解决的技术问题。It can be seen that how to reduce the complexity of the management platform for processing the alarm information is a technical problem to be solved urgently by those skilled in the art.
发明内容SUMMARY OF THE INVENTION
本申请的目的是提供一种基于多厂商设备告警的运维管理方法,以降低管理平台接收到不同厂商设备发送的告警报文时,处理的复杂度。The purpose of this application is to provide an operation and maintenance management method based on multi-vendor equipment alarms, so as to reduce the complexity of processing when the management platform receives alarm messages sent by equipment of different manufacturers.
为解决上述技术问题,本申请提供一种基于多厂商设备告警的运维管理方法,包括:In order to solve the above technical problems, the present application provides an operation and maintenance management method based on multi-vendor equipment alarms, including:
获取所述设备的告警报文;obtain the alarm message of the device;
根据所述告警报文中的地址信息获取对应的设备硬件信息;Acquire corresponding device hardware information according to the address information in the alarm message;
根据所述告警报文与所述设备硬件信息,结合预设模板生成对应的标准告警报文;Generate a corresponding standard alarm message according to the alarm message and the device hardware information in combination with a preset template;
将所述标准告警报文发送至管理平台。Send the standard alarm message to the management platform.
优选地,上述基于多厂商设备告警的运维管理方法中,所述获取所述设备的告警报文,包括:Preferably, in the above-mentioned operation and maintenance management method based on multi-vendor equipment alarms, the acquiring the alarm message of the equipment includes:
根据预设JAVA消息队列,轮询获取所述告警报文。According to the preset JAVA message queue, the alarm message is obtained by polling.
优选地,上述基于多厂商设备告警的运维管理方法中,所述将所述标准告警报文发送至管理平台之前,还包括:Preferably, in the above operation and maintenance management method based on multi-vendor equipment alarms, before the standard alarm message is sent to the management platform, the method further includes:
根据所述标准告警报文结合预设告警需求判断是否将所述标准告警报文上报所述管理平台;Judging whether to report the standard alarm message to the management platform according to the standard alarm message in combination with the preset alarm requirement;
若是,进入所述将所述标准告警报文发送至管理平台的步骤。If yes, enter the step of sending the standard alarm message to the management platform.
优选地,上述基于多厂商设备告警的运维管理方法中,若判断不需要所述标准告警报文上报所述管理平台,则还包括:Preferably, in the above operation and maintenance management method based on multi-vendor equipment alarms, if it is determined that the standard alarm message does not need to be reported to the management platform, the method further includes:
将所述标准告警报文进行终端处理。Terminal processing is performed on the standard alarm message.
优选地,上述基于多厂商设备告警的运维管理方法中,所述预设模板包含:告警流水号信息、设备IP地址信息、厂商及设备型号信息、设备序列号信息、告警标题信息、告警级别信息、告警状态信息、告警描述信息、告警发生时间信息。Preferably, in the above operation and maintenance management method based on multi-vendor equipment alarms, the preset template includes: alarm serial number information, equipment IP address information, manufacturer and equipment model information, equipment serial number information, alarm title information, and alarm severity. information, alarm status information, alarm description information, and alarm occurrence time information.
优选地,上述基于多厂商设备告警的运维管理方法中,所述根据所述标准告警报文结合预设告警需求判断是否将所述标准告警报文上报所述管理平台,包括:Preferably, in the above-mentioned operation and maintenance management method based on multi-vendor equipment alarms, the step of judging whether to report the standard alarm packet to the management platform according to the standard alarm packet in combination with preset alarm requirements includes:
根据所述告警级别结合所述预设告警需求判断是否将所述标准告警报文上报所述管理平台。Whether to report the standard alarm message to the management platform is determined according to the alarm level and the preset alarm requirement.
优选地,上述基于多厂商设备告警的运维管理方法中,所述根据所述标准告警报文结合预设告警需求判断是否将所述标准告警报文上报所述管理平台之前,还包括:Preferably, in the above-mentioned operation and maintenance management method based on multi-vendor equipment alarms, before judging whether to report the standard alarm message to the management platform according to the standard alarm message in combination with a preset alarm requirement, the method further includes:
接收所述管理平台发送的所述预设告警需求。The preset alarm requirement sent by the management platform is received.
为解决上述技术问题,本申请还提供一种基于多厂商设备告警的运维管理装置,包括:In order to solve the above technical problems, the present application also provides an operation and maintenance management device based on multi-vendor equipment alarms, including:
获取原始告警报文模块,用于获取所述设备的告警报文;a module for obtaining the original alarm message, which is used to obtain the alarm message of the device;
获取模块,用于根据所述告警报文中的地址信息获取对应的设备硬件信息;an obtaining module, configured to obtain corresponding device hardware information according to the address information in the alarm message;
生成模块,用于根据所述告警报文与所述设备硬件信息,结合预设模板生成对应的标准告警报文;a generating module, configured to generate a corresponding standard alarm message according to the alarm message and the device hardware information in combination with a preset template;
发送模块,用于将所述标准告警报文发送至管理平台。A sending module, configured to send the standard alarm message to the management platform.
获取原始告警报文模块31包括第一获取子单元,用于根据预设JAVA消息队列,轮询获取告警报文。The acquiring original
判断模块,用于根据标准告警报文结合预设告警需求判断是否将标准告警报文上报管理平台;若是,触发发送模块34,将所述标准告警报文发送至管理平台。若否,触发终端处理模块,终端处理模块用于将标准告警报文进行终端处理。The judgment module is used for judging whether to report the standard alarm message to the management platform according to the standard alarm message and the preset alarm requirement; if so, triggering the
为解决上述技术问题,本申请还提供一种基于多厂商设备告警的运维管理装置,包括:In order to solve the above technical problems, the present application also provides an operation and maintenance management device based on multi-vendor equipment alarms, including:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序时实现上述基于多厂商设备告警的运维管理方法的步骤。The processor is configured to implement the steps of the above-mentioned operation and maintenance management method based on multi-vendor equipment alarms when executing the computer program.
为解决上述技术问题,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述基于多厂商设备告警的运维管理方法的步骤。In order to solve the above technical problems, the present application also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned multi-vendor equipment alarm-based operation and maintenance is implemented. The steps of the management method.
本申请所提供的基于多厂商设备告警的运维管理方法,包括:获取设备的告警报文;根据告警报文中的地址信息获取对应的设备硬件信息;根据告警报文与设备硬件信息,结合预设模板生成对应的标准告警报文;将标准告警报文发送至管理平台。本申请通过将告警报文根据预设模板,统一格式,生成标准告警报文,并发送至管理平台,管理平台接收到的告警报文都是统一格式的,降低了管理平台需要处理不同厂商设备产生的不同格式的告警报文的解析复杂度,提高了管理平台的管理运维的效率。The operation and maintenance management method based on multi-vendor equipment alarms provided by the present application includes: acquiring alarm messages of devices; acquiring corresponding device hardware information according to address information in the alarm messages; combining the alarm messages and device hardware information with The preset template generates the corresponding standard alarm message; the standard alarm message is sent to the management platform. In this application, standard alarm messages are generated according to preset templates and in a unified format, and sent to the management platform. The alarm messages received by the management platform are all in a unified format, which reduces the need for the management platform to process equipment from different manufacturers. The complexity of parsing generated alarm messages in different formats improves the efficiency of management, operation and maintenance of the management platform.
另外,本申请还提供一种基于多厂商设备告警的运维管理装置及计算机可读存储介质,包括上述基于多厂商设备告警的运维管理方法,效果同上。In addition, the present application also provides an operation and maintenance management device and a computer-readable storage medium based on multi-vendor equipment alarms, including the above-mentioned operation and maintenance management method based on multi-vendor equipment alarms, and the effects are the same as above.
附图说明Description of drawings
为了更清楚地说明本申请实施例,下面将对实施例中所需要使用的附图做简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to describe the embodiments of the present application more clearly, the following will briefly introduce the drawings that are used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application, which are not relevant to ordinary skills in the art. As far as personnel are concerned, other drawings can also be obtained from these drawings on the premise of no creative work.
图1为本申请实施例提供的一种基于多厂商设备告警的运维管理方法的流程图;1 is a flowchart of an operation and maintenance management method based on multi-vendor equipment alarms provided by an embodiment of the present application;
图2为本申请实施例提供的另一种基于多厂商设备告警的运维管理方法的流程图;FIG. 2 is a flowchart of another operation and maintenance management method based on multi-vendor equipment alarms provided by an embodiment of the present application;
图3为本申请实施例提供的一种基于多厂商设备告警的运维管理装置的示意图;3 is a schematic diagram of an operation and maintenance management apparatus based on multi-vendor equipment alarms provided by an embodiment of the present application;
图4为本申请实施例提供的另一种基于多厂商设备告警的运维管理装置的结构图。FIG. 4 is a structural diagram of another operation and maintenance management apparatus based on multi-vendor equipment alarms provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下,所获得的所有其他实施例,都属于本申请保护范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative work fall within the protection scope of the present application.
本申请的核心是提供一种基于多厂商设备告警的运维管理方法,以降低管理平台接收到不同厂商设备发送的告警报文时,处理的复杂度。The core of the present application is to provide an operation and maintenance management method based on multi-vendor equipment alarms, so as to reduce the complexity of processing when the management platform receives alarm messages sent by equipment of different manufacturers.
为了使本技术领域的人员更好地理解本申请方案,下面结合附图和具体实施方式对本申请作进一步的详细说明。In order to make those skilled in the art better understand the solution of the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
在实际应用中,很多企业网络设备往往来自于多个厂商,为了实现统一管理及监控,通常通过一个或多个管理平台对设备实施监控与管理,可通过管理平台控制设备运行,也可以通过管理平台实现对设备状态的监控、故障检测等。本申请提到的设备包括但不限于服务器、集线器、交换机、网桥、路由器、网关、网络接口卡(NIC)、无线接入点(WAP)、打印机和调制解调器、光纤收发器、光缆等。以服务器为例,在服务器管理运维中,基于多个厂商的服务器所产生的不同告警信息尚未形成统一的标准,不同厂商的服务器发送的告警内容都是自己定义,此时当上层管理平台接收到不同厂商的服务器的告警后,首先需要各厂商提供告警报文信息格式的具体内容对应解释,然后分类别从告警报文中一一解析其内容并封装成不同类型告警的方式来实现不同厂商告警的发送。管理平台需及时接收到告警报文并解析出具体的告警信息,以及时做出响应,但此种运维方式大大提升了管理平台系统针对不同厂商告警报文处理的复杂度,导致管理平台接收到告警报文后需要先对其解析不同方式的解析,增大了管理平台的工作量。此外,针对上层管理平台针对告警的不同差异化需求,比如某些平台需要当前告警原始报文,而有些则需要进行统一转化后的告警信息明文,此时如果针对不同厂商告警需开发出相应的不同类型接口来实现需求,此时将大大增加研发人员工作量,不利于系统的拓展与后期维护。In practical applications, many enterprise network devices often come from multiple manufacturers. In order to achieve unified management and monitoring, the devices are usually monitored and managed through one or more management platforms. The platform realizes monitoring of equipment status, fault detection, etc. Devices referred to in this application include, but are not limited to, servers, hubs, switches, bridges, routers, gateways, network interface cards (NICs), wireless access points (WAPs), printers and modems, fiber optic transceivers, fiber optic cables, and the like. Taking the server as an example, in the server management and maintenance, the different alarm information generated by the servers of multiple manufacturers has not yet formed a unified standard, and the alarm content sent by the servers of different manufacturers is defined by itself. After receiving alarms from servers of different manufacturers, each manufacturer first needs to provide a corresponding explanation of the specific content of the alarm message format, and then parse the content from the alarm messages one by one by category and encapsulate them into different types of alarms to achieve different manufacturers. Sending of alerts. The management platform needs to receive the alarm messages in time, parse out the specific alarm information, and respond in time. However, this operation and maintenance method greatly increases the complexity of the management platform system for processing alarm messages from different manufacturers, which leads to the management platform receiving the alarm messages. After the alarm message arrives, it needs to be parsed in different ways, which increases the workload of the management platform. In addition, according to the different differentiated requirements of the upper-layer management platform for alarms, for example, some platforms require the original alarm message of the current alarm, while some require the plaintext of the alarm information after unified transformation. Different types of interfaces are used to realize the requirements, which will greatly increase the workload of R&D personnel, which is not conducive to the expansion and later maintenance of the system.
为解决上述技术问题,本申请实施例提供的一种基于多厂商设备告警的运维管理方法,图1为本申请实施例提供的一种基于多厂商设备告警的运维管理方法的流程图,如图1所示,基于多厂商设备告警的运维管理方法包括:In order to solve the above technical problems, an embodiment of the present application provides an operation and maintenance management method based on multi-vendor equipment alarms. FIG. 1 is a flowchart of an operation and maintenance management method based on multi-vendor equipment alarms provided by an embodiment of the present application. As shown in Figure 1, the operation and maintenance management method based on multi-vendor equipment alarms includes:
步骤S11:获取设备的告警报文;Step S11: Acquire an alarm message of the device;
本实施例提到设备包括但不限于服务器、集线器、交换机、网桥、路由器、网关、网络接口卡(NIC)、无线接入点(WAP)、打印机和调制解调器、光纤收发器、光缆等。本实施例提到的多厂商设备,可以是同一类的设备也可以是不同类的设备。当设备当发生故障时,生成包含故障信息及其他基本信息的告警报文。本实施例不限制获取告警报文的形式,例如通过蓝牙、无线网等。本实施例也不限制告警报文的具体内容,需要包含告警的具体信息、告警来源等。The devices mentioned in this embodiment include but are not limited to servers, hubs, switches, bridges, routers, gateways, network interface cards (NICs), wireless access points (WAPs), printers and modems, fiber optic transceivers, fiber optic cables, and the like. The multi-vendor devices mentioned in this embodiment may be devices of the same type or devices of different types. When a device fails, it generates an alarm message containing the failure information and other basic information. This embodiment does not limit the form of acquiring the alarm message, for example, through Bluetooth, wireless network, and the like. This embodiment also does not limit the specific content of the alarm message, and needs to include the specific information of the alarm, the source of the alarm, and the like.
步骤S12:根据告警报文中的地址信息获取对应的设备硬件信息;Step S12: Acquire corresponding device hardware information according to the address information in the alarm message;
根据获取到的告警报文中的地址信息,从本地数据库中获取该地址信息对应的设备硬件信息,包括但不限于设备厂商、设备型号、设备序列号等。根据设备硬件信息可以确定哪一个设备出现报警,以能够做出对应的响应。According to the address information in the obtained alarm message, obtain the device hardware information corresponding to the address information from the local database, including but not limited to the device manufacturer, device model, and device serial number. According to the device hardware information, it can be determined which device has an alarm, so that a corresponding response can be made.
步骤S13:根据告警报文与设备硬件信息,结合预设模板生成对应的标准告警报文;Step S13: generate a corresponding standard alarm message according to the alarm message and device hardware information in combination with a preset template;
步骤S14:将标准告警报文发送至管理平台。Step S14: Send the standard alarm message to the management platform.
本实施例提到预设模板为提前设置好的,可根据实际需要变化的模板,将告警报文中包含的数据信息及设备硬件信息依次填入预设模板,管理平台接收到以预设模板格式填写的告警报文,可直接读取告警信息。The preset template mentioned in this embodiment is a template that is set in advance and can be changed according to actual needs. The data information and device hardware information contained in the alarm message are filled in the preset template in sequence, and the management platform receives the preset template. The alarm message filled in the format can directly read the alarm information.
不同厂商设备生成的告警报文都通过预设模板统一为标准的预设格式,以降低管理平台解析不同厂商告警报文处理的复杂度。Alarm packets generated by devices of different manufacturers are unified into a standard preset format through preset templates, so as to reduce the complexity of processing alarm packets from different manufacturers in the management platform.
本实施例不限制管理平台的具体形式,可以是虚拟的云管理平台,也可以是服务器等。另外,本实施例也不限制管理平台的数量,可以是一个管理平台管理多个多厂商设备,也可以是多个管理平台管理多个多厂商设备,根据实际应用需要设计即可。This embodiment does not limit the specific form of the management platform, which may be a virtual cloud management platform or a server or the like. In addition, this embodiment does not limit the number of management platforms. One management platform may manage multiple multi-vendor devices, or multiple management platforms may manage multiple multi-vendor devices, which can be designed according to actual application needs.
本实施例不限制管理平台接收到标准告警报文后做出什么响应,如发出控制指令至告警设备,消除告警设备的告警信息等,根据实际需要可针对不同的告警信息设计不同的响应方案。This embodiment does not limit what response the management platform makes after receiving the standard alarm message, such as sending control commands to the alarm device, eliminating the alarm information of the alarm device, etc. Different response schemes can be designed for different alarm information according to actual needs.
具体地,获取到设备的告警报文后,根据告警报文中的地址信息获取对应的告警的设备硬件信息,根据告警报文与设备硬件信息,结合预设模板生成对应的标准告警报文,将标准告警报文发送至管理平台。本申请通过将告警报文根据预设模板,统一格式,生成标准告警报文,并发送至管理平台,管理平台接收到的告警报文都是统一格式的,降低了管理平台需要处理不同厂商设备产生的不同格式的告警报文的解析复杂度,提高了管理平台的管理运维的效率。Specifically, after obtaining the alarm packet of the device, obtain the corresponding alarm device hardware information according to the address information in the alarm packet, and generate the corresponding standard alarm packet according to the alarm packet and the device hardware information in combination with the preset template, Send standard alarm messages to the management platform. In this application, standard alarm messages are generated according to preset templates and in a unified format, and sent to the management platform. The alarm messages received by the management platform are all in a unified format, which reduces the need for the management platform to process equipment from different manufacturers. The complexity of parsing generated alarm messages in different formats improves the efficiency of management, operation and maintenance of the management platform.
为了及时发现并接收设备产生的告警报文并做出相应的响应,基于多厂商设备告警的运维管理方法,步骤S11获取设备的告警报文,包括:In order to timely discover and receive alarm messages generated by the device and respond accordingly, based on the operation and maintenance management method for multi-vendor device alarms, step S11 acquires the alarm messages of the device, including:
根据预设JAVA消息队列,轮询获取告警报文。According to the preset JAVA message queue, poll to obtain alarm messages.
本实施例提到的JAVA消息队列指的是预先设置的包括需要获取告警报文的设备的地址接口信息,优选地,每隔预设时间,定期对其JAVA消息队列中存储的设备进行轮询,查询JAVA消息队列中的设备是否生成有待接收的告警报文,如果有,则接收当前设备发出的告警报文信息。The JAVA message queue mentioned in this embodiment refers to the preset interface information including the address of the device that needs to obtain the alarm message. Preferably, the device stored in the JAVA message queue is polled regularly every preset time. , to query whether the device in the JAVA message queue generates an alarm message to be received, and if so, receive the alarm message information sent by the current device.
通过轮询能够及时发现设备产生的新的告警报文,获取到设备的告警报文后,根据告警报文中的地址信息获取对应的告警的设备硬件信息,根据告警报文与设备硬件信息,结合预设模板生成对应的标准告警报文,将标准告警报文发送至管理平台。本申请通过将告警报文根据预设模板,统一格式,生成标准告警报文,并发送至管理平台,管理平台接收到的告警报文都是统一格式的,降低了管理平台需要处理不同厂商设备产生的不同格式的告警报文的解析复杂度,提高了管理平台的管理运维的效率。方便当前处理器及时处理告警报文。Through polling, new alarm packets generated by the device can be found in time. After the alarm packets of the device are obtained, the hardware information of the corresponding alarm device can be obtained according to the address information in the alarm packets. According to the alarm packets and device hardware information, Combined with the preset template, the corresponding standard alarm message is generated, and the standard alarm message is sent to the management platform. In this application, standard alarm messages are generated according to preset templates and in a unified format, and sent to the management platform. The alarm messages received by the management platform are all in a unified format, which reduces the need for the management platform to process equipment from different manufacturers. The complexity of parsing generated alarm messages in different formats improves the efficiency of management, operation and maintenance of the management platform. It is convenient for the current processor to process alarm messages in time.
需要说明的是,本实施例不限制消息队列的个数,例如可同时对多个消息队列进行轮询,提高轮询效率;本实施例也不限制轮询消息队列的周期,根据实际应用需要设计即可。It should be noted that this embodiment does not limit the number of message queues, for example, multiple message queues can be polled at the same time to improve the polling efficiency; this embodiment also does not limit the period of polling message queues, according to actual application needs Design it.
根据上述实施例,由于在实际应用环境中,为了实现个性化需求,本实施例提供一种优选方案,基于多厂商设备告警的运维管理方法,步骤S14将标准告警报文发送至管理平台之前,图2为本申请实施例提供的另一种基于多厂商设备告警的运维管理方法的流程图,如图2所示,还包括:According to the above embodiment, in order to achieve personalized requirements in an actual application environment, this embodiment provides a preferred solution. Based on the operation and maintenance management method for multi-vendor equipment alarms, step S14 sends a standard alarm message before sending the standard alarm message to the management platform. 2 is a flowchart of another operation and maintenance management method based on multi-vendor equipment alarms provided by an embodiment of the application, as shown in FIG. 2 , and further includes:
步骤S21根据标准告警报文结合预设告警需求判断是否将标准告警报文上报管理平台;Step S21 judges whether to report the standard alarm message to the management platform according to the standard alarm message in combination with the preset alarm requirement;
若是,进入步骤S14将标准告警报文发送至管理平台的步骤。If yes, go to step S14 of sending the standard alarm message to the management platform.
本实施例提到的预设告警需求指的是根据实际应用需要提前预设的一些判断条件,若标准告警报文包含的告警信息满足,则上报或者不上报管理平台,本实施例不具体限制预设告警需求的具体内容,例如,根据标准告警报文表征的告警设备判断是否需要上报管理平台,也可以根据标准告警报文包含的告警时间判断是否需要上报管理平台,某些时间段的告警可不上报管理平台,也可以根据标准告警报文包含的告警等级判断是否需要上报管理平台,若告警等级高于预设等级则上报管理平台,另外,也可以同时满足多个条件才上报管理平台,也可以满足任意一个就上报管理平台。The preset alarm requirements mentioned in this embodiment refer to some judgment conditions preset in advance according to actual application needs. If the alarm information contained in the standard alarm packet is satisfied, it will be reported or not reported to the management platform, which is not specifically limited in this embodiment. Preset the specific content of the alarm requirements, for example, according to the alarm device represented by the standard alarm message to determine whether it needs to be reported to the management platform, or according to the alarm time included in the standard alarm message to determine whether it needs to be reported to the management platform, alarms of certain time periods It is not necessary to report to the management platform, or it can be judged whether it needs to be reported to the management platform according to the alarm level contained in the standard alarm message. You can also report to the management platform if any one is satisfied.
本实施例提到的根据标准告警报文结合预设告警需求判断是否将标准告警报文上报管理平台指的是,根据标准告警报文包含的具体的告警特征信息,判断其是否满足预设告警需求,若满足将标准告警报文发送至管理平台。In this embodiment, judging whether to report the standard alarm message to the management platform according to the standard alarm message in combination with the preset alarm requirements refers to judging whether the standard alarm message satisfies the preset alarm according to the specific alarm feature information contained in the standard alarm message If the requirements are met, the standard alarm message will be sent to the management platform.
若判断不需要标准告警报文上报管理平台,则还包括:If it is judged that the standard alarm message does not need to be reported to the management platform, it also includes:
将标准告警报文进行终端处理。Terminal processing is performed on standard alarm packets.
本实施例提到的终端处理指的是消除当前标准告警报文,本实施例不限制具体处理方式,可以直接将当前的告警信息删除,也可以向当前标准告警报文表征的告警设备发送消除告警状态的指令,告警设计需要设计即可。The terminal processing mentioned in this embodiment refers to the elimination of the current standard alarm message. This embodiment does not limit the specific processing method. The current alarm information can be deleted directly, or the elimination can be sent to the alarm device represented by the current standard alarm message. The command of the alarm state, the alarm design needs to be designed.
获取到设备的告警报文后,根据告警报文中的地址信息获取对应的告警的设备硬件信息,根据告警报文与设备硬件信息,结合预设模板生成对应的标准告警报文,根据标准告警报文结合预设告警需求判断是否将标准告警报文上报管理平台,若是,将标准告警报文发送至管理平台,若否,将标准告警报文进行终端处理。本申请通过将告警报文根据预设模板,统一格式,生成标准告警报文,并发送至管理平台,管理平台接收到的告警报文都是统一格式的,降低了管理平台需要处理不同厂商设备产生的不同格式的告警报文的解析复杂度,提高了管理平台的管理运维的效率。After obtaining the alarm message of the device, obtain the corresponding alarm device hardware information according to the address information in the alarm message, generate the corresponding standard alarm message according to the alarm message and device hardware information, and combine the preset template, and generate the corresponding standard alarm message according to the standard alarm message. The message is combined with the preset alarm requirements to determine whether to report the standard alarm message to the management platform. If so, send the standard alarm message to the management platform. If not, the standard alarm message is processed by the terminal. In this application, standard alarm messages are generated according to preset templates and in a unified format, and sent to the management platform. The alarm messages received by the management platform are all in a unified format, which reduces the need for the management platform to process equipment from different manufacturers. The complexity of parsing generated alarm messages in different formats improves the efficiency of management, operation and maintenance of the management platform.
根据上述实施例,为了向管理平台发送的标准告警报文全面而简洁地包含告警信息,本实施例提供一种预设模板的优选方案,基于多厂商设备告警的运维管理方法,预设模板包含:告警流水号信息、设备IP地址信息、厂商及设备型号信息、设备序列号信息、告警标题信息、告警级别信息、告警状态信息、告警描述信息、告警发生时间信息。According to the above embodiment, in order to comprehensively and concisely include the alarm information in the standard alarm message sent to the management platform, this embodiment provides a preferred solution for preset templates. The operation and maintenance management method based on multi-vendor equipment alarms, preset templates Include: alarm serial number information, device IP address information, manufacturer and device model information, device serial number information, alarm title information, alarm severity information, alarm status information, alarm description information, and alarm occurrence time information.
本实施例提到的告警流水号信息指的是一条标准告警报文的唯一表示码,工作人员可通过告警流水号直接查询到该条标准告警报文,在后续的告警消除也使用同一告警流水号。即,当设备生成告警报文同时生成唯一的告警流水号,当该告警信息消除,恢复正常状态时,也使用同一告警流水号输出消除告警报文,管理平台向设备发送针对当前告警报文的控制指令时,也使用同一告警流水号,以方便进行查询。The alarm serial number information mentioned in this embodiment refers to the unique representation code of a standard alarm message. The staff can directly query the standard alarm message through the alarm serial number, and the same alarm serial number is used for subsequent alarm elimination. No. That is, when the device generates an alarm message and generates a unique alarm serial number, when the alarm information is cleared and the normal state is restored, the same alarm serial number is also used to output the cleared alarm message, and the management platform sends the device for the current alarm message. When controlling the command, the same alarm serial number is also used to facilitate the query.
本实施例提到的设备IP地址信息指的是告警的设备的互联网协议地址(InternetProtocol Address),IP地址是IP协议提供的一种统一的地址格式,它为互联网上的每一个网络和每一台主机分配一个逻辑地址,以此来屏蔽物理地址的差异。任何厂家生产的计算机系统,只要遵守IP协议就可以与因特网互连互通。IP地址的唯一性,保证了管理平台向告警的设备发送控制指令时能发送正确。The device IP address information mentioned in this embodiment refers to the Internet Protocol Address (Internet Protocol Address) of the alarming device. The IP address is a unified address format provided by the IP protocol, which is used for every network and every network on the Internet. Each host assigns a logical address to mask differences in physical addresses. Computer systems produced by any manufacturer can interconnect with the Internet as long as they comply with the IP protocol. The uniqueness of the IP address ensures that the management platform can send the control command correctly to the alarmed device.
本实施例提到的厂商及设备型号信息指的是该告警设备所属的厂商信息及该告警设备的型号信息,管理平台可通过厂商及设备型号信息判断出什么样的告警信息对应采取什么样的响应措施。The manufacturer and device model information mentioned in this embodiment refers to the manufacturer information to which the alarm device belongs and the model information of the alarm device. The management platform can determine what kind of alarm information corresponds to what kind of alarm information through the manufacturer and device model information. response measures.
本实施例提到的设备序列号信息,该序列号与设备功能相对应,具有唯一性,一般存储在设备主控模块的存储芯片中和贴在机器的铭牌标签上。设备的用户和制造商可通过该序列号对设备进行管理和远程维护升级。The device serial number information mentioned in this embodiment, the serial number corresponds to the device function and is unique, and is generally stored in the memory chip of the device main control module and affixed on the nameplate label of the machine. The user and manufacturer of the device can manage and remotely maintain and upgrade the device through this serial number.
本实施例提到的告警标题信息指的是当前告警的类型,例如,CPU温度阈值告警、电源输出功率阈值告警等,管理平台可直接通过告警标题信息了解到该标准告警报文表征什么类型的告警。The alarm title information mentioned in this embodiment refers to the type of the current alarm, for example, a CPU temperature threshold alarm, a power output power threshold alarm, etc. The management platform can directly learn what type of standard alarm message represents through the alarm title information. alert.
本实施例提到的告警级别信息指的是当前此告警的级别,例如将告警级别设置为严重警告、警告、一般警告;警告级别依次降低,警告级别越高,什么当前告警越紧急,可通过告警级别信息来判断当前告警是否优先处理,以及时处理严重的告警信息,排除故障。The alarm severity information mentioned in this embodiment refers to the current severity of the alarm. For example, the alarm severity is set to a serious warning, a warning, or a general warning; the alarm severity decreases in sequence. The higher the alarm severity, the more urgent the current alarm is. The alarm severity information is used to determine whether the current alarm is prioritized, and the serious alarm information can be processed in time to eliminate the fault.
优选地,根据标准告警报文结合预设告警需求判断是否将标准告警报文上报管理平台,包括:Preferably, whether to report the standard alarm message to the management platform is judged according to the standard alarm message in combination with the preset alarm requirements, including:
根据告警级别结合预设告警需求判断是否将标准告警报文上报管理平台。Determine whether to report standard alarm packets to the management platform according to the alarm severity and preset alarm requirements.
本实施例提到的告警状态信息指的是当前剩余同一告警流水号的告警信息的状态,例如告警信息生成、告警信息更新、告警信息消除,以是管理平台及时了解当前告警的状态,例如若为告警信息消除,则可以不继续处理此告警报文。The alarm status information mentioned in this embodiment refers to the status of the remaining alarm information of the same alarm serial number, such as alarm information generation, alarm information update, and alarm information elimination, so that the management platform can know the current alarm status in time. In order to clear the alarm information, it is not necessary to continue processing the alarm message.
本实施例提到的告警描述信息指的是当前告警信息的具体内容,管理平台可根据该内容做出针对性响应。The alarm description information mentioned in this embodiment refers to the specific content of the current alarm information, and the management platform can make a targeted response according to the content.
本实施例提到的告警发生时间信息指的是该告警的发生时间,通过该告警发生时间信息可做出不同的响应,例如,若告警发生时间为预先设置的设备调试阶段,则可以不处理该告警报文;若该告警发生时间距当前时间超过预设等待时间,则优先处理当前告警报文,以及时消除告警。The alarm occurrence time information mentioned in this embodiment refers to the occurrence time of the alarm, and different responses can be made according to the alarm occurrence time information. For example, if the alarm occurrence time is the preset equipment debugging stage, it is not necessary to process the alarm. This alarm message; if the time when the alarm occurs and the current time exceeds the preset waiting time, the current alarm message is preferentially processed, and the alarm is eliminated in time.
为了使本领域技术人员更好地理解本方案,本实施例提供一种具体示例,如下:In order for those skilled in the art to better understand the solution, this embodiment provides a specific example, as follows:
[1.3.6.1.4.1.xx.1=001,1.3.6.1.4.1.xx.2=100.7.32.100,1.3.6.1.4.1.xx.3=INSPUR-NF5280M5,1.3.6.1.4.1.xx.4=5723163,1.3.6.1.4.1.xx.5=CPU温度阈值告警,1.3.6.1.4.1.xx.6=Critical,1.3.6.1.4.1.xx.7=0,1.3.6.1.4.1.xx.8=CPU当前温度80,超过中度阈值78,1.3.6.1.4.1.xx.9=2022-04-1904:56:48][1.3.6.1.4.1.xx.1=001, 1.3.6.1.4.1.xx.2=100.7.32.100, 1.3.6.1.4.1.xx.3=INSPUR-NF5280M5, 1.3.6.1.4.1.xx.4 =5723163, 1.3.6.1.4.1.xx.5=CPU temperature threshold alarm, 1.3.6.1.4.1.xx.6=Critical, 1.3.6.1.4.1.xx.7=0, 1.3.6.1.4.1.xx. 8=CPU current temperature 80, exceeding the moderate threshold of 78, 1.3.6.1.4.1.xx.9=2022-04-1904:56:48]
报文中每个独立对象标识符解释如下:Each individual object identifier in the message is interpreted as follows:
1.3.6.1.4.1.xx.1表示告警流水号,作为唯一标识告警记录,告警产生和恢复是相同流水号。1.3.6.1.4.1.xx.2表示告警设备IP地址信息。1.3.6.1.4.1.xx.3表示厂商及设备型号信息。1.3.6.1.4.1.xx.4表示设备序列号信息。1.3.6.1.4.1.xx.5表示告警标题信息。1.3.6.1.4.1.xx.6表示告警级别信息(本示例将告警级别信息分为Critical,Warning以及Info三个级别,告警级别依次降低)。1.3.6.1.4.1.xx.7表示告警状态信息(本示例中0表示告警恢复;1表示告警产生;2表示告警更新)1.3.6.1.4.1.xx.8表示告警描述信息。1.3.6.1.4.1.xx.9表示告警发生时间。XX为作为整个系统的唯一标识号。1.3.6.1.4.1.xx.1 indicates the alarm serial number, which is used as the unique identification of the alarm record. The alarm generation and recovery are the same serial number. 1.3.6.1.4.1.xx.2 indicates the IP address information of the alarm device. 1.3.6.1.4.1.xx.3 indicates the manufacturer and device model information. 1.3.6.1.4.1.xx.4 indicates the device serial number information. 1.3.6.1.4.1.xx.5 indicates the alarm header information. 1.3.6.1.4.1.xx.6 indicates the alarm severity information (in this example, the alarm severity information is divided into three levels, Critical, Warning, and Info, and the alarm severity decreases in turn). 1.3.6.1.4.1.xx.7 represents alarm status information (in this example, 0 represents alarm recovery; 1 represents alarm generation; 2 represents alarm update). 1.3.6.1.4.1.xx.8 represents alarm description information. 1.3.6.1.4.1.xx.9 indicates the alarm occurrence time. XX is the unique identification number of the whole system.
将多厂商设备不同厂商设备产生的不同格式的告警报文统一格式,生成标准告警报文,并发送至管理平台,降低了管理平台需要处理告警报文的解析复杂度,提高了管理平台的管理运维的效率。Unify the format of alarm messages of different formats generated by equipment of different manufacturers, generate standard alarm messages, and send them to the management platform. Operational efficiency.
本实施例提供一种方案,基于多厂商设备告警的运维管理方法,根据标准告警报文结合预设告警需求判断是否将标准告警报文上报管理平台之前,还包括:This embodiment provides a solution. The operation and maintenance management method based on multi-vendor equipment alarms, before judging whether to report the standard alarm packets to the management platform according to the standard alarm packets and the preset alarm requirements, further includes:
接收管理平台发送的预设告警需求。Receive preset alarm requirements sent by the management platform.
本实施例不限制管理平台的数量,接收管理平台发送的预设告警需求,不同的管理平台可能有不同的告警需求,例如,不同的管理平台接收不同类的告警信息,因此,需要根据预设告警需求判断将当前标准告警报文发送给哪一个管理平台;管理平台下发的预设告警需求还可以包括限制发送的标志告警报文的告警等级,高于预设等级,将前标准告警报文发送给管理平台。另外,若所述预设告警需求表征发送原始数据;This embodiment does not limit the number of management platforms, and receives preset alarm requirements sent by the management platform. Different management platforms may have different alarm requirements. For example, different management platforms receive different types of alarm information. The alarm requirement determines which management platform to send the current standard alarm message to; the preset alarm requirement issued by the management platform can also include the alarm level of the flag alarm message that is restricted to be sent. The document is sent to the management platform. In addition, if the preset alarm requirement represents sending original data;
则将告警报文发送至对应的管理平台。Then send the alarm message to the corresponding management platform.
根据不同管理平台的预设告警需求,实现个性化、差异化处理,提高管理平台的管理运维的效率,提升了系统研发人员的工作效率。According to the preset alarm requirements of different management platforms, individualized and differentiated processing is realized, which improves the efficiency of management, operation and maintenance of the management platform, and improves the work efficiency of system R&D personnel.
在上述实施例中,对于基于多厂商设备告警的运维管理方法进行了详细描述,本申请还提供基于多厂商设备告警的运维管理装置对应的实施例。需要说明的是,本申请从两个角度对装置部分的实施例进行描述,一种是基于功能模块的角度,另一种是基于硬件的角度。In the above embodiments, the operation and maintenance management method based on multi-vendor equipment alarms is described in detail, and the present application also provides embodiments corresponding to the operation and maintenance management apparatus based on multi-vendor equipment alarms. It should be noted that this application describes the embodiments of the device part from two perspectives, one is based on the perspective of functional modules, and the other is based on the perspective of hardware.
图3为本申请实施例提供的一种基于多厂商设备告警的运维管理装置的示意图,如图3所示,基于多厂商设备告警的运维管理装置包括:3 is a schematic diagram of an operation and maintenance management apparatus based on multi-vendor equipment alarms provided by an embodiment of the present application. As shown in FIG. 3 , the operation and maintenance management apparatus based on multi-vendor equipment alarms includes:
获取原始告警报文模块31,用于获取所述设备的告警报文;obtaining the original
获取模块32,用于根据所述告警报文中的地址信息获取对应的设备硬件信息;an obtaining
生成模块33,用于根据所述告警报文与所述设备硬件信息,结合预设模板生成对应的标准告警报文;A generating
发送模块34,用于将所述标准告警报文发送至管理平台。The sending
具体地,当设备当发生故障时,生成包含故障信息及其他基本信息的告警报文,获取原始告警报文模块31获取到所述设备的告警报文;获取模块32根据所述告警报文中的地址信息获取对应的设备硬件信息;生成模块33根据所述告警报文与所述设备硬件信息,结合预设模板生成对应的标准告警报文;发送模块34将所述标准告警报文发送至管理平台。管理平台接收到的告警报文都是统一格式的,降低了管理平台需要处理不同厂商设备产生的不同格式的告警报文的解析复杂度,提高了管理平台的管理运维的效率。Specifically, when the device fails, it generates an alarm message including the failure information and other basic information, and the obtaining original
优选地,本实施例提到的预设模板包含:告警流水号信息、设备IP地址信息、厂商及设备型号信息、设备序列号信息、告警标题信息、告警级别信息、告警状态信息、告警描述信息、告警发生时间信息。Preferably, the preset template mentioned in this embodiment includes: alarm serial number information, device IP address information, manufacturer and device model information, device serial number information, alarm title information, alarm severity information, alarm status information, and alarm description information , Alarm occurrence time information.
另外,基于多厂商设备告警的运维管理装置还包括:In addition, the operation and maintenance management device based on multi-vendor equipment alarms also includes:
获取原始告警报文模块31包括第一获取子单元,用于根据预设JAVA消息队列,轮询获取告警报文;通过轮询能够及时发现设备产生的新的告警报文,方便当前处理器及时处理告警报文。The obtaining original
还包括,判断模块,用于根据标准告警报文结合预设告警需求判断是否将标准告警报文上报管理平台;若是,触发发送模块34,将所述标准告警报文发送至管理平台。若否,触发终端处理模块,终端处理模块用于将标准告警报文进行终端处理。根据实际应用需要提前预设的一些判断条件,若标准告警报文包含的告警信息满足,则上报或者不上报管理平台,本实施例不具体限制预设告警需求的具体内容,例如,根据标准告警报文表征的告警设备判断是否需要上报管理平台,也可以根据标准告警报文包含的告警时间判断是否需要上报管理平台,某些时间段的告警可不上报管理平台,也可以根据标准告警报文包含的告警等级判断是否需要上报管理平台,若告警等级高于预设等级则上报管理平台,另外,也可以同时满足多个条件才上报管理平台,也可以满足任意一个就上报管理平台。本实施例提到的终端处理指的是消除当前标准告警报文,本实施例不限制具体处理方式,可以直接将当前的告警信息删除,也可以向当前标准告警报文表征的告警设备发送消除告警状态的指令,告警设计需要设计即可。It also includes a judgment module for judging whether to report the standard alarm message to the management platform according to the standard alarm message combined with the preset alarm requirement; if so, triggering the sending
由于装置部分的实施例与方法部分的实施例相互对应,因此装置部分的实施例请参见方法部分的实施例的描述,这里暂不赘述。Since the embodiment of the apparatus part corresponds to the embodiment of the method part, for the embodiment of the apparatus part, please refer to the description of the embodiment of the method part, which will not be repeated here.
图4为本申请实施例提供的另一种基于多厂商设备告警的运维管理装置的结构图,如图4所示,基于多厂商设备告警的运维管理装置包括:存储器40,用于存储计算机程序;FIG. 4 is a structural diagram of another operation and maintenance management apparatus based on multi-vendor equipment alarms provided by an embodiment of the present application. As shown in FIG. 4 , the operation and maintenance management apparatus based on multi-vendor equipment alarms includes: a memory 40 for storing Computer program;
处理器41,用于执行计算机程序时实现如上述实施例基于多厂商设备告警的运维管理方法的步骤。The processor 41 is configured to implement the steps of the operation and maintenance management method based on multi-vendor equipment alarms as in the foregoing embodiment when executing the computer program.
本实施例提供的基于多厂商设备告警的运维管理装置可以包括但不限于智能手机、平板电脑、笔记本电脑或台式电脑等。The apparatus for operation and maintenance management based on multi-vendor equipment alarms provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
其中,处理器41可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器41可以采用数字信号处理器(Digital Signal Processor,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器41也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器(CentralProcessing Unit,CPU);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器41可以在集成有图像处理器(Graphics Processing Unit,GPU),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器41还可以包括人工智能(Artificial Intelligence,AI)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 41 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 41 may adopt at least one hardware form of a digital signal processor (Digital Signal Processor, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA). accomplish. The processor 41 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake-up state, also called a central processing unit (CPU); A low-power processor for processing data in a standby state. In some embodiments, the processor 41 may be integrated with a graphics processor (Graphics Processing Unit, GPU), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 41 may further include an artificial intelligence (Artificial Intelligence, AI) processor for processing computing operations related to machine learning.
存储器40可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器40还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。本实施例中,存储器40至少用于存储以下计算机程序401,其中,该计算机程序被处理器41加载并执行之后,能够实现前述任一实施例公开的基于多厂商设备告警的运维管理方法的相关步骤。另外,存储器40所存储的资源还可以包括操作系统402和数据403等,存储方式可以是短暂存储或者永久存储。其中,操作系统402可以包括Windows、Unix、Linux等。数据403可以包括但不限于实现基于多厂商设备告警的运维管理方法所涉及到的数据等。Memory 40 may include one or more computer-readable storage media, which may be non-transitory. Memory 40 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash storage devices. In this embodiment, the memory 40 is at least used to store the following computer program 401, wherein, after the computer program is loaded and executed by the processor 41, it can realize the operation and maintenance management method based on the multi-vendor equipment alarm disclosed in any of the foregoing embodiments. related steps. In addition, the resources stored in the memory 40 may also include an operating system 402, data 403, etc., and the storage mode may be short-term storage or permanent storage. The operating system 402 may include Windows, Unix, Linux, and the like. The data 403 may include, but is not limited to, data involved in implementing the operation and maintenance management method based on multi-vendor equipment alarms, and the like.
在一些实施例中,基于多厂商设备告警的运维管理装置还可包括有显示屏42、输入输出接口43、通信接口44、电源45以及通信总线46。In some embodiments, the operation and maintenance management apparatus based on multi-vendor equipment alarms may further include a display screen 42 , an input and output interface 43 , a communication interface 44 , a power supply 45 and a communication bus 46 .
本领域技术人员可以理解,图4中示出的结构并不构成对基于多厂商设备告警的运维管理装置的限定,可以包括比图示更多或更少的组件。Those skilled in the art can understand that the structure shown in FIG. 4 does not constitute a limitation on the operation and maintenance management apparatus based on multi-vendor equipment alarms, and may include more or less components than shown.
本申请实施例提供的基于多厂商设备告警的运维管理装置,包括存储器和处理器,处理器在执行存储器存储的程序时,能够实现如下方法:基于多厂商设备告警的运维管理方法。当设备当发生故障时,生成包含故障信息及其他基本信息的告警报文,获取到设备的告警报文后,根据告警报文中的地址信息获取对应的告警的设备硬件信息,根据告警报文与设备硬件信息,结合预设模板生成对应的标准告警报文,将标准告警报文发送至管理平台。本申请通过将告警报文根据预设模板,统一格式,生成标准告警报文,并发送至管理平台,管理平台接收到的告警报文都是统一格式的,降低了管理平台需要处理不同厂商设备产生的不同格式的告警报文的解析复杂度,提高了管理平台的管理运维的效率。The operation and maintenance management apparatus based on multi-vendor equipment alarms provided by the embodiments of the present application includes a memory and a processor. When the processor executes a program stored in the memory, the processor can implement the following method: an operation and maintenance management method based on multi-vendor equipment alarms. When a device fails, it generates an alarm packet containing the fault information and other basic information. After obtaining the alarm packet of the device, it obtains the corresponding alarm device hardware information according to the address information in the alarm packet. Combined with the device hardware information and the preset template, the corresponding standard alarm message is generated, and the standard alarm message is sent to the management platform. In this application, standard alarm messages are generated according to preset templates and in a unified format, and sent to the management platform. The alarm messages received by the management platform are all in a unified format, which reduces the need for the management platform to process equipment from different manufacturers. The complexity of parsing generated alarm messages in different formats improves the efficiency of management, operation and maintenance of the management platform.
最后,本申请还提供一种计算机可读存储介质对应的实施例。计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如上述基于多厂商设备告警的运维管理方法实施例中记载的步骤。Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps described in the foregoing embodiments of the operation and maintenance management method based on multi-vendor equipment alarms are implemented.
可以理解的是,如果上述实施例中的方法以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。It can be understood that, if the methods in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
本实施例提供的计算机可读存储介质,其上存储有计算机程序,当处理器执行该程序时,可实现以下方法:基于多厂商设备告警的运维管理方法,当设备当发生故障时,生成包含故障信息及其他基本信息的告警报文,获取到设备的告警报文后,根据告警报文中的地址信息获取对应的告警的设备硬件信息,根据告警报文与设备硬件信息,结合预设模板生成对应的标准告警报文,将标准告警报文发送至管理平台。本申请通过将告警报文根据预设模板,统一格式,生成标准告警报文,并发送至管理平台,管理平台接收到的告警报文都是统一格式的,降低了管理平台需要处理不同厂商设备产生的不同格式的告警报文的解析复杂度,提高了管理平台的管理运维的效率。The computer-readable storage medium provided in this embodiment has a computer program stored thereon, and when the processor executes the program, the following method can be implemented: an operation and maintenance management method based on multi-vendor equipment alarms, when the equipment fails, generate Alarm packets containing fault information and other basic information. After obtaining the alarm packets of the device, obtain the corresponding alarm device hardware information according to the address information in the alarm packets. According to the alarm packets and device hardware information, combine the preset The template generates corresponding standard alarm packets and sends the standard alarm packets to the management platform. In this application, standard alarm messages are generated according to preset templates and in a unified format, and sent to the management platform. The alarm messages received by the management platform are all in a unified format, which reduces the need for the management platform to process equipment from different manufacturers. The complexity of parsing generated alarm messages in different formats improves the efficiency of management, operation and maintenance of the management platform.
以上对本申请所提供的基于多厂商设备告警的运维管理方法、装置及计算机可读存储介质进行了详细介绍。说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。The method, device, and computer-readable storage medium for operation and maintenance management based on multi-vendor equipment alarms provided by the present application are described above in detail. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of the present application, several improvements and modifications can also be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities or operations. There is no such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210606642.0A CN114978861A (en) | 2022-05-31 | 2022-05-31 | Operation and maintenance management method, device and medium based on multi-manufacturer equipment alarm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210606642.0A CN114978861A (en) | 2022-05-31 | 2022-05-31 | Operation and maintenance management method, device and medium based on multi-manufacturer equipment alarm |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114978861A true CN114978861A (en) | 2022-08-30 |
Family
ID=82958606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210606642.0A Pending CN114978861A (en) | 2022-05-31 | 2022-05-31 | Operation and maintenance management method, device and medium based on multi-manufacturer equipment alarm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114978861A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115664934A (en) * | 2022-10-21 | 2023-01-31 | 济南浪潮数据技术有限公司 | A method, device and medium for alarm processing |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109684176A (en) * | 2018-12-26 | 2019-04-26 | 广东浪潮大数据研究有限公司 | A kind of report method of warning information, system and associated component |
WO2020029407A1 (en) * | 2018-08-08 | 2020-02-13 | 平安科技(深圳)有限公司 | Alarm data management method and apparatus, and computer device and storage medium |
WO2021008414A1 (en) * | 2019-07-17 | 2021-01-21 | 深圳市智物联网络有限公司 | Alarm method for internet of things device, and related apparatus |
CN112491593A (en) * | 2020-11-12 | 2021-03-12 | 中国联合网络通信集团有限公司 | Network element alarm processing method and device |
CN114070711A (en) * | 2021-06-22 | 2022-02-18 | 北京天元创新科技有限公司 | Method, device, electronic device and storage medium for processing alarm information |
CN114465881A (en) * | 2022-01-26 | 2022-05-10 | 苏州浪潮智能科技有限公司 | Alarm information storage and sending method and related device |
-
2022
- 2022-05-31 CN CN202210606642.0A patent/CN114978861A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020029407A1 (en) * | 2018-08-08 | 2020-02-13 | 平安科技(深圳)有限公司 | Alarm data management method and apparatus, and computer device and storage medium |
CN109684176A (en) * | 2018-12-26 | 2019-04-26 | 广东浪潮大数据研究有限公司 | A kind of report method of warning information, system and associated component |
WO2021008414A1 (en) * | 2019-07-17 | 2021-01-21 | 深圳市智物联网络有限公司 | Alarm method for internet of things device, and related apparatus |
CN112491593A (en) * | 2020-11-12 | 2021-03-12 | 中国联合网络通信集团有限公司 | Network element alarm processing method and device |
CN114070711A (en) * | 2021-06-22 | 2022-02-18 | 北京天元创新科技有限公司 | Method, device, electronic device and storage medium for processing alarm information |
CN114465881A (en) * | 2022-01-26 | 2022-05-10 | 苏州浪潮智能科技有限公司 | Alarm information storage and sending method and related device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115664934A (en) * | 2022-10-21 | 2023-01-31 | 济南浪潮数据技术有限公司 | A method, device and medium for alarm processing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108600029B (en) | A configuration file updating method, device, terminal device and storage medium | |
EP0585082B1 (en) | Computer management system and associated management information base | |
CN103605722B (en) | Database monitoring method and device, equipment | |
CN112351035B (en) | Industrial control security situation sensing method, device and medium | |
CN111447109A (en) | Monitoring management apparatus and method, computer readable storage medium | |
CN109450693B (en) | Hybrid cloud monitoring system and monitoring method using same | |
CN109039733A (en) | A kind of alarm method, system and electronic equipment and storage medium | |
CN108337308B (en) | Data communication method, device and system for LWM2M client and upper computer | |
CN111130821B (en) | Power failure alarm method, processing method and device | |
CN114978861A (en) | Operation and maintenance management method, device and medium based on multi-manufacturer equipment alarm | |
JP2005124204A (en) | Network monitoring method and system | |
CN116401109A (en) | A control method, device, and medium for a chassis management system | |
CN104778825B (en) | Equipment of intelligent cell and alarm event processing method and system thereof | |
CN109995782B (en) | Information processing method, device, system and computer storage medium | |
CN107273272A (en) | The monitoring method and device of a kind of hot-plug equipment | |
CN113220481A (en) | Request processing and feedback method and device, computer equipment and readable storage medium | |
CN113010379A (en) | Electronic equipment monitoring system | |
CN116112342A (en) | Alarm information processing method, device, electronic equipment and storage medium | |
CN116582387A (en) | Message sending method, device and equipment | |
CN107241415A (en) | A kind of collocation method and device in management information bank MIB storehouses | |
CN113438093A (en) | Alarm method, device and equipment | |
WO2016202025A1 (en) | Trap message processing method and apparatus | |
CN118368196B (en) | Traffic execution management method, device, electronic equipment and storage medium | |
CN107682185A (en) | MANO management methods and device | |
CN114465880A (en) | A method, device and medium for confirming faulty network port based on BMC |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |