[go: up one dir, main page]

CN104394029B - A kind of total line detecting methods of AFDX based on hybrid channel - Google Patents

A kind of total line detecting methods of AFDX based on hybrid channel Download PDF

Info

Publication number
CN104394029B
CN104394029B CN201410626293.4A CN201410626293A CN104394029B CN 104394029 B CN104394029 B CN 104394029B CN 201410626293 A CN201410626293 A CN 201410626293A CN 104394029 B CN104394029 B CN 104394029B
Authority
CN
China
Prior art keywords
test
afdx
channel
terminal
channels
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
CN201410626293.4A
Other languages
Chinese (zh)
Other versions
CN104394029A (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.)
CETC 20 Research Institute
Original Assignee
CETC 20 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 CETC 20 Research Institute filed Critical CETC 20 Research Institute
Priority to CN201410626293.4A priority Critical patent/CN104394029B/en
Publication of CN104394029A publication Critical patent/CN104394029A/en
Application granted granted Critical
Publication of CN104394029B publication Critical patent/CN104394029B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供了一种基于混合通道的AFDX总线检测方法,首先明确被测设备的型号,统计被测设备的AFDX物理通道数量;然后根据生成的配置表文件分别打开每个物理仿真卡的AFDX终端端口;对AFDX总线物理通道的测试选项进行选择,将接收到的一种或多种通道的回传测试数据进行样本比对或有效性判断,得出最终的测试结果,生成最终的测试报告。本发明仅使用一台独立的AFDX总线综合测试平台就能够实现对多台航空电子设备的功能和性能进行实时高效的分布式检测,实现更为高效和简便的AFDX总线测试,极大的节省了财力与人力。

The invention provides an AFDX bus detection method based on mixed channels. Firstly, the model of the device under test is specified, and the number of AFDX physical channels of the device under test is counted; then the AFDX terminal of each physical simulation card is opened respectively according to the generated configuration table file Port: Select the test option of the AFDX bus physical channel, compare the received test data of one or more channels for sample comparison or validity judgment, obtain the final test result, and generate the final test report. The present invention only uses one independent AFDX bus comprehensive test platform to realize real-time and efficient distributed detection of the functions and performances of multiple avionics devices, and realizes a more efficient and convenient AFDX bus test, which greatly saves Financial and human resources.

Description

一种基于混合通道的AFDX总线检测方法A Method of AFDX Bus Detection Based on Mixed Channels

技术领域technical field

本发明属于航空总线测试技术领域,涉及航空电子全双工交换式以太网(Avionics Full Duplex Switched Ethernet)的多个终端和多种通道实时总线监控与测试方法。The invention belongs to the technical field of aviation bus testing, and relates to a real-time bus monitoring and testing method for multiple terminals and multiple channels of an avionics full duplex switched Ethernet (Avionics Full Duplex Switched Ethernet).

背景技术Background technique

AFDX全称为航空电子全双工交换式以太网(Avionics Full Duplex SwitchedEthernet),它是为在航空电子系统之间进行数据交换而定义的一种协议标准,是基于ARINC429和1553B基础之上的一种总线通信协议规范(ARINC 664 Part7)。AFDX网络通过对传统的以太网技术进行改进,凭借其虚链路技术,双冗余管理,通信网络延迟的可确定性等优越的网络通信性能,已成为新一代航空电子系统数据传输网络。AFDX网络源于以交换机为核心的交换式以太网,它与典型的以太网有着类似的组成和通信模式,但是由于其诞生之时起就面向航空电子设备,所以AFDX总线有着高安全性、确定性和可靠性,并形成了ARINGC 664系列的相关标准。AFDX stands for Avionics Full Duplex Switched Ethernet (Avionics Full Duplex Switched Ethernet), which is a protocol standard defined for data exchange between avionics systems, and is based on ARINC429 and 1553B. Bus communication protocol specification (ARINC 664 Part7). AFDX network has become a new generation of avionics system data transmission network by improving the traditional Ethernet technology, relying on its superior network communication performance such as virtual link technology, dual redundancy management, and deterministic communication network delay. The AFDX network is derived from the switched Ethernet with the switch as the core. It has a similar composition and communication mode to the typical Ethernet, but since it was born for avionics equipment, the AFDX bus has high security and certainty. performance and reliability, and formed the related standards of ARINGC 664 series.

随着国产大飞机项目引入国内,各种基于AFDX总线技术的设备研制正加速展开,虽然国外对AFDX总线技术有着较为成熟和系统的测试技术,但仅限于物理层和链路层,如何实现基于多种混合通道技术对机载设备的功能和性能进行分布式测试成为了国内目前AFDX研究的主要领域。With the introduction of the domestic large aircraft project into China, the development of various equipment based on AFDX bus technology is accelerating. Although foreign countries have relatively mature and systematic testing technology for AFDX bus technology, it is limited to the physical layer and link layer. Distributed testing of the function and performance of airborne equipment by a variety of mixed channel technologies has become the main field of AFDX research in China.

发明内容Contents of the invention

