CN114356753A - On-line loading interface protocol test configuration for airborne software - Google Patents

On-line loading interface protocol test configuration for airborne software Download PDF

Info

Publication number
CN114356753A
CN114356753A CN202111533924.4A CN202111533924A CN114356753A CN 114356753 A CN114356753 A CN 114356753A CN 202111533924 A CN202111533924 A CN 202111533924A CN 114356753 A CN114356753 A CN 114356753A
Authority
CN
China
Prior art keywords
bus
software
interface protocol
simulation
board
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.)
Pending
Application number
CN202111533924.4A
Other languages
Chinese (zh)
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 Chengdu Aircraft Design and Research Institute
Original Assignee
AVIC Chengdu Aircraft Design and Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by AVIC Chengdu Aircraft Design and Research Institute filed Critical AVIC Chengdu Aircraft Design and Research Institute
Priority to CN202111533924.4A priority Critical patent/CN114356753A/en
Publication of CN114356753A publication Critical patent/CN114356753A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application provides a test configuration for an on-line loading interface protocol of airborne software, which comprises the following steps: the simulation computer is provided with special test software; the special test software has a simulation online loading function; a bus cable connected with the simulation computer; the bus data recording and analyzing equipment is connected with the bus cable; the bus data recording and analyzing equipment is used for receiving data on a bus network and displaying the data; the tested controller is connected with the bus cable; the method and the device can test the online loading software function of each level of controller of the airplane, verify whether the online loading software interface protocol is perfect and closed for processing normal and abnormal conditions, fill the blank of the onboard software online loading interface protocol test environment, and ensure the software quality.

Description

