Dynamic defect detection method for embedded software

An embedded software and defect detection technology, which is applied in the direction of software testing/debugging, combination of various digital computers, etc., can solve the problems of low accuracy of test results and inability to perform dynamic real-time defect detection, etc.

Inactive Publication Date: 2011-01-05
SOUTH CHINA UNIV OF TECH
View PDF2 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to overcome the shortcomings that the current related tools cannot perform dynamic real-time defect detection and the accuracy of the test results is not high, and propose an accurate dynamic defect detection method for embedded software

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
  • Dynamic defect detection method for embedded software
  • Dynamic defect detection method for embedded software
  • Dynamic defect detection method for embedded software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention will be further described below in conjunction with the accompanying drawings.

[0034] In order to realize real-time online defect detection, the present invention adopts a test mode based on cross-test, such as figure 1 As shown, the test tool runs on a host machine with rich hardware and software configurations. After processing the program under test, it makes it run on a target machine with relatively few hardware and software resources, generates test information, and sends it to the tester through a certain communication connection. The agent is transmitted to the host machine, and the test tool receives and displays the test results.

[0035] The overall frame diagram of the embedded software dynamic defect detection tool in the present invention is as follows figure 2 shown. The design follows the cross-test mode, which is divided into a client and a test agent. The client runs on the development machine, and the test agent is divided i...

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 dynamic defect detection method for precise embedded software. The embedded software comprises a test proxy module and a client module which are communicated with each other through a network, wherein a test proxy runs on a target machine to detect a detected program, sample and extract needed data and information and send the data and information to a client; the test proxy comprises a sampling module and the test proxy module; the sampling module is loaded to a kernel space in a mode of a Linux kernel module to operate a power management unit (PMU) register and sample an instruction address; the test proxy module is used for the proxy of interaction between the kernel module and the client, receiving the request, configuration and the like of the client, correspondingly setting the kernel module, reading sample data from the kernel module and sending the sample data to the client; and the client is developed and integrated to a GDIX embedded software test platform in a form of Eclipse plug-in. In the method, through the test proxy module and the client module, an embedded software dynamic defect detection service is provided and the processing and display of test result data are performed on line in real time.

Description

technical field [0001] The invention belongs to the field of embedded software testing, in particular to a method for dynamic defect detection based on embedded software. technical background [0002] In the field of digital home appliances, embedded systems need to support the playback of a large number of high-definition video and audio, and provide high-definition audio-visual entertainment and information services. Then embedded software is bound to have a lot of CPU operations such as encoding and decoding, and becomes CPU-consuming software. Therefore, the efficiency of runtime becomes one of the key issues to improve the performance of embedded software. [0003] In an embedded system, various resources are relatively very limited. Embedded software is closely integrated with hardware. To write efficient embedded software, many hardware-related issues need to be considered, such as how to efficiently use RAM and how to use I reasonably. / O port, etc. However, many p...

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/36G06F15/16
Inventor 刘发贵侯明明刘佳欣李胜文
Owner SOUTH CHINA UNIV OF TECH
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