Simplified test method for FC network switch

By building a simplified test environment in FC network switch testing and using software to control the switch CPU to inject stimulus sources for automated testing, the problems of equipment failure and test environment shortage were solved, realizing fast and low-cost switch testing and improving production delivery and troubleshooting efficiency.

CN121907731APending Publication Date: 2026-04-21XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
Filing Date
2025-12-09
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Existing FC network switch testing equipment suffers from frequent failures, high costs, and a shortage of testing environments, resulting in low testing progress and efficiency, and serious conflicts between research and production testing environments.

Method used

By constructing a test environment, inserting two FC switches into the test fixture and connecting them, and using software to control the switch CPU to inject FC excitation sources, automated testing is achieved, avoiding the use of external excitation source devices.

Benefits of technology

It enables rapid and low-cost switch testing, resolves testing environment conflicts, improves production delivery and troubleshooting efficiency, and provides automated acceptance testing methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121907731A_ABST
    Figure CN121907731A_ABST
Patent Text Reader

Abstract

The invention provides an FC network switch simplified test method, which relates to the technical field of aviation systems, and comprises the following steps: S1, constructing a test environment, inserting a first FC switch and a second FC switch into a test tool, and interconnecting a plurality of ports of the first FC switch and the second FC switch; s2, controlling the first FC switch and the second FC switch to start and operate in a ground working mode through an external discrete magnitude, and setting domain IDs of the two switches to be 1; and S3, controlling the CPUs of the first FC switch and the second FC switch to inject an FC excitation source through software, so that the first FC switch and the second FC switch mutually send and receive FC test messages through interconnected ports to execute an automatic test. According to the method, the problem of test environment conflict frequently existing in actual scientific research test and experimental test is solved, the progress of production delivery, scientific research and troubleshooting is accelerated, and a reference basis is provided for development and test of similar products.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of aviation system technology, and specifically to a simplified test method for FC network switches. Background Technology

[0002] As the core network of avionics systems, the FC switching network relies on FC network switches to handle the interaction and sharing of resources and information among multiple subsystem devices. As the central role of information exchange in the FC network topology, the FC network switch participates in and provides data interaction interfaces for various sub-task system units. Therefore, it is particularly important to conduct rapid and stable testing of the FC network switch.

[0003] Currently, FC network switches utilize FC test system equipment for testing, acceptance, and debugging, including VTP testing during the research phase and ATP testing during the production phase. However, the excessive usage frequency and aging of the original FC test system equipment have led to occasional equipment failures, severely impacting customer testing progress and efficiency. Simultaneously, the available testing environment equipment suitable for 48-port switches is extremely scarce, and designing general-purpose stimulus sources and dedicated test equipment is costly. Furthermore, conflicts frequently arise between actual research testing and experimental testing environments, significantly affecting production delivery, research, and troubleshooting progress. ATP testing of FC switches during the production delivery phase primarily verifies the switch's main functions and performance. In this phase, the switch mainly serves as a stimulus generator and performs data analysis. Therefore, simplified testing of FC network switch products during the delivery phase can be considered, ensuring basic product hardware specifications and data exchange functions are maintained. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide a simplified testing method for FC network switches. This embodiment of the present invention is a simplified testing method for ATP testing and final inspection testing of FC switches in the production and delivery stage. It can be used by designers to assist in module debugging and troubleshooting, to achieve automated test acceptance, to solve the problem of test environment conflicts that often exist between actual scientific research testing and experimental testing, to accelerate the progress of production delivery, scientific research, and troubleshooting, and to provide a reference for the development and testing of similar products.

[0005] This application provides the following technical solution: a simplified testing method for FC network switches, comprising the following steps: Step S1: Build a test environment by inserting the first FC switch and the second FC switch into the test fixture and connecting multiple ports of the first FC switch and the second FC switch to each other. Step S2: Start the first FC switch and the second FC switch in ground working mode by controlling the external discrete quantity, and set the domain ID of the two switches to 1; Step S3: The CPUs of the first FC switch and the second FC switch are injected with FC excitation sources through software control, so that the two switches can send and receive FC test messages to each other through interconnected ports to perform automated testing.

[0006] According to one embodiment of this application, in step 1, the ports of the first FC switch and the second FC switch are either interconnected as a pair or cross-connected as a pair.

[0007] According to one embodiment of this application, in step 3, the FC excitation source sends an FC test message to an interconnect port with a port ID range of 0x10000 to 0x10002d.

[0008] According to one embodiment of this application, the length of the FC test message is 2096 bytes.

[0009] According to one embodiment of this application, after step S3, the method further includes determining the method by capturing and analyzing the serial terminal print information of the first FC switch and the second FC switch: Check whether the basic hardware resources of the first FC switch and the second FC switch are normal; Check whether the number of data frames sent and received by the first FC switch and the second FC switch are consistent, and whether there are any frame drops or errors. Check whether the ports of the first FC switch and the second FC switch are experiencing oscillation.

[0010] According to one embodiment of this application, the method does not use an external, independent FC excitation source device or dedicated testing equipment.

[0011] According to one embodiment of this application, the testing method can be extended to test multiple FC network switches simultaneously.

[0012] Compared with the prior art, the beneficial effects that at least one technical solution adopted in the embodiments of this specification can achieve include at least: (1) The purpose of this invention is to simplify the ATP testing and final inspection test in the production and delivery stage of FC network switches. It can be used by designers to assist in module debugging and troubleshooting, and to achieve automated test acceptance. It solves the problem of test environment conflicts between actual scientific research testing and experimental testing, and accelerates the progress of production delivery, scientific research and troubleshooting.

[0013] (2) This invention generates FC excitation data by modifying the software and interconnecting two FC switch ports, thereby eliminating the need for external excitation source testing equipment and achieving the goal of speed and cost savings.

[0014] (3) The present invention can be extended to simultaneously test 2, 4 or 8 FC network switches, depending on the actual test fixture. Attached Figure Description

[0015] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a schematic diagram of a simplified test method for FC network switches according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the network topology according to an embodiment of the present invention. Detailed Implementation

[0017] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0018] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. This application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, in the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0019] like Figure 1 As shown, this embodiment of the invention provides a simplified testing method for FC network switches, including the following steps: Step S1: Build a test environment by inserting the first FC switch and the second FC switch into the test fixture and connecting multiple ports of the first FC switch and the second FC switch to each other. Step S2: Start the first FC switch and the second FC switch in ground working mode by controlling the external discrete quantity, and set the domain ID of the two switches to 1; Step S3: The CPUs of the first FC switch and the second FC switch are injected with FC excitation sources through software control, so that the two switches can send and receive FC test messages to each other through interconnected ports to perform automated testing.

[0020] In some embodiments, this embodiment is a simplified testing method for ATP testing and final inspection of FC switches during the production and delivery phase. It uses two FC network switching modules as test objects and implements mutual testing between the two FC network switching modules through software design. Figure 2 As shown, it includes the following steps: Step 1: Insert two FC network switches into the FC network switch fixture, ensuring that the switching pairs of the two FC network switches are interconnected (port x of FC switch 1 is connected to port x of switch 2). After the switches are started by external discrete control, they can run in ground working mode to form an automated test environment. The two FC switches (the first FC switch and the second FC switch) are used to test each other. Step 2: Set the domain ID of the two switches to 1 using an external discrete variable; Step 3: The two FC switches are physically interconnected on each port or cross-connected in pairs. By modifying the FC switch software, the switch CPU is injected with an FC excitation source to send an FC message (2096 bytes long) to port ID: 0x10000-0x10002d, which can support full coverage testing of each port.

[0021] Step 3 of this embodiment modifies the FC switch software to inject FC excitation sources into the switch CPU, thus supporting full coverage testing of each port without the need for external excitation sources. Two switches interconnected via ports can be used to conduct NSM module testing. In some embodiments, a pass / fail determination step is also included, the specific steps of which are as follows: (1) Ensure that the two switches are interconnected at the port, and that the switches can run in ground working mode after startup by controlling the external GSE discrete quantity. Also, control the domain ID of the two switches to be 1 by controlling the external discrete quantity. Power on the FC network switch and capture the serial port terminal printout of the switch. (2) Enter the switch test menu through the CLI serial port console of the first FC switch to start the test; observe the serial ports of the two switches printing the following content in a loop: a. Basic hardware resource testing (whether FLASH / NVRAM is working properly); b. Whether the number of data frames sent and received is consistent, and whether there are any frame drops or errors; c. Whether the port is experiencing oscillation.

[0022] (3) Criteria for acceptance: a) The hardware resources for serial port printing on the two switches are basically normal after testing. b. The number of data frames sent and received by the two switches is consistent, with no packet loss and no errors; c. No oscillations were observed on the ports of the two switches.

[0023] The embodiments of the present invention do not require the addition of external excitation source equipment or the use of separate test equipment as excitation generation equipment, and can meet the ATP testing and final inspection test requirements in the production delivery stage, providing a powerful testing method for the delivery verification test of FC network switches.

[0024] The present invention will now be described in further detail. A simplified testing method for ATP testing and final inspection testing during the production and delivery phase of an FC switch, based on a test environment consisting of two FC switches, includes the following steps: Step 1: Insert two FC network switches into the FC network switch fixture, ensuring that the ports of the two FC network switches are interconnected (port x of switch 1 is connected to port x of switch 2). After the switches are started by external discrete control, they can run in ground working mode to form an automated test environment. Step 2: Set the domain ID of the two switches to 1 using an external discrete variable; Step 3: Physically connect each port of the two FC switches to each other. After the FC switches are initialized, start their internal self-tests. After the test is successful, start the internal FC test software.

[0025] Step 4: The switch test software executes through its internal processor. The test switch sends an FC message with port ID 0x10000 (2096 characters long, 0x1 payload) from port 1. The switch under test receives the FC message, parses the data, and reports an error if the data is incorrect, terminating the test. If the data is correct, the switch under test sends an FC message with port ID 0x10001 (2096 characters long, 0x2 payload) from port 2. This message is received and parsed by port 2 of the test switch. This process repeats until port N is reached, then returns to port 1 to continue execution until the test ends.

[0026] This invention discloses an automated testing method for ATP testing and final inspection of FC switches during the production and delivery phase. It primarily uses two FC network switching modules as test objects. By constructing a simplified FC switch testing environment, it verifies the functional and performance design specifications of the test modules. Through software design, it achieves automated testing of the two FC network switching modules. This invention can assist designers in module debugging and troubleshooting, facilitate automated testing and acceptance, resolve the frequent conflicts between actual research testing and experimental testing environments, accelerate production delivery, research, and troubleshooting progress, and provide a reference for the development and testing of similar products.

[0027] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A simplified testing method for FC network switches, characterized in that, Includes the following steps: Step S1: Build a test environment by inserting the first FC switch and the second FC switch into the test fixture and connecting multiple ports of the first FC switch and the second FC switch to each other. Step S2: Start the first FC switch and the second FC switch in ground working mode by controlling the external discrete quantity, and set the domain ID of the two switches to 1; Step S3: The CPUs of the first FC switch and the second FC switch are injected with FC excitation sources through software control, so that the two switches can send and receive FC test messages to each other through interconnected ports to perform automated testing.

2. The simplified test method for FC network switches according to claim 1, characterized in that, In step 1, the ports of the first FC switch and the second FC switch are either interconnected as a pair or cross-connected as a pair.

3. The simplified test method for FC network switches according to claim 1, characterized in that, In step 3, the FC excitation source sends an FC test message to the interconnect port with a port ID range of 0x10000 to 0x10002d.

4. The simplified test method for FC network switches according to claim 1, characterized in that, The length of the FC test message is 2096 bytes.

5. The simplified test method for FC network switches according to claim 1, characterized in that, Step S3 is followed by a further step of capturing and analyzing the serial terminal print information of the first FC switch and the second FC switch to make a judgment: Check whether the basic hardware resources of the first FC switch and the second FC switch are normal; Check whether the number of data frames sent and received by the first FC switch and the second FC switch are consistent, and whether there are any frame drops or errors. Check whether the ports of the first FC switch and the second FC switch are experiencing oscillation.

6. The simplified test method for FC network switches according to claim 1, characterized in that, The method does not use external, independent FC excitation source devices or dedicated testing equipment.

7. The simplified test method for FC network switches according to claim 1, characterized in that, The testing method can be extended to test multiple FC network switches simultaneously.