Application log performance evaluation method based on big data analysis

The key performance indicators of the application system are extracted through big data analysis methods, which solves the problems of time-consuming and labor-intensive manual evaluation and lack of automation in the existing technology, achieves accurate evaluation and optimization of system performance, and improves the overall performance and stability of the application system. sex.

CN118798749AInactive Publication Date: 2024-10-18HANGZHOU YIXIN INFORMATION ENGINEERING CONSULTING CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411289921.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing application system performance evaluation methods rely on manual collection and analysis of log data, which is time-consuming and labor-intensive, and lacks systematicity and automation. It is difficult to accurately identify key performance indicators and performance bottlenecks, making it difficult to evaluate and verify optimization effects.

Method used

Adopt a method based on big data analysis to collect performance log data through the log collection system, perform preprocessing and anomaly detection, use clustering algorithms and statistical analysis methods to extract key performance indicators (KPIs), and conduct system performance evaluation based on the quantitative values ​​of KPIs and optimization adjustments.

Benefits of technology

It improves the accuracy and efficiency of application system performance evaluation, reduces the interference of human factors, provides accurate data support, helps identify performance bottlenecks and guides effective optimization plans, ensures that optimization measures achieve the expected results, and improves system performance and stability. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798749A_ABST
    Figure CN118798749A_ABST
Patent Text Reader

Abstract

The invention provides an application log performance evaluation method based on big data analysis. The method comprises the steps of collecting performance log data of an application system through a log collection system; the performance log data is preprocessed; performing key performance indicator (KPI) extraction on the preprocessed performance log data, calculating a quantized value of the KPI, and evaluating the performance of the application system based on the quantized value of the KPI; generating a performance report based on the evaluation result; and optimizing and adjusting the application system according to the performance report. According to the method, the system performance bottleneck can be effectively identified, a targeted optimization scheme and an effect evaluation mechanism are provided, and the performance and the stability of an application system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of application system performance analysis and optimization technology, and more specifically, to an application log performance evaluation method based on big data analysis. Background Technology

[0002] Existing application system performance evaluation methods typically rely on manually collecting and analyzing log data. This is not only time-consuming and labor-intensive but also easily influenced by subjective judgment, leading to inaccurate and incomplete evaluation results. Technically, these methods often lack systematic and automated tools to handle large-scale datasets, making it difficult to adapt to the increasing complexity and volume of data in application systems. Furthermore, traditional evaluation methods have limitations in identifying performance bottlenecks and proposing optimization suggestions, often failing to provide sufficient depth and breadth to guide actual system optimization efforts.

[0003] In the process of implementing the embodiments of the present invention, the inventors have discovered that the prior art has at least the following problems or defects: the existing evaluation methods cannot effectively and quickly identify key performance indicators from massive log data, and when making performance evaluations and optimization suggestions, they often lack quantitative and systematic analysis methods, making it difficult to evaluate and verify the implementation effect of optimization measures. Summary of the Invention

[0004] This invention provides a method for evaluating application log performance based on big data analytics, including: The system collects performance log data from the application system through a log collection system. The performance log data is preprocessed; Key performance indicators (KPIs) are extracted from the preprocessed performance log data, and their quantified values ​​are calculated. The performance of the application system is then evaluated based on the quantified KPI values. Generate performance reports based on evaluation results; Optimize and adjust the application system based on the performance report.

[0005] Furthermore, the process of extracting KPIs from the preprocessed performance log data and calculating their quantified values ​​includes: Perform anomaly detection on the preprocessed performance log data to identify all abnormal log entries; Clustering algorithms are used to classify abnormal log entries to obtain key performance indicators (KPIs); The quantitative values ​​of KPIs are determined through statistical analysis methods.

