Method and system for simulating multiple FC nodes by using FC switch

By configuring the accompanying test system of FC switches and node equipment, simulating multiple FC nodes, the high cost and complexity of FC optical fiber communication network verification in the existing technology is solved, and a low-cost and efficient test environment is realized, suitable for large-scale Network node interaction test.

CN119172292AActive Publication Date: 2024-12-20NANJING QUANXIN CABLE TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411325828.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-12-20
Estimated Expiration
2044-09-23

AI Technical Summary

Technical Problem

When verifying complex FC fiber optic communication networks, the existing technology requires a large number of test equipment to simulate the interaction state between multiple devices, resulting in high R&D costs and complex testing environment construction, limiting the test scenario and scalability.

Method used

By using a test system composed of an FC switch and a node device, the source or destination address of the FC data frame is configured to simulate multiple FC nodes, and the routing and forwarding of the data frame is realized, reducing the actual number of devices required and reducing the number of them. Test cost and construction complexity.

Benefits of technology

It realizes the verification of complex FC switching networks at lower equipment costs, improves testing efficiency and scalability, simplifies the testing process, ensures the accuracy and repeatability of the test, and is suitable for node interaction testing of large-scale networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172292A_ABST
    Figure CN119172292A_ABST
Patent Text Reader

Abstract

The invention provides a method and a system for simulating a plurality of FC nodes by using an FC switch. The system comprises a tested FC switch; the plurality of tested FC devices are connected with the first port to the Nth port of the tested FC switch in a one-to-one correspondence manner; a test-accompanying system composed of a test-accompanying FC switch and a test-accompanying FC device and used for simulating a plurality of FC nodes; the test-accompanying FC equipment is used for constructing and sending an FC data frame, a source address and a destination address are configurable, and the test-accompanying FC equipment is used as a data source of the test-accompanying system; the test accompanying FC switch receives FC data frames sent by the test accompanying FC equipment and sends the FC data frames to different ports of the test accompanying FC equipment according to configuration, and the multiple ports of the test accompanying FC switch are output ports of analog FC signals and are connected with test ports of the tested FC switch. According to the invention, the verification work of the complex FC switching network can be completed with low equipment cost, the expansibility and repeatability of the test system are improved, and the influence of different configurations on the system performance can be evaluated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of FC fiber channel network, in particular to FC switch testing technology, and specifically to a method and system for simulating multiple FC nodes using an FC switch. Background Art

[0002] When verifying a complex FC optical fiber communication network, it is necessary to connect multiple devices under test through switches for testing. The test environment is relatively complex to build. For example, when verifying the switching network of N FC terminal devices, the network topology that needs to be built is as follows: Figure 1 The device environment under test includes the FC switch under test and device 1, device 2, ... device N under test. In order to cooperate with the test and build a multi-node FC data receiving and sending environment, it is also necessary to use companion device 1, companion device 2, ... companion device N as the data source of the FC frame.

[0003] exist Figure 1 In the test network topology shown, the routing method of the FC switch is to query the routing table based on the destination address in the FC frame to forward the FC data frame. Therefore, when simulating the interaction between multiple devices, for example, when the accompanying test device 1 sends data to the tested device 1, the accompanying test device 2 sends data to the tested device 2, and the accompanying test device N sends data to the tested device N. In a complex network, each accompanying test device needs to construct a data frame with the sending source address as the accompanying test device and the destination address as the tested device. It is precisely because of the need to construct data frames with different source addresses and destination addresses that a large number of accompanying test devices are required, resulting in huge R&D costs. Summary of the invention

[0004] In view of the defects and shortcomings of the prior art, the present invention aims to provide a method and system for simulating multiple FC nodes using an FC switch, and to construct a companion test system for simulating multiple FC nodes, wherein the method includes an FC switch and a node device. By setting the optional routing mode of the FC switch, routing can be performed based on the source address or the destination address in the FC data frame to simulate multiple companion test devices sending FC data, thereby completing the verification of a complex FC switching network at a lower equipment cost without actually configuring multiple node devices as matching test devices.

[0005] According to a first aspect of the present invention, a system for simulating multiple FC nodes using a FC switch is provided, comprising:

[0006] The FC switch under test has at least the 1st to Nth ports;