为了克服现有技术中商用板卡和其配套软件仅局限于物理层和链路层的数据捕获,对上层网络层和应用层未覆盖的不足,本发明提供一种基于混合通道的AFDX总线检测方法,通过使用单通道和多通道的混合通道检测技术,实现对多种AFDX终端设备的实时分布式远程检测,根据这些终端设备的功能与性能特点,重点定制了的功能模拟、性能考核、实时检测、结果汇总与分析等功能,达到了不必通过AFDX交换机而实现多种航空电子设备AFDX终端的分布式检测。In order to overcome the deficiency that commercial boards and their supporting software in the prior art are only limited to the data capture of the physical layer and the link layer, and do not cover the upper network layer and application layer, the present invention provides a hybrid-channel-based AFDX bus detection Method, through the use of single-channel and multi-channel mixed-channel detection technology, realize real-time distributed remote detection of various AFDX terminal equipment, according to the functions and performance characteristics of these terminal equipment, focus on customized function simulation, performance assessment, The functions of detection, result summary and analysis have achieved the distributed detection of various avionics equipment AFDX terminals without using the AFDX switch.

本发明解决其技术问题所采用的技术方案包括以下步骤:The technical solution adopted by the present invention to solve its technical problems comprises the following steps:

1)明确被测设备的型号,统计被测设备的AFDX物理通道数量;1) Specify the model of the device under test, and count the number of AFDX physical channels of the device under test;

2)根据每个AFDX物理通道的接口ICD配置,依据AFDX仿真卡的数量自动生成同样数量的AFDX配置表文件,一块AFDX仿真卡对应配置一张AFDX配置表;按照AFDX链路接口的数据内容,编辑每1个AFDX终端的端口1和端口2的虚拟链路号、源端口号、目的端口号、UDP端口号和MTU,生成配置表文件;2) According to the interface ICD configuration of each AFDX physical channel, the same number of AFDX configuration table files are automatically generated according to the number of AFDX simulation cards, and one AFDX simulation card is correspondingly configured with one AFDX configuration table; according to the data content of the AFDX link interface, Edit the virtual link number, source port number, destination port number, UDP port number and MTU of port 1 and port 2 of each AFDX terminal, and generate a configuration table file;

3)根据AFDX配置表分别调用AFDX仿真卡驱动程序封装的API函数,分别打开每个物理仿真卡的AFDX终端端口;3) According to the AFDX configuration table, call the API function encapsulated by the AFDX emulation card driver, and open the AFDX terminal port of each physical emulation card;

4)根据不同航空电子设备的测试需求,对AFDX总线物理通道的测试选项进行选择,包括单通道、多通道和混合通道选择;每种通道的测试过程如下:4) According to the test requirements of different avionics equipment, select the test options of the AFDX bus physical channel, including single channel, multi-channel and mixed channel selection; the test process of each channel is as follows:

a)单通道测试过程:完成1个AFDX仿真卡的1个终端通道设置,首先选择该通道的测试项数量,其次调用按照接口ICD配置而生成的单通道测试用例;然后将这些测试用例进行排序,事件性或周期性通过AFDX总线单通道向被测试设备发送,同时收取被测试设备的回传测试结果;a) Single-channel test process: complete the setting of one terminal channel of one AFDX emulation card, first select the number of test items for this channel, and then call the single-channel test cases generated according to the interface ICD configuration; then sort these test cases , event or periodically send to the device under test through a single channel of the AFDX bus, and receive the return test result of the device under test at the same time;

b)多通道测试过程:对1个AFDX仿真卡的2个终端通道进行设置,首先分别选择终端A和终端B通道的测试项种类与数量,如果终端A和终端B通道的种类相同,使用同一种类的测试项就能够完成测试,如果种类不同则需要分别选择终端A和终端B通道的测试项数量;其次调用按照接口ICD配置而生成的多通道测试用例;然后将这些测试用例按照测试顺序事件性或周期性通过AFDX总线终端A和终端B通道向被测试设备发送,同时收取这些通道中被测试设备的回传测试结果;b) Multi-channel test process: To set the two terminal channels of an AFDX emulation card, first select the type and quantity of test items for the terminal A and terminal B channels respectively. If the types of the terminal A and terminal B channels are the same, use the same Test items of different types can complete the test. If the types are different, you need to select the number of test items for the terminal A and terminal B channels respectively; secondly, call the multi-channel test cases generated according to the interface ICD configuration; and then use these test cases according to the test order Periodically or periodically send to the device under test through the AFDX bus terminal A and terminal B channels, and at the same time receive the return test results of the device under test in these channels;

c)混合通道测试过程:对多个AFDX仿真卡的多个终端通道进行设置,分别配置每一块仿真卡的每一个终端通道的测试项种类与数量,分别调用按照接口ICD配置而生成的每个测试通道的测试用例;然后将这些测试用例按照不同的测试通道进行排序,事件性或周期性通过多个混合通道向被测试设备发送,同时收取这些通道中被测试设备的回传测试结果;c) Mixed channel test process: set multiple terminal channels of multiple AFDX emulation cards, respectively configure the type and quantity of test items for each terminal channel of each emulation card, and call each of the test items generated according to the interface ICD configuration. Test cases of the test channel; then sort these test cases according to different test channels, send them to the device under test through multiple mixed channels in an event or periodic manner, and collect the return test results of the device under test in these channels;