[0006] Furthermore, anomaly detection of the preprocessed performance log data includes: Anomaly detection is performed by sequentially examining each log entry in the log data, following these steps: Record key information for log entries; Centered on log entries, determine the contextual information of log entries and record key indicators of the contextual information; Calculate the deviation between each key indicator in the context information and the key information of the log entry; If the deviation exceeds the preset threshold, the corresponding log entry is confirmed as an abnormal entry.

[0007] Furthermore, the key performance indicators (KPIs) are obtained by classifying abnormal log entries using clustering algorithms: Divide the log data into multiple initial clustering regions; Within each initial clustering region, the similarity of all abnormal log entries is calculated, and abnormal log entries with similarity higher than a preset threshold are selected as candidate KPI indicators. The consistency of each initial cluster region is evaluated based on the distribution of KPI candidate indicators. If the distribution of candidate KPIs within the initial clustering region meets the preset consistency criteria, then the candidate KPI with the highest similarity is selected as the key performance indicator (KPI) for that initial clustering region.

[0008] Furthermore, determining the quantitative value of KPIs through statistical analysis methods includes: Determine the quantitative range of KPIs, using them as the core. Traverse all log entries within the quantization range and construct a log matrix that covers all log entries within the quantization range; Calculate the mean of key performance indicators (KPIs) in the log matrix. As shown in calculation formula (1): (1) Calculate the standard deviation of KPIs As shown in calculation formula (2): (2) Furthermore, evaluating the performance of an application system based on KPI quantification includes: Calculate the difference between the quantified value of each KPI and the preset performance standard; Based on the magnitude of the differences, evaluate the performance of the application system on each KPI; By combining the performance of all KPIs, an overall performance evaluation of the application system is obtained.

[0009] Furthermore, generating performance reports based on the evaluation results includes: Visualize the performance evaluation results of each KPI; Based on the importance of KPIs and performance evaluation results, generate a summary and recommendations for performance evaluation; The summary and recommendations of the performance evaluation are compiled into a report and provided to the administrators or developers of the application system.

[0010] Furthermore, optimizing and adjusting the application system based on performance reports includes: Identify performance bottlenecks identified in the performance report; Design optimization solutions based on the causes of performance bottlenecks; Implement the optimization plan and track and evaluate its effects.

[0011] Furthermore, the design of the optimization scheme includes: Analyze patterns and trends in log data to identify the root cause of performance bottlenecks; Based on the root cause, select the appropriate optimization technique or algorithm; Develop a detailed optimization implementation plan, including resource allocation, timeline, and risk assessment.

[0012] Furthermore, the tracking and evaluation of the optimization effect includes: Collect log data after the optimization implementation; Perform the same preprocessing and KPI extraction on the collected log data; Calculate the change in KPI before and after optimization As shown in calculation formula (3): (3) The efficiency ratio for evaluating the optimization effect is shown in equation (4): (4) Based on the efficiency ratio, determine whether the optimization was successful, as shown in formula (5): (5) in It is a preset efficiency ratio threshold used to determine whether the optimization has achieved the expected results.

[0013] The above embodiments of the present invention have at least the following beneficial effects: The application log performance evaluation method of the present invention can improve the accuracy and efficiency of application system performance evaluation. By automatically collecting and preprocessing performance log data, this method can reduce the interference of human factors and ensure the objectivity and reliability of the evaluation results. In addition, by using clustering algorithms and statistical analysis methods to conduct in-depth analysis of log data, this method can accurately identify key performance indicators (KPIs) and quantify these indicators, thereby providing more accurate data support for the performance evaluation of application systems.

[0014] Furthermore, this method can provide strong guidance for optimizing and adjusting application systems. Through performance evaluation based on KPI quantification values, system administrators and developers can clearly understand the system's performance on various key performance indicators and identify potential performance bottlenecks. Combined with the visualizations and optimization suggestions provided in the performance report, relevant personnel can design more effective optimization plans and ensure that the measures taken achieve the expected improvement results by tracking and evaluating the optimization effects, thereby further enhancing the overall performance and stability of the application system. Attached Figure Description

