Airborne AFDX network switch test architecture design method based on Ethernet switch

Through the test architecture design method based on Ethernet switches, parallel testing of multiple AFDX network switches is realized, solving the problem of high hardware costs of existing test systems and realizing a low-cost and efficient test solution.

CN119561852APending Publication Date: 2025-03-04SHANGHAI ZONGQUE INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411736077.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

The existing AFDX network switch test system has high costs in terms of hardware costs, especially the need to configure multiple AFDX simulation cards or AFDX standard switch prototypes, resulting in higher testing system costs.

Method used

The test architecture design method based on Ethernet switch is adopted to interconnect the port of the AFDX network switch with the multicast link Ethernet switch, and parallel data forwarding tests of multiple AFDX network switches are realized through parallel data forwarding Ethernet switches and AFDX simulation cards, and the internal forwarding links of the Ethernet switch are transformed to ensure that the data forwarding direction is directional and realize layer two data isolation.

Benefits of technology

It realizes a parallel test system for multiple airborne AFDX network switches with low cost, replacing the functions of AFDX standard switch prototypes, reducing hardware costs, and ensuring the accuracy and efficiency of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561852A_ABST
    Figure CN119561852A_ABST
Patent Text Reader

Abstract

The invention discloses an airborne AFDX (Avionics Full Duplex Switched Ethernet) network switch test architecture design method based on an Ethernet switch, which comprises the following steps of: mutually connecting a port 1 to a port 23 of each to-be-tested AFDX network switch and a port 23 of a multicast link Ethernet switch in pairs to form a set of AFDX network switch test unit; the ports 24 of the two are designed to be communication ports with external equipment; the two parallel data forwarding Ethernet switches are respectively connected with the multiple sets of AFDX network switch test units and the two AFDX simulation cards so as to jointly complete the parallel test of the multiple AFDX network switch products; transforming a data link of the Ethernet switch, transforming a broadcast link structure of the Ethernet switch into a multicast link structure, and setting the multicast link structure into an inter-port isolation mode; the AFDX simulation card 1 is used as a data sending test module and is controlled by a test program to generate a test data flow meeting the requirements of the AFDX network switch; the AFDX simulation card 2 serves as a data monitoring module, receives all AFDX data frames and analyzes and judges the data frames.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of airborne network communication, and in particular relates to an airborne AFDX network switch test architecture design method based on an Ethernet switch. Background Art

[0002] AFDX (Avionics Full Duplex Switched Ethernet) is a high-performance aviation data bus network established by Airbus based on IEEE802.3 Ethernet in response to the development needs of avionics. It has made improvements in network real-time performance and reliability. As the core unit of the airborne network system, the performance indicators of the AFDX network switch directly affect the data transmission performance of the entire airborne network system. Therefore, it is extremely important to conduct a comprehensive test of the functions and performance indicators of the AFDX network switch.

[0003] ARINC664 standard part 7 clearly defines the functions and performance of AFDX network switches, among which data exchange function is the most core functional requirement. There are two main conventional AFDX network switch test methods:

[0004] (1) An AFDX network switch test system based on AFDX emulation cards. Usually, one AFDX emulation card provides two test ports, A / B. For a 24-port AFDX network switch, 12 AFDX emulation cards are required to test all ports. The test architecture of this solution is as follows: Figure 1 As shown. In this solution, 12 AFDX simulation cards provide 24 test ports, each of which is connected to a communication port of the AFDX network switch. The test program controls the AFDX simulation card to perform data transmission and reception tests on each port of the AFDX network switch, and all ports of the AFDX network switch can be tested. Due to the high cost of AFDX simulation cards, building a test system based on this test architecture will incur high hardware costs.