[0007] A plurality of FC devices under test are connected to the first to Nth ports of the FC switch under test in a one-to-one correspondence; and

[0008] The accompanying test system consists of a accompanying test FC switch and an accompanying test FC device, which is used to simulate multiple FC nodes;

[0009] The accompanying test FC device is used to construct and send FC data frames, and the source address and destination address in the constructed FC data frame are configurable to serve as a data source of the accompanying test system simulating multiple FC nodes;

[0010] The companion FC switch is used to receive FC data frames sent by the companion FC device and send them to different ports of the companion FC device according to configuration. The multiple ports A~M of the companion FC switch are output ports of simulated FC signals, which are connected one by one with the N test ports of the tested FC switch to simulate multiple data transmission and reception.

[0011] As an optional implementation manner, the routing table of each port in the companion FC switch is configurable.

[0012] As an optional implementation, in the routing table of each port in the companion FC switch, the field used for routing is the source address or destination address in the FC data frame, and the routing mode is selected by configuration, that is, source address routing or destination address routing.

[0013] As an optional implementation, in the process of simulating the data transmission of the accompanying test system of multiple FC nodes, the accompanying test FC device constructs an FC data frame and configures the source address and the destination address, and then sends the constructed FC data frame to the accompanying test FC switch;

[0014] After receiving the data frame, the port of the companion FC switch connected to the companion FC device performs routing and data forwarding according to the routing table; then, after receiving the forwarded FC data frame, the port of the companion FC switch connected to the tested FC switch sends the FC data frame to the tested FC switch.

[0015] As an optional implementation, the port of the companion FC switch connected to the companion FC device is set to route based on the source address of the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward data to the port connected to the companion FC switch among the corresponding ports of the tested FC switch according to the source address in the FC data frame.

[0016] As an optional implementation, the companion FC device is configured to construct multiple FC data frames simultaneously.

[0017] As an optional implementation, in the data transmission process of the accompanying test system simulating multiple FC nodes, the port in the accompanying test FC switch connected to the tested FC switch is set to perform routing based on the destination address in the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port in the accompanying test FC switch connected to the accompanying test FC device according to the destination address in the FC data frame;

[0018] The companion FC device receives and processes the FC data frame from the companion FC switch.

[0019] According to a second aspect of the present invention, a method for simulating multiple FC nodes is also provided, the method comprising:

[0020] The workflow of simulating data transmission of the companion test system of multiple FC nodes is as follows:

[0021] Step 1.1: The accompanying FC device constructs an FC data frame. Based on the test requirement that the source address of the FC data frame received by the FC device under test is the input port address of the FC switch under test, and the destination address is the port address of the FC device under test connecting the FC device under test and the FC switch under test, the destination address of the FC data frame constructed by the accompanying FC device under test is the port address of the FC switch under test connecting the FC device under test, and the source address is the input port address of the FC data frame input into the FC switch under test.

[0022] Step 1.2: The companion FC device sends the constructed FC data frame to the companion FC switch. The port connecting the companion FC switch and the companion FC device is set to route based on the source address of the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is as follows: according to the source address in the FC data frame, the data is forwarded to the port connecting the corresponding port of the FC switch under test and the companion FC switch under test; after the port connecting the companion FC switch and the companion FC device receives the FC data frame, the data is forwarded according to the routing table;

[0023] Step 1.3: After receiving the forwarded FC data frame, the port of the companion FC switch connected to the FC switch under test sends the FC data frame to the FC switch under test;

[0024] The workflow of data reception of the accompanying test system simulating multiple FC nodes is as follows:

[0025] Step 2.1: The port of the companion FC switch connected to the FC switch under test is set to route based on the destination address in the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward data to the port of the companion FC switch connected to the companion FC device according to the destination address in the FC data frame;

[0026] Step 2.2: The companion FC device receives and processes the FC data frame from the companion FC switch.

[0027] As an optional implementation, the method further includes the following steps:

[0028] The accompanying FC device constructs multiple FC data frames at the same time, and configures the source address and the destination address;

[0029] Send multiple FC data frames to the companion FC switch. The ports of the companion FC switch connected to the companion FC device are routed based on the source addresses of the FC data frames and then forwarded to the corresponding ports of the tested FC switch and the ports of the companion FC switch connected to the companion FC switch.