[0015] The above and other objects, features, and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description taken in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated in the drawings by way of example and not limitation, wherein: Figure 1 This is a flowchart illustrating an application log performance evaluation method based on big data analysis, provided as an embodiment of the present invention. Detailed Implementation

[0016] The principles and spirit of the invention will now be described with reference to several exemplary embodiments. It should be understood that these embodiments are provided merely to enable those skilled in the art to better understand and implement the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided to make the invention more thorough and complete, and to fully convey the scope of the invention to those skilled in the art.

[0017] Those skilled in the art will recognize that embodiments of the present invention can be implemented as a system, apparatus, device, method, or computer program product. Therefore, the present invention can be specifically implemented in the following forms: entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0018] It should be noted that the number of any elements in the accompanying drawings is for illustrative purposes only and not as a limitation, and any naming is for distinction only and has no limiting meaning.

[0019] Reference below Figure 1 , Figure 1 This is a flowchart illustrating an application log performance evaluation method based on big data analysis, provided as an embodiment of the present invention. Figure 1 As shown, an application log performance evaluation method 100 based on big data analytics includes: Step 101: Collect performance log data of the application system through the log collection system; Step 102: Preprocess the performance log data; Step 103: Extract key performance indicators (KPIs) from the preprocessed performance log data and calculate the quantified values ​​of the KPIs. Evaluate the performance of the application system based on the quantified values ​​of the KPIs. Step 104: Generate a performance report based on the evaluation results; Step 105: Optimize and adjust the application system based on the performance report.

[0020] It should be noted that the application log performance evaluation method based on big data analysis first requires collecting performance log data from the application system through a log collection system. The collection of log data may include, but is not limited to, key information such as system response time, transaction volume, and resource usage.

[0021] Specifically, the log collection system can be distributed, deployed across various nodes of the application system to capture and transmit log data in real time. Preprocessing of performance log data may include data cleaning, format standardization, and handling of missing values ​​to ensure data quality. The extraction of key performance indicators (KPIs) is based on patterns and trends in the log data, using algorithms to determine which indicators best reflect the system's performance.

[0022] Preferably, the log collection system can be configured with an intelligent filtering mechanism to collect only log entries that have a significant impact on performance evaluation, thereby reducing the data processing burden. During the preprocessing stage, automated tools can be used to identify and correct outliers in the data. Simultaneously, KPI extraction can incorporate domain expert knowledge to ensure the relevance and accuracy of key performance indicators. Furthermore, the quantification of KPIs can employ machine learning algorithms to improve the accuracy and efficiency of the evaluation.

[0023] In some embodiments, extracting KPIs from preprocessed performance log data and calculating quantified KPI values ​​includes: Perform anomaly detection on the preprocessed performance log data to identify all abnormal log entries; Clustering algorithms are used to classify abnormal log entries to obtain key performance indicators (KPIs); The quantitative values ​​of KPIs are determined through statistical analysis methods.

[0024] It should be noted that the step of extracting KPIs and calculating their quantified values ​​from the preprocessed performance log data involves identifying key performance indicators from a large amount of log data and assigning specific values ​​to these indicators for subsequent performance evaluation.

[0025] Specifically, anomaly detection identifies outliers in performance log data, which may be caused by system failures, configuration errors, or other abnormal factors. Clustering algorithms are used to classify outlier log entries to discover patterns and trends. Statistical analysis methods are used to determine quantifiable values ​​for KPIs, which may include calculating statistics such as mean, median, and standard deviation. These statistics provide a quantitative measure of KPIs, making performance evaluation more objective and accurate.

