General routing configuration system and method for SRIO (Serial Radio Input / Output) dual-redundancy cross-cascade network
By designing a common routing configuration system for dual redundant cross-cascaded networks in SRIO networks, the problems of network connection topology and fault handling in dual redundant application scenarios are solved, and the robustness of the network system and fault automation handling capabilities are improved.
Patent Information
- Application Number
- CN202411152038.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-10
AI Technical Summary
In SRIO networks, there is a lack of effective network connection topology construction, switching port configuration and fault handling methods in dual redundant application scenarios, resulting in insufficient network system robustness, unified design capabilities and fault automation handling capabilities.
A common routing configuration system for SRIO dual redundant cross-cascaded networks was designed. Through cross-cascaded connection function modules and switching modules, a unified ID address and port routing information table is defined to realize the initial routing configuration and fault automation of the network system. Refactor.
It improves the robustness and adaptability of the network system, realizes automatic fault handling, and enhances the adaptability and fault handling capabilities of the dual-redundant network system.
Smart Images

Figure CN119109863A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of spaceborne electronic equipment technology, and more specifically, to a universal routing configuration system and method for SRIO dual-redundant cross-connected networks. Background Technology
[0002] Serial RapidIO (SRIO) is a packet-switched interconnect architecture with excellent performance and a simple structure, meeting the requirements of various high-performance embedded systems. It offers many advantages, such as low latency, high reliability, high bandwidth, and high efficiency, providing an excellent solution for the internal interconnection of high-performance embedded systems.
[0003] In applications with high reliability requirements, the stable operation of switches is crucial for the entire network. Especially in spaceborne applications, a dual-redundancy backup mechanism is typically employed, consisting of two identical and independent data switching modules forming a dual-redundant data switching unit. However, SRIO itself does not support multi-channel redundancy mechanisms. Therefore, in dual-redundancy application scenarios, how to construct the network connection topology, configure network switching ports, and handle network failures are key issues worthy of further research.
[0004] A literature search of existing technologies revealed the following regarding the application of dual-redundancy SRIO network systems:
[0005] Chinese patent document CN112104484 discloses a network structure based on SRIO bus. This patent document discloses a method for monitoring the master and backup switches of dual redundant SRIO bus through a network monitoring and switching device. However, it only has the monitoring and switching of switches and does not involve the connection topology and switching configuration of complex networks.
[0006] Chinese patent document CN116846739 discloses a method and apparatus for multi-machine hot backup in a RapidIO network system. This patent document discloses a method for multiple backup machines to compete for a host machine in case of host failure by listening to the heartbeat communication between the host and multiple backup machines. However, this method is not suitable for application scenarios with limited redundancy resources and high requirements for communication determinism.
[0007] Chinese patent document CN117155731 discloses a method for establishing a unique identifier for a RapidIO bus and a method for removing redundancy. This patent document also discloses a message processing method under dual-redundant transmission and reception of a RapidIO terminal, but does not involve the construction method of a dual-redundant switching system or the data exchange routing configuration method.
[0008] In terms of other types of network dual-redundancy system applications, Chinese patent document CN115529223 discloses a dual-redundant network card switching method based on cascaded switches, which discloses a single-hop switching connection dual-redundant Ethernet and a method for handling faults. However, this method is mainly aimed at the Ethernet communication mechanism and is suitable for link cold backup redundancy applications.
[0009] Chinese patent document CN109542823 discloses a trigger-based dual-redundant network and its usage method. This patent document discloses a board design method with a dual-redundant Ethernet interface and proposes a method for selecting and switching dual-redundant network cards, but it does not involve a dual-redundant Ethernet switching system or data routing method. There are many methods and cases for dual-redundant applications of data transmission methods such as RS422 serial communication, 1553B bus, and CAN bus, but because their communication mechanisms differ significantly from SRIO, their reference value is limited.
[0010] A review and analysis of existing technologies reveals the following problems in current SRIO network applications under dual-redundancy scenarios:
[0011] 1. Research on network connection methods between SRIO end nodes and switches, as well as between switches, is limited, which is not conducive to improving the robustness of the network system;
[0012] 2. There is limited research on the generalized address configuration methods for SRIO end nodes and switches, which is not conducive to improving the unified design capability of network system configuration parameters;
[0013] 3. There is a lack of research on how to perform generalized link switching under SRIO end node and switch failures, which is not conducive to improving the network system's ability to handle faults automatically. Summary of the Invention
[0014] To address the shortcomings of existing technologies, the purpose of this invention is to provide a universal routing configuration system and method for SRIO dual-redundant cross-connected networks.
[0015] A universal routing configuration system for SRIO dual-redundant cross-connected networks provided by the present invention includes:
[0016] SRIO dual-redundant cross-connected network;
[0017] The SRIO dual-redundant cross-connected network includes several functional modules, several switching modules, master node main link, master node backup link, backup node main link, backup node backup link, master switch main link, backup switch main link, and master-backup switch cross link.
[0018] The switching module is used to realize data exchange in the SRIO network, enabling the switching module host and the switching module standby to enter a dual-redundancy working mode; a switching module host and a switching module standby form a pair of switching module groups, and the switching module groups are cross-connected and cascaded in sequence.
[0019] The functional modules include dual-redundant functional modules and single-redundant functional modules, which are used to realize data transmission and reception in the SRIO network, enabling the functional module host and the functional module standby to enter dual-redundant working mode, or enabling the functional module to enter single-redundant working mode with only one machine.
[0020] The dual-redundant functional module has two SRIO interfaces for both the host and the standby, and these two SRIO interfaces are respectively connected to the host and the standby in a pair of switching module groups; the single-redundant functional module is treated as the host of the dual-redundant functional module and has two SRIO interfaces, which are respectively connected to the host and the standby in a pair of switching module groups.
[0021] The main node main link connects the SRIO communication link between the main function module host and the switching module host.
[0022] The SRIO communication link between the master node backup link connection function module host and the switching module backup unit;
[0023] The backup node main link connects the backup function module backup machine and the switching module backup machine via the SRIO communication link.
[0024] The backup node backup link connects the backup unit of the function module and the main unit of the switching module via an SRIO communication link.
[0025] The main link of the main switch connects the switching module host to the SRIO communication link of other switching module hosts.
[0026] The standby switch's main link connects the standby switching module to the SRIO communication link between the standby switching module and other standby switching modules.
[0027] The primary and backup switches have cross-links that connect the primary switching module to the backup switching module via SRIO communication links.
[0028] Preferably, in the SRIO dual-redundant cross-connected network, the ID address is uniformly defined by multiple fields; an independent field is defined as the primary / backup node identifier to distinguish between the host and backup of the functional module; an independent field is defined as the primary / backup link identifier to distinguish between the two SRIO interfaces in the host or backup of the functional module; and an independent field is defined as the functional module identifier to distinguish between different types of functional modules in the SRIO dual-redundant cross-connected network.
[0029] The functional module host uses the SRIO data packet source ID address output by the primary node's primary link as the primary node's primary link ID address; the functional module host uses the SRIO data packet source ID address output by the primary node's backup link as the primary node's backup link ID address; the functional module backup machine uses the SRIO data packet source ID address output by the backup node's primary link as the backup node's primary link ID address; the functional module backup machine uses the SRIO data packet source ID address output by the backup node's backup link as the backup node's backup link ID address.
[0030] Preferably, the port routing information table for the switching module host connecting to other switching module hosts in the switching module group is a set of the main link ID address of the main node and the backup link ID address of the backup node that can forward communication to the outside of the port; the port routing information table for the functional module host connecting to the functional module main node is the main link ID address of the functional module; and the port routing information table for the functional module backup host connecting to the functional module backup host is the backup link ID address of the functional module backup node.
[0031] The port routing information table for the backup switching module connecting to other backup switching module groups is a set of backup node primary link ID addresses and primary node backup link ID addresses for which communication can be forwarded externally on that port; the port routing information table for the host switching module connecting to the host switching module is the backup link ID address of the host switching module; and the port routing information table for the backup switching module connecting to the backup switching module connecting to the host switching module is the primary link ID address of the backup switching module connecting to the host switching module.
[0032] Preferably, when the system initializes the routing configuration for the SRIO dual-redundant cross-cascaded network, the hosts of each functional module communicate with each other, and the backup hosts of each functional module communicate with each other.
[0033] The functional module host sends SRIO data packets through the interface of the master node's master link ID address and receives them through the interface of the destination functional module host's master node's master link ID address; it also sends SRIO data packets through the interface of the master node's backup link ID address and receives them through the interface of the destination functional module host's master node's backup link ID address.
[0034] The standby functional module sends SRIO data packets through the interface of the standby node's primary link ID address, and receives the data packets through the interface of the destination functional module standby node's primary link ID address; it also sends SRIO data packets through the interface of the standby node's backup link ID address, and receives the data packets through the interface of the destination functional module standby node's backup link ID address.
[0035] Preferably, when the system initializes the routing configuration for the SRIO dual-redundant cross-connected network, the switching module enables the ports of the master node main link, master node backup link, backup node main link, and backup node backup link connected to the functional module, enables the ports of the master switch main link and backup switch main link connected to other switching modules, and disables the ports of the master and backup switch cross links.
[0036] Preferably, the main functional module is capable of communicating with other backup functional modules;
[0037] The functional module host sends SRIO data packets through the interface of the master node's master link ID address, and receives them through the interface of the backup node's backup link ID address of the destination functional module backup machine; it also sends SRIO data packets through the interface of the master node's backup link ID address, and receives them through the interface of the backup node's master link ID address of the destination functional module backup machine.
[0038] The standby functional module sends SRIO data packets through the interface of the standby node's primary link ID address, and receives them through the interface of the primary node's standby link ID address of the destination functional module host; it also sends SRIO data packets through the interface of the standby node's standby link ID address, and receives them through the interface of the primary node's primary link ID address of the destination functional module host.
[0039] Preferably, in a pair of switching modules, if the primary or backup switching module fails, the failed switching module exits the SRIO dual-redundant cross-connected network. The unfailed switching modules enable the ports of the cross-link between the primary and backup switches, and the port routing information table is the port routing information table of the primary link of the primary switch or the primary link of the backup switch for the failed switching module. Among the other switching modules connected to the failed switching module, the ports of the primary link of the primary switch or the primary link of the backup switch connected to the failed switching module are disabled, and the ports of the cross-link between the primary and backup switches are enabled. The port routing information table is the port routing information table of the disabled primary link of the primary switch or the primary link of the backup switch.
[0040] If the primary switch module fails, the backup switch module in the switch module group will enable the port of the cross-link between the primary and backup switches, and the port routing information table will be the port routing information table of the primary switch of the failed switch module. In other switch module hosts connected to the failed switch module, the port of the primary switch of the primary switch connected to the failed switch module will be disabled, and the port of the cross-link between the primary and backup switches will be enabled, and the port routing information table will be the port routing information table of the primary switch of the disabled primary switch.
[0041] If the standby switch fails, the host switch in the switch module group will enable the ports of the cross-link between the primary and standby switches, and the port routing information table will be the port routing information table of the primary link of the standby switch of the failed switch module. Among the other standby switch modules connected to the failed switch module, the ports of the primary link of the standby switch connected to the failed switch module will be disabled, and the ports of the cross-link between the primary and standby switches will be enabled, and the port routing information table will be the port routing information table of the primary link of the disabled standby switch.
[0042] Preferably, in a pair of switching module groups, if the primary or backup switching module fails, the functional modules directly connected to the failed switching module maintain their routing configuration, or the primary link port of the primary node or the primary link port of the backup node connected to the failed switching module is disabled; if the primary link of the primary node is disabled, the original primary link ID address of the functional module is changed to the primary link ID address of the primary node; if the primary link port of the backup node is disabled, the backup link ID address of the backup node is changed to the primary link ID address of the backup node.
[0043] Preferably, in a pair of switching modules, if the switching module host fails, the port of the function module host connected to the failed switching module host is disabled, and the port address of the function module host connected to the normal switching module standby is changed; if the switching module standby fails, the port of the function module standby connected to the failed switching module standby is disabled, and the port address of the function module standby connected to the normal switching module host is changed.
[0044] A generalized routing configuration method for SRIO dual-redundant cross-cascaded networks provided by the present invention includes:
[0045] Configuration steps: Cross-cascade the dual-redundant function module and the switching module, define the SRIO dual-redundant cross-cascade network ID address by field, and configure the port routing information table for the dual-redundant switching module master and standby.
[0046] Network reconstruction steps: When a dual-redundant functional module or switching module fails, change the ID address of the functional module or the routing information table configuration of the switching module port to complete the reconstruction of the network system.
[0047] Compared with the prior art, the present invention has the following beneficial effects:
[0048] 1. This invention improves the robustness of the network system by cross-redundant cascading between SRIO end nodes and switches, as well as between switches.
[0049] 2. This invention achieves unified routing and switching address and port configuration for network systems by defining a generalized ID address for SRIO end nodes and configuring a generalized routing information table for switch ports, thereby improving the adaptability of dual-redundant network systems.
[0050] 3. The method provided by this invention can reconstruct the network system by changing the ID address of the end node or the routing information table configuration of the switch port in the event of an end node or switch failure, thereby improving the network system's ability to automatically handle faults.
[0051] Other beneficial effects of the present invention will be explained in detail through the introduction of specific technical features and technical solutions in specific embodiments. Those skilled in the art should be able to understand the beneficial technical effects brought about by these technical features and technical solutions through the introduction of these technical features and technical solutions. Attached Figure Description
[0052] Other features, objects and advantages of the present invention will become more apparent upon reading the detailed description of non-limiting embodiments with reference to the following drawings:
[0053] Figure 1 This is a schematic diagram of the system configuration of the present invention.
[0054] Figure 2 This is a schematic diagram illustrating the definition of the SRIO network ID identifier in this invention.
[0055] Figure 3 This is a schematic diagram of the switching link port routing configuration method when the SRIO network switching module host fails, as described in this invention.
[0056] Figure 4 This is a schematic diagram of the node link port routing configuration method when the SRIO network switching module host fails, as described in this invention. Detailed Implementation
[0057] The present invention will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present invention, but do not limit the invention in any way. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all fall within the protection scope of the present invention.
[0058] Reference Figure 1 As shown, an SRIO dual-redundant cross-connected network and a generalized routing configuration system include:
[0059] SRIO dual-redundant cross-connected network;
[0060] The SRIO dual-redundant cross-connected network consists of several functional modules, several switching modules, master node main link, master node backup link, backup node main link, backup node backup link, master switch main link, backup switch main link, and master and backup switch cross links.
[0061] The switching module completes the SRIO network data switching function, supports dual redundancy operation of the switching module host and the switching module standby, the switching module host and the switching module standby form a pair of switching module groups, and the switching module groups are cross-connected and cascaded in sequence;
[0062] The aforementioned functional module completes the SRIO network data transmission and reception function, supports dual-redundancy operation of the functional module host and standby, and also supports single-redundancy operation with only one functional module. For the dual-redundant functional module, its host and standby each have two SRIO interfaces, which are respectively connected to the host and standby in a pair of switching module groups. For the single-redundant functional module, it is treated as the host of the dual-redundant functional module, has two SRIO interfaces, and is respectively connected to the host and standby in a pair of switching module groups.
[0063] The master node main link is the SRIO communication link connecting the functional module host and the switching module host;
[0064] The master node backup link is an SRIO communication link connecting the functional module host and the switching module backup unit.
[0065] The backup node main link is an SRIO communication link connecting the functional module backup machine and the switching module backup machine.
[0066] The backup node backup link is an SRIO communication link connecting the backup functional module and the host switching module.
[0067] The main link of the main switch is the SRIO communication link connecting the switching module host with other switching module hosts;
[0068] The backup switch main link is an SRIO communication link connecting the backup switching module to other backup switching modules.
[0069] The primary and backup switch cross-link is an SRIO communication link connecting the primary switch module with other backup switch modules.
[0070] In an SRIO network, the ID address is uniformly defined with separate fields; a separate field is defined as the primary / backup node identifier, used to distinguish between the host and backup functional modules; a separate field is defined as the primary / backup link identifier, used to distinguish between the two SRIO interfaces in the host or backup functional module; and a separate field is defined as the functional module identifier, used to distinguish between different types of functional modules in the SRIO network. Among these:
[0071] The functional module host uses the source ID address of the SRIO data packet output by the master node's main link as the master node's main link ID address;
[0072] The functional module host uses the source ID address of the SRIO data packet output by the primary node backup link as the primary node backup link ID address;
[0073] The source ID address of the SRIO data packets output by the standby functional module through the standby node's primary link is the standby node's primary link ID address;
[0074] The source ID address of the SRIO data packets output by the standby functional module through the standby node standby link is the standby node standby link ID address.
[0075] For a switching module host, the port routing information table connecting to other switching module hosts in the switching module group is a set of the primary link ID address of the primary node and the backup link ID address of the backup node that can forward communication to the outside of the port; the port routing information table connecting to a functional module host is the primary link ID address of the functional module's primary node; the port routing information table connecting to a functional module backup host is the backup link ID address of the functional module's backup node.
[0076] For standby switching modules, the port routing information table connecting to standby switching modules in other switching module groups is a set of standby node primary link ID addresses and primary node standby link ID addresses that can forward communication to the outside via that port; the port routing information table connecting to the host of a function module is the standby link ID address of the host of that function module; and the port routing information table connecting to standby switching modules is the primary link ID address of the standby node of that function module.
[0077] When the system initializes the routing configuration for the SRIO network, communication occurs between the main units of each functional module and between the standby units of each functional module; among them:
[0078] The functional module host sends SRIO data packets through the interface of the master node's master link ID address, and receives the data packets through the interface of the destination functional module host's master node's master link ID address;
[0079] The functional module host sends SRIO data packets through the interface of the primary node backup link ID address, and receives the data packets through the interface of the destination functional module host primary node backup link ID address;
[0080] The standby functional module sends SRIO data packets through the interface of the standby node's primary link ID address, and receives the data packets through the interface of the destination functional module standby node's primary link ID address.
[0081] The standby functional module sends SRIO data packets through the interface of the standby node's standby link ID address, and receives the data packets through the interface of the destination functional module standby node's standby link ID address.
[0082] The main functional module can communicate with other backup functional modules:
[0083] The functional module host sends SRIO data packets through the interface of the master node's master link ID address, and receives them through the interface of the backup node's backup link ID address of the destination functional module's backup machine.
[0084] The functional module host sends SRIO data packets through the interface of the primary node backup link ID address, and receives them through the interface of the backup node primary link ID address of the destination functional module backup machine.
[0085] The standby functional module sends SRIO data packets through the interface of the standby node's primary link ID address, and receives them through the interface of the primary node's standby link ID address of the destination functional module host.
[0086] The standby functional module sends SRIO data packets through the interface of the standby node's standby link ID address, and receives them through the interface of the primary node's primary link ID address of the destination functional module host.
[0087] When the system initializes the routing configuration for the SRIO network, the switching module enables the ports of the primary link, backup link, primary link, and backup link of the primary node connected to the functional module, enables the ports of the primary link and primary link of the primary switch connected to other switching modules, and disables the ports of the cross-link of the primary and backup switches.
[0088] In a pair of switching modules, if the primary or backup switching module fails, the failed switching module exits the SRIO network. The normal switching module enables the ports of the cross-link between the primary and backup switches, and the port routing information table is the port routing information table of the primary link of the primary switch or the primary link of the backup switch for the failed switching module. For other switching modules connected to the failed switching module, the ports of the primary link of the primary switch or the primary link of the backup switch connected to the failed switching module are disabled, and the ports of the cross-link between the primary and backup switches are enabled. The port routing information table is the port routing information table of the primary link of the primary switch or the primary link of the backup switch that was disabled.
[0089] If the primary switch module fails, the backup switch module in the switch module group enables the port of the cross-link between the primary and backup switches, and the port routing information table is the port routing information table of the primary switch of the failed switch module. For other switch module hosts connected to the failed switch module, the port of the primary switch of the primary switch connected to the failed switch module is disabled, and the port of the cross-link between the primary and backup switches is enabled, and the port routing information table is the port routing information table of the primary switch of the disabled primary switch.
[0090] If a standby switch fails, the host switch in the switch module group enables the ports of the cross-link between the primary and standby switches, and the port routing information table is the port routing information table of the primary link of the standby switch of the failed switch module. For other standby switches connected to the failed switch module, the ports of the primary link of the standby switch connected to the failed switch module are disabled, and the ports of the cross-link between the primary and standby switches are enabled, and the port routing information table is the port routing information table of the primary link of the disabled standby switch.
[0091] In a pair of switching modules, if the primary or backup switching module fails, the routing configuration of the functional modules directly connected to the failed switching module can remain unchanged; alternatively, the primary link port of the primary node or the primary link port of the backup node connected to the failed switching module can be disabled, and the original primary link ID address of the functional module can be changed to the primary link ID address of the primary node or the backup link ID address of the backup node can be changed to the primary link ID address of the backup node.
[0092] Specifically, if the switching module host fails, the port of the functional module host connected to the failed switching module host can be disabled, and the port address of the functional module host connected to the normal switching module standby host can be changed, that is, the original standby link ID address of the primary node can be changed to the primary link ID address of the primary node.
[0093] Specifically, if the standby switch module fails, the standby port of the functional module connected to the failed standby switch module can be disabled, and the port address connecting the standby functional module to the normal switch module host can be changed, that is, the standby link ID address of the standby node is changed to the master link ID address of the standby node.
[0094] This invention achieves unified routing and switching address and port configuration for network systems by defining a generalized ID address for SRIO end nodes and configuring a generalized routing information table for switch ports, thereby improving the adaptability of dual-redundant network systems. It also enables network system reconstruction by changing the ID address of end nodes or the routing information table configuration of switch ports in the event of end node or switch failure, thereby improving the automated fault handling capability of network systems.
[0095] The above are basic embodiments of the present invention. The technical solution of the present invention will be further described below through a preferred embodiment.
[0096] Example 1
[0097] Reference Figure 1 As shown in this embodiment, the SRIO dual-redundant cross-connected network consists of several functional modules, several switching modules, master node main link, master node backup link, backup node main link, backup node backup link, master switch main link, backup switch main link, and master-backup switch cross-link.
[0098] The switching module completes the SRIO network data switching function, supports dual redundancy operation of the switching module master and the switching module standby, and the switching module master and the switching module standby form a pair of switching modules.
[0099] by Figure 1 For example, switching module 1-primary and switching module 1-backup are the primary and backup units, respectively, forming a pair of switching module groups. The switching module groups are cross-connected and cascaded sequentially. The SRIO communication link connecting the primary switching module to other primary switching modules is the primary link of the primary switch; the SRIO communication link connecting the backup switching module to other backup switching modules is the primary link of the backup switch; the SRIO communication link connecting the primary switching module to other backup switching modules is the cross-link between the primary and backup switches.
[0100] Taking the cross-connection of switching module 1 and switching module 2 as an example, the link between switching module 1 and main and switching module 2 and main is the main link of the main switch; the link between switching module 1 and backup and switching module 2 and backup is the main link of the backup switch; the link between switching module 1 and main and switching module 2 and backup, and the link between switching module 1 and backup and switching module 2 and main are cross-links between the main and backup switches.
[0101] The functional module completes SRIO network data transmission and reception, supporting dual-redundancy operation with both the main and backup functional modules, as well as single-redundancy operation with only one functional module. For dual-redundant functional modules, both the main and backup functional modules have two SRIO interfaces, which are connected to the main and backup functional modules in a pair of switching modules, respectively. For single-redundant functional modules, they are treated as dual-redundant main functional modules, with two SRIO interfaces, each connected to the main and backup functional modules in a pair of switching modules. The SRIO communication link connecting the main functional module and the main switching module is the main link of the main node; the SRIO communication link connecting the main functional module and the backup switching module is the backup link of the main node; the SRIO communication link connecting the backup functional module and the backup switching module is the main link of the backup node; and the SRIO communication link connecting the backup functional module and the main switching module is the backup link of the backup node. Taking the connection between functional module 1 and switching module 1 as an example, the link between functional module 1-master and switching module 1-master is the master link of the master node; the link between functional module 1-master and switching module 1-backup is the backup link of the master node; the link between functional module 1-backup and switching module 1-backup is the master link of the backup node; and the link between functional module 1-backup and switching module 1-master is the backup link of the backup node.
[0102] SRIO routes data packets based on device identifiers (IDs). Each directly addressable device in the network should have one or more unique device identifiers. Source and destination device identifiers are added to the transport layer protocol. The destination device identifier is used for addressing during data forwarding, while the source device identifier is used by the destination device when generating response packets. In an interconnected SRIO network, each switch contains a mapping table that indicates how to route the destination device identifier in each data packet from the input port to the correct output port.
[0103] Two different ID identifier lengths are allowed: a large field ID identifier of 16 bits and a small field ID identifier of 8 bits. These two different ID identifier lengths are suitable for systems of different sizes. For dual-redundant SRIO networks, a unified method is used to define the ID address by field. In this embodiment, the least significant bit of the ID address is the primary / backup link identifier, used to distinguish the two SRIO interfaces in the host or backup unit of the functional module; "0" indicates the primary link and "1" indicates the backup link. The next least significant bit is the primary / backup node identifier, used to distinguish the host and backup units of the functional module; "0" indicates the primary node and "1" indicates the backup node. The remaining higher bits of the ID address are used to distinguish different functional modules in the SRIO network.
[0104] Reference Figure 1 As shown, taking functional module 1 as an example, the small field ID is used for identification. The functional module host uses the SRIO data packet source ID address output by the master node's master link as the master node's master link ID address, which is the "0xA0" address interface of functional module 1-master; the functional module host uses the SRIO data packet source ID address output by the master node's backup link as the master node's backup link ID address, which is the "0xA1" address interface of functional module 1-master; the functional module backup machine uses the SRIO data packet source ID address output by the backup node's master link as the backup node's master link ID address, which is the "0xA2" address interface of functional module 1-backup; the functional module backup machine uses the SRIO data packet source ID address output by the backup node's backup link as the backup node's backup link ID address, which is the "0xA3" address interface of functional module 1-backup.
[0105] For a switching module host, the port routing information table for connecting to other switching module hosts in other switching module groups is a set of primary link ID addresses and backup link ID addresses of the primary node and backup nodes that can forward communication on that port. Figure 1Taking switch module 1-main port 2 as an example, it is connected to switch module 2-main port 0. The nodes that switch module 1-main port 2 can forward communication to are functional module 2-main and functional module 2-backup. The main link ID address of the main node and the backup link ID address of the backup node are "0xB0" and "0xB2" respectively. The port routing information table for connecting to the functional module host is the main link ID address of the functional module's main node; the port routing information table for connecting to the functional module backup is the backup link ID address of the functional module's backup node.
[0106] For standby switching modules, the port routing information table connecting to standby switching modules in other switching module groups is a set of standby node primary link ID addresses and primary node standby link ID addresses for which communication can be forwarded on that port. The port routing information table connecting to the host functional module is the standby link ID address of the host functional module's primary node; the port routing information table connecting to standby functional modules is the primary link ID address of the standby functional module's standby node.
[0107] During the initial routing configuration of the SRIO network, the main functional modules communicate with each other, and the standby functional modules also communicate with each other. Data exchange link redundancy is achieved between the main functional modules through a dual-redundant switching network. Specifically, the main functional module sends SRIO data packets through the interface of the primary node's primary link ID address, and receives them through the interface of the destination main functional module's primary node's primary link ID address; the main functional module sends SRIO data packets through the interface of the primary node's standby link ID address, and receives them through the interface of the destination main functional module's standby node's standby link ID address; the standby functional module sends SRIO data packets through the interface of the standby node's primary link ID address, and receives them through the interface of the destination standby functional module's standby node's primary link ID address; the standby functional module sends SRIO data packets through the interface of the standby node's standby link ID address, and receives them through the interface of the destination standby functional module's standby node's standby link ID address.
[0108] When the system initializes the routing configuration for the SRIO network, the switching module enables the ports of the primary link, backup link, primary link, and backup link of the primary node connected to the functional module, enables the ports of the primary link and primary link of the primary switch connected to other switching modules, and disables the ports of the cross-link of the primary and backup switches.
[0109] In a pair of switching modules, if either the primary or backup switching module fails, the failed switching module exits the SRIO network. The normal switching modules enable the ports on the cross-link between the primary and backup switches, and the port routing information table is the same as the port routing information table for the primary or backup primary link of the failed switching module. For other switching modules connected to the failed switching module, the ports on the primary or backup primary link of the connected primary or backup switch are disabled, and the ports on the cross-link between the primary and backup switches are enabled. The port routing information table is the same as the port routing information table for the disabled primary or backup primary link. Figure 1 For example, if the primary switch module 2 fails, the backup switch module 2 needs to take over the data switching function of the primary switch module 2. Ports 0 and 2 are enabled on the backup switch module 2. The routing table for port 0 is the same as the primary switch module 2's port 0 routing table, and the routing table for port 2 is the same as the primary switch module 2's port 2 routing table. For the primary switch modules 1 and 3 connected to the primary switch module 2, port 2 of the primary switch module 1 and port 0 of the primary switch module 3 are disabled, and port 3 of the primary switch module 1 and port 1 of the primary switch module 3 are enabled. The routing table for port 3 of the primary switch module 1 is the same as the port 2 routing table, and the routing table for port 1 of the primary switch module 3 is the same as the port 0 routing table. The final switching configuration result is as follows: Figure 3 As shown. At this time, although the primary switch module 2 has failed, the hosts of other switch modules can still achieve dual redundancy of the links through the backup switch module 2, thereby maximizing the reliability of the network system.
[0110] In a pair of switching modules, if either the primary or backup switching module fails, the routing configuration of the functional modules directly connected to the failed switching module can remain unchanged. However, to improve the reliability of the switching links and compensate for the loss of link redundancy caused by the switching module failure, the primary link port of the primary node or the primary link port of the backup node connected to the failed switching module can be disabled, and the original primary link ID address of the functional module can be changed to the primary link ID address of the primary node or the backup link ID address of the backup node can be changed to the primary link ID address of the backup node. Figure 1 For example, if the primary switch module 1 fails, the backup switch module 1 needs to take over the data switching function of the primary switch module 1. The primary switch module 1 disables the port connecting to the failed primary switch module 1 and changes the port address connecting the primary switch module 1 to the normal backup switch module 1, i.e., changing the original backup link ID address "0xA1" to the primary link ID address "0xA0". After the change, the primary switch module 1 can communicate with the normal backup switch module 1 and other switch module hosts. The final configuration result is as follows: Figure 4 As shown.
[0111] Although communication between the main functional modules and the standby functional modules occurs during initial setup, when cross-communication between a main functional module and other standby functional modules is required due to main or standby functional module failure or software migration, this is achieved by changing the destination ID address configuration of the sending end of the functional module. This avoids altering the routing information table of the switching system, minimizing the impact of routing configuration changes. Specifically, if cross-communication between a main functional module and other standby functional modules is required, then... Figure 1 The following explanation uses the example of communication between functional module 1 (main) and functional module 2 (backup):
[0112] 1. Functional module 1 - master sends SRIO data packets through the interface of the master node's master link ID address "0xA0", and receives them through the interface of the backup node's backup link ID address "0xB2" at the destination of the data packets.
[0113] 2. Functional module 1 - the primary node sends SRIO data packets through the interface of the primary node's backup link ID address "0xA1", and receives the data packets through the interface of the backup node's primary link ID address "0xB3" in the destination functional module 2 - the backup node.
[0114] 3. Functional module 2-backup sends SRIO data packets through the interface of the backup node's master link ID address "0xB3", and receives the data packets through the interface of the master node's backup link ID address "0xA1" of the destination functional module 1-master.
[0115] 4. Functional module 2-backup sends SRIO data packets through the interface of the backup link ID address of the backup node, and receives them through the interface of the master node master link ID address "0xA0" of the destination functional module 1-master.
[0116] It should be noted that when configuring a functional module host to communicate with other functional module backups, the fault handling method mentioned above, which involves enabling the cross-link of the primary and backup switches of the normal switching modules and configuring the relevant port routing information table, still applies if the host or backup in a pair of switching module groups fails.
[0117] Those skilled in the art will understand that, besides implementing the system and its various devices, modules, and units provided by this invention in the form of purely computer-readable program code, the same functions can be achieved entirely through logical programming of the method steps, making the system and its various devices, modules, and units of this invention function in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, the system and its various devices, modules, and units provided by this invention can be considered as a hardware component, and the devices, modules, and units included therein for implementing various functions can also be considered as structures within the hardware component; alternatively, the devices, modules, and units for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0118] In the description of this application, it should be understood that the terms "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0119] Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention. Unless otherwise specified, the embodiments and features described in this application can be arbitrarily combined with each other.
Claims
1. A universal routing configuration system for SRIO dual redundant cross-connected cascade networks, characterized in that: include: SRIO dual redundant cross-connect cascade network; The SRIO dual-redundancy cross-cascade network includes several functional modules, several switching modules, a main link of a master node, a backup link of a master node, a main link of a backup node, a backup link of a backup node, a main link of a master switch, a main link of a backup switch, and a cross link between a master switch and a backup switch; The switching module is used to realize data exchange of the SRIO network, so that the switching module host and the switching module standby machine enter a dual-redundancy working mode; a switching module host and a switching module standby machine form a pair of switching module groups, and each switching module group is cross-connected and cascaded in sequence; The functional modules include dual-redundancy functional modules and single-redundancy functional modules, which are used to realize data transmission and reception of the SRIO network, so that the functional module host and the functional module standby machine enter the dual-redundancy working mode, or the functional module enters the single-redundancy working mode with only one machine; The host and standby of the dual-redundancy function module have two SRIO interfaces respectively, and the two SRIO interfaces are respectively connected to the host and standby in a pair of switch module groups; the single-redundancy function module is treated as a dual-redundancy function module host, and has two SRIO interfaces, which are respectively connected to the host and standby in a pair of switch module groups; The master node main link connects the SRIO communication link of the function module host and the switch module host; The master node standby link connects the SRIO communication link of the function module host and the switch module standby machine; The standby node main link connects the SRIO communication link of the functional module standby machine and the switch module standby machine; The standby node standby link connects the SRIO communication link of the functional module standby machine and the switch module host; The main link of the main switch connects the SRIO communication link of the switch module host and other switch module hosts; The main link of the standby switch connects the SRIO communication link of the standby switch module and other standby switch modules; The active and standby switches cross-link to connect the SRIO communication links of the switch module host and other switch module standby machines.
2. The SRIO dual-redundancy cross-cascade network universal routing configuration system according to claim 1, characterized in that: The ID address in the SRIO dual redundant cross cascade network is uniformly defined in different fields; an independent field is defined as a primary and standby node identification bit, which is used to distinguish between the host and the standby machine of the functional module; an independent field is defined as a primary and standby link identification bit, which is used to distinguish between the two SRIO interfaces in the host or standby machine of the functional module; an independent field is defined as a functional module identification bit, which is used to distinguish different types of functional modules in the SRIO dual redundant cross cascade network; The functional module host uses the SRIO data packet source ID address output by the main link of the master node as the main link ID address of the master node; the functional module host uses the SRIO data packet source ID address output by the standby link of the master node as the standby link ID address of the master node; the functional module standby machine uses the SRIO data packet source ID address output by the standby node main link as the standby node main link ID address; the functional module standby machine uses the SRIO data packet source ID address output by the standby node standby link as the standby node standby link ID address.
3. A SRIO dual-redundancy cross-cascade network universal routing configuration system according to claim 1, characterized in that: The port routing information table of the switch module host connected to the switch module host in other switch module groups is a set of the main link ID address of the master node and the standby link ID address of the standby node that can forward communication externally; the port routing information table of the function module host is the main link ID address of the main node of the function module; the port routing information table of the function module standby is the standby link ID address of the standby node of the function module; The port routing information table of the switching module standby machine connected to the switching module standby machines in other switching module groups is a set of the standby node main link ID address and the main node standby link ID address that can forward communications to the outside by the port; the port routing information table connected to the functional module host is the main node standby link ID address of the functional module; the port routing information table connected to the functional module standby machine is the main link ID address of the functional module standby node.
4. A SRIO dual-redundancy cross-cascade network universal routing configuration system according to claim 1, characterized in that: When the system initializes the routing configuration of the SRIO dual-redundancy cross-cascade network, the main machines of each functional module communicate with each other, and the standby machines of each functional module communicate with each other; The functional module host sends an SRIO data packet through the interface of the main link ID address of the master node, and receives it through the interface of the main link ID address of the main node of the functional module host of the destination data packet; sends an SRIO data packet through the interface of the backup link ID address of the master node, and receives it through the interface of the backup link ID address of the main node of the functional module host of the destination data packet; The functional module standby sends an SRIO data packet through the interface of the standby node main link ID address, and receives it through the interface of the standby node main link ID address of the destination functional module standby machine of the data packet; sends an SRIO data packet through the interface of the standby node standby link ID address, and receives it through the interface of the standby node standby link ID address of the destination functional module standby machine of the data packet.
5. A SRIO dual-redundancy cross-cascade network universal routing configuration system according to claim 4, characterized in that: When the system initializes the routing configuration for the SRIO dual redundant cross cascade network, the switching module enables the ports of the master node main link, the master node standby link, the standby node main link and the standby node standby link connected to the functional module, enables the ports of the main link of the main switch and the standby switch main link connected to other switching modules, and disables the ports of the cross link of the master and standby switches.
6. A SRIO dual-redundancy cross-cascade network universal routing configuration system according to claim 4, characterized in that: The functional module host can communicate with other functional module standby machines; The function module host sends an SRIO data packet through the interface of the main link ID address of the master node, and receives it through the interface of the standby link ID address of the standby node of the destination function module standby machine of the data packet; sends an SRIO data packet through the interface of the standby link ID address of the master node, and receives it through the interface of the standby main link ID address of the standby node of the destination function module standby machine of the data packet; The functional module standby sends an SRIO data packet through the interface of the standby node main link ID address, and receives it through the interface of the main node standby link ID address of the destination functional module host of the data packet; sends an SRIO data packet through the interface of the standby node standby link ID address, and receives it through the interface of the main node main link ID address of the destination functional module host of the data packet.
7. A SRIO dual-redundancy cross-cascade network universal routing configuration system according to claim 1, characterized in that: In a pair of switching module groups, if the main or standby switching module fails, the failed switching module exits the SRIO dual-redundancy cross-link cascade network, and the surviving switching module enables the ports of the cross-links of the active and standby switches, and the port routing information table is the port routing information table of the main link of the main switch or the main link of the standby switch of the failed switching module; in other switching modules connected to the failed switching module, the ports of the main link of the main switch or the main link of the standby switch connected to the failed switching module are disabled, and the ports of the cross-links of the active and standby switches are enabled, and the port routing information table is the port routing information table of the disabled main link of the main switch or the main link of the standby switch; If the switch module host fails, the switch module standby in the switch module group enables the port of the cross link of the active and standby switches, and the port routing information table is the port routing information table of the main link of the main switch of the failed switch module host; in other switch module hosts connected to the failed switch module host, the port of the main link of the main switch connected to the failed switch module host is disabled, and the port of the cross link of the active and standby switches is enabled, and the port routing information table is the port routing information table of the disabled main link of the main switch; If the switch module standby fails, the switch module host in the switch module group enables the ports of the cross-links of the active and standby switches, and the port routing information table is the port routing information table of the main link of the standby switch of the failed switch module standby; in other switch module standbys connected to the failed switch module standby, the ports of the main link of the standby switch connected to the failed switch module standby are disabled, and the ports of the cross-links of the active and standby switches are enabled, and the port routing information table is the port routing information table of the disabled main link of the standby switch.
8. A SRIO dual-redundancy cross-cascade network universal routing configuration system according to claim 7, characterized in that: In a pair of switching module groups, if the main or standby switching module fails, the functional module directly connected to the failed switching module maintains the routing configuration unchanged, or the main link of the main node or the main link port of the standby node connected to the failed switching module is disabled; if the main link of the main node is disabled, the ID address of the functional module originally set to the main node standby link is changed to the main node main link ID address; if the standby node main link port is disabled, the standby node standby link ID address is changed to the standby node main link ID address.
9. A SRIO dual-redundancy cross-cascade network universal routing configuration system according to claim 8, characterized in that: In a pair of switching module groups, if the switching module host fails, the function module host port connected to the failed switching module host is disabled, and the port address of the function module host connected to the normal switching module standby is changed; if the switching module standby fails, the function module standby port connected to the failed switching module standby is disabled, and the port address of the function module standby connected to the normal switching module host is changed.
10. A generalized routing configuration method for a SRIO dual-redundant cross-connected cascade network, based on the generalized routing configuration system for a SRIO dual-redundant cross-connected cascade network according to any one of claims 1 to 9, characterized in that: The following steps are involved: Configuration steps: connect the dual-redundant function module and the switch module in cross-connection, define the SRIO dual-redundant cross-connection network ID address in different fields, and configure the port routing information table of the dual-redundant switch module master and standby; Network reconstruction steps: When the dual redundant functional module or the switching module fails, change the ID address of the functional module or the routing information table configuration of the switching module port to complete the reconstruction of the network system.