[0030] After each port of the accompanying FC switch connected to the accompanying FC device receives the FC data frame, the data is forwarded according to the routing table;

[0031] After receiving the forwarded FC data frame, the port of the companion FC switch connected to the FC switch under test sends the FC data frame to the FC switch under test.

[0032] As an optional implementation, the routing table of each port in the companion FC switch is configurable, and the field used for routing is based on the source address or destination address in the FC data frame. The routing mode is selected by configuration, that is, source address routing or destination address routing.

[0033] Compared with the prior art, the accompanying test system and method for simulating multiple FC nodes using an FC switch and FC devices proposed in the present invention require an actual FC accompanying test device to be prepared for each FC node to be tested, thereby resulting in high test equipment costs. However, with the simulation system of the present invention, only one accompanying test FC device and one accompanying test FC switch are required to simulate multiple FC nodes, greatly reducing the test cost and system construction.

[0034] At the same time, the traditional testing method is limited by the number of actual FC devices available, and the test scenarios are restricted. The simulation system proposed in the present invention can flexibly simulate any number of FC nodes by configuring the routing table of the accompanying FC switch, and has strong scalability to meet the needs of different test scenarios. In particular, for the test scenario of simulating the interaction of FC nodes in a large-scale network, the present invention can simulate complex network topologies and node interactions by configuring the routing table of the accompanying FC switch. In addition, compared with the traditional method that requires connecting and configuring multiple FC devices one by one, the simulation system can deploy and start the test faster. This reduces the preparation time before the test and improves the test efficiency.

[0035] The accompanying test system and method for simulating multiple FC nodes proposed in the present invention can manage and control the operation of the simulated nodes in a unified manner by configuring the accompanying test FC switch and the accompanying test FC device, thereby simplifying the test process, improving the test efficiency, and ensuring that the conditions of each test are completely consistent, thereby improving the accuracy and repeatability of the test, which is particularly important in the scenario of repeated tests to verify the stability and performance of the system. By creating a standardized and repeatable test environment, the results of different tests are more comparable, which is conducive to evaluating the impact of different configurations or optimization measures on system performance.

[0036] It should be understood that all combinations of the aforementioned concepts and the additional concepts described in more detail below can be considered as part of the inventive subject matter of the present disclosure as long as such concepts are not mutually inconsistent. In addition, all combinations of the claimed subject matter are considered as part of the inventive subject matter of the present disclosure.

[0037] The foregoing and other aspects, embodiments and features of the present invention can be more fully understood from the following description in conjunction with the accompanying drawings. Other additional aspects of the present invention, such as the features and / or beneficial effects of the exemplary embodiments, will be apparent from the following description or learned from the practice of the specific embodiments according to the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings are not intended to be drawn to scale. In the accompanying drawings, each identical or nearly identical component shown in each figure may be represented by the same reference numeral. For clarity, not every component is labeled in each figure. Embodiments of various aspects of the present invention will now be described by way of example and with reference to the accompanying drawings.

[0039] Figure 1 It is a schematic diagram of the network topology structure built when verifying the switching network of N FC terminal devices according to the existing design needs.

[0040] Figure 2 It is a schematic diagram of a test system for simulating multiple FC nodes built by using one FC switch according to an embodiment of the present invention. DETAILED DESCRIPTION

[0041] In order to better understand the technical content of the present invention, specific embodiments are given and described as follows in conjunction with the accompanying drawings.

[0042] Various aspects of the present invention are described in this disclosure with reference to the accompanying drawings, in which many illustrative embodiments are shown. The embodiments of the present disclosure are not necessarily intended to include all aspects of the present invention. It should be understood that the various concepts and embodiments introduced above, as well as those described in more detail below, can be implemented in any of many ways, because the concepts and embodiments disclosed by the present invention are not limited to any implementation. In addition, some aspects disclosed by the present invention can be used alone or in any appropriate combination with other aspects disclosed by the present invention.

[0043] Example 1

[0044] Combination Figure 2 The example shown is a system for simulating multiple FC nodes using a FC switch according to an embodiment of the present disclosure, including a tested FC switch, a tested FC device, and a companion test system.

