Method and system for sensing and assessing service effect of distributed system
Through the distributed system business effect evaluation method based on time series graphs, the problem of lack of multi-level perception and non-objective anomaly detection in operation and maintenance is solved, intelligent business effect evaluation is realized, and interpretable and efficient operation and maintenance guidance are provided. .
Patent Information
- Application Number
- PCT/CN2024/090089
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2024-04-26
- Publication Date
- 2024-10-31
AI Technical Summary
The existing technology lacks multi-level, multi-dimensional and multi-perspective business effect perception capabilities in distributed system operation and maintenance, ignores the correlation and impact propagation between operation and maintenance objects, relies on manual definition for anomaly detection and is not objective, and has poor evaluation capabilities. It is not comprehensive and cannot effectively guide operation and maintenance work.
Using the distributed system business effect evaluation method based on time series graphs, by selecting KPI indicators, hierarchical classification using the AHP, building a knowledge graph, incorporating time series characteristics, performing anomaly detection and fault propagation graph analysis, and combining the DWNodeRank algorithm to calculate the anomaly impact, achieving Intelligent assessment of business performance.
It improves the ability to perceive and evaluate the business effects of distributed systems, uses unsupervised machine learning and graph computing to reduce the pressure on operation and maintenance personnel, provides interpretable evaluation, and supports online evaluation of large-scale distributed systems.
Smart Images

