Unlock instant, AI-driven research and patent intelligence for your innovation.

Log classification method and system based on convolutional neural network, equipment and medium

A convolutional neural network and classification method technology, applied in the field of storage cluster log management, can solve the problems of large log volume and redundant information, inaccurate positioning, low efficiency, etc., to improve query and access speed, storage space optimization, The effect of improving detection speed and detection accuracy

Pending Publication Date: 2022-01-28
JINAN INSPUR DATA TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, because most of the original system logs are unstructured text information, not only the volume of the log is large but also there is a lot of redundant information, which brings additional cumbersome workload to the operation and maintenance and R & D personnel, resulting in low efficiency and positioning inaccurate question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Log classification method and system based on convolutional neural network, equipment and medium
  • Log classification method and system based on convolutional neural network, equipment and medium
  • Log classification method and system based on convolutional neural network, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Embodiment 1 of the present invention proposes a log classification method based on convolutional neural network, and applies the convolutional neural network model to log classification. The network has been adjusted to improve detection speed and detection accuracy. Improve the efficiency of developers or operators in locating system exceptions, and better maintain the stability and security of the cluster system.

[0043] Log: Network devices, systems, and service programs, etc., will generate an event record called a log during operation; each line of log records the description of related operations such as date, time, user, and action.

[0044] Convolutional Neural Network (CNN): CNN is constructed by imitating the visual mechanism of creatures. It is a type of feedforward neural network that includes convolutional calculations and has a deep structure. It has the ability to learn representations and is also one of the representative algorithms for deep learning. ...

Embodiment 2

[0056] Based on the convolutional neural network-based log classification method in Embodiment 1 of the present invention, a convolutional neural network-based log classification system is also proposed. Such as Figure 5 It is a schematic diagram of a log classification system based on a convolutional neural network proposed in Embodiment 2 of the present invention, the system includes a preprocessing module, a training module and a management module;

[0057] The preprocessing module is used for parsing the obtained original log file into structured data, and performing feature extraction on the structured data to obtain a feature set, and marking the hot and cold samples in the feature set once;

[0058] The training module is used to divide the feature set into a training set and a test set according to a preset ratio, use the hot and cold samples in the training set to train the convolutional neural network, and adjust the convolution kernel and training parameters of the...

Embodiment 3

[0064] The invention also proposes a device comprising:

[0065] memory for storing computer programs;

[0066] When the processor is used to execute the computer program, the method steps are as follows:

[0067] Such as figure 1 It is a flow chart of the log classification method based on the convolutional neural network proposed in Embodiment 1 of the present invention;

[0068] In step S101, the obtained original log file is parsed into structured data, and feature extraction is performed on the structured data to obtain a feature set, and the hot and cold samples in the feature set are marked once;

[0069] Such as figure 2 It is the flow chart of the original system log preprocessing proposed in Embodiment 1 of the present invention; firstly, the original system log is parsed, and the logkey method can be used for parsing, because each log is composed of constants and variables, and the constants are determined by the system For messages printed directly from progra...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a log classification method and system based on a convolutional neural network, equipment and a medium, and the method comprises the steps: analyzing an obtained original log into structured data, carrying out the feature extraction of the structured data to obtain a feature set, and primarily labeling cold and hot samples in the feature set; dividing the feature set into a training set and a test set according to a preset proportion, training a convolutional neural network by using cold and hot samples in the training set, and adjusting a convolution kernel and training parameters of the convolutional neural network; verifying the adjusted convolutional neural network by using a test set; and classifying and managing the logs trained by the convolutional neural network. Based on the method, the invention further provides a log classification system, equipment and a medium. The convolutional neural network model is applied to log classification, and meanwhile, in order to cope with the situation that training sample data cannot meet the mass level, the convolutional neural network is adjusted from the structure and parameters, so that the detection speed and the detection accuracy are improved.

Description

technical field [0001] The invention belongs to the technical field of storage cluster log management, and in particular relates to a log classification method, system, device and medium based on a convolutional neural network. Background technique [0002] In the daily operation of a large-scale storage cluster, with the increase of data access and various frequent operations, the log files generated by the large-scale storage cluster system gradually begin to increase rapidly over time. O&M and R&D personnel generally understand and optimize the system and locate some problems based on the logs generated by the system. [0003] However, because most of the original system logs are unstructured text information, not only the volume of the log is large but also there is a lot of redundant information, which brings additional cumbersome workload to the operation and maintenance and R & D personnel, resulting in low efficiency and positioning Inaccurate question. Contents o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/18G06K9/62G06N3/04G06N3/08
CPCG06F16/1815G06N3/08G06N3/045G06F18/214G06F18/24
Inventor 庆隆阳
Owner JINAN INSPUR DATA TECH CO LTD