[0045] The FC switch under test as the tested object has at least the 1st to Nth ports. As shown in the figure, for the convenience of explanation, the 1st to Nth ports are used as an example to connect to the FC device under test; the N+1th to 2Nth ports are used as an example to connect to the accompanying test system.

[0046] like Figure 2 , a plurality of FC devices under test are connected to the first to Nth ports of the FC switch under test in a one-to-one correspondence.

[0047] Combination Figure 2 The accompanying test system consists of an accompanying test FC switch and an accompanying test FC device, which is used to simulate multiple FC nodes.

[0048] The companion test FC device is used to construct and send FC data frames, and the source address and destination address in the constructed FC data frame are configurable to serve as a data source of the companion test system simulating multiple FC nodes.

[0049] The FC switch to be tested is used to receive the FC data frame sent by the FC device to be tested and send it to different ports of the FC device to be tested according to the configuration. The multiple ports A to M of the FC switch to be tested are output ports of simulated FC signals, which are connected one by one with the N test ports (i.e. the aforementioned N+1 to 2N ports) of the FC switch to be tested, and are used to simulate multiple data transmission and reception. Thus, the verification work of the complex FC switching network is completed with a lower equipment cost.

[0050] As an optional implementation, the routing table of each port in the FC switch to be tested is configurable. In the routing table of each port in the FC switch to be tested, the field used for routing is the source address or the destination address in the FC data frame, and the routing mode is selected by configuration, that is, source address routing or destination address routing.

[0051] As an optional implementation, in the process of simulating the data transmission of the accompanying test system of multiple FC nodes, the accompanying test FC device constructs an FC data frame and configures the source address and the destination address, and then sends the constructed FC data frame to the accompanying test FC switch;

[0052] After receiving the data frame, the port of the companion FC switch connected to the companion FC device performs routing and data forwarding according to the routing table; then, after receiving the forwarded FC data frame, the port of the companion FC switch connected to the tested FC switch sends the FC data frame to the tested FC switch.

[0053] As an optional implementation, the port of the companion FC switch connected to the companion FC device is set to route based on the source address of the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward data to the port connected to the companion FC switch among the corresponding ports of the tested FC switch according to the source address in the FC data frame.

[0054] As an optional implementation, the companion FC device is configured to construct multiple FC data frames simultaneously.

[0055] As an optional implementation, in the data transmission process of the accompanying test system simulating multiple FC nodes, the port in the accompanying test FC switch connected to the tested FC switch is set to perform routing based on the destination address in the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port in the accompanying test FC switch connected to the accompanying test FC device according to the destination address in the FC data frame;

[0056] The companion FC device receives and processes the FC data frame from the companion FC switch.

[0057] Combination Figure 2 As shown, based on the aforementioned system design, we will further explain the data sending and receiving process of simulating multiple FC nodes using the system.

[0058] The workflow of simulating the data transmission of the accompanying test system of multiple FC nodes is as follows:

[0059] Step 1.1: The accompanying FC device constructs an FC data frame. Based on the test requirement that the source address of the FC data frame received by the FC device under test is the input port address of the FC switch under test, and the destination address is the port address of the FC device under test connecting the FC device under test and the FC switch under test, the destination address of the FC data frame constructed by the accompanying FC device under test is the port address of the FC switch under test connecting the FC device under test, and the source address is the input port address of the FC data frame input into the FC switch under test.

[0060] Step 1.2: The companion FC device sends the constructed FC data frame to the companion FC switch. The port connecting the companion FC switch and the companion FC device is set to route based on the source address of the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is as follows: according to the source address in the FC data frame, the data is forwarded to the port connecting the corresponding port of the FC switch under test and the companion FC switch under test; after the port connecting the companion FC switch and the companion FC device receives the FC data frame, the data is forwarded according to the routing table;

[0061] Step 1.3: After receiving the forwarded FC data frame, the port of the companion FC switch connected to the FC switch under test sends the FC data frame to the FC switch under test.

[0062] The workflow of data reception of the accompanying test system simulating multiple FC nodes is as follows:

[0063] Step 2.1: The port of the companion FC switch connected to the FC switch under test is set to route based on the destination address in the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward data to the port of the companion FC switch connected to the companion FC device according to the destination address in the FC data frame;

[0064] Step 2.2: The companion FC device receives and processes the FC data frame from the companion FC switch.

[0065] As an optional implementation, the method further includes the following steps:

[0066] The accompanying FC device constructs multiple FC data frames at the same time, and configures the source address and the destination address;

[0067] Send multiple FC data frames to the companion FC switch. The ports of the companion FC switch connected to the companion FC device are routed based on the source addresses of the FC data frames and then forwarded to the corresponding ports of the tested FC switch and the ports of the companion FC switch connected to the companion FC switch.

[0068] After each port of the accompanying FC switch connected to the accompanying FC device receives the FC data frame, the data is forwarded according to the routing table;

[0069] After receiving the forwarded FC data frame, the port of the companion FC switch connected to the FC switch under test sends the FC data frame to the FC switch under test.

[0070] As an optional implementation, the routing table of each port in the companion FC switch is configurable, and the field used for routing is based on the source address or destination address in the FC data frame. The routing mode is selected by configuration, that is, source address routing or destination address routing.

[0071] Example 2

[0072] In this example, combined with Figure 2 We will take a test companion system simulating multiple FC nodes, which is composed of a test companion FC device 1 and a test companion FC switch, as an example to further describe the implementation of the present invention.

[0073] Figure 2 In the example, the FC network to be tested and verified includes a tested FC switch, a tested FC device 1, a tested FC device 2, ..., a tested FC device N. The tested FC devices 1-N are respectively connected to ports 1-N of the tested FC switch.

[0074] Accompanying test FC device 1: used to construct and send FC data frames, and the source address and destination address in the FC data frames are configurable. This accompanying test FC device 1 serves as the data source of the accompanying test system simulating multiple FC nodes. In the multi-node FC data receiving and sending environment, all FC data frames are derived from this device.

[0075] Companion FC switch: used to receive FC data frames sent by the companion FC device 1 and send them to different ports according to configuration requirements. Ports A to M of this companion FC switch are simulated FC signal output ports, which are connected to the test port of the switch under test and are used to simulate multiple data transmission sources.

[0076] The routing table of each port in the FC switch under test is configurable, and the field used for routing can be based on the source address or destination address in the FC data frame. The routing mode is selected through configuration, that is, source address routing or destination address routing.

[0077] As an optional embodiment, combining Figure 2 In the example shown, the workflow of simulating the data transmission of the accompanying test system of multiple FC nodes is as follows:

[0078] Step 1: The accompanying FC device 1 constructs an FC data frame according to the test requirements. To simulate the actual working environment, the source address of the FC data frame received by the device under test is the input port address of the switch under test, and the destination address is the port address of the device under test connected to the switch under test. According to this requirement, the destination address of the FC data frame constructed by the accompanying FC device 1 is the port address of the device under test connected to the switch under test, and the source address is the input port address of the FC data input to the switch under test; according to the test scenario, the accompanying FC device 1 can construct multiple FC data streams at the same time;

[0079] Step 2: The accompanying FC device 1 sends the constructed FC data stream to the accompanying FC switch. The port of the accompanying FC switch connected to the accompanying FC device 1 is set to route based on the source address of the FC frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port of the "corresponding port of the switch under test" connected to the accompanying FC switch according to the source address in the FC data frame; the port of the accompanying FC switch connected to the accompanying FC device 1 receives the data frame and forwards the data according to the routing table;

[0080] Step 3: After receiving the forwarded FC data frame, the port of the companion FC switch connected to the switch under test sends the FC data frame to the switch under test.

[0081] For example, take the simulation of an FC data flow input to the tested switch port N+1 and output to the tested device 1 as an example. The source address of this FC data flow is N+1 and the destination address is 1. The process is as follows:

[0082] Step 1: The accompanying FC device 1 constructs an FC data frame according to the test requirements, the source address of the FC data frame is N+1, the destination address is 1, and sends the constructed data frame to the accompanying FC switch;

[0083] Step 2: The port connecting the FC switch to the FC device 1 is port M+1. This port is set to route based on the source address of the FC frame. The routing table of this port is configured as follows:

[0084] FC frame source address Forwarding port number N+1 A N+2 B N+3 C N+4 D … …

[0085] Port M+1 receives the FC data frame and parses it to find that the source address of the FC data frame is N+1. Then, according to the routing table configuration, the data frame is sent to port A.

[0086] Step 3: Port A of the FC switch under test receives the FC data frame forwarded by port M+1, and sends it to port N+1 of the switch under test connected to port A;

[0087] Through the above steps, the input of the simulated switch port N+1 is realized, and the output port is the data flow of the device under test 1.

[0088] The above is the implementation process of simulating an FC data flow. According to the test requirements, if multiple FC data flows need to be simulated, such as "input from the tested switch port N+1 and output to the tested device 1", "input from the tested switch port N+2 and output to the tested device 2", "input from the tested switch port N+3 and output to the tested device 3", "input from the tested switch port N+4 and output to the tested device 4", "input from the tested switch port N+5 and output to the tested device 5", "input from the tested switch port N+6 and output to the tested device 6", etc., it is only necessary to send multiple FC data frames with corresponding source addresses and destination addresses to the tested FC device 1.

[0089] As an optional embodiment, combining Figure 2 In the example shown, the workflow of simulating data reception of the companion test system of multiple FC nodes is as follows:

[0090] Step 1: The port of the companion FC switch connected to the switch under test is set to route based on the destination address in the FC frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward data to the port of the companion FC switch connected to the companion FC device 1 according to the destination address in the FC data frame;

[0091] Step 2: The companion FC device 1 receives and processes the FC data frame.

[0092] For example, take the case where a FC data stream is received from the device under test 1 to the switch port 1 under test and from the switch port N+1 under test. The source address of this FC data stream is 1 and the destination address is N+1. The process is as follows:

[0093] Step 1: Port A of the companion FC switch connected to the switch under test is set to route based on the destination address in the FC frame, and the corresponding routing table is configured. The routing table configuration of this port is as follows:

[0094]

[0095]

[0096] The A port of the FC switch receives the FC data frame and parses it to find that the destination address of the FC data frame is N+1. Then, according to the routing table configuration, the data frame is sent to port M+1.

[0097] Step 2: Port M+1 of the companion FC switch receives the FC data frame forwarded by port A and sends it to companion FC device 1 for recording and processing.

[0098] Through the above steps, it is achieved to receive an FC data stream input from the device under test 1 to the port 1 of the switch under test.

[0099] According to the test requirements, if multiple FC data streams need to be received, such as "Device under test 1 input, switch under test N+1 output", "Device under test 2 input, switch under test N+2 output", "Device under test 3 input, switch under test N+3 output", "Device under test 4 input, switch under test N+4 output", "Device under test 5 input, switch under test N+5 output", "Device under test 6 input, switch under test N+6 output", etc., you only need to configure the ports of the companion FC switch and the switch under test to route based on the FC destination address, and configure the FC destination address forwarding port as the M+1 port in the routing table.

[0100] Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. A person with ordinary knowledge in the technical field to which the present invention belongs may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the definition of the claims.

Claims

1. A system for simulating multiple FC nodes using an FC switch, characterized in that: include: The FC switch under test has at least the 1st to Nth ports; A plurality of FC devices under test are connected to the first to Nth ports of the FC switch under test in a one-to-one correspondence; as well as The accompanying test system consists of a accompanying test FC switch and an accompanying test FC device, which is used to simulate multiple FC nodes; The accompanying test FC device is used to construct and send FC data frames, and the source address and destination address in the constructed FC data frame are configurable to serve as a data source of the accompanying test system simulating multiple FC nodes; The companion FC switch is used to receive FC data frames sent by the companion FC device and send them to different ports of the companion FC device according to configuration. The multiple ports A~M of the companion FC switch are output ports of simulated FC signals, which are connected one by one with the N test ports of the tested FC switch to simulate multiple data transmission and reception.

2. The system for simulating multiple FC nodes using an FC switch according to claim 1, characterized in that: The routing table of each port in the companion FC switch is configurable.

3. The system for simulating multiple FC nodes using an FC switch according to claim 2, characterized in that: In the routing table of each port in the companion FC switch, the field used for routing is the source address or the destination address in the FC data frame, and the routing mode is selected by configuration, that is, source address routing or destination address routing.

