In-vivo enhanced and in-vitro enhanced alarm processing method and device

Through in vivo and in vitro enhancement processing methods, matching the enhancement call chain and calling the enhancer, the problem of insufficient flexibility of the alarm system in fine-grained processing and high tag expansion costs is solved, and the deep processing and expansion of alarm messages is realized, which has improved the Data availability and business adaptability reduce system maintenance costs.

CN119299281AActive Publication Date: 2025-01-10天创信用服务有限公司
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411403820.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2025-01-10
Estimated Expiration
2044-10-09

AI Technical Summary

Technical Problem

The existing alarm systems lack flexibility in fine-grained processing, and are difficult to adapt to changing business needs and rapidly changing system environments, resulting in limited data reprocessing capabilities, single enhancement methods, and adding new tags requires modifying the source system code, which is cost-effective. high.

Method used

Using in vivo enhancement and in vitro enhancement alarm processing methods, through enhanced router matching the enhanced call chain, in vivo and in vitro enhancers are called for alarm message processing, and message routing is carried out through the registration center and notification components, supporting complex logical judgments and joint judgment of external data , dynamically load the extra-violet enhancer to extend data carrying capability and flexibility.

Benefits of technology

Without increasing the number of tags, the data carrying capacity of alarm messages is effectively expanded, complex logical judgments and joint judgments of external data are supported, the cost and risk of adding or modifying tags is reduced, and system stability and maintenance convenience are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299281A_ABST
    Figure CN119299281A_ABST
Patent Text Reader

Abstract

The invention relates to an in-vivo enhanced and in-vitro enhanced alarm processing method and device, and the method comprises the steps: an alarm receiver receives an alarm message, the received alarm message is forwarded to an enhanced router, the enhanced router matches a corresponding enhanced call chain according to the alarm message and a preset message routing rule, and the enhanced call chain is sent to the enhanced router. And the enhanced call chain calls an in-vitro enhancer to process the alarm message, and returns a processing result to the enhanced router. On the premise that the number of labels is not increased, the data carrying capacity of the alarm message can be effectively expanded, complex logic judgment and external data reference combined judgment are supported, more diversified service requirements are met, the cost and the risk when the labels need to be newly added or modified due to service development are reduced, and the service quality is improved. And the stability and the maintenance convenience of the system are improved. The invention also relates to a device and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an alarm processing method and device for in vivo enhancement and in vitro enhancement. Background Art

[0002] With the rapid development of information technology, software systems are becoming more and more complex, involving a large amount of data processing and real-time monitoring. In the field of software engineering, monitoring and alarm systems are key components to ensure system stability and reliability. These systems are responsible for real-time detection of abnormal situations during software operation and timely notification of relevant personnel for processing. However, as the scale of the system expands and business needs grow, existing alarm systems face the problem of insufficient flexibility and scalability, which limits their ability to manage alarm messages in a fine-grained manner under highly complex business demand scenarios.

[0003] In the existing alarm system, a centralized architecture is usually used to process and manage alarm messages. As the number of business systems increases and the business complexity increases, the sources and number of alarm messages also increase. Usually, a general system is split out, generally called an "alarm response platform", to uniformly receive, manage, and distribute alarm messages. Logically, this type of platform solves the problem of unified management of alarm messages, but it also brings huge complexity to the "alarm response platform". In response to alarm messages from different sources and a variety of sources, the existing alarm system often lacks flexibility at the fine-grained processing level, and it is difficult to adapt to changing business needs and rapidly changing system environments. Summary of the invention

[0004] In order to solve the technical problem that the existing alarm system often lacks flexibility at the fine-grained processing level and is difficult to adapt to changing business needs and rapidly changing system environments, the present invention provides an in vivo enhanced and in vitro enhanced alarm processing method and device.

[0005] In a first aspect, the present invention provides an in vivo enhanced and in vitro enhanced alarm processing method, the method comprising:

[0006] The alarm receiver receives the alarm message and forwards the received alarm message to the enhanced router;

[0007] The enhanced router matches the corresponding enhanced call chain according to the alarm message and the preset message routing rule;

[0008] The enhanced call chain calls the in vitro enhancer to process the alarm message and returns the processing result to the enhanced router.

