Log analysis method and system

An analysis method and analysis system technology, applied in the field of log analysis methods and systems, can solve the problems of incomplete log information, large amount of log information, and heavy workload, and achieve the effects of convenient query, clear log information, and lightening of the burden.

Inactive Publication Date: 2017-09-08
CHENGDU TOPPLUSVISION TECH CO LTD
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since the log library only has a simple recording function, and the number of log information in the log library is particularly large, programmers and testers have a considerable workload when looking for the cause of program bugs in a large number of log information; querying logs is time-consuming and laborious , and the log information currently recorded in the log is often incomplete. In many cases, the cause of the bug cannot be accurately found based on the log information
Causing many programs to be reluctant to add log information

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 analysis method and system
  • Log analysis method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The core of the present invention is to provide a log analysis method and system, which improves the old simple log information recording function, increases the log analysis function, makes the log information clearer, more complete, and facilitates query, greatly reducing the development time. Burden on staff and testers.

[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0049] P...

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 a log analysis method. The method includes the steps that a log generation interface is called to output a log file; the log file is read, and a source code position corresponding to a program is localized with a set function identifier; according to the source code position, a corresponding program execution process is recorded with a function entry marker and a function exit marker, and a corresponding numerical value of function execution consuming time is read to serve as program execution efficiency; according to a set output field, corresponding numerical value information of the output field in the execution process is acquired. An old method with a simple log information recording function is improved, a log analysis function is added, log information is clearer and more complete, search is convenient, and the burden of developers and testers is greatly relieved. The invention further discloses a log analysis system with the advantages.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a log analysis method and system. Background technique [0002] Currently, the scale of programs is getting larger and larger in various fields. Therefore, the requirements for program stability and update timeliness are getting higher and higher. There are many corresponding program log libraries, such as glog, which is used to record the execution of the program. Logging libraries can help programmers and testers find and resolve program bugs. [0003] Since the log library only has a simple recording function, and the number of log information in the log library is particularly large, programmers and testers have a considerable workload when looking for the cause of program bugs in a large number of log information; querying logs is time-consuming and laborious , and the log information currently recorded in the log is often incomplete. In many cases, the cause of the bug...

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): G06F11/30G06F11/34
CPCG06F11/302G06F11/3086G06F11/3093G06F11/3476G06F2201/865
Inventor 蒋柯周剑
Owner CHENGDU TOPPLUSVISION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products