4. The system for simulating multiple FC nodes using an FC switch according to claim 1, characterized in that: In the process of simulating the data transmission of the accompanying test system of multiple FC nodes, the accompanying test FC device constructs an FC data frame and configures the source address and the destination address, and then sends the constructed FC data frame to the accompanying test FC switch; After receiving the data frame, the port of the companion FC switch connected to the companion FC device performs routing and data forwarding according to the routing table; then, after receiving the forwarded FC data frame, the port of the companion FC switch connected to the tested FC switch sends the FC data frame to the tested FC switch.

5. The system for simulating multiple FC nodes using an FC switch according to claim 4, characterized in that: The port of the companion FC switch connected to the companion FC device is set to route based on the source address of the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward data to the port connected to the companion FC switch among the corresponding ports of the tested FC switch according to the source address in the FC data frame.

6. The system for simulating multiple FC nodes using an FC switch according to claim 4 or 5, characterized in that: The companion FC device is configured to construct multiple FC data frames simultaneously.

7. The system for simulating multiple FC nodes using an FC switch according to claim 1, characterized in that: In the process of data transmission of the accompanying test system simulating multiple FC nodes, the port in the accompanying test FC switch connected to the FC switch under test is set to route based on the destination address in the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port in the accompanying test FC switch connected to the accompanying test FC device according to the destination address in the FC data frame; The companion FC device receives and processes the FC data frame from the companion FC switch.

8. A method for simulating multiple FC nodes implemented by the system according to any one of claims 1 to 7, characterized in that: The method comprises: The workflow of simulating data transmission of the companion test system of multiple FC nodes is as follows: Step 1.1: The accompanying FC device constructs an FC data frame. Based on the test requirement that the source address of the FC data frame received by the FC device under test is the input port address of the FC switch under test, and the destination address is the port address of the FC device under test connecting the FC device under test and the FC switch under test, the destination address of the FC data frame constructed by the accompanying FC device under test is the port address of the FC switch under test connecting the FC device under test, and the source address is the input port address of the FC data frame input into the FC switch under test. Step 1.2: The companion FC device sends the constructed FC data frame to the companion FC switch. The port connecting the companion FC switch and the companion FC device is set to route based on the source address of the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is as follows: according to the source address in the FC data frame, the data is forwarded to the port connecting the corresponding port of the FC switch under test and the companion FC switch under test; after the port connecting the companion FC switch and the companion FC device receives the FC data frame, the data is forwarded according to the routing table; Step 1.3: After receiving the forwarded FC data frame, the port of the companion FC switch connected to the FC switch under test sends the FC data frame to the FC switch under test; The workflow of data reception of the accompanying test system simulating multiple FC nodes is as follows: Step 2.1: The port of the companion FC switch connected to the FC switch under test is set to route based on the destination address in the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward data to the port of the companion FC switch connected to the companion FC device according to the destination address in the FC data frame; Step 2.2: The companion FC device receives and processes the FC data frame from the companion FC switch.

9. The method for simulating multiple FC nodes according to claim 8, characterized in that: The method further comprises the following steps: The accompanying FC device constructs multiple FC data frames at the same time, and configures the source address and the destination address; Send multiple FC data frames to the companion FC switch. The ports of the companion FC switch connected to the companion FC device are routed based on the source addresses of the FC data frames and then forwarded to the corresponding ports of the tested FC switch and the ports of the companion FC switch connected to the companion FC switch. After each port of the accompanying FC switch connected to the accompanying FC device receives the FC data frame, the data is forwarded according to the routing table; After receiving the forwarded FC data frame, the port of the companion FC switch connected to the FC switch under test sends the FC data frame to the FC switch under test.

10. The method for simulating multiple FC nodes according to claim 8 or 9, characterized in that: The routing table of each port in the companion FC switch is configurable, and the field used for routing is based on the source address or destination address in the FC data frame. The routing mode is selected through configuration, that is, source address routing or destination address routing.

Citation Information

Patent Citations

  • Testing method of interchanger product MINI LTT

    CN104579855A

  • Device test verification system and method based on FC (Fiber Channel) network

    CN108880948A

  • An equipment testing and verifying method based on an exchange type FC simulation card

    CN109842534A

  • Rail train network system function automation test system and test method

    CN117499252A