A switching system, switching network and switching node

By employing a hybrid protocol approach in the switching network, with lower-level nodes communicating with top-level nodes via a private protocol and top-level nodes interconnecting with another switching system via a public protocol, the contradiction between scalability and high performance in the switching network is resolved, achieving efficient system expansion and performance improvement.

CN116762323BActive Publication Date: 2026-11-27HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202180089549.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-08
Publication Date
2026-11-27
Estimated Expiration
2041-01-08

AI Technical Summary

Technical Problem

Switching networks face challenges in balancing scalability and high performance, especially under the constraints of network protocols. Proprietary protocols improve efficiency but lack scalability, while public protocols, although scalable, have low overall efficiency.

Method used

By adopting a hybrid protocol approach, the bottom-level nodes communicate with the top-level nodes through a private protocol, while the top-level nodes are interconnected with another exchange system through a public protocol, thereby achieving efficient data transmission and system expansion between nodes.

Benefits of technology

It improves bandwidth utilization, reduces switching latency, enables larger-scale expansion, balances high performance and scalability, and avoids user-side port occupancy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116762323B_ABST
    Figure CN116762323B_ABST
Patent Text Reader

Abstract

The application provides a switching system, a switching network and a switching node. The switching system can include a first node and a second node, one first node being connected with at least one second node; the first node is configured to communicate with a user equipment and communicate with the second node according to a first protocol; the second node is configured to communicate with the first node according to the first protocol and communicate with a third node in another switching system according to a second protocol; wherein the first protocol is different from the second protocol. In the application, the above-mentioned switching system can meet the requirements of efficient switching and high scalability, and can balance high performance and scalability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a switching system, a switching network, and a switching node. Background Technology

[0002] With the development of technology, the application of technologies such as cloud computing, big data, and virtualization is increasing, and these technologies all rely on switching networks to be realized.

[0003] Because traffic within switched networks is characterized by concentrated switching data and increasing traffic volume, further requirements are placed on switched networks, such as large scale, high scalability, and high performance. However, due to the limitations of network protocols in switched networks, how to balance scalability and high performance is an urgent problem to be solved. Summary of the Invention

[0004] This application provides a switching system, a switching network, and a switching node that balance the scalability and high performance of the switching network.

[0005] In a first aspect, this application provides a switching system applicable to, for example, a Layer 2 switching network, a Layer 3 switching network, or a multi-layer switching network. The switching system may include: a first node and a second node, wherein a first node is connected to at least one second node; the first node is configured to communicate with user equipment and with the second node according to a first protocol; the second node is configured to communicate with the first node according to the first protocol and with a third node in another switching system according to a second protocol; wherein the first protocol and the second protocol are different.

[0006] Here, the first node mentioned above can be understood as the bottom-level node, and the second node can be understood as the top-level node. It should be noted that the bottom-level node can be a switching network interface chip, and one or more switching network interface chips can be set on the same or different line cards. The top-level node can be a switching unit, and one or more switching units can be set on the same or different switching network cards or switching cards. Of course, a switching unit can also be an independent switching device; this application does not specifically limit this.

[0007] In some possible implementations, the top-level node can be some or all of the multiple top-level nodes in the switching system. That is, some of the top-level nodes in the switching system can communicate with another switching system, or all of the top-level nodes in the switching system can communicate with another switching system.

[0008] Optionally, the first protocol can be a private protocol of the current switching system, and the second protocol can be a public protocol; alternatively, the first protocol can be a private protocol of the current switching system, and the second protocol can be a private protocol of another switching system. Of course, the first protocol and the second protocol can also be different public protocols.

[0009] In this application, because the nodes within the switching system communicate via a proprietary protocol, bandwidth utilization can be improved, switching latency reduced, and thus the performance of the switching system enhanced. Furthermore, since the switching system interconnects with another switching system through a top-level node, it enables larger-scale expansion, improving the scalability of the switching system and avoiding the occupation of user-side ports. Therefore, the aforementioned switching system can meet both the requirements of high-efficiency switching and high scalability, balancing high performance and scalability.

[0010] In some possible implementations, the first node is configured to: receive a first data packet from the user equipment and send the first data packet to the second node according to a first protocol; the second node is configured to: receive the first data packet from the first node and send the first data packet to the third node according to a second protocol; wherein the second node and the third node are nodes in the transmission path of the first data packet. In this way, the switching system can achieve larger-scale expansion through the top-level node, improving the scalability of the switching system and avoiding the occupation of user-side ports.

[0011] In some possible implementations, the switching system further includes a fourth node, with a first node connected to at least one fourth node and a fourth node connected to at least one second node; the fourth node is configured to communicate with the first and second nodes in accordance with a first protocol.

[0012] Furthermore, the first node is also configured to: send a first data packet from the user equipment to the fourth node in accordance with the first protocol; the fourth node is also configured to: receive the first data packet from the first node and send the first data packet to the second node in accordance with the first protocol; wherein, the fourth node is a node in the transmission path of the first data packet.

[0013] In this application, the fourth node can be understood as an intermediate node, which can be implemented using a switching unit. Setting an intermediate node between the bottom-level node and the top-level node can further expand the switching system.

[0014] Optionally, the above-mentioned switching system may also include one or more intermediate nodes. That is, more intermediate nodes can be set between the bottom-level nodes and between the top-level nodes to achieve multi-level switching.

[0015] In some possible implementations, the first node is further configured to: receive a second data packet from a user equipment and send the second data packet to a second node in accordance with a first protocol; the second node is further configured to: receive a second data packet from the first node and send the second data packet to another first node in accordance with a first protocol; wherein the second node is a node in the transmission path of the second data packet.

[0016] In this application, since both the first node and the second node communicate using the same protocol (such as a proprietary protocol), the second node does not need to re-encapsulate the data packets but can forward them directly, thereby improving bandwidth utilization, reducing switching latency, and thus improving the performance of the switching system.

[0017] Secondly, this application also provides a switching network that can be applied to devices such as switches, switching chips, and switching chassis. This switching network may include the switching system described in one or more of the above embodiments.

[0018] The switching network may include: a first switching system and a second switching system; the first switching system includes: a first node and a second node, wherein a first node is connected to at least one second node; the second switching system includes: a third node and a fifth node, wherein a third node is connected to a second node and a fifth node is connected to at least one third node.

[0019] The first node is configured to communicate with the user equipment and communicate with the second node according to the first protocol; the second node is configured to communicate with the first node according to the first protocol and communicate with the third node according to the second protocol; the third node is configured to communicate with the second node according to the second protocol and communicate with the fifth node according to the third protocol; wherein the first protocol is different from the second protocol, and the second protocol is different from the third protocol.

[0020] Here, the first node can be understood as the bottom node in the first switching system, the second node can be understood as the top node in the first switching system, the third node can be understood as the top node in the second switching system, and the fifth node can be understood as the bottom node in the second switching system.

[0021] Optionally, the first and second switching systems can be switching systems of equal or unequal size. For example, both the first and second switching systems can be small-scale switching systems; or, the first switching system can be a small-scale switching system and the second switching system can be a large-scale switching system; or, both the first and second switching systems can be large-scale switching systems. Here, a small-scale switching system can be a switching system with node capacity less than a preset value, and a large-scale switching system can be a switching system with node capacity greater than or equal to the preset value.

[0022] In practical applications, the first protocol can be a private protocol of the first switching system, the second protocol can be a public protocol, and the third protocol can be a private protocol of the second switching system. The first protocol and the third protocol can be the same or different; alternatively, the first protocol, the second protocol, and the third protocol can be different private protocols. Of course, the first protocol, the second protocol, and the third protocol can also be different public protocols, and the comparison of the embodiments in this application does not specifically limit them. The following description uses the example of the first protocol being a private protocol of the first switching system, the second protocol being a public protocol, and the third protocol being a private protocol of the second switching system.

[0023] In some possible embodiments, the first node is further configured to: receive a first data packet from the user equipment and send the first data packet to the second node in accordance with a first protocol; the second node is further configured to: receive the first data packet from the first node and send the first data packet to the third node in accordance with a second protocol; the third node is further configured to: receive the first data packet from the second node and send the first data packet to the fifth node in accordance with a third protocol; wherein the second node, the third node, and the fifth node are nodes in the transmission path of the first data packet.

[0024] In some possible embodiments, the switching network further includes: a sixth node connected between the second node and the third node; the sixth node being configured to communicate with the second node and the third node in accordance with a second protocol.

[0025] In some possible embodiments, the second node is further configured to: send a first data packet to the sixth node in accordance with a second protocol; the sixth node is further configured to: receive the first data packet from the second node and send the first data packet to the third node in accordance with the second protocol; wherein the sixth node is a node in the transmission path of the first data packet.

[0026] In some possible embodiments, the node capacity of the first switching system is less than a preset value, and the node capacity of the second switching system is greater than or equal to the preset value.

[0027] In some possible embodiments, the second node is at least a portion of the top-level node in the first switching system; and / or, the third node is at least a portion of the top-level node in the second switching system.

[0028] Thirdly, this application provides a switching node that can be applied to the top-level node described in one or more of the above embodiments.

[0029] The switching node may include: a first port supporting a first protocol, a second port supporting a second protocol, and a processor; the processor is connected to the first port and the second port; the first protocol and the second protocol are different.

[0030] The first port is configured to receive a third data packet and send the third data packet to the processor. The third data packet is a data packet sent by the first node according to the first protocol. The first node is used to communicate with the user equipment according to the first protocol.

[0031] The processor is configured to: convert a third data packet from the first protocol to the second protocol, and send the converted third data packet to the second port;

[0032] The second port is configured to send a converted third data packet to another switching node.

[0033] It should be understood that the second and third aspects of this application are consistent with the technical solutions of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, so they will not be described again. Attached Figure Description

[0034] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments of this application or the background art will be described below.

[0035] Figure 1 A hardware schematic diagram of the switching network in an embodiment of this application is shown;

[0036] Figure 2 A schematic diagram of a Layer 2 switching network in an embodiment of this application is shown;

[0037] Figure 3 A schematic diagram of a three-layer switching network in an embodiment of this application is shown;

[0038] Figure 4 A schematic diagram of the DCN structure in an embodiment of this application is shown;

[0039] Figure 5 A schematic diagram of a switching system according to an embodiment of this application is shown;

[0040] Figure 6 This paper shows another schematic diagram of the structure of the Layer 2 switching system in the embodiments of this application;

[0041] Figure 7 This paper shows another schematic diagram of the switching system in an embodiment of the present application;

[0042] Figure 8 This paper shows another schematic diagram of the three-layer switching system in an embodiment of this application;

[0043] Figure 9 A schematic diagram of a switching network structure in an embodiment of this application is shown;

[0044] Figure 10 A schematic diagram of another structure of the switching network in an embodiment of this application is shown;

[0045] Figure 11 A schematic diagram of the structure of the switching node in an embodiment of this application is shown;

[0046] Figure 12 A schematic diagram of the processor structure in an embodiment of this application is shown. Detailed Implementation

[0047] The embodiments of this application are described below with reference to the accompanying drawings. In the following description, reference is made to the accompanying drawings, which form part of this application and illustrate specific aspects of the embodiments of this application or to the applications in which specific aspects of the embodiments of this application may be used. It should be understood that the embodiments of this application may be used in other aspects and may include structural or logical variations not depicted in the drawings. Therefore, the following detailed description should not be construed as limiting. Furthermore, it should be understood that, unless explicitly stated otherwise, features of the various exemplary embodiments and / or aspects described herein can be combined with each other.

[0048] With the development of technology, the application of technologies such as cloud computing, big data, and virtualization is increasing, and these technologies all rely on switching networks for implementation. Because the traffic within switching networks exhibits characteristics such as centralized data switching and increasing traffic volume, further requirements are placed on switching networks, such as large scale, high scalability, and high performance. Here, a switching network can be understood as a switch fabric (SF) or a data center network (DCN).

[0049] In practical applications, to expand a switching network, it can start from a single node. For example, a single node can be equipped with a switching chip or switch box providing 24 10Gbps Ethernet ports, or a switching enclosure providing 512 100Gbps ports. In practice, the aforementioned switching chip, switch box, or switching enclosure may include multiple line cards (LCs) and multiple fabric cards (FCs) or switch cards (SCs). Each line card has at least one fabric interface chip (FIC), and each fabric card or switch card has at least one switch element (SE).

[0050] During data transmission, the FIC first receives data packets sent by the user equipment and forwards them to the corresponding SE according to the destination address. Then, the SE can forward the received data packets to the next SE connected to it or to the downlink FIC (i.e., the outgoing FIC). These data packets can include variable-length packets, fixed-length cells, etc.

[0051] Figure 1 A hardware schematic diagram of the switching network in an embodiment of this application is shown. Figure 1 In this example, the switching network 10 may include n FICs and m SEs (n and m are positive integers). The n FICs may include FIC11, FIC12, ..., FIC1n, and the m SEs may include SE21, SE22, ..., SE2m. The n FICs and m SEs can be connected via a backplane or via optical fiber. For an example, see [link to example]. Figure 1 As shown, FIC11 can be connected to m SEs via backplane BP1, FIC12 can be connected to m SEs via backplane BP1, and so on, with FIC1n also connected to m SEs via backplane BP1. It is understandable that each FIC can be connected to one or more SEs; that is, an FIC can be connected to some SEs or to all SEs.

[0052] In practical applications, m SEs can be configured on one or more FC, SC, or independent switching devices. For example, see [link to example]. Figure 1 As shown, SE21 and SE22 can be set on SC31, and other SEs can be set on different SCs, such as SE2m can be set on SC3i (i.e. the i-th switching card, where i is a positive integer).

[0053] In some possible implementations, the aforementioned switching network may include one or more SEs to form a Layer 2 switching network, a Layer 3 switching network, etc.

[0054] In some possible implementations, the n FICs in a Layer 2 switching network can be understood as bottom-level nodes (also called leaf nodes or edge nodes), and the m SEs can be understood as top-level nodes (also called spine nodes). For example, Figure 2 A schematic diagram of a Layer 2 switching network according to an embodiment of this application is shown. See also: Figure 2As shown, the switching network 20 may include 3 FICs (i.e., FIC11, FIC12 and FIC13) and 4 SEs (i.e., SE21, SE22, SE23 and SE24). The 3 FICs and 4 SEs are fully connected.

[0055] For example, in combination Figure 2 The Layer 2 switching network shown, FIC11, provides multiple 100Gbps Ethernet ports. See also... Figure 2 The dashed line indicates the data packet transmission path. The user equipment sends the data packets to be exchanged to FIC11. After receiving the data packets from the Ethernet port, FIC11 performs a series of processing steps, including packet parsing, routing, and header modification. Then, FIC11 forwards the processed data packets to SE22. These data packets typically carry a destination address (such as destination FIC information). SE22 forwards the data packets to FIC13 based on the destination address, thus completing the data exchange.

[0056] In another embodiment, the n FICs in the three-layer switching network can be understood as bottom-layer nodes, and a portion of the m SEs can be understood as intermediate nodes, while the remaining SEs can be understood as top-layer nodes. For example, Figure 3 A schematic diagram of a three-layer switching network according to an embodiment of this application is shown. See also: Figure 3 As shown, the switching network 30 may include 9 FICs (i.e., FIC11 to FIC19) and 20 SEs (i.e., SE21 to SE220). Here, SE21 to SE212 are intermediate nodes, and SE213 to SE220 are top-level nodes. The 9 FICs are fully connected to SE21 to SE212, and SE21 to SE212 are partially or fully connected to SE213 to SE220.

[0057] For example, in combination Figure 3 The three-layer switching network shown, FIC11 provides multiple 100Gbps Ethernet ports. See also... Figure 3 The dashed line indicates the data packet transmission path. The user equipment sends the data packets to be exchanged to FIC11. After receiving the data packets from the Ethernet port, FIC11 performs a series of processing steps, including packet parsing, routing, and header modification. Then, FIC11 forwards the processed data packets to SE22 (intermediate node). Typically, the data packets carry a destination address when they are sent. SE22 forwards the data packets according to the destination address they carry. The data packets then pass through SE215 (top-level node) and SE26 (intermediate node) before reaching FIC15, thus completing the data exchange.

[0058] In practical applications, in the above three-layer switching network, FIC11 to FIC13 and SE21 to SE24 can belong to the first switching system, FIC14 to FIC16 and SE25 to SE28 can belong to the second switching system, and FIC17 to FIC19 and SE29 to SE212 can belong to the third switching system.

[0059] In practical applications, all nodes in the aforementioned switching network can be provided by the same vendor. Therefore, to improve the processing efficiency of the switching network, the nodes can communicate using a proprietary protocol (also known as a custom protocol) that differs from the public protocol (also known as a standard protocol). This proprietary protocol can specify link speed, data packet format, and the control information exchanged between them.

[0060] It should be noted that, in the embodiments of this application, public protocols can refer to general standard protocols, that is, protocols that conform to Ethernet standards, such as Ethernet, Internet Protocol (IP), Transmission Control Protocol (TCP), and their various evolutions. Private protocols can refer to proprietary network protocols, that is, protocols defined by various vendors. Of course, public and private protocols can also include other protocols, and the embodiments of this application do not specifically limit them.

[0061] Furthermore, since the nodes in the aforementioned switching network communicate using proprietary protocols, for example, if the data packet already carries the destination address after processing by the FIC, the subsequent SE can directly forward the data packet using the destination address without repeating the processing of the second layer (layer 2, L2) or third layer (layer 3, L3) within the FIC for public protocols to obtain the destination address. This can greatly simplify the design of the SE and reduce latency.

[0062] However, proprietary protocols are often designed for specific application scenarios, focusing on improving the overall efficiency of the switching network, such as high bandwidth utilization, simplified design, and lower switching latency. However, to reduce implementation difficulty and overhead, such switching networks suffer from insufficient scalability; that is, the maximum number of nodes the switching network can support is limited, as are the supported networking methods (such as CLOS networking). Therefore, switching networks using proprietary protocols often cannot be expanded further beyond a certain scale (e.g., 1024 FICs). Further expansion can be achieved through user-side ports (such as ports in the FICs, see [reference needed]). Figure 3 FIC7 to FIC9 (interconnected with other switching networks or systems) through public protocols, thereby forming a network composed of multiple switching networks or systems, as shown above. Figure 3The diagram shows a three-layer switching network. However, such a network consumes port bandwidth that could otherwise be used for user communication. Furthermore, networks formed by interconnecting multiple systems using public protocols often have lower overall efficiency than systems using proprietary protocols. For example, switching systems supporting TCP / IP lack efficient backpressure mechanisms and often have to rely on packet dropping to force the user-side TCP layer to retransmit, resulting in wasted bandwidth and additional latency.

[0063] In another embodiment, to improve the scalability of the switching network, the nodes in the switching network can also communicate using a public protocol. In this case, the switching network can be understood as a DCN, which typically uses a fat-tree networking method. Figure 4 A schematic diagram of the DCN structure in an embodiment of this application is shown. See also: Figure 4 As shown, the structure of DCN is similar to the three-layer switching network mentioned above. It can include bottom nodes, intermediate nodes, and top nodes. Bottom nodes can also be called access nodes or top of rack (TOR) nodes, such as FIC11 to FIC19; intermediate nodes can also be called aggregation nodes, such as SE21 to SE212; and top nodes can also be understood as core nodes, such as SE213 to SE220.

[0064] Similar to the three-layer switching network mentioned above, FIC11 to FIC13 and SE21 to SE24 can belong to pod (point of delivery) 1, FIC14 to FIC16 and SE25 to SE28 can belong to pod 2, and FIC17 to FIC19 and SE29 to SE212 can belong to pod 3.

[0065] For example, the downlink port of an access node can have a bandwidth of 10Gbps and connect to user devices (such as servers). The uplink port of an access node can have a bandwidth of 40Gbps and connect to an aggregation node. The downlink port of an aggregation node connects to the access node, and the uplink port of an aggregation node connects to different core nodes. Aggregation nodes and access nodes within the same pod are typically fully connected.

[0066] In practical applications, aggregation nodes are used to facilitate communication between different access nodes within the same pod. For example, SE22 is used to facilitate communication between FIC11 and FIC13. (See also...) Figure 4 The data packet is transmitted via path 41 within the pod, and the data packet is transmitted via path FIC11 to FIC13 as shown. Figure 4As shown by the dashed line in the image.

[0067] Furthermore, core nodes are used to facilitate communication between different nodes across pods. For example, SE213 is used to facilitate communication between FIC11 in pod1 and FIC15 in pod2, as detailed below. Figure 4 The data packet is shown in the transmission path 42 across pods. The data packet is received by FIC11, passes through SE21, SE213 and SE25 in sequence, and finally arrives at FIC15.

[0068] It should be noted that the aforementioned pod (e.g., pod1) can include different aggregation nodes (e.g., SE21 to SE24) connected to different core planes. Here, a plane can be defined as: a core node directly connected to the same aggregation node. Therefore, in... Figure 4 In this context, the core node can be divided into four planes, each of which is directly connected to different aggregation nodes within each pod.

[0069] Furthermore, within a DCN, nodes communicate with each other via public protocols. For example, the Ethernet protocol between access nodes and aggregation nodes, or the IP protocol between aggregation nodes and core nodes. Based on these public protocols between different nodes, large-scale switching networks can be built, such as a switching network supporting 100,000 servers.

[0070] In practical applications, because DCNs are networked through multiple switching systems, the processing of each node in these switching systems is relatively independent. Nodes at different layers communicate using common protocols, which leads to a lack of effective communication mechanisms such as flow control, load balancing, fault detection, and failover mechanisms among different nodes within the DCN. This results in low overall efficiency of the switching network. Furthermore, the repetitive processing of standard protocols by each node increases design complexity and processing latency.

[0071] Therefore, to solve the above problems, this application provides a switching system. This switching system can be applied to the Layer 2 or Layer 3 switching network described above, and of course, it can also be applied to switching networks with other networking methods. This application does not specifically limit the application.

[0072] In some possible implementations, the switching system provided in this application embodiment may include: a bottom-level node (such as a first node) and a top-level node (such as a second node). A bottom-level node is connected to one or more top-level nodes.

[0073] The bottom-level nodes are configured to communicate with user equipment and with the top-level nodes according to a first protocol; the top-level nodes are configured to communicate with the bottom-level nodes according to the first protocol and with another switching system according to a second protocol. Here, the first protocol and the second protocol are different.

[0074] It should be noted that the difference between the first protocol and the second protocol can be understood as follows: the first protocol and the second protocol are communication protocols with different protocol names; or, the first protocol and the second protocol are different versions of the same protocol name; or, the first protocol and the second protocol are communication protocols defined by different manufacturers. Of course, the first protocol and the second protocol can also have other situations, as long as the data transmission method, data encapsulation method (which can also be understood as frame structure), etc., of the first protocol and the second protocol are different. This application embodiment does not make specific limitations.

[0075] For example, the first protocol can be a private protocol defined by vendor A for each node in the current switching system, and the second protocol can be a public protocol (such as the IP protocol); or, the first protocol can be a private protocol defined by vendor A for each node in the current switching system, and the second protocol can be a private protocol defined by vendor B for each node in another switching system; or, the first protocol can be a version of a private protocol defined by vendor A, and the second protocol can be another version of a private protocol defined by vendor A. Here, the nodes in the current switching system and the nodes in the other switching system can be provided by the same vendor (vendor A). Of course, the first protocol and the second protocol can also be public protocols with different protocol names (such as IP and TCP) or public protocols with different protocol versions (such as IPv4 and IPv6). The embodiments in this application do not impose specific limitations. The following description uses the example of the first protocol being a private protocol of the current switching system and the second protocol being a public protocol.

[0076] In practical applications, the aforementioned bottom-level nodes can be FICs, and one or more FICs can be set on the same or different LCs. The aforementioned top-level nodes can be SEs, and one or more SEs can be set on the same or different FCs or SCs. Of course, one or more SEs can also be set on the same or different switching devices, such as servers, routers, switches, etc.

[0077] For example, Figure 5A schematic diagram of a switching system according to an embodiment of this application is shown. The switching system 50 may include bottom-level nodes 1 to n and top-level nodes 1 to m. The uplink ports of the bottom-level nodes 1 to n are used to receive data packets from user equipment and send the data packets to the top-level nodes; the downlink ports are used to receive data packets from the top-level nodes and send the data packets to the user equipment. The uplink ports of the top-level nodes 1 to m are used to receive data packets from the bottom-level nodes; the downlink ports are used to send data packets to other bottom-level nodes or another switching system.

[0078] In some possible implementations, the aforementioned top-level nodes 1 to m can be some or all of the multiple top-level nodes in the switching system 50. That is, in the switching system 50, some top-level nodes can communicate with another switching system, or all top-level nodes can communicate with another switching system.

[0079] Based on the structure of the aforementioned switching system, one of the bottom-level nodes (1 to n) receives the first data packet sent by the user equipment and parses it to obtain the destination address. Then, this bottom-level node encapsulates the first data packet according to a first protocol, and sends the encapsulated first data packet to the top-level node (which can be one of top-level nodes 1 to m) in the transmission path of the first data packet according to the destination address. Next, the top-level node re-encapsulates the first data packet according to a second protocol and sends it to the top-level node of another switching system in the transmission path of the first data packet according to the destination address.

[0080] In some other possible implementations, one of the bottom-level nodes 1 to n receives the second data packet sent by the user equipment and parses it to obtain the destination address. Then, the bottom-level node encapsulates the second data packet according to the first protocol, and sends the encapsulated second data packet to the top-level node (one of top-level nodes 1 to m) in the transmission path of the second data packet according to the destination address. Next, the top-level node directly sends the second data packet to the destination bottom-level node of the second data packet according to the destination address.

[0081] For example, taking a Layer 2 switching system as an example, Figure 6 Another schematic diagram of the Layer 2 switching system in this application embodiment is shown. See [link to relevant documentation]. Figure 6 As shown, the switching system 60 may include three bottom-level nodes, such as FIC11, FIC12 and FIC13, and four top-level nodes, such as SE21, SE22, SE23 and SE24.

[0082] Upon receiving a data packet from the user equipment, FIC11 parses the packet to obtain its destination FIC information. Then, it encapsulates the packet according to the current switching system's proprietary protocol (the first protocol). Next, FIC11 sends the encapsulated packet to SE22 according to the destination FIC information. SE22 re-encapsulates the packet according to the public protocol (the second protocol) and sends it to a top-level node (such as a third node) in another switching system. This allows the switching system to achieve larger-scale expansion through the top-level node, improving its scalability and avoiding the occupation of user-side ports.

[0083] In some possible implementations, after FIC11 sends the encapsulated data packet to SE22 according to the destination FIC information, SE22 directly sends the encapsulated data packet to FIC13 according to the destination FIC information. At this time, since SE22 communicates with both FIC11 and FIC13 through proprietary protocols, SE22 does not need to re-encapsulate the data packet, but can forward it directly, thereby improving bandwidth utilization, reducing switching latency, and thus improving the performance of the switching system.

[0084] In some possible implementations, the aforementioned switching system can be further expanded to form a larger switching network. This switching network may further include: intermediate nodes (such as fourth nodes), a bottom-level node connected to one or more intermediate nodes, and an intermediate node connected to one or more top-level nodes.

[0085] Accordingly, the aforementioned bottom-level nodes are also configured to: communicate with user equipment and communicate with intermediate nodes according to a first protocol; intermediate nodes are configured to: communicate with both bottom-level and top-level nodes according to a first protocol; and top-level nodes are configured to: communicate with bottom-level nodes according to a first protocol and communicate with another switching system according to a second protocol. The first protocol and the second protocol are different.

[0086] It should be noted that in practical applications, the aforementioned intermediate nodes can be SEs, and one or more SEs can be set on the same or different switching network cards or switching cards.

[0087] For example, Figure 7This illustration shows another structural diagram of the switching system 70 according to an embodiment of this application. The switching system 70 may include bottom-level nodes 1 to n, intermediate nodes 1 to k, and top-level nodes 1 to m. The uplink ports of the bottom-level nodes 1 to n are used to receive data packets from user equipment and send them to intermediate nodes; their downlink ports are used to receive data packets from intermediate nodes and send them to user equipment. The uplink ports of the intermediate nodes 1 to k are used to receive data packets from user equipment and send them to intermediate nodes; their downlink ports are used to receive data packets from intermediate nodes and send them to user equipment. The uplink ports of the top-level nodes 1 to m are used to receive data packets from intermediate nodes; their downlink ports are used to send data packets to other intermediate nodes or another switching system. The uplink ports of the intermediate nodes 1 to k are used to receive data packets from the bottom-level nodes, and their downlink ports are used by the top-level nodes 1 to m to communicate with another switching system. The uplink ports of the top-level nodes 1 to m are used to receive data packets from the bottom-level nodes, and their downlink ports are used to send data packets to other bottom-level nodes or another switching system.

[0088] In some possible implementations, the aforementioned top-level nodes 1 to m can be some or all of the multiple top-level nodes in the switching system 50. That is, in the switching system 70, some top-level nodes can communicate with another switching system, or all top-level nodes can communicate with another switching system.

[0089] Based on the structure of the aforementioned switching system, one node in the bottom layer receives a first data packet sent by a user equipment and parses it to obtain the destination address. Then, the bottom layer node encapsulates the first data packet according to the destination address using a first protocol, and sends the encapsulated first data packet to an intermediate node (one of intermediate nodes 1 to k) in the transmission path of the first data packet. Next, the intermediate node sends the first data packet to a top layer node (one of top layer nodes 1 to m) in the transmission path of the first data packet. Finally, the top layer node re-encapsulates the first data packet according to a second protocol and sends it to another top layer node in the transmission path of the first data packet, located in another switching system, according to the destination address.

[0090] In some other possible implementations, one of the bottom-level nodes 1 to n receives the second data packet sent by the user equipment and parses it to obtain the destination address. Then, the bottom-level node encapsulates the second data packet according to the first protocol, and sends the encapsulated second data packet to an intermediate node (one of the top-level nodes 1 to k) in the transmission path of the second data packet according to the destination address. Next, the intermediate node sends the second data packet to the top-level node (one of the top-level nodes 1 to m) in the transmission path of the second data packet. Finally, the top-level node directly sends the second data packet to the destination bottom-level node of the second data packet according to the destination address.

[0091] Optionally, the above-mentioned switching system may also include one or more intermediate nodes. That is, more intermediate nodes can be set between the bottom-level nodes and between the top-level nodes to achieve multi-level switching.

[0092] For example, a Layer 3 switching system, Figure 8 Another schematic diagram of the three-layer switching system in this application embodiment is shown. See [link to relevant documentation]. Figure 8 As shown, the switching system 80 may include 9 bottom nodes, such as FIC11 to FIC19, 12 intermediate nodes, such as SE21 to SE212, and 8 top nodes, such as SE213 to SE220.

[0093] Then, see Figure 8 The data transmission path 81 shown illustrates this process. After receiving a data packet from the user equipment, FIC13 parses the packet to obtain its destination FIC information. Then, FIC13 encapsulates the data packet according to the current switching system's proprietary protocol (i.e., the first protocol). FIC13 sends the encapsulated data packet to SE24 according to the destination FIC information. SE24 then directly sends the data packet to SE217 according to the destination FIC information. Next, SE217 re-encapsulates the data packet according to the public protocol (i.e., the second protocol) according to the destination FIC information and sends the encapsulated data packet to the top-level node of another switching system. This allows the switching system to achieve larger-scale expansion through the top-level node, improving the scalability of the switching system and avoiding the occupation of user-side ports.

[0094] See also some possible implementations. Figure 8The data transmission path 82 shown illustrates this process. After receiving a data packet from the user equipment, FIC13 parses the packet to obtain its destination FIC information. Then, FIC13 encapsulates the data packet according to the current switching system's proprietary protocol (i.e., the first protocol). FIC13 sends the encapsulated data packet to SE24 according to the destination FIC information. SE24 then directly sends the data packet to SE217 according to the destination FIC information, and SE217 then forwards the data packet to SE210 according to the destination FIC information. Next, SE210 sends the data packet to FIC17 according to the destination FIC information. Since SE24, SE210, SE217, FIC13, and FIC17 all communicate using the proprietary protocol, they do not need to re-encapsulate the data packet; they can forward it directly, improving bandwidth utilization, reducing switching latency, and thus improving the performance of the switching system.

[0095] In some possible implementations, when the node capacity of the aforementioned switching system (which can also be understood as the number of nodes in the switching system) reaches a preset value (such as 20,000, 40,000, 100,000, etc.), the top-level nodes in the aforementioned switching system can be interconnected with the top-level nodes of other switching systems to expand into a larger-scale switching network. Here, the preset value can be set according to the specific application scenario, and this application embodiment does not impose specific limitations.

[0096] It should be noted that the top-level nodes mentioned in the above embodiments can be understood as some of the top-level nodes in the switching system, or as all the top-level nodes in the switching system. This application does not make any specific limitation in this regard.

[0097] As described above, because the nodes within the switching system communicate using a proprietary protocol, bandwidth utilization can be improved, switching latency reduced, and thus the performance of the switching system enhanced. Furthermore, since the switching system interconnects with other switching systems through a top-level node, it enables larger-scale expansion, improving scalability and avoiding the occupation of user-side ports. Therefore, the aforementioned switching system satisfies both the requirements for efficient switching and high scalability, achieving a balance between high performance and scalability.

[0098] Based on the same concept, embodiments of this application provide a switching network that can be applied to devices such as switches, switching chips, and switching chassis. This switching network may include the switching system described in one or more of the above embodiments.

[0099] The following explanation uses a switching network comprising a first switching system and a second switching system as an example.

[0100] Figure 9This paper illustrates a schematic diagram of a switching network structure in an embodiment of this application. Figure 9 In this context, the switching network 90 may include a first switching system 91 and a second switching system 92. The first switching system 91 and the second switching system 92 may be as described above. Figure 5 or Figure 7 The switching system shown.

[0101] Optionally, the first and second switching systems can be switching systems of equal or unequal size. For example, both the first and second switching systems can be small-scale switching systems; or, the first switching system can be a small-scale switching system and the second switching system can be a large-scale switching system; or, both the first and second switching systems can be large-scale switching systems. Here, a small-scale switching system can be a switching system with node capacity less than a preset value, and a large-scale switching system can be a switching system with node capacity greater than or equal to the preset value.

[0102] In some possible implementations, see still Figure 9 As shown, the top-level nodes 911a to 911n (such as the second node) in the first switching system 91 are connected to some or all of the top-level nodes 921a to 921m (such as the third node) in the second switching system. The top-level nodes 911a to 911n and the top-level nodes 921a to 921m communicate according to the second protocol (such as the public protocol).

[0103] Furthermore, the first switching system 91 also includes bottom nodes 912a to 912x (such as the first node), and the second switching system 92 also includes bottom nodes 922a to 922y (such as the fifth node). One of the bottom nodes 912a to 912n is connected to one or more top nodes 911a to 911n, and the bottom nodes 912a to 912x communicate with the top nodes 911a to 911n according to a first protocol (such as a proprietary protocol). One of the bottom nodes 922a to 922y is connected to one or more top nodes 921a to 921m, and the bottom nodes 922a to 922y communicate with the top nodes 921a to 921m according to a third protocol (such as another proprietary protocol). The first protocol differs from the second protocol, and the second protocol differs from the third protocol.

[0104] In practical applications, the first protocol can be a private protocol of the first switching system, the second protocol can be a public protocol, and the third protocol can be a private protocol of the second switching system. The first protocol and the third protocol can be the same or different; alternatively, the first protocol, the second protocol, and the third protocol can be different private protocols. Of course, the first protocol, the second protocol, and the third protocol can also be different public protocols, and the comparison of the embodiments in this application does not specifically limit them. The following description uses the example of the first protocol being a private protocol of the first switching system, the second protocol being a public protocol, and the third protocol being a private protocol of the second switching system.

[0105] In this embodiment of the application, the bottom node is configured to communicate with the user equipment and communicate with the top node in accordance with the first private protocol (i.e., the first protocol);

[0106] The top-level node is configured to communicate with the first node according to a first private protocol and with the top-level node according to a public protocol (i.e., the second protocol).

[0107] The top-level node is configured to communicate with the top-level node according to the public protocol and with the bottom-level nodes according to the second private protocol (i.e., the third protocol).

[0108] Based on the aforementioned switching network structure, a lower-level node (such as the source FIC) receives a first data packet from a user equipment and parses it to obtain the destination address. Then, the lower-level node encapsulates the first data packet according to a first protocol, and sends the encapsulated first data packet to a top-level node in the transmission path of the first data packet according to the destination address. Next, the top-level node re-encapsulates the first data packet according to a second protocol and sends it to a top-level node in a second switching system in the transmission path of the first data packet according to the destination address. The top-level node parses the first data packet to obtain the destination address; the top-level node then encapsulates the first data packet according to a third protocol and sends it to another lower-level node (such as the destination FIC) in the transmission path of the first data packet according to the destination address.

[0109] In other possible implementations, one or more intermediate nodes may be set between the bottom-level nodes and the top-level nodes in the first switching system; similarly, one or more intermediate nodes may also be set between the bottom-level nodes and the top-level nodes in the second switching system. Specific descriptions of the intermediate nodes can be found in one or more of the above embodiments, and will not be repeated here.

[0110] Furthermore, Figure 10 This paper illustrates another structural diagram of the switching network in an embodiment of this application, combined with... Figure 9 and Figure 10The switching network 90 may also include upper-layer nodes (such as upper-layer nodes 93a to 93s), which are connected between top-level nodes 911a to 911n and top-level nodes 921a to 921m, so that the first switching system 91 and the second switching system 92 are connected through the upper-layer nodes.

[0111] Here, the upper-layer node is configured to communicate with the top-level node of the first switching system and the top-level node of the second switching system according to the second protocol.

[0112] Therefore, after the top-level node in the first switching system re-encapsulates the first data packet according to the second protocol, it can send the encapsulated first data packet to the upper-level node in the transmission path of the first data packet according to the destination address. The upper-level node forwards the received first data packet directly to the top-level node in the second switching system according to the destination address. Then, the top-level node in the second switching system re-encapsulates the first data packet according to the third protocol and sends it to the lower-level node in the transmission path of the first data packet (the lower-level node in the second switching system) according to the destination address.

[0113] In this embodiment, interconnecting the top-level nodes of different switching systems allows for larger-scale expansion of the switching network, improving the scalability of the switching system and avoiding the occupation of user-side ports. Furthermore, since nodes within the switching system communicate via proprietary protocols, bandwidth utilization can be improved, switching latency reduced, and thus the performance of the switching system enhanced. Therefore, the aforementioned switching system satisfies both the requirements for efficient switching and high scalability, achieving a balance between high performance and scalability.

[0114] It should be noted that in the above embodiments, since the top-level node supports two protocols, after receiving the data packet encapsulated according to the first protocol, the top-level node also needs to perform protocol conversion on the data packet and re-encapsulate it according to the second protocol.

[0115] Based on the same inventive concept, this application also provides a switching node, which can be applied to the top-level node described in one or more of the above embodiments.

[0116] Figure 11 A schematic diagram of the structure of the switching node in an embodiment of this application is shown. Figure 11 In the process, the switching node 11 may include: a first port 111 supporting a first protocol, a second port 112 supporting a second protocol, and a processor 113; the processor 113 is connected to the first port 111 and the second port 112.

[0117] The first port is configured to receive the third data packet and send the third data packet to the processor.

[0118] Here, the third data packet is the data packet sent by the underlying node (such as the first node) to the first port according to the first protocol. After receiving the data packet sent by the user equipment, the underlying node encapsulates the data packet according to the first protocol to obtain the third data packet, and then sends the third data packet to the first port. The first port then sends the third data packet to the processor.

[0119] The processor is configured to: perform protocol conversion on the third data packet and send the converted third data packet to the second port;

[0120] Here, after receiving the third data packet sent from the first port, the processor decapsulates the third data packet according to the first protocol to obtain the data in the third data packet. Then, the processor recapsulates the data according to the second protocol to obtain the converted third data packet.

[0121] The second port is configured to send a converted third data packet to another switching node (such as the top-level node in another switching system).

[0122] For example, Figure 12 This is a schematic diagram of the processor structure in an embodiment of this application. See also... Figure 12 As shown, the processor 113 may include: a media access control (MAC) module 121, a packet processing (PP) module 122, a traffic manager (TM) module 123, and a switch (SW) module 124.

[0123] The MAC module is configured to provide standard protocol interfaces, such as Ethernet data verification, frame delimitation, and transmission / reception.

[0124] The PP module is configured to process received data packets, which may include packet parsing, route selection, and header modification.

[0125] The TM module is configured to: classify received traffic into different queues based on its attributes, such as the TCP / IP 5-tuple and destination port, and schedule these queues according to a certain quality of service (QoS) policy.

[0126] The SW module is configured to write received data packets into a buffer and, based on the scheduling results of the TM module, switch the data packets to the destination port.

[0127] Specifically, the MAC module receives the third data packet sent from the first port and forwards it to the PP module. Upon receiving the third data packet from the MAC module, the PP module processes it, performing actions such as packet parsing, routing, and header modification, thus converting the protocol of the third data packet (from the first protocol to the second protocol). Then, the PP module sends the converted third data packet to the TM module, which schedules it. The SW module, based on the TM module's scheduling, sends the converted third data packet to the second port, which then forwards it.

[0128] Furthermore, the aforementioned PP module may include multiple parallel packet processing channels (PP pipelines). Each PP pipeline can be further divided into an ingress pipeline and an egress pipeline. The ingress and egress pipelines respectively complete the packet processing required by the receiving and sending sides. Taking the ingress pipeline as an example, one implementation is composed of multiple-stage match / action (MA) units. Each PP pipeline can have a certain degree of programmability, and each MA unit can complete the packet processing function according to certain program instructions. In short, the more stages of MA units there are, the more complex the functions that the PP module can support. Of course, the aforementioned PP module can also be implemented in other ways, and the embodiments of this application do not specifically limit it.

[0129] It should be noted that the above-described processor structure is merely an exemplary structure. In practical applications, the execution order of the various modules, such as the TM module and the SW module, may vary, and this embodiment does not impose specific limitations on this. Furthermore, the TM module and the SW module may be two separate modules or a single combined module, which can be used to implement the functions of the TM module and the SW module. This embodiment does not impose specific limitations on this either. In specific implementation, the processor may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), etc.

[0130] In this embodiment, different switching systems are interconnected through the aforementioned switching nodes, enabling the switching network to be expanded on a larger scale, improving the scalability of the switching system, and avoiding the occupation of user-side ports. Furthermore, since the nodes within the switching system communicate using a proprietary protocol, bandwidth utilization can be improved, switching latency reduced, and thus the performance of the switching system enhanced. Therefore, the aforementioned switching system can meet both the requirements for efficient switching and high scalability, achieving a balance between high performance and scalability.

[0131] In the above embodiments, the descriptions of each embodiment have different focuses. Parts not described in detail in a certain embodiment can be referred to in the relevant descriptions of other embodiments. The above descriptions are merely exemplary specific embodiments of this application, but the protection scope of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the protection scope of this application. Therefore, the protection scope of this application should be determined by the protection scope of the claims.

Claims

1. A switching system, characterized in that, It includes a first node and a second node, wherein a first node is connected to at least one second node; The first node is configured to communicate with the user equipment and to communicate with the second node in accordance with the first protocol; The second node is configured to communicate with the first node according to the first protocol and with a third node in another switching system according to the second protocol. The first protocol differs from the second protocol; the first protocol is a private protocol of the exchange system, while the second protocol is a public protocol. The second node is the top-level node of the switching system, and the third node is the top-level node of the other switching system.

2. The switching system according to claim 1, characterized in that, The first node is configured to: receive a first data packet from the user equipment and send the first data packet to the second node in accordance with the first protocol; The second node is configured to: receive the first data packet from the first node, and send the first data packet to the third node in accordance with the second protocol; The second node and the third node are nodes in the transmission path of the first data packet.

3. The switching system according to claim 1 or 2, characterized in that, The switching system further includes a fourth node, a first node connected to at least one fourth node, and a fourth node connected to at least one second node; The fourth node is configured to communicate with the first node and the second node in accordance with the first protocol.

4. The switching system according to claim 3, characterized in that, The first node is also configured to: send a first data packet from the user equipment to the fourth node in accordance with the first protocol; The fourth node is further configured to: receive the first data packet from the first node, and send the first data packet to the second node in accordance with the first protocol; The fourth node is a node in the transmission path of the first data packet.

5. The switching system according to claim 1, characterized in that, The first node is further configured to: receive a second data packet from the user equipment and send the second data packet to the second node in accordance with the first protocol; The second node is further configured to: receive the second data packet from the first node, and send the second data packet to another first node in accordance with the first protocol; The second node is a node in the transmission path of the second data packet.

6. The switching system according to any one of claims 1 to 2, 4 to 5, characterized in that, The first node is a switching network interface chip, and the second node is a switching unit.

7. A switching network, characterized in that, include: First switching system and second switching system; The first switching system includes: a first node and a second node, wherein a first node is connected to at least one second node; the second switching system includes: a third node and a fifth node, wherein a third node is connected to a second node and a fifth node is connected to at least one third node. The first node is configured to communicate with the user equipment and to communicate with the second node in accordance with the first protocol; The second node is configured to communicate with the first node according to the first protocol and with the third node according to the second protocol; The third node is configured to communicate with the second node according to the second protocol, and to communicate with the fifth node according to the third protocol; Wherein, the first protocol is different from the second protocol, the second protocol is different from the third protocol, the first protocol is a private protocol of the first exchange system, the second protocol is a public protocol, and the third protocol is a private protocol of the second exchange system; The second node is the top-level node of the first switching system, and the third node is the top-level node of the second switching system.

8. The switching network according to claim 7, characterized in that, The first node is further configured to: receive a first data packet from the user equipment and send the first data packet to the second node in accordance with the first protocol; The second node is further configured to: receive the first data packet from the first node, and send the first data packet to the third node in accordance with the second protocol; The third node is further configured to: receive the first data packet from the second node, and send the first data packet to the fifth node in accordance with the third protocol; The second node, the third node, and the fifth node are nodes in the transmission path of the first data packet.

9. The switching network according to claim 7 or 8, characterized in that, The switching network further includes: a sixth node, the sixth node being connected between the second node and the third node; The sixth node is configured to communicate with the second node and the third node in accordance with the second protocol.

10. The switching network according to claim 9, characterized in that, The second node is also configured to send the first data packet to the sixth node in accordance with the second protocol; The sixth node is further configured to: receive the first data packet from the second node, and send the first data packet to the third node in accordance with the second protocol; The sixth node is a node in the transmission path of the first data packet.

11. The switching network according to any one of claims 7, 8, and 10, characterized in that, The node capacity of the first switching system is less than a preset value, and the node capacity of the second switching system is greater than or equal to the preset value.

12. A switching node, characterized in that, include: A first port supporting the first protocol, a second port supporting the second protocol, and a processor; The processor is connected to the first port and the second port; The first protocol is different from the second protocol; The first port is configured to receive a third data packet and send the third data packet to the processor. The third data packet is a data packet sent by the first node according to the first protocol. The first node is used to communicate with the user equipment according to the first protocol. The processor is configured to: convert the third data packet from the first protocol to the second protocol, and send the converted third data packet to the second port; The second port is configured to send the converted third data packet to another switching node; The first protocol is a private protocol, and the second protocol is a public protocol. The exchange node is a top-level node.

Citation Information

Patent Citations

  • Techniques for Virtual Ethernet Switching of a Multi-Node Fabric

    US20170373991A1

  • Method and apparatus for converged networking

    WO2019183919A1