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

Optimization method and system of program logging

A log and application technology, applied in the direction of instruments, electrical digital data processing, hardware monitoring, etc., can solve the problems of reducing the size of log files, loss of log information, labor and time consumption, etc., and achieve the effect of reducing performance impact

Active Publication Date: 2013-05-08
INT BUSINESS MASCH CORP
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The essence of this existing technical solution is to sacrifice the integrity of the log information in exchange for performance improvement, and there is also the problem of log information loss, and it can only be used during application development, and cannot be used without modifying the existing Reduce the size of the log file under the premise of the program code and logging mechanism (legacy mechanism)
Another existing technical solution is to manually change the existing logging mechanism, but it takes a lot of manpower and time, and requires a deep understanding of the program code, which is not feasible in practice

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
  • Optimization method and system of program logging
  • Optimization method and system of program logging
  • Optimization method and system of program logging

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Hereinafter, the method and system for optimizing application log records provided by the present invention will be described in detail with reference to the accompanying drawings.

[0020] Those skilled in the art know that various aspects of the present invention can be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may be embodied in the form of entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or as generally referred to herein as "circuits," "modules," ” or the combination of the software and hardware portions of the “system”. Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer-readable media having computer-usable program code embodied therein.

[0021] Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signa...

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 relates to the technical field of application logging, in particular a method and a system for optimizing original logging in an application and reloading the optimized logging to the application. The method for optimizing application logging includes: recognizing original logging in the application; dividing character string parameters in the original logging into a constant part and a variable part; establishing identifiers of correspondence between the constant part and the variable part; forming a log optimization method according to the constant part, the variable part and the correspondence identifiers; injecting codes, and replacing the original logging in the application by the log optimization method. By the use of the method, memory space of a hard disk drive for logging and IO (input / output) operation frequency can be reduced.

Description

technical field [0001] The invention relates to the technical field of application logs. More specifically, the present invention relates to a method and a system for optimizing the original log method in the application program and re-injecting it into the application program. Background technique [0002] The log method of the application program (Log Method) is some instructions that are injected into the program's own code during the application program development. Understand the operating status of systems and programs and diagnose problems that arise. Logging is especially important for applications that lack user interactivity. For example, in order to monitor a network connection error that occurs when an application is running, a relevant log method can be inserted into the program to record the information such as the IP address and error time corresponding to the network connection error and store it in the log file , so that the program administrator can anal...

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/34
CPCG06F11/3476G06F11/3628G06F11/34G06F2201/865G06F11/3466G06F11/3636
Inventor 罗志达车漾王晔忻
Owner INT BUSINESS MASCH CORP
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