CN111190821B - Test platform construction method and test method of cabin door integrated management software - Google Patents

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

Info

Publication number
CN111190821B
CN111190821B CN201911363606.0A CN201911363606A CN111190821B CN 111190821 B CN111190821 B CN 111190821B CN 201911363606 A CN201911363606 A CN 201911363606A CN 111190821 B CN111190821 B CN 111190821B
Authority
CN
China
Prior art keywords
cabin door
subsystem
test
management software
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.)
Active
Application number
CN201911363606.0A
Other languages
Chinese (zh)
Other versions
CN111190821A (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 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

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a test platform construction method and a test method of cabin door integrated management software, comprising the following steps: establishing an interface of cabin door integrated management software, wherein the interface comprises an internal interface and an external interface of the cabin door integrated management software; establishing a virtual target machine for running cabin door integrated management software according to the internal interface; establishing a distributed simulation data bus, and connecting the cabin door integrated 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. According to the embodiment of the invention, through establishing a peripheral equipment digital simulation environment related to the cabin door integrated management software and integrating mature test analysis and management tools, the comprehensive testing party of white box test, black box test and static analysis of the cabin door integrated management software is carried out on the basis.

Description

Test platform construction method and test method of cabin door integrated management software
Technical Field
The application relates to the technical field of electromechanical systems, in particular to a test platform construction method and a test method of cabin door integrated management software.
Background
The comprehensive design technology of the software and hardware of the integrated avionics system is widely applied to modern civil and military aircraft of various types, and the cabin door integrated management software realizes the functions of centralized maintenance and management of each member system of the aircraft. At present, the development mode of the cabin door integrated management software is that firstly, the software overall or outline design is carried out, after the hardware equipment is restarted to reach the delivery state, the software development and the test personnel carry out the design development of the software and the test of unit components, and the integrated test and verification of the software and hardware system, as shown in fig. 1, the development mode is a test flow chart of the cabin door integrated management software in the embodiment of the invention, wherein the test flow chart comprises the unit test, the component test, the configuration item test and the system test of the cabin door integrated management software.
Because comprehensive avionics system cabin door comprehensive management software and hardware have great correlation, software configuration item test and 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 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, the situations such as processing of many abnormal situations (such as failure modes of each member system or equipment) in the cabin door integrated management system software design are difficult to fully test and verify 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 unfavorable scene for testing the comprehensive management software of the multi-version cabin door is formed, and the resources are simultaneously tested in the same set of hardware test system;
f) Or, the state that only one set of real hardware environment is researching and verifying the function of the comprehensive management software of one version of cabin door and the test of the comprehensive management software of the other version of cabin door cannot be simultaneously carried out often occurs, so that the test plan and the installation plan of the software product 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 the cabin door comprehensive management software test cannot be simultaneously carried out, so that the test plan and the software product installation plan are delayed to be carried out on time;
h) Further, for the comprehensive management software state of the multi-version cabin door 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 test platform construction method and a test method of cabin door integrated management software.
The embodiment of the invention provides a test platform construction method of cabin door integrated management software, which comprises the following steps:
establishing an interface of cabin door integrated management software, wherein the interface comprises an internal interface and an external interface of the cabin door integrated management software;
establishing a virtual target machine for running cabin door integrated management software according to the internal interface;
establishing a distributed simulation data bus, and connecting the cabin door integrated 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 the configuration item test platform of the comprehensive cabin door management software, an internal interface of the comprehensive cabin door management software 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 integrated management software comprises a bus interface of each external simulation subsystem.
Optionally, in the method for constructing a configuration item test platform of comprehensive cabin door management software, the establishing a virtual target machine for running the comprehensive cabin door management 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 the cabin door integrated management software, before the external simulation subsystem is built, 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 a model of a 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 an electrical subsystem, a model of a hydraulic subsystem, a model of an environmental control subsystem, a model of a landing gear system, 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 models of the distributed simulation data bus system.
Optionally, in the method for constructing a configuration item test platform of the cabin door integrated management software, the building an external simulation subsystem for simulating external environment equipment according to the external interface includes:
establishing a cabin door state and a control subsystem according to the bus interfaces of the external simulation subsystems and the first model library;
respectively establishing an electric subsystem, a hydraulic subsystem, an environment control subsystem, a lifting frame system and a task management subsystem according to the bus interfaces of the external simulation subsystems 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 the cabin door integrated management 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 cabin door integrated management 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 cabin door integrated management software for forming a plurality of external simulation subsystems.
Optionally, in the method for constructing the configuration item test platform of the cabin door integrated management software, the method further includes:
according to the configuration item test requirement of the cabin door integrated management software, establishing an integrated test management tool of the cabin door integrated management software, wherein the integrated test management tool comprises: a test case generation tool and a test management tool;
establishing an integrated auxiliary test analysis tool of the cabin door comprehensive management software, wherein the integrated auxiliary test analysis tool comprises: coverage rate test tools, static analysis tools, test result analysis tools, debuggers, and development tools.
The embodiment of the invention also provides a configuration item test method of the cabin door integrated management software, which is executed by adopting the configuration item test platform of the cabin door integrated management software constructed according to any one of the above steps, and comprises the following steps:
according to the test requirement of the cabin door comprehensive management software, writing a test case set through a comprehensive test management tool, 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 own excitation data according to the operation function requirement of the cabin door integrated management software and transmits the excitation data to the cabin door integrated management software;
and the cabin door comprehensive management software performs configuration item test according to the excitation data received from each external simulation subsystem, outputs test results to the corresponding external simulation subsystem for recording and analysis, and outputs the test results.
The embodiment of the invention provides a test platform construction method and a test method of cabin door integrated 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 virtual test environment of efficient white box test/black box test and static analysis/dynamic test for the cabin door integrated management 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 requirements of the cabin door comprehensive management software for completing configuration item test (saving time and money and personnel and flexibly arranging test plans) are met;
b) The virtual test environment comprises various test analysis and management tools, and can meet the static analysis/dynamic test and white box test/black box test methods of the cabin door comprehensive management software;
c) The method has the advantages that a normal function model library of peripheral equipment of a whole system is built on a virtual test environment, a fault model library is built, and execution test requirements of all normal, boundary and abnormal test cases in the cabin door comprehensive management software configuration item test process are met;
d) Because the normal function model library of the peripheral equipment of the whole system is built, and the fault model library is built, the system is effectively cut, optimized or expanded according to the electromechanical system configuration of other various airplanes in the future, and the test requirement of the flight management airborne software of other special airplane types can be met.
e) On the virtual test system, the comprehensive management software of a plurality of new or updated cabin doors of various series of subsequent civil and military aircrafts 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 test flow chart of the cabin door integrated management software in the embodiment of the invention;
FIG. 2 is a schematic diagram of a system level interface relationship for integrated management of a door of an aircraft of a certain type;
FIG. 3 is a schematic diagram of the door integrated management software and external interfaces of the system;
fig. 4 is a flowchart of a test platform construction method of cabin door integrated management software provided by an embodiment of the invention;
FIG. 5 is a schematic diagram of a connection relationship between integrated management software for a cabin door and a virtual test environment according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an internal interface and an external interface of a cabin door integrated management software according to an embodiment of the present invention;
fig. 7 is a schematic diagram of virtual test environment interfaces and composition relationships of cabin door integrated management software according to an embodiment of the present invention;
fig. 8 is a configuration of a virtual test environment test execution principle of the cabin door integrated management software according to an embodiment of the present invention;
fig. 9 is a schematic diagram of laboratory construction of a cabin door integrated management software virtual test environment 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.
In the embodiment of the invention, the cabin door integrated management system software functions comprise the following contents:
a) The functions of subsystem control of each cabin door 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 alarm display and the like of each cabin door subsystem are completed;
the member system managed by the cabin door integrated management system software consists of the following large-class systems:
a) Cabin door state and control management subsystem;
b) Environmental control, landing gear, hydraulic, electrical, task management subsystems associated with the hatch;
c) A cabin door bus communication management subsystem;
d) And the cabin door maintenance management subsystem.
Fig. 2 is a schematic diagram of a system level interface relationship for integrated management of a door of an aircraft of a certain type, and fig. 3 is a schematic diagram of external interfaces of door integrated management software and a system.
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. 4 is a flowchart of a test platform construction method of cabin door integrated management software provided by an embodiment of the invention. The test platform construction method of the cabin door integrated management software provided by the embodiment can comprise the following steps:
s110, establishing interfaces of cabin door integrated management software, wherein the interfaces comprise an internal interface and an external interface of the cabin door integrated management software;
s120, establishing a virtual target machine for running cabin door integrated management software according to the internal interface;
s130, establishing a distributed simulation data bus, and connecting cabin door integrated 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 of a connection relationship between integrated management software for a cabin door and a virtual test environment according to an embodiment of the present invention. The internal interface of the cabin door integrated management software in the embodiment of the invention comprises: the external interfaces of the cabin door integrated management software comprise bus interfaces of all external simulation subsystems. Fig. 6 is a schematic diagram of an internal interface and an external interface of the cabin door integrated management 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:
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 a model of a control subsystem;
establishing a second model library according to the external environment subsystem to be simulated, wherein the second model library comprises: a model of an electrical subsystem, a model of a hydraulic subsystem, a model of an environmental control subsystem, a model of a landing gear system, 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 models of the distributed simulation data bus system.
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:
establishing a cabin door state and a control subsystem according to the bus interfaces of the external simulation subsystems and the first model library;
respectively establishing an electric subsystem, a hydraulic subsystem, an environment control subsystem, a lifting frame system and a task management subsystem according to the bus interface of each external simulation subsystem and the second model library;
and building 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 virtual test environment interfaces and composition relationships of cabin door integrated management 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:
establishing a dynamic link library of each external simulation subsystem;
forming standard interfaces of each dynamic link library with cabin door integrated management 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 cabin door integrated management software for forming a plurality of external simulation subsystems.
Optionally, the method provided by the embodiment of the invention further may include:
according to the configuration item test requirement of the cabin door integrated management software, an integrated test management tool of the cabin door integrated management software is established, and the integrated test management tool comprises: a test case generation tool and a test management tool;
an integrated auxiliary test analysis tool for establishing cabin door comprehensive management software is established, and comprises: coverage rate test tools, static analysis tools, test result analysis tools, debuggers, and development tools. The integrated test management tool and tools for test analysis, debug assistance, etc. are illustrated in fig. 7.
Based on the method for constructing the test platform of the cabin door integrated management software provided by the embodiment of the invention, the embodiment of the invention also provides a method for testing the configuration items of the cabin door integrated management software, the method for testing the configuration items can be executed by adopting the test platform for testing the configuration items of the cabin door integrated management software constructed in the embodiment, and the method for testing the configuration items comprises the following steps:
step 1, according to the test requirement of cabin door comprehensive management software, writing a test case set through a comprehensive test management tool, wherein the test case set comprises a software test script and a test instruction sequence set;
step 2, a test instruction sequence set is injected into each external simulation subsystem;
step 3, each external simulation subsystem processes own excitation data according to the running function requirement of the cabin door integrated management software and then transmits the processed excitation data to the cabin door integrated management software;
and 4, after carrying out configuration item test according to the excitation data received from each external simulation subsystem, the cabin door comprehensive management software outputs test results to the corresponding external simulation subsystem for recording and analyzing, and then outputs the test results.
Fig. 8 is a configuration of a virtual test environment test execution principle of the cabin door integrated management software according to an embodiment of the present invention, and fig. 8 illustrates a process of the test. Fig. 9 is a schematic diagram of laboratory construction of a cabin door integrated management software virtual test environment in an embodiment of the invention.
The embodiment of the invention provides a method for constructing a full-digital virtual test environment associated with cabin door integrated management software for the first time, which consists of a virtual target machine, a member system simulator, a fault injection and management simulator, test case management and analysis equipment and the like.
a) In the virtual test environment or system, the test of the configuration items of the cabin door integrated management system on-board software can be independently and fully completed, and the configuration items are not influenced by the real running environment of the cabin door management system;
b) The tester does not need to rely on real cabin door comprehensive management software on-board computer equipment (target machine) and real on-board member system equipment and environment excitation equipment;
c) By adopting the virtual test environment or the virtual test system, the normal functions, the abnormal functions and the fault mode functions required by all member systems related to the cabin door integrated management 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 function design of the cabin door comprehensive management software.
The method for constructing the test platform and the method for testing the cabin door integrated management software provided by the embodiment of the invention are described in detail below through a specific implementation example.
Step 1, designing and defining comprehensive electromechanical system network configuration of cabin door comprehensive management software and cabin door comprehensive management software, wherein the comprehensive electromechanical system network configuration is connected with a hard wire and buses of RS422, 429 and 1553B, and a ring control subsystem comprises four parts, namely a first part of subsystem is used for covering cabin door states and a 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 fourth part of the subsystem comprises a cabin door maintenance management subsystem, as shown in fig. 1 to 3 and 5;
step 2, designing and defining interfaces associated with cabin door integrated management software: the system comprises a computing data class interface, a control class interface, an operating system interface, a CPU programming class interface, a BSP board level interface and a subsystem bus interface, as shown in FIG. 6;
step 3, constructing a virtual target machine associated with cabin door integrated management software, developing simulation functions of CPU instructions, common BSP board level chips, I/O, interrupt, clocks and the like, and finally realizing the functions of an embedded CPU on the virtual target machine, as shown in FIG. 6;
step 4, adopting Ethernet to simulate a distributed simulation data bus, adopting a TCP/IP protocol to design and establish the distributed simulation data bus (RS 422, 429 or 1553B), connecting the whole model, and dynamically adding or exiting a virtual test environment by a peripheral simulation component related to cabin door integrated management software according to test requirements through the bus;
step 5, according to the actual subsystem, a peripheral equipment model library 1 is established, wherein the model library comprises a model of a cabin door state and a control management system (normal functions related to cabin doors), simulation tools are adopted to realize simulation control of all states of all cabin doors of the aircraft, and management requirements of cabin door comprehensive management software, all cabin door positions, control switch states, relay states, cabin door indication states and related functions of the aircraft are met; as in the lower part of fig. 7;
step 6, a peripheral equipment model library 2 is established, wherein the model library comprises environmental control, landing gear, hydraulic, electric and task management subsystem related models (normal functions related to cabin doors) which meet the management requirements of cabin door integrated management software on cabin door signal processing and the related functions of the subsystems, and the lower part is shown in fig. 7;
step 7, a peripheral equipment model library 3 is established, wherein the model library comprises a bus communication management subsystem related model, and meets the management requirements of cabin door comprehensive management software on cabin door information communication of all subsystems of avionics and electromechanics through 1553B, 429 and AFDX buses, as shown in the lower part of FIG. 7;
step 8, according to the peripheral equipment model libraries 1, 2 and 3, a cabin door maintenance management subsystem is established, fault models related to cabin doors of all the systems are managed, and the test boundary and fault use case test execution requirements of the cabin door comprehensive management software system are met, as shown in the lower part of fig. 7;
step 9, developing the dynamic link library (dll) of each subsystem, forming standard interfaces of integrated management software and embedded operating systems of cabin doors, 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 peripheral devices can be realized at the same time, as shown in the lower part of fig. 7;
step 10, designing a software test integrated management tool which is a software test integrated management center of the whole virtual test environment, and configuring a whole cabin door integrated management software related test system; dynamically and visually displaying the data of the injection and execution processes of the comprehensive management software test cases of each cabin door, managing and selecting the data of each test case, and storing the data; as shown in the right part of fig. 7;
step 11, a comprehensive integrated auxiliary test tool comprises a coverage rate test tool (testbed software), a static analysis tool (COBOT library software), a debugger, a development tool (LabView) and the like, and can perform white box test, static analysis, software quality measurement and other test processes while performing cabin door management software black box test in a virtual test environment, as shown in the right part of fig. 7;
step 12, as shown in fig. 8, after the target machine system environment (including the cabin door management software to be tested) and the external system and the test environment are simultaneously operated, the tester starts to write test cases according to the test requirement document of the cabin door management software to be tested, forms a software test script and 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, inputs the data processing to the cabin door management software to be tested, finally, the cabin door management software to be tested outputs the operation result to the external environment simulation subsystem, and outputs the operation result to the test record and analysis software module again through data processing, and the tester confirms the final test result to give a test conclusion.
And 13, constructing an application platform of the cabin door integrated management software testing system and constructing a laboratory on the basis, as shown in fig. 9.
Although the embodiments of the present invention are described above, the embodiments are only used 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 cabin door integrated management software is characterized by comprising the following steps of:
step 1, designing and defining comprehensive electromechanical system network configuration related to cabin door comprehensive management software and cabin door comprehensive management software, wherein the first part comprises a cabin door state and control management system, the second part comprises an environmental control, landing gear, hydraulic, electric and task management subsystem, the third part comprises a bus communication management subsystem, and the fourth part comprises a cabin door maintenance management subsystem;
step 2, establishing interfaces of cabin door integrated management software, wherein the interfaces comprise an internal interface and an external interface of the cabin door integrated management software; the internal interface of the cabin door integrated management software 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 integrated management software comprises a bus interface of each external simulation subsystem;
step 3, establishing a virtual target machine for running cabin door integrated management software according to the internal interface;
step 4, a distributed simulation data bus is established, and the cabin door integrated management software and an external simulation subsystem are connected through the distributed simulation data bus;
step 5, an external simulation subsystem for simulating an external environment subsystem is established according to the external interface;
wherein, the step 3 comprises the following steps: 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;
the step 5 comprises the following steps:
and establishing a cabin door state and control subsystem, an electric subsystem, a hydraulic subsystem, an environment control subsystem, a lifting frame system, a task management subsystem and a cabin door fault information management subsystem according to the bus interfaces of the external simulation subsystems and a pre-constructed model library.
2. The method for constructing a configuration item test platform of cabin door integrated management software according to claim 1, wherein before the external simulation subsystem is built, 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 a model of a 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 an electrical subsystem, a model of a hydraulic subsystem, a model of an environmental control subsystem, a model of a landing gear system, 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 models of the distributed simulation data bus system.
3. The method for constructing a configuration item test platform of cabin door integrated management software according to claim 2, wherein the establishing an external simulation subsystem for simulating external environment equipment according to the external interface comprises:
establishing a cabin door state and a control subsystem according to the bus interfaces of the external simulation subsystems and the first model library;
respectively establishing an electric subsystem, a hydraulic subsystem, an environment control subsystem, a lifting frame system and a task management subsystem according to the bus interfaces of the external simulation subsystems 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.
4. The method for constructing a configuration item test platform of cabin door integrated management software according to any one of claims 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 cabin door integrated management 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 cabin door integrated management software for forming a plurality of external simulation subsystems.
5. The method for constructing a test platform of cabin door integrated management software according to any one of claims 1 to 4, further comprising:
according to the configuration item test requirement of the cabin door integrated management software, establishing an integrated test management tool of the cabin door integrated management software, wherein the integrated test management tool comprises: a test case generation tool and a test management tool;
establishing an integrated auxiliary test analysis tool of the cabin door comprehensive management software, wherein the integrated auxiliary test analysis tool comprises: coverage rate test tools, static analysis tools, test result analysis tools, debuggers, and development tools.
6. A method for testing configuration items of cabin door integrated management software, which is characterized in that the method is executed by adopting a configuration item testing platform of cabin door integrated management software constructed according to any one of claims 1 to 5, and comprises the following steps:
according to the test requirement of the cabin door comprehensive management software, writing a test case set through a comprehensive test management tool, 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 own excitation data according to the operation function requirement of the cabin door integrated management software and transmits the excitation data to the cabin door integrated management software;
and the cabin door comprehensive management software performs configuration item test according to the excitation data received from each external simulation subsystem, outputs test results to the corresponding external simulation subsystem for recording and analysis, and outputs the test results.
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 CN111190821A (en) 2020-05-22
CN111190821B true 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)