[0009] Based on the above technical application, further, the enhanced call chain calls the internal enhancer and / or the external enhancer to process the alarm message, and returns the processing result to the enhanced router, specifically including:

[0010] The enhanced call chain calls the in-vivo enhancer to extract the first processing result in the alarm message;

[0011] The enhanced call chain calls the in vitro enhancer through the call information of the in vitro enhancer to extract the second processing result in the alarm message;

[0012] The enhanced call chain returns the first processing result and / or the second processing result to the enhanced router.

[0013] Based on the above technical application, further, the method also includes:

[0014] The alarm receiver sends a message to the registration center to create a processing node for service registration and discovery;

[0015] The registration center creates the processing node, associates the processing node with the in vitro enhancer according to the information of the processing node, and returns the calling information of the in vitro enhancer to the alarm receiver;

[0016] The alarm receiver generates the message routing rule according to the message routing rule and the combination of the in vitro enhancer.

[0017] Based on the above technical application, further, the enhanced router matches the corresponding enhanced call chain according to the alarm message and the preset message routing rule, specifically including:

[0018] The enhanced router obtains at least one data tag in the alarm message;

[0019] The enhanced router obtains the target node and the enhanced call chain from the data tag;

[0020] The enhanced router searches the preset message routing rules to determine whether the target node is a child node of the data tag;

[0021] If yes, search the enhanced call chain from the child node;

[0022] If found, the enhanced router is matched to the corresponding enhanced call chain;

[0023] If not found, then searching for the next child node of the target node under the data tag, and searching for the enhanced call chain from under the next child node until the enhanced call chain is found;

[0024] If the enhanced router searches for a target node that is not a child node of the data tag from the preset message routing rule;

[0025] Then searching the upper node of the data tag from the preset message routing rule;

[0026] If yes, search the enhanced call chain from the upper node of the data tag;

[0027] If found, the enhanced router is matched to the corresponding enhanced call chain;

[0028] If not found, the next child node of the target node under the upper node of the data tag is retrieved, and the enhanced call chain is searched from under the next child node until the enhanced call chain is found.

[0029] Based on the above technical application, further, the method also includes:

[0030] The enhanced router sends the processing result to the notification component.

[0031] In a second aspect, the present invention further provides an in vivo enhanced and in vitro enhanced alarm processing device, the device comprising:

[0032] An alarm receiver, used for receiving an alarm message and forwarding the received alarm message to an enhanced router;

[0033] An enhanced router, used to match a corresponding enhanced call chain according to the alarm message and a preset message routing rule;

[0034] The enhanced call chain is used to call the in vitro enhancer to process the alarm message and return the processing result to the enhanced router.

[0035] Based on the above technical application, further, the enhanced call chain is also used to call the in vivo enhancer to extract the first processing result in the alarm message;

[0036] The enhanced call chain is further used to call the in vitro enhancer through the call information of the in vitro enhancer to extract the second processing result in the alarm message;

[0037] The enhanced call chain is further used to return the first processing result and / or the second processing result to the enhanced router.

[0038] Based on the above technical application, further, the alarm receiver is used to send a message to the registration center to create a processing node for service registration and discovery;

[0039] The registration center is used to create the processing node, associate the processing node with the in vitro enhancer according to the information of the processing node, and return the call information of the in vitro enhancer to the alarm receiver;

[0040] The alarm receiver is used to generate the message routing rule according to the message routing rule and the in vitro enhancer combination.

[0041] In a second aspect, the present invention further provides an in vivo enhanced and in vitro enhanced alarm processing device, the device comprising:

[0042] An alarm receiver, used for receiving an alarm message and forwarding the received alarm message to an enhanced router;

[0043] An enhanced router, used to match a corresponding enhanced call chain according to the alarm message and a preset message routing rule;

[0044] The enhanced call chain is used to call the in vitro enhancer to process the alarm message and return the processing result to the enhanced router.

[0045] In a third aspect, the present invention further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, it implements an in vivo enhancement and in vitro enhancement alarm processing method described in any one of the above technical applications.

[0046] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the alarm processing method for in vivo enhancement and in vitro enhancement described in any one of the above-mentioned technical applications is implemented.

