CN102136988A - Multicast data message transferring method and device - Google Patents

Multicast data message transferring method and device Download PDF

Info

Publication number
CN102136988A
CN102136988A CN2010101044066A CN201010104406A CN102136988A CN 102136988 A CN102136988 A CN 102136988A CN 2010101044066 A CN2010101044066 A CN 2010101044066A CN 201010104406 A CN201010104406 A CN 201010104406A CN 102136988 A CN102136988 A CN 102136988A
Authority
CN
China
Prior art keywords
message
multicast
multicast source
switch
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010101044066A
Other languages
Chinese (zh)
Inventor
郝卫国
吴迪
凌义
徐旭光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2010101044066A priority Critical patent/CN102136988A/en
Publication of CN102136988A publication Critical patent/CN102136988A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a multicast data message transferring method and device. The method comprises the following steps: a switch receives a data message sent by a multicast source; when the switch is directly connected with the multicast source, if no multicast route corresponding to the multicast source exist in the switch, broadcasting a universal group query message; receiving an addition message from a terminal, wherein the addition message responds to the universal group query message; and generating a multicast route corresponding to the multicast source according to the addition message. By adopting the embodiment of the invention, multicast message transmission of a two-layer network direct-connected multicast source can be realized while no route port is required to be statically allocated on a downstream switch.

Description

