CN112181850A - Comprehensive monitoring system software test platform - Google Patents

Comprehensive monitoring system software test platform Download PDF

Info

Publication number
CN112181850A
CN112181850A CN202011164256.8A CN202011164256A CN112181850A CN 112181850 A CN112181850 A CN 112181850A CN 202011164256 A CN202011164256 A CN 202011164256A CN 112181850 A CN112181850 A CN 112181850A
Authority
CN
China
Prior art keywords
afdx
monitoring system
message
test
ethernet
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
CN202011164256.8A
Other languages
Chinese (zh)
Other versions
CN112181850B (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 Leihua Collins Wuxi Avionics Co ltd
Original Assignee
Avic Leihua Collins Wuxi Avionics Co ltd
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 Leihua Collins Wuxi Avionics Co ltd filed Critical Avic Leihua Collins Wuxi Avionics Co ltd
Priority to CN202011164256.8A priority Critical patent/CN112181850B/en
Publication of CN112181850A publication Critical patent/CN112181850A/en
Application granted granted Critical
Publication of CN112181850B publication Critical patent/CN112181850B/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/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • 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)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a software test platform of an integrated monitoring system, which relates to the field of avionics and comprises an industrial personal computer and an interface conversion module, wherein the industrial personal computer is provided with an interface board card and internally forms an automatic test tool, an operation engine and a function library, the operation engine calls functions in the function library to generate external input data, the external input data is sent to the integrated monitoring system through an AFDX board card and received, and the automatic test tool generates an AFDX test result according to system output data and the external input data; the operation engine calls functions in the function library to generate external excitation data, the excitation data are sent to the function module of the comprehensive monitoring system through the Ethernet board card and collected, the automatic testing tool generates an Ethernet testing result according to the monitoring data and the external excitation data, signals of external equipment connected with the comprehensive monitoring system can be conveniently simulated, and testing excitation signals are injected into sub-modules of the comprehensive monitoring system.

Description

