CN111190821A - Test platform construction method and test method of cabin door comprehensive management software - Google Patents

Test platform construction method and test method of cabin door comprehensive management software Download PDF

Info

Publication number
CN111190821A
CN111190821A CN201911363606.0A CN201911363606A CN111190821A CN 111190821 A CN111190821 A CN 111190821A CN 201911363606 A CN201911363606 A CN 201911363606A CN 111190821 A CN111190821 A CN 111190821A
Authority
CN
China
Prior art keywords
management software
cabin door
subsystem
test
establishing
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.)
Granted
Application number
CN201911363606.0A
Other languages
Chinese (zh)
Other versions
CN111190821B (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.)
Xian Aircraft Design and Research Institute of AVIC
Original Assignee
Xian Aircraft Design and Research Institute of AVIC
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 Xian Aircraft Design and Research Institute of AVIC filed Critical Xian Aircraft Design and Research Institute of AVIC
Priority to CN201911363606.0A priority Critical patent/CN111190821B/en
Publication of CN111190821A publication Critical patent/CN111190821A/en
Application granted granted Critical
Publication of CN111190821B publication Critical patent/CN111190821B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45591Monitoring or debugging support
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the invention discloses a method for constructing a test platform of cabin door comprehensive management software and a test method, wherein the method comprises the following steps: establishing an interface of comprehensive cabin door management software, wherein the interface comprises an internal interface and an external interface of the comprehensive cabin door management software; establishing a virtual target machine for operating cabin door comprehensive management software according to the internal interface; establishing a distributed simulation data bus, and connecting the cabin door comprehensive management software and an 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. The embodiment of the invention establishes the digital simulation environment of the peripheral equipment associated with the comprehensive cabin door management software, and integrates mature testing analysis and management tools, thereby carrying out the comprehensive testing party of white box testing, black box testing and static analysis of the comprehensive cabin door management software on the basis.

Description