5)将接收到的一种或多种通道的回传测试数据进行样本比对或有效性判断,得出最终的测试结果,生成最终的测试报告。5) Perform sample comparison or validity judgment on the received return test data of one or more channels, obtain the final test result, and generate the final test report.

本发明的有益效果是:实现了仅使用一台独立的AFDX总线综合测试平台,不需通过连接和配置AFDX交换机,就能够通过多块AFDX板卡的混合通道技术,使用应用软件调用多种航空电子设备的网络配置与测试数据选项,从而实现对多台航空电子设备的功能和性能进行实时高效的分布式检测。本发明中基于混合通道的AFDX总线测试技术,解决了先前AFDX总线测试仅集中于物理层和链路层并且需要配置复杂的交换机才能实现的多种航空电子设备的分布式并行测试,改进为不仅可以测试AFDX总线测试物理层和链路层,还可以通过软件调用不同的航空电子设备数据配置来测试网络层和应用层,实现更为高效和简便的AFDX总线测试,极大的节省了财力与人力。The beneficial effect of the present invention is that only one independent AFDX bus comprehensive test platform is used, and it is not necessary to connect and configure the AFDX switch, and it is possible to use the application software to call a variety of aviation Network configuration and test data options of electronic equipment, so as to realize real-time and efficient distributed detection of the functions and performance of multiple avionics equipment. The AFDX bus test technology based on the mixed channel in the present invention solves the distributed parallel test of various avionics equipment that the previous AFDX bus test only focuses on the physical layer and the link layer and needs to configure complex switches to realize, and is improved to not only It can test the AFDX bus to test the physical layer and link layer, and can also call different avionics data configurations to test the network layer and application layer through software, so as to realize more efficient and convenient AFDX bus test, which greatly saves financial resources and manpower.

附图说明Description of drawings

图1是AFDX虚拟链路原理示意图;Figure 1 is a schematic diagram of the principle of the AFDX virtual link;

图2是传统AFDX总线测试系统组成示意图;Figure 2 is a schematic diagram of the traditional AFDX bus test system;

图3是AFDX总线综合测试平台组成示意图;Figure 3 is a schematic diagram of the composition of the AFDX bus comprehensive test platform;

图4是AFDX总线综合测试平台测试流程图。Fig. 4 is a test flow chart of the AFDX bus comprehensive test platform.

具体实施方式detailed description

下面结合附图和实施例对本发明进一步说明,本发明包括但不仅限于下述实施例。The present invention will be further described below in conjunction with the accompanying drawings and embodiments, and the present invention includes but not limited to the following embodiments.

本发明为大飞机航空电子设备分布式与综合化测试提供了一条实时、高效和准确的测量技术。该总线检测方法是基于大飞机的航空电子设备的AFDX总线技术实现,重点定制了若干航空电子设备的全部功能与主要性能的动态监控、实时检测、故障统计与分析等功能。The invention provides a real-time, high-efficiency and accurate measurement technology for the distributed and integrated testing of large aircraft avionics equipment. The bus detection method is realized based on the AFDX bus technology of the avionics equipment of large aircraft, focusing on customizing the functions of dynamic monitoring, real-time detection, fault statistics and analysis of all functions and main performance of several avionics equipment.

通过使用两块以上基于PCI接口的AFDX仿真卡嵌入到AFDX总线综合测试平台中,通过加载不同的AFDX网络配置表文件,调用已开发完成的应用软件处理模块,使用AFDX总线混合通道测试技术,来实现对多种航空电子设备的分布式检测。By embedding two or more AFDX emulation cards based on PCI interface into the AFDX bus comprehensive test platform, by loading different AFDX network configuration table files, calling the developed application software processing module, and using the AFDX bus mixed channel test technology, to Realize distributed detection of various avionics equipment.

本发明实现的主要功能如下:The main functions realized by the present invention are as follows:

1.实现AFDX仿真卡单通道、多通道或混合通道配置;1. Realize AFDX emulation card single-channel, multi-channel or mixed-channel configuration;

2.实现通用单通道物理层数据测试项选择与监测;2. Realize the selection and monitoring of general single-channel physical layer data test items;

3.实现通用多通道物理层数据测试项选择与监测;3. Realize the selection and monitoring of general multi-channel physical layer data test items;

4.实现多个航空电子设备混合通道数据测试项选择与监测;4. Realize the selection and monitoring of multiple avionics equipment mixed channel data test items;

5.对多种通道数据测试结果分析与评估;5. Analyze and evaluate the test results of various channel data;

本发明的具体检测过程如下:Concrete detection process of the present invention is as follows:

1.根据测试需求生成配置表文件,实现AFDX板卡初始化;1. Generate a configuration table file according to the test requirements to realize the initialization of the AFDX board;