[0047] The present invention provides an in vivo enhanced and in vitro enhanced alarm processing method, comprising an alarm receiver receiving an alarm message, forwarding the received alarm message to an enhanced router, the enhanced router matching the corresponding enhanced call chain according to the alarm message and a preset message routing rule, the enhanced call chain calling an in vitro enhancer to process the alarm message, and returning the processing result to the enhanced router. The present invention can effectively expand the data carrying capacity of the alarm message without increasing the number of labels, support complex logical judgments and joint judgments with reference to external data, so as to meet more diverse business needs, reduce the cost and risk of adding or modifying labels due to business development needs, and improve the stability of the system and the convenience of maintenance. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0049] In the attached picture:

[0050] Figure 1 It is a flow chart of the existing alarm response platform message enhancement process provided by an embodiment of the present invention;

[0051] Figure 2 A schematic flow chart of an in vivo enhancement and in vitro enhancement alarm processing method provided by an embodiment of the present invention;

[0052] Figure 3 A schematic diagram of a process flow of an in vitro enhancer registration and loading process of an in vitro enhancer provided in an embodiment of the present invention;

[0053] Figure 4 A schematic diagram of a process for enhancement using an in vitro enhancer provided in an embodiment of the present invention;

[0054] Figure 5 A schematic diagram of a process of registering using an in vitro enhancer provided in an embodiment of the present invention;

[0055] Figure 6 It is a flowchart of an in vivo enhancement and in vitro enhancement alarm processing method provided by an embodiment of the present invention;

[0056] Figure 7 A module schematic diagram of an in vivo enhanced and in vitro enhanced alarm processing device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.

[0058] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.

[0059] In order to implement the routing and re-judgment of received alarm messages, the alarm response platform will define standard API interfaces, and generally use the method of labeling alarm messages to give alarm messages a series of attributes. Then the platform will provide a series of label enhancement methods to re-process the original labels. Common enhancement methods include: extraction, combination, deletion, and mapping. However, although these methods have brought the ability to re-label message processing to a certain extent, they are still insufficient when the business grows and changes.

[0060] Some limitations of existing technologies: Limitations of data reprocessing capabilities: Although the alarm message itself carries some basic tags, the amount of data that the alarm message can provide is very limited due to the limitation of the number of tags on the platform interface. This seriously restricts the in-depth utilization of alarm data and the flexibility of subsequent processing. The singleness of enhancement means: The existing alarm platform mainly provides basic data enhancement means, such as extraction, combination, deletion and mapping operations. These means cannot meet advanced business requirements that require complex logical processing or require comprehensive judgment in combination with external data, limiting the development potential of the alarm system in terms of intelligence and automation. The high cost of adding new tags: As business needs continue to evolve, it may be necessary to introduce new tags or generate new tags based on existing data to support more sophisticated business processing. However, existing alarm systems often require modifying the code of the source system to add new tags. This process is not only time-consuming and labor-intensive, but may also pose a risk to the stability of the source system, resulting in extremely high modification costs.

[0061] The present invention aims to solve the following key technical problems existing in the existing alarm response platform system:

[0062] Limitations of data reprocessing capabilities: In view of the restrictions on the number of alarm message labels in existing platform interfaces, the present invention provides a method that can effectively expand the data carrying capacity of alarm messages without increasing the number of labels. Singleness of enhancement means: In view of the limitation that the existing technology can only provide basic operations in alarm message enhancement processing, the present invention designs a more flexible enhancement mechanism that supports complex logical judgments and joint judgments with reference to external data to meet more diverse business needs. The high cost of adding new labels: In view of the high cost and potential risks required to add or modify labels in existing systems, the present invention proposes a label generation method that does not require changes to the source system, greatly reducing the complexity and cost of business adjustments.

[0063] The purpose of the present invention is to overcome these limitations of the prior art and provide a more flexible, efficient and cost-effective alarm message processing method. Through the technical application of the present invention, it is expected to achieve the following technical effects:

[0064] Realize in-depth processing and expansion of alarm messages to improve data availability and business adaptability.

[0065] Improve the flexibility and intelligence of alarm message processing through innovative enhancement methods.