Test platform construction method and test method of cabin door comprehensive management software
Technical Field
The present application relates to, but not limited to, the field of electromechanical systems, and in particular, to a method for constructing and testing a test platform of cabin door integrated management software.
Background
The comprehensive avionics system software and hardware design technology is widely applied to various modern military and civil airplanes, and the cabin door comprehensive management software realizes the functions of centralized maintenance and management of all member systems of the airplanes. In the current development mode of the integrated cabin door management software, firstly, software is designed totally or in a summary mode, then, hardware equipment is started to reach a delivery state, software development and testing personnel perform software design development and unit component testing, and software and hardware system integration testing and verification, and as shown in fig. 1, the software development and testing personnel are a testing flow chart of the integrated cabin door management software in the embodiment of the invention, wherein the testing flow chart comprises unit testing, component testing, configuration item testing and system testing of the integrated cabin door management software.
Because the comprehensive management software and hardware of the comprehensive avionics system door have great correlation, the software configuration item test and the system test are seriously dependent on a plurality of airborne products or systems with cross-linked interfaces, so that the following problems mainly exist in the development and verification of embedded software:
a) if the cabin door comprehensive management software configuration item test needs to wait for the development and test of related airborne system hardware equipment to be completed according to the traditional method, the test work of the airborne software can be developed only after available hardware equipment is submitted, and the period of the whole project is prolonged;
b) in the stage of testing the configuration items of the airborne software, due to the limited resources of hardware equipment or the higher cost of the hardware equipment, a software testing project team cannot efficiently perform related testing work;
c) in the early debugging stage of hardware equipment, problems in the aspects of design or prototype production may exist, so that the faults of software or hardware cannot be effectively distinguished when software configuration item testing is carried out, and the software testing efficiency is low;
d) in the testing and verifying stage, based on the real hardware environment, the situations such as processing of a plurality of abnormal conditions (such as fault modes of each member system or equipment) in the software design of the integrated cabin door management system are difficult to fully test and verify through the hardware environment;
e) in the stage of testing and verifying the software of multiple versions simultaneously, because only one set of real hardware environment is provided, the adverse situation that the comprehensive management software of the cabin doors of multiple versions is tested and the testing resources are simultaneously competed in the same hardware testing system is formed;
f) or, the state that only one set of real hardware environment is developing and verifying the comprehensive management software function of one cabin door and the comprehensive management software test of another cabin door cannot be carried out at the same time often occurs, so that the test plan and the software product installation plan are delayed to be carried out on time;
g) or only the real object verification platform in the laboratory is in a state of troubleshooting for the outfield airborne equipment, and the comprehensive cabin door management software test cannot be carried out at the same time, so that the test plan and the software product installation plan are delayed to be carried out on time;
h) further, aiming at the state of the multi-version cabin door comprehensive management software of the field installation machine, the situation that the test system is in fierce competition appears at any time in each stage of development, test, field troubleshooting and internal and external tests.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention provide a method for constructing a test platform of cabin door integrated management software and a test method thereof, which perform a white box test, a black box test and a static analysis of the cabin door integrated management software on the basis of establishing a digital simulation environment of peripheral devices associated with the cabin door integrated management software and integrating mature test analysis and management tools.
The embodiment of the invention provides a method for constructing a test platform of cabin door comprehensive management software, which comprises the following steps:
establishing an interface of comprehensive cabin door management software, wherein the interface comprises an internal interface and an external interface of the comprehensive cabin door management software;
establishing a virtual target machine for operating cabin door comprehensive management software according to the internal interface;
establishing a distributed simulation data bus, and connecting the cabin door comprehensive management software and an 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 platform for configuration item test of integrated management software for doors described above, the internal interface of the integrated management software for doors includes: the system comprises a control interface, an embedded operating system interface, a CPU programming interface and a BSP board level interface, wherein the external interface of the cabin door comprehensive management software comprises bus interfaces of all external simulation subsystems.
Optionally, in the method for constructing a configuration item test platform of integrated cabin door management software as described above, the establishing a virtual target machine for running the integrated cabin door management software according to the internal interface includes:
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 integrated cabin door management software as described above, before the external simulation subsystem is established, the method further includes:
establishing a first model library according to an external environment subsystem to be simulated, wherein the first model library comprises a cabin door state and control subsystem model;
establishing a second model base according to the external environment subsystem to be simulated, wherein the second model base comprises: a model of an electrical subsystem, a model of a hydraulic subsystem, a model of an environmental control subsystem, a model of an undercarriage subsystem, a model of a task management subsystem;
and establishing a third model base according to the external environment subsystem to be simulated, wherein the third model base comprises a model of the distributed simulation data bus system.
Optionally, in the method for constructing a configuration item test platform of integrated management software for hatches as described above, the establishing an external simulation subsystem for simulating external environment equipment according to the external interface includes:
establishing a cabin door state and control subsystem according to the bus interface of each external simulation subsystem and the first model library;
respectively establishing an electric subsystem, a hydraulic subsystem, an environment control subsystem, an undercarriage subsystem and a task management subsystem according to the bus interface of each external simulation subsystem and the second model library;
and establishing a cabin door fault information management subsystem according to the bus interfaces of the external simulation subsystems, 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 integrated cabin door management software as described above, the establishing an external simulation subsystem for simulating an external environment subsystem includes:
establishing a dynamic link library of each external simulation subsystem;
forming a standard interface of each dynamic link library respectively with the cabin door comprehensive management software and the embedded operating system;
and placing a plurality of dynamic link libraries for realizing different functions in a configuration item test platform of the cabin door comprehensive management software for forming a plurality of external simulation subsystems.
Optionally, in the method for constructing a configuration item test platform of integrated management software for hatches, the method further includes:
according to the test requirements of the configuration items of the comprehensive cabin door management software, a comprehensive test management tool of the comprehensive cabin door management software is established, and the comprehensive test management tool comprises: a test case generation tool and a test management tool;
establishing an integrated auxiliary test analysis tool of the integrated cabin door management software, wherein the integrated auxiliary test analysis tool comprises: a coverage test tool, a static analysis tool, a test result analysis tool, a debugger, and a development tool.
The embodiment of the invention also provides a method for testing the configuration item of the comprehensive cabin door management software, which is implemented by adopting the configuration item testing platform of the comprehensive cabin door management software constructed by any one of the above methods, and comprises the following steps:
compiling a test case set through a comprehensive test management tool according to the test requirement of the cabin door comprehensive management software, wherein the test case set comprises a software test script and a test instruction sequence set;
injecting the test instruction sequence set into each external simulation subsystem;
each external simulation subsystem processes the excitation data thereof according to the operation function requirement of the cabin door comprehensive management software and then transmits the processed excitation data to the cabin door comprehensive management software;
and after the cabin door comprehensive management software performs configuration item test according to the excitation data received from each external simulation subsystem, the cabin door comprehensive management software outputs the test result to the corresponding external simulation subsystem for recording and analyzing, and then outputs the test result.
The embodiment of the invention provides a test platform construction method and a test method of cabin door comprehensive management software, and provides a virtual test environment which comprises a virtual target machine system, a peripheral equipment normal function model library system, a peripheral equipment fault mode model library system, a distributed bus simulation network, a test case injection, analysis and management system and the like, and provides a high-efficiency white box test/black box test and static analysis/dynamic test virtual test environment for the cabin door comprehensive management software. Has the following advantages:
a) the virtual test environment for complex function airborne software is provided for the first time, and the requirement of the cabin door comprehensive management software for completing the test of configuration items is met (time, money and 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, white box test/black box test methods of the comprehensive cabin door management software;
c) the normal function model library of the peripheral equipment of the whole system and the fault model library are established in the virtual test environment, so that the execution test requirements of all normal, boundary and abnormal test cases in the test process of the cabin door comprehensive management software configuration item are met;
d) because the normal function model base of the peripheral equipment of the whole system is established and the fault model base is established, the test requirements of the flight management airborne software of other special airplane models can be met by effectively cutting, optimizing or expanding according to the configurations of other various airplane electromechanical systems.
e) On the virtual test system, a plurality of new or upgraded cabin door comprehensive management software of various types of subsequent military and civil aircrafts can be tested, and the fund, 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 embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a flowchart illustrating a test of integrated management software for doors according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a system-level interface relationship for integrated management of a cabin door of an airplane;
FIG. 3 is a schematic diagram of the door complex management software and the external interface of the system;
fig. 4 is a flowchart of a method for constructing a test platform of cabin door integrated management software according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating the connection relationship between the integrated cabin door management software and the virtual test environment according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of the internal and external interfaces of the integrated cabin door management software according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a virtual test environment interface and composition relationship of cabin door integrated management software according to an embodiment of the present invention;
FIG. 8 is a schematic configuration of a virtual test environment test execution of the integrated cabin door management software according to an embodiment of the present invention;
fig. 9 is a schematic view of the laboratory construction of the virtual test environment of the integrated management software for doors in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
In the embodiment of the invention, the software functions of the comprehensive cabin door management system comprise the following contents:
a) the functions of controlling subsystems of all the cabin doors and the like are completed;
b) the functions of monitoring the state of each cabin door subsystem and the like are completed;
c) the functions of fault warning display and the like of each cabin door subsystem are completed;
the member system for the software management of the cabin door integrated management system consists of the following major subsystems:
a) a cabin door state and control management subsystem;
b) an environmental control, landing gear, hydraulic, electrical, task management subsystem associated with the door;
c) a cabin door bus communication management subsystem;
d) a hatch maintenance management subsystem.
Fig. 2 is a schematic diagram of a system-level interface relationship of integrated management of a certain airplane door, and fig. 3 is a schematic diagram of an external interface of integrated management software and system of the door.
The following specific embodiments of the present invention may be combined, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 4 is a flowchart of a method for constructing a test platform of integrated cabin door management software according to an embodiment of the present invention. The method for constructing the test platform of the integrated cabin door management software provided by the embodiment can comprise the following steps of:
s110, establishing an interface of the comprehensive cabin door management software, wherein the interface comprises an internal interface and an external interface of the comprehensive cabin door management software;
s120, establishing a virtual target machine for operating the cabin door comprehensive management software according to the internal interface;
s130, establishing a distributed simulation data bus, and connecting the cabin door comprehensive management software and an external simulation subsystem through the distributed simulation data bus;
and S140, establishing an external simulation subsystem for simulating the external environment subsystem according to the external interface.
Fig. 5 is a schematic diagram illustrating a connection relationship between the integrated cabin door management software and the virtual test environment according to an embodiment of the present invention. The internal interface of the integrated cabin door management software in the embodiment of the invention comprises: the control interface, the embedded operating system interface, the CPU programming interface and the BSP board level interface, and the external interface of the cabin door comprehensive management software comprises the bus interface of each external simulation subsystem. Fig. 6 is a schematic diagram of the internal interface and the external interface of the integrated cabin door management software according to an embodiment of the present invention.
The implementation manner of S120 in the embodiment of the present invention is: the method comprises the steps of establishing control hardware of a 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.
In the embodiment of the present invention, before the establishing the external simulation subsystem, the method may further include:
establishing a first model library according to an external environment subsystem to be simulated, wherein the first model library comprises a cabin door state and control subsystem model;
establishing a second model base according to the external environment subsystem to be simulated, wherein the second model base comprises: a model of an electrical subsystem, a model of a hydraulic subsystem, a model of an environmental control subsystem, a model of an undercarriage subsystem, a model of a task management subsystem;
and establishing a third model base according to the external environment subsystem to be simulated, wherein the third model base comprises a model of the distributed simulation data bus system.
Accordingly, in the embodiment of the present invention, an implementation manner of establishing an external emulation subsystem for emulating an external environment device according to an external interface may include:
establishing a cabin door state and control subsystem according to a bus interface of each external simulation subsystem and a first model library;
respectively establishing an electric subsystem, a hydraulic subsystem, an environment control subsystem, an undercarriage subsystem and a task management subsystem according to a bus interface and a second model library of each external simulation subsystem;
and establishing a cabin door fault information management 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. 7 is a schematic diagram of a virtual test environment interface and a composition relationship of the integrated management software for doors according to an embodiment of the present invention. The figures illustrate the subsystems built from the above-described model library.
Optionally, an implementation manner of S140 in the embodiment of the present invention may include:
establishing a dynamic link library of each external simulation subsystem;
forming a standard interface of each dynamic link library respectively with the cabin door comprehensive management software and the embedded operating system;
and placing a plurality of dynamic link libraries for realizing different functions in a configuration item test platform of the cabin door comprehensive management software for forming a plurality of external simulation subsystems.
Optionally, the method provided in the embodiment of the present invention may further include:
according to the test requirement of the configuration item of the comprehensive management software of the cabin door, a comprehensive test management tool of the comprehensive management software of the cabin door is established, and the comprehensive test management tool comprises: a test case generation tool and a test management tool;
establishing an integrated auxiliary test analysis tool of the comprehensive cabin door management software, wherein the integrated auxiliary test analysis tool comprises: a coverage test tool, a static analysis tool, a test result analysis tool, a debugger, and a development tool. Fig. 7 illustrates a comprehensive test management tool and tools for test analysis, debugging assistance, and the like.
The embodiment of the invention provides a method for constructing a test platform of integrated management software of a cabin door, and also provides a method for testing configuration items of the integrated management software of the cabin door, wherein the method for testing the configuration items can be executed by adopting the test platform of the configuration items of the integrated management software of the cabin door constructed in the embodiment, and the method for testing the configuration items comprises the following steps:
step 1, compiling a test case set through a comprehensive test management tool according to the test requirements of cabin door comprehensive management software, wherein the test case set comprises a software test script and a test instruction sequence set;
step 2, injecting a test instruction sequence set into each external simulation subsystem;
step 3, each external simulation subsystem processes the excitation data thereof according to the operation function requirement of the cabin door comprehensive management software and then transmits the processed excitation data to the cabin door comprehensive management software;
and 4, after the comprehensive cabin door management software performs configuration item testing according to the excitation data received from each external simulation subsystem, outputting the testing result to the corresponding external simulation subsystem for recording and analyzing, and outputting the testing result.
Fig. 8 is a schematic configuration of a virtual test environment test execution of integrated management software for doors in an embodiment of the present invention, and fig. 8 illustrates a process of the test. Fig. 9 is a schematic view of the laboratory construction of the virtual test environment of the integrated management software for doors in the embodiment of the present invention.
The embodiment of the invention provides a method for constructing a full-digital virtual test environment associated with cabin door comprehensive management software for the first time, and the full-digital virtual test environment comprises a virtual target machine, a member system simulator, a fault injection and management simulator, test case management equipment, analysis equipment and the like.
a) In a virtual test environment or system, the onboard software configuration item test of the cabin door comprehensive management system can be independently and fully completed without being influenced by the real operating environment of the cabin door management system;
b) testers do not need to rely on real cabin door comprehensive management software on-board computer equipment (target machines), real on-board member system equipment and environment excitation equipment;
c) by adopting the virtual test environment or system, normal functions, abnormal and fault mode functions required by all member systems related to the cabin door comprehensive management system can be covered, the test result has certainty, the selected test principle is reasonable, and the situation that the test result cannot be judged can not occur;
d) the digitalized or virtual test environment or system constructed by the method can fully test or verify the correctness and the integrity of the function design of the comprehensive cabin door management software.
The following describes a method for constructing a test platform and a method for testing cabin door integrated management software according to an embodiment of the present invention in detail by using a specific implementation example.
Step 1, designing and defining comprehensive electromechanical system network configuration related to cabin door comprehensive management software and cabin door comprehensive management software, and connecting the comprehensive electromechanical system network configuration with hardwires and RS422, 429 and 1553B buses, wherein a ring control subsystem comprises four parts, and a first part of the subsystem comprises a cabin door state and control management system; the second part of the subsystem comprises an environmental control subsystem, a landing gear subsystem, a hydraulic subsystem, an electric subsystem and a task management subsystem; the third part of the subsystem comprises a bus communication management subsystem; the subsystem fourth section contains the door maintenance management subsystem, as shown in figures 1 to 3 and 5;
step 2, designing and defining an interface related to the comprehensive cabin door management software: comprises a calculation data interface, a control interface, an operating system interface, a CPU programming interface, a BSP board interface and a subsystem bus interface, as shown in FIG. 6;
step 3, constructing a virtual target machine associated with the cabin door comprehensive management software, developing simulation functions of a CPU instruction, a commonly-used BSP board-level chip, I/O, interruption, a clock and the like, and finally realizing the function of an embedded CPU on the virtual target machine, as shown in FIG. 6;
step 4, adopting an Ethernet analog distributed simulation data bus, adopting a TCP/IP protocol as a network protocol, designing and establishing a distributed simulation data bus (RS422, 429 or 1553B) to connect the whole model, and dynamically adding or withdrawing a peripheral simulation component related to the cabin door comprehensive management software into or from a virtual test environment according to test requirements through the bus;
step 5, according to the real subsystem, establishing a peripheral equipment model library 1, wherein the model library comprises a cabin door state and a model of a control management system (normal functions related to the cabin door), and a simulation tool is adopted to realize the simulation control of all states of each cabin door of the airplane and meet the management requirements of comprehensive cabin door management software and the positions, control switch states, relay states, cabin door indication states and related functions of each cabin door of the airplane; as in the lower part of fig. 7;
step 6, establishing a peripheral equipment model library 2, wherein the model library comprises relevant models (normal functions related to the cabin door) of the environmental control subsystem, the landing gear subsystem, the hydraulic subsystem, the electric subsystem and the task management subsystem, and meets the management requirements of the comprehensive management software of the cabin door on the aspect of cabin door signal processing and the relevant functions of the subsystems, and the lower part is shown in fig. 7;
step 7, establishing a peripheral equipment model library 3, wherein the model library comprises a bus communication management subsystem related model, and meets the management requirements of cabin door integrated management software on cabin door information communication with avionic and electromechanical subsystems through 1553B, 429 and AFDX buses, and the lower part is shown in fig. 7;
step 8, according to the peripheral equipment model libraries 1, 2 and 3, a cabin door maintenance management subsystem is established to manage all the system fault models related to the cabin door, and the test boundary and fault case test execution requirements of the cabin door comprehensive management software system are met, as shown in the lower part of the figure 7;
step 9, developing the dynamic link libraries (dlls) of the subsystems, forming standard interfaces with the cabin door integrated management software and the embedded operating system, then classifying or optimally combining, placing a plurality of plug-in dlls realizing different functions into the same project, and realizing the simulation of a plurality of peripheral devices at the same time, wherein the lower part is shown in fig. 7;
step 10, designing a software testing integrated management tool, which is a software testing integrated management center of the whole virtual testing environment and can be configured with a related testing system of the whole cabin door integrated management software; dynamically and visually displaying the data of the injection and execution processes of the test cases of the comprehensive management software of each cabin door, managing, selectively recording and storing the data of each test case; as shown in the right part of fig. 7;
step 11, comprehensively integrating auxiliary testing tools, including a coverage testing tool (testbed software), a static analysis tool (COBOT library software), a debugger, a development tool (LabView), and the like, and performing a test process such as a white box test, a static analysis, a software quality measurement, and the like while performing a black box test on the hatch management software in the virtual testing environment, as shown in the right part of fig. 7;
step 12, as shown in fig. 8, after the system environment of the target machine (including the cabin door management software to be tested) and the external system and the test environment operate simultaneously, the tester starts to compile a test case according to the test requirement document of the cabin door management software to be tested, forms a software test script and compiles a test instruction sequence set, the tester injects the test instruction sequence set into the external environment simulation subsystem, then the external simulation subsystem performs data processing according to the operation function requirement of the cabin door management software and inputs the data to the cabin door management software to be tested, finally, the cabin door management software to be tested outputs the operation result into the external environment simulation subsystem, the operation result is output into the test recording and analysis software module after the data processing, and the tester confirms the final test result and gives a test conclusion.
And step 13, constructing a cabin door integrated management software testing system application platform and building a laboratory on the basis, as shown in fig. 9.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A method for constructing a configuration item test platform of cabin door integrated management software is characterized by comprising the following steps:
establishing an interface of comprehensive cabin door management software, wherein the interface comprises an internal interface and an external interface of the comprehensive cabin door management software;
establishing a virtual target machine for operating cabin door comprehensive management software according to the internal interface;
establishing a distributed simulation data bus, and connecting the cabin door comprehensive management software and an 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.
2. The method for constructing a configuration item test platform for integrated management software for doors according to claim 1, wherein the internal interface of the integrated management software for doors comprises: the system comprises a control interface, an embedded operating system interface, a CPU programming interface and a BSP board level interface, wherein the external interface of the cabin door comprehensive management software comprises bus interfaces of all external simulation subsystems.
3. The method for constructing a configuration item test platform for integrated management software for doors according to claim 2, wherein said establishing a virtual target machine for operating integrated management software for doors according to said internal interface comprises:
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.
4. The method for building a configuration item test platform for integrated management software for doors of claim 2, wherein prior to establishing the external simulation subsystem, the method further comprises:
establishing a first model library according to an external environment subsystem to be simulated, wherein the first model library comprises a cabin door state and control subsystem model;
establishing a second model base according to the external environment subsystem to be simulated, wherein the second model base comprises: a model of an electrical subsystem, a model of a hydraulic subsystem, a model of an environmental control subsystem, a model of an undercarriage subsystem, a model of a task management subsystem;
and establishing a third model base according to the external environment subsystem to be simulated, wherein the third model base comprises a model of the distributed simulation data bus system.
5. The method for constructing a configuration item test platform for integrated management software for doors according to claim 4, wherein said establishing an external simulation subsystem for simulating external environmental devices according to said external interface comprises:
establishing a cabin door state and control subsystem according to the bus interface of each external simulation subsystem and the first model library;
respectively establishing an electric subsystem, a hydraulic subsystem, an environment control subsystem, an undercarriage subsystem and a task management subsystem according to the bus interface of each external simulation subsystem and the second model library;
and establishing a cabin door fault information management subsystem according to the bus interfaces of the external simulation subsystems, the first model library, the second model library and the third model library.
6. The method for constructing a test platform for configuration items of integrated management software for doors according to claim 2, wherein said establishing an external simulation subsystem for simulating an external environment subsystem comprises:
establishing a dynamic link library of each external simulation subsystem;
forming a standard interface of each dynamic link library respectively with the cabin door comprehensive management software and the embedded operating system;
and placing a plurality of dynamic link libraries for realizing different functions in a configuration item test platform of the cabin door comprehensive management software for forming a plurality of external simulation subsystems.
7. The method for constructing the test platform of the integrated cabin door management software according to any one of claims 1 to 6, further comprising:
according to the test requirements of the configuration items of the comprehensive cabin door management software, a comprehensive test management tool of the comprehensive cabin door management software is established, and the comprehensive test management tool comprises: a test case generation tool and a test management tool;
establishing an integrated auxiliary test analysis tool of the integrated cabin door management software, wherein the integrated auxiliary test analysis tool comprises: a coverage test tool, a static analysis tool, a test result analysis tool, a debugger, and a development tool.
8. A method for testing configuration items of integrated management software for doors, which is performed by using a platform for testing configuration items of integrated management software for doors constructed according to any one of claims 1 to 7, the method for testing configuration items comprising:
compiling a test case set through a comprehensive test management tool according to the test requirement of the cabin door comprehensive management software, wherein the test case set comprises a software test script and a test instruction sequence set;
injecting the test instruction sequence set into each external simulation subsystem;
each external simulation subsystem processes the excitation data thereof according to the operation function requirement of the cabin door comprehensive management software and then transmits the processed excitation data to the cabin door comprehensive management software;
and after the cabin door comprehensive management software performs configuration item test according to the excitation data received from each external simulation subsystem, the cabin door comprehensive management software outputs the test result to the corresponding external simulation subsystem for recording and analyzing, and then outputs the test result.
CN201911363606.0A 2019-12-25 2019-12-25 Test platform construction method and test method of cabin door integrated management software Active CN111190821B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911363606.0A CN111190821B (en) 2019-12-25 2019-12-25 Test platform construction method and test method of cabin door integrated management software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911363606.0A CN111190821B (en) 2019-12-25 2019-12-25 Test platform construction method and test method of cabin door integrated management software

