# US 10,958,723 B2 · Cloud-end data multicast method and system, and computer device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,958,723 B2
- Document ID: US10958723B2
- Status: Granted
- Kind: B2
- Application number: 16/240,252
- Filed: 2019-01-04
- Published: 2019-05-09
- Granted: 2021-03-23
- Earliest claimed: 2016-07-13
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Yiwen Zhang; Kang Chen; Yaofu Liu
- Web page: https://patentgrep.com/patent/US10958723B2

## CPC

- H04L 12/185: {with management of multicast group membership}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- H04L 45/02: Topology update or discovery
- H04L 45/16: Multipoint routing
- H04L 45/48: Routing tree calculation
- H04L 47/806: {Broadcast or multicast traffic}
- H04L 49/201: Multicast operation; Broadcast operation
- H04L 61/5069: for group communication, multicast communication or broadcast communication
- H04L 67/1044: {Group management mechanisms (management of multicast group membership H04L12/185; reconfiguring of node membership in a computing system to eliminate errors G06F11/1425)}
- H04L 12/1877: {Measures taken prior to transmission}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A cloud-end data multicast method includes: obtaining a multicast packet, the multicast packet carrying a tenant identifier, a destination address, and a source address; and searching for a multicast group according to the tenant identifier and the destination address. The multicast group includes multicast members. The method also includes obtaining routes corresponding to the multicast members; generating a routing tree according to the routes corresponding to multicast members; and obtaining member addresses corresponding to the multicast members. The method also includes obtaining an address list containing addresses of target members that are identified to receive the multicast packet by performing address filtering according to the source address and the member addresses; encapsulating the multicast packet; and delivering the encapsulated multicast packet to the target members according to the address list and the routing tree.

## Claims

### Claim 1

A cloud-end data multicast method, comprising:
obtaining a multicast packet, the multicast packet carrying a tenant identifier, a host computer address, and a source address;
searching for a multicast group according to the tenant identifier and the host computer address, the multicast group including multicast members;
generating a host computer routing tree and a multicast group routing tree according to the multicast members, wherein the host computer routing tree includes the tenant identifier identifying a root node, one of the multicast members as a primary sub-node, and the host computer address as a secondary sub-node, and wherein the multicast group routing tree includes the tenant identifier identifying a root node and the host computer address as a primary sub-node;
obtaining member addresses corresponding to the multicast members;
obtaining an address list containing addresses of target members that are identified to receive the multicast packet by performing address filtering according to the source address and the member addresses;
encapsulating the multicast packet to obtain an encapsulated multicast packet; and
delivering the encapsulated multicast packet to the target members according to the address list, the host computer routing tree, and the multicast group routing tree.

### Claim 2 (depends on 1)

The method according to claim 1, after generating the routing tree according to the multicast members, the method further comprising:
traversing nodes of the host computer routing tree;
obtaining an increment change message of the host computer routing tree; and
updating the multicast group routing tree according to the increment change message of the host computer routing tree.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
obtaining a routing tree topological structure and a routing tree data structure used by a data plane;
writing the host computer routing tree and the multicast group routing tree into the routing tree data structure according to the routing tree topological structure to obtain an updated multicast group routing tree;
reading the updated multicast group routing tree; and
completing a route updating by writing the updated multicast group routing tree into the routing tree data structure.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the performing address filtering according to the source address and the member addresses comprises:
obtaining report packets corresponding to the multicast members, each report packet carrying a member address of the multicast member, source addresses, and filtering manners corresponding to the source addresses; and
obtaining the address list by filtering the member addresses of the multicast members based on filtering manners according to the source addresses and the member addresses of the multicast members.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the filtering manners include a first filtering manner and a second filtering manner, and the filtering the member addresses comprises:
obtaining a first filtering list corresponding to multicast members having the first filtering manner;
traversing the first filtering list and determining whether a member address in the first filtering list is the same as a source address;
duplicating subordinate multicast members to a first temporary list upon determining a member address in the first filtering list is the same as the source address;
obtaining a second filtering list corresponding to the second filtering manner;
traversing the second filtering list and determining whether a member address in the second filtering list is the same as a source address;
deleting a host computer corresponding to a second multicast member from the second temporary list upon determining a member address in the second filtering list is the same as a source address; and
combining the first temporary list and the second temporary list to obtain the address list of the target members.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
deleting the multicast group; and
creating a second multicast group according to the tenant identifier, the host computer address, and the source address.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the host computer address is provided with first, second, and third source address filtering manners, wherein in the first source address filtering manner, only a multicast packet from a specified multicast source is received into the multicast group, wherein in the second source address, only a multicast packet other than from a specified multicast source is received into the multicast group, and wherein in the third source address filtering manner, arrival or departure of any of the multicast members is reported.

### Claim 8 (depends on 1)

The method according to claim 1, wherein generating the host computer routing tree and the multicast group routing tree according to the multicast members comprises:
obtaining a report packet from one of the multicast members, wherein a package head of the report packet includes the host computer address and a package body of the report packet includes the source address; and
generating the host computer routing tree and the multicast group routing tree according to the multicast members and the report packet.

### Claim 9

A cloud-end data multicast system, comprising: a memory and a processor coupled to the memory, the processor being configured to perform:
obtaining a multicast packet, the multicast packet carrying a tenant identifier, a host computer address, and a source address;
searching for a multicast group according to the tenant identifier and the host computer address, the multicast group including multicast members;
generating a host computer routing tree and a multicast group routing tree according to the multicast members, wherein the host computer routing tree includes the tenant identifier identifying a root node, one of the multicast members as a primary sub-node, and the host computer address as a secondary sub-node, and wherein the multicast group routing tree includes the tenant identifier identifying a root node and the host computer address as a primary sub-node;
obtaining member addresses corresponding to the multicast members;
obtaining an address list containing addresses of target members that are identified to receive the multicast packet by performing address filtering according to the source address and the member addresses;
encapsulating the multicast packet to obtain an encapsulated multicast packet, and send; and
delivering the encapsulated multicast packet to the target members according to the address list, the host computer routing tree, and the multicast group routing tree.