[0066] Reduce the cost and risk of adding or modifying tags due to business development needs, and improve system stability and ease of maintenance.

[0067] In summary, the present invention not only solves the shortcomings of the prior art, but also significantly improves the flexibility and scalability of alarm message processing through a series of innovative technical means, meeting the development needs of the modern software engineering monitoring alarm field.

[0068] like Figure 1 As shown in the figure, the existing alarm response platform message enhancement process is as follows:

[0069] The alarm response platform generally has receiving, enhancing, and notifying components. The basic processing flow is as follows:

[0070] The alarm message is sent to the alarm response platform through the interface. It will first pass through the receiving module to perform basic authentication on the message.

[0071] After authentication is passed, go to the enhancement module for enhancement.

[0072] The first step is to go through the enhanced routing submodule. The routing module calls the enhancer according to the routing strategy matching enhancer or enhancer combination.

[0073] The enhancer uses a series of built-in label enhancement methods such as extraction, replacement, combination, and deletion to process the alarm message and re-label the message.

[0074] After the enhanced process is completed, some new tags are attached to the alarm message for use by the notification module or other modules. For example, the notification module can determine to whom the alarm is to be sent based on the tags and pre-configured configurations.

[0075] like Figure 2 As shown, the present application innovatively adds an in vitro enhancement method to improve the scalability and flexibility of alarm processing. The core content of the present invention is to add an in vitro enhancement capability to the alarm response platform, which has the ability to define, register, manage and call the in vitro enhancer interface.

[0076] In vitro Enhancer is an application that implements the In vitro Enhancer interface. It is independently deployed, independent of the platform, and communicates over the network.

[0077] like Figure 3 As shown in the figure, registration, discovery and invocation of the in vitro enhancer: The registration and discovery of services rely on third-party registration center components to coordinate the service discovery process, and support commonly used registration centers such as Nacos, Consul, Zookeeper, etc. Service invocation is through RPC invocation, supporting common communication protocols such as gRPC, REST, Dubbo2, Triple, etc.

[0078] Service discovery includes three participating roles: provider (in vitro enhancer), consumer (alarm response platform) and registration center. The service provider instance registers the URL address to the registration center. The registration center is responsible for aggregating the data. The service consumer reads the address list from the registration center and subscribes to changes. Whenever the address list changes, the registration center notifies all subscribed consumer instances of the latest list.

[0079] The essential difference from the in-vivo enhancer: The in-vivo enhancer is a specific implementation of a certain enhancement logic, which can only implement a certain fixed logic. The code is coupled to the platform, and changes need to be recompiled and deployed, and cannot be loaded dynamically. The code of the in-vitro enhancer is completely decoupled from the platform, and the enhancement logic can be flexibly implemented. Because it is independently deployed, as long as the in-vitro enhancement interface defined by the platform is implemented according to the specifications, it can be dynamically loaded into the enhancement link through the console without affecting the platform.

[0080] In vitro enhancer registration, activation, and loading process:

[0081] Registration, discovery and calling of in vitro enhancers:

[0082] Activation of the extracorporeal enhancer: After the extracorporeal enhancer is discovered by the alarm response platform through the registration center, it does not mean that it has taken effect. The registered enhancer needs to be enabled or disabled through the platform console to load or unload it to avoid loss of control.

[0083] Loading the in vitro enhancer: When the in vitro enhancer is enabled, it is the same as the in vivo enhancer and can be configured through the console. After the message routing rule and enhancer are combined, an in vitro enhancement rule will be generated. The in vitro enhancer is equivalent to being loaded into the enhancement process. When a matching message comes in later, the call process of the in vitro enhancer will be triggered according to the configuration of this rule.

[0084] In vitro enhancer calling process:

[0085] Enhanced rule matching: The alarm response platform receives an alarm message, which is matched to the in vitro enhancement rule through enhanced routing. This is usually the trigger point of the in vitro enhancement process.

[0086] Constructing in vitro calls: The in vitro enhancement rules send information such as the enhancer address, parameters, and upstream messages to the in vitro enhancer calling component, which then performs a unified in vitro call.

