Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic log classification method and device and computer readable storage medium

A classification method, computer program technology, applied in computing, neural learning methods, text database clustering/classification, etc., can solve problems such as low efficiency, log classification relies on manual, error-prone, etc., achieves high classification accuracy, improves log Analysis efficiency and the effect of precise classification

Active Publication Date: 2021-08-27
SPREADTRUM COMM (SHANGHAI) CO LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem solved by the invention is that the existing log classification relies on manual work, which is inefficient and error-prone

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
  • Automatic log classification method and device and computer readable storage medium
  • Automatic log classification method and device and computer readable storage medium
  • Automatic log classification method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] As mentioned in the background technology, at present, manual classification of Android logs is still relied on, which is inefficient and error-prone.

[0031] Specifically, there are multiple types of log (log) files exported by the Android device, such as system log (systemlog), event log (event log), main log (main log) and radio frequency log (radio log). Wherein, the radio frequency log is a log for recording information related to wireless devices or phones, and the tags (tag) are "HTC_RIL", "RILJ", "RILC", "RILD", "RIL", "AT", "GSM" and " The log information such as STK" belongs to this type; the system log records low-level system information and debugging (debugging), and is separated from it in order to prevent overflow of the main buffer; the event log is a log that records binary system events that have been explained; the main log is Logs all java layers except radio logs, system logs and event logs.

[0032] The existing log classification method is to ma...

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 discloses an automatic log classification method and device and a computer readable storage medium. The method comprises the following steps: a to-be-processed log is loaded; log features are extracted from the to-be-processed log according to the parameter information of the log function, and the log features comprise log levels, log tags and log information; the log features are input into a preset classification model, a category prediction result output by the preset classification model is received, and the preset classification model is used for predicting the category of the log according to the input log features. By means of the scheme, full-automatic log classification can be achieved, the classification accuracy is high, and the log analysis efficiency of research and development and testing personnel can be improved.

Description

technical field [0001] The invention relates to the technical field of application program testing, and in particular to a log automatic classification method and device, and a computer-readable storage medium. Background technique [0002] Android (Android) logs (hereinafter referred to as logs) can display information such as application running status, events, and exceptions, which is convenient for developers and testers to debug applications and analyze problems. At this stage, the logs exported by Android devices are all stored in plain text in a fixed format, making it impossible to distinguish which application (Application, APP for short) or which software module or which code file a certain log belongs to. [0003] The current practice is that R&D and testing personnel search and locate the printed logs based on keywords to manually classify the logs, which is time-consuming, labor-intensive and error-prone. Moreover, when developers write Android code, the code w...

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/35G06F16/17G06F16/18G06F40/289G06N3/04G06N3/08
CPCG06F16/35G06F16/1734G06F16/1815G06F40/289G06N3/049G06N3/08G06N3/044
Inventor 钱民乾
Owner SPREADTRUM COMM (SHANGHAI) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products