CN111190820B - Configuration item test platform construction method and test method for display control software - Google Patents

Configuration item test platform construction method and test method for display control software Download PDF

Info

Publication number
CN111190820B
CN111190820B CN201911362779.0A CN201911362779A CN111190820B CN 111190820 B CN111190820 B CN 111190820B CN 201911362779 A CN201911362779 A CN 201911362779A CN 111190820 B CN111190820 B CN 111190820B
Authority
CN
China
Prior art keywords
test
display control
subsystem
control software
external
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911362779.0A
Other languages
Chinese (zh)
Other versions
CN111190820A (en
Inventor
张絮
钱向农
李国栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AVIC First Aircraft Institute
Original Assignee
AVIC First Aircraft Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by AVIC First Aircraft Institute filed Critical AVIC First Aircraft Institute
Priority to CN201911362779.0A priority Critical patent/CN111190820B/en
Publication of CN111190820A publication Critical patent/CN111190820A/en
Application granted granted Critical
Publication of CN111190820B publication Critical patent/CN111190820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Abstract

The embodiment of the invention discloses a method for constructing a configuration item test platform of display control software and a test method, comprising the following steps: establishing an interface of display control software, wherein the interface comprises an internal interface and an external interface of the display control software; establishing a virtual target machine for running display control software according to the internal interface, wherein the virtual target machine and the display control software running on the virtual target machine form a virtual target machine system; establishing a distributed simulation data bus, and connecting display control software and each external simulation subsystem through the distributed simulation data bus; an external simulation subsystem for simulating the external environment subsystem is established according to the external interface. The embodiment of the invention avoids the defect that the software configuration item test of the traditional display control system is seriously dependent on the hardware environment, shortens the test period and improves the test efficiency.

Description

Configuration item test platform construction method and test method for display control software
Technical Field
The application relates to the technical field of airborne electronics, and in particular relates to a method for constructing a configuration item test platform of display control software and a test method.
Background
The comprehensive design technology of the software and hardware of the integrated avionics system is widely applied to civil and military aircrafts of various modern models, and the display control system software realizes the functions of display data processing, display picture generation and display, comprehensive control of all equipment of the avionics system, comprehensive backup display and the like. The external member system is in software cross-linking with the display control system and mainly comprises an avionics subsystem, an electromechanical management subsystem, a flight control subsystem and an engine control subsystem. The crosslinking systems are numerous, the display data are complex and various, and the control real-time performance requirement is high.
At present, the development mode of control system software is displayed, firstly, the overall or outline design of the software is carried out, and after the hardware equipment is started to reach a delivery state, software development and testing personnel carry out the design development of the software, unit and component testing, and the integrated testing and verification of the software and hardware system. Referring to fig. 1, a flow chart of a test of display control software in an embodiment of the present invention includes a unit test, a component test, a configuration item test and a system test of the display control software.
Because of the great correlation between the integrated avionics system display control system software and hardware, the configuration item test of the display control software is seriously dependent on a plurality of airborne products or systems with cross-linked interfaces, so that the embedded software mainly has the following problems in development and verification:
a) If the test of the software configuration items of the display control system is carried out according to the traditional method, after the development and the test of the related airborne system hardware equipment are required to be completed, the test work of the airborne software can be carried out only after the available hardware equipment is proposed, so that the period of the whole project is prolonged;
b) In the test stage of the airborne software configuration item, due to limited hardware equipment resources or higher hardware equipment cost, a software test project team cannot efficiently perform related test work;
c) Because of the early debugging stage of the hardware equipment, the problems in design or prototype production can exist, and the faults of the software or the hardware can not be effectively distinguished when the software configuration item test is carried out, so that the test efficiency of the software is low;
d) In the test verification stage, based on the real hardware environment, a plurality of abnormal conditions (such as fault modes of each member system or equipment) in the software design of the display control system are processed, and the like, so that the full test and verification are difficult to be carried out through the hardware environment;
e) In the stage of simultaneous test and verification of multiple versions of software, as only one set of real hardware environment exists, the adverse situation that the same set of hardware test system competes for testing resources simultaneously for testing the multiple versions of display control software is formed;
f) Or, the state that only one set of real hardware environment is researching and verifying the function of one version of display control software and the test of the other version of display control software cannot be simultaneously carried out often occurs, so that the test plan and the software product installation plan are delayed to be carried out on time;
g) Or, the only real object verification platform in the laboratory is in a state of troubleshooting the outfield airborne equipment and can not simultaneously perform the display control software test, thereby delaying the on-time performance of a test plan and a software product installation plan;
h) Further, aiming at the state of multi-version display control software of the external field installation, the situation of strong competition of the test system occurs at any time from each stage of development, test, external field troubleshooting and internal and external test.
Disclosure of Invention
In order to solve the technical problems, the embodiment of the invention provides a configuration item test platform construction method and a test method of display control software, which are used for carrying out a comprehensive test method of white box test, black box test and static analysis of the display control system software on the basis by establishing an external system equipment digital simulation environment related to the display control system software and integrating mature test analysis and management tools, thereby avoiding the defect that the conventional display control system software configuration item test is seriously dependent on hardware environment, shortening test period and improving test efficiency.
The embodiment of the invention provides a method for constructing a configuration item test platform of display control software, which comprises the following steps:
establishing an interface of display control software, wherein the interface comprises an internal interface and an external interface of the display control software;
establishing a virtual target machine for running display control software according to the internal interface, wherein the virtual target machine and the display control software running on the virtual target machine form a virtual target machine system;
establishing a distributed simulation data bus, and connecting the display control software and each external simulation subsystem through the distributed simulation data bus;
and establishing an external simulation subsystem for simulating the external environment subsystem according to the external interface.
Optionally, in the method for constructing a configuration item test platform of display control software, the internal interface of the display control software includes: the external interface of the display control software comprises a bus interface and a display control interface of each external simulation subsystem, and the control interface is used for connecting display control hardware configured with a user interface.
Optionally, in the method for constructing a configuration item test platform of display control software, the establishing a virtual target machine for running the display control software according to the internal interface includes:
and establishing control hardware of the virtual target machine according to a control interface, establishing CPU hardware of the virtual target machine according to a CPU programming interface, establishing an embedded operating system of the virtual target machine according to an embedded operating system interface, and establishing BSP board level hardware of the virtual target machine according to a BSP board level interface.
Optionally, in the method for constructing a configuration item test platform of display control software, before the external simulation subsystem is built, the method further includes:
a first model library is established according to an external environment subsystem to be simulated, the first model library comprises a model of an avionics system and a model of a flight control subsystem, and a model of a flight environment is established according to the model of the avionics system and the model of the flight control subsystem;
establishing a second model library according to an external environment subsystem to be simulated, wherein the second model library comprises a model of a task management subsystem;
and establishing a third model library according to the external environment subsystem to be simulated, wherein the third model library comprises a model of the electromechanical management system and a model of the engine control subsystem.
Optionally, in the method for constructing a configuration item test platform of display control software, the building an external simulation subsystem for simulating an external environment device according to the external interface includes:
respectively establishing a avionics system and a flight control subsystem according to the bus interface of each external simulation subsystem and the first model library, and establishing a flight environment subsystem according to the avionics system and the flight control subsystem;
establishing a task management subsystem according to the bus interfaces of the external simulation subsystems and the second model library;
respectively establishing an electromechanical management subsystem and an engine control subsystem according to the bus interfaces of the external simulation subsystems and the third model library;
and establishing a system fault information management subsystem of each external simulation subsystem according to the bus interface of each external simulation subsystem, the first model library, the second model library and the third model library.
Optionally, in the method for constructing a configuration item test platform of display control software, the establishing an external simulation subsystem for simulating an external environment subsystem includes:
establishing a dynamic link library of each external simulation subsystem;
forming standard interfaces of each dynamic link library with display control software and an embedded operating system respectively;
and placing a plurality of dynamic link libraries for realizing different functions in a configuration item test platform of the display control software for forming a plurality of external simulation subsystems.
Optionally, in the method for constructing the configuration item test platform of the display control software, the method further includes:
according to the configuration item test requirements of the display control software, a test case generating tool, a test result analyzing tool, a test management tool and a test data display tool of the display control software are established;
an integrated auxiliary test tool for establishing the display control software is established, and the integrated auxiliary test tool comprises: debugging tools and development tools;
establishing a test comprehensive management module through the test case generating tool, the test result analyzing tool, the test management tool, the test data display tool, the debugging tool and the development tool, wherein each tool in the test comprehensive management module is crosslinked with the virtual target machine system and the external simulation subsystem; the test data display tool is used for displaying test data and pictures in the test process and the test data and pictures after the test is completed through display control hardware.
The embodiment of the invention also provides a method for testing the configuration items of the display control software, which is implemented by adopting the configuration item testing platform of the display control software constructed according to any one of the above steps, and comprises the following steps:
according to the test requirement of the display control software, writing a test case set through a tool in the test integrated management module, and generating a test script and a test instruction through the test case set;
injecting the test script and the test instruction into each external simulation subsystem;
each external simulation subsystem processes own excitation data according to the operation function requirement of the display control software and transmits the excitation data to the display control software;
and after the display control software performs configuration item test according to the excitation data received from each external simulation subsystem, outputting test results to the corresponding external simulation subsystem for recording and analysis, and outputting the test results.
The embodiment of the invention provides a configuration item test platform construction method and a test method of display control software, which provides a virtual test environment, comprises a virtual target machine, an external system equipment normal function model library, a fault mode model library and a comprehensive management module (comprising test case design, test result recording and analysis, test management and debugging environments), wherein the design establishes a distributed simulation data bus which meets a certain network protocol to be connected with the whole environment model, a tested display control system software is operated in the virtual test environment, a tester injects formed test scripts into each external simulation system through the test case design (comprising normal test cases and abnormal test cases), test data and results are obtained through data processing, and finally a test conclusion is given. The embodiment of the invention provides a virtual test environment for efficient white box test/black box test and static analysis/dynamic test for display control software. The method has the following advantages:
a) The virtual test environment for complex function airborne software is provided for the first time, and the requirement of completing the configuration item test by the display control software is met (time and money are saved, personnel are saved, and a test plan is flexibly arranged);
b) The virtual test environment comprises various test analysis and management tools, and can meet the requirements of static analysis/dynamic test and white box test/black box test methods of display control software;
c) The method has the advantages that a normal function model library of external equipment of the whole system is built on a virtual test environment, and a fault model library is built, so that the execution test requirements of all normal, boundary and abnormal test cases in the test process of the display control software configuration item are met;
d) Because the normal function model library of the external equipment of the whole system is built, and the fault model library is built, the test requirements of display control on-board software of other transport aircraft can be met by effectively cutting, optimizing or expanding according to the configuration of the on-board electronic system of other various aircraft in the future;
e) On the virtual test system, the display control system software of a plurality of new or updated versions of various series of subsequent military and civil transport vehicles can be tested, so that funds, time and manpower resources are greatly saved.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate and do not limit the invention.
FIG. 1 is a flow chart of a test of display control software according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for constructing a configuration item test platform of display control software according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an internal interface and an external interface of display control software according to an embodiment of the present invention;
FIG. 4 is a schematic diagram showing virtual test environment interfaces and composition relationships of control software according to an embodiment of the present invention;
FIG. 5 is a schematic configuration of a virtual test environment test execution principle of display control software according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a display control system level interface relationship for a particular aircraft in accordance with an embodiment of the present invention;
fig. 7 is a schematic diagram of a network configuration of a display control system level of an aircraft of a certain type in an embodiment of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail hereinafter with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be arbitrarily combined with each other.
The following specific embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 2 is a flowchart of a method for constructing a configuration item test platform of display control software according to an embodiment of the present invention. The method for constructing the configuration item test platform of the display control software provided by the embodiment can comprise the following steps:
s110, establishing an interface of display control software, wherein the interface comprises an internal interface and an external interface of the display control software;
s120, establishing a virtual target machine for running display control software according to an internal interface, wherein the virtual target machine and the display control software running on the virtual target machine form a virtual target machine system;
s130, a distributed simulation data bus is established, and display control software and each external simulation subsystem are connected through the distributed simulation data bus;
and S140, establishing an external simulation subsystem for simulating the external environment subsystem according to the external interface.
The internal interface of the display control software in the embodiment of the invention can comprise: the external interface of the display control software comprises a bus interface and a display control interface of each external simulation subsystem, and the control interface is used for connecting display control hardware configured with a user interface. Fig. 3 is a schematic diagram of an internal interface and an external interface of display control software according to an embodiment of the present invention.
The implementation manner of the S120 in the embodiment of the invention is as follows: and establishing control hardware of the virtual target machine according to the control interface, establishing CPU hardware of the virtual target machine according to the CPU programming interface, establishing an embedded operating system of the virtual target machine according to the embedded operating system interface, and establishing BSP board level hardware of the virtual target machine according to the BSP board level interface.
In the embodiment of the present invention, before the external simulation subsystem is built, the method may further include:
s11, a first model library is established according to an external environment subsystem to be simulated, wherein the first model library comprises a model of an avionics system and a model of a flight control subsystem, and a model of a flight environment is established according to the model of the avionics system and the model of the flight control subsystem;
s12, establishing a second model library according to the external environment subsystem to be simulated, wherein the second model library comprises a model of the task management subsystem;
s13, a third model library is established according to the external environment subsystem to be simulated, wherein the third model library comprises models of the electromechanical management subsystem and models of the engine control subsystem.
Accordingly, in the embodiment of the present invention, an implementation manner of establishing an external simulation subsystem for simulating an external environment device according to an external interface may include:
s21, respectively establishing a avionics system and a flight control subsystem according to a bus interface of each external simulation subsystem and a first model library, and establishing a flight environment subsystem according to the avionics system and the flight control subsystem;
s22, establishing a task management subsystem according to the bus interfaces of the external simulation subsystems and the second model library;
s23, respectively establishing an electromechanical management subsystem and an engine control subsystem according to the bus interfaces of the external simulation subsystems and a third model library;
s24, establishing a system fault information management subsystem of each external simulation subsystem according to the bus interface, the first model library, the second model library and the third model library of each external simulation subsystem.
Fig. 4 is a schematic diagram showing a virtual test environment interface and a composition relationship of control software according to an embodiment of the present invention. The subsystems built by the model library are schematically shown.
Optionally, the implementation manner of S140 in the embodiment of the present invention may include:
s31, a test case generating tool, a test result analyzing tool, a test management tool and a test data display tool of the display control software are established according to the test requirements of the configuration items of the display control software;
s32, establishing an integrated auxiliary test tool of display control software, wherein the integrated auxiliary test tool comprises: debugging tools and development tools;
s33, a test comprehensive management module is built through a test case generating tool, a test result analyzing tool, a test management tool, a test data display tool, a debugging tool and a development tool, and all tools in the test comprehensive management module are crosslinked with the virtual target machine system and the external simulation subsystem; the test data display tool is used for displaying test data and pictures in the test process and the test data and pictures after the test is completed through display control hardware. In FIG. 4, a test case tool, a test result analysis tool, a test management tool, a test data display tool, a debug tool, and a development tool are illustrated.
Based on the method for constructing the test platform of the display control software provided by the embodiment of the present invention, the embodiment of the present invention further provides a method for testing a configuration item of the display control software, where the method for testing a configuration item may be executed by using the test platform of the configuration item of the display control software constructed in the foregoing embodiment, and the method for testing a configuration item may include:
step 1, writing a test case set through a tool in a test integrated management module according to the test requirement of display control software, and generating a test script and a test instruction through the test case set;
step 2, injecting a test script and a test instruction into each external simulation subsystem;
step 3, each external simulation subsystem processes own excitation data according to the running function requirement of the display control software and transmits the processed excitation data to the display control software;
and 4, after the display control software performs configuration item test according to the excitation data received from each external simulation subsystem, outputting test results to the corresponding external simulation subsystem for recording and analysis, and outputting the test results.
Fig. 5 is a configuration of a virtual test environment test execution principle of display control software according to an embodiment of the present invention, and fig. 5 illustrates a process of the test.
The embodiment of the invention provides a method for constructing a full-digital virtual test environment associated with display control software for the first time, which comprises a virtual target machine, an external system simulation model, a system fault simulation and injection management model, a distributed bus simulation network and a comprehensive management module (comprising test case design, test result recording and analysis, test management and debugging environments).
a) In the virtual test environment or the system, the test of the airborne software configuration items of the display control system can be independently and fully completed, and the test is not influenced by the real running environment of the display control system;
b) The tester does not need to rely on a real display control system on-board computer device (target machine) and a real on-board member system device and an environment excitation device;
c) By adopting the virtual test environment or the virtual test system, the normal functions, the abnormal and the fault mode functions required by all member systems related to the display control system can be covered, the test result is deterministic, the selected test principle is reasonable, and the situation that the test result cannot be judged can not occur;
d) The digitalized or virtual testing environment or system constructed by the method can fully test or verify the correctness and the integrity of the software function design of the display control system.
The test platform construction method and the test method of the display control software provided by the embodiment of the invention are described in detail below through a specific implementation example.
Step 1, designing and defining a comprehensive onboard network configuration of display control system software, wherein the comprehensive onboard network configuration is connected by buses such as 429, AFDX and the like, and a first part of a subsystem comprises an avionics system and a flight control system, wherein the avionics system comprises a display control system, an atmospheric data system, a radio altimeter, an inertial/satellite navigation system, an audio/video recording, a flight management system, a central alarm system, a weather/terrain radar, a vision front-end device and a near-earth alarm system; the second part contains the task system; the third part comprises an electromechanical management system and an engine electronic control system; fig. 6 is a schematic diagram of a display control system level interface of a certain type of aircraft according to an embodiment of the present invention, fig. 7 is a schematic diagram of a network configuration of a display control system level of a certain type of aircraft according to an embodiment of the present invention, and fig. 7 includes a display control system and software to be tested;
in addition, a virtual test environment of the display control system software is designed and defined, the virtual test environment comprises a virtual target machine, an external system simulation model, a system fault simulation and management model and a user operation control interface (comprising test case design, test result recording and analysis, test management and debugging environments), a distributed simulation data bus is designed and established to be connected with the whole model through a distributed data bus network simulated by using an Ethernet, and a TCP/IP protocol is adopted as a network protocol;
step 2, designing and defining interfaces associated with display control system software, wherein the internal interfaces comprise a CPU programming type interface, an operating system interface, a control type interface and a BSP board level interface, and the external interfaces comprise a display control type interface and a subsystem interface, as shown in figure 3;
step 3, constructing a virtual target machine system related to display control system software, developing simulation functions of CPU instructions, commonly used BSP board level chips, I/O, interrupt, clocks and the like of the virtual target machine, and finally realizing the function of running the tested display control system software on the virtual target machine, wherein the left part is shown in figure 4;
and 4, establishing an external system equipment model library 1, wherein the external system equipment model library comprises subsystem models (normal functions) such as an avionics system, a flight control system and the like related to avionics, navigation and flight, and the FLISIM flight environment simulation tool is adopted to realize the operation control of the aircraft flight environment and meet the functional requirements related to display control software, avionics, navigation and flight tasks. The avionic system comprises a display control system, an atmospheric data system, a radio altimeter, an inertial/satellite navigation system, an audio/video record, a flight management system, a central alarm system, a weather/terrain radar, a vision front-end device and a near-earth alarm system;
an external system equipment model library 2 is established, and comprises a task management system related model (normal function) which meets the requirements of display control software and task related functions;
an external system equipment model library 3 is established, and other aircraft-borne subsystem models (normal functions) such as an electromechanical management system, an engine electronic control system and the like are included, so that the requirements of display control software and other relevant functions of an aircraft are met; a lower part as shown in fig. 4;
step 5, according to the above external equipment model libraries 1, 2 and 3, establishing fault models of all the above systems, and centrally managing, so as to meet the test boundary of the display control software system and the test execution requirements of fault cases; a lower part as shown in fig. 4;
step 6, developing the dynamic link library (dll) of each subsystem, forming standard interfaces with display control software and an embedded operating system, then classifying or optimally combining, and placing a plurality of plug-ins dll realizing different functions into the same project, so that simulation of a plurality of external devices can be realized at the same time, and the simulation is shown according to the lower part of FIG. 4;
step 7, designing and establishing a distributed simulation and verification data bus (429 or AFDX bus) to be connected with the whole model, wherein an external simulation component related to display control system software can dynamically join or leave a virtual test environment through the bus;
step 8, integrating auxiliary testing tools including coverage rate testing tools (such as testbed software), static analysis tools (such as COBOT library software), debuggers, development tools (such as LabView) and the like, and performing white box testing while performing display control software black box testing in a virtual testing environment, wherein the right part of FIG. 4 is shown;
step 9, designing a software test integrated management module which is a software test integrated management center of the whole virtual test environment and can configure the related test environment of the whole display control system software; the data of each display control software test case execution process is dynamically and visually displayed, and the test cases can be designed, test data are recorded, test results are analyzed, and the test process and the debugging test environment are managed.
And step 10, after the software to be tested runs in the virtual target machine and the external simulation systems run simultaneously, a tester analyzes the design test cases (including normal test cases and abnormal test cases) through requirements, forms test scripts, injects the test scripts into each external simulation system, processes data according to the running function requirements of the display control system software, inputs the data into the display control system software to be tested, outputs the running result into the external simulation system by the display control system software to be tested finally, processes the data, outputs the running result into a data recording and result analyzing module, and confirms the final test result by the tester to give a test conclusion, as shown in fig. 5.
However, the embodiments disclosed in the present invention are merely embodiments for facilitating understanding of the present invention, and are not intended to limit the present invention. Any person skilled in the art can make any modification and variation in form and detail without departing from the spirit and scope of the present disclosure, but the scope of the present disclosure is to be determined by the appended claims.

Claims (6)

1. The method for constructing the configuration item test platform of the display control software is characterized by comprising the following steps of:
s110, establishing an interface of display control software, wherein the interface comprises an internal interface and an external interface of the display control software; the internal interface of the display control software includes: the external interface of the display control software comprises a bus interface and a display control interface of each external simulation subsystem, and the control interface is used for connecting display control hardware configured with a user interface;
s120, establishing a virtual target machine for running display control software according to the internal interface, wherein the virtual target machine and the display control software running on the virtual target machine form a virtual target machine system;
s130, a distributed simulation data bus is established, and the display control software and each external simulation subsystem are connected through the distributed simulation data bus;
s140, an external simulation subsystem for simulating an external environment subsystem is established according to the external interface;
wherein, the S120 includes: establishing control hardware of the virtual target machine according to the control interface, establishing CPU hardware of the virtual target machine according to the CPU programming interface, establishing an embedded operating system of the virtual target machine according to the embedded operating system interface, and establishing BSP board level hardware of the virtual target machine according to the BSP board level interface;
the S140 includes: and respectively establishing a avionics system, a flight control subsystem and a task management subsystem according to the bus interfaces of the external simulation subsystems, establishing a system fault information management subsystem of the external simulation subsystems, and establishing a flight environment subsystem according to the avionics system and the flight control subsystem.
2. The method for building a configuration item test platform of display control software according to claim 1, wherein before the external simulation subsystem is built, the method further comprises:
a first model library is established according to an external environment subsystem to be simulated, the first model library comprises a model of an avionics system and a model of a flight control subsystem, and a model of a flight environment is established according to the model of the avionics system and the model of the flight control subsystem;
establishing a second model library according to an external environment subsystem to be simulated, wherein the second model library comprises a model of a task management subsystem;
and establishing a third model library according to the external environment subsystem to be simulated, wherein the third model library comprises a model of the electromechanical management system and a model of the engine control subsystem.
3. The method for constructing a configuration item test platform of display control software according to claim 2, wherein the establishing an external simulation subsystem for simulating an external environment subsystem according to the external interface comprises:
respectively establishing a avionics system and a flight control subsystem according to the bus interface of each external simulation subsystem and the first model library, and establishing a flight environment subsystem according to the avionics system and the flight control subsystem;
establishing a task management subsystem according to the bus interfaces of the external simulation subsystems and the second model library;
respectively establishing an electromechanical management subsystem and an engine control subsystem according to the bus interfaces of the external simulation subsystems and the third model library;
and establishing a system fault information management subsystem of each external simulation subsystem according to the bus interface of each external simulation subsystem, the first model library, the second model library and the third model library.
4. The method for constructing a configuration item test platform of display control software according to any one of claim 1, wherein the establishing an external simulation subsystem for simulating an external environment subsystem comprises:
establishing a dynamic link library of each external simulation subsystem;
forming standard interfaces of each dynamic link library with display control software and an embedded operating system respectively;
and placing a plurality of dynamic link libraries for realizing different functions in a configuration item test platform of the display control software for forming a plurality of external simulation subsystems.
5. The test platform construction method of display control software according to any one of claims 1 to 4, further comprising:
according to the configuration item test requirements of the display control software, a test case generating tool, a test result analyzing tool, a test management tool and a test data display tool of the display control software are established;
an integrated auxiliary test tool for establishing the display control software is established, and the integrated auxiliary test tool comprises: debugging tools and development tools;
establishing a test comprehensive management module through the test case generating tool, the test result analyzing tool, the test management tool, the test data display tool, the debugging tool and the development tool, wherein each tool in the test comprehensive management module is crosslinked with the virtual target machine system and the external simulation subsystem; the test data display tool is used for displaying test data and pictures in the test process and the test data and pictures after the test is completed through display control hardware.
6. A method for testing configuration items of display control software, characterized in that the method is performed by using the configuration item testing platform of display control software constructed according to any one of claims 1 to 5, and the method for testing configuration items comprises:
according to the test requirement of the display control software, writing a test case set through a tool in the test integrated management module, and generating a test script and a test instruction through the test case set;
injecting the test script and the test instruction into each external simulation subsystem;
each external simulation subsystem processes own excitation data according to the operation function requirement of the display control software and transmits the excitation data to the display control software;
and after the display control software performs configuration item test according to the excitation data received from each external simulation subsystem, outputting test results to the corresponding external simulation subsystem for recording and analysis, and outputting the test results.
CN201911362779.0A 2019-12-25 2019-12-25 Configuration item test platform construction method and test method for display control software Active CN111190820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911362779.0A CN111190820B (en) 2019-12-25 2019-12-25 Configuration item test platform construction method and test method for display control software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911362779.0A CN111190820B (en) 2019-12-25 2019-12-25 Configuration item test platform construction method and test method for display control software

Publications (2)

Publication Number Publication Date
CN111190820A CN111190820A (en) 2020-05-22
CN111190820B true CN111190820B (en) 2023-07-21

Family

ID=70707636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911362779.0A Active CN111190820B (en) 2019-12-25 2019-12-25 Configuration item test platform construction method and test method for display control software

Country Status (1)

Country Link
CN (1) CN111190820B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805848B (en) * 2020-06-11 2024-03-26 中国航发商用航空发动机有限责任公司 Target machine control software integration method and system
CN114281027A (en) * 2020-09-28 2022-04-05 北京科益虹源光电技术有限公司 Integrated test platform of comprehensive control software
CN112416766B (en) * 2020-11-19 2021-06-22 北京京航计算通讯研究所 Fault mode analysis and detection method of double-channel coupling flight control software
CN112558903B (en) * 2020-12-09 2023-07-28 北京仿真中心 Distributed simulation model display control system based on components and interaction method
CN112527648A (en) * 2020-12-15 2021-03-19 西安中朗智控科技有限公司 Testing method and testing device for embedded software system
CN112699031B (en) * 2020-12-29 2023-07-21 中国航空工业集团公司西安飞机设计研究所 Method for testing partition software architecture
CN113448257A (en) * 2021-06-01 2021-09-28 中国航空工业集团公司沈阳飞机设计研究所 Simulation test method and platform for avionics cabin display system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992411A (en) * 2017-11-22 2018-05-04 中国航空工业集团公司西安飞机设计研究所 A kind of method for building task management system software virtual testing environment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354642A (en) * 2016-08-29 2017-01-25 中国航空工业集团公司西安飞机设计研究所 Onboard central maintenance system software testing method and its system
CN107678958A (en) * 2017-09-25 2018-02-09 中国航空工业集团公司西安飞机设计研究所 A kind of method of testing for comprehensive parameters display system software
CN108089976A (en) * 2017-11-22 2018-05-29 中国航空工业集团公司西安飞机设计研究所 A kind of method for building flight management system software virtual testing environment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992411A (en) * 2017-11-22 2018-05-04 中国航空工业集团公司西安飞机设计研究所 A kind of method for building task management system software virtual testing environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
工程装备嵌入式软件测试环境平台技术研究;黎晖;石小华;林柯军;姚雪梅;;计算机测量与控制(第04期);全文 *