[0087] Calling the in vitro enhancer: The in vitro enhancer calling component constructs the in vitro enhancer calling object according to the relevant parameters and executes the call. This type of call belongs to the network call and can be implemented by RPC or HTTP-based REST call. It does not forcibly bind the programming language of the in vitro enhancer, providing maximum flexibility.

[0088] In vitro enhancement processing and return results: The in vitro enhancer performs enhancement processing on the alarm message sent. After the enhancer completes the processing, it returns the enhancement result to the calling component and the enhancement processing flow.

[0089] Related Processes

[0090] like Figure 4 As shown, part 1 in vitro enhancer registration and loading process

[0091] like Figure 5 As shown, part 2 is enhanced using an in vitro enhancer

[0092] The business system sends an alarm message to the platform. The message is as follows:

[0093] {

[0094] "title":"

API interface response time warning

[0095] "description":"The number of times the response time of the small power sub-interface was greater than 3000 milliseconds during the time period from 2024-04-12 20:28:00 to 2024-04-12 20:38:10 exceeded the threshold. A total of 10 calls were made, the alarm threshold was 10 times, and the actual value was 3 times; the timeout rate threshold was 30%, and the actual value was 30%. ",

[0096] "labels":{

[0097] "productId":"1000",

[0098] "productOwner":"Zhang San",

[0099] "clientId":"c001"

[0100] }

[0101] }

[0102] The alarm receiver forwards the message to the enhanced routing component for the enhancement process;

[0103] Enhanced routing matches the enhanced call chain according to the message and the configured rules. Note: The enhanced call chain consists of multiple enhancement steps, each of which uses the configured enhancer to enhance the message, which can be in vivo or in vitro.

[0104] Call the extract type body enhancer to extract the start time and end time from the description.

[0105] Return message:

[0106] {

[0107] "title":"

API interface response time warning

[0108] "description":"The number of times the response time of the small power sub-interface was longer than 3000 milliseconds during the time period from 2024-04-12 20:28:00 to 2024-04-12 20:38:10 exceeded the threshold. A total of 10 calls were made, the alarm threshold was 10 times, and the actual value was 3 times; the timeout rate threshold was 30%, and the actual value was 30%. ",

[0109] "labels":{"productId:"1000",

[0110] "productOwner":"Zhang San",

[0111] "clientId":"c001",

[0112] "startTime":"2024-04-1220:28:00",

[0113] "endTime':"2024-04-1220:38:10",

[0114] }

[0115] }

[0116] Call the in vitro enhancer "Demo Enhancer" for enhancement. The Demo Enhancer uses

[0117] The clientId:c001 tag goes to the customer database to look up the customer type attribute and appends it to the tag.

[0118] Return message:

[0119] {

[0120] "title":"

API interface response time warning

[0121] "description":"The number of times the response time of the small power sub-interface was longer than 3000 milliseconds during the time period from 2024-04-12 20:28:00 to 2024-04-12 20:38:10 exceeded the threshold. A total of 10 calls were made, the alarm threshold was 10 times, and the actual value was 3 times; the timeout rate threshold was 30%, and the actual value was 30%. ",

[0122] "labels":{

[0123] "productId":"1000",

[0124] "productOwner":"Zhang San",

[0125] "clientId":"c001",

[0126] "startTime':"2024-04-1220:28:00",

[0127] "endTime":"2024-04-1220:38:10",

[0128] "Customer Type":"Major Customer"

[0129] }

[0130] }

[0131] Enhanced call chain ends and returns

[0132] Send the enhanced message to the notification component

[0133] The notification component determines which user to send the message to based on the productId and customer type tags in the message.

[0134] The in vitro enhancement ideas, components and corresponding processes mentioned in the present invention.

[0135] The present invention provides a method for solving the problem of limiting the number of warning tags that can be carried and dynamically expanding data tags.

[0136] The present invention provides a method for solving the problems of single enhancement means and inflexible processing mode.

[0137] The method mentioned in the present invention solves the problem that the existing application for adding new tags requires changing the business system, resulting in high costs and affecting stability.

[0138] For example, if an alarm message carries the tag productId:1000productOwner:Zhang SanclientId:c001, the downstream notification node will send the alarm to Zhang San based on the productOwner tag. Later, as the business developed, Zhang San's team also grew, with a new member: Zhang Yi. In order to achieve division of labor, the new requirement is to send messages with productId:1000 and customer type: key customer tags to Zhang San, and other messages to Zhang Yi.