根据对航空电子设备的功能和性能测试需求,可以使用应用测试软件根据每个测试通道的接口ICD配置,按照AFDX仿真卡的数量自动生成同样数量的AFDX配置表文件。根据配置表文件即可打开相应的AFDX终端端口,完成AFDX板卡初始化。According to the function and performance test requirements of avionics equipment, the application test software can be used to automatically generate the same number of AFDX configuration table files according to the number of AFDX simulation cards according to the interface ICD configuration of each test channel. According to the configuration table file, the corresponding AFDX terminal port can be opened to complete the initialization of the AFDX board.

2.调用被测试设备混合通道测试项选项2. Call the mixed channel test item option of the device under test

不同的航空电子设备的功能与性能检测需求不同,通过自主研发的应用软件动态调用已编辑好的相应航空电子设备的测试模块与物理AFDX终端进行软件匹配。应用软件可以根据测试选项的不同对进行相应软件模块的处理流程调用。主要包括单通道物理层数据测试选项、多通道物理层数据测试选项和混合通道物理与应用层测试选项。Different avionics devices have different functions and performance testing requirements. The self-developed application software dynamically invokes the edited test modules of corresponding avionics devices and performs software matching with the physical AFDX terminal. The application software can call the processing flow of the corresponding software module according to the different test options. It mainly includes single-channel physical layer data test options, multi-channel physical layer data test options and mixed-channel physical and application layer test options.

3.完成对被测试设备功能和性能的自动检测,生成测试报告。3. Complete the automatic detection of the function and performance of the tested equipment, and generate a test report.

完成混合通道的测试项调用后,通过软件自动调用测试数据对被测航空电子设备的功能和性能进行逐项测试。应用软件根据比对预计的检测数据与实际回传的检测数据差异,逐项生成对每一台被测试航空电子设备的测试报告,并进行汇总显示。After the call of the test items of the mixed channel is completed, the function and performance of the avionics under test are tested item by item by automatically calling the test data through the software. The application software generates a test report for each tested avionics item by item based on the difference between the expected test data and the actual returned test data, and displays them in summary.

该方法为大飞机航空电子设备分布式与综合化测试提供了一条实时、高效和准确的测量技术。该总线检测方法是基于AFDX总线混合通道测试技术来实现大飞机的多种航空电子设备的AFDX总线,重点定制了若干航空电子设备的全部功能与主要性能的动态监控、实时检测、故障统计与分析等功能。达到了不必通过AFDX交换机而实现多种航空电子设备AFDX终端的分布式检测。This method provides a real-time, efficient and accurate measurement technology for distributed and integrated testing of large aircraft avionics equipment. The bus detection method is based on the AFDX bus mixed channel test technology to realize the AFDX bus of various avionics equipment of large aircraft, and focuses on customizing the dynamic monitoring, real-time detection, fault statistics and analysis of all functions and main performance of several avionics equipment and other functions. The distributed detection of various avionics equipment AFDX terminals can be realized without going through the AFDX switch.

由图1可以看出,在航电系统AFDX终端一定需要通过一个VL进行数据帧的交换,可以说VL是AFDX的通讯基础。Virtual Link(虚拟链路)是一个概念上的通讯通道,每个VL都定义了一个逻辑上单向的连接,即从一个源端系统到一个或多个目的端系统。每一个VL在逻辑上是互相隔离的,而且每个VL都有专门的带宽保证,多个VL的数据传输在有效的带宽内相互不影响。一个典型的AFDX端系统之间,必定有两条独立的物理路径即端口A和端口B,这两个ES终端组成了AFDX总线的数据传输途径,如图1所示每帧数据都会从源ES终端的同时通过两路物理路径传输到目的ES终端,目的ES终端接收到第一个有效的帧后,立刻会上传给应用程序处理;当目的ES终端一旦接收到一个有效数据帧后,后面相同顺序号的帧就会被丢弃。It can be seen from Figure 1 that the AFDX terminal in the avionics system must exchange data frames through a VL. It can be said that the VL is the communication basis of AFDX. Virtual Link (virtual link) is a conceptual communication channel, and each VL defines a logical one-way connection, that is, from a source system to one or more destination systems. Each VL is logically isolated from each other, and each VL has a dedicated bandwidth guarantee, and the data transmission of multiple VLs does not affect each other within the effective bandwidth. Between a typical AFDX end system, there must be two independent physical paths, port A and port B. These two ES terminals form the data transmission path of the AFDX bus. As shown in Figure 1, each frame of data will be sent from the source ES The terminal is transmitted to the destination ES terminal through two physical paths at the same time. After receiving the first valid frame, the destination ES terminal will immediately upload it to the application program for processing; once the destination ES terminal receives a valid data frame, the following is the same Frames with sequence numbers are discarded.