[0005] (2) AFDX network switch test system based on AFDX standard switch prototype. Since the first solution is too expensive, most test systems use AFDX standard switch prototype as the core to build an AFDX network switch test system. The test architecture of this solution is as follows: Figure 2As shown. In this scheme, the VL forwarding link table configured in the AFDX standard switching prototype and the VL forwarding link table in the tested product AFDX network switch are symmetrical topological structures. For example, VL=1 stipulates that port 24 of the AFDX network switch receives the test data packet sent by port B of the simulation card and forwards it from port 1. Then the AFDX standard switching prototype is configured to receive the test data packet at port 1, and forward it from port 24, and then receive it at port A of the simulation card. VL=2 stipulates that port 24 of the AFDX network switch receives the test data packet sent by port B of the simulation card and forwards it from port 2. Then the AFDX standard switching prototype is configured to receive the test data packet at port 2, and forward it from port 24, and then receive it at port A of the simulation card. And so on, the data transmission and reception test of all ports of the AFDX network switch can be completed. The VL link structure inside the AFDX standard switching prototype is shown as follows. Figure 3 shown.

[0006] It can be seen that in this solution, an AFDX simulation card is used as a data transceiver test module. By introducing the AFDX standard switch prototype to expand the test port of the AFDX simulation card, all ports of the AFDX network switch can be tested. Compared with the first solution, this solution greatly saves hardware costs in terms of the number of AFDX simulation cards, but because the cost of an AFDX standard switch prototype is much higher than that of an AFDX simulation card, the test system built based on this test architecture will also incur higher hardware costs. Summary of the invention

[0007] In view of the above problems, the present invention provides an airborne AFDX network switch test architecture design method based on an Ethernet switch to meet the parallel testing requirements for multiple AFDX network switch products.

[0008] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0009] A method for designing an airborne AFDX network switch test architecture based on an Ethernet switch comprises the following steps:

[0010] Ports 1 to 23 of each AFDX network switch to be tested are interconnected with ports 1 to 23 of a multicast link Ethernet switch in pairs to form a set of AFDX network switch test units. Port 24 of the AFDX network switch and the multicast link Ethernet switch are both designed as communication ports with external devices; Parallel data forwarding Ethernet switch 1 and parallel data forwarding Ethernet switch 2 serve as parallel forwarding units of AFDX test data frames, and are respectively connected to multiple sets of AFDX network switch test units and two AFDX simulation card test ports to jointly complete parallel data forwarding tests on multiple AFDX network switch products;

[0011] The internal forwarding link of the multicast link Ethernet switch is modified to make its internal data forwarding direction directional, and the Layer 2 data isolation mode is set between different multicast ports to ensure that the data can be accurately forwarded according to the set link;

[0012] Set AFDX simulation card 1 as a data sending test module, and control AFDX simulation card 1 to generate a test data stream that meets the requirements of the AFDX network switch through a test program; AFDX simulation card 2 is used as a data monitoring module to receive all AFDX data frames, and parse and judge the data frames;

[0013] Port B of AFDX emulation card 1 is connected to test port 23 of parallel data forwarding Ethernet switch 1, and test port 23 of parallel data forwarding Ethernet switch 1 is interconnected with test ports 1 to N thereof, where N is not greater than 10, so as to realize that data frames sent by test port B of AFDX emulation card 1 are forwarded to the remaining N ports through port 23 of parallel data forwarding Ethernet switch 1, and are simultaneously distributed to test ports 24 of N AFDX network switch products, and after being forwarded through the internal link of AFDX network switch test unit, the data are sent to ports 1 to N of parallel data forwarding Ethernet switch 2 through multicast link Ethernet switch, and test port 24 of parallel data forwarding Ethernet switch 2 is interconnected with test ports 1 to N thereof, and are sent to monitoring port A of AFDX emulation card 2 through port 24 of parallel data forwarding Ethernet switch 2, so as to realize data forwarding and receiving test in the direction of data flow from port B to port A in parallel mode;

[0014] Port A of the AFDX simulation card 1 is connected to the test port 23 of the parallel data forwarding Ethernet switch 2. The parallel data forwarding Ethernet switch 2 port 23 is interconnected with its test ports 1 to N, where N is not greater than 10, so as to realize that the data sent by the test port A of the AFDX simulation card 1 is forwarded to the remaining N ports through the parallel data forwarding Ethernet switch 2, and is simultaneously distributed to the N multicast link Ethernet switch test ports 24. After being forwarded through the internal link of the AFDX network switch test unit, the data is sent to ports 1 to N of the parallel data forwarding Ethernet switch 1 through the AFDX network switch. The 24th test port of the parallel data forwarding Ethernet switch 1 is interconnected with its test ports 1 to N, and is sent to the monitoring port B of the AFDX simulation card 2 through port 24 of the parallel data forwarding Ethernet switch 1, thereby realizing the data forwarding and receiving test in the data flow direction of port A sending and port B receiving in the parallel mode.

[0015] In a possible implementation manner, the port communication rates of ports A and B of the AFDX emulation card 2 are set to 1000 Mbps.

[0016] In a possible implementation manner, the communication rate of port 24 of the parallel data forwarding Ethernet switch 1 and the parallel data forwarding Ethernet switch 2 is set to 1000M, and the communication rate of the remaining 23 ports is set to 100Mbps.

[0017] In a possible implementation manner, the port communication rates of ports A and B of the AFDX emulation card 1 are set to 100 Mbps.

[0018] In a possible implementation, all port rates of the multicast link Ethernet switch in the AFDX network switch test unit are 100 Mbps.

[0019] In a possible implementation manner, the multicast link Ethernet switch and the parallel data forwarding Ethernet switch 1 and the parallel data forwarding Ethernet switch 2 are Gigabit Ethernet switches having 24 10 / 100 / 1000BASE-T Ethernet ports.

[0020] In a possible implementation manner, the modification of the internal data forwarding link of the multicast link Ethernet switch connected to the AFDX network switch to be tested includes:

[0021] Before configuring a static multicast MAC address, configure a VLAN and ensure that the interface to be configured has been added to the VLAN.

[0022] Convert the MAC destination addresses corresponding to all VL numbers specified in the configuration table of the AFDX network switch to the static multicast MAC address forwarding table used by the commercial Ethernet switch;

[0023] The obtained multicast MAC destination address forwarding table is used as the static multicast MAC address table of the Ethernet switch and configured on each port of the Ethernet switch;

[0024] Through the switch port isolation technology, ports 1 to 23 of the Ethernet switch are set to be isolated from each other at layer 2 and are all connected to port 24;

[0025] After the Ethernet switch modification configuration is completed, save the configuration file to the Ethernet switch.

[0026] In a possible implementation, the switch internal ports of the parallel data forwarding Ethernet switch 1 and the parallel data forwarding Ethernet switch 2 are configured as follows:

[0027] Through the switch port isolation technology, ports 1 to 22 of the parallel data forwarding Ethernet switch are set to be isolated from each other at layer 2, and are all connected to ports 23 and 24;

[0028] Set port 23 of the parallel data forwarding Ethernet switch to unidirectionally isolate port 24;

[0029] After completing the configuration of the Ethernet switch port, save the configuration file to the switch.

[0030] The adoption of the present invention has the following beneficial effects: by modifying the Ethernet switch, not only can the function of the AFDX standard switch prototype in the second solution in the background technology be replaced, but also by upgrading and improving the architecture of the second solution, a low-cost parallel testing system for multiple airborne AFDX network switches can be realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of the test architecture of an AFDX network switch based on an AFDX simulation card in the prior art;

[0032] Figure 2 It is a schematic diagram of the test architecture of an AFDX network switch based on an AFDX standard switch prototype in the prior art;

[0033] Figure 3 It is a schematic diagram of the internal configuration table link structure of the AFDX standard exchange prototype in the prior art;

[0034] Figure 4 A flowchart of a method for designing an airborne AFDX network switch test architecture based on an Ethernet switch according to an embodiment of the present invention;

[0035] Figure 5 To pass Figure 4Schematic diagram of the test architecture after the method is designed;

[0036] Figure 6 A schematic diagram of a link structure of an Ethernet switch connected to the AFDX network switch under test after being transformed by the method of an embodiment of the present invention;

[0037] Figure 7 The figure is a schematic diagram of the internal link architecture of the Ethernet switch connected to the emulation card after being transformed by the method of the embodiment of the present invention. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] See also Figure 4 , shown is a flowchart of a method for designing an airborne AFDX network switch test architecture based on an Ethernet switch according to an embodiment of the present invention, comprising the following steps:

[0040] S10, interconnecting ports 1 to 23 of each AFDX network switch to be tested with ports 1 to 23 of a multicast link Ethernet switch in pairs to form a set of AFDX network switch test units, and port 24 of the AFDX network switch and the multicast link Ethernet switch are both designed as communication ports with external devices; parallel data forwarding Ethernet switch 1 and parallel data forwarding Ethernet switch 2 serve as parallel forwarding units of AFDX test data frames, respectively connecting multiple sets of AFDX network switch test units and two AFDX simulation card test ports, and jointly completing parallel data forwarding tests on multiple AFDX network switch products;

[0041] S20, transform the internal forwarding link of the Ethernet switch. The conventional internal data forwarding mode of the Ethernet switch is the broadcast mode. After a port receives data, it will forward it to all other ports. This data link structure does not meet the link structure required by the AFDX network switch product test. Therefore, its broadcast link structure is transformed into a multicast link structure classified by port, so that its internal data forwarding direction is directional. At the same time, the Layer 2 data isolation mode is set between different multicast ports to ensure that the data can be accurately forwarded according to the set link;

[0042] S30, setting AFDX simulation card 1 as a data sending test module, and controlling AFDX simulation card 1 to generate a test data stream that meets the requirements of the AFDX network switch through a test program; AFDX simulation card 2 is used as a data monitoring module to receive all AFDX data frames, and parse and judge the data frames;

[0043] S40, port B of AFDX emulation card 1 is connected to test port 23 of parallel data forwarding Ethernet switch 1, and test port 23 of parallel data forwarding Ethernet switch 1 is interconnected with test ports 1 to N thereof, where N is not greater than 10, so as to realize that data frames sent by test port B of AFDX emulation card 1 are forwarded to the remaining N ports through port 23 of parallel data forwarding Ethernet switch 1, and are simultaneously distributed to test ports 24 of N AFDX network switch products, and after being forwarded through the internal link of AFDX network switch test unit, the data are sent to ports 1 to N of parallel data forwarding Ethernet switch 2 through multicast link Ethernet switch, and test port 24 of parallel data forwarding Ethernet switch 2 is interconnected with test ports 1 to N thereof, and are sent to monitoring port A of AFDX emulation card 2 through port 24 of parallel data forwarding Ethernet switch 2, so as to realize data forwarding and receiving test in the direction of data flow from port B to port A in parallel mode;

[0044] S50, port A of AFDX simulation card 1 is connected to test port 23 of parallel data forwarding Ethernet switch 2, and port 23 of parallel data forwarding Ethernet switch 2 is interconnected with its test ports 1~N, N is not greater than 10, so as to realize that the data sent by test port A of AFDX simulation card 1 is forwarded to the remaining N ports through parallel data forwarding Ethernet switch 2, and distributed to N multicast link Ethernet switch test ports 24 at the same time, after being forwarded through the internal link of AFDX network switch test unit, the data is sent to ports 1~N of parallel data forwarding Ethernet switch 1 through AFDX network switch, the 24th test port of parallel data forwarding Ethernet switch 1 is interconnected with its test ports 1~N, and is sent to monitoring port B of AFDX simulation card 2 through port 24 of parallel data forwarding Ethernet switch 1, so as to realize data forwarding and receiving test in the data flow direction of port A sending and port B receiving in parallel mode.

[0045] The airborne AFDX network switch test architecture based on Ethernet switch designed through the above steps is as follows Figure 5 shown.

[0046] In the specific application example, the selected Ethernet switch is Huawei S5735 series switch Gigabit Ethernet switch, which has 24 10 / 100 / 1000BASE-T Ethernet ports, the switching capacity parameters are 336Gbps / 3.36Tbps (the former is in 100M mode, the latter is in Gigabit mode), and the packet forwarding rate parameters are 96 / 126Mpps (the former is in 100M mode, the latter is in Gigabit mode). The port communication rate of ports A and B of AFDX simulation card 2 is set to 1000Mbps. The communication rate of port 24 of parallel data forwarding Ethernet switch 1 and port parallel data forwarding Ethernet switch 2 is set to 1000M, and the communication rate of the remaining 23 ports is set to 100Mbps. The port communication rate of ports A and B of AFDX simulation card 1 is set to 100Mbps. The switch port rate in the AFDX network switch test unit is 100Mbps. It can be known through theoretical calculation that the test architecture can support parallel testing of up to 10 AFDX network switches. Those skilled in the art will appreciate that an Ethernet switch from Cisco or other companies may also be selected, as long as its technical parameters and functions meet the technical path required by the present invention, and the embodiments of the present invention are not limited thereto.

[0047] For an Ethernet communication port with a port rate of 100Mbps and a data packet size of 64 bytes, the packet forwarding rate calculation formula is: packet forwarding rate = 100M ÷ (64 × 8) packets / second, which is approximately equal to 0.1488Mpps. Further, according to the packet forwarding rate calculation formula, it can be calculated that the maximum packet rate of the 24-port AFDX network switch is 24*0.1488Mpps=3.5712Mpps, and the maximum packet bit stream is 24*0.1488*84*8 / 1000=2.399Gbps. According to Shannon's theorem, the technical parameters of the Ethernet switch can fully meet the technical requirements of the data forwarding test of the AFDX network switch.

[0048] By default, after receiving a multicast data packet, the switch device will broadcast the multicast packet in the VLAN. This will not only cause a huge waste of bandwidth, but also affect network security. In order to suppress this broadcast, the switch is configured with a multicast MAC address on its interface and a multicast MAC address table entry is statically established. After the interface is configured with a multicast MAC address, when a multicast packet with a corresponding destination MAC is received, it will only be forwarded to the interface configured with the multicast MAC address in the VLAN. Therefore, this technology can be used to transform the data forwarding link of the Ethernet switch, and transform its internal link topology into a structure consistent with the AFDX standard switch prototype. In a specific application example, the transformation of the Ethernet switch forwarding link connected to the AFDX network switch to be tested includes:

[0049] The first step is to configure VLAN before configuring the static multicast MAC address, and make sure that the interface to be configured has been added to the VLAN; taking Huawei S5735 series switches as an example, the specific steps are as follows:

[0050] a) Run the system-view command to enter the system view.

[0051] b) Execute the vlan vlan-id command to create a new VLAN (the system adds all ports to VLAN 1 by default. If you do not need to create a new VLAN, you do not need to create a new VLAN and VLAN 1 is used by default).

[0052] c) Execute the interface interface-type interface-number command to enter the interface view.

[0053] d) Run the port default vlan vlan-id command in the interface view to add the port to the VLAN.

[0054] e) Repeat steps c to d until all ports to be configured are added to the newly created VLAN;

[0055] f) Execute the quit command to return to the system view.

[0056] The second step is to convert the MAC destination addresses corresponding to all VL numbers specified in the configuration table of the AFDX network switch into a static multicast MAC address table that complies with the static multicast MAC address table used by commercial Ethernet switches. Figure 3 The VL link table in the AFDX standard exchange prototype shown is an example:

[0057] The MAC destination address of the AFDX data frame with VL=1 is: 0x0300 0000 0001, and the direction of the data frame is port 1 in and port 24 out;

[0058] The MAC destination address of the AFDX data frame with VL=2 is: 0x0300 0000 0002, and the direction of the data frame is port 2 in and port 24 out;

[0059] By analogy, we can get the MAC address forwarding table for ports 1 to 23 and port 24.

[0060] The MAC destination address of the AFDX data frame with VL=1001 is: 0x0300 0000 03E9, and the direction of the data frame is port 24 in and port 1 out;

[0061] The MAC destination address of the AFDX data frame with VL=1002 is: 0x0300 0000 03EA, and the direction of the data frame is port 24 in and port 2 out;

[0062] By analogy, we can get the MAC address forwarding table for port 24 in and port 1 to 23 out.

[0063] The third step is to use the obtained multicast MAC destination address forwarding table as the static multicast MAC address table of the commercial Ethernet switch and configure it on each port of the commercial switch; for example, configure the MAC destination address corresponding to VL=1 to the port group with forwarding port 24, then each time the Ethernet switch receives a data frame with VL=1, it will forward it to port 24, and other ports will not be able to receive the data, thereby completing the precise control of the data forwarding relationship. The specific steps are as follows:

[0064] g) Execute the system-view command to enter the system view.

[0065] h) Run the vlan vlan-id command to enter the VLAN view.

[0066] i) Run the l2-multicast forwarding-mode mac command to configure the intra-VLAN multicast data forwarding mode to MAC (by default, the intra-VLAN multicast data is forwarded in IP address mode).

[0067] j) Execute the quit command to return to the system view.

[0068] Configure a static multicast MAC address in the following ways:

[0069] a) Configure a static multicast MAC address on a single interface.

[0070] b) Execute the interface interface-type interface-number command to enter the interface view.

[0071] c) Run the mac-address multicast mac-address vlan vlan-id command to configure a static multicast MAC address on the interface. (mac-address is the MAC address value in the multicast MAC forwarding table obtained in step 2.)

[0072] d) Repeat step c until all multicast MAC addresses are configured.

[0073] e) Execute the quit command to return to the system view.

[0074] Step 4: Use switch port isolation technology to set ports 1 to 23 of the Ethernet switch to Layer 2 isolation from each other and connect them to port 24. The specific configuration steps are as follows.

[0075] a) Run the system-view command to enter the system view.

[0076] b) Execute the interface interface-type interface-number command to enter the interface view.

[0077] c) Run the port-isolate enable command in the interface view to configure the port to Layer 2 isolation mode.

[0078] d) Repeat steps b to c until all ports 1 to 23 are configured in Layer 2 isolation mode;

[0079] Run the quit command to return to the system view.

[0080] Step 5: After completing the configuration of the switch link and port, save the configuration file to the switch to ensure that the new configuration is valid every time the switch is turned on (the switch automatically clears the unsaved configuration when it is powered off by default). The specific configuration steps are as follows.

[0081] a) Run the system-view command to enter the system view.

[0082] b) Execute the return command to return to the global view;

[0083] c) Execute the save command to save the configuration to the switch.

[0084] By configuring the static multicast MAC address, the customized transformation of the data forwarding link inside the Ethernet switch has been completed to meet the link structure required by the AFDX network switch. The switch performance parameters can also meet the technical indicators such as data capacity and packet forwarding rate required by the AFDX network switch test, and can be used to replace Figure 2 The AFDX standard switch prototype in the test is used to test the AFDX network switch products.

[0085] exist Figure 5 In the AFDX network switch parallel test architecture, the internal link structure of Ethernet switches 1 to Ethernet switches N is transformed into Figure 6In the link structure shown in FIG, each Ethernet switch is interconnected with port 1 to port 23 of an AFDX network switch to form a set of AFDX network switch test units. Parallel data forwarding Ethernet switch 1 and parallel data forwarding Ethernet switch 2 serve as parallel forwarding units for AFDX test data frames, and are combined with AFDX simulation cards to complete parallel data forwarding tests on multiple AFDX network switch products.

[0086] The parallel data forwarding Ethernet switch 1 and the parallel data forwarding Ethernet switch 2 are parallel forwarding units of the AFDX data frame. The internal link structures of the two Ethernet switches are different from the internal structures of the Ethernet switches 1 to Ethernet switches N. Figure 7 shown.

[0087] In the specific application example, the parallel data forwarding Ethernet switch 1 and the parallel data forwarding Ethernet switch 2 are parallel forwarding units of the AFDX test data frame. Port 23 of the Ethernet switch receives the data frame and forwards it to ports 1 to N; ports 1 to N receive the data frame and forward it to port 24. The switch link configuration steps are as follows:

[0088] The first step is to use the switch port isolation technology to set the Ethernet switch ports 1 to 22 to be isolated from each other at Layer 2, and to connect them to ports 23 and 24. The specific configuration steps are as follows:

[0089] a) Run the system-view command to enter the system view.

[0090] b) Execute the interface interface-type interface-number command to enter the interface view.

[0091] c) Run the port-isolate enable command in the interface view to configure the port to Layer 2 isolation mode.

[0092] d) Repeat steps b to c until all ports 1 to 22 are configured in Layer 2 isolation mode;

[0093] e) Execute the quit command to return to the system view.

[0094] The second step is to set the Ethernet switch port 23 to unidirectionally isolate from port 24. The specific configuration steps are as follows:

[0095] a) Run the system-view command to enter the system view.

[0096] b) Execute the interface interface-type 0 / 0 / 23 command to enter the port 23 interface view;

[0097] c) Run the am isolate interface-type 0 / 0 / 24 command in the interface view to configure the port to be in unidirectional isolation mode with port 24.

[0098] d) Execute the quit command to return to the system view.

[0099] The third step is to save the configuration after completing the switch configuration. Save the configuration to the switch to ensure that the new configuration is valid after each power-on. The switch automatically clears the unsaved configuration when the power is turned off by default. The specific configuration steps are as follows:

[0100] a) Run the system-view command to enter the system view.

[0101] b) Execute the return command to return to the global view;

[0102] c) Execute the save command to save the configuration to the switch.

[0103] Through the above-set airborne AFDX network switch test architecture design method based on Ethernet switch, based on the static multicast MAC address configuration technology, the Ethernet switch link structure connected to the tested AFDX network switch is transformed to make it conform to the data forwarding link topology required by the AFDX network switch. The multicast MAC address conversion technology based on the VL virtual link can establish a one-to-one mapping relationship between the VL defined in the ARINC664 standard and the multicast MAC address and port in the Ethernet switch. Based on the port isolation technology, each communication port of the Ethernet switch is configured to work in the second-layer isolation mode, which can ensure that the AFDX network data frame is forwarded strictly according to the static multicast MAC address table. With the Ethernet switch with customized link structure as the core, two AFDX simulation cards and Ethernet switch as the basic structure, a parallel test technical solution for AFDX network switch products is designed and implemented. By transforming the Ethernet switch, not only can the function of the AFDX standard switch prototype in the second solution in the background technology be replaced, but also a low-cost parallel test system for multiple airborne AFDX network switches can be realized by upgrading and improving the architecture of the second solution.

[0104] It should be understood that the exemplary embodiments described herein are illustrative rather than restrictive. Although one or more embodiments of the present invention have been described in conjunction with the accompanying drawings, it should be understood by those skilled in the art that various changes in form and detail may be made without departing from the spirit and scope of the present invention as defined by the appended claims.

Claims

1. A method for designing an airborne AFDX network switch test architecture based on an Ethernet switch, characterized in that: The following steps are involved: Ports 1 to 23 of each AFDX network switch to be tested are interconnected with ports 1 to 23 of a multicast link Ethernet switch in pairs to form a set of AFDX network switch test units. Port 24 of the AFDX network switch and the multicast link Ethernet switch are both designed as communication ports with external devices; Parallel data forwarding Ethernet switch 1 and parallel data forwarding Ethernet switch 2 serve as parallel forwarding units for AFDX test data frames, and are respectively connected to multiple sets of AFDX network switch test units and test ports of two AFDX simulation cards to jointly complete parallel data forwarding tests on multiple AFDX network switch products; The internal forwarding link of the multicast link Ethernet switch is modified to make its internal data forwarding direction directional, and the Layer 2 data isolation mode is set between different multicast ports to ensure that the data can be accurately forwarded according to the set link; Set AFDX simulation card 1 as a data sending test module, and control AFDX simulation card 1 to generate a test data stream that meets the requirements of the AFDX network switch through a test program; AFDX simulation card 2 is used as a data monitoring module to receive all AFDX data frames, and parse and judge the data frames; Port B of AFDX emulation card 1 is connected to test port 23 of parallel data forwarding Ethernet switch 1, and test port 23 of parallel data forwarding Ethernet switch 1 is interconnected with test ports 1 to N thereof, where N is not greater than 10, so as to realize that data frames sent by test port B of AFDX emulation card 1 are forwarded to the remaining N ports through port 23 of parallel data forwarding Ethernet switch 1, and are simultaneously distributed to test ports 24 of N AFDX network switch products, and after being forwarded through the internal link of AFDX network switch test unit, the data are sent to ports 1 to N of parallel data forwarding Ethernet switch 2 through multicast link Ethernet switch, and test port 24 of parallel data forwarding Ethernet switch 2 is interconnected with test ports 1 to N thereof, and are sent to monitoring port A of AFDX emulation card 2 through port 24 of parallel data forwarding Ethernet switch 2, so as to realize data forwarding and receiving test in the direction of data flow from port B to port A in parallel mode; Port A of the AFDX simulation card 1 is connected to the test port 23 of the parallel data forwarding Ethernet switch 2. The parallel data forwarding Ethernet switch 2 port 23 is interconnected with its test ports 1 to N, where N is not greater than 10, so as to realize that the data sent by the test port A of the AFDX simulation card 1 is forwarded to the remaining N ports through the parallel data forwarding Ethernet switch 2, and is simultaneously distributed to the N multicast link Ethernet switch test ports 24. After being forwarded through the internal link of the AFDX network switch test unit, the data is sent to ports 1 to N of the parallel data forwarding Ethernet switch 1 through the AFDX network switch. The 24th test port of the parallel data forwarding Ethernet switch 1 is interconnected with its test ports 1 to N, and is sent to the monitoring port B of the AFDX simulation card 2 through port 24 of the parallel data forwarding Ethernet switch 1, thereby realizing the data forwarding and receiving test in the data flow direction of port A sending and port B receiving in the parallel mode.

2. The method for designing an airborne AFDX network switch test architecture based on an Ethernet switch according to claim 1, wherein: The port communication rates of ports A and B of the AFDX emulation card 2 are set to 1000 Mbps.

3. The method for designing an airborne AFDX network switch test architecture based on an Ethernet switch according to claim 1, wherein: The communication rate of port 24 of the parallel data forwarding Ethernet switch 1 and the parallel data forwarding Ethernet switch 2 is set to 1000M, and the communication rate of the remaining 23 ports is set to 100Mbps.

4. The method for designing an airborne AFDX network switch test architecture based on an Ethernet switch according to claim 1, wherein: The port communication rate of AFDX emulation card 1 ports A and B is set to 100Mbps.

5. The method for designing an airborne AFDX network switch test architecture based on an Ethernet switch according to claim 1, wherein: All ports of the multicast link Ethernet switch in the AFDX network switch test unit have a rate of 100Mbps.

6. The method for designing an airborne AFDX network switch test architecture based on an Ethernet switch according to claim 1, wherein: The multicast link Ethernet switch and the parallel data forwarding Ethernet switch 1 and the parallel data forwarding Ethernet switch 2 are Gigabit Ethernet switches with 24 10 / 100 / 1000BASE-T Ethernet ports.

7. The method for designing an airborne AFDX network switch test architecture based on an Ethernet switch according to claim 1, wherein: The modification of the internal data forwarding link of the multicast link Ethernet switch connected to the AFDX network switch to be tested includes: Before configuring a static multicast MAC address, configure a VLAN and ensure that the interface to be configured has been added to the VLAN. Convert the MAC destination addresses corresponding to all VL numbers specified in the configuration table of the AFDX network switch to the static multicast MAC address forwarding table used by the commercial Ethernet switch; The obtained multicast MAC destination address forwarding table is used as the static multicast MAC address table of the Ethernet switch and configured on each port of the Ethernet switch; Through the switch port isolation technology, ports 1 to 23 of the Ethernet switch are set to be isolated from each other at layer 2 and are all connected to port 24; After the Ethernet switch modification configuration is completed, save the configuration file to the Ethernet switch.

8. The method for designing an airborne AFDX network switch test architecture based on an Ethernet switch according to claim 1, wherein: Configure the switch internal ports of parallel data forwarding Ethernet switch 1 and parallel data forwarding Ethernet switch 2 as follows: Through the switch port isolation technology, ports 1 to 22 of the parallel data forwarding Ethernet switch are set to be isolated from each other at layer 2, and are all connected to ports 23 and 24; Set port 23 of the parallel data forwarding Ethernet switch to unidirectionally isolate port 24; After completing the configuration of the Ethernet switch port, save the configuration file to the switch.