Source and receiver anchoring for efficient multicast traffic distribution
By selecting anchor sources and anchor receivers for multicast groups in the enterprise network, the resource utilization and congestion problems when multicast services are transmitted in multiple data center environments are solved, and efficient distribution of multicast services and network performance are achieved. promote.
Patent Information
- Application Number
- CN202311079661.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2023-08-25
- Publication Date
- 2024-10-01
AI Technical Summary
In enterprise networks, efficient distribution of multicast services faces challenges, especially when multicast flows originate from different locations and are served by data centers, resulting in unnecessary utilization of network resources and possible congestion.
By selecting the anchor source and anchor receiver for the corresponding multicast group and performing the anchor source and anchor receiver selection in the gateway switch, a single multicast stream transmission from the anchor source to the anchor receiver is ensured and the transmission of redundant streams is avoided. .
It achieves efficient distribution of multicast services, reduces unnecessary utilization and congestion of network resources, and improves network performance and availability.
Smart Images

Figure CN118740769A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to communication networks. More particularly, the present disclosure relates to a method and system for efficiently distributing multicast traffic by selecting source and receiver gateway switches for corresponding multicast groups in a network. BRIEF DESCRIPTION OF THE DRAWINGS
[0002] Figure 1 An example of a network supporting efficient distribution of multicast services based on source and receiver anchoring according to one aspect of the present application is shown;
[0003] Figure 2A An example of distributing a multicast service using an anchor source and an anchor receiver according to one aspect of the present application is shown;
[0004] Figure 2B An example of selecting a master gateway switch for distributing a remote anchor source of a multicast service according to one aspect of the present application is shown;
[0005] Figure 3A An example of a gateway switch facilitating high availability in response to a remote gateway switch being unavailable according to one aspect of the present application is shown;
[0006] Figure 3B An example of a gateway switch facilitating high availability in response to an anchor source being unavailable according to one aspect of the present application is shown;
[0007] Figure 4A A flow chart illustrating a process of synchronizing multicast information with a remote gateway switch of a gateway switch according to one aspect of the present application is presented;
[0008] Figure 4B A flow chart illustrating a process of determining an anchor source and an anchor receiver for a multicast group by a master gateway switch according to one aspect of the present application is presented;
[0009] Figure 4C A flow chart illustrating a process of processing a join request for a multicast group by a secondary gateway switch according to one aspect of the present application is presented;
[0010] Figure 5A A flow chart showing a process of facilitating high availability of a gateway switch in response to unavailability of a remote gateway switch according to one aspect of the present application;
[0011] Figure 5B A flow chart illustrating a process of facilitating high availability of a primary gateway switch in response to unavailability of an anchor source according to one aspect of the present application; and
[0012] Figure 6An example of a switch supporting efficient distribution of multicast traffic based on source and sink anchoring according to an embodiment of the present application is shown.
[0013] In the drawings, like reference numerals denote the same drawing elements. DETAILED DESCRIPTION
[0014] In various Internet applications, multicast is often used to distribute content such as video from a source to multiple hosts. Efficient distribution of multicast services can improve the performance of the network. Network layer multicast protocols such as protocol independent multicast (PIM) can be used to distribute content in heterogeneous networks. In some scenarios, a host can send a client join request (e.g., an Internet Group Management Protocol (IGMP) join request or a Multicast Listener Discovery (MLD) join request) to an upstream switch, which can be a gateway switch at a site of an enterprise network.
[0015] If a site supports a large number of users, the site can deploy several gateway switches to ensure load balancing and promote high availability. To reduce deployment costs, some gateway switches may not support PIM. Therefore, when a gateway switch receives a client join request for a multicast group, the gateway switch can forward the client join request to a switch that communicates with the source of the multicast group. In an enterprise network, the source can be multiple data centers. These data centers are deployed to provide high availability to each other. Typically, if a multicast stream originates from different locations, the data center can first obtain the multicast stream and then redistribute the stream in the network. Since there can be multiple data centers providing multicast streams to multiple gateway switches, efficient distribution of multicast services can be challenging.
[0016] The examples described herein solve the problem of efficiently distributing multicast traffic from multiple sources to requesting switches in a network by: (i) selecting an anchor source (which may be a data center) and an anchor receiver for a corresponding multicast group; and (ii) after selecting the anchor, allowing one multicast flow from the anchor source to the anchor receiver for the multicast group. Among the gateway switches of the site, the anchor receiver may send a join request for the multicast group to the anchor source. As a result, the anchor source may send the multicast flow to the anchor receiver, thereby avoiding redundant multicast flows from other sources to other gateway switches.
[0017] With existing technology, a multicast tree is built based on the host requesting the multicast data stream of the multicast group and the source providing the stream. Therefore, the switch may not know how to forward the multicast data packet. As a result, in order to receive services for the multicast group (e.g., via the multicast tree), the switch can send a join request for the multicast group to all available sources. In an enterprise network, many multicast streams (e.g., demonstrations, training sessions, voice, etc.) can be provided from multiple data centers that provide high availability to each other. Even if such a multicast stream originates from an external source, the data center can relay the stream in the network, thereby operating as a source within the network.
[0018] Therefore, multicast streams of a multicast group can be provided from each of these data centers. However, the basic gateway switches generally do not support some advanced capabilities, such as network-level multicast management (e.g., using the PIM protocol). Therefore, if the gateway switch receives a join request for a multicast group from a host, the switch can forward the join request to each data center of the network. Even if the PIM protocol is configured on the gateway switch, if the layer-2 network is extended via a tunnel, the gateway switch can still forward the join request to each data center of the network. The corresponding data center can then send the multicast stream to the gateway switch. Therefore, the gateway switch can receive multiple data streams for the same multicast group (i.e., multiple instances of the same multicast stream) and forward them to the host. Even if the application requesting the multicast stream may be able to resolve data duplication, multiple instances of the multicast stream may also cause unnecessary resource utilization and congestion in the network.
[0019] To solve this problem, for the corresponding multicast group, one of the gateway switches can send a join request to one of the data centers. In other words, for the multicast group, one of the data centers can be selected as the source. In addition, if a site of the enterprise network includes multiple gateway switches, one of the gateway switches can be selected as the receiver of the multicast stream for the site. Because there is only one gateway switch requesting services from only one data center, the network can include one multicast stream from the source data center to the gateway switch. The requesting gateway switch and the source data center can be referred to as the anchor receiver and anchor source of the multicast group, respectively. The anchor source and the anchor receiver can also be referred to as the anchor data center and the anchor gateway switch, respectively.
[0020] To facilitate the anchor selection process, one of the gateway switches may be selected as the master switch responsible for the selection decision. Whenever a gateway switch receives a join request from a host, the gateway switch may send a join request and associated network information (e.g., subscriptions, unicast / multicast bandwidth used, and health parameters) to the master switch. Based on the available information, the master switch may determine which data center should be the anchor source for the multicast group and which gateway switch should be the anchor receiver (i.e., anchor) for the multicast group. The master switch may then send this information to the corresponding other gateway switch of the site. Based on the distribution of this information, the corresponding gateway switch may know the anchor for the multicast group. Once the information is received, the gateway switch may store the information in an anchor data structure (ADS) (e.g., a table).
[0021] Because this information is distributed, the gateway switch selected as the anchor receiver for the multicast group can identify itself. The selected anchor receiver can then send a join request to the anchor source. Based on the join request, the anchor source can send the multicast stream to the anchor receiver, and the anchor receiver can then forward the stream to the requesting host. If another gateway switch receives a subsequent join request for the same multicast group from another host, the gateway switch can forward the join request to the anchor receiver. The anchor receiver can then forward the multicast stream to the other requesting host. In this way, for the corresponding site, the multicast stream can be forwarded from one anchor source (i.e., one data center) to one anchor receiver (e.g., one gateway switch).
[0022] The master switch may use a selection mechanism to determine the anchor. The selection mechanism may include an anchor source selection mechanism and an anchor receiver selection mechanism. Each of these selection mechanisms may include a combination of an initial selection process and a policy-based selection process. When there is not enough information available for a policy-based selection process, the initial selection process may be applied. Therefore, the initial selection process may be applied to a gateway switch or a data center without additional parameters. For example, if the policy-based selection process is based on the load on the anchor, the initial selection process may be a round-robin strategy that may be applied before the multicast stream generates any load on the anchor. When the corresponding gateway switch receives at least one multicast stream, the policy-based selection process may be used to select the anchor. The policy-based selection process may also be based on one or more of the following items: unicast traffic load from the data center, access rights, time of day, multicast application type, and user-based policies, which may include but are not limited to user location, user type, and user subscription preferences.
[0023] When the master switch receives a join request for a multicast group from a host or another gateway switch, the master switch can apply a selection mechanism to the multicast group and determine an anchor. On the other hand, the selection of the anchor can also be performed at the corresponding gateway switch in a distributed manner instead of running on the master switch. Because the selection mechanism can be based on the same information (e.g., the load on the data center and the gateway), each gateway switch can independently determine the same anchor. The corresponding gateway switch can then share the independently selected anchor with other gateway switches so that the gateway switches can coordinate the selection. If the master switch detects a conflict in which different anchors are selected by different gateway switches, the selection of the master switch can be selected as a solution. In this way, an anchor is selected for the corresponding multicast group, thereby ensuring a single multicast flow from the anchor source to the anchor receiver.
[0024] In the present disclosure, the term "switch" is used in a general sense, and it can refer to any stand-alone or fabric switch operating in any network layer. "Switch" should not be interpreted as limiting the examples of the present invention to layer-2 networks. Any device that can forward business to an external device or another switch can be called a "switch". Any physical or virtual device that can forward business to a terminal device (e.g., a virtual machine or switch operating on a computing device) can be called a "switch". Examples of "switch" include, but are not limited to, layer-2 switches, layer-3 routers, routing switches, components of Generation Z or Computing Express Link (CXL) networks, processor devices, or fabric switches including multiple analog or heterogeneous smaller physical and / or virtual switches.
[0025] Phrases indicating devices (such as "node", "machine", "entity" or "device") may indicate switches and end hosts, such as user equipment. The term "message" refers to a group of bits that can be transmitted together on a network. "Message" should not be interpreted as limiting the examples of this example to a specific layer of the network. "Message" may be replaced with other terms referring to a group of bits, such as "information", "data", "request", "response", "packet", "frame", "cell", "datagram" or "transaction". In addition, the term "port" may refer to a port that can receive, store or send data. "Port" may also refer to hardware, software and / or firmware logic that can facilitate the operation of the port.
[0026] Figure 1An example of a network supporting efficient distribution of multicast services based on source and receiver anchoring according to one aspect of the present application is shown. An enterprise environment 100 may include multiple switches 112, 114, 116, and 118. These switches may be in an enterprise network, which may be an Ethernet, InfiniBand, PCIe, Generation Z, CXL, or other network, and may use corresponding communication protocols, such as Internet Protocol (IP), Fibre Channel over Ethernet (FCoE), or other protocols. The enterprise network may span a wide area network 110. Data centers 102 and 104 of the enterprise environment 100 may be coupled to switches 112 and 114, respectively. Here, data centers 102 and 104 may provide high availability (e.g., failover) to each other by taking over the operations of an unavailable data center. The enterprise environment 100 may include a site 120 (e.g., an office of an enterprise), which may include terminal devices (or user devices) 122, 124, 126, and 128. Here, site 120 may include a network that may facilitate connection to devices at site 120.
[0027] Switches 116 and 118 may be gateway switches for site 120. Switches 116 and 118 may be coupled to each other via one or more inter-switch links. Switches 116 and 118 may also be coupled to switches 112 and 114 via respective tunnels through network 110. Examples of tunnels may include, but are not limited to, VXLAN, Generic Routing Encapsulation (GRE), Network Virtualization Using GRE (NVGRE), Generic Network Virtualization Encapsulation (Geneve), Internet Protocol Security (IPsec). A virtual private network (VPN), such as Ethernet VPN (EVPN), may be deployed on network 110. Because switches 116 and 118 are gateway switches for site 120, terminal devices in site 120 may reach network 110 and thereby data centers 102 and 104 via switches 116 and 116.
[0028] A terminal device that requests a multicast data stream (or a multicast stream) may be referred to as a host. On the other hand, a terminal device that sends a multicast stream may be referred to as a source. In environment 100, many multicast streams may be provided from data centers 102 and 104. Even if such multicast streams originate from external sources, data centers 102 and 104 may relay the streams in environment 100, thereby operating as sources within environment 100. For example, if terminal device 112 requests a multicast stream of multicast group 132 and receives the multicast stream from data center 102, terminal device 112 and data center 102 may be hosts and sources of the multicast group. Using existing technology, a multicast tree for multicast group 132 may be constructed based on host 112 requesting a multicast stream and data center 102 providing the stream. Therefore, switch 116 (or switch 118) may not know how multicast data packets should be forwarded.
[0029] As a result, in order to receive traffic for the multicast group, switch 116 may forward join requests for multicast group 132 to data centers 102 and 104. Even if the PIM protocol is configured on switch 116, switch 116 may still forward join requests to data centers 102 and 104 if the layer-2 network is extended via tunnels (e.g., to switches 112 and 114). Since both data centers 102 and 104 may provide multicast streams for multicast group 132, the same multicast stream for multicast group 132 may be forwarded from data centers 102 and 104 to switch 116. Data centers 102 and 104 may then send the multicast stream to switch 116. Therefore, switch 116 may receive multiple data streams (i.e., multiple instances of the same multicast stream) for the same multicast group 132 and forward them to host 112. Even if the application on host 112 requesting the multicast stream is able to resolve data duplication, multiple instances of the multicast stream in environment 100 may cause unnecessary resource utilization and congestion.
[0030] To address this issue, each of the gateway switches 116 and 118 can run a respective instance of a multicast management system that can select an anchor for the multicast group. For example, the switches 116 and 118 can run multicast management systems 150 and 160, respectively. The systems 150 and 160 can be deployed based on software, hardware, or a combination thereof. The systems 150 and 160 can include synchronization units 152 and 162, respectively, which can synchronize selection information between the switches 116 and 118, such as the selection of anchors for the respective multicast groups. The synchronization units 152 and 162 can also determine the master switch of the site 120. For example, each of the synchronization units 152 and 162 can perform a selection process to determine the master switch. The selection process can be based on a preconfiguration or a distributed selection process (e.g., a selection based on a network address).
[0031] The systems 150 and 160 may also include subscription units 156 and 166, respectively, which may send a join request to one of the data centers 102 and 104 when an anchor is selected for the multicast group. The systems 150 and 160 may select one of the gateway switches 116 and 118 to send the join request to one of the data centers 102 and 104. Thus, one of the data centers 102 and 104 may be selected as a source for the site 120. Since there is only one gateway switch requesting services from only one data center, the site 120 may receive one multicast stream via the network 110.
[0032] To facilitate the anchor selection process, a gateway switch such as switch 116 may be selected as a master switch responsible for the selection decision. The system 150 on the switch 116 may therefore include a computing unit 154. During operation, the switch 118 may receive a join request for the multicast group 132 from a host. The synchronization unit 162 may then send the join request and associated network information (e.g., subscriptions, unicast / multicast bandwidth used, and health parameters) to the switch 116. Based on the available information, the computing unit 154 may determine that the data center 102 should be the anchor source for the multicast group 132 and the switch 116 should be the anchor receiver for the multicast group 132. The synchronization unit 152 may then send the selection information to a corresponding other gateway switch of the site 120, such as switch 118. Based on the distribution of this information, the corresponding gateway switch may know the anchor for the multicast group 132.
[0033] Because the selection information is distributed, switches 116 and 118 can store the selection information in the corresponding ADS instances. Subscription unit 154 can then send a join request to data center 102 via network 110. Data center 102 can then receive the join request via switch 112. Based on the join request, data center 102 can send a multicast data stream for multicast group 132 to switch 116 via network 110. Switch 116 can then forward the multicast stream to the requesting host. Similarly, if switch 116 receives a join request for multicast group 134, computing unit 154 can determine that data center 104 should be the anchor source for multicast group 134 and switch 118 should be the anchor receiver for multicast group 134.
[0034] The synchronization unit 152 may then send the selection information to the switch 118. The system 160 may receive the information at the switch 118 and store the received information in a local ADS. In addition, based on the distribution of the information, the system 160 may determine that the switch 118 has been selected as an anchor receiver. The subscription unit 166 may then send a join request to the data center 102, which in turn may send the multicast data stream to the switch 118. In this manner, the multicast stream may be forwarded from one anchor source of the site 120 to one anchor receiver of the site 120.
[0035] The computing unit 154 may use a selection mechanism to determine the anchor. The selection mechanism may include an anchor source selection mechanism and an anchor receiver selection mechanism. For each selection mechanism, the computing unit 154 may initially select an anchor using a polling selection process. Therefore, the computing unit 154 may apply an initial selection process to the gateway switches 116 and 118 or the data centers 102 and 104 without additional parameters. When the switches 116 and 118 begin to receive multicast streams, the computing unit 154 may switch to a policy-based selection process. The policy-based selection process may be based on a set of policy parameters including local information associated with the switch 116 and information obtained periodically received from the switch 118. The policy parameters may include one or more of the following: multicast traffic load, unicast traffic load, access rights, time of day, multicast application type, and user-based policies, which may include, but are not limited to, user location, user type, and user subscription preferences. If the computing unit 154 is applying an anchor receiver selection mechanism, the parameter may correspond to the gateway switches 116 and 118. On the other hand, if the computing unit 154 is applying the anchor source selection mechanism, the parameter may correspond to the data centers 102 and 104 .
[0036] The selection of the anchors may also be performed in a distributed manner on switches 116 and 118, rather than running on switch 116. System 160 may therefore include a computing unit 164, which may also apply the selection mechanism. Synchronization units 152 and 162 may share selection information with each other. If system 150 detects a conflict based on the shared information, the selection made by computing unit 154 may be selected as a solution. In this case, system 150 may send a control message to system 160 indicating that the conflict needs to be resolved based on the selection performed by computing unit 154. Therefore, computing unit 164 may replace the local selection with the selection performed by computing unit 154.
[0037] Figure 2AAn example of using an anchor source and an anchor receiver to distribute multicast traffic according to one aspect of the present application is shown. During operation, the switch 116 may receive a join request for the multicast group 232 from the host 122. Since the switch 116 is the master switch, the system 150 may look up the multicast address of the multicast group 232 in the local ADS 202 of the system 150. If the lookup operation does not result in a match, the computing unit 154 may apply a selection mechanism for selecting an anchor for the multicast group 232. To this end, the computing unit 154 may first determine whether an initial selection process or a policy-based selection process should be applied based on the current load on the switches 116 and 118. The load may indicate the amount of multicast and / or unicast traffic on the switches 116 and 118. If the load on the individual switch is below a threshold, the computing unit 154 may select an anchor for the multicast group 232 based on a round-robin selection. The threshold may be indicated by a predefined value.
[0038] The computing unit 154 may apply a round-robin selection process on the switches 116 and 118 to select an anchor receiver (i.e., an anchor gateway switch). The computing unit 154 may also apply a round-robin selection process on the data centers 102 and 104 to select an anchor source. On the other hand, if the load is above the threshold, the computing unit 154 may determine the anchor by applying a policy-based selection using one or more parameters. For example, if the parameter is load, the computing unit 154 may compare the load on the switches 116 and 118 to select an anchor receiver, which load may include traffic volumes of multicast and / or unicast traffic. The computing unit 154 may also compare the corresponding traffic volumes from the data centers 102 and 104 to the site 120 to select an anchor source.
[0039] Assume that the computing unit 154 can determine the switch 116 and the data center 102 as the anchor for the multicast group 232 by applying a selection mechanism. The synchronization unit 152 can then send the selection information to the switch 118. Based on the distribution of this information, the corresponding gateway switch can know the anchor for the multicast group 232. Therefore, the systems 150 and 160 can store the selection information in the ADS 202 and 204, respectively. The corresponding entries of the ADS can map the multicast address of the multicast group 232 to the switch 116 and the data center 102. The switch 116 can be represented in the entry by one or more network addresses, such as a media access control (MAC) address and an Internet Protocol (IP) address of the switch 116. The data center 102 can be represented by one or more of the following: a data center identifier that uniquely identifies the data center 102 in the enterprise, an IP address associated with the data center 102, and a combination thereof. The IP address can be distributed to a source server (e.g., a streaming server) of the data center 102.
[0040] Subscribing unit 154 may then send a join request to data center 102 via network 110. Data center 102 may then receive the join request via switch 112. Based on the join request, data center 102 may send a multicast data stream for multicast group 232 to switch 116 via network 110. Switch 116 may then forward the multicast stream to host 122. If switch 118 receives a subsequent join request for multicast group 232 from another host 126, system 160 may look up the multicast address of multicast group 232 in ADS 204 and identify the anchor source as switch 116. Switch 118 may then forward the join request to switch 116. Upon receiving the join request, switch 116 may add host 126 to an outgoing list and begin forwarding the multicast stream to host 126. In this way, for site 120, the multicast stream associated with multicast group 232 can be forwarded from one anchor source (which can be data center 102) to one anchor receiver (which can be switch 116) even if multiple hosts send join requests to different gateway switches.
[0041] The master switch may use a selection mechanism to determine the anchor. The selection mechanism may include a combination of an initial selection process and a policy-based selection process. The initial selection process may be applied when there is not enough information available for the policy-based selection process. For example, if the policy-based selection process is based on the load on the anchor, the initial selection process may be a polling policy that may be applied before the multicast stream generates any load on the anchor. When the corresponding gateway switch receives at least one multicast stream, the policy-based selection process may be used to select the anchor. The policy-based selection process may also include one or more of the following: unicast traffic load from the data center, access rights, time of day, multicast application type, and user-based policies, which may include but are not limited to user location, user type, and user subscription preferences.
[0042] Figure 2B An example of a master gateway switch selecting a remote anchor source for distributing multicast traffic according to one aspect of the present application is shown. If the switch 118 receives a join request for the multicast group 234 from the host 126, the synchronization unit 162 can send the join request and associated network information (e.g., subscriptions, used unicast / multicast bandwidth, and health parameters) to the switch 116. Based on this information, the computing unit 154 can determine that the data center 102 should be the anchor source for the multicast group 234 and the switch 118 should be the anchor receiver for the multicast group 234. The synchronization unit 152 can then send the selection information to the switch 118 via a control message. The synchronization unit 162 can receive the control message and obtain the selection information. The system 160 can then store the information indicating the anchor in an entry in the ADS 204.
[0043] Based on the selection information received from the switch 116, the system 160 can also determine that the local switch 118 has been selected as an anchor receiver for the multicast group 234. Therefore, the subscription unit 166 can send a join request to the data center 102 via the network 110. The data center 102 can then receive the join request via the switch 112. Based on the join request, the data center 102 can send a multicast data stream for the multicast group 234 to the switch 118 via the network 110. The switch 118 can then forward the multicast stream to the host 126. In this way, the switch 116 can select another gateway switch 118 of the site 120 as an anchor receiver, which can then obtain the multicast stream from the anchor source.
[0044] Figure 3A An example of a gateway switch that facilitates high availability in response to a remote gateway switch being unavailable according to one aspect of the present application is shown. For multicast group 332, switch 116 may be an anchor receiver and data center 102 may be an anchor source. Host 122 may be a subscriber to the multicast stream of multicast group 332. Thus, upon receiving the multicast stream from data center 102, switch 116 may forward the multicast stream to host 122. Assume that switch 116 becomes unavailable due to event 302. Examples of event 302 may include, but are not limited to, link failure, node failure, scheduled unavailability (e.g., upgrade), deadlock buffer, and congestion level above a threshold (e.g., indicated by a buffer overflow). Due to event 302, switch 116 may no longer operate as an anchor subscriber for site 120 and may not be able to forward the multicast stream to host 122.
[0045] Switch 118 may use a detection mechanism to detect the unavailability of switch 116. The detection mechanism may be based on the exchange of periodic activity or heartbeat messages. If switch 118 does not receive a message from switch 116 within a predetermined number of times, switch 118 may determine that switch 116 is unavailable. System 160 may then identify the next master switch. If there are no other gateway switches at site 120, system 160 may determine that switch 118 is the next master switch. Therefore, system 160 may traverse ADS 204 to determine the multicast groups for which switch 116 is an anchor receiver. For example, system 160 may determine from ADS 204 that switch 116 and data center 102 are anchor receivers and anchor sources for multicast group 332. Since the current anchor receiver is not available for multicast group 332, system 160 may determine that switch 116 needs to take over as an anchor receiver.
[0046] System 160 may then update ADS 204 to indicate that switch 116 is an anchor receiver. Subscription unit 166 may then send a join request for multicast group 332 to data center 102, receive the multicast stream, and forward the multicast stream to host 122. Because switch 116 is unavailable, the data flow from switch 112 may be stopped based on the network protocol of network 110. When switch 116 recovers from event 302 and becomes available, system 150 may obtain ADS 204, obtain selection information for the corresponding multicast group, and regenerate ADS 202 based on the obtained information. At this point, switch 116 may not be an anchor receiver for any multicast stream. Since the load on switch 116 may be low, computing unit 154 may select switch 116 as an anchor receiver for subsequent join requests for unassigned multicast groups until the load is balanced with switch 118.
[0047] Figure 3B An example of a gateway switch that facilitates high availability in response to an anchor source being unavailable is shown in accordance with one aspect of the present application. For a multicast group 334, a switch 116 may be an anchor receiver and a data center 102 may be an anchor source. A host 122 may be a subscriber to a multicast stream of the multicast group 334. Thus, upon receiving the multicast stream from the data center 102, the switch 116 may forward the multicast stream to the host 122. Assume that the data center 102 becomes unavailable due to an event 304. The event 304 may be at the data center 102 or at a switch 112 via which the data center 102 is reachable. As a result of the event 304, the data center 102 may no longer operate as an anchor source for the site 120. The switch 116 may detect the unavailability of the data center 102 based on one or more network protocols (e.g., using a protocol timeout or keepalive method).
[0048] The system 150 may then traverse the ADS 202 to determine the multicast groups for which the data center 102 is an anchor source. For example, the system 150 may determine from the ADS 202 that the switch 116 and the data center 102 are the anchor receivers and anchor sources for the multicast group 334. Since the current anchor source is not available for the multicast group 334, the system 150 may select the data center 104 as the new anchor source. The system 150 may then update the ADS 202 to indicate that the data center 104 is the anchor source. The synchronization unit 152 may send the updated selection information to the switch 118. The subscription unit 156 may then send a join request for the multicast group 334 to the data center 104, receive the multicast stream, and forward the multicast stream to the host 122.
[0049] Figure 4AA flow chart illustrating a process of synchronizing multicast information with a remote gateway switch of a gateway switch according to one aspect of the present application is presented. During operation, the gateway switch can identify a remote gateway switch of a local site (operation 402). The gateway switch can then determine local multicast information, bandwidth utilization, and network parameters (e.g., health parameters) (operation 404). Subsequently, the gateway switch can synchronize the determined information with the remote gateway switch (operation 406).
[0050] Figure 4B A flow chart illustrating a process of determining an anchor source and an anchor receiver for a multicast group of a master gateway switch according to one aspect of the present application is presented. During operation, the gateway switch may receive a join request for a multicast group from a host or a remote gateway switch (operation 432). The gateway switch may determine whether to apply a policy-based selection (operation 434). If a policy-based selection is to be applied, the gateway switch may determine the current policy parameters (operation 436). The gateway switch may then apply a policy-based selection process based on the policy parameters to select an anchor source and an anchor receiver (operation 438). On the other hand, if a policy-based selection is not to be applied, the gateway switch may apply an initial selection process (e.g., a round-robin selection) to select an anchor source and an anchor receiver (operation 440).
[0051] The gateway switch may determine whether the local switch is selected as an anchor receiver (operation 442). If the local switch is selected as an anchor receiver, the gateway switch may send a join request to the anchor source (operation 444). If the local switch is not an anchor receiver (operation 442) or when sending a join request (operation 444), the gateway switch stores the selection information in the local ADS (operation 446). The gateway switch may then generate a control message including the selection information (operation 448) and send the control message to the corresponding remote gateway switch (operation 450).
[0052] Figure 4C A flow chart illustrating a process of processing a join request for a multicast group by a secondary gateway switch according to one aspect of the present application is presented. During operation, the gateway switch may receive a join request for a multicast group from a host (operation 462) and forward the join request to the primary gateway switch (operation 464). The gateway switch may then receive a control message including selection information associated with the multicast group (operation 466) and store the selection information in a local ADS (operation 468). The gateway switch may also determine whether the local switch is selected as an anchor receiver (operation 470). If the local switch is selected as an anchor receiver, the gateway switch may send a join request to the anchor source (operation 472).
[0053] Figure 5A A flow chart illustrating a process of facilitating high availability in response to a remote gateway switch being unavailable for a gateway switch according to one aspect of the present application is presented. During operation, the gateway switch may determine an unavailability associated with a remote gateway switch at a local site (operation 502). The gateway switch may then traverse a local ADS (operation 504) and determine a multicast group for which the remote gateway switch is selected as an anchor receiver (operation 506). The gateway switch may then send a join request to a corresponding anchor source (e.g., as indicated in the ADS) for the respective determined multicast group (operation 508). The gateway switch may also update the local ADS to indicate that the local switch is an anchor receiver for the determined multicast group (operation 510).
[0054] Figure 5B A flow chart showing a process of facilitating high availability in response to an anchor source being unavailable for a master gateway switch according to one aspect of the present application is presented. During operation, the gateway switch may determine an unavailability associated with a data center (operation 552), and determine a multicast group for which the data center is selected as an anchor source (operation 554). The gateway switch may then determine an alternative anchor source for the corresponding determined multicast group (operation 556), and update the local ADS to incorporate the updated selection information (operation 558).
[0055] The gateway switch may send join requests to the alternative anchor source(s) of the multicast group for which the local switch was selected as an anchor receiver (operation 560). The gateway switch may also send a control message including the updated selection information to the corresponding remote gateway switch (operation 560). This allows the corresponding remote gateway switch to identify the alternative anchor source(s) of the multicast group for which the remote gateway switch was selected as an anchor receiver. Accordingly, the remote gateway switch may send join requests for those multicast groups.
[0056] Figure 6An example of a switch that supports efficient distribution of source and receiver-anchored multicast services according to an embodiment of the present application is shown. In this example, the switch 600 includes multiple communication ports 602, a packet processor 610, and a storage device 650. The switch 600 may also include forwarding hardware 660 (e.g., processing hardware of the switch 600, such as its application-specific integrated circuit (ASIC) chip), which includes information based on which the switch 600 processes packets (e.g., determines the output port of the packet). The packet processor 610 extracts and processes header information from the received packet. The packet processor 610 can identify a switch identifier (e.g., a MAC address and / or an IP address) associated with the switch 600 in the header of the packet. The switch 600 may include a gateway logic block 640, which allows the switch 600 to operate as a gateway switch for a site of an enterprise.
[0057] The communication port 602 may include an inter-switch communication channel for communicating with other switches and / or user equipment. The communication channel may be implemented via a conventional communication port and based on any open or proprietary format. The communication port 602 may include one or more Ethernet ports capable of receiving frames encapsulated in an Ethernet header. The communication port 602 may also include one or more IP ports capable of receiving IP packets. The IP port may receive IP packets and may be configured with an IP address. The packet processor 610 may process Ethernet frames and / or IP packets. The corresponding ports in the communication port 602 may operate as ingress ports and / or egress ports.
[0058] The switch 600 may maintain a database 652 (e.g., in a storage device 650). The database 652 may be a relational database and may run on one or more DBMS instances. The database 652 may store information associated with routing and configuration associated with the switch 600. For example, the database 652 may maintain a copy of a multicast cache and an ADS instance. The switch 600 may include a multicast management logic block 630 that facilitates selecting an anchor for a corresponding multicast group. The multicast management logic block 630 may include a synchronization logic block 632, a calculation logic block 634, a subscription logic block 636, and a recovery logic block 638.
[0059] The synchronization logic block 632 can share the selection information with other gateway switches of the local site. The synchronization logic block 632 can also determine which gateway switch is the master switch. In addition, if the switch 600 is not the master switch, the synchronization logic block 632 can send the join request and associated information received from the local host to the master switch. The calculation logic block 634 can determine the anchor source and anchor receiver for the corresponding multicast group. The subscription logic block 636 can determine whether the switch 600 is selected as an anchor receiver, and if selected, a join request can be sent to the anchor source. The recovery logic block 638 can take over as the anchor source of the multicast group for which the unavailable gateway switch has previously been selected.
[0060] The description herein is intended to enable any person skilled in the art to make and use the invention, and is provided in the context of a specific application and its requirements. Various modifications to the disclosed examples will be clear to those skilled in the art, and the general principles defined herein may be applied to other examples and applications without departing from the spirit and scope of the invention. Therefore, the present invention is not limited to the examples shown, but should be given the widest scope consistent with the claims.
[0061] One aspect of the present technology may provide a system for facilitating efficient multicast service distribution in a network including multiple gateway switches. During operation, the system may receive a join request for a first multicast group. The system may select a first data center from multiple data centers as the source of a first multicast stream of a first multicast group based on a source selection mechanism. Here, the corresponding data center may provide a first multicast stream. The system may also select a first gateway switch for receiving the first multicast stream from multiple gateway switches based on a receiver selection mechanism. The system may then send a control message to a remote gateway switch, the control message including information indicating the selection of a source and a receiver for the first multicast stream. The control message may notify the first gateway switch to request the first stream from the first data center.
[0062] In one variation of this aspect, the join request may be received from one of: a host coupled to a port of the gateway switch, and a remote gateway switch.
[0063] In further variations, if a join request is received from a remote gateway switch, the system may also receive information indicating multicast subscriptions, bandwidth utilization, and health parameters associated with the remote gateway switch.
[0064] In a variation of this aspect, the system may determine whether the local switch is a first gateway switch. If the local switch is the first gateway switch, the system may send a join request for the first multicast group to the first data center.
[0065] In a variation of this aspect, the corresponding selection mechanism may include an initial selection process and a policy-based selection process. Here, the policy-based selection process is applied based on a set of policy parameters.
[0066] In another variation, the system can determine whether to apply a policy-based selection process by comparing a first parameter in the policy parameters to a threshold value. If the first parameter is less than the threshold value, the system can apply an initial selection process. On the other hand, if the first parameter reaches the threshold value, the system can apply a policy-based selection process.
[0067] In a variation of this aspect, upon receiving a subsequent join request for the first multicast group, the system may provide the subsequent join request to the first gateway switch.
[0068] In a variation of this aspect, the system may store information indicating the selection of the source and receiver of the first multicast stream in an entry of the anchor data structure.The entry may also include a multicast address of the first multicast group.
[0069] In a variation of this aspect, upon determining that the first gateway switch is unavailable, the system can identify the first data center as a source of a first multicast stream of the first multicast group. The system can then send a join request for the first multicast group to the first data center.
[0070] In a variation of this aspect, upon receiving a second join request for a second multicast group, the system may select a second data center from a plurality of data centers as a source of a second broadcast stream of the second multicast group based on a receiver selection mechanism. The system may also select a second gateway switch from a plurality of gateway switches for receiving the second multicast stream based on the receiver selection mechanism.
[0071] The data structures and codes described in this detailed description are typically stored on a computer-readable storage medium, which can be any device or medium capable of storing code and / or data for use by a computer system. Computer-readable storage media include, but are not limited to, flip-flops, latches, registers, volatile memory, non-volatile memory, magnetic and optical storage devices (such as disks, tapes, CDs (compact disks), DVDs (digital versatile disks or digital video disks)), or other media capable of storing computer-readable media now known or later developed.
[0072] The methods and processes described in the detailed description section can be implemented as code and / or data, which can be stored in a computer-readable storage medium as described above. When a computer system reads and executes the code and / or data stored on a computer-readable storage medium, the computer system executes the methods and processes implemented as data structures and code and stored in the computer-readable storage medium.
[0073] The methods and processes described herein may be performed by and / or included in hardware modules or devices. These modules or devices may include, but are not limited to, application specific integrated circuit (ASIC) chips, field programmable gate arrays (FPGAs), dedicated or shared processors that execute specific software modules or codes at specific times, and / or other programmable logic devices now known or later developed. When the hardware modules or devices are activated, they execute the methods and processes included therein.
[0074] The above description of examples of the present invention is presented only for illustration and description purposes. They are not intended to be exhaustive or limit the present disclosure. Therefore, many modifications and variations will be clear to those skilled in the art. The scope of the present invention is defined by the appended claims.
Claims
1. A method, include: receiving, by a gateway switch of a network, a join request for a first multicast group, wherein the network comprises: a plurality of gateway switches including the gateway switch; The gateway switch selects, based on a source selection mechanism, a first data center from a plurality of data centers as a source of a first multicast stream of the first multicast group, wherein the corresponding data center provides the first multicast stream; The gateway switch selects, based on a receiver selection mechanism, a first gateway switch from the plurality of gateway switches in the network for receiving the first multicast stream; and A control message is sent by the gateway switch to a corresponding another gateway switch among the plurality of gateway switches, the control message including information indicating the selection of the source and receiver of the first multicast flow, wherein the control message notifies the first gateway switch to request the first flow from the first data center.
2. The method of claim 1, wherein the join request is received from one of: a host coupled to a port of the gateway switch; and Remote gateway switch.
3. The method of claim 2, wherein in response to the join request being received from the remote gateway switch, the method further include: Information indicative of multicast subscriptions, bandwidth utilization, and health parameters associated with the remote gateway switch is received at the gateway switch along with the join request.
4. The method according to claim 1, further comprising: include: Determining whether the gateway switch is the first gateway switch; as well as In response to the gateway switch being the first gateway switch, sending the join request for the first multicast group to the first data center.
5. The method according to claim 1, wherein the corresponding selection mechanism include: An initial selection process and a policy-based selection process, wherein the policy-based selection process is applied based on a set of policy parameters.
6. The method according to claim 5, further comprising: include: determining whether to apply the policy-based selection process by comparing a first parameter of the policy parameters with a threshold; In response to the first parameter being less than the threshold, applying the initial selection process; as well as In response to the first parameter reaching the threshold, the policy-based selection process is applied.
7. The method of claim 1, wherein in response to receiving a subsequent join request for the first multicast group, the method further include: The subsequent join request is provided to the first gateway switch.
8. The method according to claim 1, further comprising: include: The information indicating the selection of the source and receiver of the first multicast flow is stored by the gateway switch in an entry of an anchor data structure, wherein the entry also includes a multicast address of the first multicast group.
9. The method of claim 1, wherein in response to determining that the first gateway switch is unavailable, the method further include: identifying the first data center as the source of the first multicast flow for the first multicast group; as well as The gateway switch sends a join request for the first multicast group to the first data center.
10. The method of claim 1, wherein in response to receiving a second join request for a second multicast group, the method further include: selecting, by the gateway switch based on the receiver selection mechanism, a second data center from the plurality of data centers as a source of a second multicast flow of the second multicast group; as well as The gateway switch selects a second gateway switch for receiving the second multicast stream from the plurality of gateway switches based on the receiver selection mechanism.
11. A non-transitory computer-readable storage medium storing instructions, which when executed by a gateway switch of a network causes the gateway switch to perform a method, the method include: receiving a join request for a first multicast group, wherein the network comprises: a plurality of gateway switches including the gateway switch; selecting, based on a source selection mechanism, a first data center from a plurality of data centers as a source of a first multicast stream of the first multicast group, wherein the corresponding data center provides the first multicast stream; selecting, based on a receiver selection mechanism, a first gateway switch from the plurality of gateway switches in the network for receiving the first multicast stream; and A control message is sent to a corresponding another gateway switch of the plurality of gateway switches, the control message including information indicating the selection of the source and receiver of the first multicast flow, wherein the control message notifies the first gateway switch to request the first flow from the first data center.
12. The non-transitory computer-readable storage medium of claim 11, wherein the join request is received from one of: a host coupled to a port of the gateway switch; and Remote gateway switch.
13. The non-transitory computer-readable storage medium of claim 12, wherein in response to the join request being received from the remote gateway switch, the method further include: Information indicative of multicast subscriptions, bandwidth utilization, and health parameters associated with the remote gateway switch is received at the gateway switch along with the join request.
14. The non-transitory computer readable storage medium of claim 11, wherein the method further include: Determining whether the gateway switch is the first gateway switch; as well as In response to the gateway switch being the first gateway switch, sending the join request for the first multicast group to the first data center.
15. The non-transitory computer readable storage medium of claim 11, wherein the corresponding selection mechanism include: An initial selection process and a policy-based selection process, wherein the policy-based selection process is applied based on a set of policy parameters.
16. The non-transitory computer readable storage medium of claim 15, wherein the method further include: determining whether to apply the policy-based selection process by comparing a first parameter of the policy parameters with a threshold; In response to the first parameter being less than the threshold, applying the initial selection process; as well as In response to the first parameter reaching the threshold, the policy-based selection process is applied.
17. The non-transitory computer-readable storage medium of claim 11, wherein in response to receiving a subsequent join request for the first multicast group, the method further include: The subsequent join request is provided to the first gateway switch.
18. The non-transitory computer readable storage medium of claim 11, wherein the method further include: The information indicative of the selection of the source and receivers of the first multicast stream is stored in an entry of an anchor data structure, wherein the entry also includes a multicast address of the first multicast group.
19. The non-transitory computer-readable storage medium of claim 11, wherein in response to determining that the first gateway switch is unavailable, the method further include: identifying the first data center as the source of the first multicast flow for the first multicast group; as well as The gateway switch sends a join request for the first multicast group to the first data center.
20. A computer system, include: Processing circuit system; Forwarding hardware; a gateway logic block for operating the computer system as a gateway switch of a network, wherein the network includes a plurality of gateway switches; a packet processor configured to receive a join request for a first multicast group, wherein the network comprises: a plurality of gateway switches including the gateway switch; Multicast management logic block for: Based on a source selection mechanism, selecting a first data center from a plurality of data centers as a source of a first multicast stream of the first multicast group, wherein the corresponding data center provides the first multicast stream; and selecting, based on a receiver selection mechanism, a first gateway switch from the plurality of gateway switches in the network for receiving the first multicast stream; and A control message is sent to a corresponding another gateway switch of the plurality of gateway switches, the control message including information indicating the selection of the source and receiver of the first multicast flow, wherein the control message notifies the first gateway switch to request the first flow from the first data center.
