Method of GMRP (garp multicast registration protocol) compatible with IGMP (internet group management protocol) video on demand client

The invention discloses a method of GMRP (garp multicast registration protocol) compatible with IGMP (internet group management protocol) video on a demand client, comprising the following steps: IGMP message is processed by an IGMP agent module; the IGMP agent module transforms the received IGMP message into GMRPJoin message or GMRP Leave message and transmits to the GMRP module to be processed; when the GMRP module transmits GMRPLeaveAll message, the message is copied to be sent to the GMRP; the GMRP agent module transforms the message into IGMP Query message to send to the client; the GMRP module sends the GMRP message outwards according to the received GMRP message and the state of a current state machine. The invention is additionally provided with the lightweight IGMP agent module, overcomes the defect that the traditional GMRP is not compatible with the IGMP video on demand client, and enables the GMRP to be applied to a multicast environment provided with a video on demand client which supports IGMP or GMRP simultaneously.