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

Application log generation method, device, electronic device, and storage medium

An application and log technology, applied in the information field, can solve problems such as heavy workload, unpredictable problems, and inability to accurately retain useful data from system stack information, and achieve the effect of improving efficiency

Active Publication Date: 2021-12-10
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The existing client-side log generation scheme is generally manually buried, and the workload is heavy
Since it is impossible to predict where and when the problem will appear, it is also difficult to determine the place that needs to be managed. Only by burying some key places
When a problem occurs on the client side, due to incomplete log information, it is difficult to troubleshoot the problem, seriously affecting work efficiency
[0003] At the same time, the execution path of the code in the client is also very important to solve the problems that occur on the client. In the existing solutions, the path information can only be obtained through the stack information provided by the system, but because the problem is difficult to predict, the system stack information It is almost impossible to accurately retain useful data, and the system stack information still has problems such as the inability to display across threads, it is very time-consuming, affects the execution efficiency of the thread where it is located, and it is difficult to trace the source code path 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
  • Application log generation method, device, electronic device, and storage medium
  • Application log generation method, device, electronic device, and storage medium
  • Application log generation method, device, electronic device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0043] refer to figure 1 , which shows a flow chart of the steps of Embodiment 1 of a log generation method for an application program in the present invention, the application program includes a plurality of running objects, and the multiple running objects have preset instrumentation code information, the The method may specifically include the following steps:

[0044] Step 101, when the running object is running, determine the target running object according to the corresponding instrumentation code information;

[0045] The running object may refer to a method in the application program, and the instrumentation code information may be preset in some or all methods in the application program, and the instrumentation code info...

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

An embodiment of the present invention provides a log generation method, device, electronic device, and storage medium for an application program, the application program includes a plurality of running objects, and the multiple running objects have preset instrumentation code information, the The method includes: when the running object is running, determining the target running object according to the corresponding instrumentation code information; generating execution information of the target running object; and generating log information according to the instrumentation code information and execution information of the target running object. The embodiment of the present invention can automatically bury the method in the application program, save the path information when the application program calls the method, improve the content of the log information generated by the application program, and improve the maintenance or problem repair of the application program by managers. s efficiency.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to a log generation method, device, electronic equipment and storage medium of an application program. Background technique [0002] The existing client-side log generation scheme is generally manually burying points, and the workload is heavy. Since it is impossible to predict where and when the problem will appear, it is also difficult to determine the place that needs to be managed. We can only bury some key places. When a problem occurs on the client side, due to incomplete log information, it is difficult to troubleshoot the problem, seriously affecting work efficiency. [0003] At the same time, the execution path of the code in the client is also very important to solve the problems that occur on the client. In the existing solutions, the path information can only be obtained through the stack information provided by the system, but because the problem is diffic...

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 Patents(China)
IPC IPC(8): G06F11/34G06F11/30
CPCG06F11/302G06F11/3466
Inventor 高少飞陈潼
Owner BEIJING SANKUAI ONLINE TECH 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