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

A dynamic testing method for embedded software based on source code piling

A technology for embedded software and dynamic testing, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as too much stub information, link failure, increase system burden, etc., to achieve less resource occupation and less impact Effect

Active Publication Date: 2022-02-08
NO 30 INST OF CHINA ELECTRONIC TECH GRP CORP
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1) Pure software automated testing tools increase the amount of source code of the system under test in terms of instrumentation and preprocessing, and run in an embedded system with relatively insufficient IO, memory, and CPU resources. These additional codes increase The burden of the system may even cause link failure or operation failure. The environment where the user program runs is different from the actual environment. Performance analysis of a certain function cannot be done, and only module or unit coverage tests can be done.
The lexical / grammatical analysis of the compiler generates a lot of stub information, which leads to an increase in the size of the final generated embedded program and a decrease in system performance, which makes the tested software and the actual operating environment quite different;

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 dynamic testing method for embedded software based on source code piling
  • A dynamic testing method for embedded software based on source code piling
  • A dynamic testing method for embedded software based on source code piling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] 1. Principle Description

[0028] The operating environment of embedded terminal equipment software is usually an embedded single-chip microcomputer, which has limited memory and hard disk resources, and relatively simple user interface functions, but requires high stability and reliability of the equipment. Embedded terminal devices generally have input and output interfaces, the input methods include buttons, touch, etc., the output content includes display text, control commands, and provide external network connections, communicate with external devices, abide by relevant communication protocols, and provide users with business functions . The stability and reliability of services are the core requirements of some key users, and higher requirements are placed on the reliability of the terminal equipment itself and the network. According to the functional requirements of the terminal equipment, the test server control software simulates various user operation behavi...

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 dynamic testing method of embedded software based on piling of source code. On the basis of the source code of the original embedded software, a test agent module is added, and the test agent is distributed in the underlying data sending and receiving interface of the original embedded software source code. The stub function provides a data collection and control mechanism, and provides a serial port communication mechanism with the computer test server software to realize the computer test server software to control the embedded software to carry out automatic test functions, which can solve the above-mentioned problems of large differences between the tested software and the actual operating environment. Simulate user behavior to realize automated dynamic testing of embedded software.

Description

technical field [0001] The invention relates to an embedded software dynamic testing method based on source code piling. Background technique [0002] With the development of embedded software and hardware technology, a variety of consumer electronics products such as smart phones, tablets, etc. use this technology to achieve various complex functions. The scale of embedded software codes is becoming larger and larger, and the functions are becoming more and more complex. In order to improve the stability and reliability of embedded software, a lot of testing work needs to be done during the software development and testing phase to find potential software problems. Testing will take up a lot of time during the development of embedded devices. In order to improve the efficiency of testing and reduce simple and repetitive manual testing operations, embedded automatic testing tools are introduced, and the embedded software for testing. [0003] The working principle of the c...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 唐文廖蓉晖许志强龚萍卿昱李鉴康敏
Owner NO 30 INST OF CHINA ELECTRONIC TECH GRP CORP
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