Publications (2)

Publication Number Publication Date
CN111190821A true CN111190821A (en) 2020-05-22
CN111190821B CN111190821B (en) 2023-07-21

Family

ID=70707999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911363606.0A Active CN111190821B (en) 2019-12-25 2019-12-25 Test platform construction method and test method of cabin door integrated management software

Country Status (1)

Country Link
CN (1) CN111190821B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114516427A (en) * 2022-02-08 2022-05-20 上海斯化露航空科技发展有限公司 Simulation system and method for design detection of airplane cabin door

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141962A (en) * 2011-04-07 2011-08-03 北京航空航天大学 Safety distributed test framework system and test method thereof
CN106354642A (en) * 2016-08-29 2017-01-25 中国航空工业集团公司西安飞机设计研究所 Onboard central maintenance system software testing method and its system
CN108073157A (en) * 2017-11-22 2018-05-25 中国航空工业集团公司西安飞机设计研究所 A kind of method for building Cabin Pressure Control System application software virtual testing environment
CN108089976A (en) * 2017-11-22 2018-05-29 中国航空工业集团公司西安飞机设计研究所 A kind of method for building flight management system software virtual testing environment
CN108089975A (en) * 2017-11-22 2018-05-29 中国航空工业集团公司西安飞机设计研究所 A kind of method of constructing environment Control System Software virtual testing environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141962A (en) * 2011-04-07 2011-08-03 北京航空航天大学 Safety distributed test framework system and test method thereof
CN106354642A (en) * 2016-08-29 2017-01-25 中国航空工业集团公司西安飞机设计研究所 Onboard central maintenance system software testing method and its system
CN108073157A (en) * 2017-11-22 2018-05-25 中国航空工业集团公司西安飞机设计研究所 A kind of method for building Cabin Pressure Control System application software virtual testing environment
CN108089976A (en) * 2017-11-22 2018-05-29 中国航空工业集团公司西安飞机设计研究所 A kind of method for building flight management system software virtual testing environment
CN108089975A (en) * 2017-11-22 2018-05-29 中国航空工业集团公司西安飞机设计研究所 A kind of method of constructing environment Control System Software virtual testing environment

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
李昌;邓矢斧;冯雷;张驰;马可锌;: "基于全数字的航空机载软件验证平台研究", 计算机测量与控制, no. 06 *
林晓欲等: "弹载软件系统测试平台设计方案", 《科学技术与工程》 *
林晓欲等: "弹载软件系统测试平台设计方案", 《科学技术与工程》, no. 04, 15 February 2009 (2009-02-15) *
陈福等: "飞机机电综合管理平台应用任务调度方法研究", 《计算机测量与控制》 *
陈福等: "飞机机电综合管理平台应用任务调度方法研究", 《计算机测量与控制》, no. 03, 25 March 2016 (2016-03-25) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114516427A (en) * 2022-02-08 2022-05-20 上海斯化露航空科技发展有限公司 Simulation system and method for design detection of airplane cabin door