Families Citing this family (1)

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

Citations (1)

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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141962B (en) * 2011-04-07 2013-06-19 北京航空航天大学 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
CN108089975A (en) * 2017-11-22 2018-05-29 中国航空工业集团公司西安飞机设计研究所 A kind of method of constructing environment Control System Software virtual testing environment
CN108073157A (en) * 2017-11-22 2018-05-25 中国航空工业集团公司西安飞机设计研究所 A kind of method for building Cabin Pressure Control System application software virtual testing environment

Patent Citations (1)

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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于全数字的航空机载软件验证平台研究;李昌;邓矢斧;冯雷;张驰;马可锌;;计算机测量与控制(第06期);全文 *

Also Published As

Publication number Publication date
CN111190821A (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
Akerlund et al. ISAAC, a framework for integrated safety analysis of functional, geometrical and human aspects
US8930758B2 (en) Automated testing of mechatronic systems
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
CN108089975A (en) A kind of method of constructing environment Control System Software virtual testing environment
CN107992411A (en) A kind of method for building task management system software virtual testing environment
US20180276321A1 (en) Method and apparatus for testing design of satellite wiring harness and signal processing units
Brusa Digital twin: Toward the integration between system design and rams assessment through the model-based systems engineering
Zhao et al. Safety assessment of the reconfigurable integrated modular avionics based on STPA
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
US20110246975A1 (en) Control architecture and process for porting application software for equipment on board an aircraft to a consumer standard computer hardware unit
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
CN113448257A (en) Simulation test method and platform for avionics cabin display system
Huang et al. Model-based systems engineering for prognostic and health management design
Zerbe et al. Model-based evaluation of avionics maintenance and logistics processes
Silva Filho et al. An integrated model-driven approach for mechatronic systems testing
Johnson et al. Continuous Testing and Deployment for Urban Air Mobility
Applegate et al. Integrated safety systems design and human factors considerations for jet transport aeroplanes

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