CN112181850B - Comprehensive monitoring system software test platform - Google Patents

Comprehensive monitoring system software test platform Download PDF

Info

Publication number
CN112181850B
CN112181850B CN202011164256.8A CN202011164256A CN112181850B CN 112181850 B CN112181850 B CN 112181850B CN 202011164256 A CN202011164256 A CN 202011164256A CN 112181850 B CN112181850 B CN 112181850B
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.)
Active
Application number
CN202011164256.8A
Other languages
Chinese (zh)
Other versions
CN112181850A (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 a comprehensive monitoring system, which relates to the field of avionics, wherein the system comprises an industrial personal computer and an interface conversion module, the industrial personal computer is provided with an interface board card, an automatic test tool, an operation engine and a function library are formed in the industrial personal computer, the operation engine calls functions in the function library to generate external input data, the external input data is sent to the comprehensive 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 external input data; the running engine calls functions in the function library to generate external excitation data, the excitation data are sent to the comprehensive monitoring system function module through the Ethernet board and collected, the automatic testing tool generates Ethernet test results 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 test excitation signals are injected into submodules 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 a comprehensive monitoring system.
Background
The comprehensive monitoring system mainly realizes monitoring and alarming functions such as meteorological monitoring and alarming, air traffic collision prevention, terrain prompting, situation awareness and the like, and can effectively ensure the flight safety under unfavorable meteorological, air traffic and terrain conditions in the whole process of taking off, cruising, approach and landing of the aircraft, which can be called as 'eyes' and 'ears' of the aircraft.
The comprehensive monitoring system is integrated with an air traffic warning and anti-collision (TCAS) module, a terrain prompt 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 total life cycle cost are reduced, and the comprehensive monitoring system can provide information such as weather, traffic conditions, terrain and the like for pilots in the flight process.
The comprehensive monitoring system is used as an important component of the current advanced large-sized airliner avionics system, has been successfully applied to new-generation aircrafts such as aeroplanes A380, boeing B787 and the like, and is a better solution of the internationally recognized monitoring system of the new-generation large-sized airliner.
Although the comprehensive monitoring system is widely applied to large airliners, a tool for systematically testing the comprehensive monitoring system is lacking at present, and the early test of the comprehensive monitoring system is lacking, so that a certain threat is caused to the safety of the aircraft in the running process, the traditional testing tool cannot well simulate the signals of external equipment connected with the comprehensive monitoring system, the coordination between the traditional testing tool and the comprehensive monitoring system is complex, and the practicability is not strong.
Disclosure of Invention
The inventor provides a comprehensive monitoring system software test platform aiming at the problems and the technical requirements, and the technical scheme of the invention is as follows:
the 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, the functional module comprises an industrial personal computer and an interface conversion module, the industrial personal computer is provided with an interface board card and internally provided with an automatic test tool, an operation engine and a function library, functions are stored in the function library, the interface board card comprises 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 is communicated based on an AFDX bus, and the Ethernet board card is connected to the functional module of the integrated monitoring system through the interface conversion module and is communicated based on an Ethernet channel;
the automatic test tool executes a test script and acquires a preset test command in the test script;
the operation engine analyzes the preset test command;
the running engine calls a function in a function library to generate external input data according to the preset test command, the external input data is sent to an interface module of the comprehensive monitoring system through the AFDX board card, corresponding system output data fed back is 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 is sent to a functional module of the comprehensive monitoring system through the Ethernet board, monitoring data of the functional module of the comprehensive monitoring system are collected through the Ethernet board, 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 further provided with an aircraft network database and a product configuration file, wherein the product configuration file corresponds to the comprehensive monitoring system and stores message definitions when the comprehensive monitoring system communicates, the aircraft network database corresponds to an aircraft where the comprehensive monitoring system is located and stores data interface definitions of all-aircraft avionics equipment of the aircraft, and external input data are generated by utilizing 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, the running 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 obtain an AFDX message list in the message list, wherein the AFDX message list comprises AFDX message names communicated with the comprehensive monitoring system through an AFDX bus;
the operation engine reads AFDX characteristic parameters stored in the function library, wherein the AFDX characteristic parameters comprise necessary parameters of AFDX bus communication;
the running engine calls a function in a function library to acquire the AFDX characteristic parameters, the AFDX network parameters corresponding to the AFDX message names and the AFDX message formats from the aircraft network database according to the preset test command;
the operation engine generates the external input data according to the AFDX message name, the AFDX characteristic parameter, the corresponding AFDX network parameter and the AFDX message format.
The method further comprises the following steps: the operation engine stores AFDX characteristic parameters and the corresponding relation between the AFDX message names and the AFDX network parameters and the AFDX message formats acquired from the aircraft network database to form a configuration file; and the industrial personal computer reads the configuration file to obtain corresponding AFDX network parameters and AFDX message formats when executing other test scripts for testing.
The further technical scheme is that the configuration file corresponds to the aircraft network database and the product configuration file, and the reading the configuration file to obtain corresponding AFDX network parameters and AFDX message formats comprises:
the running engine reads a current aircraft network database and a product configuration file and detects whether the current aircraft 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 the corresponding AFDX message format, otherwise, acquiring the corresponding AFDX network parameters and the corresponding AFDX message format from the aircraft network database again.
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, and the industrial personal computer also stores an excitation parameter library which 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 operation engine calls a function in a function library to read the product configuration file and obtain 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 comprehensive monitoring system through an Ethernet channel;
the operation engine calls a function in the function library to acquire corresponding excitation parameters from the excitation parameter library according to the preset test command;
the operation engine generates the external excitation data according to the Ethernet message name and the Ethernet message structure excitation parameter.
According to a further technical scheme, 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 engine reads the product configuration files and 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 interface conversion module comprises photoelectric conversion equipment, a first hub, a second hub and a switch, wherein the first hub and the second hub are both connected with the photoelectric conversion equipment, an AFDX board card of the industrial personal computer is connected with the first hub and the second hub, and the photoelectric conversion equipment is connected to an interface module of the comprehensive monitoring system; the Ethernet board of the industrial personal computer is connected with the switch, and the switch is connected to the functional module of the integrated 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 test results, thereby providing a universal onboard comprehensive monitoring system software test platform.
By setting the product configuration file, the AFDX network parameters and the AFDX message format can be extracted rapidly, so that the test platform can adapt to a plurality of different application scenes.
Meanwhile, a configuration file is formed in the industrial personal computer, and the industrial personal computer can read the configuration file to obtain corresponding AFDX network parameters and AFDX message formats when executing other test scripts, so that the method is faster and simpler.
Meanwhile, the Ethernet message list of the product configuration file is matched with the excitation parameter library, so that the excitation parameters in different scenes can be conveniently simulated.
The plurality of product configuration files are stored in the industrial personal computer in advance, so that the product configuration files are not required to be reconfigured when the integrated monitoring system is replaced later, and the product configuration files can be directly read from the industrial personal computer.
Drawings
Fig. 1 is a schematic structural view 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 workflow diagram of the test platform of the present application.
Detailed Description
The following describes the embodiments of the present invention further with reference to the drawings.
The system architecture of the integrated monitoring system is shown in fig. 1, the integrated monitoring system is installed on an aircraft, the integrated monitoring system comprises an interface module and a functional module connected with the interface module, the functional module comprises three sub-modules, namely a TCAS (air traffic warning and collision avoidance) module, a WXR (airborne weather radar) module and a TAWS (topography prompting and warning) module, the antenna unit comprises a TCAS transponder antenna and a WXR transceiver antenna, the interface module is connected with external equipment through an AFDX bus, communication with the external equipment is realized through the interface module, meanwhile, the interface module transmits data of the external equipment to the functional 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, the test interface of the TCAS module is used for injecting test excitation data into the TCAS module, the test interface of the WXR module is used for monitoring communication between the interface module and the WXR module, and the test interface of the TAXR module is used for injecting test excitation data into the WXR module, and the test interface of the test interface module is used for monitoring between the interface module and the TCWS module.
As shown in fig. 2, a software test platform for a comprehensive monitoring system to be tested is used for being connected to the comprehensive monitoring system to be tested, the test platform comprises an industrial personal computer and an interface conversion module, the industrial personal computer is provided with an interface board card, an automatic test tool, an operation engine and a function library are formed inside the industrial personal computer, functions are stored in the function library, the interface board card comprises an AFDX board card and an ethernet board card, the AFDX board card is connected to the interface module of the comprehensive 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 comprehensive monitoring system through the interface conversion module and communicates based on an ethernet channel.
Further, the interface board card also comprises a USB interface, and the USB interface is connected to the power supply equipment to supply power for the whole test platform.
The interface conversion module comprises photoelectric conversion equipment, a first hub, a second hub and a switch, wherein the first hub and the second hub are both connected with the photoelectric conversion equipment, an AFDX board card of the industrial personal computer is connected with the first hub and the second hub, the photoelectric conversion equipment is connected to an interface module of the comprehensive monitoring system, and the two hubs are used for externally connecting data of the photoelectric conversion equipment, so that a tester can conveniently grasp data on an AFDX network in the test process; the photoelectric conversion equipment analyzes the simulated external AFDX data from the TCP/IP data packet and converts the data sent out by the comprehensive monitoring system into the TCP/IP data, so that the AFDX board card can receive the data conveniently; the switch is used for connecting the test interfaces of all the sub-modules, so that the injection of test data and the monitoring of communication are convenient.
The Ethernet board 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 test tool is software installed in the industrial personal computer, interaction between a preset test command and an operation engine is achieved, input of the command is achieved through the automatic test tool, a test process is displayed, a test report is generated, and therefore whether the implementation of the software meets the requirement of the software is judged.
The running engine is a test program interpreter for parsing a predetermined test command, generating test data by calling the function library, and parsing data collected from the interface board card by calling the function library.
The function library is library function files edited by Python language, is placed in a designated directory of the industrial personal computer, can be added, deleted and newly modified at any time, and comprises functions of a general function library, an analytical aircraft network database, an interface board card data sending and receiving library, and interface board card data packaging and unpacking. The general function library is used for executing test steps, displaying test processes and generating test reports; the control power supply equipment library calls an interface provided by the power supply equipment to control the power-on mode and the power-on and power-off function library of the comprehensive monitoring system.
And 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 all-aircraft avionics provided by the host manufacturer.
The product configuration file corresponds to the comprehensive monitoring system and stores message definitions when the comprehensive monitoring system communicates, namely an AFDX message list which the comprehensive 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; and secondly, an Ethernet message list which is injected into the functional module of the integrated monitoring system. Aiming at the comprehensive monitoring systems with different models, the test platform does not need to change the code of the framework and the bottom layer, and can rapidly meet the test requirements of the comprehensive monitoring systems with different models by only updating the product configuration file.
The excitation parameter library comprises excitation parameters under different test scenarios to be injected into the functional modules of the integrated monitoring system, and the excitation parameter library comprises a threat database and an meteorological database.
The test platform can simulate and input data from the TCAS transponder antenna through the test interface of the TCAS module, such as longitude, latitude, altitude and other information representing external threat, threat information in various scenes is contained in the threat database, and the test platform can monitor communication between the interface module and the TCAS module through the test interface of the TCAS module, so as to test the related requirements of the interface between the two modules.
The test platform can simulate and input data from the antenna of the WXR transceiver through the test interface of the WXR module, the data comprise weather, topography and wind shear data, weather information in a typical scene is contained in a weather database, and the test platform can monitor communication between the interface module and the WXR module through the test interface of the WXR module and is used for testing related requirements of interfaces 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 related requirements of the interface between the two modules.
And the communication between the sub-module and the interface module is monitored by using the test interface on the sub-module, so that the requirements related to the communication inside the functional module are well tested.
As shown in fig. 3, the workflow of the present test platform is as follows:
step 1: the test script is executed by an automated test tool.
The automatic test tool starts the execution of the test, the automatic test tool executes the test script and acquires the preset test command in the test script, and the automatic test tool can also monitor the test process in real time.
Step 2: the running engine analyzes the preset test command and processes the data.
The method comprises the steps that an operation engine calls a function in a 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 an AFDX board card, corresponding system output data fed back through the AFDX board card are received, 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 message list in the product configuration file, wherein the AFDX message list comprises AFDX message names communicated with the comprehensive monitoring system through an AFDX bus; the operation engine reads AFDX characteristic parameters stored in the function library, wherein the AFDX characteristic parameters comprise necessary parameters of AFDX bus communication; the method comprises the steps that functions in a function library are called by an operation engine, and AFDX (avionics full duplex switched Ethernet) network parameters and AFDX message formats corresponding to AFDX feature parameters and AFDX message names are obtained from an aircraft network database according to a preset test command; the operation 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. Because 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 send messages, and thus the AFDX network parameters include at least one of virtual link ID, sub-virtual link ID, communication port, source address of UDP, end address of UDP, BAG (bandwidth allocation interval, bandwidth Allocation Gap), sending frequency and flow control.
One embodiment is presented herein: the AFDX characteristic parameters in the function library are just shape parameters and have no actual parameters, so that the actual parameters are required to be obtained through subsequent steps, and the function library can obtain all parameters of corresponding messages from the aircraft network database according to the AFDX message name and the AFDX characteristic parameters. In this example, suppose that the AFDX message name obtained by the running 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 running engine include VL ID, UDP Source IP, UDP Destination IP, BAG. The aircraft network database stores the message formats and all parameters of messages 1 to 5, and the relevant data of each message is usually stored in the form of an array, for example, the storage form is assumed to be as follows:
all relevant data corresponding to message 1 are stored as:
Figure BDA0002745296800000071
all relevant data corresponding to message 2 are stored as:
Figure BDA0002745296800000072
the storage format of all relevant data of messages 3-5 is also similar to messages 1 and 2, but the specific data of each parameter may be different and will not be shown in detail in this application.
The operation engine reads the AFDX message format corresponding to the message 1 from the aircraft network database according to the acquired AFDX message name and the acquired AFDX characteristic parameters, and the AFDX network parameters respectively corresponding to the AFDX characteristic parameters can be expressed as:
[ VL ID=ID 1, UDP Source IP=IPS1, UDP Destination IP =IPD1, bag=BAG1 ], wherein ID1, IPS1, IPD1 and BAG1 are the read AFDX network parameters.
Similarly, according to the acquired AFDX message name and the acquired AFDX characteristic parameters, the AFDX message format corresponding to the message 2 and the AFDX network parameters respectively corresponding to the AFDX characteristic parameters read from the aircraft network database by the operation engine may be expressed as:
[ VL ID=ID 2, UDP Source IP=IPS2, UDP Destination IP =IPD2, bag=BAG2 ], wherein ID2, IPS2, IPD2 and BAG2 are the read AFDX network parameters.
Furthermore, in order to facilitate the testing of other subsequent test scripts, the operation engine stores the corresponding relation 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 analyzed AFDX network parameters and the AFDX message format are usually placed in the peer directory of the aircraft network database in the form of the configuration file.
When other test scripts are executed to call the configuration files, the running engine firstly reads the current aircraft network database and the product configuration files and detects whether the current aircraft network database and the product configuration files correspond to the configuration files, if so, the aircraft network database and the product configuration files are unchanged, and at the moment, the running engine directly reads the configuration files according to the AFDX message names to obtain corresponding AFDX network parameters and AFDX message formats. Otherwise, the aircraft network database and/or the product configuration file are/is changed, and corresponding AFDX network parameters and AFDX message formats are acquired from the aircraft network database again according to the AFDX message names and the AFDX characteristic parameters.
And secondly, generating external excitation data, transmitting the external excitation data to a functional module of the integrated monitoring system through the Ethernet board, collecting monitoring data of the functional module of the integrated monitoring system through the Ethernet board, and generating an Ethernet test result by an automatic test tool according to the monitoring data and the external excitation data.
The running engine calls a function in the function library to read a product configuration file and obtain an Ethernet message list in a 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 corresponding excitation parameters from the excitation parameter library according to a preset test command; the running engine generates external incentive data according to the Ethernet message name, the Ethernet message structure and the incentive parameters. The Ethernet message structure comprises a message header, a message length, a unique identification number and a message body, and corresponding data in the excitation parameter library are packed according to the Ethernet message structure; for messages that need to be sent periodically, the function library sends a predetermined value, which is the value in the default scenario read from the incentive parameters library.
Further, the industrial personal computer stores at least two different product configuration files, the product configuration files are stored corresponding to the comprehensive monitoring system attribute information, when the operation engine reads the product configuration files, the operation engine reads the comprehensive monitoring system attribute information of the currently tested comprehensive monitoring system through the AFDX board card and reads the product configuration files corresponding to the comprehensive monitoring system attribute information, and a plurality of product configuration files are stored in the industrial personal computer in advance, so that the product configuration files do not need to be reconfigured when the comprehensive monitoring system is replaced later, and the product configuration files can be directly read from the industrial personal computer.
The generation of the external input data and the generation of the external excitation data in step 2 may be one type of data or two types of data according to actual requirements, and is not limited herein.
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 automated test tool can automatically generate a test report, wherein 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 examples. It is to be understood that other modifications and variations which may be directly derived or contemplated by those skilled in the art without departing from the spirit and concepts of the present invention are deemed to be included within the scope of the present invention.

Claims (9)

1. The integrated monitoring system software test platform is used for being connected with an integrated monitoring system to be tested, the integrated monitoring system is installed on an aircraft 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 the integrated monitoring system software test platform 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, an operation engine and a function library are formed inside the interface board card, functions are stored in the function library, the interface board card comprises 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 is communicated based on an AFDX bus, and the Ethernet board card is connected to the functional module of the integrated monitoring system through the interface conversion module and is communicated based on an Ethernet channel;
the automatic test tool executes a test script and acquires a preset test command in the test script;
the operation engine analyzes the preset test command;
the running engine calls a function in a function library to generate external input data according to the preset test command, the external input data is sent to an interface module of the comprehensive monitoring system through the AFDX board card, corresponding system output data fed back is 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 is sent to a functional module of the comprehensive monitoring system through the Ethernet board, monitoring data of the functional module of the comprehensive monitoring system are collected through the Ethernet board, 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 testing platform of 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 a message definition when the integrated monitoring system communicates, the aircraft network database corresponds to an aircraft in which the integrated monitoring system is located and stores a data interface definition 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 testing platform of claim 2, wherein the product profile stored message definitions include an AFDX message list, the running engine invoking a function in a function library to generate external input data in accordance with the predetermined test command, comprising:
the running engine calls a function in a function library to read the product configuration file and obtain an AFDX message list in the message list, wherein the AFDX message list comprises AFDX message names communicated with the comprehensive monitoring system through an AFDX bus;
the operation engine reads AFDX characteristic parameters stored in the function library, wherein the AFDX characteristic parameters comprise necessary parameters of AFDX bus communication;
the running engine calls a function in a function library to acquire the AFDX characteristic parameters, the AFDX network parameters corresponding to the AFDX message names and the AFDX message formats from the aircraft network database according to the preset test command;
the operation engine generates the external input data according to the AFDX message name, the AFDX characteristic parameter, the corresponding AFDX network parameter and the AFDX message format.
4. The integrated monitoring system software testing platform of claim 3, wherein the method further comprises: the operation engine stores AFDX characteristic parameters and the corresponding relation between the AFDX message names and the AFDX network parameters and the AFDX message formats acquired from the aircraft network database to form a configuration file; and the industrial personal computer reads the configuration file to obtain corresponding AFDX network parameters and AFDX message formats when executing other test scripts for testing.
5. The integrated monitoring system software testing platform of claim 4, wherein the configuration file corresponds to the aircraft network database and the product configuration file, and the reading the configuration file obtains corresponding AFDX network parameters and AFDX message formats, comprising:
the running engine reads a current aircraft network database and a product configuration file and detects whether the current aircraft 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 the corresponding AFDX message format, otherwise, acquiring the corresponding AFDX network parameters and the corresponding AFDX message format from the aircraft network database again.
6. The integrated monitoring system software testing platform of any of claims 3-5, wherein the network parameters include at least one of a virtual link ID, a communication port, a source address of UDP, a terminal address of UDP, and a bandwidth allocation interval.
7. The integrated monitoring system software testing platform of claim 2, wherein the message definitions stored in the product configuration file comprise an ethernet message list, and the industrial personal computer further stores an excitation parameter library, wherein the excitation parameter library comprises excitation parameters under different testing 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 operation engine calls a function in a function library to read the product configuration file and obtain 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 comprehensive monitoring system through an Ethernet channel;
the operation engine calls a function in the function library to acquire corresponding excitation parameters from the excitation parameter library according to the preset test command;
the operation engine generates the external excitation data according to the Ethernet message name, the Ethernet message structure and the excitation parameters.
8. The integrated monitoring system software testing 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 corresponding to the integrated monitoring system attribute information, and the running engine reads the product configuration files comprises:
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 testing platform of claim 1, wherein the interface conversion module comprises a photoelectric conversion device, a first hub, a second hub and a switch, wherein the first hub and the second hub are connected with the photoelectric conversion device, an AFDX board card of the industrial personal computer is connected with the first hub and the second hub, and the photoelectric conversion device is connected with the interface module of the integrated monitoring system; the Ethernet board of the industrial personal computer is connected with the switch, and the switch is connected to the functional module of the integrated 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 CN112181850A (en) 2021-01-05
CN112181850B true 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2868567B1 (en) * 2004-04-02 2008-03-14 Airbus France Sas SYSTEM FOR SIMULATION AND TESTING AT LEAST ONE EQUIPMENT ON AN AFDX NETWORK

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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架构下民机综合监视系统仿真器设计;何方;肖刚;瞿哲;戴周云;郭晓燕;于超鹏;;电光与控制(第12期);全文 *
综合化飞机环境监视系统研究及其数字仿真测试;肖刚;敬忠良;李元祥;刁海南;于超鹏;;航空学报(第12期);全文 *

Also Published As

Publication number Publication date
CN112181850A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN1910859B (en) Systems and methods of recording events onboard a vehicle
US8150815B2 (en) System, method and computer program product for real-time event identification and course of action interpretation
CN111915930B (en) Airborne empty pipe enhancement co-processing system and method
CN105487409B (en) Unmanned plane spatial domain integrated flight security management and control demonstration and verification platform
CN103413465A (en) Airborne collision avoidance and ground proximity warning monitoring system and monitoring method thereof
US11932415B2 (en) Data monitoring method and medium
CN110488633A (en) A kind of avionics weapon attacking test macro
Johnson Analysis of Top of Descent (TOD) uncertainty
CN112181850B (en) Comprehensive monitoring system software test platform
CN107516438B (en) Device for flexibly changing position information broadcasting frequency of civil aircraft and processing method thereof
CN110844092A (en) Aircraft fault warning method and system
CN116488709A (en) Method and device for generating, converting and transmitting aircraft ACARS (aircraft access control information system) message
CN111874258A (en) Avionic functional test device, associated aircraft, method and computer program
CN112027107B (en) Unmanned aerial vehicle avoidance test system, method and device, terminal equipment and storage medium
CN211494512U (en) Performance evaluation platform of airborne collision detection airborne equipment
CN111984642B (en) Multi-component heterogeneous unmanned aerial vehicle monitoring data fusion system
US9529362B1 (en) Autonomous aircraft operating system, device, and method
US20190206152A1 (en) Apparatus and method for manually activated wireless transfer of operational and performance data
CN114034317A (en) Cloud verification system and method based on unmanned aerial vehicle flight verification platform
CN110706551A (en) Multi-mode unmanned aerial vehicle operator training simulator
CN113848852B (en) Method, system, terminal, medium and application for forming firmware version return of airplane
Yin et al. Flight Autonomy Impact To The Future Avionics Architecture
CN110221618B (en) Flight monitoring method and device and computer readable storage medium
CN113536466A (en) Simulator monitoring system and data processing method
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