Also Published As

Publication number Publication date
CN111190821B (en) 2023-07-21

Similar Documents

Publication Publication Date Title
CN111176999B (en) Test platform construction method and test method of unmanned aerial vehicle flight control management software
CN111190820B (en) Configuration item test platform construction method and test method for display control software
CN108983756B (en) Avionics flight control system ground comprehensive debugging and verification platform
CN106598032B (en) A kind of test macro of automatic flight control system
Akerlund et al. ISAAC, a framework for integrated safety analysis of functional, geometrical and human aspects
CN106354642A (en) Onboard central maintenance system software testing method and its system
CN108089976A (en) A kind of method for building flight management system software virtual testing environment
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
Zhao et al. Safety assessment of the reconfigurable integrated modular avionics based on STPA
US20110246975A1 (en) Control architecture and process for porting application software for equipment on board an aircraft to a consumer standard computer hardware unit
CN111190821B (en) Test platform construction method and test method of cabin door integrated management software
CN112699036B (en) Multi-partition multi-version airborne application software test case multiplexing method
KR101976542B1 (en) Method and system for controlling simulation via avionics simulation model
US11960385B2 (en) Automatic generation of integrated test procedures using system test procedures
CN108073157A (en) A kind of method for building Cabin Pressure Control System application software virtual testing environment
Himmler From virtual testing to hil testing-towards seamless testing
Wang et al. Reliability modeling and verification method for dynamic reconfiguration system
CN113448257A (en) Simulation test method and platform for avionics cabin display system
Song The Test and Launch Control Technology for Launch Vehicles
CN112699033B (en) Multi-partition airborne software test case multistage synchronous loading method
Zerbe et al. Model-based evaluation of avionics maintenance and logistics processes
CN210592488U (en) Test equipment
Lansdaal et al. Boeing's 777 systems integration lab
Johnson et al. Continuous Testing and Deployment for Urban Air Mobility

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