# US 2009/0245255 A1 · Multicast method and apparatus

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

- Number: US 2009/0245255 A1
- Document ID: US20090245255A1
- Status: Published application
- Kind: A1
- Application number: 12/481,036
- Filed: 2009-06-09
- Published: 2009-10-01
- Earliest claimed: 2007-05-10
- Inventors: Wei Cao; Jian Li; Enhui Liu
- Web page: https://patentgrep.com/patent/US20090245255A1

## CPC

- H04L 12/1886: {with traffic restrictions for efficiency improvement, e.g. involving subnets or subdomains}
- H04L 45/00: Routing or path finding of packets in data switching networks (routing or path finding in wireless networks H04W40/00)
- H04L 45/16: Multipoint routing
- H04L 45/50: using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A multicast method and a multicast apparatus are disclosed. The multicast method includes: retaining the multicast forwarding subtree and forbidding to forward multicast data through the multicast forwarding subtree when the created multicast forwarding subtree does not need to forward any data; and forwarding the multicast data through the multicast forwarding subtree when the created multicast forwarding subtree needs to forward data.

## Claims

### Claim 1

A multicast method, comprising:
retaining, when the created multicast forwarding subtree does not need to forward any data, a created multicast forwarding subtree and forbidding to forward multicast data through the multicast forwarding subtree; and
forwarding, when the created multicast forwarding subtree needs to forward data, the multicast data through the multicast forwarding subtree.

### Claim 2 (depends on 1)

The method of claim 1, wherein
the retaining, when the created multicast forwarding subtree does not need to forward any data, the created multicast forwarding subtree and forbidding to forward the multicast data through the multicast forwarding subtree comprises:
setting, when the created multicast forwarding subtree does not need to forward any data, the multicast forwarding subtree to a state of not forwarding the multicast data; and
the forwarding, when the created multicast forwarding subtree needs to forward data, of the multicast data through the multicast forwarding subtree comprises:
changing, when the created multicast forwarding subtree needs to forward data, the multicast forwarding subtree from the state of not forwarding the multicast data to a state of forwarding the multicast data, and
forwarding the multicast data.

### Claim 3 (depends on 1)

The multicast method of claim 1, wherein, when a leaf router or a root node router in the multicast forwarding subtree fulfills preset quit conditions, the created multicast forwarding subtree does not need to forward any data.

### Claim 4 (depends on 1)

The multicast method of claim 1, wherein the forbidding of forwarding the multicast data through the multicast forwarding subtree comprises:
receiving, by a first router in the multicast forwarding subtree, a state changeover request from a second router in the multicast forwarding subtree; and
setting, by the first router, a state of an egress interface of a corresponding downstream branch of the multicast forwarding subtree to a state of not forwarding data.

### Claim 5 (depends on 1)

The multicast method of claim 1, wherein, when a leaf router or a root node router in the multicast forwarding subtree needs to receive the multicast data, the created multicast forwarding subtree needs to forward the data.

### Claim 6 (depends on 1)

The multicast method of claim 1, wherein the forwarding of the multicast data through the multicast forwarding subtree comprises:
receiving, by a first router in the multicast forwarding subtree, a multicast data forwarding request sent by a second router in the multicast forwarding subtree;
setting, by the first router, a state of an egress interface of a corresponding downstream branch of the multicast forwarding subtree to a state of forwarding data; and
forwarding the multicast data to the egress interface.

### Claim 7 (depends on 1)

The multicast method of claim 1, further comprising:
creating the multicast forwarding subtree.

### Claim 8 (depends on 7)

The multicast method of claim 7, further comprising:
setting the multicast forwarding subtree to be in the state of not forwarding the multicast data in the process of creating the multicast forwarding subtree.

### Claim 9 (depends on 8)

The multicast method of claim 8, wherein:
the creating of the multicast forwarding subtree is performed after a router compliant with preset join conditions sends a request of creating the multicast forwarding subtree.

### Claim 10 (depends on 9)

The multicast method of claim 9, wherein the setting of the multicast forwarding subtree to be in the state of not forwarding the multicast data comprises:
setting, by a router that receives the request of creating the multicast forwarding subtree, the state of the egress interface of the corresponding downstream branch of the multicast forwarding subtree to the state of not forwarding data.

### Claim 11

A multicast apparatus, comprising:
a multicast data storing module configured to store multicast data;
a forwarding path module configured to store a forwarding path corresponding to a multicast forwarding subtree;
a state control module configured to
determine whether the multicast forwarding subtree needs to forward data,
if no data needs to be forwarded, set the multicast forwarding subtree to be in a state of not forwarding the multicast data, and send a stop-forwarding command to a forwarding module;
if data needs to be forwarded, set the multicast forwarding subtree to be in a state of forwarding the multicast data, and send a forwarding command to a forwarding module; and
the forwarding module configured to perform one of (a) stopping forwarding the multicast data according to the stop-forwarding command from the state control module; or (b) forwarding the multicast data from the multicast data storing module according to the forwarding command from the state control module and the forwarding path from the forwarding path module.

### Claim 12 (depends on 11)

The multicast apparatus of claim 11, further comprising:
a receiving module configured to receive a multicast data forwarding request or state changeover request from a downstream apparatus or upstream apparatus, and send the multicast data forwarding request or state changeover request to the state control module, wherein:
the state control module is configured to: (a) determine that the apparatus needs to forward the data according to the multicast data forwarding request, set the apparatus to be in the state of forwarding the multicast data, and send the forwarding command to the forwarding module; or (b) determine that the apparatus does not need to forward the data according to the state changeover request, set the apparatus to be in the state of not forwarding the multicast data, and send the stop-forwarding command to the forwarding module.

### Claim 13 (depends on 12)

The multicast apparatus of claim 12, wherein:
the receiving module is further configured to: receive a request of creating the multicast forwarding subtree from the downstream apparatus or upstream apparatus, and send the request of creating the multicast forwarding subtree to the forwarding path module; and
the forwarding path module is configured to create the forwarding path corresponding to the multicast forwarding subtree according to the request of creating the multicast forwarding subtree from the receiving module.