由图2可以看出,传统的AFDX总线测试系统主要由显控主机、单个商用AFDX仿真卡、商用测试软件、AFDX交换机构成。首先显控主机中仅能安装1块商用AFDX仿真卡,所以要对多个航空电子设备进行测试时,必须要连接与仿真卡配套使用的商用AFDX交换机,通过复杂的AFDX交换机配置才能实现对多个航空电子设备的多个通道进行测试,当测试对象改变时,还必须重新对AFDX交换机进行配置。其次该系统的测试软件一般选用开发商成熟的商用测试软件,仅能实现简单AFDX总线物理层和链路层监测,无法针对航空电子设备进行网络层和应用层的定制,而且进行二次软件开发时也无法支持单通道与多通道混合使用的策略,较大的限制了测试灵活性。It can be seen from Figure 2 that the traditional AFDX bus test system is mainly composed of a display and control host, a single commercial AFDX simulation card, commercial test software, and an AFDX switch. First of all, only one commercial AFDX emulation card can be installed in the display and control host, so when testing multiple avionics devices, it must be connected to a commercial AFDX switch that is used with the emulation card, and multiple AFDX switches can be configured through complex AFDX switches. To test multiple channels of an avionics device, the AFDX switch must be reconfigured when the test object changes. Secondly, the test software of the system generally uses mature commercial test software from developers, which can only realize simple AFDX bus physical layer and link layer monitoring, and cannot customize the network layer and application layer for avionics equipment, and carry out secondary software development At the same time, it cannot support the strategy of mixing single-channel and multi-channel, which greatly limits the flexibility of testing.

由图3可以看出,本发明的AFDX总线综合测试平台主要由三部分构成:显控主机、应用测试软件和AFDX仿真卡。其中应用测试软件运行与显控主机上,AFDX仿真卡通过PCI总线插入到显控主机中。在该测试平台中,目前使用两块AFDX仿真卡来进行测试,每块AFDX仿真卡包含ES1和ES2两个终端接口。具体的组成及相关要求如下。It can be seen from Fig. 3 that the AFDX bus comprehensive test platform of the present invention is mainly composed of three parts: display and control host, application test software and AFDX simulation card. The application test software runs on the display and control host, and the AFDX simulation card is inserted into the display and control host through the PCI bus. In this test platform, two AFDX simulation cards are currently used for testing, and each AFDX simulation card includes two terminal interfaces ES1 and ES2. The specific composition and related requirements are as follows.

1.显控主机1. Display and control host

显控主机硬件配置应选择不低于以下的配置:1Ghz以上处理器,512Mb以上内存,100Gb以上硬盘。应安装两块以上PCI接口的AFDX仿真板卡。The hardware configuration of the display control host should not be lower than the following: processor above 1Ghz, memory above 512Mb, hard disk above 100Gb. More than two AFDX simulation boards with PCI interface should be installed.

显控主机操作系统应配置windows2000或windows xp或windows vista中的一种,并且已经成功安装了Visual C++6.0以上版本。Display control host operating system should configure one of windows2000 or windows xp or windows vista, and has successfully installed Visual C++6.0 or above.

显控主机应安装完成所选AFDX仿真卡的相关驱动程序,能够正常打开AFDX仿真卡的操作软件。The display and control host should install the relevant driver program of the selected AFDX emulation card, and be able to open the operating software of the AFDX emulation card normally.

2.应用测试软件2. Application test software

运行于显控主机的windows操作系统下,采用面向对象的编程架构,主要完成人机交互、AFDX仿真卡单通道或多通道配置、通用单通道数据测试项选择、通用单通道数据项监测、通用单通道数据项测试统计分析、各个航空电子设备专用程序混合通道测试项选择、专用程序混合通道数据项监测、专用程序混合通道发送数据项选择、专用程序混合通道接收数据项显示和专用程序混合通道测试结果分析。It runs under the windows operating system of the display and control host, adopts an object-oriented programming framework, and mainly completes human-computer interaction, AFDX emulation card single-channel or multi-channel configuration, general single-channel data test item selection, general single-channel data item monitoring, general Statistical analysis of single-channel data item test, selection of test items of mixed channel of special program for each avionics equipment, monitoring of data item of mixed channel of special program, selection of data item sent by mixed channel of special program, display of data item received by mixed channel of special program and mixed channel of special program Analysis of test results.

3.AFDX仿真卡3. AFDX emulation card

目前AFDX总线综合测试平台所使用的AFDX仿真板卡是国内某研究所自主研发的仿真板卡,这种板卡的最大优势就是在严格满足ARINC 664 PART 7标准前提下,可以实现多块板卡集成到一个综合测试平台上,同时可以支持上层应用软件并行调用,从而能够支持基于混合通道的AFDX总线测试技术。At present, the AFDX simulation board used in the AFDX bus comprehensive test platform is a simulation board independently developed by a domestic research institute. The biggest advantage of this board is that it can realize multiple boards under the premise of strictly meeting the ARINC 664 PART 7 standard. It is integrated into a comprehensive test platform, and can support parallel calls of upper-layer application software, so as to support AFDX bus test technology based on mixed channels.

由图4可以看出,本发明的具体检测方法的步骤如下:As can be seen from Fig. 4, the steps of the concrete detection method of the present invention are as follows:

1)明确测试设备型号与所需端口数量;1) Specify the type of test equipment and the number of ports required;