Figure CN2024090089_31102024_PF_FP_ABST
Abstract
Description
A distributed system business effect perception and evaluation method and system Technical Field
[0001] The present invention belongs to the field of time series data anomaly detection and intelligent operation and maintenance, and specifically relates to a method and system for evaluating the comprehensive business effects of a distributed system. Background Art
[0002] With the digitization of various industries and the continuous development of big data and cloud computing technologies, distributed systems are proliferating, placing ever-higher demands on operational and maintenance capabilities. Currently, traditional manual or semi-automated operations are no longer sufficient to meet the ever-expanding scale of business and data. The importance of intelligent operations is becoming increasingly prominent, as intelligent operations can significantly reduce the pressure on operations personnel and mitigate operational risks.
[0003] Currently, in most system maintenance work, operation and maintenance personnel still focus on monitoring the underlying indicators of the system, and mostly analyze the system status from a single dimension such as servers and processes. They have a weak ability to perceive and evaluate the macro-operation quality of the system itself, and lack the ability to comprehensively perceive the business effects of distributed systems from the perspective of operation and maintenance objects in a multi-level, multi-dimensional, and multi-perspective manner. This greatly limits the system maintenance work from further deepening into the upper-level business.
[0004] Specifically, there are three main problems in the existing technology: 1) It ignores the correlation between operation and maintenance objects and the propagation of influence on nodes; 2) The penalty weights when anomalies occur are manually defined by experts, which is not objective, accurate, or universal; 3) The evaluation ability of system operation and maintenance quality is not comprehensive and lacks a macro perspective, which cannot effectively guide operation and maintenance work.
[0005] Therefore, it is necessary to improve the ability to perceive and evaluate the business effects of distributed systems and guide operation and maintenance personnel to carry out targeted maintenance work.
[0006] Summary of the Invention
[0007] In response to the above problems, the present invention proposes an intelligent, fine-grained distributed system business effect perception and evaluation method and system.
[0008] The technical solution adopted in the present invention is as follows:
[0009] A distributed system business effect evaluation method based on a time series graph includes the following steps:
[0010] Select KPI indicators for the operation and maintenance objects of distributed systems;
[0011] The hierarchical analysis method is used to classify the operation and maintenance objects of the distributed system;
[0012] Extract the entities and relationships of operation and maintenance objects, and convert the hierarchical classification results into a knowledge graph;
[0013] Integrate KPI indicators with time series characteristics into the knowledge graph to obtain a time series graph;
[0014] Perform anomaly detection on the KPI indicators of distributed systems and evaluate business effects based on time series graphs.
[0015] Furthermore, the KPI indicators include general indicators and important business indicators in specific businesses; the general indicators include CPU usage, memory usage, swap area usage, average load, and response time.
[0016] Furthermore, the hierarchical classification of the operation and maintenance objects of the distributed system using the analytic hierarchy process includes:
[0017] Divide O&M objects into multiple levels and conduct a qualitative analysis of the impact of abnormal KPI indicators at each level. These indicators are divided into three levels: severe, moderate, and general, corresponding to three quantitative intervals. Then, within each quantitative interval, the relative impact of each KPI indicator is ranked and an initial weight is assigned to each KPI indicator.
[0018] A consistency check algorithm is used to construct a judgment matrix, which is then used to detect contradictions and ensure the rationality of the initial weights of the KPI indicators.
[0019] Furthermore, the anomaly detection of the KPI indicators of the distributed system includes:
[0020] The input time series data is divided into multiple subsequences according to time. Clustering method is used for all subsequences to obtain multiple shape fragment clusters. For each shape fragment cluster, the index values at all time points are averaged to obtain an average curve as the typical shape fragment representing the shape fragment cluster.
[0021] For each subsequence, calculate its similarity with all typical shape segments and take the typical shape segment with the highest similarity as the mapping target of the subsequence, thereby mapping the time series data into a sequence composed of typical shape segments, namely the shape segment evolution graph;
[0022] The constructed shape fragment evolution graph is used to learn the representation of time series data and obtain the representation vector of each vertex in the shape fragment evolution graph;
[0023] The representation vectors of vertices in the shape fragment evolution graph are applied to indicator anomaly detection.
[0024] Furthermore, the business effect evaluation based on the time series graph includes:
[0025] Construct a fault propagation graph based on the call relationships between entities in the time series graph of the operation and maintenance object;
[0026] Based on the initial weights of KPI indicators, the duration of abnormal events, and the associations and related attributes between entities in the time series graph of the operation and maintenance objects, the DWNodeRank algorithm is used to calculate the impact of local indicator abnormalities on the global situation on the fault propagation graph, and the impact X(i) of the abnormality of the i-th indicator on the global time series graph is obtained;
[0027] The abnormal duration T from the occurrence of the abnormality to the current calculation time point is normalized to obtain T'; the abnormal indicators are weighted and deducted according to X(i) and T' to obtain the perception results of the KPI indicators of business effects, and the waveform of the abnormal shape fragment of the abnormal indicator is combined with the current field and business background to perform physical meaning mapping to obtain interpretability evaluation information.
[0028] A distributed system business effect evaluation system based on time series graph, comprising:
[0029] The time series graph construction module is used to select KPI indicators for the operation and maintenance objects of the distributed system, classify the operation and maintenance objects of the distributed system using the hierarchical analysis method, extract the entities and relationships of the operation and maintenance objects, convert the classification results into a knowledge graph, and integrate KPI indicators with time series characteristics into the knowledge graph to obtain a time series graph;
[0030] The business effect evaluation module is used to detect anomalies in the KPI indicators of the distributed system and evaluate business effects based on time series graphs.
[0031] The present invention has the following advantages and beneficial effects:
[0032] 1) Defines the maintenance object system and its time-series correlation graph that maintenance personnel are concerned about in the distributed system intelligent maintenance scenario;
[0033] 2) Unsupervised machine learning methods are used for anomaly detection, and interpretability is emphasized in the representation learning process;
[0034] 3) When calculating the deduction weights for abnormalities, graph computing capabilities are added, transforming the completely manual definition method used in the prior art into a method that combines manual qualitative and algorithmic quantitative methods, making the definition process scientific and universal;
[0035] 4) After obtaining the perceived results of the system's business performance KPIs, the results can be interpreted from the perspective of various indicator dimensions that business personnel are concerned about;
[0036] 5) Both anomaly detection and graph computing modules have excellent performance and support online evaluation of large-scale distributed systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] FIG1 is a flowchart of the steps of the distributed system service effect evaluation method based on the timing graph of the present invention.
[0038] FIG2 is a module diagram of a distributed system service effect evaluation system based on a time sequence graph according to the present invention. DETAILED DESCRIPTION
[0039] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to specific embodiments and accompanying drawings.
[0040] The present invention provides a method for sensing and evaluating the business effects of distributed systems. This method is also called a distributed system business effect evaluation method based on temporal graphs (BEETG). The method flow is shown in Figure 1 and mainly includes the following steps:
[0041] 1. Construction of time series graph of operation and maintenance objects
[0042] 1) Based on expert experience, select KPIs (Key Performance Indicators) of the operation and maintenance objects of interest, and conduct a qualitative analysis of the importance of the KPIs, for example, classifying them into three levels: severe, moderate, and general.
[0043] 2) Use the Analytic Hierarchy Process (AHP) to analyze O&M objects, quantify the weights of KPI indicators, and verify the KPI weights through consistency testing to obtain a hierarchical classification of O&M objects. For example, O&M objects can be divided into five levels: modules, components, containers, servers, and clusters.
[0044] 3) Extract the entities and relationships of operation and maintenance objects, and convert the hierarchical classification results into a knowledge graph.
[0045] 4) Incorporate KPI indicators with time-series characteristics as attributes into the knowledge graph to complete the construction of the time-series graph of the operation and maintenance object. Time-series characteristics refer to properties that change over time, such as CPU utilization, memory usage, and network traffic.
[0046] 2. Calculation and evaluation of distributed system business effects
[0047] 1) Considering the interpretability and real-time requirements in the operation and maintenance context, the Time2Graph algorithm is used in combination with the LightGBM algorithm to detect anomalies in KPI indicators containing time series characteristics and obtain abnormal events.
[0048] 2) Fault impact analysis based on causal relationships. First, a fault propagation graph is constructed based on the call relationships between entities in the time series graph of the operation and maintenance object. Second, based on the initial weights of the KPI indicators, the duration of the abnormal event, and the association relationships and related attributes between entities in the time series graph of the operation and maintenance object, the DWNodeRank algorithm is used to calculate the impact of local indicator abnormalities on the global system on the fault propagation graph, and the impact X(i) of the abnormality of the i-th indicator on the global time series graph is obtained. In addition, the abnormal duration T is normalized to obtain T' based on the abnormality duration from the start of the abnormality to the current calculation time point.
[0049] 3) All local indicator anomalies are weighted and deducted based on X(i) and T' to obtain the perception results of the business effect KPI indicators. The waveforms of the abnormal shape fragments (Shapelets) of the abnormal indicators in each dimension are physically mapped to provide appropriate and helpful evaluations in specific business scenarios.
[0050] The following provides a specific embodiment of the present invention. This embodiment provides a distributed system service effect perception and evaluation method, which mainly includes the following steps:
[0051] 1. Construction of time series graph of operation and maintenance objects
[0052] First, KPI indicators are collected. In this embodiment, KPI indicators refer to general indicators such as CPU usage, memory usage, swap area usage, average load, response time, and some important business indicators in specific services, such as the number of TCP connections in the firewall service.
[0053] Then, we used the Analytic Hierarchy Process (AHP) to classify the distributed system's O&M objectives into five levels: modules, components, containers, servers, and clusters. We then conducted a qualitative analysis of the impact of abnormal KPIs at each level, categorizing them into three levels: severe, moderate, and general, corresponding to three quantitative intervals. We then ranked each KPI based on its relative impact within each interval, assigning initial weights to each.
[0054] Then, a consistency check algorithm is used to construct a judgment matrix, which is then used to detect contradictions and ensure the rationality of the initial weights of the KPI indicators. After verification, the classification results of the operation and maintenance objects are obtained.
[0055] Finally, the entities and relationships of the operation and maintenance objects are extracted, and the hierarchical classification results are converted into a knowledge graph. The knowledge graph contains the relationships between modules, components, containers, servers, and clusters, and incorporates KPI indicators with time series characteristics as attributes to complete the construction of the time series graph of the operation and maintenance objects.
[0056] 2. Calculation and evaluation of distributed system business effects
[0057] 1) Indicator anomaly detection
[0058] First, the input time series data (with time on the horizontal axis and the value of a KPI on the vertical axis) is segmented into multiple subsequences based on time. Clustering is then applied to all subsequences to obtain multiple shape segment clusters. For each shape segment cluster, the indicator values at all time points are averaged to create an average curve, which serves as the representative shape segment for that shape segment cluster. The representative shape segments of all shape segment clusters constitute a set of typical shape segments, called Shapelets. Clustering methods such as Gaussian mixture models can be used.
[0059] Next, a shapelet evolution graph (also called a Shapelets evolution graph) is constructed. For each subsequence, its similarity with all typical shapelets is calculated. This similarity is estimated by the distance from the subsequence to each typical shapelet. For each subsequence, the typical shapelet with the highest similarity is used as the mapping target, thus mapping the original time series data into a sequence of typical shapelets, namely the Shapelets evolution graph.
[0060] Then, the constructed shape fragment evolution graph is used to learn the representation of time series data. The existing graph embedding algorithm DeepWalk is used to obtain the representation vector of each vertex in the shape fragment evolution graph.
[0061] Finally, the representation vectors of the vertices in the obtained shape fragment evolution graph are applied to indicator anomaly detection. To be applicable to large-scale data sets, this embodiment uses the Time2Graph algorithm in combination with the LightGBM algorithm for binary classification of anomaly detection.
[0062] 2) Calculation of deduction weight
[0063] Fault impact analysis is performed based on causal relationships. First, a fault propagation graph is constructed based on the call relationships between entities in the time series graph of the operation and maintenance object. The fault propagation probability is estimated using the ratio of the number of fault propagations to the total number of faults. Second, based on the initial weights of the KPI indicators, the duration of the abnormal event, and the associations and related attributes between entities in the time series graph of the operation and maintenance object, the DWNodeRank algorithm is used to calculate the impact of local indicator anomalies on the global system on the fault propagation graph. This results in the global impact X(i) of the i-th KPI indicator anomaly on the time series graph.
[0064] The calculation formula for the global impact X(i) of the abnormality of the i-th indicator in the time series graph is:
[0065] Where NR(v) is the DWNodeRank value of node v, α is the probability of fault propagation, and v i is the fan-out node of node v, Represents node v to node v i The fault propagation number, w in (v i ) indicates propagation to v i The fault propagation number is , and n is the number of fan-out nodes.
[0066] In addition, the abnormal duration T from the occurrence of the abnormality to the current calculation time point is normalized to obtain T', and the value of T' is between 0 and 1.
[0067] 3) KPI evaluation of distributed system business performance
[0068] Based on the above information, a weighted percentage deduction is performed to obtain the KPI perception result of the distributed system business performance, that is, the evaluation score f: f = 100 - ∑ Ji * X(i) - T'. If f < 0, set f = 0. Ji indicates whether the i-th indicator is abnormal. For example, the values of Ji are 0 and 1, indicating normal and abnormal, respectively. X(i) represents the impact of the i-th indicator's abnormality on the global time series graph.
[0069] Finally, based on the anomaly detection results for each indicator, a physical mapping analysis is performed on the abnormal waveforms of all abnormal indicators, combined with the current domain and business context. This allows operations personnel to obtain interpretability evaluation information for each anomaly dimension. This physical mapping analysis can be performed manually, using the information provided by the shape segment evolution diagram to analyze the reasons for the above score f.
[0070] According to the application process and feedback evaluation results of relevant distributed system operation and maintenance personnel, the solution of the present invention can generally meet actual application needs.
[0071] Another embodiment of the present invention provides a distributed system service effect evaluation system based on a time series graph, as shown in FIG2 , which includes:
[0072] The time series graph construction module is used to select KPI indicators for the operation and maintenance objects of the distributed system, classify the operation and maintenance objects of the distributed system using the hierarchical analysis method, extract the entities and relationships of the operation and maintenance objects, convert the classification results into a knowledge graph, and integrate KPI indicators with time series characteristics into the knowledge graph to obtain a time series graph;
[0073] The business effect evaluation module is used to detect anomalies in the KPI indicators of the distributed system and evaluate business effects based on time series graphs.
[0074] The specific implementation process of each module refers to the above description of the method of the present invention.
[0075] Another embodiment of the present invention provides a computer device (computer, server, smart phone, etc.), which includes a memory and a processor, wherein the memory stores a computer program, the computer program is configured to be executed by the processor, and the computer program includes instructions for executing each step in the method of the present invention.
[0076] Another embodiment of the present invention provides a computer-readable storage medium (such as ROM / RAM, magnetic disk, optical disk), wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the steps of the method of the present invention are implemented.
[0077] The specific embodiments of the present invention disclosed above are intended to facilitate understanding and implementation of the present invention. Those skilled in the art will appreciate that various substitutions, changes, and modifications are possible without departing from the spirit and scope of the present invention. The present invention should not be limited to the embodiments disclosed in this specification; the scope of protection of the present invention shall be determined by the scope defined in the claims.
Claims
1. A distributed system service effect evaluation method based on time series graph, characterized in that: The following steps are involved: Select KPI indicators for the operation and maintenance objects of the distributed system; The hierarchical analysis method is used to classify the operation and maintenance objects of the distributed system; Extract the entities and relationships of the operation and maintenance objects, and convert the results of the classification into a knowledge graph; Integrate KPI indicators with time series characteristics into the knowledge graph to obtain a time series graph; Perform anomaly detection on the KPI indicators of distributed systems and evaluate business effects based on time series graphs.
2. The method according to claim 1, characterized in that The KPI indicators include general indicators and important business indicators in specific businesses; the general indicators include CPU utilization, memory utilization, swap area utilization, average load, and response time.
3. The method according to claim 1, characterized in that: The hierarchical analysis method is used to classify the operation and maintenance objects of the distributed system, including: The operation and maintenance objects are divided into multiple levels, and the impact of abnormal KPI indicators at each level is qualitatively analyzed. They are divided into three levels: severe, medium, and general, corresponding to three quantitative intervals. Then, the relative impact of each KPI indicator is ranked within each quantitative interval, and each KPI indicator is assigned an initial weight. The consistency check algorithm is used to construct the judgment matrix, and the judgment matrix is used to detect contradictions to ensure the rationality of the initial weights of the KPI indicators.
4. The method according to claim 3, characterized in that The abnormality detection of the KPI indicators of the distributed system includes: The input time series data is divided into multiple subsequences according to time, and a clustering method is used for all subsequences to obtain multiple shape fragment clusters. For each shape fragment cluster, the index values at all time points are averaged to obtain an average curve as a typical shape fragment representing the shape fragment cluster; For each subsequence, calculate its similarity with all typical shape fragments, and take the typical shape fragment with the highest similarity as the mapping target of the subsequence, so as to map the time series data into a sequence composed of typical shape fragments, namely, the shape fragment evolution graph; The constructed shape fragment evolution graph is used to learn the representation of time series data, and the representation vector of each vertex in the shape fragment evolution graph is obtained; The representation vectors of vertices in the shape fragment evolution graph are applied to indicator anomaly detection.
5. The method according to claim 3 or 4, characterized in that: The business effect evaluation based on the time series graph includes: Construct a fault propagation graph based on the call relationship between entities in the time series graph of the operation and maintenance object; Based on the initial weight of the KPI indicator, the duration of the abnormal event, and the association relationship and related attributes between entities in the time series graph of the operation and maintenance object, the DWNodeRank algorithm is used to calculate the impact of the local indicator abnormality on the global fault propagation graph, and the impact X(i) of the abnormality of the i-th indicator on the global time series graph is obtained; Combine the abnormal duration T from the occurrence of the abnormality to the current calculation time point and normalize it to get T'; According to X(i) and T', the abnormal indicators are weighted and deducted to obtain the perception results of the KPI indicators of business effects. The waveform of the abnormal shape fragment of the abnormal indicator is combined with the current field and business background to perform physical meaning mapping to obtain interpretable evaluation information.
6. The method according to claim 5, characterized in that The calculation formula of X(i) is: Among them, NR(v) is the DWNodeRank value of node v, α is the probability of fault propagation, and v i is the fan-out node of node v, Represents node v to node v i The fault propagation number, w in (v i ) indicates propagation to v i is the fault propagation number, and n is the number of fan-out nodes.
7. The method according to claim 6, characterized in that The abnormal indicators are weighted and deducted according to X(i) and T', and the scoring formula used is: f=100-∑Ji*X(i)-T', where f represents the evaluation score, if f<0, f=0; Ji represents whether the i-th indicator is abnormal.
8. A distributed system business effect evaluation system based on time series graph, characterized in that: include: The time series graph construction module is used to select the KPI indicators of the operation and maintenance objects of the distributed system, classify the operation and maintenance objects of the distributed system using the hierarchical analysis method, extract the entities and relationships of the operation and maintenance objects, convert the results of the classification into a knowledge graph, and integrate the KPI indicators with time series characteristics into the knowledge graph to obtain a time series graph; The business effect evaluation module is used to detect anomalies in the KPI indicators of the distributed system and evaluate the business effect based on the time series graph.
9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, the computer program is configured to be executed by the processor, and the computer program comprises instructions for executing the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Real-time root cause analysis method based on application knowledge graph
CN113032238A
Abnormality processing method and device, electronic equipment and computer readable medium
CN114978877A
Generation method, application method and device of abnormal knowledge graph in operation and maintenance field
CN115277453A
Equipment health state assessment method based on knowledge graph multi-set pooling
CN115456044A
Workflow creation method and system, electronic equipment and computer readable storage medium
CN115599881A
Cited By
Coal preparation plant production evaluation method, device and equipment and storage medium
CN119359095A
Gas generator set monitoring system and method
CN119439856A
Mutual inductor operation and maintenance method based on improved K-means
CN119598238A
Automatic fault checking and detecting method for electric meter box and electric meter box
CN119691653A
Intelligent agent system service efficiency abnormity early warning method and device
CN119829388A