[0139] Existing technical application: Because the alarm message itself does not carry the customer type label, and the alarm response platform does not have the ability to access the business system, it cannot change the customer type label. To support this requirement, it is necessary to modify the source code of the business system and add customer type: VIP customer labels to the original message. The notification module can then determine who to send it to based on this label. This means that we need to modify the code of the business system, test it, and go online, which will not only take up the time of multiple people, but may also cause unexpected errors and affect the stability of the business.

[0140] Using the present invention application: you can write an in vitro enhancer, use the clientId:1000 tag of the alarm message, go to the business database to query the customer type attribute of this customer, and then you can put the customer type: major customer tag on the alarm message, and then register the in vitro enhancer to the platform and enable it through this application. When a new alarm message comes, it is marked with the customer type: major customer tag by the in vitro enhancer, and the downstream notification node can determine whether to send it to Zhang San or Zhang Yi based on this tag, realizing new scenario requirements.

[0141] Advantages of the present invention:

[0142] The in vitro enhancer is an independent program that does not rely on the business system or the alarm response platform. It can be independently launched and dynamically loaded into the alarm response platform, completely avoiding the modification of the existing source system and alarm platform, thereby reducing the potential impact on the business process. This is especially important when dealing with business needs that require adding new tags or changing data processing logic, because it eliminates the risks and costs caused by modifying the source code, while ensuring the stability of the system and business continuity.

[0143] The in vitro enhancer has no restrictions on programming languages, nor does it limit its network and database access capabilities, which completely solves the problems of single enhancement means and reprocessing limitations caused by lack of data.

[0144] The prior art application does not implement this type of technology because the evolution of the alarm response platform shows that the alarm response platform is a system with a high degree of abstraction and versatility, which is generally not coupled with the business system. Therefore, it does not have the ability to access business system data, which limits its enhancement measures to: expression calculation based on the labels of the alarm message.

[0145] In addition to the complexity of implementing the application of the in vitro enhancer, the alarm response platform itself is a system that is biased towards the end of the business chain, and its importance is generally relatively low. Compared with the in vitro enhancer, in general, enterprises will choose to directly modify the business system to adapt to new business scenarios. However, some business systems often have very high availability requirements. At this time, in vitro enhancement on the alarm platform can meet new requirements without modifying the business system, which is a good choice.

[0146] For general commercial systems, due to the limitations of their deployment methods, such as SAAS-type cloud services, it is unlikely to adopt in vitro enhancement methods due to considerations of latency and security; or because their system positioning is relatively specific and needs to maintain high robustness, the use of in vitro enhancement methods may affect these technical goals.

[0147] The following will be combined with the attached Figure 6 , an in vivo enhancement and in vitro enhancement alarm processing method provided by an embodiment of the present invention, the method includes:

[0148] 110. The alarm receiver receives the alarm message and forwards the received alarm message to the enhanced router;

[0149] 120. The enhanced router matches the corresponding enhanced call chain according to the alarm message and the preset message routing rule;

[0150] 130. The enhanced call chain calls the in vitro enhancer to process the alarm message and returns the processing result to the enhanced router.

[0151] Based on the above technical application, further, the enhanced call chain calls the internal enhancer and / or the external enhancer to process the alarm message, and returns the processing result to the enhanced router, specifically including:

[0152] The enhanced call chain calls the in-vivo enhancer to extract the first processing result in the alarm message;

[0153] The enhanced call chain calls the in vitro enhancer through the call information of the in vitro enhancer to extract the second processing result in the alarm message;

[0154] The enhanced call chain returns the first processing result and / or the second processing result to the enhanced router.

[0155] Based on the above technical application, further, the method also includes:

[0156] The alarm receiver sends a message to the registration center to create a processing node for service registration and discovery;

[0157] The registration center creates the processing node, associates the processing node with the in vitro enhancer according to the information of the processing node, and returns the calling information of the in vitro enhancer to the alarm receiver;

[0158] The alarm receiver generates the message routing rule according to the message routing rule and the combination of the in vitro enhancer.