Also Published As

Publication number Publication date
CN111190820A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN111190820B (en) Configuration item test platform construction method and test method for display control software
CN111176999B (en) Test platform construction method and test method of unmanned aerial vehicle flight control management software
CN108983756B (en) Avionics flight control system ground comprehensive debugging and verification platform
CN106354642A (en) Onboard central maintenance system software testing method and its system
EP3379436B1 (en) Method and apparatus for testing design of satellite wiring harness and signal processing units
CN108089976A (en) A kind of method for building flight management system software virtual testing environment
KR20140002331A (en) Integration test apparatus for integration testing of avionics system
US20090171643A1 (en) Method to aid the design of a system architecture
CN106446412A (en) Model-based test method for avionics systems
CN107992411A (en) A kind of method for building task management system software virtual testing environment
CN108089975A (en) A kind of method of constructing environment Control System Software virtual testing environment
US20110246975A1 (en) Control architecture and process for porting application software for equipment on board an aircraft to a consumer standard computer hardware unit
US11960385B2 (en) Automatic generation of integrated test procedures using system test procedures
CN106776268B (en) Display control software and hardware system reliability test excitation method based on profile mapping
CN111190821B (en) Test platform construction method and test method of cabin door integrated management software
Abdo et al. A Model-Based Approach for Early and Continuous Validation of Avionics Platforms up to Virtual Products and Hybrid Platforms
Kim Test driven mobile applications development
CN108073157A (en) A kind of method for building Cabin Pressure Control System application software virtual testing environment
CN113448257A (en) Simulation test method and platform for avionics cabin display system
Coe et al. Virtualized in situ software update verification: verification of over-the-air automotive software updates
CN114118790A (en) Security analysis method and system based on SysML civil communication navigation system
Fortney Model based systems engineering using validated executable specifications as an enabler for cost and risk reduction
US8583316B2 (en) Checking of a communication system for an aircraft under development
Allen et al. Simulation and Closed-Loop Testing of Camera, Radar, and Lidar Sensors for Highly Automated Verification and Validation of Data Fusion Systems
CN112699031B (en) Method for testing partition software architecture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant