Alarm anti-jitter method and system based on large model intelligent analysis and type perception
By employing intelligent analysis and type-aware methods based on large models, the problem of coordinating invalid alarms and deterministic anomalies in monitoring and alarm technology has been solved, achieving accuracy, timeliness, and system robustness in alarms, and improving operational efficiency.
Patent Information
- Application Number
- CN202611344740.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-01
- Publication Date
- 2026-11-24
AI Technical Summary
Existing monitoring and alarm technologies struggle to account for the fluctuation characteristics of different types of monitoring indicators, making it difficult to coordinate the timeliness and accuracy of invalid alarms and deterministic anomalies, thus affecting operational efficiency.
The method adopts a large-model-based intelligent analysis and type awareness approach. By acquiring real-time monitoring indicators, querying the type-aware delay configuration table to obtain delay time parameters according to the monitoring type, performing state transition determination, starting the large-model asynchronous analysis task in parallel, generating trigger-state raw alarm data, performing traffic division determination and intelligent diagnosis, and realizing differentiated processing and intelligent attribution of alarms.
It effectively suppressed invalid alarms, improved the accuracy and timeliness of alarms, reduced interference for maintenance personnel, shortened fault location time, and provided targeted root cause analysis and handling suggestions.
Smart Images

Figure CN123163971A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of server monitoring and intelligent operation and maintenance technology, and in particular to an alarm anti-jitter method and system based on large model intelligent analysis and type awareness. Background Technology
[0002] With the continuous expansion of information technology systems and the increasing complexity of business architectures, operation and maintenance monitoring systems have become a crucial support for ensuring the stable operation of various information systems. To promptly detect abnormal states during system operation, operation and maintenance monitoring systems typically deploy monitoring clients on the monitored host nodes. These clients periodically collect data on various metrics, such as processor utilization, memory utilization, disk utilization, network port connectivity, service health status, and operational logs. The collected data is then compared with pre-defined alarm thresholds. When the data meets the alarm conditions, an alarm is generated and pushed to the operation and maintenance personnel for timely intervention. This type of monitoring and alarm mechanism is a fundamental component of modern operation and maintenance assurance systems, and the accuracy and timeliness of its alarms directly affect the efficiency of fault detection and handling.
[0003] In existing technologies, monitoring alarms are typically generated and pushed out immediately when metric data exceeds a preset threshold. To suppress invalid alarms caused by instantaneous fluctuations in metrics, some existing technologies have introduced a unified delay or cooling-off mechanism. This involves waiting for a fixed period after the metric first triggers the alarm condition; if the metric returns to normal within this period, no further alarm is pushed out. Furthermore, in terms of alarm analysis and processing, existing technologies largely rely on pre-defined rules or static templates to classify and describe alarms, and then push them out uniformly after they are generated.
[0004] However, with the increasing number of monitored indicators and the growing differences in their fluctuation characteristics, the existing technologies have gradually revealed their limitations in practical applications. On the one hand, different types of monitoring indicators exhibit significant differences in fluctuation frequency and duration under normal operating conditions. Some indicators inherently possess high-frequency transient fluctuation characteristics, while others, once triggered, represent deterministic anomalies. Existing technologies employ a uniform delay mechanism for all types of indicators, making it difficult to consider the fluctuation characteristics of different indicators. This can easily lead to false alarms for high-frequency fluctuating indicators or delays in detecting deterministic anomalies. Consequently, it is difficult to achieve a balance between suppressing invalid alarms and ensuring timely alarms, ultimately causing maintenance personnel to be overwhelmed by a large number of invalid alarms, affecting the identification and handling of genuine faults.
[0005] In summary, existing monitoring and alarm technologies lack effective means to handle the differences in fluctuation characteristics of different types of monitoring indicators. They cannot effectively suppress invalid alarms caused by instantaneous fluctuations in indicators while ensuring the timeliness of alarms for deterministic anomalies. This makes it difficult to coordinate the accuracy and timeliness of alarms, becoming a technical problem that restricts the quality of alarms in operation and maintenance monitoring systems. Summary of the Invention
[0006] To address the technical problem of unifying accuracy and timeliness in existing alarm technologies, which restricts the alarm quality of operation and maintenance monitoring systems, this invention provides an alarm anti-jitter method and system based on large-model intelligent analysis and type awareness. The technical solution is as follows:
[0007] On the one hand, an alarm jitter prevention method based on large-scale model intelligent analysis and type awareness is provided. This method includes: acquiring real-time monitoring indicators collected by the monitoring client; determining whether the real-time monitoring indicators meet preset alarm conditions, which include at least one of preset abnormal conditions and reaching a preset alarm threshold; if met, executing the following: querying the type-aware delay configuration table according to the monitoring type to obtain the corresponding delay time parameter; determining the state transition based on the delay time parameter to generate triggered state original alarm data; sending initial push data containing triggered state original alarm data and status identifiers in the analysis to the target terminal, and simultaneously starting a large-scale model asynchronous analysis task to obtain the health status of the large-scale model service. Data; if the health status data meets the preset availability conditions, then alarm context data is collected and input into the large model service along with the triggered original alarm data to obtain the initial inference result containing alarm classification labels and corresponding confidence scores; based on the alarm classification labels and confidence scores, a triage judgment is performed to generate display status data; for data whose alarm classification labels indicate root cause alarms, the large model service is called to generate intelligent diagnostic results; the incrementally updated alarm data containing display status data and intelligent diagnostic results is sent to the target terminal to update the status of the initial push data to the attributed status; if the health status data does not meet the preset availability conditions, then the asynchronous analysis task of the large model is terminated, and the initial push data is set as the final alarm form data.
[0008] On the other hand, an alarm anti-jitter system based on large-model intelligent analysis and type awareness is provided. This system includes: an indicator monitoring module for acquiring real-time monitoring indicators collected by the monitoring client; a state machine control module for determining whether the real-time monitoring indicators meet preset alarm conditions, which include at least one of preset abnormal conditions and reaching a preset alarm threshold. If met, the following steps are executed: querying the type-aware delay configuration table according to the monitoring type to obtain the corresponding delay time parameter, determining the state transition based on the delay time parameter, and generating triggered state original alarm data; and an asynchronous pass-through module for sending initial push data containing triggered state original alarm data and state identifiers in the analysis to the target terminal, and simultaneously starting a large-model asynchronous analysis task to obtain large-scale data. The model service provides health status data; the inference and circuit breaker module is used to collect alarm context data and input it along with the triggered original alarm data into the large model service if the health status data meets preset availability conditions, obtaining the initial inference result containing alarm classification labels and corresponding confidence scores; based on the alarm classification labels and confidence scores, it performs traffic triage and generates display status data; for data whose alarm classification labels indicate root cause alarms, it calls the large model service to generate intelligent diagnostic results; it sends incrementally updated alarm data containing display status data and intelligent diagnostic results to the target terminal to update the status of the initial push data to the attributed status; if the health status data does not meet preset availability conditions, it stops the large model asynchronous analysis task and sets the initial push data as the final alarm form data.
[0009] The beneficial effects of the technical solutions provided by the embodiments of the present invention include at least the following:
[0010] 1. This invention provides an alarm anti-jitter method based on large-scale model intelligent analysis and type awareness. By comparing real-time monitoring indicators with preset thresholds and then looking up the delay time parameter according to the monitoring type, a state transition determination is made, allowing indicators with different fluctuation characteristics to obtain differentiated delay observations. This suppresses invalid alarms caused by transient fluctuations while ensuring timely reporting of deterministic anomalies. Furthermore, the initial push data containing the identifiers in the analysis is first transmitted to the terminal, and asynchronous analysis of the large-scale model is initiated in parallel, so that alarm presentation is no longer constrained by analysis time and can be perceived instantly. Then, when the large-scale model service is available, it uses its inference of the alarm context to output classification labels and confidence levels, and generates intelligent diagnoses for root cause alarms based on these labels. Incremental updates refresh the alarms to an attributed state, achieving alarm convergence, noise reduction, and root cause localization. When the service is unavailable, the analysis is stopped, and the initial push is used as the final form. Therefore, this solution achieves a good balance between alarm accuracy, timeliness, and system robustness.
[0011] 2. This invention constructs an anti-jitter mechanism that differentiates delay processing based on monitoring type. Unlike the conventional approach of uniformly cooling down and waiting for all indicators, this solution explicitly converts the fluctuation physical characteristics of each monitoring type under normal operation into quantifiable delay time parameters. It configures a longer delay observation window for indicators with high-frequency transient fluctuations, and zero delay for deterministic anomalies. Within the delay observation window, it dynamically tracks indicator changes, silently discarding those that return to normal, and updating the level of those that upgrade without resetting the timer. This effectively filters out invalid alarms caused by transient fluctuations, avoids delays in deterministic anomalies, and prevents additional extension of the observation window due to level changes, achieving a balance between invalid alarm suppression and alarm timeliness.
[0012] 3. This invention also constructs an intelligent attribution mechanism that combines confidence-aware triage with circuit breaker degradation. Unlike the approach of unconditionally adopting the classification results of large models and making them a mandatory step in alarm push, this solution constrains large models to simultaneously output numerical confidence scores while outputting classification labels. It triages derived alarms using a preset threshold, with high-confidence alarms folded and converged, while low-confidence alarms remain independently visible. This provides a safety net for low-confidence results while reducing noise. Furthermore, by determining the health status of the large model service, incremental attribution is implemented if it is available, and degraded transmission is performed if it is unavailable, preventing the large model from becoming a single point of dependence in the alarm chain and ensuring attribution quality and system robustness.
[0013] 4. This invention, through type-aware differentiated delay configuration, applies appropriate delay observation windows to high-fluctuation indicators, effectively filtering out most transient jitters. Simultaneously, it maintains zero latency for real-time types such as log keywords to ensure critical events are not delayed, thereby reducing the number of invalid alarms. Combined with a three-level state machine and silent discard mechanism, it eliminates recovery notification noise generated during indicator recovery within the delay period, improving the alarm attention of operations and maintenance personnel. Furthermore, by leveraging large-scale model alarm correlation analysis, it reduces the number of notifications in cascading alarm scenarios, allowing operations and maintenance personnel to focus only on root cause alarms without having to infer causal relationships from a large number of derivative alarms, effectively shortening fault location time. In addition, through large-scale model intelligent diagnosis, it provides operations and maintenance personnel with targeted root cause analysis and handling suggestions, replacing traditional static template text, further shortening the decision-making time for initial fault handling.
[0014] In summary, this invention has achieved good results in suppressing invalid alarms, eliminating alarm noise, rapidly locating root causes, and improving handling efficiency. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 A flowchart of the alarm anti-jitter method based on large model intelligent analysis and type awareness provided in the embodiments of this application;
[0017] Figure 2 This is a schematic diagram of the state transition of the alarm anti-jitter method provided in the embodiments of this application;
[0018] Figure 3 A flowchart illustrating the intelligent analysis and attribution processing of large models provided in this application embodiment;
[0019] Figure 4 This is a schematic diagram of the module structure of the alarm anti-jitter system provided in the embodiments of this application;
[0020] Figure 5 This is a schematic diagram of the alarm anti-jitter system based on large model intelligent analysis and type awareness provided in the embodiments of this application. Detailed Implementation
[0021] Embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of the present disclosure are shown in the drawings, it should be understood that embodiments of the present disclosure may be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure.
[0022] It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure. In the description of the embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "this embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc., may refer to different or the same objects.
[0023] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0024] This embodiment provides an alarm jitter mitigation method based on large-model intelligent analysis and type awareness, applied to a quality flow intelligent monitoring platform. The platform includes a monitoring client and a monitoring server. The monitoring client is developed using Go, while the monitoring server is implemented using Go in conjunction with the Gin and GORM frameworks. Its data storage supports SQLite, MySQL, and PostgreSQL. Large-model intelligent analysis processing is integrated into the monitoring server, and a DeepSeek large model deployed on the intranet is called via an intranet HTTPS interface as a large model service. Taking an operation and maintenance monitoring scenario as an example, such as... Figure 1 The diagram shown is a flowchart of the alarm anti-jitter method based on large model intelligent analysis and type awareness provided in this application embodiment. The specific implementation process includes the following steps:
[0025] First, obtain the real-time monitoring metrics collected by the monitoring client and compare them with the preset alarm thresholds.
[0026] This step is used to continuously acquire the operational status of the monitored objects and complete the initial anomaly identification. Specifically, the monitoring client is deployed on each monitored host node and can use the gopsutil library to collect real-time metric data of the monitored servers. The default collection period is set to 10 seconds. The monitoring types collected include processor utilization, memory utilization, disk utilization, TCP port connectivity, HTTP service availability, log keyword matching, database connection status, network traffic, system load, and process liveness status, thus covering multiple dimensions of server operation.
[0027] After data collection is completed, numerical monitoring indicators such as processor utilization and memory utilization are judged by directly comparing them with thresholds; while non-numerical monitoring indicators such as TCP port connectivity and log keyword matching are judged by whether preset abnormal conditions are met.
[0028] The preset alarm thresholds serve as pre-defined benchmarks for anomaly detection. These thresholds can be set by operations personnel based on the statistical baselines of each monitoring indicator during historical normal operation. They are categorized into multiple levels according to alarm severity, such as warning and critical thresholds. This allows for not only determining whether an anomaly exists during comparison but also further identifying the severity of the anomaly. In terms of storage, the preset alarm thresholds can be written to a configuration file or stored in a database to support runtime adjustments. Based on this unified data collection and comparison process, monitoring indicators from different sources and in different formats can be integrated into a single processing framework for identification and processing, providing standardized data input for subsequent differentiated processing.
[0029] The preset alarm conditions are the conditions for determining the existence of an anomaly based on the aforementioned comparison results. Specifically, for numerical monitoring indicators, the preset alarm conditions are met when the collected value reaches or exceeds the corresponding preset alarm threshold; for non-numerical monitoring indicators, the preset alarm conditions are met when the corresponding preset anomaly condition is met; when the real-time monitoring indicator meets the above preset alarm conditions, the subsequent type-aware delay processing is triggered.
[0030] After completing the above comparison, if the real-time monitoring indicators meet the preset alarm conditions, the corresponding delay time parameter is obtained by querying the type-aware delay configuration table according to the monitoring type. Based on the delay time parameter, the state transition is determined, and the trigger state original alarm data is generated.
[0031] This step introduces a differentiated latency handling mechanism associated with the monitoring type. Unlike the approach of immediately generating an alarm when a metric exceeds its limits, when a real-time monitoring metric meets preset alarm conditions, this step first queries the type-aware latency configuration table based on the monitoring type to which the metric belongs, obtaining the latency parameter matching that monitoring type. For monitoring types with inherently high-frequency transient fluctuations, such as processor utilization and memory utilization, a relatively long latency observation window is configured to allow sufficient time to confirm whether the anomaly is real and persistent. For monitoring types with slow fluctuations but a continuous trend, such as disk usage, a corresponding latency observation window is configured to match its rate of change. For monitoring types such as log keyword matching, which represent deterministic anomalies once triggered, zero or extremely short latency is configured to ensure immediate reporting of such alarms. Accordingly, the latency parameter can be characterized by the following mapping relationship:
[0032] ;
[0033] in, This indicates the obtained delay time parameter. This indicates the monitoring type to which the real-time monitoring indicators that currently meet the preset alarm conditions belong. This represents the mapping function defined in the type-aware delay configuration table, which maps monitoring types to delay time parameters. This formula explicitly transforms the fluctuating physical characteristics of a monitoring type under normal operating conditions into quantifiable time parameters, adapting the delay handling strategy to the indicator characteristics. This allows for the acquisition of delay time parameters in a deterministic and easily implemented manner by looking up values in a table.
[0034] The type-aware delay configuration table used here is a pre-established data table that records the mapping relationship between monitoring types and delay time parameters. It can be obtained by statistically analyzing the fluctuation frequency and duration of each monitoring type during historical operation, and then determining the corresponding mapping value.
[0035] As a specific implementation method, the correspondence between each monitoring type and the delay time parameter in the type-aware delay configuration table can be set as follows: the delay time for processor utilization, memory utilization and database connection status is 25 to 35 seconds; the delay time for disk utilization is 50 to 70 seconds; the delay time for TCP port connectivity and HTTP service availability is 10 to 20 seconds; and the delay time for log keyword matching is zero seconds. The above values are adapted to the fluctuation frequency of the indicators and the degree of business impact of each monitoring type.
[0036] In terms of storage, the type-aware delay configuration table can be pre-written in the form of a static configuration file or stored in a database to support dynamic adjustments during runtime. Furthermore, the delay time parameter can be further subdivided based on the monitoring type and the importance level of the monitored target. By adopting differentiated delay observation strategies for different monitoring types, this step can effectively suppress invalid alarms caused by high-frequency transient fluctuations while ensuring the timeliness of alarms for deterministic anomalies, thus achieving a balance between suppressing invalid alarms and ensuring alarm timeliness.
[0037] like Figure 2 The diagram illustrates the state transition of the alarm anti-jitter method provided in this embodiment of the invention. As shown, the alarm object transitions between the normal state, pending state, triggered state, transparent state, and attributable state: When a real-time monitoring indicator exceeds a threshold and the delay time corresponding to its monitoring type is greater than zero, it transitions from the normal state to the pending state and starts a delay timer; in the pending state, if the indicator recovers within the delay period, it silently discards the alarm and transitions back to the normal state; if it escalates from a warning to a critical alarm within the delay period, the alarm level is updated without resetting the timer; if the alarm remains abnormal after the delay expires, it transitions to the triggered state; when the delay time corresponding to the monitoring type is equal to zero, it directly transitions from the normal state to the triggered state; alarms in the triggered state are deduplicated and then transparently transmitted. The system transmits and sends the initial push data containing the identifiers in the analysis, thus transitioning to the transparent state. In the transparent state, if the large model service is available, it transitions to the attributed state through correlation analysis, confidence-based traffic splitting, intelligent diagnosis, and incremental updates. If the large model service is unavailable, the analysis is stopped and the system is downgraded. At this time, the alarm object remains in the transparent state until the fault is recovered and it transitions back to the normal state. The final alarm form data mentioned here only refers to the fact that the displayed content of the alarm in the transparent state is no longer refreshed by subsequent incremental update alarm data, rather than the termination state in the sense of a state machine. Both the transparent state and the attributed state transition back to the normal state after the fault is recovered.
[0038] Furthermore, in the state transition determination, if the delay time parameter is greater than zero, pending state record data is generated, and a delay timer with a duration equal to the delay time parameter is started.
[0039] This step is used to translate the acquired delay time parameter into specific status management operations. When the delay time parameter is greater than zero, it indicates that the anomaly corresponding to this monitoring type needs to go through a delay observation window before it can be confirmed. Therefore, this step does not immediately generate an alarm, but first generates pending state record data to record the intermediate state of the alarm object during the delay observation period. The pending state record data may include the alarm object's identifier, the current alarm level data, and relevant time information. At the same time, a delay timer with a duration equal to the delay time parameter is started to time the delay observation window.
[0040] In terms of implementation, the delay timer can be based on the system's timed task scheduling mechanism, or it can use a time wheel or delay queue to uniformly manage the expiration of a large number of concurrent pending state records, thus efficiently completing timing management even when there are many alarm objects. This step provides a state carrier and timing basis for subsequently tracking indicator changes within the delay observation window.
[0041] During the operation of the delay timer, new real-time monitoring indicators are continuously received. If the new real-time monitoring indicators fall back to the normal level, the pending state record data is cleared and a timer cancellation command is sent. Falling back to the normal level means that the collected value of the exponential indicator is lower than the corresponding preset alarm threshold, or the non-numerical indicator no longer hits the corresponding preset abnormal condition.
[0042] During the delay timer's operation, this step continuously receives new real-time monitoring metrics for the alarm object to dynamically track its changing trends. Once a new real-time monitoring metric falls back to a normal level during this period, it indicates that the previously triggered alarm condition was caused by transient fluctuations in the metric, rather than a real and continuous anomaly. At this point, the corresponding pending state record data is cleared, and a timer cancellation command is sent to terminate the timing, allowing the alarm object to return to a normal state without generating any external alarms. For example, if the monitoring client collects data showing that the disk / data partition usage of host db-server-01 reaches 82%, exceeding its 80% warning threshold, pending state record data is generated based on the delay time corresponding to the disk usage, and a delay timer is started. If, in the next collection cycle within the delay observation window, the disk usage is found to have fallen back to 78%, below the warning threshold, the pending state record data is cleared, and a timer cancellation command is sent. The alarm does not enter a triggered state, nor does it generate any external notification; the delay cancellation event is only recorded in the local log. Therefore, such transient fluctuations are silently handled within the delayed observation window, which not only helps to suppress invalid alarms, but also reduces interference to maintenance personnel.
[0043] Conversely, if a new real-time monitoring metric meets a higher-level preset alarm threshold during the operation of the delay timer, such as upgrading from meeting the warning threshold to meeting the critical threshold, the alarm level data in the pending state record data is updated, and the delay timer is not reset.
[0044] The key difference between this step and conventional state management lies in the design of not resetting the delay timer. If a newly received real-time monitoring indicator within the delay observation window meets a higher-level preset alarm threshold, indicating a further escalation of the anomaly, this step updates the alarm level data in the pending state record to reflect the more severe anomaly. This ensures that the final generated alarm is presented according to the highest level reached during the observation period, preventing maintenance personnel from underestimating the severity of the fault. Simultaneously, this step does not reset the delay timer; it continues to count down according to its initial setting. This design is because an increase in alarm level only reflects a change in the severity of the anomaly, not the observation period required to determine whether the anomaly persists. Resetting the timer due to an increase in level would unduly extend the delay observation window, thus delaying the final alarm generation. Therefore, this step ensures that the final alarm reflects the highest severity during the observation period while avoiding additional extension of the delay observation window due to level changes, balancing accurate severity representation with timely alarm generation.
[0045] When the delay timer expires and no timer cancellation command is received, trigger state original alarm data is generated based on the pending state record data.
[0046] When the delay timer expires and no timer cancellation command is received during its entire operation, it indicates that the anomaly corresponding to the alarm object persists within the complete delay observation window without falling back to the normal level. Based on this, it can be confirmed that the anomaly is real and persistent. At this time, this step generates triggered state original alarm data based on the pending state record data. The generated triggered state original alarm data carries the final alarm level recorded in the pending state record data after the aforementioned possible level updates, and serves as the object of subsequent processing.
[0047] It should be noted that for monitoring types with zero latency, such as log keyword matching, the triggered raw alarm data is generated directly without going through the aforementioned latency observation window. For example, when log keyword matching monitoring detects the keyword "OutOfMemoryError," triggered raw alarm data is generated directly and enters the subsequent processing flow, thus ensuring the timely reporting of such deterministic anomalies. In this way, only confirmed persistent or deterministic anomalies are converted into external alarms, filtering out invalid alarms caused by transient fluctuations at the source and improving the accuracy and reliability of the generated alarms.
[0048] Before sending the initial push data to the target terminal, deduplication processing must be performed first. This involves extracting the hostname field, alarm type field, and monitoring target field from the original alarm data in the triggered state, concatenating them, and generating an alarm fingerprint.
[0049] This step extracts the hostname, alarm type, and monitoring target fields from the triggered raw alarm data and concatenates them to generate an alarm fingerprint that uniquely identifies the alarm. The hostname field identifies the host node from which the alarm originates, the alarm type field identifies the monitoring type to which the alarm belongs, and the monitoring target field identifies the specific monitored object. The combination of these three fields allows for the identification of an alarm's source across these three dimensions, thus distinguishing alarms from different sources. For example, monitoring the database connection of host db-server-01 would generate an alarm fingerprint represented as db-server-01_db_127.0.0.1:3306. In terms of implementation, this step can generate the alarm fingerprint by directly concatenating strings, or it can further perform a hash operation on the concatenated data to generate a fixed-length fingerprint value, thus providing a unique identifier for subsequent fingerprint-based comparison that is easy to store and retrieve.
[0050] After generating the alarm fingerprint, the alarm fingerprint is compared with the historical fingerprint database data within the preset suppression time window to remove duplicates. If the comparison determines that the data is not duplicated, the initial push data is sent to the target terminal.
[0051] This step compares the alarm fingerprint with historical fingerprint data within a preset suppression time window. The historical fingerprint database records alarm fingerprints that have already been pushed within this suppression time window. If the comparison result shows that the alarm fingerprint does not have a matching record in the historical fingerprint database, it is determined to be non-duplicate data, indicating that the alarm has not been pushed within the current suppression time window. In this case, the operation of sending the initial push data to the target terminal is performed. Conversely, if a matching record exists, it indicates that the alarm is a duplicate alarm and does not need to be pushed again.
[0052] The preset suppression time window is a pre-defined duration parameter used to define the scope of duplicate alarm judgment. Its value can be determined by operations and maintenance personnel based on the acceptable duplicate push interval for similar alarms. The longer the value, the wider the time range during which the same alarm fingerprint is judged as duplicate and suppressed, and the stronger the suppression of duplicate pushes. In terms of implementation, historical fingerprint database data can be maintained using a cache with expiration capabilities, ensuring that records automatically expire after the preset suppression time window, thus maintaining the timeliness of the database data without additional cleanup operations. This step prevents the duplicate push of the same alarm within the preset suppression time window, further reducing the interference of duplicate alarms on operations and maintenance personnel.
[0053] See Figure 3 This diagram illustrates the process of intelligent analysis and attribution processing using a large-scale model, as provided in this application embodiment. In the diagram, the triggered raw alarm data first undergoes a large-scale model service health status determination: if the availability conditions are not met, it enters a degradation process, with the initial push as the final form; if the availability conditions are met, it enters alarm context collection, which includes an active alarm list, service topology dependency graph, and a historical similar scenario library, and constructs structured prompt words accordingly, injecting constraints during construction to require synchronous output of confidence scores; subsequently, the DeepSeek large-scale model performs correlation analysis, outputting results containing classification labels and confidence scores, and then enters a confidence score triage determination, where derived alarms with confidence scores not less than a threshold are configured as collapsed and visible, those with confidence scores less than a threshold are configured as independently visible, and independent alarms are directly configured as independently visible without confidence score comparison; for root cause alarms, secondary reasoning is performed to generate intelligent diagnoses, which are finally encapsulated as incrementally updated alarm data, updating the alarm status from "in analysis" to "attributed."
[0054] After deduplication, the system sends initial push data containing the original alarm data in the triggered state and the status identifier in the analysis to the target terminal. At the same time as sending the initial push data, the system starts the asynchronous analysis task of the large model in parallel to obtain the health status data of the large model service.
[0055] This step restructures the alarm push sequence, a crucial step in ensuring alarm timeliness. Unlike methods that treat intelligent analysis as a prerequisite for alarm pushes, this step encapsulates the triggered raw alarm data along with the analysis status identifier into initial push data and immediately sends it to the target terminal. This allows operations personnel to detect anomalies immediately without waiting for subsequent analysis to complete. The analysis status identifier indicates that the alarm is currently in the intelligent analysis process, and its corresponding display form is temporary, thus reserving a basis for subsequent status updates. Simultaneously, this step initiates a large-scale asynchronous analysis task in parallel. This asynchronous task is independent of the initial push in terms of timing and does not block each other, thus separating the relatively time-consuming analysis process from the main alarm push chain. It first obtains the health status data of the large-scale model service as a basis for determining whether to execute intelligent analysis subsequently.
[0056] The large model service involved here is a generative model service used for causal reasoning and diagnosis of alarms. In this embodiment, it is integrated into the monitoring server and implemented by calling the DeepSeek large model deployed on the intranet via an intranet HTTPS interface. This model can be a generative model pre-trained on a large-scale general corpus and further fine-tuned using corpora from areas such as operational alarm descriptions and fault handling records. In terms of access methods, it can be accessed through an externally provided model service interface or provided as a locally deployed inference model. The scheduling of the large model's asynchronous analysis tasks can be implemented using an independent task queue or thread pool. By first transmitting the original alarms and then asynchronously processing the intelligent analysis, the presentation of alarms is no longer constrained by the analysis time, thus ensuring that operations personnel are promptly aware of anomalies while reserving processing space for subsequent intelligent attribution enhancement.
[0057] It should be noted that both the initial data push and subsequent incremental update alarm data are configured to be distributed via a real-time data stream channel built using the Server-Sent Events protocol.
[0058] This step provides a transport channel for the two-stage push sequence of first transmitting the original alarm and then incrementally updating the attribution results. The Server-Sent Events protocol supports continuous unidirectional data push from the server to the target terminal over an established connection. Therefore, it is possible to first send the initial push data carrying the triggered original alarm data on the same real-time data stream channel, and then send the incremental update alarm data carrying the attribution results. The two sends share the same connection without having to establish a connection again, thus reducing connection overhead and naturally conforming to the push sequence of this method of first transmitting and then incrementally updating.
[0059] In terms of implementation, in addition to using the Server-Sent Events protocol to build the real-time data stream channel, it can also be implemented using long-connection or bidirectional real-time communication protocols. Furthermore, when the initial data is pushed to the browser, it can also be converted into the corresponding message format and pushed to the enterprise communication server, such as pushing the message in Markdown format to the enterprise WeChat robot, in order to expand the reach of alarms.
[0060] After the large model asynchronous analysis task is started, the timeout return signal, abnormal status code, number of consecutive failures and rate limiting flag of the large model service are collected and combined into health status data.
[0061] This step collects and combines the operational status of the large model service from multiple dimensions into health status data. Specifically, timeout return signals can be obtained by monitoring whether the call returns within a preset time limit, reflecting whether the large model service responded within the expected time; exception status codes can be obtained by parsing the response status of the call, reflecting the error status returned by the large model service in the response; the number of consecutive failures can be obtained by accumulating the number of consecutive call failures, reflecting the situation where the large model service experiences consecutive call failures within a period of time; and rate limiting indicators can be obtained by identifying the rate limiting response in the call return, reflecting whether the large model service is currently in a rate-limited state.
[0062] The aforementioned dimensions characterize the operational status of the large model service from the perspectives of response latency, response results, failure accumulation, and access constraints. Their combination can comprehensively represent the availability of the large model service. In addition to the above, metrics such as call latency statistics and the number of currently queued requests can also be included in the data collection scope to reflect the load status more precisely.
[0063] After obtaining the health status data, the health status data is further matched with the preset circuit breaker rules indicators to determine whether the large model service meets the preset availability conditions.
[0064] Among them, the circuit breaker rule indicators are pre-defined conditions that trigger unavailability judgments for various dimensions of the status. These can be configured by operations and maintenance personnel based on the acceptable failure level of the large model service. For example, it can be specified that the large model service does not meet the preset availability conditions when the number of consecutive failures reaches a set number, or when a rate limiting indicator appears or a response timeout occurs. Specifically, the preset availability conditions adopt the logic of determining unavailability based on any trigger. That is, when any one of the timeout return signal, abnormal status code, number of consecutive failures, and rate limiting indicator in the health status data matches the circuit breaker rule indicator, it is determined that the large model service does not meet the preset availability conditions and triggers degradation processing. Only when none of the above items trigger the corresponding circuit breaker rule indicator is it determined that the large model service meets the preset availability conditions and enters intelligent attribution enhancement processing.
[0065] When the preset availability conditions are not met, the degradation process described later is triggered; conversely, when the preset availability conditions are met, the intelligent attribution enhancement process described later is initiated. In terms of implementation, this step can utilize a circuit breaker mechanism, causing the large model service to enter a circuit breaker state after being determined to be unavailable, and attempt to reconnect after a preset recovery detection period, thereby automatically restoring the intelligent analysis path when the service recovers. Through this step, the availability of the large model service can be objectively identified, providing a basis for determining the subsequent splitting of the two processing paths.
[0066] Accordingly, if the health status data meets the preset availability conditions, alarm context data is collected and input into the large model service along with the triggered original alarm data to obtain the initial inference result containing alarm classification labels and corresponding confidence scores; based on the alarm classification labels and confidence scores, a triage judgment is performed to generate display status data; for data whose alarm classification labels indicate root cause alarms, the large model service is called to generate intelligent diagnostic results; the incrementally updated alarm data containing display status data and intelligent diagnostic results is sent to the target terminal to update the status of the initially pushed data to the attributed status.
[0067] This step is the intelligent attribution enhancement step under the condition that the large model service is available, forming an intelligent closed loop for alarm processing. In summary, this step collects alarm context data associated with the original alarm data in the triggered state and inputs it along with the original alarm data into the large model service. The service then infers and outputs an initial inference result containing alarm classification labels and corresponding confidence scores. The alarm classification labels characterize the causal relationship between alarms, and the confidence scores quantify the large model service's degree of certainty regarding the classification result. Subsequently, based on the alarm classification labels and confidence scores, a triage judgment is performed, and display status data is generated. Then, for root cause alarms, the large model service is invoked for secondary inference to generate intelligent diagnostic results. Finally, the display status data and intelligent diagnostic results are packaged into incrementally updated alarm data and sent to the target terminal, updating the status of the initially pushed data from "under analysis" to "attributed." Alarm classification labels can adopt multiple classification systems such as root cause, derivative, and independent, and the classification granularity can be expanded or simplified according to actual needs. By combining intelligent inference from large model services with a confidence-aware triage mechanism, this step can identify causal relationships in alerts, converge derived alerts, and provide a safety net for low-confidence classification results using confidence levels. The following details the various processes involved in this step:
[0068] First, obtain the list of all currently active alarms on the host node that generated the original alarm data in the triggered state.
[0069] This step focuses on the host node that generated the triggered raw alarm data, acquiring all currently active alarms on that host node to form a list of all active alarms. The reason for collecting all active alarms from the same host node is that multiple alarms existing concurrently on the same host node often have inherent causal relationships. Including them in the context provides the necessary horizontal information foundation for subsequent identification of causal relationships between alarms. Furthermore, the scope of active alarm collection can be limited to a single host node or extended to other related nodes based on service topology dependencies to cover cross-node alarm correlation scenarios.
[0070] Based on this, further time-series indicator trend data of host nodes within a preset time window, as well as upstream and downstream dependency data of host nodes in a preset service topology dependency graph, are obtained.
[0071] This step collects two types of auxiliary information helpful for determining causal relationships. The first is the time-series indicator trend data of the host node within a preset time window. This data can be obtained by extracting historical values of relevant monitoring indicators within this time window, reflecting the evolution trend of indicators from normal to abnormal. The preset time window is a pre-set duration parameter used to define the range of trend backtracking, which can be set according to the typical evolution cycle of indicator changes. The second is the upstream and downstream dependency data of the host node in a preset service topology dependency graph. This data can be obtained by searching the service topology dependency graph for the host node and its associated service nodes, reflecting the call and called relationships between the host node or its services and other nodes or services. The preset service topology dependency graph is a pre-constructed graph describing the dependencies between nodes or services. It can be sourced from a configuration management database or constructed and updated through automatic discovery of call chains. The above information in the time and structural dimensions complement each other, jointly providing support for subsequent inference of causal relationships between alarms.
[0072] Subsequently, a pre-defined historical similar scenario library is queried to obtain the historical root cause distribution probability that matches the current list of all active alarms.
[0073] This step uses the current list of all active alarms as search criteria to query a pre-defined historical similar scenario database, obtaining the historical root cause distribution probability that matches the alarms. This introduces historical experience information to assist in determining causal relationships. The pre-defined historical similar scenario database is a pre-established database that records previously occurring alarm combination scenarios and their corresponding root cause attributions. It is constructed by collecting and statistically analyzing historical alarm data and corresponding operational and maintenance conclusions, and is updated as operational and maintenance processes continue. Based on this, the historical root cause distribution probability can be represented as:
[0074] ;
[0075] in, Indicates an alarm The probability of it appearing as a root cause in the matched historical similar scenarios. This indicates an alert will be issued in similar historical scenarios. The number of times it was identified as the root cause This represents the total number of occurrences of similar historical scenarios. The formula is based on the root cause attribution frequency in historical scenarios. By comparing the frequency with the total number of occurrences, it transforms past operational experience into quantifiable prior probabilities, allowing subsequent causal relationship judgments to rely not only on current real-time information but also on historical experience, thus improving the robustness of the judgment. In terms of implementation, the similarity matching between the current active alarm list and historical scenarios can be based on comparisons of alarm combination features or by calculating similarity after vectorization. Furthermore, the criteria for determining whether the current active alarm list data matches a historical scenario can be set as follows: the alarms contained in both scenarios are consistent in alarm type and node combination; or the similarity calculated after vectorization is not less than a preset similarity threshold. This similarity threshold can be set according to the required accuracy for distinguishing historical scenarios. Only when the above matching criteria are met is the historical scenario included in the total number of occurrences of similar historical scenarios, and the number of times each alarm is identified as a root cause is counted accordingly, thus ensuring that the calculation of the historical root cause distribution probability has clear and executable prerequisites.
[0076] It should be added that, after the historical root cause distribution probability is generated, it is incorporated into the aforementioned alarm context data as an empirical prior reference. This probability is then assembled into structured prompts along with the alarm context data, allowing the large model service to weigh the probabilities when performing causal relationship inference and classification. For alarms with a high historical root cause distribution probability, the large model service tends to classify them as root cause alarms and assign them corresponding confidence scores when they conform to the dependency and temporal relationships reflected in the current context. Thus, historical operational experience effectively supports the current classification judgment, rather than existing in isolation within the context.
[0077] After collecting the above information, the current active alarm list data, time-series indicator trend data, upstream and downstream dependency data, and historical root cause distribution probability are packaged to generate alarm context data.
[0078] This step packages the previously acquired data, including the current list of all active alarms, time-series metric trend data, upstream and downstream dependency data, and historical root cause distribution probability, to generate alarm context data. This consolidates horizontal concurrent alarm information, time-dimensional metric evolution information, structural dependency information, and experience-based historical root cause information into a unified alarm context data. The packaging can employ a structured data format to organize various types of information, facilitating subsequent assembly with the triggered original alarm data and input into the large model service.
[0079] Next, the alarm context data and the triggered original alarm data are assembled into basic text data.
[0080] This step integrates the alarm context data and the triggered original alarm data into basic text data according to a preset organization method. This presents the information of the current alarm itself and its surrounding context information in the same text, thus providing complete text input for inference served by the large model. The organization of the basic text data can use preset prompt word templates for field filling, or it can list various types of information in segments according to a pre-agreed hierarchical structure. The prompt word templates are pre-designed templates that specify the arrangement of various types of information in the text.
[0081] After assembling the basic text data, instruction data containing mandatory constraint specifications is further injected into the basic text data. The instruction data is used to constrain the numerical confidence score in the range of zero to one for the synchronous mapping output of the large model service.
[0082] This step injects mandatory constraint specification command data, enabling the large model service to simultaneously output confidence scores for subsequent quantification processing while outputting alarm classification labels. Constraining the confidence score to a numerical form within the range of zero to one quantifies the large model service's confidence in its classification results, providing a directly comparable input for subsequent traffic allocation based on the confidence score and a pre-set confidence threshold. Without this constraint, the large model service's output might only consist of classification labels or unstructured natural language descriptions, making it difficult to support subsequent threshold-based traffic allocation. Therefore, the mandatory constraint specification injected in this step and the subsequent traffic allocation process complement each other, forming a confidence-aware traffic allocation mechanism. In terms of implementation, the constraint on the large model service's output format can be achieved not only by injecting command data into the text but also by utilizing structured output interfaces or parsing and verifying the returned results to ensure that the output confidence score conforms to the expected numerical form.
[0083] Based on this, the text of the injected instruction data is sent as structured prompt words to the large model service to obtain the initial inference results.
[0084] This step sends the text containing the injected instruction data as structured prompts to the large model service. The service then performs inference based on these prompts, returning an initial inference result containing alarm category labels and corresponding confidence scores. This initial inference result serves as the processing object for subsequent traffic allocation decisions. In terms of implementation, the structured prompts can be sent via a request through the API provided by the large model service, or submitted to the locally deployed inference model, depending on the actual deployment configuration.
[0085] In obtaining the initial inference results, the large model service performs causal relationship inference based on the alarm context data carried in the structured prompts. Specifically, it determines the transmission relationship of the fault along the dependency chain based on the calling and called directions reflected in the upstream and downstream dependency relationship data, determines the leading and successive relationships between alarms based on the time sequence of the occurrence of anomalies in various indicators reflected in the time series indicator trend data, and refers to the root cause attribution tendency in similar scenarios in the past, reflecting the root cause distribution probability. By combining the above information, it infers the causal relationship between various alarms, and then marks the alarm at the source of the causal chain as the root cause alarm, the alarm caused by other alarms as the derived alarm, and the alarm that has no causal relationship with other alarms as the independent alarm. At the same time, it outputs the corresponding confidence score based on the sufficiency of the above evidence. Thus, the generation of the initial inference results has clear judgment criteria, rather than relying solely on the black box output of the large model service.
[0086] After obtaining the initial inference results, the alarm classification labels are analyzed to distinguish the first feature data indicating a derived alarm and the second feature data indicating an independent alarm.
[0087] This step parses the alarm classification labels to distinguish between first feature data indicating derived alarms and second feature data indicating independent alarms. The first feature data corresponds to derived alarms determined to be caused by other alarms, while the second feature data corresponds to independent alarms determined to be causally related to other alarms. This provides a classification basis for subsequent differentiated processing of different types of alarms.
[0088] For the first feature data, extract its corresponding confidence score and compare it with a preset confidence threshold. If it is not less than the preset confidence threshold, generate folded visible state data; if it is less than the preset confidence threshold, generate independent visible state data.
[0089] This step extracts the confidence score corresponding to the first feature data and compares it with a preset confidence threshold. Its triage logic can be characterized as follows:
[0090] ;
[0091] in, This indicates the display status data generated for this derived alarm. This indicates the folded visible state data. Indicates independently visible state data. This indicates the confidence score corresponding to the derived alarm. This represents a preset confidence threshold. The formula uses this threshold as a boundary to differentiate the display processing of derived alarms with varying degrees of confidence: when the confidence score is not less than the preset threshold, it indicates that the large model service has a high degree of confidence in classifying the alarm as a derived alarm. Folded visible state data is generated so that the derived alarm is folded under its corresponding root cause alarm during display, achieving convergence and noise reduction. When the confidence score is less than the preset threshold, it indicates insufficient confidence. Therefore, folding convergence is not performed, but independent visible state data is generated to maintain its independent display, thus avoiding the hiding of potentially valuable alarms due to insufficient confidence in the classification results.
[0092] Therefore, the value of the preset confidence threshold directly determines the display direction of derived alarms. A higher threshold requires a higher level of confidence to perform collapse and convergence on derived alarms, resulting in more alarms being displayed independently and stricter prevention of key alarms being mistakenly converged. Conversely, a lower threshold results in more derived alarms being collapsed and converged, thus enhancing noise reduction. The preset confidence threshold is a pre-defined comparison benchmark used to distinguish between high and low confidence classification results. It can use a uniform fixed value or be set differently depending on the alarm level or monitoring type. Accordingly, this step can both converge and reduce noise for high-confidence derived alarms and provide a safety net for low-confidence classification results, thereby reducing the risk of key alarms being mistakenly converged and missed while reducing noise.
[0093] Correspondingly, for the second feature data, the corresponding independent visible state data is directly generated.
[0094] Since independent alarms are determined to have no causal relationship with other alarms and are not derivative alarms that should be converged and collapsed, this step directly generates corresponding independent visible status data for them, so that the independent alarm remains independently displayed. This ensures that the traffic splitting determination has a complete processing path for the three types of alarms: root cause alarms, derivative alarms, and independent alarms, and guarantees that alarms without causal relationship are not incorrectly converged.
[0095] After completing the above-mentioned traffic splitting, configure either the collapsed visible state data or the independently visible state data to be displayed as the output state data.
[0096] This step configures the collapsed or independent visible state data generated by the aforementioned branches into display state data and outputs it. The output display state data serves as a component of the subsequent encapsulation into incrementally updated alarm data, used to determine the display format of the corresponding alarm on the target terminal. The display state data can be expressed using pre-defined state fields or state enumeration values, so that the target terminal can execute the corresponding display logic accordingly.
[0097] After determining the display status, the diagnostic processing for root cause alarms first involves obtaining the derived alarm data set corresponding to the generated collapsed visible status data.
[0098] This step obtains the derived alarm data set corresponding to the generated collapsed visible state data, that is, the set of alarms that have been determined to be high-confidence derived alarms and have been converged and collapsed under the root cause alarms. The reason for obtaining this set before generating the diagnostic results is that derived alarms are triggered by root cause alarms, and the abnormal behavior they reflect can indirectly confirm the scope and transmission of the root cause alarm's influence. Including them in the subsequent secondary reasoning helps to make a more comprehensive diagnosis of the root cause.
[0099] Then, the original alarm data, derived alarm data set, and alarm context data that indicate root cause alarms are merged into comprehensive analysis request data and sent to the big model service for secondary inference.
[0100] This step merges the original alarm data triggered by the root cause alarm, the derived alarm data set, and the alarm context data collected above into comprehensive analysis request data and sends it to the big model service for secondary inference. The purpose is to enable the big model service to simultaneously grasp the root cause of the fault, the external manifestation of the fault, and the environmental background of the fault when generating diagnostic results, so as to make a more realistic diagnosis.
[0101] It should be noted that secondary reasoning differs from the primary reasoning used to identify causal relationships. Its purpose is to generate instructive diagnostic content for confirmed root cause alarms, rather than to reclassify and determine the cause. Furthermore, the scope of information included in the comprehensive analysis request data can be adjusted according to actual needs; for example, when information is limited, only the root cause alarm information itself and alarm context data can be included.
[0102] After obtaining the results returned by the secondary inference, the returned text stream data is parsed, and the root cause analysis conclusion data, impact scope assessment data, and treatment suggestion steps data are extracted and spliced together to generate intelligent diagnostic results.
[0103] This step parses the text stream data returned by the large model service's secondary inference, extracting root cause analysis conclusions, impact scope assessment data, and action suggestion steps prioritized by order. These three parts are then combined to generate an intelligent diagnostic result. The root cause analysis conclusions explain the root cause of the fault, the impact scope assessment data describes the affected areas, and the action suggestion steps provide operational personnel with actionable procedures. Together, they constitute a complete and clearly defined diagnostic result, replacing the fixed description provided by a static template. In terms of implementation, the text stream data can be segmented and extracted based on pre-defined field identifiers, or the large model service can be required to return results in a structured format for easier parsing. Therefore, the intelligent diagnostic result generated in this step helps operational personnel quickly understand the fault and take appropriate action.
[0104] To facilitate understanding of the intelligent attribution enhancement process described above, a specific scenario is used as an example. Taking the failure of a MySQL database connection detection on host db-server-01 as an example, its corresponding alarm fingerprint is db-server-01_db_127.0.0.1:3306. If the connection fails to recover after the delay observation window expires, triggered raw alarm data is generated and pushed through. When the large model service meets the preset availability conditions, the alarm context collection obtains concurrent database connection failures, TCP port 3306 outages, and active alarms such as HTTP health check failures and process response timeouts on the host, which depend on the database, from app-server-01. This data, combined with the upstream and downstream dependency data of the application server app-server-01's MySQL service on the database server db-server-01, and the root cause distribution probability of application-layer alarms triggered by database connection failures in similar historical scenarios, is assembled into structured prompt words and input into the DeepSeek large model. The large model service outputs classification labels and confidence scores for each alarm, classifying database connection failures as root cause alarms and port outages and application-layer alarms as derivative alarms. For derivative alarms with confidence scores not less than a preset confidence threshold, collapsed visible status data is generated to converge and collapse under the root cause alarm. Subsequently, secondary inference is performed on the root cause alarm, combining indicators such as the database server processor utilization decreasing from a high level to near zero and memory usage significantly decreasing, to generate intelligent diagnostic results. The root cause analysis conclusion points to the abnormal exit of the mysqld process, indicating possible termination due to memory exhaustion or disk overload leading to a crash. The impact assessment points to the database access functions of application servers that rely on this database. The recommended actions, prioritized, include confirming whether the termination was due to memory exhaustion, checking database error logs, adjusting relevant memory parameters, and restarting the database service. Finally, the displayed status data and intelligent diagnostic results are packaged into incremental update alarm data and distributed, refreshing the alarm status on the target terminal from "under analysis" to "attributed." For example, in a large-scale cascading failure scenario, when a network switch failure in a data center causes a large number of triggered state alarms to be triggered simultaneously on the TCP ports, HTTP services, and process monitoring of multiple servers, the original triggered state alarms are first transparently transmitted to ensure that maintenance personnel can perceive them in a timely manner. Subsequently, the large model service infers based on all active alarms, the upstream and downstream dependency data of all servers connected to the same switch, and the root cause distribution probability of similar historical scenarios. The failure of switch connectivity detection is identified as the root cause alarm, and the disconnection alarms of each server are identified as high-confidence derivative alarms and folded under the root cause alarm. This allows maintenance personnel to focus on a single root cause alarm with intelligent diagnostic results instead of a large number of concurrent alarms, which helps to shorten the fault location time.
[0105] Correspondingly, when the large model service meets the preset availability conditions, the incremental update alarm data is sent to the target terminal through the real-time data stream channel, triggering the local rendering command of the target terminal to refresh the view displaying the initial push data to an attributed view containing display status data and intelligent diagnostic results.
[0106] This step defines the view update mechanism on the target terminal side when the large model service is available. Incremental update alarm data is sent to the target terminal through the aforementioned real-time data stream channel, triggering a partial rendering command on the target terminal. The partial rendering command is used to partially refresh the view on the target terminal that previously displayed the initial push data, rather than reloading the entire page. This refreshes the view that was originally in the analysis state into an attributed view that includes the display status data and intelligent diagnostic results. This allows operations and maintenance personnel to observe the alarm smoothly transition from its original form to the form enhanced by intelligent attribution on the same alarm view. This includes the corresponding convergence or independence of derived alarms based on the display status data, as well as the presentation of the intelligent diagnostic results corresponding to the root cause alarm.
[0107] In terms of implementation, the view refresh triggered by the local rendering command can be achieved by locally updating the corresponding alarm element in the target terminal page, so as to complete the form transition of the alarm view without affecting other displayed content, thereby achieving a coherent connection between the original alarm presentation and the intelligent attribution result presentation.
[0108] Alongside the aforementioned intelligent attribution enhancement path, if the health status data does not meet the preset usability conditions, the asynchronous analysis task of the large model will be terminated, and the initial push data will be set as the final alarm form data.
[0109] This step is a degradation process, ensuring a complete and self-consistent processing path for both available and unavailable large model services. When the acquired health status data indicates that the large model service is unavailable, this step suspends the asynchronous analysis task of the large model, ceases subsequent processing such as alarm context data collection and large model inference, and directly sets the initial push data already sent to the target terminal as the final alarm data. Therefore, even if the large model service is unavailable, operations personnel can still obtain the original triggered alarms generated based on type-aware delay processing on the target terminal. The alarm chain will not be interrupted due to the abnormality of the large model service. In this case, the system effectively degrades to an alarm form that only relies on type-aware anti-jitter processing, which is itself fully available. Accordingly, this step avoids the large model service becoming a single point of dependency in the alarm chain, ensuring the continuity of alarm pushes and the overall robustness of the system when the large model service is unavailable.
[0110] Correspondingly, when the large model service does not meet the preset availability conditions, the target terminal maintains the original display view of the initial pushed data based on the set final alarm form data, and does not trigger the subsequent incremental update reception and view refresh mechanism.
[0111] This step defines the handling method on the target terminal side when the large model service is unavailable. Based on the final alarm format data, the target terminal maintains the original display view of the initial pushed data and does not trigger subsequent incremental update reception and view refresh mechanisms. Therefore, when no incremental update alarm data is sent, the original alarm that was previously passed through is explicitly used as the final presentation form of the alarm. This ensures that operations and maintenance personnel can still be aware of the alarms generated by type-aware anti-jitter processing, while avoiding the target terminal being in a continuous waiting state due to waiting for incremental updates that will not arrive. In terms of implementation, the target terminal can determine whether to maintain the original display view or perform a view refresh based on the status flag in the analysis of the initial pushed data and whether subsequent incremental update alarm data has been received. This forms a consistent processing logic with the update mechanism in the aforementioned available scenario, ensuring the determinism of alarm presentation in degraded scenarios.
[0112] In summary, the method provided in this embodiment, through type-aware differentiated delay processing, can suppress invalid alarms caused by transient fluctuations in indicators while ensuring the timeliness of alarms for deterministic anomalies; by transmitting original alarms in advance and asynchronously analyzing large models, the presentation of alarms is not constrained by the time consumption of analysis; through a confidence-aware triage mechanism, noise reduction is achieved while converging derived alarms, and a safety net is provided for classification results with low confidence; through health status determination and degradation processing, the large model service is prevented from becoming a single point of dependency in the alarm chain, thus ensuring the accuracy, timeliness, and robustness of alarms as a whole.
[0113] Figure 4 This is a schematic diagram of the module structure of the alarm anti-jitter system provided in an embodiment of this application. Figure 4As shown, the system is divided into a monitoring client layer, a large-scale intelligent analysis layer, a monitoring server layer, and a browsing layer from top to bottom. The monitoring client layer horizontally includes an indicator collection engine, a threshold comparator, an alarm status manager, a delay timer pool, and a fingerprint deduplication device. The large-scale intelligent analysis layer horizontally includes an alarm context collector, a service topology dependency graph, a historical pattern learner, a health check and circuit breaker, a confidence splitter, a large-scale root cause inference engine, and an intelligent diagnostic generator, and is implemented based on the DeepSeek large model. The monitoring server layer horizontally includes an alarm receiver processor, an SSE real-time push engine, an asynchronous pass-through scheduler, enterprise WeChat robot push, associated alarm aggregation display, an incremental update sender, and a diagnostic suggestion history library. The browsing layer integrates dashboards, alarm lists in both analysis and attribution states, an association analysis graph, intelligent diagnostics, and SSE real-time push. The layers are connected sequentially from top to bottom to collaboratively complete alarm anti-jitter processing and intelligent attribution.
[0114] like Figure 5 The diagram shown is a structural schematic of the alarm anti-jitter system based on large model intelligent analysis and type awareness provided in this application embodiment, including:
[0115] The indicator monitoring module is used to acquire real-time monitoring indicators collected by the monitoring client.
[0116] The state machine control module is used to determine whether the real-time monitoring indicators meet the preset alarm conditions. The preset alarm conditions include at least one of the preset abnormal conditions and reaching the preset alarm threshold. If they are met, the following steps are taken: query the type-aware delay configuration table according to the monitoring type to obtain the corresponding delay time parameter, determine the state transition based on the delay time parameter, and generate the triggered state original alarm data.
[0117] The asynchronous pass-through module is used to send initial push data containing the triggered original alarm data and the status identifier in the analysis to the target terminal. At the same time as sending the initial push data, it starts the large model asynchronous analysis task in parallel to obtain the health status data of the large model service.
[0118] The inference and circuit breaker module is used to collect alarm context data and input it along with the triggered original alarm data into the large model service if the health status data meets the preset availability conditions. This yields an initial inference result containing alarm classification labels and corresponding confidence scores. Based on the alarm classification labels and confidence scores, it performs a traffic triage judgment to generate display status data. For data where the alarm classification label indicates a root cause alarm, it calls the large model service to generate intelligent diagnostic results. It then sends incrementally updated alarm data containing display status data and intelligent diagnostic results to the target terminal to update the status of the initial push data to an attributable state. If the health status data does not meet the preset availability conditions, it aborts the asynchronous analysis task of the large model and sets the initial push data as the final alarm form data.
[0119] The traffic triage and diagnosis module is used to determine traffic triage based on classification label data and confidence scores, generate display status data, and call the large model service to generate intelligent diagnostic results for root cause alarms.
[0120] The incremental update module is used to send incremental update alarm data, which includes display status data and intelligent diagnostic results, to the target terminal to complete the status update.
[0121] It should be noted that, Figure 4 From the perspective of system layered architecture, this illustrates the functional components contained in the monitoring client layer, the large-scale intelligent analysis layer, the monitoring server layer, and the browsing layer, as well as the relationships between these layers. Figure 5 From the perspective of functional module division, this system includes an indicator monitoring module, a state machine control module, an asynchronous pass-through module, an inference and circuit breaker module, a traffic splitting and diagnosis module, and an incremental update module. These two views illustrate the same system from two different perspectives: architectural layering and functional modules.
[0122] Through the above description of the implementation methods, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the above functions can be divided into different functional modules to complete all or part of the functions described above.
[0123] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An alarm anti-jitter method based on large-model intelligent analysis and type awareness, characterized in that, Includes the following steps: Obtain real-time monitoring metrics collected by the monitoring client; Determine whether the real-time monitoring indicator meets the preset alarm conditions. The preset alarm conditions include at least one of preset abnormal conditions and reaching a preset alarm threshold. If met, execute: According to the monitoring type, query the type-aware delay configuration table to obtain the corresponding delay time parameter, and perform state transition determination based on the delay time parameter to generate trigger state original alarm data; Send initial push data containing the original alarm data of the triggered state and the status identifier in the analysis to the target terminal, and simultaneously start the large model asynchronous analysis task to obtain the health status data of the large model service. If the health status data meets the preset availability conditions, then alarm context data is collected and input into the large model service along with the triggered original alarm data to obtain the initial inference result containing alarm classification labels and corresponding confidence scores; Based on the alarm classification label and the confidence score, traffic is divided and determined to generate display status data; for the data whose alarm classification label indicates a root cause alarm, the big model service is called to generate intelligent diagnostic results; the incrementally updated alarm data containing the display status data and the intelligent diagnostic results is sent to the target terminal to update the status of the initial push data to the attributed status. If the health status data does not meet the preset availability conditions, the asynchronous analysis task of the large model is terminated, and the initial push data is set as the final alarm form data.
2. The alarm anti-jitter method based on large model intelligent analysis and type awareness as described in claim 1, characterized in that: The step of determining the state transition based on the delay time parameter and generating the triggered state original alarm data includes: If the delay time parameter is greater than zero, then pending state record data is generated, and a delay timer with a duration equal to the delay time parameter is started; During the operation of the delay timer, new real-time monitoring indicators are continuously received. If the new real-time monitoring indicators fall back to the normal level, the pending state record data is cleared and a timer cancellation command is sent. If the new real-time monitoring metric meets the preset alarm threshold of a higher level, then the alarm level data in the pending state record data is updated, and the delay timer is not reset. When the delay timer expires and no timer cancellation instruction is received, the trigger state original alarm data is generated based on the pending state record data.
3. The alarm anti-jitter method based on large model intelligent analysis and type awareness as described in claim 1, characterized in that: Before sending the initial push data containing the triggered original alarm data and the status identifier in the analysis to the target terminal, the method further includes: Extract the hostname field, alarm type field, and monitoring target field from the original alarm data in the triggered state and concatenate them to generate an alarm fingerprint; The alarm fingerprint is compared with the historical fingerprint database within a preset suppression time window to remove duplicates. If the comparison determines that the data is not duplicated, the initial push data is sent to the target terminal.
4. The alarm anti-jitter method based on large model intelligent analysis and type awareness as described in claim 1, characterized in that: The acquisition of health status data for large model services includes: Collect the timeout return signal, abnormal status code, number of consecutive failures and rate limiting flag of the large model service, and combine them into the health status data; The health status data is matched with preset circuit breaker rules to determine whether the large model service meets the preset availability conditions.
5. The alarm anti-jitter method based on large model intelligent analysis and type awareness as described in claim 1, characterized in that: The collected alarm context data includes: Obtain the current list of all active alarms of the host node that generated the triggered original alarm data; Obtain the time-series indicator trend data of the host node within a preset time window, and the upstream and downstream dependency data of the host node in a preset service topology dependency graph; Query the preset historical similar scenario library to obtain the historical root cause distribution probability that matches the current list of all active alarms; The alarm context data is generated by packaging the current list of all active alarms, the time-series indicator trend data, the upstream and downstream dependency data, and the historical root cause distribution probability.
6. The alarm anti-jitter method based on large model intelligent analysis and type awareness as described in claim 1, characterized in that: The process of obtaining the initial inference result, which includes alarm classification labels and corresponding confidence scores, includes: The alarm context data and the triggered state original alarm data are assembled into basic text data; Inject instruction data containing mandatory constraint specifications into the basic text data. The instruction data is used to constrain the numerical confidence score in the range of zero to one in the synchronous mapping output of the large model service. The text of the injected instruction data is sent as a structured prompt to the large model service to obtain the initial inference result.
7. The alarm anti-jitter method based on large model intelligent analysis and type awareness as described in claim 1, characterized in that: The process of determining traffic based on the alarm classification label and the confidence score, and generating display status data, includes: The alarm classification labels are analyzed to distinguish between first feature data indicating a derived alarm and second feature data indicating an independent alarm. For the first feature data, its corresponding confidence score is extracted and compared with a preset confidence threshold. If it is not less than the preset confidence threshold, folded visible state data is generated; if it is less than the preset confidence threshold, independent visible state data is generated. For the second feature data, the corresponding independent visible state data is directly generated; Configure the folded visible state data or the independent visible state data as the output of the display state data.
8. The alarm anti-jitter method based on large model intelligent analysis and type awareness as described in claim 1, characterized in that: The step of calling the large model service to generate intelligent diagnostic results for data whose alarm classification label indicates a root cause alarm includes: Obtain the derived alarm data set corresponding to the generated folded visible state data; The triggered original alarm data, the derived alarm data set, and the alarm context data that indicate a root cause alarm are merged into comprehensive analysis request data and sent to the large model service for secondary inference; The returned text stream data is parsed, and the root cause analysis conclusion data, impact scope assessment data, and treatment suggestion steps data are extracted and combined to generate the intelligent diagnostic result.
9. The alarm anti-jitter method based on large model intelligent analysis and type awareness as described in claim 1, characterized in that: Both the initial push data and the incremental update alarm data are configured to be sent via a real-time data stream channel built through the Server-Sent Events protocol. When the large model service meets the preset availability conditions, the incremental update alarm data is sent to the target terminal through the real-time data stream channel, triggering the local rendering instruction of the target terminal to refresh the view displaying the initial push data to an attributed view containing the display status data and the intelligent diagnostic results; When the large model service does not meet the preset availability conditions, the target terminal maintains the original display view of the initial push data according to the set final alarm form data, and does not trigger the subsequent incremental update reception and view refresh mechanism.
10. An alarm anti-jitter system based on large-model intelligent analysis and type awareness, characterized in that, include: The indicator monitoring module is used to acquire real-time monitoring indicators collected by the monitoring client. The state machine control module is used to determine whether the real-time monitoring indicators meet the preset alarm conditions. The preset alarm conditions include at least one of preset abnormal conditions and reaching a preset alarm threshold. If met, the following steps are executed: query the type-aware delay configuration table according to the monitoring type to obtain the corresponding delay time parameter, determine the state transition based on the delay time parameter, and generate the triggered state original alarm data. The asynchronous pass-through module is used to send initial push data containing the original alarm data of the triggered state and the status identifier in the analysis to the target terminal, and simultaneously start the large model asynchronous analysis task to obtain the health status data of the large model service. The inference and circuit breaker module is used to collect alarm context data and input it along with the triggered state original alarm data into the large model service if the health status data meets the preset availability conditions, so as to obtain the initial inference result containing alarm classification labels and corresponding confidence scores. Based on the alarm classification label and the confidence score, traffic is divided and determined to generate display status data; for the data whose alarm classification label indicates a root cause alarm, the big model service is called to generate intelligent diagnostic results; the incrementally updated alarm data containing the display status data and the intelligent diagnostic results is sent to the target terminal to update the status of the initial push data to the attributed status. If the health status data does not meet the preset availability conditions, the asynchronous analysis task of the large model is terminated, and the initial push data is set as the final alarm form data.
