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

Abnormity test method and system based on virtual instruction set platform, and storage medium

A technology of exception testing and virtual instructions, which is applied in safety-critical fields, can solve problems such as error-proneness, reduced reliability and accuracy, and difficulty in unified coordination, so as to achieve the effect of improving test efficiency and easy migration

Pending Publication Date: 2022-07-22
中国航发控制系统研究所
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional test method is based on the hardware controller through instrumentation and serial port printing test results. This method is limited by the serial port protocol and cannot accurately display the register and memory changes. It can only display part of the variable test results, which is difficult to capture from a micro perspective and Analyzing the abnormal state of the CPU greatly reduces the reliability and accuracy; in addition, the hardware test needs to cooperate with the controller, test bench, and adaptation box, etc., and it is not easy to coordinate in a unified manner. The test methods are different, and the reset programming process needs to be repeated, which is inefficient and error-prone

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
  • Abnormity test method and system based on virtual instruction set platform, and storage medium
  • Abnormity test method and system based on virtual instruction set platform, and storage medium
  • Abnormity test method and system based on virtual instruction set platform, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solutions of the present invention will be further described below with reference to the accompanying drawings.

[0025] An exception testing method based on a virtual instruction set platform according to an embodiment of the present invention includes the following steps:

[0026] S1: According to the hardware information to be tested, build a virtual target system on the virtual instruction set platform;

[0027] S2: According to the selected VCPU and test plan, select the abnormal test component from the abnormal test component library, and generate the dynamic link library file according to the selected abnormal test component;

[0028] S3: Load the bin file of the control software on the virtual target system, start the virtual target system to enter the normal operation mode, and confirm that each monitoring variable meets the expected value;

[0029] S4: The host computer of the engine simulation model dynamically triggers the abnormal test compon...

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 an exception test method and system based on a virtual instruction set platform and a storage medium, and the method comprises the steps: S1, building a virtual target system on the virtual instruction set platform according to to-be-tested hardware information; s2, selecting an abnormal test component from an abnormal test component library according to the selected VCPU and the test plan, and generating a dynamic link library file according to the selected abnormal test component; s3, loading a bin file of the control software on the virtual target system, starting the virtual target system to enter a normal operation mode, and confirming that each monitoring variable accords with an expected value; and S4, the engine simulation model upper computer dynamically triggers the abnormal test component through the dynamic link library file, executes an automatic test, and stores an output result of the component. According to the exception testing method, the virtual target system is set up on the virtual instruction set platform for testing, the method is not limited by hardware resources, testing is convenient, and meanwhile testing errors caused by testing environment influences are avoided.

Description

technical field [0001] The invention belongs to the software testing technology in the key safety field, and particularly relates to an abnormal testing method, system and storage medium based on a virtual instruction set platform. Background technique [0002] FADEC control software is an important technology in safety-critical fields. When an exception occurs in the control software, the CPU chip must be able to respond in time and execute exception handling to prevent code from running away or executing wrong instructions. Therefore, exception testing is a must to control software testing. The traditional test method is based on the hardware controller to print the test results through the instrument and the serial port. This method is limited by the serial port protocol and cannot accurately display the register and memory changes. Analysis of the abnormal state of the CPU greatly reduces the reliability and accuracy; in addition, the hardware test needs to cooperate wi...

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/36G06F9/455G06F30/20
CPCG06F11/3688G06F9/45558G06F30/20G06F2009/45591
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