由于本发明可以通过AFDX总线对多个航空电子设备进行功能和性能分布式和并行测试,每一个设备的AFDX总线通道所传内容和格式都不尽相同,所以需要统计被测试设备的AFDX物理通道数量,通过专用连线使之与AFDX总线综合测试平台进行连接。Since the present invention can perform distributed and parallel tests on the functions and performances of multiple avionics devices through the AFDX bus, the contents and formats transmitted by the AFDX bus channels of each device are different, so it is necessary to count the AFDX physical channels of the tested devices The quantity is connected with the AFDX bus comprehensive test platform through a dedicated connection.

2)按需生成AFDX配置表;2) Generate AFDX configuration table on demand;

在初步确定了所需测试的AFDX物理通道数量后,根据每个测试通道的接口ICD配置,依据AFDX仿真卡的数量自动生成同样数量的AFDX配置表文件,即一块AFDX仿真卡对应配置一张AFDX配置表。按照AFDX链路接口的数据内容,编辑每1个AFDX终端的端口1和端口2的虚拟链路号、源端口号、目的端口号、UDP端口号和MTU,生成配置表文件。After preliminarily determining the number of AFDX physical channels to be tested, according to the interface ICD configuration of each test channel, the same number of AFDX configuration table files are automatically generated according to the number of AFDX simulation cards, that is, one AFDX simulation card is correspondingly configured with one AFDX configuration table. According to the data content of the AFDX link interface, edit the virtual link number, source port number, destination port number, UDP port number and MTU of port 1 and port 2 of each AFDX terminal to generate a configuration table file.

3)打开相应的AFDX端口;3) Open the corresponding AFDX port;

根据AFDX配置表中的相关配置信息,分别调用AFDX仿真卡驱动程序封装的API函数,分别打开每个物理仿真卡的AFDX终端端口,完成测试准备工作。According to the relevant configuration information in the AFDX configuration table, the API functions encapsulated by the AFDX emulation card driver are called respectively, and the AFDX terminal ports of each physical emulation card are respectively opened to complete the test preparation.

4)调用被测试设备混合通道测试项选项;4) Call the mixed channel test item option of the device under test;

根据不同航空电子设备的测试需求,对AFDX总线物理通道的测试选项进行选择,目前AFDX总线综合测试平台支持三种选择:单通道、多通道和混合通道选择。每种通道的测试过程如下:According to the test requirements of different avionics equipment, the test options of the AFDX bus physical channel are selected. At present, the AFDX bus comprehensive test platform supports three options: single channel, multi-channel and mixed channel selection. The testing process for each channel is as follows:

a)单通道测试过程:a) Single channel test process:

单通道的测试方法流程相对简单,只需完成1个AFDX仿真卡的1个终端通道设置即可。首先选择该通道的测试项数量,即要通过该通道对被检测设备完成多少项的检测;其次调用按照接口ICD配置而生成的单通道测试用例;然后将这些测试用例进行排序,事件性或周期性通过AFDX总线单通道向被测试设备发送,同时收取被测试设备的回传测试结果,完成单通道自动检测。The process of the single-channel test method is relatively simple, and only one terminal channel setting of one AFDX emulation card needs to be completed. Firstly, select the number of test items for this channel, that is, how many items to detect on the device to be tested through this channel; secondly, call the single-channel test cases generated according to the interface ICD configuration; then sort these test cases, event or cycle It can be sent to the device under test through a single channel of the AFDX bus, and at the same time receive the return test result of the device under test to complete the single channel automatic detection.

b)多通道测试过程:b) Multi-channel test process:

多通道的测试方法需要对1个AFDX仿真卡的2个终端通道进行设置。首先分别选择终端A和终端B通道的测试项种类与数量,如果终端A和终端B通道的种类相同,使用同一种类的测试项就能够完成测试,如果种类不同则需要分别选择终端A和终端B通道的测试项数量;其次调用按照接口ICD配置而生成的多通道测试用例;然后将这些测试用例按照测试顺序事件性或周期性通过AFDX总线终端A和终端B通道向被测试设备发送,同时收取这些通道中被测试设备的回传测试结果,完成多通道自动检测。The multi-channel test method needs to set up two terminal channels of one AFDX emulation card. First, select the type and quantity of test items for the channels of terminal A and terminal B respectively. If the types of channels of terminal A and terminal B are the same, the test can be completed by using the same type of test items. If the types are different, you need to select terminal A and terminal B respectively. The number of test items of the channel; secondly, call the multi-channel test cases generated according to the interface ICD configuration; then send these test cases to the device under test through the AFDX bus terminal A and terminal B channels according to the test sequence event or period, and receive The test results of the devices under test in these channels are returned to complete multi-channel automatic detection.

c)混合通道测试过程:c) Mixed channel test process:

混合通道的测试方法需要对多个AFDX仿真卡的多个终端通道进行设置。本发明以两个AFDX仿真卡为例,首先分别配置第一块仿真卡的终端A和终端B通道的测试项种类与数量,然后再配置第二块仿真卡的终端A和终端B通道的测试项种类与数量;由于是选择混合通道,相邻通道的种类都不相同,需要分别选择每一个测试通道的测试项种类与数量;其次分别调用按照接口ICD配置而生成的每个测试通道的测试用例;然后将这些测试用例按照不同的测试通道进行排序,事件性或周期性通过多个混合通道向被测试设备发送,同时收取这些通道中被测试设备的回传测试结果,完成混合通道自动检测。The test method of mixed channels needs to set up multiple terminal channels of multiple AFDX emulation cards. The present invention takes two AFDX emulation cards as an example, first configure the test item types and quantities of the terminal A and terminal B channels of the first emulation card respectively, and then configure the test of the terminal A and terminal B channels of the second emulation card The type and quantity of items; since the mixed channel is selected, the types of adjacent channels are different, it is necessary to select the type and quantity of test items for each test channel separately; secondly, call the test of each test channel generated according to the interface ICD configuration use cases; then these test cases are sorted according to different test channels, event or periodic are sent to the device under test through multiple mixed channels, and at the same time, the return test results of the tested device in these channels are collected to complete the automatic detection of the mixed channel .

5)生成测试报告;5) Generate a test report;

通过调用不用的软件模块实现对被测试设备的自动测试后,接收到一种或多种通道的回传测试数据,通过将这些数据进行样本比对或有效性判断,从而得出最终的测试结果。按照不同的被测试设备的测试性是否通过而生成最终的测试报告。After automatic testing of the equipment under test by calling unused software modules, the test data returned by one or more channels is received, and the final test result is obtained by comparing these data with samples or valid judgments . The final test report is generated according to whether the testability of different tested equipment is passed.

本技术可以应用到多个航电设备综合测试系统中,可以最大限度的节省对多个航电设备测试的灵活度和复杂度。This technology can be applied to multiple avionics equipment comprehensive test systems, which can save the flexibility and complexity of multiple avionics equipment tests to the greatest extent.

以上所述的一种基于混合通道的AFDX总线检测技术方法,并不构成对本技术保护范围的限定。任何在本技术的新型的精神和原则之内所作的修改等同替换和改进等,均应包含在本技术新型的权利要求保护范围之内。The above-mentioned AFDX bus detection technology method based on mixed channels does not constitute a limitation to the protection scope of this technology. Any modifications, equivalent replacements and improvements made within the spirit and principles of the new technology should be included in the protection scope of the claims of the new technology.

Claims (1)

1. the total line detecting methods of a kind of AFDX based on hybrid channel, it is characterised in that comprise the steps:
1) model of clear and definite equipment under test, counts the AFDX physical channels quantity of equipment under test;
2) configured according to each AFDX LI(link interface)s ICD, the quantity according to AFDX artificial cards automatically generates same amount of AFDX Configure list file, one piece of AFDX artificial cards correspondence one AFDX allocation list of configuration;According to the data content of AFDX LI(link interface)s, compile The port 1 of every 1 AFDX terminal and virtual link number, source port number, destination slogan, UDP port number and the MTU of port 2 are collected, Generation configuration list file;
3) call AFDX to emulate the api function that card driver is encapsulated respectively according to AFDX allocation lists, each AFDX is opened respectively The AFDX terminal prots of artificial card;
4) according to the testing requirement of different avionic devices, the test option of AFDX bus physical passages is selected, wrapped Include single channel, multichannel and hybrid channel selection;The test process of every kind of passage is as follows:
A) single channel test process:1 terminal passageway for completing 1 AFDX artificial card is set, and the test of the passage is selected first Item quantity, next calls the single channel test case for configuring and generating according to interface ICD;Then these test cases are arranged Sequence, event or periodically through AFDX buses single channel to be devices under send, while collecting the passback being devices under Test result;
B) multiple channel test process:2 terminal passageways to 1 AFDX artificial card are configured, first respectively selection terminal A and The test item species and quantity of terminal channel B, if terminal A is identical with the species of terminal channel B, use same kind of test Item can just complete test, need to select the test item quantity of terminal A and terminal channel B respectively if species is different;Secondly Call the multiple channel test use-case for configuring and generating according to interface ICD;Then by these test cases according to testing sequence event Property or periodically through AFDX bus terminations A and terminal channel B to being devices under sending, be tested while collecting in these passages Try the passback test result of equipment;
C) hybrid channel test process:Multiple terminal passageways to multiple AFDX artificial cards are configured, and are respectively configured each piece The test item species and quantity of each terminal passageway of artificial card, call respectively according to interface ICD configure and generate it is each The test case of TCH test channel;Then these test cases are ranked up according to different TCH test channels, event or cycle Property by multiple hybrid channels to be devices under send, while collect be devices under in these passages passback test knot Really;
5) the passback test data of the one or more passages received is subjected to sample comparison or Effective judgement, drawn final Test result, generate final test report.
CN201410626293.4A 2014-11-10 2014-11-10 A kind of total line detecting methods of AFDX based on hybrid channel Active CN104394029B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410626293.4A CN104394029B (en) 2014-11-10 2014-11-10 A kind of total line detecting methods of AFDX based on hybrid channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410626293.4A CN104394029B (en) 2014-11-10 2014-11-10 A kind of total line detecting methods of AFDX based on hybrid channel

Publications (2)

Publication Number Publication Date
CN104394029A CN104394029A (en) 2015-03-04
CN104394029B true CN104394029B (en) 2017-10-20