Comprehensive monitoring system software test platform
Technical Field
The invention relates to the field of avionics, in particular to a software testing platform of an integrated monitoring system.
Background
The integrated monitoring system mainly realizes the monitoring and alarming functions of weather monitoring and alarming, air traffic collision prevention, terrain prompting, situation perception and the like, can effectively ensure the flight safety under adverse weather, air traffic and terrain conditions in the whole process of takeoff, cruising, approach and landing of the airplane, and can be called as the eyes and the ears of the airplane.
The integrated monitoring system is integrated with an air traffic warning and collision avoidance (TCAS) module, a terrain prompting and warning (TAWS) module and an airborne weather radar (WXR) module, so that the weight of the aircraft platform is reduced, the installation cost, the operation cost and the life cycle total cost are reduced, and the integrated monitoring system can provide information such as weather, traffic conditions, terrain and the like for a pilot in the flight process.
The comprehensive monitoring system is an important component of the avionics system of the current advanced large-scale passenger aircraft, has been successfully applied to new-generation airplanes such as an air passenger A380 and a Boeing B787, and is an internationally recognized better solution of the monitoring system of the new-generation large-scale passenger aircraft.
Although the integrated monitoring system is widely applied to a large passenger plane, a tool for performing systematic testing on the integrated monitoring system is absent at present, and the prior testing on the integrated monitoring system is absent, so that certain threat can be caused to the safety of an airplane in the operation process, the traditional testing tool cannot well simulate the signals of external equipment connected with the integrated monitoring system, and the traditional testing tool is complex to match with the integrated monitoring system and has low practicability.
Disclosure of Invention
The invention provides a software testing platform of a comprehensive monitoring system aiming at the problems and the technical requirements, and the technical scheme of the invention is as follows:
an integrated monitoring system software test platform is used for connecting an integrated monitoring system to be tested, the integrated monitoring system is installed on an airplane and comprises an interface module and a functional module connected with the interface module, the functional module at least comprises a TCAS module, a TAWS module and a WXR module, and comprises an industrial personal computer and an interface conversion module, the industrial personal computer is provided with an interface board card, and an automatic testing tool, an operation engine and a function library are formed inside the industrial personal computer, the function library is stored with functions, the interface board card comprises an AFDX board card and an Ethernet board card, the AFDX board is connected to the interface module of the integrated monitoring system through the interface conversion module and communicates based on an AFDX bus, the Ethernet board card is connected to a functional module of the comprehensive monitoring system through the interface conversion module and carries out communication based on an Ethernet channel;
the automatic test tool executes a test script and acquires a preset test command in the test script;
the running engine analyzes the preset test command;
the running engine calls a function in the function library to generate external input data according to the preset test command, the external input data are sent to an interface module of the comprehensive monitoring system through the AFDX board card, corresponding system output data fed back are received through the AFDX board card, and the automatic test tool generates an AFDX test result according to the system output data and the external input data;
the running engine calls a function in a function library to generate external excitation data according to the preset test command, the external excitation data are sent to the function module of the comprehensive monitoring system through the Ethernet board card, monitoring data of the function module of the comprehensive monitoring system are collected through the Ethernet board card, and the automatic test tool generates an Ethernet test result according to the monitoring data and the external excitation data;
and the automatic test tool generates a test report of the comprehensive monitoring system according to the AFDX test result and the Ethernet test result.
The industrial personal computer is stored with an aircraft network database and a product configuration file, the product configuration file corresponds to the integrated monitoring system and is stored with message definitions during communication of the integrated monitoring system, the aircraft network database corresponds to an aircraft where the integrated monitoring system is located and is stored with data interface definitions of all-aircraft avionic equipment of the aircraft, and external input data are generated by using the aircraft network database and the product configuration file according to the preset test command.
The further technical scheme is that the message definition stored in the product configuration file comprises an AFDX message list, and the operation engine calls a function in a function library to generate external input data according to the predetermined test command, and the method comprises the following steps:
the running engine calls a function in a function library to read the product configuration file and acquire an AFDX message list in the message list, wherein the AFDX message list comprises AFDX message names which are communicated with the comprehensive monitoring system through an AFDX bus;
the running engine reads AFDX characteristic parameters stored in the function library, wherein the AFDX characteristic parameters comprise necessary parameters of AFDX bus communication;
the operation engine calls a function in a function library to acquire AFDX (avionics full Duplex switched Ethernet) network parameters and AFDX message formats corresponding to the AFDX characteristic parameters and the AFDX message names from the airplane network database according to the preset test command;
and the running engine generates the external input data according to the AFDX message name, the AFDX characteristic parameters, the corresponding AFDX network parameters and the AFDX message format.
The further technical scheme is that the method also comprises the following steps: the running engine stores the corresponding relation between the AFDX characteristic parameter and the AFDX message name and the AFDX network parameter and the AFDX message format acquired from the airplane network database to form a configuration file; and reading the configuration file to acquire the corresponding AFDX network parameter and AFDX message format when the industrial personal computer executes other test scripts for testing.
A further technical solution is that, if the configuration file corresponds to the aircraft network database and the product configuration file, the reading of the configuration file to obtain corresponding AFDX network parameters and AFDX message format includes:
the operation engine reads a current airplane network database and a product configuration file and detects whether the current airplane network database and the product configuration file correspond to the configuration file;
and if so, reading the configuration file to acquire the corresponding AFDX network parameters and AFDX message formats, and otherwise, acquiring the corresponding AFDX network parameters and AFDX message formats from the aircraft network database again.
The further technical scheme is that the network parameters comprise at least one of virtual link ID, communication port, UDP source address, UDP end address and bandwidth allocation interval.
The further technical scheme is that the message definition stored in the product configuration file comprises an Ethernet message list, the industrial personal computer also stores an excitation parameter library, and the excitation parameter library comprises excitation parameters under different test scenes;
the operation engine calls a function in a function library to generate external excitation data according to the preset test command, and the method comprises the following steps:
the running engine calls a function in a function library to read the product configuration file and acquires an Ethernet message list in the message list, wherein the Ethernet message list comprises an Ethernet message name and an Ethernet message structure which are communicated with the integrated monitoring system through an Ethernet channel;
the running engine calls a function in the function library to acquire a corresponding excitation parameter from the excitation parameter library according to the preset test command;
and the running engine generates the external excitation data according to the Ethernet message name and the Ethernet message structure excitation parameter.
The technical scheme is that the industrial personal computer stores at least two different product configuration files, the product configuration files are stored corresponding to the attribute information of the comprehensive monitoring system, and the operation of the engine to read the product configuration files comprises the following steps:
and the running engine reads the comprehensive monitoring system attribute information of the currently tested comprehensive monitoring system through the AFDX board card and reads a product configuration file corresponding to the comprehensive monitoring system attribute information.
The further technical scheme is that the interface conversion module comprises a photoelectric conversion device, a first concentrator, a second concentrator and a switch, wherein the first concentrator and the second concentrator are both connected with the photoelectric conversion device, an AFDX (avionics full Duplex switched Ethernet) board of the industrial personal computer is connected with the first concentrator and the second concentrator, and the photoelectric conversion device is connected with the interface module of the comprehensive monitoring system; and the Ethernet board card of the industrial personal computer is connected with the switch, and the switch is connected to the functional module of the comprehensive monitoring system.
The beneficial technical effects of the invention are as follows: the test platform can conveniently simulate signals of external equipment connected with the comprehensive monitoring system, can inject test excitation signals into the TCAS module, the TAWS module and the WXR module, and finally generates a test report by judging a test result, thereby providing a universal airborne comprehensive monitoring system software test platform.
By setting the product configuration file, the AFDX network parameters and the AFDX message format can be extracted quickly, so that the test platform can adapt to a plurality of different application scenes.
Meanwhile, the configuration file is formed in the industrial personal computer, and the industrial personal computer can read the configuration file to acquire the corresponding AFDX network parameter and the AFDX message format when executing other test scripts, so that the method is quicker, more convenient and simpler.
Meanwhile, the Ethernet message list of the product configuration file is matched with an excitation parameter library, so that the excitation parameters under different scenes can be conveniently simulated.
By pre-storing a plurality of product configuration files in the industrial personal computer, the product configuration files do not need to be reconfigured when the comprehensive monitoring system is replaced subsequently, and the product configuration files can be directly read from the industrial personal computer.
Drawings
Fig. 1 is a schematic structural diagram of the integrated monitoring system of the present application.
Fig. 2 is a schematic structural diagram of the test platform of the present application.
FIG. 3 is a flow chart of the operation of the test platform of the present application.
Detailed Description
The following further describes the embodiments of the present invention with reference to the drawings.
The system architecture diagram of the integrated monitoring system is shown in fig. 1, the integrated monitoring system is installed in an airplane, the integrated monitoring system comprises an interface module and a function module connected with the interface module, the function module comprises three sub-modules and an antenna unit, the three sub-modules are a TCAS (traffic alert and collision avoidance) module, a WXR (airborne weather radar) module and a TAWS (terrain prompt and warning) module, the antenna unit comprises a TCAS transponder antenna and a WXR transceiver antenna, wherein the interface module is connected with external equipment through an AFDX bus, communication with the external equipment is realized through the interface module, the interface module transmits data of the external equipment to the function module, a test interface is reserved on each sub-module, the test interface is an RJ45 port, the test interface of the TCAS module is used for monitoring communication between the interface module and the TCAS module, and the test excitation data is injected into the TCAS module by the test interface of the TCAS module, the test interface of the WXR module is used for monitoring communication between the interface module and the WXR module, the test interface of the WXR module injects test excitation data into the WXR module, and the test interface of the TAWS module is used for monitoring communication between the interface module and the TAWS module.
As shown in fig. 2, a software testing platform of an integrated monitoring system is used for being connected to an integrated monitoring system to be tested, and includes an industrial personal computer and an interface conversion module, wherein the industrial personal computer is provided with an interface board card and is internally provided with an automatic testing tool, an operation engine and a function library, functions are stored in the function library, the interface board card includes an AFDX board card and an ethernet board card, the AFDX board card is connected to the interface module of the integrated monitoring system through the interface conversion module and communicates based on an AFDX bus, and the ethernet board card is connected to the function module of the integrated monitoring system through the interface conversion module and communicates based on an ethernet channel.
Furthermore, the interface board card also comprises a USB interface, and the USB interface is connected to power supply equipment to supply power for the whole test platform.
The interface conversion module comprises photoelectric conversion equipment, a first concentrator, a second concentrator and a switch, wherein the first concentrator and the second concentrator are both connected with the photoelectric conversion equipment; the photoelectric conversion equipment analyzes the simulated external AFDX data from the TCP/IP data packet and converts the data into optical signals, and converts the data sent out from the comprehensive monitoring system into TCP/IP data, so that the AFDX board card can receive the data conveniently; the switch is used for connecting the test interfaces of the submodules, and injection of test data and monitoring of communication are facilitated.
The Ethernet board card of the industrial personal computer is connected with the switch, and the switch is connected to the functional module of the comprehensive monitoring system.
The automatic testing tool is software installed in an industrial personal computer, realizes interaction of a preset testing command and an operation engine, and realizes command input, test process display and test report generation through the automatic testing tool, so that whether the realization of the software meets the requirements of the software is judged.
The running engine is a test program interpreter used for analyzing a preset test command, generating test data by calling a function library, and analyzing data collected from the interface board card by calling the function library.
The function library is a library function file edited by Python language, can be added, deleted and newly modified at any time when being placed in an appointed directory of the industrial personal computer, and comprises a general function library, an analysis airplane network database, a library for transmitting and receiving interface board card data, and functions for packing and unpacking the interface board card data. Wherein the universal function library is used for executing the test steps, displaying the test process and generating the test report; and the function library is used for controlling the power-on mode and power-on/off of the comprehensive monitoring system by calling the interface provided by the power supply equipment by the control power supply equipment library.
An aircraft network database, a product configuration file and an excitation parameter library are also formed on the industrial personal computer.
The aircraft network database is a data interface definition of the full-aircraft avionics equipment provided by a host manufacturer.
The product configuration file corresponds to the integrated monitoring system and stores message definitions when the integrated monitoring system is in communication, wherein the message definitions include an AFDX message list which the integrated monitoring system needs to receive from external equipment and an AFDX message list which is sent to the external equipment, namely data transmitted on an AFDX network; the second is a list of ethernet messages injected into the functional modules of the integrated monitoring system. Aiming at the comprehensive monitoring systems with different models, the test platform can quickly meet the test requirements of the comprehensive monitoring systems with different models only by updating the product configuration file without changing the architecture and the bottom codes.
The excitation parameter library comprises excitation parameters to be injected into different test scenes of the functional modules of the comprehensive monitoring system, and comprises a threat database and an meteorological database.
The test platform simulates data input into the TCAS transponder antenna through the test interface of the TCAS module, such as longitude, latitude, altitude and other information representing external threats, and threat information under various scenes is contained in the threat database.
The test platform can simulate data input into the WXR transceiver antenna through the test interface of the WXR module, the data comprise weather, terrain and wind shear data, weather information under a typical scene is contained in a weather database, and the test platform can also monitor communication between the interface module and the WXR module through the test interface of the WXR module and be used for testing the requirements related to the interface between the two modules.
The test platform can monitor the communication between the interface module and the TAWS module through the test interface of the TAWS module, and is used for testing the requirements related to the interface between the two modules.
The testing interface on the submodule is used for monitoring the communication between the submodule and the interface module, so that the requirements related to the internal communication of the functional module are well tested.
As shown in fig. 3, the work flow of the test platform is as follows:
step 1: the test script is executed by the automated test tool.
The execution of the test is started through the automatic test tool, the automatic test tool executes the test script and obtains a preset test command in the test script, and the test process can be monitored in real time through the automatic test tool.
Step 2: the running engine parses the predetermined test command and performs data processing.
The operation engine calls a function in the function library to generate external data according to a preset test command, firstly, external input data are generated, the external input data are sent to an interface module of the comprehensive monitoring system through the AFDX board card, corresponding system output data fed back are received through the AFDX board card, and an automatic test tool generates an AFDX test result according to the system output data and the external input data.
The running engine calls a function in the function library to read an AFDX (avionics full Duplex switched Ethernet) message list in the product configuration file, wherein the AFDX message list comprises AFDX message names which are communicated with the integrated monitoring system through an AFDX bus; the operating engine reads AFDX characteristic parameters stored in the function library, wherein the AFDX characteristic parameters comprise necessary parameters of AFDX bus communication; the operation engine calls a function in the function library to acquire AFDX characteristic parameters and AFDX network parameters and AFDX message formats corresponding to the AFDX message names from the airplane network database according to a preset test command; and the running engine generates external input data according to the AFDX message name, the AFDX characteristic parameters, the corresponding AFDX network parameters and the AFDX message format. Since the integrated monitoring system and the external system communicate through the AFDX network, the AFDX network parameters are all necessary parameters for the AFDX board to transmit a message, and thus the AFDX network parameters include at least one of a virtual link ID, a sub virtual link ID, a communication port, a source address of UDP, an end address of UDP, a BAG (Bandwidth Allocation Gap), a transmission frequency, and a flow control.
An example is given here: the AFDX characteristic parameters in the functional library are only form parameters and do not have actual parameters, so that the actual parameters need to be acquired through subsequent steps, and the functional library acquires all parameters of the corresponding message from the aircraft network database according to the AFDX message name and the AFDX characteristic parameters. For an example, it is assumed that the AFDX message name obtained by the runtime engine reading the AFDX message list in the product configuration file includes message 1 and message 2, and the AFDX feature parameters stored in the function library read by the runtime engine include VL ID, UDP Source IP, UDP Destination IP, and BAG. The message formats and all parameters of the messages 1 to 5 are stored in the aircraft network database, and usually, the relevant data of each message is stored in the form of an array, for example, the storage form is assumed as follows:
all relevant data corresponding to message 1 is stored as:
Figure BDA0002745296800000071
all relevant data corresponding to message 2 is stored as:
Figure BDA0002745296800000072
the storage format of all relevant data of messages 3 to 5 is also similar to that of messages 1 and 2, but the specific data of each parameter may be different, and is not shown in detail in this application.
The AFDX message format corresponding to the message 1 and the AFDX network parameters respectively corresponding to the AFDX characteristic parameters, which are read from the aircraft network database by the operating engine according to the obtained AFDX message name and the obtained AFDX characteristic parameters, can be represented as follows:
VL ID1, UDP Source IP IPs1, UDP Destination IP IPD1, and BAG1, where ID1, IPs1, IPD1, and BAG1 are the read AFDX network parameters.
Similarly, the AFDX message format corresponding to the message 2 and the AFDX network parameters respectively corresponding to each AFDX characteristic parameter, which are read from the aircraft network database by the operating engine according to the acquired AFDX message name and the AFDX characteristic parameters, may be represented as:
VL ID2, UDP Source IP IPs2, UDP Destination IP IPD2, and BAG2, where ID2, IPs2, IPD2, and BAG2 are the read AFDX network parameters.
Furthermore, in order to facilitate the subsequent test of other test scripts, the running engine stores the corresponding relationship between the AFDX message name and the AFDX network parameters and the AFDX message format to form a configuration file, so that the industrial personal computer reads the configuration file to obtain the corresponding AFDX network parameters and the AFDX message format when executing other test scripts, and the AFDX network parameters and the AFDX message format which are analyzed under normal conditions can be placed in a peer directory of the airplane network database in the form of the configuration file.
When other test scripts are executed to call the configuration file, the operation engine firstly reads the current airplane network database and the product configuration file and detects whether the current airplane network database and the product configuration file correspond to the configuration file, if the current airplane network database and the product configuration file correspond to the configuration file, the airplane network database and the product configuration file are not changed, and at the moment, the operation engine directly reads the configuration file according to the AFDX message name to acquire the corresponding AFDX network parameter and AFDX message format. Otherwise, the change of the aircraft network database and/or the product configuration file is indicated, and at the moment, the corresponding AFDX network parameter and AFDX message format are obtained from the aircraft network database again according to the AFDX message name and the AFDX characteristic parameter.
And secondly, generating external excitation data, sending the external excitation data to the functional module of the comprehensive monitoring system through the Ethernet board card, acquiring monitoring data of the functional module of the comprehensive monitoring system through the Ethernet board card, and generating an Ethernet test result according to the monitoring data and the external excitation data by the automatic test tool.
The running engine calls a function in the function library to read the product configuration file and acquires an Ethernet message list in the message list, wherein the Ethernet message list comprises an Ethernet message name and an Ethernet message structure which are communicated with the integrated monitoring system through an Ethernet channel; the running engine calls a function in the function library to obtain a corresponding excitation parameter from the excitation parameter library according to a preset test command; and the running engine generates external excitation data according to the Ethernet message name, the Ethernet message structure and the excitation parameter. The Ethernet message structure comprises a message packet header, a message length, a unique identification number and a message body, and corresponding data in the excitation parameter library is packaged according to the Ethernet message structure; for messages that need to be sent periodically, the function library sends a predetermined value, which is a value in a default scenario read from the library of excitation parameters.
Furthermore, the industrial personal computer stores at least two different product configuration files, the product configuration files are stored correspondingly to the attribute information of the comprehensive monitoring system, when the running engine reads the product configuration files, the running engine reads the attribute information of the comprehensive monitoring system currently tested through the AFDX board card, reads the product configuration files corresponding to the attribute information of the comprehensive monitoring system, and stores a plurality of product configuration files in the industrial personal computer in advance, so that when the comprehensive monitoring system is subsequently replaced, the product configuration files do not need to be reconfigured, and the product configuration files can be directly read from the industrial personal computer.
For generating the external input data and the external excitation data in step 2, only one kind of data may be generated or both kinds of data may be generated according to actual requirements, which is not limited herein.
And step 3: and the automatic test tool generates a test report of the comprehensive monitoring system according to the AFDX test result and the Ethernet test result.
The automatic test tool can automatically generate a test report, the test report comprises a test process and a test result, and a tester can easily check the test result.
What has been described above is only a preferred embodiment of the present application, and the present invention is not limited to the above embodiment. It is to be understood that other modifications and variations directly derivable or suggested by those skilled in the art without departing from the spirit and concept of the present invention are to be considered as included within the scope of the present invention.