On-line loading interface protocol test configuration for airborne software
Technical Field
The application belongs to the technical field of aviation measurement and control, and particularly relates to a test configuration for an on-line loading interface protocol of airborne software.
Background
The in-situ loading technology of the airborne software of the aircraft system is that under the control of the controllers, software object codes are obtained through related buses and the online loading of the airborne software of each level of controller is completed.
The first-level controller completes the processing of the online loading related request and manages and controls the loading process of the first-level controller and the second-level controller. Under the guidance of the primary controller, the secondary controller acquires the software object code through the fly pipe 1394 bus to complete self software loading.
The on-line loading function of the airborne software is continuously updated and upgraded, so that the on-line loading function of the airplane is correctly implemented, the consistency of an on-line loading interface protocol and an expected interface protocol is ensured, the on-line loading software function and the interface protocol of each stage of controller need to be tested, and an effective testing environment is lacked.
The application innovatively provides a 1394 bus-based online loading interface protocol testing environment which can support online loading interface protocol testing of controllers at all levels.
Disclosure of Invention
In view of the above technical problem, the present application provides a test configuration for an online loading interface protocol of airborne software, including:
the simulation computer is provided with special test software; the special test software has a simulation online loading function;
a bus cable connected with the simulation computer;
the bus data recording and analyzing equipment is connected with the bus cable; the bus data recording and analyzing equipment is used for receiving data on a bus network and displaying the data;
and the measured controller is connected with the bus cable.
Preferably, the simulation computer is provided with a bus simulation board card;
and the bus cable is connected with the simulation computer through the bus simulation board card.
Preferably, the measured controller is provided with a basic operation environment; the basic operating environment includes a dedicated power supply and a disconnect box.
Preferably, the bus emulation card comprises a 1394 bus emulation card.
Preferably, the bus cable comprises a 1394 bus cable.
Preferably, the bus emulation card and the bus cable are matched with each other.
Preferably, the special test software further has the functions of 1394 simulation board card configuration, data transceiving, bus configuration table analysis, ICD loading, user interaction and fault injection.
Preferably, the bus emulation board has an RN mode and a CC mode.
The beneficial technical effect of this application:
the method and the device can test the online loading software function of each level of controller of the airplane, verify whether the online loading software interface protocol is perfect and closed for processing normal and abnormal conditions, fill the blank of the onboard software online loading interface protocol test environment, and ensure the software quality.
Drawings
Fig. 1 is a schematic diagram of a test configuration of an online loading interface protocol of airborne software according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the 1394 bus-based online loading interface protocol test environment provided by the present application establishes a hardware configuration required for testing, and online loading dedicated simulation software simulates an online loading software function and various fault injection functions of controllers at all levels, so as to support a tested controller online loading software function and a dual-V test of an interface protocol, and improve test coverage.
In an example of the present application, a 1394 bus-based online loading interface protocol test environment includes the following steps:
a) and establishing hardware conditions required by the test, wherein the hardware comprises an emulation computer, a 1394 emulation board card, a 1394 bus cable, a tested controller and necessary working environment thereof, and bus data recording and analyzing equipment. The 1394 emulation board card is arranged in the emulation computer and is connected with the measured controller through a 1394 bus cable, the measured controller provides power, IO interfaces and the like through necessary working environment, and the bus data recording and analyzing equipment is connected to the connection environment of the measured controller and the emulation computer through the 1394 bus cable.
b) Establishing software conditions required by the test, wherein the software is special test software for an online loading function, and has the functions of 1394 simulation board card configuration, data transceiving, bus configuration table analysis, interface control file (ICD) loading, online loading function simulation, a user interaction interface and fault injection.
c) And loading a corresponding bus configuration table and an ICD (interface control document) according to the type of the measured controller, completing the receiving and sending attribute setting of the data packet on the bus, including message ID (identity), packet size, sending offset, redundancy branch and the like, and completing the specific interface definition setting of the data packet, including byte offset, in-word offset, signal bit length, signal name, signal ID, data type, initial value and the like.
d) Aiming at the test of the primary controller, the online loading function special test software runs in an RN mode and can simulate a single or a plurality of secondary controllers to interact with the online loading function special test software. And the software judges the redundancy and the bus of a secondary controller simulated by each node of the 1394 simulation board card by identifying the STOF packet received on the 1394 bus, and carries out bus data transceiving according to the loaded bus configuration table and the ICD. In the RN mode, the on-line loading function simulation comprises mode switching, instruction response, loading mode selection, mirror image erasure flag management and fault injection. The software automatically or manually switches modes according to the selected instruction response mode, simulates curing after transmission is finished or curing while transmission is carried out according to the selected loading mode, can set execution/non-execution for each stage in the loading process, sets updating/non-updating for single or multiple data, and can modify all simulated data. The bus data generated in the test process is recorded by the bus data recording and analyzing equipment, and the online loading function of the primary controller is verified by analyzing the interactive data between the primary controller and the simulation software.
e) Aiming at the test of the secondary controller, the on-line loading function special test software runs in a CC mode and simulates the interaction of the primary controller. And (3) manually selecting redundancy and buses corresponding to the nodes of the 1394 simulation board card, completing port configuration of the nodes, sending STOF packets, and receiving and transmitting bus data according to the loaded bus configuration table and the ICD. In the CC mode, the on-line loading function simulation comprises instruction sending, mode switching, state display and fault injection. And the software initiates a corresponding instruction to the secondary controller according to the manually selected entering, executing loading or exiting operation, and automatically completes self mode switching. And the software sets updating/non-updating for single or multiple data in the loading process according to the selected loading mode, and can modify all simulated data. The state display interface displays the system mode state, the loading state and progress and the mirror image erasing state of the primary controller and the secondary controller. And bus data generated in the test process is recorded by bus data recording and analysis equipment, and the online loading function of the secondary controller is verified by analyzing interactive data between the secondary controller and simulation software.
It should be noted that the method and the device can test the online loading software function of each level of controllers of the airplane, verify whether the online loading software interface protocol is complete and closed for processing normal and abnormal conditions, fill the blank of the onboard software online loading interface protocol test environment, and ensure the software quality. Moreover, the method is already used for double-V test of online loading software of the primary controller and the secondary controller of a certain type of airplane.
The following further describes the embodiments of the present invention with reference to the drawings.
The hardware connection schematic diagram of the onboard software online loading interface protocol test environment is shown in fig. 1, and the specific implementation steps are as follows:
a) and (3) building a test environment according to the hardware configuration shown in the figure 1, and operating the simulation computer to load the special test software for the function on line.
b) And loading a bus configuration table and an ICD (interface control document) related to the measured controller to complete the setting of the transceiving attribute of the data packet on the bus.
c) Aiming at the test of the primary controller, the online loading function special test software runs in an RN mode and simulates the interaction of a single or a plurality of secondary controllers and the primary controller. And the software judges the redundancy and the bus of a secondary controller simulated by each node of the 1394 simulation board card by identifying the STOF packet received on the 1394 bus, and carries out bus data transceiving according to the loaded bus configuration table and the ICD. And manually selecting an instruction response mode, and automatically or manually switching and setting modes of the simulation software. And manually selecting the loading mode of the RN, and curing while caching or curing after caching is finished. And respectively setting execution/non-execution at each stage in the loading process, and setting updating/non-updating for loading key data so as to test the response of the first-level controller online loading software interface protocol to normal and abnormal conditions.
d) Aiming at the test of the secondary controller, the on-line loading function special test software runs in a CC mode and simulates the interaction between the primary controller and the secondary controller. And (3) manually selecting redundancy and buses corresponding to the nodes of the 1394 simulation board card, completing port configuration of the nodes, sending STOF packets, and receiving and transmitting bus data according to the loaded bus configuration table and the ICD. In the CC mode, the manual selection of entering, loading or exiting operation is carried out, corresponding instructions are initiated to the secondary controller, and the software automatically completes self-mode switching. And manually setting updating/non-updating for the data in the transmission stage of the loading process, and performing fault setting for the key loading data so as to test the response of the online loading software interface protocol of the secondary controller to normal and abnormal conditions.
The foregoing is merely a detailed description of the embodiments of the present invention, and some of the conventional techniques are not detailed. The scope of the present invention is not limited thereto, and any changes or substitutions that can be easily made by those skilled in the art within the technical scope of the present invention will be covered by the scope of the present invention. The protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. An airborne software online loading interface protocol test configuration, comprising:
the simulation computer is provided with special test software; the special test software has a simulation online loading function;
a bus cable connected with the simulation computer;
the bus data recording and analyzing equipment is connected with the bus cable; the bus data recording and analyzing equipment is used for receiving data on a bus network and displaying the data;
and the measured controller is connected with the bus cable.
2. The on-line loading interface protocol test configuration of the on-board software of claim 1, wherein the simulation computer is provided with a bus simulation board card;
and the bus cable is connected with the simulation computer through the bus simulation board card.
3. The on-board software online loading interface protocol test configuration of claim 1, wherein the measured controller has a basic operating environment; the basic operating environment includes a dedicated power supply and a disconnect box.
4. The on-board software online loading interface protocol test configuration of claim 2, wherein the bus emulation card comprises a 1394 bus emulation card.
5. The on-board software online loading interface protocol test configuration of claim 2, wherein the bus cable comprises a 1394 bus cable.
6. The on-board software online loading interface protocol test configuration of claim 2, wherein the bus emulation card and the bus cable are mated to each other.
7. The on-board software online loading interface protocol test configuration as claimed in claim 4, wherein the dedicated test software further has functions of 1394 simulation board configuration, data transceiving, bus configuration table parsing, ICD loading, user interaction, and fault injection.
8. The on-board software online loading interface protocol test configuration of claim 2, wherein the bus emulation board has an RN mode and a CC mode.
CN202111533924.4A 2021-12-15 2021-12-15 On-line loading interface protocol test configuration for airborne software Pending CN114356753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111533924.4A CN114356753A (en) 2021-12-15 2021-12-15 On-line loading interface protocol test configuration for airborne software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111533924.4A CN114356753A (en) 2021-12-15 2021-12-15 On-line loading interface protocol test configuration for airborne software

