摘要 |
The present invention relates to the Internet field, and discloses a method and a device for maintaining a multicast group member. The method includes: sending a query message to a switch at intervals of a preset period, so that the switch sends the query message to each multicast group member included in a multicast group; acquiring a count value of current period query responses received by the switch in a current period; and maintaining, according to the count value of current period query responses and a count value of previous period query responses, the multicast group member included in the multicast group. The device includes: a first sending module, an acquiring module, and a maintenance module. In the present invention, a multicast group member is maintained by using a flow table maintained in a switch, which decreases load of a controller, and improves processing efficiency of maintaining, by the controller, the multicast group member. |