[0026] Preferably, anomaly detection can be achieved by setting thresholds. For example, if the response time of a log entry exceeds the 95% confidence interval of the normal range, the log entry can be considered anomaly. The choice of clustering algorithm can be based on the characteristics of the data, such as K-means or DBSCAN. Parameter settings (such as the K value in K-means) can be optimized through methods such as cross-validation. In the statistical analysis phase, in addition to basic statistics, more advanced statistical models, such as regression analysis, can be considered to further explore the relationship between KPIs and system performance. Furthermore, to improve the accuracy of KPI quantification, machine learning techniques can be used to predict and adjust KPI values.

[0027] In some embodiments, anomaly detection of preprocessed performance log data includes: Anomaly detection is performed by sequentially examining each log entry in the log data, following these steps: Record key information for log entries; Centered on log entries, determine the contextual information of log entries and record key indicators of the contextual information; Calculate the deviation between each key indicator in the context information and the key information of the log entry; If the deviation exceeds the preset threshold, the corresponding log entry is confirmed as an abnormal entry.

[0028] It should be noted that the purpose of anomaly detection on the preprocessed performance log data is to identify abnormal log entries that may indicate system performance problems. Anomaly detection helps to discover and respond to potential system problems in a timely manner.

[0029] Specifically, anomaly detection can be achieved through the following steps: First, define the key information for each log entry, such as request response time and error code. Then, determine the context information for each log entry, which may include timestamps, user IDs, session information, etc. Next, calculate the deviation between each key metric in the context information and the key information of the log entry. During this process, a preset threshold, such as standard deviation or percentiles, can be set to determine whether the deviation is significant.

[0030] Preferably, anomaly detection can be implemented using various algorithms, such as statistical methods, machine learning models, or deep learning methods. For example, the Z-Score method can be used to determine whether the deviation exceeds the normal range, or unsupervised learning algorithms such as autoencoders can be used to identify abnormal patterns. Furthermore, the preset threshold can be dynamically adjusted, optimizing the threshold setting based on the system's real-time performance and historical data to improve the accuracy and adaptability of detection. Multi-dimensional analysis can also be introduced, going beyond a single indicator to comprehensively evaluate the anomaly of log entries by integrating multiple relevant indicators.

[0031] In some embodiments, the key performance indicators (KPIs) obtained by classifying abnormal log entries using clustering algorithms include: Divide the log data into multiple initial clustering regions; Within each initial clustering region, the similarity of all abnormal log entries is calculated, and abnormal log entries with similarity higher than a preset threshold are selected as candidate KPI indicators. The consistency of each initial cluster region is evaluated based on the distribution of KPI candidate indicators. If the distribution of candidate KPIs within the initial clustering region meets the preset consistency criteria, then the candidate KPI with the highest similarity is selected as the key performance indicator (KPI) for that initial clustering region.

[0032] It should be noted that the process of using clustering algorithms to classify anomalous log entries to obtain key performance indicators (KPIs) is one of the core steps of the evaluation method. This step identifies key factors affecting system performance by analyzing the similarity of anomalous log entries and grouping them into different groups.

[0033] Specifically, clustering algorithms can be K-means, hierarchical clustering, or other algorithms suitable for log data analysis. The initial clustering regions can be divided based on log data timestamps, source modules, or other attributes. Similarity can be calculated using methods such as Euclidean distance and cosine similarity. The preset threshold settings need to be determined based on the actual characteristics of the log data and business requirements to ensure the accuracy and practicality of the clustering results.

[0034] Preferably, the clustering algorithm can be optimized based on the characteristics of the log data. For example, density-based clustering (DBSCAN) can be used to better handle noise and outliers for high-dimensional data. In similarity calculation, a weighting mechanism can be introduced to assign different weights to different log attributes to reflect their importance in performance evaluation. Furthermore, to improve the stability and reliability of the clustering results, multi-scale clustering or ensemble learning methods can be used to synthesize multiple clustering results to determine the final KPI.

[0035] In some embodiments, determining the quantified value of KPIs through statistical analysis methods includes: Determine the quantitative range of KPIs, using them as the core. Traverse all log entries within the quantization range and construct a log matrix that covers all log entries within the quantization range; Calculate the mean of key performance indicators (KPIs) in the log matrix. As shown in calculation formula (1): (1) Calculate the standard deviation of KPIs As shown in calculation formula (2): (2); It should be noted that the process of determining the quantitative values ​​of KPIs through statistical analysis involves in-depth analysis and quantification of key performance indicators. This step ensures the scientific validity and operability of the evaluation results, providing accurate data support for subsequent performance evaluation and optimization adjustments.

[0036] Specifically, statistical analysis methods can include, but are not limited to, descriptive statistics, regression analysis, and time series analysis. The quantification range of KPIs may involve defining the time window, event type, or system module of the log data. For example, the quantification range could be the login response time of all users within the past week. Constructing the log matrix requires organizing and arranging the log data within the quantification range according to certain rules (such as chronological order, event type, etc.). Calculating the mean and standard deviation are basic statistical operations used to measure the central trend and volatility of KPIs.

[0037] Preferably, the quantification range of KPIs can be dynamically adjusted according to actual application scenarios to adapt to different evaluation needs. For example, the quantification range can be adjusted based on changes in system load or the occurrence of specific events. When constructing the log matrix, a weighting mechanism can be introduced to weight the impact of different log entries to reflect their different contributions to system performance. In addition to the mean and standard deviation, other statistics, such as the median and quartiles, can be calculated to provide a more comprehensive description of the KPIs. For handling outliers, robust statistical methods can be used, such as using the median instead of the mean, to reduce the impact of extreme values.

[0038] In some embodiments, evaluating the performance of an application system based on the quantified values ​​of KPIs includes: Calculate the difference between the quantified value of each KPI and the preset performance standard; Based on the magnitude of the differences, evaluate the performance of the application system on each KPI; By combining the performance of all KPIs, an overall performance evaluation of the application system is obtained.

[0039] It should be noted that the preset performance standards in the evaluation process can be historical best performance data, industry standards, or user-defined performance thresholds. During the evaluation, a quantitative value for each KPI, such as response time and throughput, will be calculated and compared with these standards. The difference can be calculated using simple subtraction. For example, if the preset standard is a response time of 200 milliseconds, and the actual measured response time is 250 milliseconds, then the difference is 50 milliseconds.

[0040] Preferably, the evaluation process can be further refined. For example, different weights can be assigned to each KPI to reflect its impact on the overall system performance. Furthermore, a multi-dimensional evaluation model can be introduced, considering not only the differences in individual indicators but also the combined effects of multiple indicators. Based on the difference assessment, machine learning algorithms can be used to predict performance trends, thereby providing more in-depth performance analysis and optimization suggestions.

[0041] In some embodiments, generating a performance report based on the evaluation results includes: Visualize the performance evaluation results of each KPI; Based on the importance of KPIs and performance evaluation results, generate a summary and recommendations for performance evaluation; The summary and recommendations of the performance evaluation are compiled into a report and provided to the administrators or developers of the application system.

[0042] It should be noted that the process of generating performance reports based on evaluation results involves summarizing and analyzing the performance evaluation results of the application system, and then presenting them to managers or developers in an easy-to-understand manner. This includes not only a visual representation of the performance evaluation results for each KPI, but also a comprehensive analysis and recommendations based on these results.

[0043] Specifically, performance reports can be generated using various visualization tools and techniques, such as charts, dashboards, or heatmaps, to visually display KPI performance. The report should include a detailed analysis of each KPI, such as performance trends and comparisons with preset standards. Furthermore, the report should provide targeted optimization suggestions and improvement measures based on the importance of the KPI and the performance evaluation results.

