Application log analysis method and device
An analysis method and log technology, applied in the field of electronic information, can solve the problems of low analysis efficiency, mixed logs, and low analysis accuracy, and achieve the effect of improving efficiency and accuracy and accurate prediction model.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] figure 1 A flow chart of a method for analyzing an application log provided by Embodiment 1 of the present invention is shown.
[0056] like figure 1 As shown, the method includes:
[0057] Step S110: Perform similarity calculation on the collected application logs, and perform filtering processing on similar application logs according to the similarity calculation results.
[0058] Among them, multiple collected application logs are used as log samples to train the prediction model. In order to ensure the purity of the samples, similar application logs need to be filtered to improve the efficiency of model training. Specifically, the calculation method of the similarity can be flexibly set by those skilled in the art, for example, the calculation can be performed by a similarity algorithm, or several log categories contained in the application logs can also be extracted and determined according to the extracted log categories.
[0059] Step S120: Train the filtered ...
Embodiment 2
[0067] figure 2 A flow chart of a method for analyzing an application log provided by Embodiment 2 of the present invention is shown.
[0068] like figure 2 As shown, the method includes:
[0069] Step S210: Carry out similarity calculation for multiple collected application logs.
[0070] Specifically, for each application log, extract a preset number of log categories contained in the application log, and add log tags to the application log according to the extracted log categories; perform word segmentation for multiple application logs under the same log tag Processing, determine the log word vector of each application log according to the word segmentation result, and calculate the similarity score between each application log according to the log word vector of each application log. Wherein, the preset number of log classes contained in the application log includes: three JAVA classes located at the head of the application log.
[0071] Among them, when calculating...
Embodiment 3
[0126] image 3 It shows a schematic structural diagram of an application log analysis device provided in Embodiment 3 of the present invention, specifically including:
[0127] The filtering module 31 is adapted to perform similarity calculation on multiple collected application logs, and perform filtering processing on similar application logs according to similarity calculation results;
[0128] The training module 32 is adapted to train the filtered application logs through the first algorithm and the second algorithm to obtain multiple prediction models;
[0129] The classification module 33 is adapted to input the application logs to be classified into the plurality of prediction models, and determine the classification results of the application logs to be classified according to the output results of the plurality of prediction models;
[0130] The analysis module 34 is adapted to analyze the application log to be classified according to the classification result of t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com