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

Automated Test Method Based on Embedded Software Simulator

A technology for automated testing and embedded software, applied in software testing/debugging, instrumentation, error detection/correction, etc., to solve problems such as no solution proposed, injection time deviation, inability to accurately control time, etc., to achieve efficient debugging. Effect

Active Publication Date: 2022-01-25
康烁
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the embedded software emulators on the market can only manually control the emulator software in the process of testing the target software, such as manually executing the start and stop of the program; Numerical values ​​or injecting faults into certain memory addresses to test and observe system execution behavior can only be achieved through manual modification by the tester; and if you want to test the software through fault injection at a specific moment, human operations are often inaccurate Controlling the time will lead to deviations in the injection time and affect the test results. There are defects in the low efficiency and cumbersome operation of testing the target software through artificial control.
[0003] Aiming at the problems of low efficiency and cumbersome operation of the embedded software emulator to debug the target software existing in the prior art, no effective solution has been proposed in the prior art

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
  • Automated Test Method Based on Embedded Software Simulator
  • Automated Test Method Based on Embedded Software Simulator
  • Automated Test Method Based on Embedded Software Simulator

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Hereinafter, implementations of the embedded software emulator-based automated testing method of the present invention will be described with reference to the accompanying drawings.

[0017] The implementations described here are specific specific implementations of the present invention, and are used to illustrate the concept of the present invention. They are all explanatory and exemplary, and should not be construed as limiting the implementation of the present invention and the scope of the present invention. In addition to the embodiments described here, those skilled in the art can also adopt other obvious technical solutions based on the claims of the application and the contents disclosed in the specification, and these technical solutions include adopting any modifications made to the embodiments described here. Obvious alternatives and modified technical solutions.

[0018] The accompanying drawings in this specification are schematic diagrams to assist in exp...

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

An automated testing method based on an embedded software emulator, comprising: step S0: creating an automated test script module to prepare for testing requirements; step S1: writing an automated test script module in the automated test script module according to the functions provided by the emulator API module to meet the test requirements Software test logic, emulator API module including address bus read and write, register read and write, memory read and write, program breakpoint, conditional breakpoint, get symbol table, simulator control, get simulation time, simulation timer, and / or Trigger interruption; Step S2: load the automated test script module into the emulator software; Step S3: start the emulator software and execute the automated test script module; Step S4: verify the correctness of the automated test script module code logic and make adjustments and modifications Step S5: if step S4 is passed, then execute and operate the embedded software automated test through the automated test script module; Step S6: the test is completed. Make program debugging controllable, changeable, and quickly locate program logic errors.

Description

technical field [0001] The invention relates to an automated testing method for computer software, in particular to an automated testing method based on an embedded software emulator. Background technique [0002] At present, the embedded software emulators on the market can only manually control the emulator software in the process of testing the target software, such as manually executing the start and stop of the program; Numerical values ​​or injecting faults into certain memory addresses to test and observe system execution behavior can only be achieved through manual modification by the tester; and if you want to test the software through fault injection at a specific moment, human operations are often inaccurate Controlling the time will lead to deviations in the injection time and affect the test results. There are defects of low efficiency and cumbersome operation in testing the target software through artificial control. [0003] Aiming at the problems of low effi...

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/3644
Inventor 康烁
Owner 康烁
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