BUG analysis method based on log guidance system under distributed condition

An analysis method and a technology for guiding the system, applied in the field of software testing, can solve problems such as the inability to dynamically debug distributed codes, and achieve the effect of taking into account practicality and convenience, saving manpower and material resources, and speeding up positioning efficiency

Active Publication Date: 2022-08-09
成都行远捷科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

They cannot dynamically debug distributed code, they can only statically debug code and analyze the logical bugs in it

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
  • BUG analysis method based on log guidance system under distributed condition
  • BUG analysis method based on log guidance system under distributed condition

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0026] Most of the problems that occur under distributed conditions are due to two reasons. The first is multi-process communication bugs under distributed conditions, and the second is multi-threaded asynchronous communication bugs under distributed conditions. This kind of problem is not a bug caused by the logic of the program, but it is shown as follows:

[0027] Under distributed conditions, the same set of code has different performances in the same time period, and all bugs are probabilistic and non-inevitable bugs; in addition, there will be software A that reports errors, but the actual It is the B software that caused the error on the previous page. In this case, it is impossible to find it through conventional BUG debugging and analysis. Their existence is often the underlying business problem of the computer. It is not sorted out clearly, and...

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 provides a BUG analysis method based on a log guidance system under a distributed condition, and relates to the technical field of software testing. According to the method, the problem part generating the BUG can be rapidly positioned, the parameters / variables used by the function are checked through the log information system, the error parameters / variables are found, the error part in the function is found, then the error part is rapidly positioned, and due to the fact that the error parameters / variables are directly checked, the BUG generation efficiency is greatly improved. In addition, when the stack is troubleshot, a mode of gradually narrowing the troubleshooting range is adopted, and traversal check on all parameters / variables can be avoided by gradually narrowing the stack range, so that the workload is reduced, the BUG positioning efficiency is improved, manpower and material resources are saved, and the method is suitable for large-scale popularization and application. And practicability and convenience are both considered.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a BUG analysis method based on a log guidance system under distributed conditions. Background technique [0002] With the rapid development of computer technology, more and more software programs are used in our work and life; among them, a large number of software, systems, platforms, etc. are deployed by distributed architecture, and these software programs will inevitably have bugs. BUG location is the most important environment. If it can be located accurately, it can be quickly repaired to avoid further loss of operation. [0003] The traditional method of debugging and locating bugs is usually based on static debugging code. When analyzing the normal logic bugs of the program and analyzing the process bugs of the program, this analysis method is relatively easy and effective to analyze the single-threaded program. [0004] However, under distributed conditions, al...

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/36G06F11/34
CPCG06F11/3692G06F11/3476
Inventor 柯宝丰张晓敏王南
Owner 成都行远捷科技有限公司
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