Publications (1)

Publication Number Publication Date
CN114356753A true CN114356753A (en) 2022-04-15

Family

ID=81099361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111533924.4A Pending CN114356753A (en) 2021-12-15 2021-12-15 On-line loading interface protocol test configuration for airborne software

Country Status (1)

Country Link
CN (1) CN114356753A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873324A (en) * 2014-03-17 2014-06-18 中国航空无线电电子研究所 Universal bus testing system
CN113067745A (en) * 2021-02-25 2021-07-02 国营芜湖机械厂 Aircraft 1394B bus communication simulation test platform

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873324A (en) * 2014-03-17 2014-06-18 中国航空无线电电子研究所 Universal bus testing system
CN113067745A (en) * 2021-02-25 2021-07-02 国营芜湖机械厂 Aircraft 1394B bus communication simulation test platform

Similar Documents

Publication Publication Date Title
CN109039824B (en) Automatic test system and method for wireless remote communication protocol of vehicle-mounted terminal
CN110888414B (en) Test method for upgrading vehicle controller
CN112817295B (en) Test system and method of airplane management system
CN109740222B (en) Testing device and system for automobile networking scene
CN111124850A (en) MQTT server performance testing method, system, computer equipment and storage medium
CN109726061B (en) SoC chip verification method
CN210666480U (en) Vehicle test system
CN111245806A (en) Network security test method, device and platform, storage medium and electronic device
WO2023125591A1 (en) Remote diagnosis method, apparatus and system, and electronic device and storage medium
EP3379436A1 (en) Method and apparatus for testing design of satellite wiring harness and signal processing units
WO2023125851A1 (en) Remote diagnostics method and apparatus, electronic device and storage medium
US20080299525A1 (en) Operation training system and operation training method
JP2007082078A (en) Data relay device
CN112860559B (en) Upgrade test system and method
CN112925705B (en) Unmanned-duty-based carrier rocket flight software acceptance method and system
CN113064618B (en) System and method for simulating new energy vehicle conformance detection
CN114356753A (en) On-line loading interface protocol test configuration for airborne software
JP5267839B2 (en) Distant monitoring and control device simulation device and power system monitoring and control system
CN112304653A (en) Universal comprehensive test method and system for satellite test
JP3752276B2 (en) Plant simulator
CN111190821A (en) Test platform construction method and test method of cabin door comprehensive management software
CN110567112B (en) Control method of air conditioning equipment, control system of air conditioning equipment and air conditioning system
CN114019921B (en) Production line equipment control method, device, equipment and medium based on combined model
CN113867173B (en) Unmanned aerial vehicle centralized cluster type hardware-in-loop simulation system and method
CN114414261B (en) Vehicle test bed and vehicle test method

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