[0159] Based on the above technical application, further, the enhanced router matches the corresponding enhanced call chain according to the alarm message and the preset message routing rule, specifically including:

[0160] The enhanced router obtains at least one data tag in the alarm message;

[0161] The enhanced router obtains the target node and the enhanced call chain from the data tag;

[0162] The enhanced router searches the preset message routing rules to determine whether the target node is a child node of the data tag;

[0163] If yes, search the enhanced call chain from the child node;

[0164] If found, the enhanced router is matched to the corresponding enhanced call chain;

[0165] If not found, then searching for the next child node of the target node under the data tag, and searching for the enhanced call chain from under the next child node until the enhanced call chain is found;

[0166] If the enhanced router searches for a target node from a preset message routing rule that is not a child node of the data tag;

[0167] Then searching the upper node of the data tag from the preset message routing rule;

[0168] If yes, search the enhanced call chain from the upper node of the data tag;

[0169] If found, the enhanced router is matched to the corresponding enhanced call chain;

[0170] If not found, the next child node of the target node under the upper node of the data tag is retrieved, and the enhanced call chain is searched from under the next child node until the enhanced call chain is found.

[0171] Through the above implementation, the present invention can effectively expand the data carrying capacity of the alarm message and the ability to quickly match the enhanced call chain without increasing the number of tags.

[0172] Based on the above technical application, further, the method also includes:

[0173] The enhanced router sends the processing result to the notification component.

[0174] The embodiment provides an in vivo enhanced and in vitro enhanced alarm processing method, including an alarm receiver receiving an alarm message, forwarding the received alarm message to an enhanced router, the enhanced router matching the corresponding enhanced call chain according to the alarm message and a preset message routing rule, the enhanced call chain calling an in vitro enhancer to process the alarm message, and returning the processing result to the enhanced router. The present invention can effectively expand the data carrying capacity of alarm messages without increasing the number of labels, support complex logical judgments and joint judgments with reference to external data, so as to meet more diverse business needs, reduce the cost and risk of adding or modifying labels due to business development needs, and improve the stability of the system and the convenience of maintenance.

[0175] like Figure 7 As shown, the present invention also provides an in vivo enhanced and in vitro enhanced alarm processing device, the device comprising:

[0176] An alarm receiver, used for receiving an alarm message and forwarding the received alarm message to an enhanced router;

[0177] An enhanced router, used to match a corresponding enhanced call chain according to the alarm message and a preset message routing rule;

[0178] The alarm receiver is used to generate the message routing rule according to the message routing rule and the in vitro enhancer combination.

[0179] Based on the above technical application, further, the enhanced call chain is also used to call the in vivo enhancer to extract the first processing result in the alarm message;

[0180] The enhanced call chain is further used to call the in vitro enhancer through the call information of the in vitro enhancer to extract the second processing result in the alarm message;

[0181] The enhanced call chain is further used to return the first processing result and / or the second processing result to the enhanced router.

[0182] Based on the above technical application, further, the alarm receiver is used to send a message to the registration center to create a processing node for service registration and discovery;

[0183] The registration center is used to create the processing node, associate the processing node with the in vitro enhancer according to the information of the processing node, and return the call information of the in vitro enhancer to the alarm receiver;

[0184] The alarm receiver is used to generate the message routing rule according to the message routing rule and the in vitro enhancer combination.

[0185] The embodiment provides an in vivo enhanced and in vitro enhanced alarm processing device, including an alarm receiver receiving an alarm message, forwarding the received alarm message to an enhanced router, the enhanced router matching the corresponding enhanced call chain according to the alarm message and a preset message routing rule, the enhanced call chain calling an in vitro enhancer to process the alarm message, and returning the processing result to the enhanced router. The present invention can effectively expand the data carrying capacity of the alarm message without increasing the number of labels, support complex logical judgments and joint judgments with reference to external data, so as to meet more diverse business needs, reduce the cost and risk of adding or modifying labels due to business development needs, and improve the stability of the system and the convenience of maintenance.

[0186] The present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, it implements an in vivo enhancement and in vitro enhancement alarm processing method described in any one of the above technical applications.