Claims (9)

1. A software testing platform of an integrated monitoring system is used for connecting an integrated monitoring system to be tested, the integrated monitoring system is installed on an airplane and comprises an interface module and a function module connected with the interface module, the functional modules at least comprise a TCAS module, a TAWS module and a WXR module, it is characterized by comprising an industrial personal computer and an interface conversion module, wherein the industrial personal computer is provided with an interface board card and is internally provided with an automatic test tool, an operation engine and a function library, the function library is stored with functions, the interface board card comprises an AFDX board card and an Ethernet board card, the AFDX board is connected to the interface module of the integrated monitoring system through the interface conversion module and communicates based on an AFDX bus, the Ethernet board card is connected to a functional module of the comprehensive monitoring system through the interface conversion module and carries out communication based on an Ethernet channel;
the automatic test tool executes a test script and acquires a preset test command in the test script;
the running engine analyzes the preset test command;
the running engine calls a function in the function library to generate external input data according to the preset test command, the external input data are sent to an interface module of the comprehensive monitoring system through the AFDX board card, corresponding system output data fed back are received through the AFDX board card, and the automatic test tool generates an AFDX test result according to the system output data and the external input data;
the running engine calls a function in a function library to generate external excitation data according to the preset test command, the external excitation data are sent to the function module of the comprehensive monitoring system through the Ethernet board card, monitoring data of the function module of the comprehensive monitoring system are collected through the Ethernet board card, and the automatic test tool generates an Ethernet test result according to the monitoring data and the external excitation data;
and the automatic test tool generates a test report of the comprehensive monitoring system according to the AFDX test result and the Ethernet test result.
2. The integrated monitoring system software test platform according to claim 1, wherein the industrial personal computer stores an aircraft network database and a product configuration file, the product configuration file corresponds to the integrated monitoring system and stores message definitions during communication of the integrated monitoring system, the aircraft network database corresponds to an aircraft where the integrated monitoring system is located and stores data interface definitions of all-aircraft avionics of the aircraft, and external input data is generated by using the aircraft network database and the product configuration file according to the predetermined test command.
3. The integrated monitoring system software test platform of claim 2, wherein the product configuration file stores message definitions including a list of AFDX messages, and the runtime engine invokes functions in a functional library to generate external input data according to the predetermined test commands, comprising:
the running engine calls a function in a function library to read the product configuration file and acquire an AFDX message list in the message list, wherein the AFDX message list comprises AFDX message names which are communicated with the comprehensive monitoring system through an AFDX bus;
the running engine reads AFDX characteristic parameters stored in the function library, wherein the AFDX characteristic parameters comprise necessary parameters of AFDX bus communication;
the operation engine calls a function in a function library to acquire AFDX (avionics full Duplex switched Ethernet) network parameters and AFDX message formats corresponding to the AFDX characteristic parameters and the AFDX message names from the airplane network database according to the preset test command;
and the running engine generates the external input data according to the AFDX message name, the AFDX characteristic parameters, the corresponding AFDX network parameters and the AFDX message format.
4. The integrated monitoring system software test platform of claim 3, wherein the method further comprises: the running engine stores the corresponding relation between the AFDX characteristic parameter and the AFDX message name and the AFDX network parameter and the AFDX message format acquired from the airplane network database to form a configuration file; and reading the configuration file to acquire the corresponding AFDX network parameter and AFDX message format when the industrial personal computer executes other test scripts for testing.
5. The integrated monitoring system software test platform of claim 4, wherein the configuration file corresponds to the aircraft network database and the product configuration file, and the reading of the configuration file to obtain corresponding AFDX network parameters and AFDX message formats comprises:
the operation engine reads a current airplane network database and a product configuration file and detects whether the current airplane network database and the product configuration file correspond to the configuration file;
and if so, reading the configuration file to acquire the corresponding AFDX network parameters and AFDX message formats, and otherwise, acquiring the corresponding AFDX network parameters and AFDX message formats from the aircraft network database again.
6. The integrated monitoring system software test of any one of claims 3-6, wherein the network parameters include at least one of a virtual link ID, a communication port, a source address of the UDP, an end address of the UDP, and a bandwidth allocation interval.
7. The integrated monitoring system software test platform of claim 2, wherein the message definitions stored in the product configuration file include an ethernet message list, and the industrial personal computer further stores an excitation parameter library including excitation parameters under different test scenarios;
the operation engine calls a function in a function library to generate external excitation data according to the preset test command, and the method comprises the following steps:
the running engine calls a function in a function library to read the product configuration file and acquires an Ethernet message list in the message list, wherein the Ethernet message list comprises an Ethernet message name and an Ethernet message structure which are communicated with the integrated monitoring system through an Ethernet channel;
the running engine calls a function in the function library to acquire a corresponding excitation parameter from the excitation parameter library according to the preset test command;
and the running engine generates the external excitation data according to the Ethernet message name, the Ethernet message structure and the excitation parameter.
8. The integrated monitoring system software test platform of claim 3 or 7, wherein the industrial personal computer stores at least two different product configuration files, and the product configuration files are stored in correspondence with the integrated monitoring system attribute information, and then the running engine reads the product configuration files including:
and the running engine reads the comprehensive monitoring system attribute information of the currently tested comprehensive monitoring system through the AFDX board card and reads a product configuration file corresponding to the comprehensive monitoring system attribute information.
9. The integrated monitoring system software test platform of claim 1, wherein the interface conversion module comprises a photoelectric conversion device, a first hub, a second hub and a switch, the first hub and the second hub are both connected with the photoelectric conversion device, an AFDX board of the industrial personal computer is connected with the first hub and the second hub, and the photoelectric conversion device is connected to the interface module of the integrated monitoring system; and the Ethernet board card of the industrial personal computer is connected with the switch, and the switch is connected to the functional module of the comprehensive monitoring system.
CN202011164256.8A 2020-10-27 2020-10-27 Comprehensive monitoring system software test platform Active CN112181850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011164256.8A CN112181850B (en) 2020-10-27 2020-10-27 Comprehensive monitoring system software test platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011164256.8A CN112181850B (en) 2020-10-27 2020-10-27 Comprehensive monitoring system software test platform