[0044] Preferably, the generation of performance reports can be further refined into the following steps: First, based on the quantified values ​​of KPIs and preset performance standards, preliminary evaluation results are generated using automated scripts or software tools. Then, performance bottlenecks and potential risk points are identified through data analysis and mining techniques. Next, specific optimization suggestions are developed for each KPI, incorporating the knowledge of domain experts. Finally, this information is integrated into an interactive report template, allowing managers or developers to adjust and update the report content as needed. Furthermore, the report can include a feedback mechanism, allowing users to suggest modifications to the report content to continuously optimize its quality and usability.

[0045] In some embodiments, optimizing and adjusting the application system based on performance reports includes: Identify performance bottlenecks identified in the performance report; Design optimization solutions based on the causes of performance bottlenecks; Implement the optimization plan and track and evaluate its effects.

[0046] It should be noted that the purpose of optimizing and adjusting the application system based on the performance report is to ensure that the application system's performance is actually improved after evaluation. Optimization and adjustment not only includes identifying performance bottlenecks, but also involves designing and implementing specific optimization schemes, and tracking and evaluating the optimization effects.

[0047] Specifically, performance bottlenecks identified in the performance report may include long response times, low resource utilization, and poor system stability. Optimization plans need to be designed based on the causes of these bottlenecks, selecting appropriate technologies or algorithms for improvement. For example, if long response times are due to inefficient database queries, optimization plans might include index optimization or query rewriting. Implementing optimization plans requires a detailed plan, including resource allocation, scheduling, and risk assessment, to ensure the smooth progress of the optimization process.

[0048] Preferably, the optimization scheme can be designed using an iterative approach, first testing the effectiveness of the optimization measures in a small-scale environment, and then gradually scaling it up to the entire system. During implementation, automated tools can be used to monitor changes in system performance to track the optimization effect in real time. Furthermore, to evaluate the optimization effect, key evaluation metrics such as system throughput and average response time can be set and compared with data before optimization. If the optimization effect does not meet expectations, the optimization scheme can be adjusted promptly, or other possible improvement measures can be explored.

[0049] In some embodiments, the design of the optimization scheme includes: Analyze patterns and trends in log data to identify the root cause of performance bottlenecks; Based on the root cause, select the appropriate optimization technique or algorithm; Develop a detailed optimization implementation plan, including resource allocation, timeline, and risk assessment.

[0050] It should be noted that the optimization scheme was designed after identifying the root cause of the application system's performance bottleneck, and consisted of a series of targeted improvement measures. This process not only required in-depth analysis of log data, but also consideration of actual business needs and technical limitations to ensure the feasibility and effectiveness of the optimization scheme.

[0051] Specifically, the design of optimization solutions may include, but is not limited to, the following aspects: First, by analyzing patterns and trends in log data, identify the main factors causing performance bottlenecks; second, based on these root causes, select appropriate optimization techniques or algorithms, such as load balancing, caching optimization, and query optimization; and then, develop a detailed optimization implementation plan, including resource allocation, time scheduling, and risk assessment, to ensure that optimization measures can be carried out in an orderly manner.

[0052] Preferably, the design of the optimization scheme can be further refined into the following steps: First, use data mining techniques to deeply analyze log data and identify the specific manifestations and causes of performance bottlenecks; second, based on the analysis results, select the most suitable optimization techniques for the current system. For example, if database queries are found to be the performance bottleneck, index optimization or query caching techniques can be introduced; then, develop a detailed implementation plan, including but not limited to the specific implementation steps of the optimization measures, the allocation of required resources, the expected completion time, and the possible risks and coping strategies; finally, to ensure the effectiveness of the optimization scheme, an evaluation mechanism can be designed to evaluate the effect of the optimization measures by comparing the changes in performance indicators before and after optimization. In addition, methods such as A / B testing can be considered to compare the effects of different optimization schemes to select the best optimization strategy.

