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

Method of software trace and system therefor

A tracking system and software technology, applied in the field of software tracking methods and systems, can solve problems such as difficulty in realizing automatic testing, high CPU running space occupation, lack of unified standards, etc., to achieve data analysis and processing and automatic testing, reduce Communication bandwidth, easy to analyze the effect of statistics

Inactive Publication Date: 2006-02-08
HUAWEI TECH CO LTD
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] ① The data format of the tracking information output and the calling method of the print statement Print programming interface have not been unified by each software system under test;
[0015] ②Because the print statement Print is generally not treated as a separate function, most developers can set it at will according to their needs, so there is no unified standard for setting where to print and what content to output;
[0016] ③The output tracking information can only be understood by the relevant developers, but it will be difficult for other personnel to understand;
[0017] ④Because the data format of the output tracking information is not uniform, and the setting of the print statement Print lacks standard specifications, it is impossible to perform automated data analysis and processing, and it is difficult to realize automated testing;
[0019] ① When outputting tracking information in text format, a piece of tracking information often occupies tens to hundreds of bytes, which occupies a large amount of communication bandwidth;
[0020] ②When there are many tracking points, more tracking information will be output, which will occupy a higher CPU space;
[0021] (3) The output tracking information lacks organization, that is, the output tracking information is more and more complicated, and it is not organized in a certain way;
[0022] For example: to trace a software system used to control calls, ideally it is hoped that the trace information can be classified according to different call types; however, the hierarchical printing information trace mechanism generally cannot classify the same type of trace information, but various Trace information is mixed together for printout, which makes it difficult to perform statistics or trend graph analysis on the trace information
[0023] To sum up, due to the lack of systematic design of the information tracking process of the hierarchical printing information tracking mechanism, which has a great impact on system performance, and the output of tracking information is lack of organization; therefore, the existing hierarchical printing information tracking technology is difficult for large-scale software The system supports the needs of the tracking function

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
  • Method of software trace and system therefor
  • Method of software trace and system therefor
  • Method of software trace and system therefor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0085] First, the software tracking method proposed by the present invention is described in detail, please refer to figure 2 , this figure is the main body realization flow chart of the software tracking method of the present invention; The realization process of the software tracking method of the present invention shown in the figure mainly includes the following steps:

[0086] Step S1, setting the tracking information filter condition for conditional filtering of the tracking information; if the set tracking information filter condition is to track all information whose service type is "call", then other tracking information, such as "Short Message" service Trace information will be filtered out before output;

[0087] In step S2, the information of each tracking point in the software system under test is collected to obtain the tracking information; generally, a software system under test is preset with a plurality of tracking points to track the information obtained by...

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 software tracing method, which comprises the following steps: arranging tracing information filter condition; collecting the information of each tracing point in the tested software system to obtain the tracing information; filtering the tracing information by the filter condition; sizing and composing the tracing information by the attribute; doing analysis display to the sized and composed information. The invention also provides a software tracing system.

Description

technical field [0001] The invention relates to software management technology in the field of communication or electronics, in particular to a software tracking method and system thereof. Background technique [0002] Software testability mainly includes observability and controllability, and software tracking technology is the most common and basic method to achieve software observability, and it is a key necessary for software testing, debugging and problem location. technology. [0003] At present, the commonly used software tracking methods in the software industry are generally realized based on the printing principle. Please refer to figure 1 , this figure is a schematic diagram of software tracking based on the printing principle in the prior art, and its realization principle is as follows: [0004] Set the print statement Print in the place where information tracking is required in the software system under test, and output the corresponding tracking information...

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
IPC IPC(8): G06F11/36
Inventor 龙纲
Owner HUAWEI 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