Unlock instant, AI-driven research and patent intelligence for your innovation.

Software testing method capable of simulating abnormality of spacecraft equipment

A software testing method and equipment abnormality technology, applied in the direction of software testing/debugging, etc., can solve problems such as the inability to simulate the abnormality of spacecraft equipment, and achieve the effect of solving the abnormality of spacecraft equipment that cannot be simulated.

Active Publication Date: 2012-09-12
贵州航天风华精密设备有限公司
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to overcome the shortcoming of prior art, provide a kind of testing method of spacecraft testing software, can solve the problem that the abnormality of spacecraft equipment cannot be simulated during software testing, simulate various inevitable failures and accidental failures

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
  • Software testing method capable of simulating abnormality of spacecraft equipment
  • Software testing method capable of simulating abnormality of spacecraft equipment
  • Software testing method capable of simulating abnormality of spacecraft equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The technical solution of the present invention is further described below in conjunction with the accompanying drawings, but the scope of protection is not limited to the description.

[0019] Such as figure 1 , a software testing method for simulating the abnormality of spacecraft equipment, it comprises the following steps:

[0020] (1), define the hardware manager and the hardware adapter, and the hardware manager and the hardware adapter are connected to each other through the configuration file;

[0021] (2), the hardware adapter list based on CBaseDriver is established in the hardware manager, and the hardware adapter interface is defined. The main members of CBaseDriver are shown in Table 1

[0022] Table 1 CBaseDriver main member table

[0023]

[0024] The list of hardware adapters is identified by the keyword ID number, and the identification information is written into the configuration file driver.xml. The hardware manager uses the ID number to find a...

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 software testing method capable of simulating abnormality of spacecraft equipment. The software testing method comprises the steps of: defining a hardware manager and a hardware adapter, building a hardware adapter list in the hardware manager, defining a hardware adaptor interface, changing a true equipment type in a configuration file into a virtual equipment type, defining an information processing function of the virtual equipment type, carrying out pollution-free abnormality injection before operation, simulating the spacecraft equipment with virtual hardware, and encapsulating the true hardware operation or virtual hardware operation to the hardware adapter. The software testing method has the beneficial effects that the hardware manager and the hardware adapter are defined, the true hardware operation and the virtual hardware operation are encapsulated to the hardware adaptor interface, and the spacecraft equipment is simulated by the virtual hardware so that various inevitable fault and random fault are simulated; and by using the testing case developed by the method, the tested software is not polluted, and the problem that the abnormality of the spacecraft equipment cannot be simulated during software testing is solved.

Description

technical field [0001] The invention relates to a software testing method for simulating abnormality of spacecraft equipment. Background technique [0002] There are a lot of equipment on the spacecraft, and there are many supporting units involved. Each unit has implemented unit test equipment with different structures according to the specific conditions of the equipment on the spacecraft. Spacecraft test software needs to assess these equipment units and their comprehensive working conditions. Before the software is put into formal use, unit testing, integration testing, configuration item testing and system qualification testing are required to find software defects and improve software quality. [0003] When testing configuration items, various exceptions must be imposed on the software to verify the robustness of the software and find out the loopholes in it. But there is currently no effective method for imposing hardware anomalies. The reason is that when the softw...

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/36
Inventor 胡业火莫应强王丽霞
Owner 贵州航天风华精密设备有限公司