[0053] In some embodiments, the tracking and evaluation of the optimization effect includes: Collect log data after the optimization implementation; Perform the same preprocessing and KPI extraction on the collected log data; Calculate the change in KPI before and after optimization As shown in calculation formula (3): (3) The efficiency ratio for evaluating the optimization effect is shown in equation (4): (4) Based on the efficiency ratio, determine whether the optimization was successful, as shown in formula (5): (5) in It is a preset efficiency ratio threshold used to determine whether the optimization has achieved the expected results.

[0054] It should be noted that tracking and evaluating the optimization effect is a closed-loop link in the entire performance evaluation method. This step involves continuous monitoring and analysis of the system performance after the optimization is implemented in order to verify whether the optimization plan has achieved the expected results.

[0055] Specifically, tracking and evaluating the optimization effect can be achieved by collecting log data after the optimization implementation. This data will be preprocessed and KPIs extracted again for comparison with the KPI data before optimization. The change in KPIs before and after optimization is determined by calculating the difference between the KPI values ​​before and after optimization, while the efficiency ratio is evaluated by comparing the relative changes in KPI values ​​before and after optimization. A preset efficiency ratio threshold is a key parameter used to determine whether the optimization is successful. This threshold can be set according to the specific requirements of the system and historical performance data.

[0056] Preferably, the evaluation of optimization effects can employ more complex statistical methods, such as confidence interval analysis, to provide more accurate evaluation results. Furthermore, an automated feedback mechanism can be introduced; when the evaluation results show that the optimization effect has not met expectations, the system can automatically trigger further analysis or adjustments to the optimization scheme. To more comprehensively evaluate the optimization effect, other indicators, including user satisfaction and system stability, can also be considered to form a multi-dimensional evaluation system.

[0057] The various embodiments of the present invention have the following beneficial effects: The application log performance evaluation method based on big data analysis described in this invention can effectively extract key performance indicators (KPIs) by systematically collecting and preprocessing the performance log data of application systems. This method, through the combined use of anomaly detection and clustering algorithms, can accurately identify performance bottlenecks and then determine the quantitative values ​​of KPIs through statistical analysis methods. This not only improves the accuracy of performance evaluation but also provides data support for the optimization of application systems.

[0058] Furthermore, this method generates performance reports to visualize the performance evaluation results of KPIs and provides application system managers or developers with performance evaluation summaries and suggestions based on the importance of the KPIs and the performance evaluation results. This not only helps managers or developers quickly grasp the system performance status but also guides them in developing more reasonable optimization plans. In addition, through the tracking and evaluation mechanism of optimization effects, it can be ensured that the implemented optimization measures achieve the expected results, thereby realizing the continuous improvement and optimization of application system performance.

[0059] Furthermore, the storage medium in the embodiments of this application stores program instructions capable of implementing all the above methods. These program instructions can be stored in the storage medium in the form of a software product, including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, or terminal devices such as computers, servers, mobile phones, and tablets.

[0060] The above description is merely an explanation of some preferred embodiments of the present invention and the technical principles employed. Those skilled in the art should understand that the scope of the invention as described in the embodiments of the present invention is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in the embodiments of the present invention.

Claims

1. A method for evaluating application log performance based on big data analysis, characterized in that: The method comprises: Collect performance log data of application systems through log collection system; Preprocessing the performance log data; Extract key performance indicators (KPIs) from the preprocessed performance log data and calculate the quantitative values ​​of KPIs. Evaluate the performance of the application system based on the quantitative values ​​of KPIs. Generate performance reports based on evaluation results; Optimize and adjust the application system based on performance reports.

2. According to the method for evaluating application log performance based on big data analysis in claim 1, it is characterized in that: Extract KPIs from the preprocessed performance log data and calculate the quantitative values ​​of KPIs, including: Perform anomaly detection on the preprocessed performance log data to identify all abnormal log entries; Use clustering algorithms to classify abnormal log entries and obtain key performance indicators (KPIs); Determine the quantitative value of KPI through statistical analysis methods.