Publications (2)

Publication Number Publication Date
CN112181850A true CN112181850A (en) 2021-01-05
CN112181850B CN112181850B (en) 2023-07-07

Family

ID=73923721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011164256.8A Active CN112181850B (en) 2020-10-27 2020-10-27 Comprehensive monitoring system software test platform

Country Status (1)

Country Link
CN (1) CN112181850B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050220029A1 (en) * 2004-04-02 2005-10-06 Airbus France Simulation and test system for at least one item of equipment on an AFDX network
WO2008131590A1 (en) * 2007-04-28 2008-11-06 Zte Corporation Protocol test system and method of automatic switched optical network
CN104394029A (en) * 2014-11-10 2015-03-04 中国电子科技集团公司第二十研究所 An AFDX bus detecting method based on a hybrid channel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050220029A1 (en) * 2004-04-02 2005-10-06 Airbus France Simulation and test system for at least one item of equipment on an AFDX network
WO2008131590A1 (en) * 2007-04-28 2008-11-06 Zte Corporation Protocol test system and method of automatic switched optical network
CN104394029A (en) * 2014-11-10 2015-03-04 中国电子科技集团公司第二十研究所 An AFDX bus detecting method based on a hybrid channel

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何方;肖刚;瞿哲;戴周云;郭晓燕;于超鹏;: "IMA架构下民机综合监视系统仿真器设计", 电光与控制, no. 12 *
肖刚;敬忠良;李元祥;刁海南;于超鹏;: "综合化飞机环境监视系统研究及其数字仿真测试", 航空学报, no. 12 *