Multicast data message transfer approach and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of multicast data message transfer approach and device.
Background technology
It is the multicast protocol that operates on the two-layer equipment that IGMP is intercepted (IGMP Snooping, Internet Group ManagementProtocol Snooping), is used for management and control multicast group.By on Layer 2 switch, using IGMP SNOOPING, for instance, the two-layer equipment of operation IGMP Snooping is by analyzing the IGMP message of receiving, for port and multicast address are set up mapping relations, and according to such mapping relations multicast data forwarding, flux of multicast is duplicated in a broadcast domain as required, rather than broadcast, save access link bandwidth.
When multicast source (source) links to each other with IGMP SNOOPING equipment by multicast router (Multicast router), if do not adopt the multicast message transmission of IGMP SNOOPING, multicast packet by multicast source through multicast router, broadcast by Layer 2 switch (Layer 2 switch), multicast packet is sent to All hosts, comprise that needs receive recipient's host A (Host A receiver) and recipient's host C (Host A receiver) of this multicast packet, and the host B (HostB) that does not need to receive this multicast packet.And if adopt IGMP SNOOPING, after two-layer equipment has moved IGMP SNOOPING, the multicast packet of known multicast group can not be broadcasted at two layers, multicast packet by multicast source through multicast router, broadcast by Layer 2 switch, multicast packet is only sent to the main frame that needs acceptance, comprise recipient's host A (Host A receiver) and recipient's host C (Host A receiver).
When multicast source directly connects switch without router, common employing static configuration routed port on the downstream switch of the switch of direct-connected multicast source, the user joined message sends the switch direct-connected with multicast source to, causes the deployment of network and management very complicated.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of multicast data message transfer approach device, with solve in the system that multicast source in the prior art directly connects switch need be on the downstream switch of the switch of direct-connected multicast source the technical problem of static configuration routed port.
The embodiment of the invention provides a kind of multicast data message transfer approach, comprising: the data message that switch receiving group source sends; When described switch directly is connected with described multicast source,, then broadcast the general query message if there is not the multicast forwarding list item of corresponding described multicast source in the described switch; Receive joining message of self terminal, the described described general query message of response that joins message; Generate the multicast forwarding list item of corresponding described multicast source according to described joining message.
Present embodiment also provides a kind of multicast data message conveyer, directly is connected with multicast source, and this device comprises: first receiving element is used for the data message that the receiving group source sends; Query unit is used for when there is not the multicast forwarding list item of corresponding described multicast source in described device, broadcasting general query message; Second receiving element is used to receive joining message of self terminal, the described described general query message of response that joins message; Generation unit is used for generating the multicast forwarding list item of corresponding described multicast source according to described joining message.
The embodiment of the invention is found multicast source automatically by the switch of direct-connected multicast source, automatically trigger then and send the general query message, need not static configuration routed port on the downstream switch of the switch of direct-connected multicast source, just realize the multicast message transmission of the direct-connected multicast source of double layer network, thereby the structure of simplified system is saved the network bandwidth.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, does not constitute limitation of the invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the multicast data message transfer approach of the embodiment of the invention one;
Fig. 2 is the flow chart according to the multicast data message transfer approach of the embodiment of the invention two;
Fig. 3 is the structural representation according to the multicast data message conveyer of the embodiment of the invention three.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer,, the embodiment of the invention is described in further details below in conjunction with embodiment and accompanying drawing.At this, illustrative examples of the present invention and explanation thereof are used to explain the present invention, but not as a limitation of the invention.
Embodiment one
Present embodiment provides a kind of multicast data message transfer approach.As shown in Figure 1, this method comprises:
101: the data message that the receiving group source sends;
Directly connect the data message of the switch reception of multicast source, can't inquire multicast forwarding list item<S, G according to data message from multicast source, thereby can't transmit, wherein S is the IP address of multicast source, G is a multicast group address.
102: when described switch directly is connected with described multicast source,, then broadcast the general query message if there is not the multicast forwarding list item of corresponding described multicast source in the described switch;
With the direct-connected switch automatic cycle of multicast source initiation general query message, broadcast transmission general query message in corresponding Virtual Local Area Network or virtual service example (VSI).
103: receive joining message of self terminal, the described described general query message of response that joins message;
After terminal receives the general query message, can send when determining to need receiving data packets and join message, can carry the IP address of multicast source and the IP address of terminal in joining message, after switch receives above-mentioned joining message, according to the generation multicast forwarding list item that joins message that receives.
104: generate the multicast forwarding list item of corresponding described multicast source according to described joining message.
According to the multicast forwarding list item that generates data message is sent to the terminal that needs receive this data message.
Present embodiment receives from sending the general query message behind the data message of multicast source automatically by the switch of direct-connected multicast source, need not static configuration routed port on the downstream switch of the switch of direct-connected multicast source, just can realize multicast packet is only sent to the main frame that needs reception, save the network bandwidth.
Embodiment two
The method that present embodiment provides another kind of multicast data message to transmit.As shown in Figure 2, this method comprises:
201: the data message that switch receiving group source sends over; Can't inquire multicast forwarding list item<S, G according to data message 〉, thereby can't transmit, wherein S is the IP address of multicast source, G is a multicast group address;
202: switch carries out multicasting source filtering, prevents illegal multicast source attack;
203: switch is determined directly to be connected with multicast source;
Whether switch has strict and loose dual mode with the direct-connected definite mode of multicast source in this step, for instance, ordered can be by the static configuration port, intercept address analysis protocol message (ARPSnooping) or initiatively send address resolution protocol probe messages mode and judge whether with multicast source direct-connected.For example, adopt the mode of static configuration port, the switch ports themselves of configuration-direct connection multicast source judges that then switch directly is connected with multicast source if receive the multicast source data message from this port.Again for example, adopt the ARPSnooping mode, the ARP message generation ARP list item that switch sends by intercepting multicast source is after receiving the multicast source data message, search the ARP list item, if the multicast source IP address judges then that in the ARP of correspondence list item multicast source and switchboard direct connect in succession.Again for example, adopt the mode that initiatively sends the address resolution protocol probe messages, switch is after receiving the data message of multicast source, initiatively the port to receiving data packets sends ARP probe packet, the ARP list item of study multicast source, and the source MAC of this ARP probe packet is the MAC of direct-connected multicast source port, source IP is the IP address that does not have use in this VLAN (or VSI) arbitrarily, if corresponding ARP back message using is arranged, then multicast source is direct-connected just, otherwise is indirectly connected multicast source.Again for example, adopt loose mode, think that directly this port is the direct-connected port of multicast source.
204: if the switchboard direct connection multicast source, then automatically at corresponding VLAN/VSI intercycle broadcast transmission general query message;
205: downstream switch receives the general query message, and the port that receives this message is set to routed port;
206: terminal receives the general query message that downstream switch is transmitted, and replys when determining receiving data packets to join message;
207: after downstream switch is received joining message of terminal, generate the multicast forwarding list item, then this is joined message by the routed port forwarded upstream;
For instance, downstream switch can comprise multistage switches, and forwarded upstream is described step by step joins message;
208: the switch of direct-connected multicast source receive that downstream switch transmits all need the joining message of terminal of receiving data packets after, also generate the multicast forwarding list item;
209: the switch of direct-connected multicast source is given the terminal that needs receiving data packets according to the multicast forwarding list item of its generation with the data message forwarding that sends over of multicast source.
Present embodiment receives from sending the general query message behind the data message of legal multicast source automatically by the switch of direct-connected multicast source, need not static configuration routed port on the downstream switch of the switch of direct-connected multicast source, just can realize only to send to the main frame that needs acceptance from the multicast packet of legal multicast source, thereby can filter the data of illegal multicast source, and save the network bandwidth.
Embodiment three
A kind of multicast message conveyer that directly is connected of present embodiment, for example switch with multicast source.As shown in Figure 3, this device 300 comprises:
First receiving element 301 is used for the data message that the receiving group source sends;
Query unit 302 is used for when there is not the multicast forwarding list item of corresponding described multicast source in described device, broadcasting general query message;
Second receiving element 303 is used to receive joining message of self terminal, the described described general query message of response that joins message;
Generation unit 304 is used for generating the multicast forwarding list item of corresponding described multicast source according to above-mentioned joining message.
For instance, when first receiving element 301 received data message, device can't inquire multicast forwarding list item<S, G according to data message 〉, thereby can't transmit, wherein S is the IP address of multicast source, G is a multicast group address.If do not generate the multicast forwarding list item in the device switch, query unit 302 automatic cycle transmission general query messages, broadcast transmission general query message in corresponding Virtual Local Area Network or virtual service example (VSI).Can the general query message be transmitted to terminal by downstream switch, after terminal receives the general query message, can reply when needing receiving data packets and join message, carried the IP address of multicast source and the IP address of terminal in joining message, can joining message of terminal be transmitted to the device of present embodiment then by downstream switch.Second receiving element 303 receives from the joining message of the terminal that needs receiving data packets, and generation unit 304 can generate the multicast forwarding list item according to joining message of receiving.
The device of present embodiment can also comprise transmitting element, data message is sent to the terminal of needs receiving data packets according to the multicast forwarding list item that generates; Filter element behind the data message that is used for sending in first receiving element, 301 receiving group sources, filters multicast source.
The device of present embodiment can also comprise judging unit, is used to judge whether with multicast source direct-connected.The judgment mode of judging unit has strict and loose dual mode.For instance, ordered can be by the static configuration port, intercept address analysis protocol message (ARP Snooping) or initiatively send address resolution protocol probe messages mode and judge whether with multicast source direct-connected.For example, adopt static configuration port mode, the switch ports themselves of configuration-direct connection multicast source judges that then switch directly is connected with multicast source if receive the multicast source data message from this port.Again for example, adopt ARP Snooping mode, the ARP message generation ARP list item that switch sends by intercepting multicast source is after receiving the multicast source data message, search the ARP list item, if multicast source IP judges then that in the ARP of correspondence list item multicast source and switchboard direct connect in succession.Again for example, adopt the mode that initiatively sends the address resolution protocol probe messages, switch is after receiving the data message of multicast source, initiatively the port to receiving data packets sends ARP probe packet, the ARP list item of study multicast source, and the source MAC of this ARP probe packet is the MAC of direct-connected multicast source port, source IP is the IP address that does not have use in this VLAN arbitrarily, if corresponding ARP back message using is arranged, then multicast source is direct-connected just, otherwise is indirectly connected multicast source.Again for example, adopt loose mode, think that directly this port is the direct-connected port of multicast source.
Present embodiment receives from sending the general query message behind the data message of multicast source automatically by the switch of direct-connected multicast source, need not static configuration routed port on the downstream switch of the switch of direct-connected multicast source, just can realize only to send to the main frame that needs acceptance from the multicast packet of legal multicast source, thereby can save the network bandwidth.
Part steps in the embodiment of the invention can utilize software to realize that corresponding software programs can be stored in the storage medium that can read, as CD or hard disk etc.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. a multicast data message transfer approach is characterized in that, described method comprises:
The data message that switch receiving group source sends;
When described switch directly is connected with described multicast source,, then broadcast the general query message if there is not the multicast forwarding list item of corresponding described multicast source in the described switch;
Receive joining message of self terminal, the described described general query message of response that joins message;
Generate the multicast forwarding list item of corresponding described multicast source according to described joining message.
2. method according to claim 1 is characterized in that, also comprises:
Behind the data message of described receiving group source transmission, described multicast source is filtered.
3. method according to claim 1 is characterized in that, also comprises:
By the static configuration port, intercept address analysis protocol message or initiatively send address resolution protocol probe messages mode and judge whether described switch directly is connected with described multicast source.
4. method according to claim 1 is characterized in that: described joining message transmitted by the routed port of downstream switch, and the routed port of described downstream switch is the port that receives described general query message.
5. a multicast data message conveyer directly is connected with multicast source, it is characterized in that, this device comprises:
First receiving element is used for the data message that the receiving group source sends;
Query unit is used for when there is not the multicast forwarding list item of corresponding described multicast source in described device, broadcasting general query message;
Second receiving element is used to receive joining message of self terminal, the described described general query message of response that joins message;
Generation unit is used for generating the multicast forwarding list item of corresponding described multicast source according to described joining message.
6. device according to claim 5 is characterized in that, also comprises:
Filter element behind the data message that is used for sending in the described first receiving element receiving group source, filters multicast source.
7. device according to claim 5 is characterized in that, also comprises:
Judging unit is used for by the static configuration port, intercepts address analysis protocol message or initiatively send address resolution protocol probe messages mode and judge whether described device directly is connected with multicast source.
8. according to claim 5 or 6 or 7 described devices, it is characterized in that: described joining message transmitted by the routed port of downstream switch, and the routed port of described downstream switch is the port that receives described general query message.
CN2010101044066A 2010-01-25 2010-01-25 Multicast data message transferring method and device Pending CN102136988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101044066A CN102136988A (en) 2010-01-25 2010-01-25 Multicast data message transferring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101044066A CN102136988A (en) 2010-01-25 2010-01-25 Multicast data message transferring method and device

