Log stack information analysis method and apparatus, computer device, and storage medium
An information analysis and stacking technology, applied in the field of log stack information analysis and computer-readable storage media, can solve problems such as the inability to effectively evaluate the occurrence number and severity of exceptions, inconvenience for R&D personnel to obtain and analyze, and a large amount of stack information. , to achieve the effect of intuitive and effective times and severity, convenient analysis and display, and improved analysis ability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] figure 1 It is a flow chart of a preferred embodiment of the log stack information analysis method of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
[0044] refer to figure 1 As shown, the log stack information analysis method specifically includes the following steps.
[0045] S1. When an operation instruction for acquiring a log file is received, acquire an operation log file of the tested software, and filter out exception stack information from the operation log file.
[0046] In a computer, a log file is a file that records events that occur while the operating system or other software is running. Adding program logs to the software can track the trajectory of the software code when it is running, and reflect the historical operation of the software, so that developers and testers can use log files to troubleshoot problems.
[0047]Among them, the monitoring con...
other Embodiment approach
[0059] In other embodiments, the operation log file may also be a log file obtained by the computer device from other terminal devices through a network or a serial port, for example, by a terminal device such as a smart phone, a tablet computer or a desktop computer on which the software program to be tested is installed. The software operation log file.
[0060] In this step S1, by filtering the abnormal stack information in the log file, the invalid information in the log file is eliminated, and the interference of redundant data and invalid data to the development / test troubleshooting is reduced.
[0061] S2. Obtain a complete function call relationship that causes the exception to occur from each filtered exception stack information.
[0062] Wherein, a log file may include multiple stack information, and each stack information includes a calling relationship between multiple functions. Obtaining the function in the stack information can be achieved by obtaining the func...
Embodiment 2
[0126] Figure 4 It is a structural diagram of a preferred embodiment of the log stack information analysis device of the present invention.
[0127] refer to Figure 4 As shown, the log stack information analysis device 10 may include: an exception stack information acquisition unit 11 , a function call relationship determination unit 12 , a function index relationship table creation unit 13 , an aggregation unit 14 , a display control unit 15 , and an analysis unit 16 .
[0128] The exception stack information acquiring unit 11 is configured to acquire the running log file of the software under test when receiving the operation instruction of acquiring the log file, and filter out the exception stack information from the running log file.
[0129] Among them, the monitoring content of the log file can be printed out in a specific format and content according to user settings. In this embodiment, the running log file of the tested software includes the function call stack i...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com