A method for extracting software dynamic test operation data

A technology of running data and dynamic testing, applied in software testing/debugging and other directions, can solve problems such as poor flexibility and portability, and achieve the effects of rich types, accurate running data and low cost

Active Publication Date: 2017-11-03
BEIJING INTELLIGENT FULLY ELECTRIC INFORMATION TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since this data extraction method is heavily dependent on hardware, different signal capture probes need to be customized for different hardware platforms, making this extraction method less flexible and portable

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
  • A method for extracting software dynamic test operation data
  • A method for extracting software dynamic test operation data
  • A method for extracting software dynamic test operation data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Below in conjunction with the embodiment of the present invention figure 1 , figure 2 and image 3 To clearly and completely describe the technical solutions in the embodiments of the present invention, it is obvious that the described embodiment is only one embodiment of the present application, not all of the embodiments.

[0027] like figure 1 Be the flow chart of software dynamic test operation data extraction method of the present invention, concrete implementation steps are as follows:

[0028] Step 101, the garrison process starts the program under test through a system call, and the specific implementation is as follows:

[0029] (1) The program under test

[0030] The program under test can be an ordinary program deployed on a desktop operating system, or a real-time program running on an embedded system; according to the classification of test business, the program under test can be the object of dynamic testing of all software, such as program coverage t...

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 discloses a method for extracting software dynamic test operation data, which comprises the following steps: a resident process starts a program under test through a system call; when the program under test runs to a preset data monitoring point, sends signal; after the garrison process saves the scene, suspend the program under test, and search for a processing routine in the data acquisition processing routine vector table according to the received signal type; the processing routine found is provided by the garrison process Calling, after obtaining the specific operation data at the current location, send a data acquisition completion signal to the resident process; after receiving the acquisition completion signal, the resident process restores the site and makes the program under test continue to run. This method does not require code stubs, does not increase the code size of the program under test, does not affect the operating efficiency of the program under test, and does not depend on the hardware platform. It can obtain rich, accurate and real-time data types, and has high universality.

Description

technical field [0001] The invention belongs to the field of computer software testing, in particular to a method for extracting running data required by dynamic testing of software in an embedded system. Background technique [0002] In software dynamic testing, the extraction methods of program operation data can generally be divided into three categories, which are pure hardware extraction methods, pure software extraction methods and combined software and hardware extraction methods. Among them, the pure hardware method usually uses sampling to obtain program running data, which will inevitably lose some important signals, and its analysis range is also very limited, so it is difficult to obtain satisfactory test results in practical applications. The pure software method generally adopts software instrumentation technology, by inserting probes into the program under test, and using the probes to complete the extraction of operating data. Due to the existence of a large...

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 BEIJING INTELLIGENT FULLY ELECTRIC INFORMATION TECH CO LTD
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