Family

ID=52611865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410626293.4A Active CN104394029B (en) 2014-11-10 2014-11-10 A kind of total line detecting methods of AFDX based on hybrid channel

Country Status (1)

Country Link
CN (1) CN104394029B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105188077A (en) * 2015-08-12 2015-12-23 深圳市广和通无线股份有限公司 Communication module test method and system
CN105376118B (en) * 2015-12-12 2018-08-21 中国航空工业集团公司西安航空计算技术研究所 A kind of test method of AFDX interchangers sending performance
CN106776192B (en) * 2016-12-28 2023-09-19 上海埃威航空电子有限公司 Multifunctional simulation bus test equipment
CN107968722B (en) * 2017-11-10 2020-11-13 中国航空工业集团公司西安航空计算技术研究所 Method for converting interface control file into AFDX (avionics full Duplex switched Ethernet) network equipment configuration file
CN109218005B (en) * 2018-11-15 2021-03-23 苏州裕太微电子有限公司 Parallel detection method of Ethernet equipment without auto-negotiation signal
CN110166316B (en) * 2019-05-09 2022-05-17 中国航空工业集团公司西安航空计算技术研究所 Test method of AFDX (avionics full Duplex switched Ethernet) network selection module
CN111770001A (en) * 2020-06-11 2020-10-13 中国民航大学 A system and method for detecting transmission characteristics of AFDX bus
CN112181850B (en) * 2020-10-27 2023-07-07 中航雷华柯林斯(无锡)航空电子设备有限公司 Comprehensive monitoring system software test platform
CN112256512B (en) * 2020-10-27 2024-05-07 重庆航天工业有限公司 GLINK bus-based verification and test universal system
CN112737872B (en) * 2020-12-11 2022-07-26 中国航空工业集团公司西安航空计算技术研究所 ARINC664P7 end system cross-network testing system and method
CN116647490A (en) * 2023-04-03 2023-08-25 中航西安飞机工业集团股份有限公司 An Aviation AFDX Network Data Detection System

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6069873A (en) * 1997-10-01 2000-05-30 U S West, Inc. Closed-loop automated testing of system equipment and management
CN102387044A (en) * 2011-06-27 2012-03-21 中国商用飞机有限责任公司 Method for testing communication network
CN103873324A (en) * 2014-03-17 2014-06-18 中国航空无线电电子研究所 Universal bus testing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6069873A (en) * 1997-10-01 2000-05-30 U S West, Inc. Closed-loop automated testing of system equipment and management
CN102387044A (en) * 2011-06-27 2012-03-21 中国商用飞机有限责任公司 Method for testing communication network
CN103873324A (en) * 2014-03-17 2014-06-18 中国航空无线电电子研究所 Universal bus testing system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
AFDX航空总线仿真测试机上研究;彭寒等;《西安航空技术高等专科学校学报》;20100930;第10-13页 *
基于AFDX总线的端系统测试技术;李健;《现代电子技术》;20120401;第40-42页 *
基于AFDX的网络测试与仿真技术设备研究;陈元;《电工技术学报》;20130902;第66-70页 *

Also Published As

Publication number Publication date
CN104394029A (en) 2015-03-04

Similar Documents

Publication Publication Date Title
CN104394029B (en) A kind of total line detecting methods of AFDX based on hybrid channel
US11595289B2 (en) Network testing using a programmable packet engine
CN101977133B (en) A 1553B bus network simulation system suitable for spacecraft systems
CN102092477A (en) Device and method for automatic test and fault diagnosis of plane audio integrated system
CN110493079A (en) Production Automation Test Method of Industrial Ethernet Switch
CN103048984A (en) Multi-channel ARINC(aeronautical radio incorporated) 700 bus monitoring device and realizing method thereof
CN103761185B (en) A kind of automatization test system and method
CN105634869A (en) Network equipment throughput detecting system
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN110632410A (en) An intelligent debugging system for intelligent substation automation equipment and its application method
CN104638761B (en) Packet sensing and packet simulation verification based GOOSE (generic object oriented substation event) virtual terminal connection method
CN117851314A (en) Design method and system of full-motion flight simulator interface
CN102750143A (en) Digital signal processing (DSP) developing method based on matrix laboratory (MATLAB) component object model (COM) component calling
CN102761488B (en) High-speed full duplex switched Ethernet controller
CN107241241A (en) A kind of Network records analytical equipment performance test methods
CN201072431Y (en) Broadband aviation electronic bus testing device
CN205484619U (en) Microwave device automatic test system
CN103647760B (en) The MMS communication platforms and its access method of a kind of intelligent transformer substation digital protection device
CN109633414B (en) Backboard testing device and method based on ATCA (advanced telecom computing architecture)
CN104348756B (en) Switch system
CN101958816A (en) High speed core switching equipment testing system and testing method thereof
CN217543320U (en) Single board test system based on FPGA
CN1398123A (en) System for testing functions of broad-band switch device
CN105044552A (en) Fault diagnosis method, system and device for distribution network automation system
CN110213083A (en) A kind of novel and multifunctional power communication network tester

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant