Network traffic link aggregation system and method
By determining whether data items comply with loose transmission ordering in the link aggregation group and selecting links based on this, the problems of traffic imbalance and low throughput in the link aggregation group are solved, and efficient distribution and correct ordering of data items are achieved.
Patent Information
- Application Number
- CN202280089799.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2021-11-23
- Filing Date
- 2022-11-21
- Publication Date
- 2024-08-30
AI Technical Summary
In a link aggregation group, the transmission sequence requirements of network data packets lead to traffic imbalance between links, causing the actual throughput to be lower than the theoretical capacity, and unnecessary data items are backlogged, affecting the throughput of the link aggregation group.
By determining whether data items comply with loose transmission ordering, selecting links based on the content of the data items, or selecting links based on available capacity, ensuring a reasonable distribution of data items in the link aggregation group and avoiding unnecessary backlogs.
It improves the throughput of the link aggregation group, avoids traffic imbalance between links, and ensures the correct sorting and efficient transmission of data items.
Smart Images

Figure CN118575466A
Abstract
Description
[0001] This application claims the benefit of U.S. Provisional Patent Application No. 63 / 282,495, filed on November 23, 2021, which is incorporated herein by reference in its entirety. Technical Field
[0002] This technology generally relates to data routing and, more specifically, network traffic distribution. Background Art
[0003] In some computer networking scenarios, it may be advantageous to present multiple network links connecting the same source computing device to the same destination computing device as if they were a single network link. Such a configuration may be referred to as a "trunk" or a "link aggregate group." In some such scenarios, a computing device connected to multiple network links may be configured to advertise the link aggregate group as a single network link to other computing devices in the computer network. Summary of the invention
[0004] In an example embodiment, a system for sending a network data packet in a link aggregation group includes: a link aggregation group, a processor, and one or more computer-readable media; the link aggregation group includes multiple network links; the one or more computer-readable media include programming instructions stored thereon, and the system is configured to be able to: determine whether a network data packet received via a computer network conforms to loose data packet ordering; if the network data packet conforms to loose data packet ordering, select a network link from multiple network links of the link aggregation group based on available capacity of the multiple network links, and send the network data packet to the selected network link; otherwise, select a network link from multiple network links of the link aggregation group based on content of the network data packet, and send the network data packet to the selected network link.
[0005] In another example embodiment, a computer-implemented method for sending a data item in a link aggregation group includes: determining whether the data item conforms to loose transmission ordering; if the data item conforms to loose transmission ordering, selecting a network link from multiple network links of the link aggregation group based on available capacity of the multiple network links, and sending the data item to the selected network link; otherwise, selecting a network link from the multiple network links of the link aggregation group based on content of the data item, and sending the data item to the selected network link.
[0006] Another exemplary embodiment includes a non-transitory computer-readable medium having instructions stored thereon, the instructions including executable code, which, when executed by one or more processors, causes the one or more processors to perform operations, the operations including: determining whether a network data packet received via a computer network complies with loose data packet ordering; if the network data packet complies with loose data packet ordering, selecting a network link from multiple network links of a link aggregation group based on available capacity of the multiple network links, and sending the network data packet to the selected network link; otherwise, selecting a network link from multiple network links of the link aggregation group based on content of the network data packet, and sending the network data packet to the selected network link.
[0007] In another example embodiment, a device includes: a processor and one or more computer-readable media; the one or more computer-readable media include programming instructions stored thereon, and the device is configured to be able to execute the programming instructions to: determine whether a network data packet received via a computer network conforms to loose data packet ordering; if the network data packet conforms to loose data packet ordering, select a network link from multiple network links of a link aggregation group based on available capacity of the multiple network links, and send the network data packet to the selected network link; otherwise, select a network link from the multiple network links of the link aggregation group based on content of the network data packet, and send the network data packet to the selected network link. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 is a block diagram of an example system for sending network packets between computing devices via a link aggregation group.
[0009] Figure 2 is a flow chart of an example method for sending data items via a link aggregation group.
[0010] Figure 3 is a block diagram of an example network traffic management apparatus for transmitting one or more data items via a link aggregation group.
[0011] Figure 4A-4B is a block diagram of an example system for transmitting multiple data items via a link aggregation group.
[0012] Figure 5 is a block diagram of an example client-server architecture including a plurality of network traffic management devices configured to send network packets via a link aggregation group.
[0013] Figure 6 is a block diagram of an example computing environment that may be used, for example, for a server computer. DETAILED DESCRIPTION
[0014] In some cases, a computing device may be configured to present a group of network links connected to the same destination as a single network link to other computing devices in the network. This configuration may be referred to as "link aggregation" or "link aggregation group". When a computing device receives network traffic that should be routed to (or through) a destination, it may use any link in the link aggregation group to send the traffic to the destination. In theory, the available capacity of a link aggregation group should be equal to (or approximately equal to) the combined capacity of all network links in the link aggregation group. However, the actual throughput of a link aggregation group often falls short of this theoretical capacity. One reason for this reduced throughput is the requirement that certain data items be transmitted in a specific order (e.g., the order in which the data items are received, the order in which the packets are sequenced, etc.). For example, in scenarios involving streaming protocols, it may be important that network packets are transmitted in the order in which they are received. A technique for handling this problem in a link aggregation group is to assign data items to network links based on their content. For example, a packet signature (e.g., a hash) may be generated based on the content of the packet header. The signature may then be assigned to the network links in the link aggregation group. The network packet and all other network packets with the same signature may be sent to the same network link. In some cases, this can ensure that all data items in a particular communication flow will be sent to the same network link. While this ensures proper ordering of data items, it may, in some cases, result in an imbalance in traffic between the links in the link aggregation group. For example, one network link in the link aggregation group may be backlogged with data items while the other network links are underutilized; thereby causing the actual throughput of the link aggregation group to be reduced. Furthermore, at least some of this backlogging may be unnecessary because some of the data items assigned to the backlogged network links may not require a specific transmission order.
[0015] At least some of the techniques described herein can solve these problems by determining whether a data item complies with loose transmission ordering when selecting a network link in a link aggregation group. For example, data items sent using a protocol that does not require data items to arrive in a specific order can be identified and distributed between network links in a link aggregation group in a manner different from that in which data items must be sent in a specific order. For example, the content of a data item can be analyzed to determine whether the data item complies with loose transmission ordering. If the data item does not comply with loose transmission ordering, a network link in a link aggregation group can be selected based on the content of the data item (e.g., a signature or key is generated based on a header of the data item, and a network link is selected based on the signature or key). However, if the data item does comply with loose transmission ordering, a network link in a link aggregation group can be selected based on the available capacity of the network link (e.g., by selecting a network link with the maximum available capacity). Therefore, at least in some scenarios, the throughput of a link aggregation group can be improved by avoiding unnecessary backlogs of network links.
[0016] As used herein, a network packet is a data structure that includes data organized according to one or more network protocols. Different protocols can be associated with different layers of a network packet. Models such as the Open Systems Interconnection (OSI) model can be used to describe the layers within a network packet, which divides a communication system into multiple layers. For example, the OSI model divides a communication system into seven layers. The OSI model is an example of how to divide the functions of a communication system into abstract layers, but other models can also be used. The lower level layers (e.g., layers 1-3) within the network stack can be used to manage the basic transmission of voltage signal transmission and network traffic, while the higher level layers (e.g., layer 7) can be used to transmit application data. Another example model is the Internet Protocol Suite, which divides the communication system into four layers. A network packet organized according to the Internet Protocol Suite can include an Internet layer organized according to the Internet Protocol (IP), a transport layer organized according to a transport protocol (e.g., User Datagram Protocol (UDP) or Transmission Control Protocol (TCP)), and an application layer organized according to an application protocol (e.g., Hypertext Transfer Protocol (HTTP)).
[0017] As the term is used herein, a router includes a software and / or hardware component of a computing device that is configured to receive data items (such as network packets) and transmit the received data items to one or more other components. The router may transmit the data items to a component of the same computing device or to one or more other computing devices. In some embodiments, a router may include one or more hardware and / or software components of a network traffic management device.
[0018] The computing device may include one or more processors, one or more communication interfaces and one or more memories. The processor, communication interface and memory may be coupled together by interconnection so that the components of the computer device may communicate with each other using the interconnection. The communication interface may be used to send and receive communications (e.g., network packets) with other computing devices such as clients and application servers. The processor may be used to execute computer executable instructions stored in memory and / or storage resources. The computer executable instructions may be organized into software routines (also referred to as modules or components) including executable codes for performing various computing tasks. The organization of various routines is possible. For example, routines may be subdivided into smaller routines and / or combined into larger routines. The memory may also include structured and / or unstructured data used by the software routines to perform computing tasks.
[0019] Figure 1 1 is a block diagram of an example system 100 for sending network packets (e.g., 161-167) in a link aggregation group 130 including a plurality of network links 131-137. The example system 100 includes a computing device 110 and a link aggregation group 130. The computing device 110 can receive a plurality of network packets 161-167 and can send the network packets 161-167 to a plurality of network links 131-137 in the link aggregation group 130. In at least some embodiments, the computing device 110 includes one or more processors and one or more computer-readable media, the one or more computer-readable media including programming instructions stored thereon for causing the processor to perform operations as described herein. Additionally or alternatively, the computing device 110 can include one or more programmable hardware components (e.g., a Field Programmable Gate Array (FPGA), a System On a Chip (SOC), etc.).
[0020] The computing device 110 may receive the network packets 161-167 via one or more wired and / or wireless communication channels. In at least some embodiments, the computing device 110 may receive the one or more network packets via one or more computer networks (e.g., a wide area network, a local area network, or some combination thereof). The computing device 110 may be configured to present the multiple network links 131-137 in the link aggregation group 130 as a single communication link having a capacity equal to (or approximately equal to) the combined capacity of the network links 131-137. For example, the computing device 110 may present the link aggregation group 130 as a single communication link to another computing device 120.
[0021] After receiving the network packet, computing device 110 may determine whether the network packet complies with loose packet ordering. In at least some embodiments, determining the network packet includes whether it complies with loose packet ordering based at least in part on a protocol of the network packet. For example, computing device 110 may analyze one or more headers of the network packet to identify a protocol of the network packet, and may determine whether the protocol supports out-of-order delivery of the network packet. Additionally or alternatively, determining whether the network packet complies with loose packet ordering also includes determining that the protocol of the network packet is included within loose ordering protocol specification 150.
[0022] If the network data packet meets the loose data packet ordering, the computing device 110 can select a network link in the multiple network links 131-137 of the link aggregation group 130 based on the available capacity of the multiple network links 131-137, and the network data packet can be sent to the selected network link. For example, the computing device 110 may include multiple network link queues 141-147, which are associated with multiple network links 131-137 and store network data packets to be sent via each network link. Network data packets destined for a particular network link can be buffered in a queue associated with a network link. The available capacity of multiple network links 131-137 can be determined by determining the number of network data packets currently buffered in each of the corresponding network link queues 141-147. In such an embodiment, the following network link in the multiple network links 131-137 can be selected, which has the largest available capacity (and / or the lowest number of network data packets stored therein) in its associated queue in the multiple queues 141-147. The network data packet can then be stored in the queue of the selected network link.
[0023] If the network data packet does not conform to loose packet ordering, the computing device 110 can select a network link in the plurality of network links 131-137 based on the content of the network data packet, and the network data packet can be sent via the selected network link. For example, in an embodiment where the computing device includes a plurality of queues 141-147 associated with the network links 131-137, the computing device can store the network data packet in a queue associated with the selected network link. Selecting a network link can include analyzing the content of one or more headers of the network data packet. For example, a communication flow (e.g., a TCP port number, a source IP address, and / or a sequence number, etc.) of a network data packet can be associated with a network link in the plurality of network links 131-137. Network data packets in the same communication flow can be stored in a queue of the same network link, and can be sent via a network link associated with the communication flow in the order in which they are received by the computing device 110.
[0024] exist Figure 1 In the example scenario shown, computing device 110 receives network packet 161. Computing device 110 may determine that packet 161 complies with loose packet ordering. For example, computing device 110 may identify a protocol of network packet 161 based on the content of network packet 161, and may determine that the protocol supports loose packet ordering based on loose ordering protocol specification 150. Computing device 110 may select network link 131 based on available capacity of multiple queues 141-147, and may store network packet 161 in queue 141 associated with network link 131. Network packet 161 may then be sent to network link 131.
[0025] exist Figure 1 In the illustrated example scenario, router 110 subsequently receives network packet 163. Computing device 110 may determine that packet 163 does not conform to loose packet ordering. For example, computing device 110 may identify a protocol of network packet 163 based on the content of network packet 163, and may determine based on loose ordering protocol specification 150 that the protocol does not support loose packet ordering and / or that the protocol is not included in loose ordering protocol specification 150. Computing device 110 may then select network link 133 from among multiple network links 131-137 based on the content of network packet 163. For example, computing device 110 may determine based on the content of network packet 163 that the network packet is part of a communication flow associated with network link 133. The computing device may store network packet 163 in queue 143 associated with network link 133. Network packet 163 may then be sent to network link 133.
[0026] exist Figure 1 In the illustrated example scenario, router 110 subsequently receives network packet 165. Computing device 110 may determine that packet 165 also does not conform to loose packet ordering. For example, computing device 110 may identify a protocol of network packet 165 based on the content of network packet 165, and may determine based on loose ordering protocol specification 150 that the protocol does not support loose packet ordering and / or that the protocol is not included in loose ordering protocol specification 150. Computing device 110 may then select network link 133 from among multiple network links 131-137 based on the content of network packet 165. For example, computing device 110 may determine based on the content of network packet 165 that the network packet is part of the same communication flow associated with network link 133 as network packet 163. The computing device may then store network packet 165 in queue 143 associated with network link 133. Network packet 163 may then be sent to network link 133.
[0027] exist Figure 1 In the example scenario shown, computing device 110 subsequently receives network packet 167. Computing device 110 may determine that packet 167 complies with loose packet ordering. For example, computing device 110 may identify the protocol of network packet 167 based on the content of network packet 161, and may determine that the protocol supports loose packet ordering based on loose ordering protocol specification 150. Computing device 110 may select network link 137 based on available capacity of multiple queues 141-147, and may store network packet 167 in queue 147 associated with network link 137. Network packet 161 may then be sent to network link 131.
[0028] Therefore, in at least some scenarios, the computing device 110 can distribute network packets that comply with loose packet ordering across multiple network links 131-137 in the link aggregation group 130 based on its available capacity, while also ensuring that network packets that do not comply with loose packet ordering are distributed to the network links 131-137 based on their content.
[0029] Figure 2 2 is a flow chart of an example method 200 for sending a network packet via a link aggregation group. Any of the example computing devices or systems described herein can be used to perform the example method 200. As an example, the example network traffic management apparatus 310 can be used to perform all or part of the example method 200. For example, computer executable instructions for performing the method 200 can be stored in a computer readable memory (e.g., in a Figure 3 ), and the instructions may be executed by one or more processors (e.g., in Figure 3 ) is executed to perform method 200. As another example, Figure 1 The example system 100 shown in FIG. 1 may be used to perform all or a portion of the example method 200 .
[0030] Figure 3 3 is a block diagram of an example network traffic management device 310 for sending one or more data items via a link aggregation group (not shown). The network traffic management device 310 includes one or more processors 315, one or more communication interfaces 320, and a memory 330. The memory 330 includes routing logic 350, which includes instructions that, when executed by the one or more processors 315, cause the network traffic management device 310 to perform operations for sending data items via a network link aggregation group as described herein. Optionally, the network traffic management device 310 may include a plurality of buffers 371-379 associated with a plurality of network links of the link aggregation group. The network traffic management device 310 may be connected to a plurality of network links of the link aggregation group that are external to the network traffic management device 310. Optionally, the memory 330 of the network traffic management device 310 may include an operating system kernel 340, which may be used to manage the execution of the routing logic 350 and / or mediate the routing logic's access to the communication interface 320 and / or the network link buffers 371-379. The network traffic management device 310 can be used as shown in FIG. Figure 6 The computing environment described in more detail is implemented.
[0031] Optionally, at 210, a data item is received for transmission via a link aggregation group. For example, the data item may be received via one or more of the communication interfaces 320 of the network traffic management device 310 for transmission via the link aggregation group. The link aggregation group may include a plurality of network links connected to a plurality of the communication interfaces 320. Alternatively, the data item may be generated by the network traffic management device 310.
[0032] At 230, determine whether the data item conforms to loose transmission ordering. For example, the network traffic management device 310 can determine whether the data item conforms to loose transmission ordering. In at least some embodiments, the data item includes a network data packet. In such embodiments, whether the data item conforms to loose transmission ordering can be determined based at least in part on a protocol of the network data packet. For example, the network traffic management device 310 can analyze one or more headers of the network data packet to identify a protocol of the network data packet, and can determine whether the protocol supports out-of-order delivery of the network data packet. Additionally or alternatively, determining whether the data item conforms to loose transmission ordering also includes determining that the protocol of the network data packet is included in a loose ordering protocol specification 360 stored at least in part in the memory 330.
[0033] If the data item conforms to the loose transmission ordering, then at 250, a network link among the multiple network links of the link aggregation group is selected based on the available capacity of the multiple network links. For example, the network traffic management device 310 may select a network link among the multiple network links of the link aggregation group 130 based on the available capacity of the multiple network links. In at least some embodiments, the network traffic management device 310 may include multiple buffers 371-379 associated with the multiple network links. Data items may be written to the buffers 371-379 associated with the network links, and data items may be retrieved from the buffers 371-379 and sent to the associated network links via the multiple communication interfaces 320 to which the network links are connected. For example, data items destined for a particular network link may be stored in a buffer associated with the network link. The available capacity of the multiple network links may be determined by determining a number of data items currently buffered in each of the respective network link buffers 371-379. In such an embodiment, the network link among the plurality of network links may be selected that has the largest available capacity in its associated buffer among the plurality of buffers 371-379 (and / or the lowest number of data items stored therein).
[0034] If the data item does not conform to the loose transmission ordering, then at 270, a network link among the plurality of network links of the link aggregation group is selected based on the content of the data item. For example, the network transmission device 310 may select a network link among the plurality of network links based on the content of the data item, and may send the data item via the selected network link. For example, in an embodiment where the computing device includes a plurality of buffers 371-379 associated with the plurality of network links of the link aggregation group, the network traffic management device 310 may store the data item in a buffer associated with the selected network link. In an embodiment where the data item includes a network data packet, selecting the network link may include analyzing the content of one or more headers of the network data packet. For example, a communication flow (e.g., a TCP port number, a source IP address, and / or a sequence number, etc.) of a network data packet may be associated with a network link among the plurality of network links. Network data packets in the same communication flow may be stored in a buffer for the same network link, and may be sent via the network link associated with the communication flow in the order in which the network traffic management device 310 receives them.
[0035] At 290, the data item is sent to the selected network link. For example, the network traffic management device 310 can store the data item in a network buffer of the plurality of network buffers 371-379 associated with the selected network link. The data item can be retrieved from the buffer and transmitted to the network link via one of the communication interfaces 320 connected to the selected network link.
[0036] Figure 4A-4B 4 is a block diagram of an example system 400 for sending multiple data items via a link aggregation group. Example system 400 includes a classifier 410, a router 420, a link aggregation group including multiple network links 441-445, and a loose ordering protocol specification 450. In some embodiments, classifier 410, router 420, and loose ordering protocol specification 450 can be part of a single computing device. Alternatively, these components can be distributed on multiple computing devices. For example, classifier 410 and loose ordering protocol specification 450 can be included in one computing device, and router 420 can include an additional computing device connected to multiple network links 441-445 of the link aggregation group.
[0037] Classifier 410 may receive a data item and determine whether the data item complies with loose transmission ordering. Classifier 410 may make the determination based at least in part on the content of the data item and loose ordering protocol specification 450. For example, in Figure 4AIn the illustrated scenario, classifier 410 receives data item 461 and determines that data item 462 does not conform to loose transport ordering based on the content of data item 461 and loose ordering protocol specification 450. Classifier 410 may examine the content of data item 461 to determine the protocol of data item 461. Classifier 410 may search loose ordering protocol specification 450 to determine that the protocol of data item 461 is not included in loose ordering protocol specification 450.
[0038] Classifier 410 may associate a data item with an identifier indicating whether the data item complies with loose transmission ordering. In some embodiments, the identifier includes a metadata header that is transmitted to the selected network link along with the data item. For example, classifier may associate data item 461 with metadata header 471 indicating that data item 461 does not comply with loose transmission ordering.
[0039] After determining whether the data item qualifies for loose transmission ordering, the classifier may transmit the data item and the associated identifier to router 420. For example, Figure 4A In the scenario shown, classifier 410 transmits data item 461 and associated metadata header 471 to router 420 .
[0040] The router 420 may receive the data item and the associated identifier from the classifier 410, and may send the data item to the network links 441-445. If the identifier associated with the data item indicates that the data item complies with the loose transmission ordering, the router 420 may select a network link from the plurality of network links 441-445 based on the available capacity of the network links 441-445. Optionally, the router 420 may include a plurality of buffers 431-435 associated with the network links 441-445. In such an embodiment, determining the available capacity of the network link may include determining the number of data items currently stored in the buffers 431-435 associated with the network link. Otherwise, if the identifier associated with the data item indicates that the data item does not comply with the loose transmission ordering, the router 420 may select a network link from the plurality of network links 441-445 based on the content of the data item.
[0041] exist Figure 4AIn the illustrated scenario, router 420 receives data item 461 and associated metadata header 471 from classifier 410, and determines that data item 461 does not conform to loose transmission ordering based on metadata header 471. Router 420 selects network link 441 based on the content of data item 461, and sends data item 461 to network link 441. For example, router 420 may determine that data item 461 is part of a communication flow associated with network link 441. Optionally, sending data item 461 to network link 441 may include storing data item 462 in buffer 431 associated with network link 4410.
[0042] The process may be repeated as additional data items are received. Figure 4B In the illustrated scenario, another data item 463 is received by the classifier 410. The classifier determines that the data item 463 complies with loose transmission ordering based on the content of the data item 463 and the loose ordering protocol specification 450. For example, the classifier 410 can identify the protocol of the data item 463 and can determine that the loose ordering protocol specification 450 contains an entry 451 for the protocol of the data item 463. Based on the determination, the classifier 410 can associate the data item 463 with a metadata header 473, and the metadata header 473 indicates that the data item 463 complies with loose transmission ordering. The classifier 410 can then transmit the data item 463 and the associated metadata header 473 to the router 420.
[0043] Router 420 may receive data item 463 and metadata header 473, determine that data item 463 qualifies for loose transmission ordering based on metadata header 473, and select network link 443 based on available capacity of network links 441-445. Router 420 may then send data item 463 to selected network link 443.
[0044] Classifier 410 may receive another data item 465 and determine that data item 465 does not conform to loose transmission ordering based on the content of data item 465 and loose ordering protocol specification 450. Classifier 410 may associate data item 465 with metadata header 475 and transmit data item 465 and metadata header 475 to router 420, the metadata header 475 indicating that data item 465 does not conform to loose transmission ordering. Router 420 may receive data item 465 and associated metadata header 475 and determine that data item 465 does not conform to loose transmission ordering based on metadata header 475. Router 420 may then select network link 441 based on the content of data item 465. For example, router 420 may determine that data item 465 is part of the same communication data flow as data item 461 and may select network link 441 based on the association between network link 441 and the communication data flow. Router 420 may then send data item 465 to network link 441.
[0045] Therefore, in at least some scenarios, data items that conform to loose transmission ordering may be distributed among the network links 441 - 445 of the link aggregation group based on network link capacity, while data items that do not conform to loose transmission ordering may be transmitted based on their content.
[0046] Figure 5 An example client-server architecture 500 (also referred to as a network traffic management system) including network traffic management devices 510A-510B is shown. The client-server architecture 500 includes a network traffic management device 510B coupled to one or more server computers (e.g., application server computers 520A-520N) and a network management device 510A coupled to one or more client devices (e.g., client computing devices 530A-530N) via one or more communication networks (e.g., communication networks 540A and 540B). The server computers 520A-520N can communicate with one or more additional server computers accessible via the communication networks 540A-540B. As an example, the communication network 540A can include a public network (e.g., the Internet), and devices attached to the network 540A can be accessed using a public network address; the communication network 540B can include a private network, and devices attached to the network 540B can be accessed using a private network address. The network traffic management device 510A is connected to the network traffic management device 510B via a link aggregation group 560 including multiple network links. The network traffic management device 510A can be configured to present the multiple network links in the link aggregation group 560 as a single network link to the network traffic management device 510B, the single network link having a capacity equal to (or approximately equal to) the combined capacity of the network links.
[0047] The communication networks 540A-540B may include various wired and / or wireless communication technologies, such as local area networks (LANs), wide area networks (WANs), intranets, the Internet, public switched telephone networks (PSTNs), etc. Devices connected to the communication networks 540A-540B may communicate with each other using various communication protocols (e.g., Transmission Control Protocol with Internet Protocol (TCP / IP) over Ethernet and / or other custom or industry standard protocols). The communication protocols may be used to transmit information over the networks 540A-540B using packet-based messages (e.g., Ethernet-based packet data networks) and / or other application programming interfaces (APIs). An API is a programming interface (e.g., a set of methods and / or protocols) for communicating between different modules. The communication network 540A-540B may include various network devices, such as switches (multi-layer or single-layer), routers, repeaters, gateways, bridges, hubs, protocol converters, bridge routers, proxy servers, firewalls, network address converters, multiplexers, network interface controllers, wireless network interface controllers, modems, line drivers, and wireless access points. As shown, the network traffic management device 510A-510B is located between the client computing device 530A-530N and the server computer 520A-520N, so that the network traffic management device 510A-510B can intercept all network traffic flowing between different networks 540A and 540B. In other examples, the network traffic management device 510A-510B, the server computer 520A-520N, and the client device 530A-530N can be coupled together via other topologies. As a specific example, the server computers 520A-520N may be integrated within the network traffic management system 500 (eg, the server computer functionality may be implemented in software within one or more devices of the network traffic management apparatus 510). Figure 5 The network topology shown in has been simplified, and multiple networks and networking devices may be utilized to interconnect the various computing systems disclosed herein. In addition, in these examples, one or more devices of the client-server architecture 500 may be in the same or different communication networks, for example, a communication network including one or more public networks, private networks, or cloud networks.
[0048] In general, the server computers 520A-520N, the client devices 530A-530N, and the network traffic management system 500 can perform various computing tasks implemented using the computing environment, such as Figure 6A computing environment described in more detail. A computing environment may include computer hardware, computer software, and combinations thereof. As a specific example, a computing environment may include a general-purpose and / or special-purpose processor, a configurable and / or hard-wired electronic circuit, a communication interface, and a computer-readable memory for storing computer-executable instructions to enable the processor to perform a given computing task. The logic for performing a given task may be specified within a single module or may be dispersed among multiple modules. As used herein, the terms "module" and "component" may refer to an implementation within one or more dedicated hardware devices or apparatuses (e.g., a computer), and / or an implementation within software hosted by one or more hardware devices or apparatuses, which may host one or more other software applications or implementations.
[0049] The client devices 530A-530N may include any type of computing device that can exchange network data, such as a mobile communication device, a laptop computer, a desktop computer, a tablet computer, a virtual machine executed in a cloud-based computer environment, and the like. The client devices 530A-530N may run interface applications (e.g., a web browser or a standalone client application) that may provide an interface for communicating with one or more of the server computers 520A-520N via the communication networks 540A and 540B (e.g., requesting and receiving content stored thereon). The client devices 530A-530N may also include output devices (e.g., a display screen or touch screen (not shown)) and / or input devices (e.g., a keyboard (not shown)). In addition, one or more of the client devices 530A-530N may be configured to execute software code (e.g., JavaScript code within a web browser) to capture client data and provide the captured data to the network traffic management device 510A or the server computers 520A-520N.
[0050] Server computers 520A-520N may include any type of computing device that can exchange network data. For example, server computers 520A-520N may exchange network data with client devices 530A-530N and each other. As another example, server computers 520A-520N may exchange communications along a communication path specified by application logic so that client-server applications interact with client devices 530A-530N. Examples of server computers 520A-520N may include application servers, database servers, access control servers, network servers, and encryption servers. Therefore, in some examples, one or more of server computers 520A-520N processes login and other requests received from client devices 530A-530N via communication networks 540A and 540B according to Hypertext Transfer Protocol (HTTP) or Hypertext Transfer Protocol Secure (HTTPS) application layer protocols. The network application may operate on one or more of the server computers 520A-520N and transmit data (e.g., files or web pages) to the client devices 530A-530N in response to requests from the client devices 530A-530N (e.g., via the network traffic management device 510). The server computers 520A-520N may be hardware and / or software and may represent a system having multiple servers in a pool, which may include an internal or external network.
[0051] Although server computers 520A-520N are shown as a single device, one or more actions of each of server computers 520A-520N can be distributed on one or more different network computing devices, which collectively include one or more of server computers 520A-520N. In addition, server computers 520A-520N are not limited to a specific configuration. Therefore, server computers 520A-520N can include network computing devices that operate using a coordination method, whereby one network computing device of server computers 520A-520N operates to manage or otherwise coordinate the operations of other network computing devices. For example, each of server computers 520A-520N can operate as a networked computing device within a cluster architecture, a computing device within a peer-to-peer architecture, a virtual machine, or a resource within a cloud-based computer architecture. Therefore, the technology disclosed herein should not be interpreted as being limited to a single environment, and other configurations and architectures can also be envisioned. For example, one or more of the server computers 520A-520N may operate within the network traffic management device 510 itself, rather than as a separate server device that communicates with the network traffic management device 510 via the communication network 540B. In this example, one or more of the server computers 520A-520N operate within the memory of the network traffic management device 510A and / or the network traffic management device 510B.
[0052] The network traffic management device 510 may include any type of computing device that can be used to manage network traffic. The network traffic management device 510 can perform multiple functions, such as providing network security, access control, load balancing network traffic across server computers 520A-520N, and / or accelerating network traffic associated with applications hosted by one or more server computers 520A-520N. Such functions can be performed by one or more services. These services can be incorporated into the workload performed by the network traffic management device 510. For example, the network traffic management device 510 may include a workload that is used to perform proxy and other services on behalf of the server 520A-520N and to manage traffic between the client 530A-530N and the server 520A-520N. In addition, the network traffic control device 510 may include other network devices, such as one or more routers or switches.
[0053] The network traffic management device 510A may include traffic routing logic 550 for sending data items via the link aggregation group 560, as described above with reference to Figure 1 4 . In some embodiments, the network traffic management device 510B may include traffic routing logic (not shown) for sending data items via the link aggregation group 560 .
[0054] Although the network traffic management device 510A-510B is shown in this example as including a single device, the network traffic management device 510 in other examples may include multiple devices or blades, each device or blade having one or more processors (each processor having one or more processing cores) that implement one or more components of the technology. In these examples, one or more devices may have a dedicated communication interface or memory. Alternatively, one or more devices may utilize the memory, communication interface, or other hardware or software components of one or more other devices included in the network traffic management device 510. In addition, one or more of the network traffic management devices 510A-510B and / or the application executed by one or more of the network traffic management devices 510A-510B can operate in a cloud-based computing environment. The application can be executed in a virtual machine or virtual server that can be managed in a cloud-based computing environment, or as a virtual machine or virtual server that can be managed in a cloud-based computing environment. For example, an application, or even the network traffic management device 510 itself, can be located in a virtual server running in a cloud-based computing environment, rather than being bound to one or more specific physical network computing devices. In addition, the application can be run in one or more virtual machines (VMs) executed on one or more network traffic management devices 510A-510B. In addition, in one or more examples of the technology, the virtual machines running on one or more of the network traffic management devices 510A-510B can be managed or supervised by a hypervisor. In addition, one or more of the components that together comprise one or more of the network traffic management devices 510A-510B can be stand-alone devices, or integrated with one or more other devices or devices, such as one or more of the server computers 520A-520N.
[0055] In addition, one or more components described in the client-server architecture 500, such as the network traffic management apparatus 510A-510B, the server computers 520A-520N, or the client computing devices 530A-530N, can be configured to operate as virtual instances on the same physical machine. In other words, one or more of the network traffic management apparatus 510A-510B, the server computers 520A-520N, or the client computing devices 530A-530N can operate on the same physical device, rather than as separate devices that communicate through the communication networks 540A and 540B. In addition, there can be more than one virtual instance. Figure 5 More or fewer network traffic management devices, client computing devices, or server computers are shown.
[0056] Figure 6A block diagram of a general example of a suitable computing environment 600 that can be used to implement the examples, techniques, and technologies described herein is shown. For example, the computing environment 600 can be used to implement a computing device (such as a network traffic management device) that performs the techniques for sending data items via a network link aggregation group as described herein.
[0057] The computing environment 600 includes at least one processing unit 610 and a computer readable memory 620, which are coupled together by an interconnect 630. The processing unit 610 executes computer executable instructions. The processing unit 610 may include a general-purpose processor, a special-purpose processor, and a combination thereof. For example, the processing unit 610 may include a general-purpose central processing unit (CPU), a graphics processor, a processor in an application-specific integrated circuit (ASIC), a processor configured to operate using programmable logic (e.g., in a field programmable gate array (FPGA)), and / or any other type of processor. In a multi-processing system, multiple processing units may be used to execute computer executable instructions to increase processing power.
[0058] The memory 620 stores software 640 that implements one or more innovations described herein in the form of computer executable instructions suitable for execution by the processing unit 610. Specifically, the memory 620 can be used to store computer executable instructions, data structures, input data, output data, and other information. The memory 620 may include volatile memory (e.g., registers, caches, random-access memory (RAM)), non-volatile storage (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory) and / or combinations thereof. The memory 620 may include operating system software (not shown). The operating system software may provide an operating environment for other software executed in the computing environment 600, and may coordinate the activities of the components of the computing environment 600.
[0059] The interconnect 630 is used to connect different components of the computing environment 600 together so that the processing unit 610 can communicate with different components and / or so that different components can communicate with each other. For example, the interconnect 630 may include a bus, a controller, and / or a network. As an example, the interconnect 630 may include a host bridge (also called a north bridge) for connecting the processing unit 610 to relatively high-speed components (e.g., memory 620) and an input / output bridge (also called a south bridge) for connecting to relatively low-speed components (e.g., communication interface 650) within the computing environment 600. In some examples, one or more components of the computing environment 600 may be integrated within the processing unit 610 or directly connected to the processing unit 610.
[0060] The computing environment 600 may include a communication interface 650 for communicating with another computing entity using a communication medium (e.g., a physical layer). The communication interface 650 may implement all or part of a network protocol stack. A network protocol stack defines the communication format and rules between different devices connected to a network. For example, a network protocol stack may define modular layers for communicating using an open system interconnection (OSI) model or other models such as the Internet protocol suite. The OSI model standardizes and divides communication systems into seven layers, including a physical layer (referred to as layer 1) and an application layer (referred to as layer 7). The application layer may be used to define how applications access the communication subsystem. The physical layer defines the electrical and physical specifications for communicating through a communication medium (referred to as a physical transmission medium). The communication medium may be used to transmit information, such as computer executable instructions or other data, in a modulated data signal. A modulated data signal is a signal having one or more characteristics that are adjusted to encode information in the signal. The communication interface 650 may include electronic and / or optical circuitry to receive and transmit communication signals encoded using electrical, optical, radio frequency (RF), or another carrier signal (e.g., according to the physical layer specification of the network stack). Thus, the communication interface 650 may be used to communicate via wired connections (e.g., twisted pair, coaxial cable, and fiber optic connections) and / or wireless technologies (e.g., Bluetooth, Wi-Fi (IEEE 802.11), and cellular).
[0061] As a reference Figure 5 In a specific example, the communication interface of the network traffic management device 510 is operably coupled to and communicates with the communication networks 540A and 540B, so that the network traffic management device 510 is coupled to and can communicate with the server computers 520A-520N and the client computing devices 530A-530N. The communication interface of the network traffic management device 510 is also operably coupled to multiple network links in the link aggregation group 560.
[0062] The computing environment 600 may include a storage device 660 for storing instructions, data structures, and data of the software 640, which may be used to implement the techniques described herein. The storage device 660 may include electronic circuits for reading and / or writing to removable or non-removable storage media using a magnetic, optical, or other reading and writing system coupled to the processor. The storage device 660 may include a read-only storage medium and / or a readable and writable storage medium, such as a disk, a solid-state drive, a magnetic tape or cassette, a compact disc-read only memory (CD-ROM), a compact disc-rewritable (CD-RW), a digital video disc (DVD), or any other medium that may be used to store information and may be accessed within the computing environment 600.
[0063] The computing environment 600 may include an input device 670. For example, the input device 670 may provide an input interface to a user of the computing environment 600 and / or receive input from the physical environment. The input device 670 may include a tactile input device (e.g., a keyboard, mouse, or touch screen), a microphone, a camera, a sensor, or other device that provides input to the computing environment 600.
[0064] The computing environment 600 may include an output device 680. For example, the output device 680 may provide an output interface to a user of the computing environment 600 and / or generate output observable in a physical environment. The output device 680 may include a light emitting diode, a display, a printer, a speaker, a CD writer, or another device that provides output from the computing environment 600. In some examples, the input device 670 and the output device 680 may be used together to provide a user interface to the user of the computing environment 600.
[0065] The computing environment 600 does not mean that the scope of use or functionality of the technology is limited, because the technology can be implemented in different general and / or special computing environments. For example, the disclosed technology can be practiced in a local, distributed and / or network-enabled computing environment. In a distributed computing environment, tasks are performed by multiple processing devices. Therefore, the principles and advantages of distributed processing, such as redundancy, parallelization and replication, can also be implemented as needed to improve the robustness and performance of the example devices and systems. These examples can also be implemented on a computer system extended on any suitable network using any suitable interface mechanism and traffic technology, and the computer system includes only by way of example a wireless traffic network, a cellular traffic network, a packet data network (Packet Data Network, PDN), the Internet, an intranet and a combination thereof. As a specific example, a distributed computing environment may include a processing unit 610 and a network-accessible computing environment 690 linked by a communication network. In a distributed computing environment, program modules 640 (including executable instructions for performing the operations described herein) may be located in local and remote memory storage devices.
[0066] The term computer-readable medium includes non-transitory media for data storage, such as memory 620 and storage device 660, and does not include transmission media, such as modulated data signals and carrier waves. Any disclosed method can be implemented as a computer executable instruction stored on one or more computer-readable media and executed on a computer (e.g., any commercially available computer). Any computer executable instructions for implementing the disclosed technology and any data structures and data created and used during the implementation of the disclosed embodiment can be stored on one or more computer-readable storage media. For example, a computer executable instruction can be a part of a dedicated software application or a software application accessed or downloaded through a web browser or other software application (e.g., a remote computing application). For example, such software can be executed on a single local computer (e.g., any suitable commercially available computer) or in a network environment using one or more network-attached computers (e.g., via the Internet, a wide area network, a local area network, a client-server network, or other such networks).
[0067] The present disclosure is presented in the context of representative examples, which are not intended to be limiting. Therefore, the present disclosure is directed to all novel and non-obvious features and aspects of various embodiments disclosed individually and in various combinations and sub-combinations of each other. Many variations of the specific hardware and software used to implement the examples are possible, as will be understood by those skilled in the relevant art with the benefit of this disclosure. The disclosed systems, methods, and devices are not limited to any particular aspect or feature or combination thereof, nor do the disclosed techniques require the presence of any one or more specific advantages or problems solved. The theories of operation, scientific principles, or other theoretical descriptions provided herein with reference to the disclosed techniques are provided for a better understanding and are not intended to limit their scope. The devices and methods in the appended claims are not limited to those devices and methods that function in the manner described in such theories of operation.
[0068] As used in this application, the singular forms "a", "an" and "the" include plural forms unless the context clearly dictates otherwise. The term "coupled" includes mechanical, electrical, magnetic, optical and other practical ways of coupling or connecting items together, and does not exclude the presence of intermediate elements between the coupled items. The term "and / or" refers to any one or more combinations of the items in the phrase.
[0069] Therefore, the order of the listed processing elements or sequences, or the use of numbers, letters, or other names, is not intended to limit the claimed processes to any order. Although the operations of some disclosed methods are described in a particular, ordered order for ease of presentation, it should be understood that such description includes reordering unless a particular claim language described below requires a particular order. For example, in some cases, operations described in sequence may be rearranged or performed simultaneously. In addition, for simplicity, the accompanying drawings may not show all of the various ways in which the disclosed methods can be used in combination with other methods.
[0070] It should also be clearly understood that any software functionality described herein may be performed, at least in part, by one or more hardware logic components rather than software. For example, but not limited to, illustrative types of hardware logic components that may be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0071] For the sake of clarity, only certain selected aspects of software-based implementations are described. Other details known in the art are omitted. For example, it should be understood that the disclosed technology is not limited to any particular computer language or program. For example, the disclosed technology can be implemented by software written in C, C++, Java, assembly language, or any other suitable programming language. Likewise, the disclosed technology is not limited to any particular computer or hardware type. Certain details of suitable computers and hardware are well known and need not be elaborated in this disclosure.
[0072] Having described many possible embodiments to which the principles of the present invention may be applied, it will be appreciated by those skilled in the art that the above detailed disclosure is provided only as an example and not as a limitation. Various changes, improvements, and modifications will occur, and these changes, improvements, and modifications are contemplated by those skilled in the art, even though they are not expressly described in this specification. These changes, improvements, and modifications are intended to be proposed herein and are within the spirit and scope of the present invention. Therefore, the scope of the subject matter claimed is defined by the appended claims. Therefore, we claim that all of the content within the scope of these claims is included as the content of the present invention.
Claims
1. A system for sending a network data packet in a link aggregation group, the system comprising: The link aggregation group includes a plurality of network links; processor; as well as One or more computer-readable media including programming instructions stored thereon, the system being configured to: determining whether a network packet received via a computer network conforms to loose packet ordering; If the network data packet conforms to loose data packet ordering, selecting a network link among the plurality of network links of the link aggregation group based on available capacities of the plurality of network links, and sending the network data packet to the selected network link; as well as Otherwise, a network link among the plurality of network links of the link aggregation group is selected based on the content of the network data packet, and the network data packet is sent to the selected network link.
2. The system according to claim 1, wherein: The determining whether the network packet complies with loose packet ordering is based on a protocol of the network packet.
3. The system according to claim 2, wherein: The determining whether the network packet complies with loose packet ordering further includes determining that a protocol of the network packet is included within a loose ordering protocol specification.
4. The system according to claim 1, wherein: The system is also configured to: The network data packet is associated with an identifier indicating whether the network data packet conforms to relaxed packet ordering.
5. The system of claim 4, wherein: The identifier comprises a metadata header; and The system is also configured to be able to send the metadata header along with the network data packet.
6. A computer-implemented method for sending a data item in a link aggregation group, the method comprising: Determine whether a data item qualifies for relaxed transfer ordering; If the data item conforms to loose transmission ordering, selecting a network link from the plurality of network links of the link aggregation group based on available capacities of the plurality of network links, and sending the data item to the selected network link; as well as Otherwise, a network link among the plurality of network links of the link aggregation group is selected based on the content of the data item, and the data item is sent to the selected network link.
7. The computer-implemented method of claim 6, wherein: The data items include network data packets; and The determining whether the data item complies with loose transmission ordering is based on a protocol of the network data packet.
8. The computer-implemented method of claim 7, wherein: The determining whether the data item complies with loose transmission ordering also includes determining that a protocol of the network data packet is included within a loose ordering protocol specification.
9. The computer-implemented method of claim 6, further comprising: The data item is associated with an identifier indicating whether the data item conforms to relaxed transmission ordering.
10. The computer-implemented method of claim 9, wherein: The identifier comprises a metadata header; and The method also includes transmitting a metadata header with the data item.
11. A non-transitory computer-readable medium having instructions stored thereon, the instructions comprising executable code that, when executed by one or more processors, causes the one or more processors to perform operations comprising: determining whether a network packet received via a computer network conforms to loose packet ordering; If the network data packet conforms to loose data packet ordering, selecting a network link from the plurality of network links of a link aggregation group based on available capacities of the plurality of network links, and sending the network data packet to the selected network link; as well as Otherwise, a network link among the plurality of network links of the link aggregation group is selected based on the content of the network data packet, and the network data packet is sent to the selected network link.
12. The non-transitory computer readable medium of claim 11, wherein: The determining whether the network packet complies with loose packet ordering is based on a protocol of the network packet.
13. The non-transitory computer readable medium of claim 12, wherein: The determining whether the network packet complies with loose packet ordering further includes determining that a protocol of the network packet is included within a loose ordering protocol specification.
14. The non-transitory computer readable medium of claim 11, wherein: The operations also include: The network data packet is associated with an identifier indicating whether the network data packet conforms to relaxed packet ordering.
15. The non-transitory computer readable medium of claim 14, wherein: The identifier comprises a metadata header; and The operations also include sending the metadata header with the network data packet.
16. An apparatus comprising: processor; as well as one or more computer-readable media including programming instructions stored thereon, the apparatus being configured to execute the programming instructions to: determining whether a network packet received via a computer network conforms to loose packet ordering; If the network data packet conforms to loose data packet ordering, selecting a network link from the plurality of network links of a link aggregation group based on available capacities of the plurality of network links, and sending the network data packet to the selected network link; as well as Otherwise, a network link among the plurality of network links of the link aggregation group is selected based on the content of the network data packet, and the network data packet is sent to the selected network link.
17. The device according to claim 16, wherein: The determining whether the network packet complies with loose packet ordering is based on a protocol of the network packet.
18. The device according to claim 17, wherein: The determining whether the network packet complies with loose packet ordering further includes determining that a protocol of the network packet is included within a loose ordering protocol specification.
19. The device according to claim 16, wherein: The device is also configured to be able to execute the programming instructions to: The network data packet is associated with an identifier indicating whether the network data packet conforms to relaxed packet ordering.
20. The apparatus of claim 19, wherein: The identifier comprises a metadata header; and The device is also configured to be able to execute the programming instructions to send the metadata header together with the network data packet.
