An alarm information processing method and device
By establishing a communication connection between the network management device and the message middleware, and using the filtering and format conversion functions of the message middleware, the quality problem of network management devices adapting to third-party message platforms is solved, and efficient alarm information processing and network management performance improvement is achieved.
Patent Information
- Application Number
- CN202110933806.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-15
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2041-08-15
AI Technical Summary
The problem of difficult quality control caused by data adaptation of various third-party message platforms on network management equipment, especially due to commercial confidentiality and legal reasons, some message platform agreements and mechanisms are difficult to obtain, resulting in increased technical risks and sunk costs.
By establishing a communication connection between the network management device and the message middleware, using the alarm information filtering conditions and format conversion functions of the message middleware, the filtering and format adaptation of the alarm information is realized, the development work on the network management device is reduced, and the processed alarm information is directly sent to the third-party message platform.
It improves the network management performance of network management equipment, reduces the cost and technical risks of adapting to various third-party messaging platforms, and ensures the product quality of network management equipment.
Smart Images

Figure CN113778789B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data processing, and particularly to an alarm information processing method and device. Background Art
[0002] An alarm is a kind of information generated by a network management device according to records such as Traps and Syslogs sent by devices, and is used to feedback problems of current devices, software, and networks. It records information such as the device where the problem occurs, the problem situation, the problem level, and the occurrence time, for the network administrator of the customer to analyze and process.
[0003] Under the current complex network and technical background, network management devices are often required to forward the generated alarms to different third-party systems, including various message platforms such as emails, text messages, social software, and industry software. These message platforms have different information formats and protocols internally, and the adaptation time and labor costs are relatively high. At the same time, due to commercial confidentiality and legal reasons, some message platforms are not publicly available, and the difficulty of accurately and timely forwarding the alarms generated by network management devices to the specified third-party systems has increased significantly.
[0004] Currently, it is usually necessary to adapt to each message platform one by one. For example, if customer A needs to connect the alarms of the network management device to the IBM warning server, then it is necessary to develop and adapt the network management device for the IBM warning server, and launch a specific version for customer A to use. The alarm forwarding methods for different platforms are not universal, the implementation cost is high, and the quality of the network management device is difficult to control due to technical risks. Currently, each industry and even each enterprise has its own message platform, and the adaptation time and labor costs are relatively high. Due to commercial barriers, it is difficult to obtain the complete protocols and mechanisms of many message platforms, resulting in an increase in technical risks and sunk costs. Summary of the Invention
[0005] This application provides an alarm message processing method and device, which are used to solve the problem in the prior art that the quality of the network management device is difficult to control due to data adaptation to each third-party message platform on the network management device.
[0006] In a first aspect, this application provides an alarm information processing method, which is applied to a network management device, and the method includes:
[0007] Receiving registration information sent by each message middleware, where the registration information sent by one message middleware includes the unique identifier of the message middleware and the alarm information filtering condition corresponding to the message middleware;
[0008] Establishing communication connections with the respective message middlewares;
[0009] When a warning message is detected, based on the warning message filtering condition corresponding to the target message middleware, determine the target warning message required by the target message middleware, and send the target warning message to the target message middleware, so that the target message middleware processes the target warning message and sends the processed target warning message to the corresponding third-party message platform.
[0010] Optionally, the step of receiving the registration information sent by each message middleware includes:
[0011] Receive the communication connection establishment requests sent by each middleware, where the communication connection establishment requests carry registration information.
[0012] Optionally, the step of establishing communication connections with each of the message middleware respectively includes:
[0013] Establish http long connections with each of the message middleware respectively.
[0014] In a second aspect, the present application provides a warning message processing method, which is applied to a message middleware, and the method includes:
[0015] Send registration information to the network management device, where the registration information includes the unique identifier of the message middleware and the warning message filtering condition corresponding to the message middleware;
[0016] Establish a communication connection with the network management device;
[0017] Receive the target warning message sent by the network management device, process the target warning message, and send the processed target warning message to the corresponding third-party message platform, where the network management device, when detecting the generation of a warning message, determines the target warning message required by the message middleware based on the warning message filtering condition corresponding to the message middleware, and sends the target warning message to the target message middleware.
[0018] Optionally, the step of processing the target warning message and sending the processed target warning message to the corresponding third-party message platform includes:
[0019] Perform format conversion processing on the target warning message based on a specified data format, where the specified data format is a data format adapted to the third-party message platform connected to the message middleware;
[0020] Send the processed target warning message to the corresponding third-party message platform based on a specified transport protocol, where the specified transport protocol is a transport protocol adapted to the third-party message platform connected to the message middleware.
[0021] In a third aspect, the present application provides an alarm information processing device, which is applied to a network management device. The device includes:
[0022] A receiving unit, configured to receive registration information sent by each message middleware. Among them, the registration information sent by a message middleware includes the unique identifier of the message middleware and the alarm information filtering condition corresponding to the message middleware;
[0023] A establishing unit, configured to establish communication connections with the respective message middlewares;
[0024] A determining unit, configured to, when detecting the generation of alarm information, determine the target alarm information required by the target message middleware based on the alarm information filtering condition corresponding to the target message middleware, and send the target alarm information to the target message middleware, so that the target message middleware processes the target alarm information and sends the processed target alarm information to the corresponding third-party message platform.
[0025] Optionally, when receiving the registration information sent by each message middleware, the receiving unit is specifically configured to:
[0026] Receive communication connection establishment requests sent by each middleware, where the communication connection establishment requests carry registration information.
[0027] Optionally, when establishing communication connections with the respective message middlewares, the establishing unit is specifically configured to:
[0028] Establish http long connections with the respective message middlewares.
[0029] In a fourth aspect, the present application provides an alarm information processing device, which is applied to a message middleware. The device includes:
[0030] A sending unit, configured to send registration information to a network management device. Among them, the registration information includes the unique identifier of the message middleware and the alarm information filtering condition corresponding to the message middleware;
[0031] A establishing unit, configured to establish a communication connection with the network management device;
[0032] A receiving unit, configured to receive the target alarm information sent by the network management device, process the target alarm information, and send the processed target alarm information to the corresponding third-party message platform. Among them, when the network management device detects the generation of alarm information, it determines the target alarm information required by the message middleware based on the alarm information filtering condition corresponding to the message middleware, and sends the target alarm information to the target message middleware.
[0033] Optionally, when processing the target alarm information and sending the processed target alarm information to the corresponding third-party message platform, the receiving unit is specifically configured to:
[0034] Perform format conversion processing on the target alarm information based on a specified data format, where the specified data format is a data format adapted to the third-party message platform connected to the message middleware;
[0035] Send the processed target alarm information to the corresponding third-party message platform based on a specified transmission protocol, where the specified transmission protocol is a transmission protocol adapted to the third-party message platform connected to the message middleware.
[0036] In a fifth aspect, an embodiment of the present application provides an alarm information processing device, and the alarm information processing device includes:
[0037] A memory for storing program instructions;
[0038] A processor for calling the program instructions stored in the memory and executing the steps of the method according to any one of the above first aspects according to the obtained program instructions.
[0039] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause the computer to execute the steps of the method according to any one of the above first aspects.
[0040] In a seventh aspect, an embodiment of the present application provides an alarm information processing device, and the alarm information processing device includes:
[0041] A memory for storing program instructions;
[0042] A processor for calling the program instructions stored in the memory and executing the steps of the method according to any one of the above second aspects according to the obtained program instructions.
[0043] In an eighth aspect, an embodiment of the present application further provides a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause the computer to execute the steps of the method according to any one of the above second aspects.
[0044] In summary, the alarm information processing method provided by the embodiments of the present application is applied to a network management device. The method includes: receiving registration information sent by each message middleware, where the registration information sent by one message middleware includes the unique identifier of the message middleware and the alarm information filtering condition corresponding to the message middleware; establishing communication connections with the respective message middleware; when detecting the generation of alarm information, determining the target alarm information required by the target message middleware based on the alarm information filtering condition corresponding to the target message middleware, and sending the target alarm information to the target message middleware, so that the target message middleware processes the target alarm information and sends the processed target alarm information to the corresponding third-party message platform.
[0045] By using the alarm information processing method provided by the embodiments of the present application, through the message middleware to connect to the third-party message platform, the data format conversion and adaptation operation is migrated from the network management device to the message middleware, ensuring the quality of the network management device itself. At the same time, when adapting to each third-party message platform, only the corresponding middleware needs to be developed, without developing on the network management device to adapt to each third-party message platform, decoupling the function and data format adaptation function of the network management device and improving the network management performance of the network management device. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for describing the embodiments of the present application or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in the present application. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings of the embodiments of the present application.
[0047] Figure 1 It is a detailed flowchart of an alarm information processing method provided by an embodiment of the present application;
[0048] Figure 2 It is a detailed flowchart of another alarm information processing method provided by an embodiment of the present application;
[0049] Figure 3 It is a schematic structural diagram of an alarm information processing system provided by an embodiment of the present application;
[0050] Figure 4 It is a schematic structural diagram of an alarm information processing device provided by an embodiment of the present application;
[0051] Figure 5 It is a schematic structural diagram of another alarm information processing device provided by an embodiment of the present application;
[0052] Figure 6Schematic structural diagram of the network management device provided by an embodiment of the present application;
[0053] Figure 7 Schematic structural diagram of the message middleware provided by an embodiment of the present application. Detailed implementation manners
[0054] The terms used in the embodiments of the present application are merely for the purpose of describing specific embodiments and do not limit the present application. The singular forms "a", "the", and "said" used in the present application and the claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to any or all possible combinations of one or more of the associated listed items.
[0055] It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, in addition, the word "if" used may be interpreted as "when" or "while" or "in response to determining".
[0056] Exemplarily, referring to Figure 1 as shown, it is a detailed flowchart of an alarm information processing method provided by an embodiment of the present application. This method is applied to a network management device and includes the following steps:
[0057] Step 100: Receive the registration information sent by each message middleware. Among them, the registration information sent by a message middleware includes the unique identifier of the message middleware and the alarm information filtering condition corresponding to the message middleware.
[0058] In the embodiments of the present application, when receiving the registration information sent by each message middleware, a preferred implementation manner is to receive the communication connection establishment requests sent by each middleware, where the communication connection establishment requests carry the registration information.
[0059] That is to say, the message middleware establishes a physical link with the network management device. When it is determined that the network management device is started, the message middleware sends the registration information to the network management device through the registered interface. Specifically, the registration information may include the unique identifier of the message middleware (such as UUID) and the alarm information filtering condition (i.e., the alarm information forwarding condition) and other information.
[0060] Among them, the UUID in the registration information is used to identify the message middleware that maintains communication through an HTTP long connection. Therefore, a network management device can communicate with multiple message middleware. These message middleware can forward alarm information to different information platforms. The protocols and languages used by the message middleware can be different, enhancing the functional flexibility of the entire system.
[0061] Specifically, when the message middleware determines that the network management device starts, it sends a communication connection establishment request to the network management device, and the registration information can be carried in this communication connection establishment request.
[0062] Step 110: Establish communication connections with each of the message middleware respectively.
[0063] Specifically, the network management device can establish a communication connection with the message middleware according to the communication connection establishment request sent by the message middleware.
[0064] In the embodiment of the present application, when establishing communication connections with each of the message middleware respectively, a preferred implementation manner is to establish http long connections with each of the message middleware respectively.
[0065] Step 120: When detecting the generation of alarm information, based on the alarm information filtering condition corresponding to the target message middleware, determine the target alarm information required by the target message middleware, and send the target alarm information to the target message middleware, so that the target message middleware processes the target alarm information and sends the processed target alarm information to the corresponding third-party message platform.
[0066] It should be noted that in the embodiment of the present application, the target message middleware is any message middleware that has established a communication connection with the network management device.
[0067] After the network management device detects a newly generated alarm message, based on the alarm information filtering conditions corresponding to each message middleware, it filters the newly generated alarm information respectively to determine the target alarm messages required by each message middleware.
[0068] Then, the network management device sends the filtered target alarm messages to the corresponding message middleware respectively. Since the message middleware is connected to a third-party message platform and the alarm messages need to be finally forwarded to the third-party message platform, after the message middleware receives the target alarm message sent by the network management device, it needs to perform format conversion processing on the received target alarm message to adapt to the third-party message platform, and forward the processed target alarm information to the third-party message platform.
[0069] Exemplarily, refer to Figure 2As shown in the figure, it is a detailed flowchart of an alarm information processing method provided by an embodiment of the present application. This method is applied to a message middleware, and the method includes the following steps:
[0070] Step 200: Send registration information to the network management device, where the registration information includes the unique identifier of the message middleware and the alarm information filtering condition corresponding to the message middleware.
[0071] Step 210: Establish a communication connection with the network management device.
[0072] Step 220: Receive the target alarm information sent by the network management device, process the target alarm information, and send the processed target alarm information to the corresponding third-party message platform. When the network management device detects the generation of alarm information, based on the alarm information filtering condition corresponding to the message middleware, it determines the target alarm information required by the message middleware and sends the target alarm information to the target message middleware.
[0073] In an embodiment of the present application, when processing the target alarm information and sending the processed target alarm information to the corresponding third-party message platform, a preferred implementation is to perform format conversion processing on the target alarm information based on a specified data format, where the specified data format is a data format adapted to the third-party message platform connected to the message middleware; send the processed target alarm information to the corresponding third-party message platform based on a specified transmission protocol, where the specified transmission protocol is a transmission protocol adapted to the third-party message platform connected to the message middleware.
[0074] Next, the structure of the alarm message processing system provided by the embodiment of the present application will be described in detail in combination with a specific application scenario. Exemplarily, refer to Figure 3 As shown in the figure, it is a schematic structural diagram of an alarm message processing system provided by an embodiment of the present application, including a network management device, a message middleware, and a third-party message platform. The message middleware sends registration information to the network management device, and the registration information includes an alarm information filtering condition. The network management device stores the registration information sent by each message middleware locally. When the network management device determines the generation of new alarm information, it filters the new alarm information based on the alarm information filtering condition corresponding to the message middleware to obtain the target alarm information and sends it to the message middleware. The message middleware performs format conversion on the received target alarm information and sends the format-converted alarm information to the third-party message platform.
[0075] Exemplarily, refer to Figure 4 As shown in the figure, it is a schematic structural diagram of an alarm message processing device provided by an embodiment of the present application. This device is applied to the network management device, and the device includes:
[0076] A receiving unit 40, configured to receive registration information sent by each message middleware, where the registration information sent by one message middleware includes the unique identifier of the message middleware and the alarm information filtering condition corresponding to the message middleware;
[0077] A establishing unit 41, configured to establish communication connections with the respective message middleware respectively;
[0078] A determining unit 42, configured to, when detecting the generation of alarm information, determine the target alarm information required by the target message middleware based on the alarm information filtering condition corresponding to the target message middleware, and send the target alarm information to the target message middleware, so that the target message middleware processes the target alarm information and sends the processed target alarm information to the corresponding third-party message platform.
[0079] Optionally, when receiving the registration information sent by each message middleware, the receiving unit 40 is specifically configured to:
[0080] Receive communication connection establishment requests sent by each middleware, where the communication connection establishment requests carry registration information.
[0081] Optionally, when establishing communication connections with the respective message middleware respectively, the establishing unit 41 is specifically configured to:
[0082] Establish http long connections with the respective message middleware respectively.
[0083] Further, referring to Figure 5 shown in the figure, is a schematic structural diagram of an alarm message processing device provided by an embodiment of the present application. The device is applied to a message middleware, and the device includes:
[0084] A sending unit 50, configured to send registration information to a network management device, where the registration information includes the unique identifier of the message middleware and the alarm information filtering condition corresponding to the message middleware;
[0085] A establishing unit 51, configured to establish a communication connection with the network management device;
[0086] A receiving unit 52, configured to receive the target alarm information sent by the network management device, process the target alarm information, and send the processed target alarm information to the corresponding third-party message platform, where the network management device, when detecting the generation of alarm information, determines the target alarm information required by the message middleware based on the alarm information filtering condition corresponding to the message middleware, and sends the target alarm information to the target message middleware.
[0087] Optionally, when processing the target alarm information and sending the processed target alarm information to the corresponding third-party messaging platform, the receiving unit 52 is specifically configured to:
[0088] Perform format conversion processing on the target alarm information based on a specified data format, where the specified data format is a data format adapted to the third-party messaging platform connected to the message middleware;
[0089] Send the processed target alarm information to the corresponding third-party messaging platform based on a specified transmission protocol, where the specified transmission protocol is a transmission protocol adapted to the third-party messaging platform connected to the message middleware.
[0090] The above units may be one or more integrated circuits configured to implement the above methods. For example: one or more application specific integrated circuits (ASICs), or, one or more digital signal processors (DSPs), or, one or more field programmable gate arrays (FPGAs), etc. Again, when a certain unit above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program code. Again, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0091] Further, for the network management device provided in the embodiments of the present application, from a hardware level, the schematic diagram of the hardware architecture of the network management device can be seen Figure 6 as shown, and the network management device may include: a memory 60 and a processor 61.
[0092] The memory 60 is used to store program instructions; the processor 61 calls the program instructions stored in the memory 60 and executes the method embodiments applied to the network management device according to the obtained program instructions. The specific implementation manners and technical effects are similar and will not be elaborated here.
[0093] Optionally, the present application further provides a network management device, including at least one processing element (or chip) for executing the method embodiments applied to the network management device described above.
[0094] Optionally, the present application further provides a program product, such as a computer-readable storage medium, which stores computer-executable instructions for causing the computer to execute the method embodiments applied to the network management device as described above.
[0095] Furthermore, for the message middleware provided by the embodiments of the present application, from a hardware perspective, the schematic diagram of the hardware architecture of the message middleware can be seen Figure 7 as shown. The message middleware may include: a memory 70 and a processor 71.
[0096] The memory 70 is used to store program instructions; the processor 71 calls the program instructions stored in the memory 70 and executes the method embodiments applied to the message middleware according to the obtained program instructions. The specific implementation manners and technical effects are similar and will not be elaborated here.
[0097] Optionally, the present application further provides a message middleware, including at least one processing element (or chip) for executing the method embodiments applied to the message middleware as described above.
[0098] Optionally, the present application further provides a program product, such as a computer-readable storage medium, which stores computer-executable instructions for causing the computer to execute the method embodiments applied to the message middleware as described above.
[0099] Here, the machine-readable storage medium can be any electronic, magnetic, optical or other physical storage device that can contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or a combination thereof.
[0100] The systems, devices, modules or units illustrated in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, and the specific form of the computer can be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver device, a game console, a tablet computer, a wearable device, or a combination of any several of these devices.
[0101] For convenience of description, when describing the above devices, they are described separately as various units according to functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0102] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0103] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of the flows and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in one Figure 1 flow or multiple flows and / or blocks Figure 1 or multiple blocks.
[0104] Moreover, these computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing devices to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in one Figure 1 flow or multiple flows and / or blocks Figure 1 or multiple blocks.
[0105] These computer program instructions can also be loaded onto a computer or other programmable data processing devices, so that a series of operation steps are executed on the computer or other programmable devices to generate a computer-implemented process. Therefore, the instructions executed on the computer or other programmable devices provide steps for implementing the functions specified in one Figure 1 flow or multiple flows and / or blocks Figure 1 or multiple blocks.
[0106] The above are only the preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for processing alarm information, characterized in that, Applied to a network management device, the method includes: Receiving registration information sent by each message middleware. Among them, the registration information sent by one message middleware includes the unique identifier of the message middleware and the alarm information filtering condition corresponding to the message middleware; Establishing communication connections with the respective message middleware separately; When detecting the generation of alarm information, based on the alarm information filtering condition corresponding to the target message middleware, determining the target alarm information required by the target message middleware, and sending the target alarm information to the target message middleware, so that the target message middleware performs format conversion processing on the target alarm information, and sends the target alarm information after format conversion processing to the corresponding third-party message platform.
2. The method according to claim 1, wherein The step of receiving registration information sent by each message middleware includes: Receiving communication connection establishment requests sent by each middleware, where the communication connection establishment requests carry registration information.
3. The method according to claim 1 or 2, characterized in that, The step of establishing communication connections with the respective message middleware separately includes: Establishing http long connections with the respective message middleware separately.
4. A method for processing alarm information, characterized in that, Applied to a message middleware, the method includes: Sending registration information to a network management device, where the registration information includes the unique identifier of the message middleware and the alarm information filtering condition corresponding to the message middleware; Establishing a communication connection with the network management device; Receiving the target alarm information sent by the network management device, performing format conversion processing on the target alarm information, and sending the target alarm information after format conversion processing to the corresponding third-party message platform. Among them, when the network management device detects the generation of alarm information, based on the alarm information filtering condition corresponding to the message middleware, determining the target alarm information required by the message middleware, and sending the target alarm information to the message middleware.
5. The method according to claim 4, characterized in that, The step of processing the target alarm information and sending the processed target alarm information to the corresponding third-party message platform includes: Performing format conversion processing on the target alarm information based on a specified data format, where the specified data format is a data format adapted to the third-party message platform connected to the message middleware; Sending the processed target alarm information to the corresponding third-party message platform based on a specified transport protocol. Among them, the specified transport protocol is a transport protocol adapted to the third-party message platform connected to the message middleware.
6. An alarm information processing device, characterized in that Applied to a network management device, the apparatus includes: A receiving unit, configured to receive registration information sent by each message middleware. Among them, the registration information sent by one message middleware includes the unique identifier of the message middleware and the alarm information filtering condition corresponding to the message middleware; An establishing unit, configured to establish communication connections with the respective message middleware separately; A determination unit, configured to, when detecting the generation of an alarm message, determine target alarm messages required by the target message middleware based on the alarm message filtering conditions corresponding to the target message middleware, and send the target alarm messages to the target message middleware, so that the target message middleware performs format conversion processing on the target alarm messages, and sends the target alarm messages after the format conversion processing to the corresponding third-party message platform.
7. The device according to claim 6, characterized in that, When receiving the registration information sent by each message middleware, the receiving unit is specifically configured to: Receive the communication connection establishment requests sent by each middleware, where the communication connection establishment requests carry the registration information.
8. The device according to claim 6 or 7, characterized in that, When establishing communication connections with each message middleware respectively, the establishing unit is specifically configured to: Establish http long connections with each message middleware respectively.
9. An alarm information processing device, characterized in that, Applied to a message middleware, the apparatus includes: A sending unit, configured to send registration information to a network management device, where the registration information includes the unique identifier of the message middleware and the alarm message filtering conditions corresponding to the message middleware; An establishing unit, configured to establish a communication connection with the network management device; A receiving unit, configured to receive the target alarm messages sent by the network management device, perform format conversion processing on the target alarm messages, and send the target alarm messages after the format conversion processing to the corresponding third-party message platform, where the network management device, when detecting the generation of an alarm message, determines the target alarm messages required by the message middleware based on the alarm message filtering conditions corresponding to the message middleware, and sends the target alarm messages to the message middleware.
10. The device according to claim 9, characterized in that When processing the target alarm messages and sending the processed target alarm messages to the corresponding third-party message platform, the receiving unit is specifically configured to: Perform format conversion processing on the target alarm messages based on a specified data format, where the specified data format is a data format adapted to the third-party message platform connected to the message middleware; Send the processed target alarm messages to the corresponding third-party message platform based on a specified transmission protocol, where the specified transmission protocol is a transmission protocol adapted to the third-party message platform connected to the message middleware.
Citation Information
Patent Citations
Data transmission method, server and storage device
CN111262706A
Message processing method and device, terminal equipment and storage medium
CN112788551A