Publications (1)

Publication Number Publication Date
CN102136988A true CN102136988A (en) 2011-07-27

Family

ID=44296648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101044066A Pending CN102136988A (en) 2010-01-25 2010-01-25 Multicast data message transferring method and device

Country Status (1)

Country Link
CN (1) CN102136988A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012163032A1 (en) * 2011-10-29 2012-12-06 华为技术有限公司 Multicast processing method and apparatus
CN104468371A (en) * 2014-11-28 2015-03-25 杭州华三通信技术有限公司 Multicast service message processing method and device
CN107431996A (en) * 2015-03-31 2017-12-01 夏普株式会社 Terminal and its control method
CN108696827A (en) * 2018-07-16 2018-10-23 鼎桥通信技术有限公司 A kind of transparent method of multicasting and equipment based on LTE

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754449B2 (en) * 2001-01-30 2004-06-22 The Regents Of The University Of California Optical layer multicasting switch
CN101035057A (en) * 2007-03-30 2007-09-12 华为技术有限公司 Method for establishing the multicast share tree and data transfer method and communication network
CN101291240A (en) * 2008-06-19 2008-10-22 杭州华三通信技术有限公司 Multicast flow transmission method and system
CN101388788A (en) * 2008-10-29 2009-03-18 杭州华三通信技术有限公司 Double layer multicast management method, system and double layer switch

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754449B2 (en) * 2001-01-30 2004-06-22 The Regents Of The University Of California Optical layer multicasting switch
CN101035057A (en) * 2007-03-30 2007-09-12 华为技术有限公司 Method for establishing the multicast share tree and data transfer method and communication network
CN101291240A (en) * 2008-06-19 2008-10-22 杭州华三通信技术有限公司 Multicast flow transmission method and system
CN101388788A (en) * 2008-10-29 2009-03-18 杭州华三通信技术有限公司 Double layer multicast management method, system and double layer switch

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012163032A1 (en) * 2011-10-29 2012-12-06 华为技术有限公司 Multicast processing method and apparatus
CN104468371A (en) * 2014-11-28 2015-03-25 杭州华三通信技术有限公司 Multicast service message processing method and device
CN104468371B (en) * 2014-11-28 2018-03-16 新华三技术有限公司 multicast service message processing method and device
CN107431996A (en) * 2015-03-31 2017-12-01 夏普株式会社 Terminal and its control method
CN107431996B (en) * 2015-03-31 2021-02-09 夏普株式会社 Terminal and control method thereof
CN108696827A (en) * 2018-07-16 2018-10-23 鼎桥通信技术有限公司 A kind of transparent method of multicasting and equipment based on LTE
CN108696827B (en) * 2018-07-16 2021-09-03 鼎桥通信技术有限公司 LTE-based transparent multicast method and equipment