[0187] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the alarm processing method for in vivo enhancement and in vitro enhancement described in any one of the above-mentioned technical applications is implemented.

[0188] The above embodiments are only used to illustrate the technical application of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be included in the scope of protection of the claims of the present invention.

Claims

1. An in vivo enhanced and in vitro enhanced alarm processing method, characterized in that: The method comprises: The alarm receiver receives the alarm message and forwards the received alarm message to the enhanced router; The enhanced router matches the corresponding enhanced call chain according to the alarm message and the preset message routing rule; The enhanced call chain calls the in vitro enhancer to process the alarm message and returns the processing result to the enhanced router.

2. The method according to claim 1, characterized in that The enhanced call chain calls the in vitro enhancer to process the alarm message and returns the processing result to the enhanced router, specifically including: The enhanced call chain calls the in-vivo enhancer to extract the first processing result in the alarm message; The enhanced call chain calls the in vitro enhancer through the call information of the in vitro enhancer to extract the second processing result in the alarm message; The enhanced call chain returns the first processing result and / or the second processing result to the enhanced router.

3. The method according to claim 1, characterized in that: The method further comprises: The alarm receiver sends a message to the registration center to create a processing node for service registration and discovery; The registration center creates the processing node, associates the processing node with the in vitro enhancer according to the information of the processing node, and returns the calling information of the in vitro enhancer to the alarm receiver; The alarm receiver generates the message routing rule according to the message routing rule and the combination of the in vitro enhancer.

4. The method according to claim 1, characterized in that: The enhanced router matches the corresponding enhanced call chain according to the alarm message and the preset message routing rule, specifically including: The enhanced router obtains at least one data tag in the alarm message; The enhanced router obtains the target node and the enhanced call chain from the data tag; The enhanced router searches the preset message routing rules to determine whether the target node is a child node of the data tag; If yes, search the enhanced call chain from the child node; If found, the enhanced router is matched to the corresponding enhanced call chain; If not found, then searching for the next child node of the target node under the data tag, and searching for the enhanced call chain from under the next child node until the enhanced call chain is found; If the enhanced router searches for a target node from a preset message routing rule that is not a child node of the data tag; Then searching the upper node of the data tag from the preset message routing rule; If yes, search the enhanced call chain from the upper node of the data tag; If found, the enhanced router is matched to the corresponding enhanced call chain; If not found, the next child node of the target node under the upper node of the data tag is retrieved, and the enhanced call chain is searched from under the next child node until the enhanced call chain is found.

5. The method according to claim 1, characterized in that The method further comprises: The enhanced router sends the processing result to the notification component.

6. An in vivo enhanced and in vitro enhanced alarm processing device, characterized in that: The device comprises: An alarm receiver, used for receiving an alarm message and forwarding the received alarm message to an enhanced router; An enhanced router, used to match a corresponding enhanced call chain according to the alarm message and a preset message routing rule; The enhanced call chain is used to call the in vitro enhancer to process the alarm message and return the processing result to the enhanced router.

7. The device according to claim 6, characterized in that The enhanced call chain is further used to call the in vivo enhancer to extract the first processing result in the alarm message; The enhanced call chain is further used to call the in vitro enhancer through the call information of the in vitro enhancer to extract the second processing result in the alarm message; The enhanced call chain is further used to return the first processing result and / or the second processing result to the enhanced router.

8. The device according to claim 6, characterized in that The alarm receiver is used to send a message to the registration center to create a processing node for service registration and discovery; The registration center is used to create the processing node, associate the processing node with the in vitro enhancer according to the information of the processing node, and return the call information of the in vitro enhancer to the alarm receiver; The alarm receiver is used to generate the message routing rule according to the message routing rule and the in vitro enhancer combination.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the in vivo enhancement and in vitro enhancement alarm processing method according to any one of claims 1 to 5 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the in vivo enhancement and in vitro enhancement alarm processing method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Low delay alarm analysis processing method

    CN105227367A

  • Realization system for call chain based on Annotation application

    CN106326017A

  • Alarm processing method and device and electronic equipment

    CN113268399A

  • Alarm message processing method, device and equipment

    CN113297042A

  • Monitoring alarm and traceability method and system based on call chain data

    CN114531338A