### Claim 10 (depends on 9)

The system according to claim 9, wherein the processor is further configured to perform:
obtaining report packets returned by the multicast members; and
generating the host computer routing tree and the multicast group routing tree according to the multicast members and the report packets.

### Claim 11 (depends on 9)

The system according to claim 9, wherein the processor is further configured to perform:
traversing nodes of the host computer routing tree;
obtaining an increment change message of the host computer routing tree; and
updating the multicast group routing tree according to the increment change message of the host computer routing tree.

### Claim 12 (depends on 9)

The system according to claim 9, wherein the processor is further configured to perform:
obtaining a routing tree topological structure and a routing tree data structure used by a data plane;
writing the host computer routing tree and the multicast group routing tree into the routing tree data structure according to the routing tree topological structure to obtain an updated multicast group routing tree;
reading the updated multicast group routing tree; and
completing a route updating by the updated multicast group routing tree into the routing tree data structure.

### Claim 13 (depends on 9)

The system according to claim 9, wherein the processor is further configured to perform:
obtaining report packets corresponding to the multicast members, each report packet carrying a member address of the multicast member, source addresses, and filtering manners corresponding to the source addresses; and
obtaining the address list by filtering the member addresses of the multicast members based on source address filtering manners according to the source addresses and the member addresses of the multicast members.

### Claim 14 (depends on 13)

The system according to claim 13, wherein the processor is further configured to perform:
obtaining a first filtering list corresponding to multicast members having the first filtering manner;
traversing the first filtering list and determine whether a member address in the first filtering list is the same as a source address;
duplicating subordinate multicast members to a first temporary list upon determining a member address in the first filtering list is the same as a source address;
obtaining a second filtering list corresponding to the second filtering manner;
traversing the second filtering list and determine whether a member address in the second filtering list is the same as a source address;
deleting a host computer corresponding to a second multicast member from the second temporary list upon determining a member address in the second filtering list is the same as a source address; and
combining the first temporary list and the second temporary list to obtain the address list of the target members.

### Claim 15 (depends on 9)

The system according to claim 9, wherein the processor is further configured to perform:
deleting the multicast group; and
creating a second multicast group according to the tenant identifier, the host computer address, and the source address.

### Claim 16

A non-transitory storage medium storing computer readable instructions, when being executed by one or more processors, the computer readable instructions cause the one or more processors to perform:
obtaining a multicast packet, the multicast packet carrying a tenant identifier, a host computer address, and a source address;
searching for a multicast group according to the tenant identifier and the host computer address, the multicast group including multicast members;
generating a host computer routing tree and a multicast group routing tree according to the multicast members, wherein the host computer routing tree includes the tenant identifier identifying a root node, one of the multicast members as a primary sub-node, and the host computer address as a secondary sub-node, and wherein the multicast group routing tree includes the tenant identifier identifying a root node and the host computer address as a primary sub-node;
obtaining member addresses corresponding to the multicast members;
obtaining an address list containing addresses of target members that are identified to receive the multicast packet by performing address filtering according to the source address and the member addresses;
encapsulating the multicast packet to obtain an encapsulated multicast packet; and
delivering the encapsulated multicast packet to the target members according to the address list, the host computer routing tree, and the multicast group routing tree.

### Claim 17 (depends on 16)

The storage medium according to claim 16, wherein the computer readable instructions further cause the one or more processors to perform:
traversing nodes of the host computer routing tree;
obtaining an increment change message of the host computer routing tree; and
updating the multicast group routing tree according to the increment change message of the host computer routing tree.

### Claim 18 (depends on 16)

The storage medium according to claim 16, wherein the computer readable instructions further cause the one or more processors to perform:
obtaining a routing tree topological structure and a routing tree data structure used by a data plane;
writing the host computer routing tree and the multicast group routing tree into the routing tree data structure according to the routing tree topological structure to obtain an updated multicast group routing tree;
reading the updated multicast group routing tree; and
completing a route updating by writing the updated multicast group routing tree into the routing tree data structure.

### Claim 19 (depends on 16)

The storage medium according to claim 16, wherein the computer readable instructions further cause the one or more processors to perform:
obtaining report packets corresponding to the multicast members, each report packet carrying a member address of the multicast member, source addresses, and filtering manners corresponding to the source addresses; and
obtaining the address list by filtering the member addresses of the multicast members based on filtering manners according to the source addresses and the member addresses of the multicast members.

### Claim 20 (depends on 19)

The storage medium according to claim 19, wherein the filtering manners include a first filtering manner and a second filtering manner, and the computer readable instructions further cause the one or more processors to perform:
obtaining a first filtering list corresponding to multicast members having the first filtering manner;
traversing the first filtering list and determining whether a member address in the first filtering list is the same as a source address included in the report packet of the multicast member having the member address;
duplicating subordinate multicast members to a first temporary list upon determining a member address in the first filtering list is the same as the source address;
obtaining a second filtering list corresponding to the second filtering manner;
traversing the second filtering list and determining whether a member address in the second filtering list is the same as a source address;
deleting a host computer corresponding to a second multicast member from the second temporary list upon determining a member address in the second filtering list is the same as a source address; and
combining the first temporary list and the second temporary list to obtain the address list of the target members.
