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

CN110837466BActive Publication Date: 2022-02-08NO 30 INST OF CHINA ELECTRONIC TECH GRP CORP
8 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2022-02-08

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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...

Examples

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...