3. The application log performance evaluation method based on big data analysis according to claim 2 is characterized in that: Anomaly detection on preprocessed performance log data includes: In the log data, each log entry is taken as the detection object in turn, and anomaly detection is performed through the following steps: Record key information of log entries; Centered on log entries, determine the context information of log entries and record key indicators of context information; Calculate the deviation of each key indicator in the context information and the key information of the log entry respectively; If the deviation exceeds a preset threshold, the corresponding log entry is confirmed as an abnormal entry.

4. The method for evaluating application log performance based on big data analysis according to claim 3 is characterized in that: The key performance indicators (KPIs) obtained by using clustering algorithms to classify abnormal log entries include: Divide the log data into multiple initial clustering regions; In each initial clustering area, the similarity of all abnormal log entries is calculated, and the abnormal log entries with similarity higher than the preset threshold are selected as KPI candidate indicators; Based on the distribution of KPI candidate indicators, the consistency of each initial clustering area is evaluated; If the distribution of the candidate KPI indicators in the initial clustering area meets the preset consistency standard, the candidate KPI indicator with the highest similarity is selected as the key performance indicator KPI of the initial clustering area.

5. The method for evaluating application log performance based on big data analysis according to claim 4 is characterized in that: The quantitative values ​​of KPIs determined by statistical analysis methods include: Focusing on KPI, determine the quantitative scope of KPI; Traverse all log entries within the quantization range and construct a log matrix, which can cover all log entries within the quantization range; Calculate the mean of the key performance indicator (KPI) in the log matrix , as shown in formula (1): (1); Calculate the standard deviation of a KPI , as shown in formula (2): (2)。 6. The method for evaluating application log performance based on big data analysis according to claim 5 is characterized in that: Evaluation of application system performance based on KPI quantitative values ​​includes: Calculate the difference between the quantitative value of each KPI and the preset performance standard; Based on the size of the difference, evaluate the performance of the application system on each KPI; The performance of all KPIs is comprehensively considered to obtain an overall performance evaluation of the application system.

7. The method for evaluating application log performance based on big data analysis according to claim 6 is characterized in that: Generating performance reports based on evaluation results includes: Visualize the performance evaluation results of each KPI; Generate performance evaluation summaries and recommendations based on KPI importance and performance evaluation results; The summary and suggestions of the performance evaluation are compiled into a report and provided to the managers or developers of the application system.

8. The method for evaluating application log performance based on big data analysis according to claim 7 is characterized in that: Optimizing and adjusting the application system based on performance reports includes: Identify performance bottlenecks noted in performance reports; Design optimization solutions based on the causes of performance bottlenecks; Implement optimization plans and track and evaluate optimization results.

9. The method for evaluating application log performance based on big data analysis according to claim 8 is characterized in that: The design of the optimization scheme includes: Analyze patterns and trends in log data to identify the root causes of performance bottlenecks; Based on the root cause, choose the appropriate optimization technique or algorithm; Develop a detailed optimization implementation plan, including resource allocation, timeline, and risk assessment.

10. The method for evaluating application log performance based on big data analysis according to claim 9, characterized in that: The tracking and evaluation of the optimization effect includes: Collect log data after optimization implementation; Perform the same preprocessing and KPI extraction on the collected log data; Calculate the change in KPI before and after optimization , as shown in formula (3): (3) The efficiency ratio for evaluating the optimization effect is shown in formula (4): (4) According to the efficiency ratio, determine whether the optimization is successful, as shown in formula (5): in It is the preset efficiency ratio threshold used to determine whether the optimization has achieved the expected effect.

Citation Information

Patent Citations

  • Cell network optimization method and device

    CN114158060A

  • Threat situation prediction method applying AI

    CN116760578A

  • Unified management method for multiple types of storage devices

    CN117707887A

  • Error log processing method and device, electronic equipment and readable storage medium

    CN117874236A

  • Software development data processing system based on data analysis

    CN118152221A