WO2008077321A1 - Procédé d'implémentation, système et dispositif de surveillance de trafic de protocole de gestion de groupe internet (igmp) - Google Patents
Procédé d'implémentation, système et dispositif de surveillance de trafic de protocole de gestion de groupe internet (igmp) Download PDFInfo
- Publication number
- WO2008077321A1 WO2008077321A1 PCT/CN2007/070678 CN2007070678W WO2008077321A1 WO 2008077321 A1 WO2008077321 A1 WO 2008077321A1 CN 2007070678 W CN2007070678 W CN 2007070678W WO 2008077321 A1 WO2008077321 A1 WO 2008077321A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- multicast
- user
- vlan
- vlan tag
- access device
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/185—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
Definitions
- the present invention relates to a message transmission technology in the Internet, and in particular, to an Internet Group Management Protocol Listening (IGMP Snooping) implementation method, system, and apparatus.
- IGMP Snooping Internet Group Management Protocol Listening
- the user-side access device needs to copy the packet to the same number as the member under the switch, and then to each The switch forwards the packet, so that the packet is sent to some switches that do not need multicast packets, and cannot be transmitted on demand.
- the IGMP snooping technology solves this problem.
- the network-side device sends a membership query message to the switch according to the set query period. If the network-side device detects the feedback of the member query message sent by the switch within the set query period. If the member relationship query report is used, the switch considers that the switch includes multicast group members.
- FIG 1 shows the application scenario of the IGMP snooping technology.
- the solid line connection is the link and the dotted arrow is the multicast packet flow.
- the first switch has two multicast group members, and the user access device transmits multicast packets to the first.
- the switch is then transmitted to the two multicast group members by the first switch. Since there is no multicast group member under the second switch, the second switch does not obtain the transmitted multicast packet, and implements on-demand transmission.
- the QinQ protocol is an 802.1Q-based tunneling protocol.
- the main purpose of the proposed QinQ protocol is to solve the problem of increasing the number of virtual local area networks (VLANs) and reduce the number of VLANs on the service provider network.
- the core idea of the QinQ protocol is to assign a public network VLAN (Provider VLAN, P-VLAN) to each group user. When user packets in the group enter the service provider backbone network, they are reported for each user. In addition to the user network label (C-VLAN Tag), a new public network label (P-VLAN Tag) is added to each user packet, that is, the user packet carries the two-layer label through the service provider. Backbone network, this method of encapsulation can be called QinQ encapsulation.
- FIG. 2 shows the transmission of packets in a QinQ-based network.
- the QinQ-based network is called a QinQ network.
- the message is transmitted from the first user network 201 to the second user network 203 via the service provider backbone network 202.
- the packet uses only one layer of C-VLAN tag in the first user network 201.
- the service provider backbone network 202 passes, the packet is marked with the second layer P-VLAN tag and reaches the second user network.
- the multicast router communicates with the user-side access device through the QinQ network, and the user-side access device connects to the user network of different VLANs.
- IGMP Snooping technology is also applied to the QinQ network.
- a common technique is to implement IGMP Snooping on a multicast router. By listening to the member relationship query report sent by the switch, you can confirm which switches in the C-VLAN need to receive multicast packets.
- the multicast router receives the multicast. After the packet is received, the QinQ encapsulation is sent to the user-side access device. Send multiple multicast packets, and the number of multicast packets sent is equal to the number of multicast packets that need to be received.
- the access device strips the outer P-VLAN and forwards the multicast packet to the C-VLAN that needs the multicast packet according to the inner C-VLAN. All switches.
- the above-mentioned method of applying the multicast technology and the IGMP snooping technology in the QinQ network implements the on-demand distribution of multicast packets on the QinQ network, but the on-demand distribution is implemented based on the C-VLAN, when the two switches are located in the same C. -
- a VLAN if only one switch needs to send multicast packets, another switch that does not need multicast packets will receive multicast packets in this way, causing waste of network bandwidth on the user side and making multicast packets.
- the QinQ network multiple copies need to be replicated, and the network load is increased. When the number of C-VLANs is more than 4, traffic congestion and packet loss are likely to occur. Summary of the invention
- the embodiment of the present invention provides an implementation method of IGMP snooping, which can effectively use network bandwidth in a QinQ network to avoid traffic congestion and implement multicast message distribution on demand.
- the embodiment of the present invention provides an implementation system of IGMP snooping, which can effectively use network bandwidth in a QinQ network to avoid traffic congestion and implement multicast message distribution on demand.
- the embodiment of the present invention provides an apparatus for implementing IGMP Snooping, which can effectively use network bandwidth in a QinQ network, avoids traffic congestion, and implements on-demand distribution of multicast packets.
- the method for implementing IGMP snooping in the embodiment of the present invention in which the user-side access device maintains a C-VLAN including a public network label P-VLAN tag, a multicast group identifier group, and a user network label C-VLAN tag identifier.
- the method of the user equipment the method further includes: the user side access device receives the multicast packet that is sent by the network side device and carries the P-VLAN tag and the multicast group identifier;
- the user-side access device searches for P-VLANs in the multicast packet according to the corresponding relationship.
- the user-side access device replaces the P-VLAN tag in the multicast packet with the found C-VLAN tag and sends it to the C.
- the system for implementing IGMP snooping includes: a network side device, a user side access device, and a user equipment;
- the network side device sends the multicast packet carrying the P-VLAN tag and the multicast group identifier to the user-side access device through the QinQ network.
- the user-side access device is configured to maintain a correspondence between the group of the P-VLAN tag, the multicast group identifier, and the C-VLAN in the C-VLAN identified by the C-VLAN tag; After the P-VLAN tag is identified by the C-VLAN tag of the corresponding group, the P-VLAN tag in the multicast packet is replaced with the discovered C-VLAN tag. User equipment sent to the C-VLAN identified by the C-VLAN tag;
- the user equipment is configured to receive a multicast packet sent by the user side access device.
- the device for implementing IGMP Snooping includes a transceiver module, a parsing module and a storage module;
- the transceiver module is configured to receive the multicast packet carrying the P-VLAN tag and the multicast group identifier sent by the network side device, and transmit the packet to the parsing module; and the P-VLAN of the multicast packet according to the search result of the parsing module After the tag is replaced with a C-VLAN tag, it is sent to the user equipment in the C-VLAN identified by the C-VLAN tag.
- the parsing module is configured to receive the multicast packet transmitted by the transceiver module, and find, according to the P-VLAN tag and the multicast group identifier in the multicast packet, the P-VLAN tag and the multicast in the corresponding relationship stored by the storage module. Correspondence between the group identified by the group and the user equipment in the C-VLAN identified by the C-VLAN tag, and the result is obtained and sent to the transceiver module.
- the storage module is configured to store a group including a P-VLAN tag and a multicast group identifier. Correspondence between user devices in the C-VLAN identified by the C-VLAN tag.
- the IGMP Snooping method maintains a user equipment including a P-VLAN tag, a multicast group identifier, and a C-VLAN tag in the C-VLAN on the user-side access device.
- the network side device sends the multicast packet carrying the P-VLAN tag and the multicast group identifier to the user-side access device, and the user-side access device searches for the received multicast packet from the maintained correspondence relationship.
- the user equipment replaces the P-VLAN tag in the multicast packet with the C-VLAN tag that is found and sends it to the user equipment.
- the above method is used to send multicast packets to the user equipment that needs to receive multicast packets, effectively use network bandwidth, avoid traffic congestion, and implement multicast packet on-demand distribution.
- An IGMP Snooping system is provided in the embodiment of the present invention.
- the network side device in the system is configured to send the multicast packet carrying the P-VLAN tag and the multicast group identifier to the user-side access device through the QinQ network.
- the inbound device is used to maintain the mapping between the P-VLAN tag and the multicast group ID and the C-VLAN in the C-VLAN.
- the device After receiving the multicast packet, the device searches for the corresponding relationship.
- the user equipment that receives the multicast packet is used to replace the P-VLAN tag in the multicast packet with the C-VLAN tag of the user equipment that is found, and then sent to the user equipment.
- multicast packets are sent to the user equipments that need to receive multicast packets.
- the network bandwidth is effectively used to avoid traffic congestion.
- the multicast packets are distributed on demand.
- the device of the present invention provides an IGMP Snooping device, where the transceiver module is configured to receive a multicast packet carrying a P-VLAN tag and a multicast group identifier sent by the user-side access device, and transmitting the packet to the parsing module;
- the P-VLAN tag of the multicast packet is replaced with the C-VLAN tag and sent to the user equipment in the C-VLAN identified by the C-VLAN tag.
- the parsing module in the device is configured to receive the multicast packet transmitted by the transceiver module, and find the P-VLAN tag in the correspondence stored in the storage module according to the P-VLAN tag and the multicast group identifier in the multicast packet.
- the storage module in the device is configured to store the correspondence between the group of the P-VLAN tag, the multicast group identifier, and the user equipment in the C-VLAN identified by the C-VLAN tag.
- Figure 1 is a schematic diagram of an application scenario of the IGMP snooping technology in the prior art
- Figure 2 is a schematic diagram of QinQ network transmission
- FIG. 3 is a schematic structural diagram of an implementation system of IGMP Snooping according to an embodiment of the present invention
- FIG. 4 is a schematic structural diagram of a multicast receiving table maintained by a user-side access device according to an embodiment of the present invention
- FIG. 5 is a flow chart of a preferred implementation manner of an implementation method of IGMP Snooping according to an embodiment of the present invention
- FIG. 6 is a flowchart of a preferred embodiment of a user-side access device maintaining a multicast receiving table in an implementation manner of IGMP snooping according to an embodiment of the present invention
- FIG. 7 is a flowchart of a method for implementing IGMP Snooping according to the system shown in FIG. 3 according to an embodiment of the present invention
- FIG. 8 is a schematic structural diagram of an apparatus for implementing IGMP Snooping according to an embodiment of the present invention.
- the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
- the embodiment of the present invention provides an implementation method of IGMP snooping, where the user-side access device maintains a C-VLAN including a P-VLAN tag, a group of a multicast group identifier, and a C-VLAN tag identifier.
- the network side device sends the multicast packets carrying the P-VLAN tag and the multicast group identifier to the user-side access device.
- the user-side access device is based on the P- in the multicast packet.
- the user ID of the C-VLAN identified by the C-VLAN tag that corresponds to the group containing the P-VLAN tag and the multicast group ID is the same as the user ID of the VLAN tag and the multicast group ID.
- the embodiment of the present invention provides an implementation system of the IGMP Snooping system, where the system includes a network side device, a user side access device, and a user equipment, and the network device is configured to carry the multicast packet carrying the P-VLAN tag and the multicast group identifier through the QinQ network.
- the user-side access device is configured to maintain the correspondence between the P-VLAN tag, the group of the multicast group identifier, and the user equipment in the C-VLAN identified by the C-VLAN tag, and obtain the information from the multicast packet.
- the P-VLAN tag and the multicast group ID are used to search for the user equipment in the C-VLAN of the C-VLAN tag that has the corresponding relationship between the P-VLAN tag and the multicast group ID.
- the P-VLAN tag in the broadcast packet is replaced with the C-VLAN tag and sent to the user equipment in the C-VLAN identified by the C-VLAN tag.
- the embodiment of the invention provides an apparatus for implementing IGMP Snooping, and the device comprises a transceiver module, a parsing module and a storage module.
- the transceiver module is configured to receive the multicast packet carrying the P-VLAN tag and the multicast group identifier sent by the network side device, and transmit the packet to the parsing module; and replace the P-VLAN tag of the multicast packet according to the search result of the parsing module After being a C-VLAN tag, it is sent to the user equipment in the C-VLAN identified by the C-VLAN tag.
- the parsing module is configured to receive the multicast packet transmitted by the transceiver module, and according to the P-VLAN tag and the multicast group identifier in the multicast packet, search for the P-VLAN tag and the multicast group identifier in the corresponding relationship stored by the storage module. Correspondence between the group and the user equipment in the C-VLAN identified by the C-VLAN tag.
- the storage module is configured to store a group including a P-VLAN tag, a multicast group identifier, and a C-VLAN tag identifier. Correspondence of user equipment in the C-VLAN.
- FIG. 3 is a schematic structural diagram of an implementation system of IGMP Snooping according to an embodiment of the present invention, where a solid line connection is a link connection, and a dotted arrow is a multicast packet flow direction.
- the system includes: a network side device 311, a user side access device 303, and a user device 312.
- the network side device 311 includes a multicast source 301 and a multicast router 302.
- the user equipment 312 includes a first switch 304, a second switch 305, a third switch 306, and a fourth switch 307.
- the first switch 304 and the second switch 305 are In the second VLAN 308, the third switch 306 and the fourth switch 307 are in the third VLAN 309.
- the multicast router 302 and the user-side access device 303 communicate through the first VLAN 310 based on the QinQ protocol, assuming that the label of the first VLAN is P-VLAN 1, and the label of the second VLAN 308 is C-VLAN 2, and the third VLAN 309 The label is C-VLAN 3.
- the multicast source 301 is configured to send the multicast packet carrying the multicast group identifier to the multicast router.
- the multicast router 302 is connected to the user-side access device 303, and sends the multicast packet to the user-side access device 303 through the first VLAN 310.
- the packet encapsulates a layer of P-VLAN tags, and the encapsulated multicast packet is sent to the user-side access device 303.
- the multicast router 302 adds a P-VALN tag to the multicast packet carrying the multicast group identifier, and then sends the multicast packet carrying the multicast group identifier and the P-VALN tag.
- the user side access device 303 is provided.
- the multicast router 302 sends a multicast packet through the first VLAN 310, and the P-VLAN tag that the multicast router 302 puts on the multicast packet is P-VLAN 1.
- the user side access device 303 and multicast router 302, first switch 304, and second exchange The machine 305, the third switch 306, and the fourth switch 307 are connected.
- the user side access device 303 has an IGMP Snooping function, and the user side access device 303 maintains a multicast receiving table, where the multicast receiving table includes a P-VLAN tag, a group of the multicast group identifier, and a C-VLAN tag.
- the corresponding port of the egress port where the egress port refers to the egress port of the user side access device 303 and the first switch 304, the second switch 305, the third switch 306, and the fourth switch 307.
- each of the multicast receiving tables includes a P-VLAN tag and a multicast group identifier.
- the group corresponds to one or more forwarding nodes.
- the forwarding node includes a C-VLAN tag and an egress port that need to receive multicast packets, and a node pointer in the multicast receiving table, which points to the first forwarding node of each group.
- the number of forwarding nodes identifies the number of forwarding nodes included in a group.
- the node pointer points to the next forwarding node until the node pointer points to an empty forwarding node, and the forwarding of the forwarding node in the group ends.
- the back node pointer jumps back to the first forwarding node of the group.
- the outbound ports of the user side access device 303 and the first switch 304, the second switch 305, the third switch 306, and the fourth switch 307 are respectively P0RT1, PORT2, PORT3, and PORT4, and the multicast text belongs to
- the multicast group identifier is G1.
- the multicast router 302 only sends the multicast packet to the user-side access device 303 through the first VLAN 310 labeled P-VLAN 1, so only the multicast receiving shown in FIG. 4 is used for forwarding.
- the user side access device 303 receives the multicast packet sent by the multicast router 302 through the first VLAN 310, and obtains the P-VLAN 1 and the multicast group G1 according to the group consisting of P-VLAN 1 and G1 in the multicast receiving table.
- the forwarding node sends the multicast message from PORT1 and PORT4 to the first switch 304 and the fourth switch 307 in sequence.
- the first switch 304, the second switch 305, the third switch 306, and the fourth switch 307 are respectively connected to the user-side access device 303, and are configured to receive the multicast packet sent by the user-side access device 303.
- the user side access device 303 maintains a multicast receiving table, and the user side access device can maintain the multicast receiving table in two ways.
- the first switch 304, the second switch 305, the third switch 306, and the fourth switch 307 may include: a user packet sending module and a multicast packet receiving module.
- the user message sending module is configured to send a message to the user side access device 303, where the sent message is a multicast group join message or a multicast group leave message.
- the multicast packet receiving module is configured to receive the multicast packet sent by the user-side access device.
- the multicast router 302 can include: a multicast source packet transceiver module and a user packet receiving module.
- the multicast source packet sending and receiving module is configured to receive the multicast packet sent by the multicast source, and encapsulate the P-VLAN tag for the multicast packet, and then send the packet to the user-side access device.
- the user message receiving module is configured to receive the message that the user equipment sends through the user side access device.
- the user side access device 303 maintains the multicast receiving table in the device by receiving the packet sent by the user packet sending module in each switch.
- the user-side access device 303 detects the multicast group join message sent by the switch, it searches for the P-VLAN in the multicast receiving table according to the C-VLAN tag carried in the packet and the multicast group ID to be added.
- the Tag and the group identified by the multicast group, and the forwarding node including the C-VLAN tag and the egress port of the switch is added to the group. If the user-side access device 303 does not find the P-VLAN tag in the multicast receiving table.
- the switch applying for joining the multicast group is the first switch to apply for joining the multicast group
- the user-side access device 303 is to the multicast router 302.
- the user packet receiving module sends the multicast group join message.
- the user side access device 303 adds a P- A VLAN tag, a group of the multicast group identifier, and a forwarding node corresponding to the user equipment that sends the multicast group join message is added to the group.
- the user side access device 303 detects the multicast group leaving message sent by the switch.
- the group that includes the P-VALN Tag and the multicast group identifier is searched in the multicast receiving table according to the C-VLAN tag of the packet and the multicast group identifier that the application leaves. In the group, the group is deleted after the search is complete.
- the forwarding node corresponding to the user equipment leaving the packet considers that the switch that sends the multicast group leaving the packet is the last switch that requests to leave the multicast group, and the user-side access device 303 first leaves the last application from the group.
- the forwarding node corresponding to the switch of the group is deleted, and the group including the P-VLAN tag and the multicast group identifier is deleted from the multicast receiving table, and finally the multicast packet is sent to the user packet receiving module in the multicast router 302.
- the message informs the multicast router 302 that the multicast group has left.
- the multicast router 302 may further include a query module, configured to send a query by sending a membership query message carrying a P-VLAN tag and a multicast group identifier, based on the structure of the first mode division. And receiving a membership relationship query report sent by each switch through the user side access device 303, where the membership relationship query report may be used by the first switch 304, the second switch 305, the third switch 306, and the fourth switch 307.
- the packet sending module sends the response as a membership query message.
- the user-side access device 303 receives the membership query report sent by the queried switch in the set query period, it considers that the queried device is still in the multicast group to which the queried device belongs, and the forwarding in the multicast receiving table is related to the switch. The relationship is unchanged. When there are multiple membership report reports received, one or more membership reports are sent to the group by suppressing the sending of these membership reports.
- the query module in the router 302 is configured to ensure the network bandwidth between the user-side access device 303 and the multicast router 302.
- the member relationship query report based on the C-VLAN tag and the outbound port identifier of the switch, finds the corresponding group including the P-VLAN tag and the multicast group identifier in the multicast receiving table, and queries the multicast group ID and membership relationship.
- the forwarding node including the C-VLAN tag and the egress port of the switch is deleted.
- a query device may be further configured on the network side to specifically initiate a membership query, and send a membership query message carrying a P-VLAN tag to the multicast router.
- the multicast router 302 After the multicast router 302 encapsulates the P-VLAN tag for the membership query message, the multicast relationship between the P-VLAN tag and the multicast group identifier is sent to the user-side access device 303.
- the multicast router 302 is configured to encapsulate a P-VLAN tag for the multicast packet, and the user-side access device 303 finds that the user needs to receive the multicast receiving table maintained by the device. After the P-VLAN tag of the multicast packet is replaced with the C-VLAN tag of the user device, the multicast packet is sent to the user equipment. In this way, the multicast router 302 does not need to copy the multicast packets to the same number of users as the user equipment in the C-VLAN, thereby reducing the traffic load on the QinQ network, saving network bandwidth, and realizing real-time on-demand distribution. .
- FIG. 5 is a flowchart of a preferred implementation manner of an IGMP snooping implementation method according to an embodiment of the present invention.
- a user-side access device maintains a group including a P-VLAN tag, a multicast group identifier, and a C-VLAN tag identifier.
- the process further includes:
- Step 501 The network side device will carry the multicast report of the P-VLAN tag and the multicast group identifier. The text is sent to the user side access device.
- the network-side device does not encapsulate the multicast packets in the QinQ mode.
- the multicast packets carrying the multicast group ID are marked with a single-layer P-VLAN tag and the group carrying the P-VLAN tag and the multicast group identifier.
- the broadcast message is sent to the user side access device.
- Step 502 The user-side access device searches for the C-type corresponding to the group including the P-VLAN tag and the multicast group identifier in the maintenance relationship according to the P-VLAN tag and the multicast group identifier carried in the multicast packet.
- Step 503 The user-side access device replaces the P-VLAN tag in the multicast packet with the C-VLAN tag found in the multicast packet, and sends the packet to the user equipment in the C-VLAN identified by the C-VLAN tag.
- the network side device only encapsulates the P-VLAN tag for the multicast packet, and the user-side access device finds the requirement by maintaining the corresponding relationship maintained by the device.
- the user equipment After receiving the multicast packet, the user equipment receives the P-VLAN tag of the multicast packet and sends the multicast packet to the user equipment.
- the network side device does not need to copy the multicast packets to the same number of users as the user equipment in the C-VLAN, thereby reducing the traffic load on the QinQ network, saving network bandwidth, and realizing real-time on-demand distribution.
- the user-side access device there are two methods for the user-side access device to maintain the correspondence between the P-VLAN tag, the multicast group identifier, and the C-VLAN in the C-VLAN identified by the C-VLAN tag:
- the corresponding relationship is maintained for different packet types by listening to the packets sent by the user equipment.
- There are two types of packets sent by the user equipment namely, the multicast group join message and the multicast group leave message.
- the second is the packet sent by the user equipment to the member-side query message initiated by the network-side device, that is, the member.
- the relationship query report maintains the corresponding relationship.
- FIG. 6 is a schematic diagram of a method for maintaining a correspondence between a group of a P-VLAN tag, a group of a multicast group identifier, and a user equipment in a C-VLAN identified by a C-VLAN tag. Flow chart, the process includes:
- Step 601 The user-side access device obtains the C-VLAN tag and the multicast group identifier from the packet sent by the user equipment, and when the multicast group joins the message, step 602 is performed, and the message is a multicast group leave message. If the message is a membership relationship report, step 608 is performed.
- Step 602 The user-side access device searches for a group including the P-VLAN tag and the multicast group identifier in the multicast receiving table according to the C-VLAN tag and the multicast group identifier to be added, and adds the found P- VLAN tag, the mapping between the group of the multicast group and the user equipment in the C-VLAN of the C-VLAN tag that the multicast group is added to.
- Step 603 Determine whether the user equipment that sends the multicast group join message in the step 602 is the first member of the multicast group that is required to join, if the step 604 is performed, if not, the process ends.
- the user-side access device does not find the P-VLAN tag and the multicast group identifier in the maintenance relationship, the user equipment that applies to join the multicast group is considered to be the first application to join.
- User equipment of the multicast group is considered to be the first application to join.
- Step 604 The user-side access device sends the multicast group to the network-side device to join the message. After the network-side device returns the response to the packet, the user-side access device adds the P in the maintained relationship. - The VLAN tag, the group of the multicast group identifier, and the correspondence between the user equipment in the C-VLAN of the C-VLAN tag that is sent by the multicast group.
- Step 605 The user-side access device searches for a group including a P-VLAN tag and a multicast group identifier in the multicast receiving table according to the C-VLAN tag and the multicast group identifier that the application leaves, and deletes the found P-VLAN.
- Step 606 Determine whether the user equipment that sends the multicast group leaving message in step 605 is the last member of the multicast group that is required to leave, if it is step 607, if not Then the process ends.
- the user-side access device is in the maintenance relationship, only the correspondence between the group including the P-VLAN tag and the multicast group identifier and the user equipment sending the multicast group leaving the message is found.
- the user equipment that sends the multicast group leaving the packet is the last user equipment that requests to leave the multicast group.
- Step 607 In the maintenance relationship, the user-side access device deletes the C-VLAN tag, the group of the multicast group identifier, and the C of the C-VLAN tag that sends the multicast group leaving the message. - The correspondence between the user equipments in the VLAN is sent to the network side device.
- Step 608 The user side access device suppresses the membership query report sent by the user equipment, and selects one or more membership relationship query reports to send to the network side device to end the process.
- steps 601 to 608 describe a preferred embodiment of the method for the user side access device to maintain the correspondence between the user equipment including the P-VLAN tag, the multicast group identifier, and the C-VLAN identifier of the C-VLAN tag.
- the process of step 602 to step 607 is to describe the case where the user-side access device maintains the corresponding relationship when receiving the multicast group join message or the multicast group leave message sent by the user equipment.
- the user-side access device actively maintains the corresponding relationship according to the packet sent by the user equipment.
- Step 608 describes the case where the user side access device maintains the corresponding relationship when the network side device initiates the query, and the user side access device suppresses the membership relationship query report sent by the user equipment, and selectively only to the network side.
- the device sends one or more membership query reports, which ensures the network bandwidth between the user-side access device and the network-side device.
- FIG. 7 shows the embodiment of the present invention.
- IGMP Snooping implementation method base In the flow chart of the system shown in FIG. 3, in the process, the user side access device maintenance includes
- the process further includes:
- Step 701 The multicast router sends the multicast packet carrying the P-VLAN tag and the multicast group identifier to the user-side access device.
- the multicast router encapsulates a single-layer P-VLAN 1 for the multicast packet carrying the multicast group identifier G1, and sends the multicast packet carrying the multicast group identifier G1 and P-VLAN 1 to the user side. device.
- Step 702 The user-side access device obtains the P-VLAN tag and the multicast group identifier from the multicast packet.
- the user-side access device obtains P-VLAN 1 and multicast group identifier G1 from the multicast packet.
- Step 703 The user-side access device searches for the first forwarding node corresponding to the group of the P-VLAN tag and the multicast group identifier from the multicast receiving table.
- the user-side access device searches for the first forwarding node corresponding to the group including P-VLAN 1 and G1 from the multicast receiving table.
- Step 704 The user side access device determines whether the found forwarding node is empty, and when the forwarding node is not empty, step 705 is performed, and the forwarding node ends when the forwarding node is empty.
- the user-side access device finds the first forwarding node corresponding to the group including P-VLAN 1 and G1 from the multicast receiving table. Including C-VLAN 2 and outgoing port PORT 1, proceed to step 705.
- Step 705 The user-side access device removes the C-VLAN tag and the egress port identifier from the forwarding node, and replaces the P-VLAN tag in the multicast packet with the C-VLAN tag.
- Step 706 The user side access device sends a multicast packet on the egress port.
- the user-side access device sends a multicast packet to the egress port identified by PORT 1, that is, the multicast packet is sent to the first switch 304 through PORT 1.
- Step 707 The user side access device moves the node pointer in the multicast receiving table backward, and proceeds to step 704.
- the user side access device moves the node pointer in the multicast receiving table backward, and proceeds to step 704 to find the second forwarding node C-VLAN 3 and the outgoing port PORT 4, and continues to perform steps 705-706.
- the user-side access device sends the multicast packet to the fourth switch 307 through the PORT 4.
- the user-side access device moves the node pointer in the multicast receiving table backward, finds that the third forwarding node is empty, ends the process, and the node pointer jumps to the first forwarding node of the group.
- the preferred implementation of the IGMP Snooping implementation method provided by the embodiment of the present invention is based on the flow of the system shown in FIG. 3, and the system shown in FIG. 3 is implemented according to the preferred implementation manner of the IGMP Snooping implementation method provided by the embodiment of the present invention.
- Multicast packets are distributed.
- the multicast router does not need to copy the multicast packets to the same number of users on the C-VLAN. This reduces the traffic load on the QinQ network, saves network bandwidth, and enables true on-demand distribution. .
- the user-side access device maintains the multicast receiving table by listening to the packets sent by the user equipment.
- There are two types of packets sent by the user equipment that is, the multicast group joins the packet or the multicast group leaves the packet.
- the packet sent by the user equipment for the network side query is the membership query report.
- the structure of the multicast receiving table is as shown in FIG. 4, assuming that a group including P-VLAN 1 and G1 includes only the forwarding node composed of PORT4 and C-VLAN 3 corresponding to the fourth switch 307, first with the first switch.
- the process of sending a multicast group G1 join message is described in the following example.
- the process of the user equipment joining the multicast group is described by using the fourth switch 307 to send the multicast group G1 leave message as an example. :
- Step 601a The user-side access device obtains a C-VLAN from the packet sent by the user equipment.
- the tag and the multicast group identifier are used when the multicast group joins the message, and step 602a is executed.
- step 605a is executed, and when the message is a membership relationship query report, step 608a is performed.
- Step 602a The first switch 304 is configured to send the multicast group join message, and the user-side access device finds the corresponding P-VLAN 1 and the corresponding in the multicast receiving table according to the C-VLAN 1 and the multicast group identifier G1.
- a group of the multicast group identifier G1 includes a forwarding node that adds a C-VLAN 1 and an outbound port identifier PORT1 in the group of the P-VLAN 1 and the multicast group identifier G1 in the multicast receiving table.
- Step 603a Determine whether the first switch 304 that sends the multicast group join message in step 602a is the first member of the multicast group that is required to join, if it is step 604a, if not, the process ends. It is assumed in the embodiment of the present invention that the first switch 304 is not required to be added to the first member of the multicast group G1, and the process of processing the join message of the multicast group by the user-side access device may be terminated. When the first switch 304 is the first member to join the multicast group G1, step 604a is continued.
- Step 604a The user-side access device sends a multicast group G1 join message to the user packet receiving module in the multicast router, and after the user packet receiving module of the multicast group router responds to the packet, the user The side access device adds a group including the P-VLAN 1 and the multicast group identifier G1 in the multicast receiving table, and adds a forwarding node composed of C-VLAN 1 and PORT1 of the first switch 304 in the group.
- Step 605a The fourth switch 307 is configured to send the multicast group leaving message, and the user side access device finds the corresponding P-VLAN 1 and the corresponding in the multicast receiving table according to the C-VLAN 3 and the multicast group identifier G1.
- the multicast group identifies the group of G1.
- the forwarding node including the P-VLAN 1, the multicast group identifier G1, and the corresponding C-VLAN 3 and the outbound port identifier PORT4 are deleted.
- Step 606a Determine the fourth switch 307 that sends the multicast group leaving message in step 605a. Whether it is the last member of the multicast group G1 that is required to leave, if it is step 607a, if not, the process ends. It is assumed in the embodiment of the present invention that the fourth switch 307 is not required to leave the last member of the multicast group G1, and may end the processing flow of the user-side access device to the multicast group leaving the message. When the fourth switch 307 is the last member of the multicast group message, step 607a is continued.
- Step 607a The user-side access device deletes the found group including P-VLAN 1, G1 and the fourth switch 307 that is the C-VLAN 3 identifier of the outgoing message of the multicast group in the maintained multicast receiving table. Corresponding relationship, and then sending a multicast group G1 leaving message to the user packet receiving module in the multicast router.
- the group including the P-VLAN 1 and the G1 in the multicast receiving table includes only the forwarding nodes composed of C-VLAN 1 and PORT1.
- Step 608a The user side access device receives the membership query sent by the first switch 304. If the group including the P-VLAN 1 and the G1 includes other forwarding nodes, the user-side access device suppresses the membership query report sent by the switch corresponding to the forwarding node, that is, selects only the membership sent by one or more switches. After the query report is sent to the query module in the multicast router, the process ends to ensure the network bandwidth between the user-side access device and the multicast router.
- step 601 & step 607a is when the user side accesses
- the device receives the multicast group join message or the multicast group leave message sent by the user equipment
- the device maintains the corresponding relationship.
- the user-side access device actively maintains the message according to the packet sent by the user equipment.
- Step 608a When the network side device initiates the query, the user side access device maintains the corresponding relationship, and the user side access device suppresses the membership relationship query report sent by the switch corresponding to the forwarding node, thereby ensuring user side access. Network bandwidth between the device and the multicast router.
- Corresponding The same message type can be selected by the above different steps.
- FIG. 8 is a schematic diagram showing the structure of an apparatus for implementing IGMP Snooping according to an embodiment of the present invention.
- the apparatus is a user-side access device 801, and includes a transceiver module 802, an analysis module 803, and a storage module 804.
- the storage module 804 is connected to the parsing module 803, and stores a multicast receiving table including a P-VLAN tag, a group of the multicast group identifier, and a user equipment in the C-VLAN identified by the C-VLAN tag.
- the transceiver module 802 is connected to the parsing module 803, and is configured to send the received multicast packet carrying the P-VLAN tag and the multicast group identifier by the user-side access device 801 to the parsing module 803, according to the parsing module.
- the 803 sends the search result to the external user device after the P-VLAN tag is replaced with the C-VLAN tag.
- the parsing module 803 is connected to the transceiver module 802 and the storage module 804 respectively, and is configured to receive the multicast packet carrying the P-VLAN tag and the multicast group identifier sent by the transceiver module 802, and receive the multicast receiving table from the storage module 804.
- the mapping between the P-VLAN tag, the group of the multicast group identifier, and the user equipment in the C-VLAN identified by the C-VLAN tag is found, and the search result is provided to the transceiver module 802.
- the IGMP Snooping implementation device provided by the embodiment of the present invention, the transceiver module 802, the parsing module 803, and the storage module 804 cooperate to complete the following functions: Maintaining a group including a P-VLAN tag, a multicast group identifier, and a C-VLAN tag identifier
- the multicast receiving table of the corresponding relationship of the user equipment after receiving the multicast packet, finds the user equipment that needs to receive the multicast packet from the multicast receiving table, and replaces the multicast with the C-VLAN tag of the found user equipment. After the P-VLAN tag of the packet, the multicast packet is sent to the user equipment. In this way, the multicast packets are only distributed to the user equipments in the C-VLAN that require multicast packets.
- the network-side device does not need to copy the multicast packets to the C-VLAN first.
- User setting under Tag The number of copies is the same, which reduces the traffic load between the network side and the user side, saves network bandwidth, and achieves true on-demand distribution.
- the above device may be the user side access device 801 or other device having the same structure and function as described above.
- the user side access device when the user equipment that sends the multicast group join message is the first user equipment to be added to the multicast group, the user side access device sends the multicast group join report to the network side device.
- the user equipment that sends the multicast group leaving the packet is the last user equipment that requests to leave the multicast group, and the multicast group sent by the user side access device to the network side device leaves the user group, and the user is connected.
- the member relationship query sent by the inbound device to the network side device is reported.
- the user side access device sends the packet from the user side to the network side, the C-VLAN tag of the packet can be replaced with the P-VLAN tag. Then, the network side device sends the message to the network side device.
- the network side device sends the message on the user equipment.
- the C-VLAN tag carried by the original is encapsulated with a P-VLAN tag.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
La présente invention concerne un procédé d'implémentation de surveillance de trafic IGMP (protocole de gestion de groupe Internet). Le dispositif de connexion client gère la relation correspondante pour distribuer des paquets de données à destinations multiples. Le dispositif de connexion client reçoit des paquets de données à destinations multiples qui présentent l'étiquette P-VLAN et l'ID du groupe à destinations multiples. Le dispositif de connexion client recherche un dispositif client dans le C-VLAN identifié par une étiquette C-VLAN selon l'étiquette P-VLAN et l'ID du groupe à destinations multiples dans la relation correspondante. Le dispositif de connexion client remplace l'étiquette P-VLAN par l'étiquette C-VLAN et transmet ensuite le paquet de données au dispositif client dans le C-VLAN identifié par l'étiquette C-VLAN. La présente invention concerne également un système d'implémentation et un dispositif de surveillance de trafic d'IGMP (protocole de gestion de groupe Internet). La bande passante du réseau QinQ peut être utilisée de manière efficace, la congestion de flux peut être évitée et les paquets de données à destinations multiples peuvent être transmis selon la demande.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610168387.7 | 2006-12-27 | ||
CNB2006101683877A CN100563213C (zh) | 2006-12-27 | 2006-12-27 | 互联网组管理协议侦听的实现方法、系统及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008077321A1 true WO2008077321A1 (fr) | 2008-07-03 |
Family
ID=38251897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2007/070678 WO2008077321A1 (fr) | 2006-12-27 | 2007-09-12 | Procédé d'implémentation, système et dispositif de surveillance de trafic de protocole de gestion de groupe internet (igmp) |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN100563213C (fr) |
WO (1) | WO2008077321A1 (fr) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101707568B (zh) * | 2009-12-07 | 2012-06-06 | 中兴通讯股份有限公司 | 用户组播业务的控制方法和系统及组播主控设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1458771A (zh) * | 2002-05-15 | 2003-11-26 | 华为技术有限公司 | 一种基于二层交换设备的组播报文转发方法 |
CN1665219A (zh) * | 2004-03-06 | 2005-09-07 | 鸿富锦精密工业(深圳)有限公司 | 组播流量控制管理系统及方法 |
CN1700676A (zh) * | 2005-06-03 | 2005-11-23 | 港湾网络有限公司 | 以太网交换机跨虚拟局域网的二层组播数据传输方法 |
CN1758630A (zh) * | 2004-10-05 | 2006-04-12 | 日立通讯技术株式会社 | 二层交换器 |
-
2006
- 2006-12-27 CN CNB2006101683877A patent/CN100563213C/zh not_active Expired - Fee Related
-
2007
- 2007-09-12 WO PCT/CN2007/070678 patent/WO2008077321A1/fr active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1458771A (zh) * | 2002-05-15 | 2003-11-26 | 华为技术有限公司 | 一种基于二层交换设备的组播报文转发方法 |
CN1665219A (zh) * | 2004-03-06 | 2005-09-07 | 鸿富锦精密工业(深圳)有限公司 | 组播流量控制管理系统及方法 |
CN1758630A (zh) * | 2004-10-05 | 2006-04-12 | 日立通讯技术株式会社 | 二层交换器 |
CN1700676A (zh) * | 2005-06-03 | 2005-11-23 | 港湾网络有限公司 | 以太网交换机跨虚拟局域网的二层组播数据传输方法 |
Also Published As
Publication number | Publication date |
---|---|
CN100563213C (zh) | 2009-11-25 |
CN1996957A (zh) | 2007-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100531040C (zh) | 实现组播虚拟专用网绑定的方法及设备 | |
US9112715B2 (en) | Method and system for intelligently forwarding multicast packets | |
US9426093B2 (en) | Multicast interworking systems and methods | |
US5600644A (en) | Method and apparatus for interconnecting LANs | |
EP1424806B1 (fr) | Routeur de multidiffusion avec fonction de traduction des protocoles conformément à Any-Source-Multicast et Source-Specific-Multicast | |
US20100046516A1 (en) | Methods and Devices for Managing Multicast Traffic | |
CN101222414A (zh) | 实现组播通信的装置、系统和方法 | |
WO2007059679A1 (fr) | Procede pour le traitement de service multidiffusion anormal et equipement de reseau associe | |
WO2007056923A1 (fr) | Procede de mise en oeuvre de la multidiffusion | |
WO2007019785A1 (fr) | Systeme de commutation reseau local virtuel a multidiffusion et procede associe | |
CN103975556A (zh) | 远程多播复制网络的改进复制管理 | |
WO2007054006A1 (fr) | Station de base de système d’accès sans fil large bande et système pour réaliser un service de diffusion de groupe | |
WO2009082905A1 (fr) | Procédé système et dispositif commutateur permettant l'établissement dynamique de réseau local virtuel de multidiffusion | |
WO2014121468A1 (fr) | Procédé et dispositif d'établissement de canal de données de multidiffusion dans un système de virtualisation de réseau | |
WO2006069532A1 (fr) | Procede et systeme de mise en oeuvre de multidiffusion utilisant un module d'acces esclave pour acceder a une ligne d'abonne numerique | |
CN101510891A (zh) | Epon接入系统实现组播的装置和方法 | |
JP5548696B2 (ja) | マルチキャストサービス品質モジュールおよび方法 | |
WO2011020346A1 (fr) | Procédé et appareil de réacheminement de données de diffusion groupée | |
US20050195817A1 (en) | Switching device and multicast packet processing method therefor | |
CN102347906B (zh) | 一种组播方法及组播网络系统 | |
WO2011006339A1 (fr) | Procédé et appareil de traitement de diffusion groupée | |
CN101166084B (zh) | 防止组播用户攻击的安全方法 | |
WO2008077321A1 (fr) | Procédé d'implémentation, système et dispositif de surveillance de trafic de protocole de gestion de groupe internet (igmp) | |
EP1624611B1 (fr) | Decouverte de source multicast | |
CN1863153B (zh) | 以太网支持源特定组播转发的方法及其设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07801086 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 07801086 Country of ref document: EP Kind code of ref document: A1 |