Similar Documents

Publication Publication Date Title
EP1564930B1 (en) Method of transporting a multipoint stream in a local area network and device for connection implementing the method
US8539088B2 (en) Session monitoring method, apparatus, and system based on multicast technologies
CN101258414B (en) Enhanced multicast vlan registration
CN102035729B (en) Multicast data forwarding method
US20110249551A1 (en) Virtual snooping bridge in computer networks
CN102316030B (en) Method for realizing two-layer internetworking of data center and device
US20090213855A1 (en) Method and switch for implementing internet group management protocol snooping
CN101022394A (en) Method for realizing virtual local network aggregating method and converging exchanger
EP2989755B1 (en) Efficient multicast delivery to dually connected (vpc) hosts in overlay networks
CN103051536A (en) Quick multicast switching method of two-layer redundant link
WO2012106915A1 (en) Failure notification method, detection apparatus, forwarding apparatus, system and data structure
CN102075422A (en) Multicast management method and two-layer equipment
CN101631129B (en) Method and device for transmitting multicast data
WO2009082905A1 (en) Method, system and switch device for dynamically establishing multicast virtual local area network
CN101834783A (en) Method and device for forwarding messages and network equipment
JP2008103864A (en) Ip multicast service system, switch device, and method of selecting and transmitting group used for them
CN102281165A (en) Fault detection method based on QoS, system and apparatus thereof
CN102136988A (en) Multicast data message transferring method and device
CN102347906B (en) Multi-cast method and multi-cast network system
CN102238040B (en) Method for monitoring CE (Customer Edge router) and routing device
CN101345678B (en) Multicast communication method, system and multicast communication equipment
CN108111323B (en) Realization system of igmpsnooping protocol under vxworks system
US9548887B2 (en) Proactive creation of multicast state in an overlay transport network to achieve fast convergence on failover
CN107241249B (en) Ethernet bus switch, Ethernet bus system and data communication method
CN101309154A (en) Datagram sending method, sending apparatus and transmission system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110727