Also Published As

Publication number Publication date
CN112181850B (en) 2023-07-07

Similar Documents

Publication Publication Date Title
CN108445902B (en) Unmanned aerial vehicle formation control method, device and system
US5260874A (en) Aircraft flight emulation test system
CN1910859B (en) Systems and methods of recording events onboard a vehicle
US8751061B2 (en) Navigation aid system for a drone
CN103337200A (en) Airborne collision avoidance system tester and testing method
CN112817295A (en) Test system and method of airplane management system
CN112937914B (en) Ground simulation instruction processing method for aircraft complete machine test
CN106991001B (en) Radio navigation identification simulation system
CN115469629A (en) Remote diagnosis method, device, system, electronic equipment and storage medium
CN105700379A (en) System adaptive ground proximity alarm simulation test device
CN112181850B (en) Comprehensive monitoring system software test platform
US11932415B2 (en) Data monitoring method and medium
CN111984642B (en) Multi-component heterogeneous unmanned aerial vehicle monitoring data fusion system
CN111025046A (en) Test system, method for controlling matrix switch and storage medium
CN112027107B (en) Unmanned aerial vehicle avoidance test system, method and device, terminal equipment and storage medium
CN116033004A (en) Service architecture-oriented vehicle positioning system and cross-domain transmission method
CN109388121A (en) A kind of flight control computer test device
CN110844114B (en) Portable aerostat test system
CN113993003A (en) Multi-satellite parallel data forwarding system and method
CN113536466A (en) Simulator monitoring system and data processing method
CN110221618B (en) Flight monitoring method and device and computer readable storage medium
CN111708347A (en) Control equipment testing device and method based on vector word
CN113848852B (en) Method, system, terminal, medium and application for forming firmware version return of airplane
CN215851946U (en) General fixed wing unmanned aerial vehicle ground monitoring device
Barney et al. Simulation and Flight Test Environments for the TASAR Traffic Aware Planner

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