CN103067286B - A kind of muticast data transmission method and apparatus - Google Patents

A kind of muticast data transmission method and apparatus Download PDF

Info

Publication number
CN103067286B
CN103067286B CN201310033294.3A CN201310033294A CN103067286B CN 103067286 B CN103067286 B CN 103067286B CN 201310033294 A CN201310033294 A CN 201310033294A CN 103067286 B CN103067286 B CN 103067286B
Authority
CN
China
Prior art keywords
multicast group
multicast
user
beb equipment
information table
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.)
Active
Application number
CN201310033294.3A
Other languages
Chinese (zh)
Other versions
CN103067286A (en
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.)
New H3C Information Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201310033294.3A priority Critical patent/CN103067286B/en
Publication of CN103067286A publication Critical patent/CN103067286A/en
Application granted granted Critical
Publication of CN103067286B publication Critical patent/CN103067286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of muticast data transmission method and apparatus, the method comprises: whether BEB equipment has the recipient of multicast group according to user's side and PW side, maintenance customer's multicast group information table; Described BEB equipment is received reporting for the first time literary composition of particular multicast group from user's side joint, for this particular multicast group is distributed Multicast Tunnel address; Described BEB equipment is according to the user multicast group information table of safeguarding, Multicast Tunnel address notification is given to the opposite end BEB equipment that has this particular multicast group recipient, and by the flood link-state information of this Multicast Tunnel address of this BEB equipment and opposite end BEB equipment, trigger the multicast transmit tree generating based on multicast source and multicast receivers in SPB network; Described BEB equipment forwards the subsequent packet of this particular multicast group by described multicast transmit tree. In the present invention, save Internet resources, improved the stability of system.

Description

A kind of muticast data transmission method and apparatus
Technical field
The present invention relates to the communications field, relate in particular to a kind of muticast data transmission method and apparatus.
Background technology
SPB(ShortestPathBridging, shortest path bridge) be IEEE(InstituteofElectricalandElectronicEngineers, IEEE) one of the ethernet standard of 802.1aq definition,Be MSTP(MultipleSpanningTreeProtocol, Multiple Spanning Tree Protocol) further extension, purportAt the clog-free double layer network that builds large flat, use SPB-ISIS(IntermediatesystemtoIntermediatesystem, Intermediate System-to-Intermediate System) carry out the Link State in shared network, network is eachShortest path between the each node of node parallel computation, has avoided use STP(SpanningTreeProtocol,Spanning-Tree Protocol) unstability and the low deficiency of part of links utilization rate brought. IEEE802.1aq is fixedJustice two SPB pattern: VLAN(VirtualLocalAreaNetwork, VLAN) patternAnd MAC(MediaAccessControl (SPBV), media interviews control)-in-MAC pattern (SPBM),Wherein SPBM is current main recommendation pattern, in data center network, is widely used.
SPBM supports based on I-SID(instance number) multicast service of Service Instance, be similar to multicasting VPN(VirtualPrivateNetwork, Virtual Private Network) realize thought, each in SPBM GeiSPT districtBridge distributes local multicast address, and each address packet contains SPSourceID(ShortestPathSourceIdentity,The mark in shortest path source), generate multicast group ground to each Service Instance according to SPSourceID and I-SIDLocation, the form of the multicast address that each SPBM bridge device structure Service Instance is corresponding can be as shown in Figure 1.
After each bridge device in SPT district is carried out SPB calculating, give this multicast address generating forward list item(being one of each multicast source generation transmits), thus the forwarding tree forming is taking this bridge device as rootThe subset of SPT tree. The multicast of corresponding Service Instance, unknown unicast, broadcasting packet are set along this SPTSubset forwards, and reaches the BEB(BackboneEdgeBridge that has only disposed this Service Instance, backbone networkEdge bridges) equipment.
Realizing in process of the present invention, inventor finds at least to exist in prior art following problem:
In existing SPBM technical scheme, while there is multicast service in user's side, all multicast services all according toThe example multicast address that SPSourceID and SPB instance identification I-SID form forwards. Multicast source BEBThe flux of multicast that equipment enters can be flooded to multicast source BEB equipment and belong to the every other of same instanceOn BEB equipment, the recipient whether main frame of no matter hanging under this BEB equipment exists this flux of multicast, makesBecome the waste of Internet resources.
Summary of the invention
The object of the present invention is to provide a kind of muticast data transmission method and apparatus, to save Internet resources,And improve the stability of system. For this reason, the present invention adopts following technical scheme:
A kind of muticast data transmission method, is applied to the backbone network edge bridges in shortest path bridge SPB networkBEB equipment, the method comprises:
Whether BEB equipment has the recipient of multicast group, maintenance customer's group according to user's side and PW sideBroadcast group information table;
Described BEB equipment is received reporting for the first time literary composition of particular multicast group from user's side joint, is this particular multicast groupDistribute Multicast Tunnel address, this Multicast Tunnel address comprises the mark in the shortest path source of this BEB equipmentSPSourceID and this BEB equipment are the multicast address that this particular multicast group is distributed;
Described BEB equipment, according to the user multicast group information table of safeguarding, is deposited Multicast Tunnel address notificationThere iing this particular multicast group recipient's opposite end BEB equipment, and by this BEB equipment and opposite end BEBFlood in the SPB network link-state information of this Multicast Tunnel address of equipment, triggers and generates based on multicast sourceMulticast transmit tree with multicast receivers;
Described BEB equipment forwards the subsequent packet of this particular multicast group by described multicast transmit tree.
Wherein, whether described BEB equipment has the recipient of multicast group according to user's side and PW side,Maintenance customer's multicast group information table, comprising:
When described BEB equipment receives that from user's side joint multicast group joins message, and add according to described multicast groupEnter the multicast group address and the VLANTag that in message, carry, and receive the end that this multicast group joins messageMouthful, while determining the user multicast group information table self not recording should multicast group joining message, described inBEB equipment creates the user multicast group information table to should multicast group joining message, and this multicast group is addedThe multicast group address carrying in message and virtual LAN VLAN label Tag, SPB instance number, Yi JijieThe corresponding relation of receiving the port that described multicast group joins message is recorded in this user multicast group information table,And this user multicast group is joined message and is transmitted to the opposite end BEB equipment in corresponding SPB example;
When receiving the multicast group that other BEB equipment forward by PW, described BEB equipment joins message,And according to this multicast group the join message multicast group address and the VLANTag that carry and receive this messagePort, while determining the user multicast group information table self not recording should multicast group joining message, described inBEB equipment creates the user multicast group information table to should multicast group joining message, and this multicast group is addedThe multicast group address carrying in message and virtual LAN VLAN label Tag, SPB instance number, Yi JijieThe corresponding relation of receiving the PW that described multicast group joins message is recorded in this user multicast group information table.
Wherein, whether described BEB equipment has the recipient of multicast group according to user's side and PW side,Maintenance customer's multicast group information table, also comprises:
When described BEB equipment receives that from user's side joint multicast group joins message, and add according to described multicast groupEnter the multicast group address and the VLANTag that in message, carry, and receive the end that this multicast group joins messageMouthful, determine when self record has the user multicast group information table to should multicast group joining message, described inWhether BEB equipment judges to record in this user multicast group information table and receives this multicast group and join messageLocal port, if be judged as YES, keep this user multicast group information table, and by this user multicast groupJoin message and be transmitted to the opposite end BEB equipment in corresponding SPB example; Otherwise, this port is recorded to thisIn user multicast group information table, and this user multicast group is joined message and is transmitted in corresponding SPB exampleOpposite end BEB equipment;
When receiving the multicast group that other BEB equipment forward by PW, described BEB equipment joins message,And according to this multicast group the join message multicast group address and the VLANTag that carry and receive this messagePort, determines when self record has the user multicast group information table to should multicast group joining message, described inWhether BEB equipment judges to record in this user multicast group information table and receives this multicast group and join messagePW, if be judged as YES, keep this user multicast group information table; Otherwise, this PW is recorded toIn this user multicast group information table.
Wherein, described BEB equipment is received reporting for the first time literary composition of particular multicast group from user's side joint, specific for thisMulticast group is distributed Multicast Tunnel address, is specially:
Described BEB equipment according to described in the multicast group address and the VLANTag that report for the first time and carry in literary composition, andSPB instance number is inquired about described user multicast group information table;
The multicast group address carrying in literary composition of reporting for the first time described in correspondence if record in described user multicast group information tableAnd VLANTag, and the user multicast group information table of SPB instance number, and there is PW in this list itemMember, described BEB equipment is this particular multicast group distribution Multicast Tunnel address according to described PW member.
Wherein, the method also comprises:
The multicast group address carrying in literary composition of reporting for the first time described in correspondence if record in described user multicast group information tableAnd VLANTag, and the user multicast group information table of SPB instance number, and do not exist in this list itemWhen PW member, described BEB equipment stops the forwarding of the data flow public network side of this particular multicast group.
Wherein, described BEB equipment is general in SPB network by this BEB equipment and opposite end BEB equipmentThe link-state information of this Multicast Tunnel address of flood, triggers the multicast generating based on multicast source and multicast receiversForwarding tree, is specially:
Described BEB equipment by this BEB equipment and opposite end BEB equipment by described Multicast Tunnel address,And SPB instance number is encapsulated in protocol massages and floods in described SPB network, so that described BEB establishesOther equipment in standby, opposite end BEB equipment and described SPB network generate and connect based on multicast source and multicastReceipts person's multicast transmit tree.
Wherein, the method also comprises:
In the time that the main frame of hanging under described BEB equipment exits multicast group, multicast described in described BEB unit deletionOrganize in corresponding user multicast group information table local port that should main frame;
If described local port is last local port recording in this user multicast group information table, instituteState BEB equipment and exit institute to BEB equipment described in the opposite end BEB devices advertise in corresponding SPB exampleState multicast group, so that user multicast group information table corresponding to multicast group described in the BEB unit deletion of described opposite endIn to PW that should BEB equipment.
Wherein, the method also comprises:
Described BEB equipment is that corresponding multicast group is distributed new according to the user multicast group information table after upgradingMulticast Tunnel address;
Described BEB equipment is according to the user multicast group information table after upgrading, by this new Multicast Tunnel addressNotice to the opposite end BEB equipment that has this particular multicast group recipient, and by this BEB equipment and rightFlood in the SPB network link-state information of this Multicast Tunnel address of end BEB equipment, triggers and generates baseIn the new multicast transmit tree of multicast source and multicast receivers;
Described BEB equipment forwards the subsequent packet of this particular multicast group by this new multicast transmit tree.
Wherein, the method also comprises:
Described BEB equipment is that corresponding multicast group is distributed new according to the user multicast group information table after upgradingMulticast Tunnel address;
Described BEB equipment is according to the user multicast group information table after upgrading, by this new Multicast Tunnel addressNotice to the opposite end BEB equipment that has this particular multicast group recipient, and by this BEB equipment and rightFlood in the SPB network link-state information of this Multicast Tunnel address of end BEB equipment, triggers and generates baseIn the new multicast transmit tree of multicast source and multicast receivers;
Described BEB equipment forwards the subsequent packet of this particular multicast group by this new multicast transmit tree.
A kind of backbone network edge bridges BEB equipment, is applied to shortest path bridge SPB network, and this BEB establishesStandby comprising:
Maintenance module, for whether have the recipient of multicast group according to user's side and PW side, safeguardsUser multicast group information table;
Multicast Tunnel address administration module, for receiving specific multicast when described BEB equipment from user's side jointReporting for the first time after literary composition of group, distributes Multicast Tunnel address for this particular multicast group, and this Multicast Tunnel address comprises thisThe mark SPSourceID in the shortest path source of BEB equipment and this BEB equipment are this specific multicast componentThe multicast address of joining;
Forwarding tree generation module, for the user multicast group information table of safeguarding according to described maintenance module, by groupBroadcast tunnel address notification to the opposite end BEB equipment that has this particular multicast group recipient, and by this BEBFlood in the SPB network link-state information of this Multicast Tunnel address of equipment and opposite end BEB equipment, touchesBecome the multicast transmit tree based on multicast source and multicast receivers;
Forwarding module, for forwarding the subsequent packet of this particular multicast group by described multicast transmit tree.
Wherein, described maintenance module specifically for,
When described BEB equipment receives that from user's side joint multicast group joins message, and add according to described multicast groupEnter the multicast group address and the VLANTag that in message, carry, and receive the end that this multicast group joins messageMouthful, while determining the user multicast group information table self not recording should multicast group joining message, it is right to createThe user multicast group information table should multicast group joining message, the group of carrying during this multicast group is joined messageBroadcast group address and virtual LAN VLAN label Tag, SPB instance number and receive described multicast groupThe corresponding relation of the port joining message is recorded in this user multicast group information table, and by this user multicastGroup joins message and is transmitted to the opposite end BEB equipment in corresponding SPB example;
When receiving the multicast group that other BEB equipment forward by PW, described BEB equipment joins message,And according to this multicast group the join message multicast group address and the VLANTag that carry and receive this messagePort, while determining the user multicast group information table self not recording should multicast group joining message, createsTo the user multicast group information table should multicast group joining message, during being joined message, this multicast group carriesMulticast group address and virtual LAN VLAN label Tag, SPB instance number and receive described multicastThe corresponding relation of the PW that group joins message is recorded in this user multicast group information table.
Wherein, described maintenance module also for,
When described BEB equipment receives that from user's side joint multicast group joins message, and add according to described multicast groupEnter the multicast group address and the VLANTag that in message, carry, and receive the end that this multicast group joins messageMouthful, determine that, when self record has the user multicast group information table to should multicast group joining message, judgement shouldIn user multicast group information table, whether record and receive the local port that this multicast group joins message, if sentenceIt is yes breaking, and keeps this user multicast group information table, and by this user multicast group join message be transmitted to rightAnswer the opposite end BEB equipment in SPB example; Otherwise, this port is recorded to this user multicast group information tableXiang Zhong, and this user multicast group is joined message and is transmitted to the opposite end BEB equipment in corresponding SPB example;
When receiving the multicast group that other BEB equipment forward by PW, described BEB equipment joins message,And according to this multicast group the join message multicast group address and the VLANTag that carry and receive this messagePort, determines when self record has the user multicast group information table to should multicast group joining message judgementIn this user multicast group information table, whether record and receive the PW that this multicast group joins message, if judgementBe yes, keep this user multicast group information table; Otherwise, this PW is recorded to this user multicast group letterIn breath list item.
Wherein, described Multicast Tunnel address administration module specifically for, according to the group of carrying in the described literary composition of reporting for the first timeBroadcast group address and VLANTag, and SPB instance number is inquired about described user multicast group information table; If described inIn user multicast group information table, record the multicast group address and the VLAN that in the literary composition of reporting for the first time described in correspondence, carryTag, and the user multicast group information table of SPB instance number, and there is PW member in this list item,Described BEB equipment is this particular multicast group distribution Multicast Tunnel address according to described PW member.
Wherein, described forwarding module also for, if record described in correspondence in described user multicast group information tableThe report for the first time multicast group address and the VLANTag that carry in literary composition and the user multicast group information of SPB instance numberList item, and while there is not PW member in this list item, stops the data flow public network side of this particular multicast groupForward.
Wherein, described forwarding tree generation module specifically for, by this BEB equipment and opposite end BEB equipmentDescribed Multicast Tunnel address and SPB instance number are encapsulated in protocol massages in described SPB networkFlood, so that other equipment in described BEB equipment, opposite end BEB equipment and described SPB network are rawBecome the multicast transmit tree based on multicast source and multicast receivers.
Wherein, described maintenance module also for, in the time that the main frame of hanging under described BEB equipment exits multicast group,Delete in user multicast group information table corresponding to described multicast group local port that should main frame; If described inLocal port is last local port recording in this user multicast group information table, to corresponding SPBDescribed in opposite end BEB devices advertise in example, BEB equipment exits described multicast group, so that described opposite endDescribed in BEB unit deletion in user multicast group information table corresponding to multicast group to should BEB equipmentPW。
Wherein, described Multicast Tunnel address administration module also for, according to upgrade after user multicast group informationList item is that corresponding multicast group is distributed new Multicast Tunnel address;
Described forwarding tree generation module also for, according to upgrade after user multicast group information table, this is newMulticast Tunnel address notification is given the opposite end BEB equipment that has this particular multicast group recipient, and by being somebody's turn to doFlood in the SPB network link-state information of this Multicast Tunnel address of BEB equipment and opposite end BEB equipment,Trigger the new multicast transmit tree generating based on multicast source and multicast receivers;
Described forwarding module also for, forward the follow-up report of this particular multicast group by this new multicast transmit treeLiterary composition.
Wherein, described Multicast Tunnel address administration module specifically for, be corresponding multicast group address difference,But the multicast traffic stream that PW member is identical distributes identical Multicast Tunnel address.
In the above embodiment of the present invention, whether BEB equipment has multicast group according to user's side and PW sideRecipient, maintenance customer's multicast group information table, when BEB equipment is received particular multicast group from user's side jointReport for the first time after literary composition, be that this particular multicast group is distributed Multicast Tunnel address, this Multicast Tunnel address comprises this BEBThe SPSourceID of equipment and this BEB equipment are the multicast address that this particular multicast group is distributed, Jin ErgenAccording to the user multicast group information table of safeguarding, Multicast Tunnel address notification is given and had this particular multicast group receptionPerson's opposite end BEB equipment, and flood in SPB network by this BEB equipment and opposite end BEB equipmentThe link-state information of this Multicast Tunnel address, triggers the multicast generating based on multicast source and multicast receivers and turnsSend out tree; BEB equipment forwards the subsequent packet of this particular multicast group by described multicast transmit tree, realizedIn SPB territory, in example, carry out the forwarding of multicast traffic stream according to actual recipient, do not having far-end to receiveIn person's situation, do not allow multicast traffic stream to enter public network, saved Internet resources, improved system stabilityProperty.
Brief description of the drawings
The form of the multicast address that in Fig. 1 prior art, the Service Instance of SPBM bridge device structure is corresponding showsIntention;
Fig. 2 provides the form schematic diagram of a kind of Multicast Tunnel address for the embodiment of the present invention;
Fig. 3 provides a kind of schematic flow sheet of muticast data transmission method for the embodiment of the present invention;
The structural representation of a kind of BEB equipment that Fig. 4 provides for the embodiment of the present invention.
Detailed description of the invention
For the above-mentioned problems in the prior art, the embodiment of the present invention provides a kind of muticast data transmissionTechnical scheme, be applied to SPB network. In this technical scheme, BEB equipment according to user's side andWhether PW side has the recipient of multicast group, and maintenance customer's multicast group information table, when BEB equipment is from usingFamily side joint is received reporting for the first time after literary composition of particular multicast group, for this particular multicast group is distributed Multicast Tunnel address, this groupBroadcast address, tunnel and comprise that the SPSourceID of this BEB equipment and this BEB equipment are this particular multicast groupThe multicast address distributing, and then according to the user multicast group information table of safeguarding, Multicast Tunnel address notification is givenHave this particular multicast group recipient's opposite end BEB equipment, and by this BEB equipment and opposite end BEBFlood in the SPB network link-state information of this Multicast Tunnel address of equipment, triggers and generates based on multicast sourceMulticast transmit tree with multicast receivers; BEB equipment forwards this particular multicast group by described multicast transmit treeSubsequent packet.
Wherein, in the user multicast group information table of safeguarding in BEB equipment, can record this BEB equipment connectsThe multicast group address carrying during the multicast group of receiving joins message and VLANTag(label), SPB instance number(being I-SID) and receive the PW(PseudoWire that this multicast group joins message, pseudo-circuit) or/ and the corresponding relation of local port, its form can be as shown in table 1:
Table 1
Multicast group address VLAN Tag SPB instance number PW Local port
... ... ... ... ...
Wherein, multicast group address and VLANTag are respectively the multicast group that BEB equipment receives and add report(multicast group address that BEB equipment receives is IP multicast address to the multicast group address carrying in literary composition, BEBEquipment needs to be converted into Layer 2 Multicast MAC Address and preserves after receiving this IP multicast group address) andVLANTag; The VLANTag that SPB instance number is carried in being joined message according to multicast group by BEB andReceiving the port that this multicast group joins message determines; PW is that the opposite end BEB that BEB equipment receives establishesThe PW that standby this multicast group forwarding joins message; Local port is that user's side that BEB equipment receives sendsThe port that joins message of this multicast group.
BEB equipment is that the Multicast Tunnel address that multicast group is distributed can comprise that SPSourceID and BEB areThe multicast address (MCSource) that this multicast traffic stream (being multicast group) distributes, its form can be as figureShown in 2, wherein, SPBMAddressType is 01, mark Multicast Tunnel address corresponding to multicast source.
In embodiments of the present invention, BEB equipment is received reporting for the first time literary composition of particular multicast group, root from user's side jointThe multicast group address and the VLANTag that in the literary composition of reporting for the first time according to this, carry, and corresponding SPB instance number (byBEB equipment according to the VLANTag carrying in multicast traffic stream and receive this report for the first time civilian port determine)The user multicast group information table of inquiry self maintained, to determine whether the data flow of this particular multicast group exists thisWhether ground recipient (whether having corresponding local port member) and far-end recipient (there is correspondencePW member), and then according to Query Result, this literary composition of reporting for the first time is carried out to local replica or/and public network side copies andForward, realized the data flow of carrying out particular multicast group in SPB territory according to actual recipient in exampleForwarding, in the situation that there is no far-end recipient, do not allow multicast traffic stream to enter public network, saved netNetwork resource, has improved the stability of a system.
Below in conjunction with the accompanying drawing in embodiments of the invention, the technical scheme in embodiments of the invention is enteredThe description that row is clear, complete, obviously, the embodiments described below are only some embodiments of the present application,Instead of whole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not payingGo out the every other embodiment obtaining under creative work prerequisite, all belong to embodiments of the invention protectionsScope.
As shown in Figure 3, the schematic flow sheet of a kind of muticast data transmission method providing for the embodiment of the present invention,Can comprise the following steps:
Whether step 301, BEB equipment have the recipient of multicast group according to user's side and PW side,Maintenance customer's multicast group information table.
Concrete, in embodiments of the present invention, BEB equipment need to be received according to user's side and/or PW side jointTo multicast group maintenance customer's multicast group information table that joins message, user multicast group information table is corresponding in order to indicateWhether multicast group data stream there is local reception person and far-end recipient, and then is receiving multicast group data streamAfter determine whether need by this multicast packet flow to public network forward.
In embodiments of the present invention, in the time that BEB equipment receives that from user's side joint multicast group joins message, BEBMulticast group address and VLANTag that equipment carries in joining message according to this multicast group, and receive thisThe port that multicast group joins message judges the user's group self whether recording should multicast group joining messageWhether broadcast group information table (exists multicast group address, VLANTag to join message with this multicast group respectivelyIn the multicast group address that carries identical with VLANTag, and during SPB instance number and this multicast group join messageThe VLANTag carrying and to receive the SPB instance number that port that this multicast group joins message is corresponding identicalUser multicast group information table).
If do not record the user multicast group information table to should multicast group joining message in BEB equipment,BEB equipment creates the user multicast group information table to should multicast group joining message, and this multicast group is addedEnter multicast group address and VLANTag, the SPB instance number of carrying in message and receive this multicast groupThe corresponding relation of the port joining message is recorded in this user multicast group information table;
If while recording the user multicast group information table to should multicast group joining message in BEB equipment,BEB equipment further judges in the local port recording in this user multicast group information table whether compriseReceive the port that this multicast group joins message; If comprise, keep this user multicast group information table;If do not comprise, add this user multicast group information table to by receiving the port that this multicast group joins messageIn.
BEB equipment, from user's side joint receives that multicast group joins message, also needs this multicast group to join messageBe transmitted to the opposite end BEB equipment in corresponding SPB example.
When BEB equipment receives the group that other BEB equipment (opposite end BEB equipment) forward by PWWhen broadcasting group and joining message, BEB equipment is according to this multicast group the join message multicast group address and the VLAN that carryWhether Tag and receive the port of this message, judge and self record should multicast group joining messageUser multicast group information table.
If do not record the user multicast group information table to should multicast group joining message in BEB equipment,BEB equipment creates the user multicast group information table to should multicast group joining message, and this multicast group is addedThe multicast group address carrying in message and VLANTag, SPB instance number and receive this multicast group and addThe corresponding relation that enters the PW of message is recorded in this user multicast group information table;
If record the user multicast group information table to should multicast group joining message in BEB equipment,BEB equipment further judges in the PW recording in this user multicast group information table whether include receptionThe PW joining message to this multicast group; If comprise, keep this user multicast group information table; If do not wrapContain, add in this user multicast group information table receiving the PW that this multicast group joins message.
Wherein, the user multicast group information table of BEB plant maintenance can be as shown in table 2:
Table 2
Known according to table 2, in the SPB example that is 1024 in SPB instance number, this BEB equipment this localityUnder port Port1, Port2, hanging with multicast group address is that 0100-6E00-0101, VLANTag are 1 groupThe recipient of multicast data stream, and the opposite end BEB of this BEB equipment difference corresponding PW1, PW2 and PW3Equipment also hangs with down the recipient of this multicast traffic stream; In like manner, known according to this user multicast group information tableWhether BEB equipment exists this locality of other multicast traffic streams or/and far-end recipient.
Step 302, BEB equipment are received reporting for the first time literary composition of particular multicast group from user's side joint, are this particular groupBroadcast component and join Multicast Tunnel address; Wherein, this Multicast Tunnel address comprises the SPSourceID of this BEB equipmentAnd this BEB equipment is the multicast address that this particular multicast group is distributed.
Concrete, when BEB equipment is received reporting for the first time when literary composition of certain multicast traffic stream, this BEB from user's side jointEquipment is according to the multicast group address and the VLANTag that carry in this literary composition of reporting for the first time, and the inquiry of SPB instance number is usedFamily multicast group information table, and judge in user multicast group information table whether record carrying in the literary composition of should reporting for the first timeMulticast group address and VLANTag, and the user multicast group information table of SPB instance number.
If be judged as YES, determine that this multicast traffic stream exists this locality or/and far-end recipient, BEB equipmentMulticast traffic stream is forwarded accordingly; Otherwise, illustrate that this multicast traffic stream does not exist this locality and far-end to connectReceipts person, BEB equipment does not forward to this multicast traffic stream that (BEB equipment can be by corresponding multicast groupThe processing of data is set to abandon and be issued to hardware).
It should be noted that in the time that BEB equipment is received multicast traffic stream from user's side joint, if hardware forwardsIn table, not to forwarding-table item that should multicast traffic stream, BEB equipment can reporting for the first time this multicast traffic streamLiterary composition forwards control plane (being uploaded to CPU(CentralProcessingUnit, CPU) to), CPUReceive after this message, issue forwarding-table item that should multicast traffic stream to hardware, now, this is transmittedXiang Zhongwei comprises concrete outbound port information, BEB equipment according to this forwarding-table item by multicast traffic stream in correspondenceSPB example in broadcast (this SPB example can be after BEB equipment receives multicast traffic stream by hardPart determines according to receiving the VLANTag carrying in the port of this multicast traffic stream and multicast traffic stream, alsoCan be determined according to the VLANTag carrying in the port information of uploading and message by CPU and be issued to hardPart); Meanwhile, what CPU also can upload according to hardware report for the first time query text user multicast group information table, and according toThe user multicast group information table that inquires upgrade be issued to hardware to should multicast traffic stream transmit,So that BEB equipment carries out transmitting multicast data according to the forwarding-table item after upgrading.
Wherein, in determining the user multicast group information table of self maintained, BEB equipment records corresponding receptionWhen the user multicast group information table of the multicast traffic stream arriving, BEB equipment needs further judge this user's groupBroadcast in group list item whether have PW member, to determine whether this multicast traffic stream needs to forward to public network.
If there is not PW member's (but having local port member) in this user multicast group information table,BEB equipment thinks that this multicast traffic stream does not exist far-end recipient, does not need flow to forward to public network.BEB equipment carries out local replica according to local port member to this multicast traffic stream, and turns by corresponding portSend out. If there is PW member port in this user multicast group information table, BEB equipment is thought this multicastThere is far-end recipient in data flow, needs that this multicast packet is flowed to public network and forward.
Step 303, BEB equipment are according to the user multicast group information table of safeguarding, by Multicast Tunnel address notificationGive the opposite end BEB equipment that has this particular multicast group recipient, and by this BEB equipment and opposite endFlood in the SPB network link-state information of this Multicast Tunnel address of BEB equipment, trigger generate based onThe multicast transmit tree of multicast source and multicast receivers.
Concrete, determine in user multicast group list item and have PW member when BEB equipment, determine and needWhen multicast packet is flowed to public network forwarding, BEB equipment can be according to the PW member in this user multicast group list itemFor this multicast traffic stream distributes Multicast Tunnel address, and according to this user multicast group information table by this multicast tunnelTrack address is noticed to the opposite end BEB equipment that has this particular multicast group recipient.
BEB equipment is given Multicast Tunnel address notification after the BEB equipment of each opposite end, by this BEB equipment,And opposite end BEB equipment can be encapsulated in protocol massages by this Multicast Tunnel address and SPB instance numberIn (ISIS protocol massages), flood and (comprise BEB equipment and BCB to all devices in SPB network(BackboneCoreBridge, backbone network core bridges) equipment), and trigger each equipment in SPB networkCarry out SPT computing according to the protocol massages receiving, to obtain corresponding multicast transmit tree.
Wherein, the protocol massages that BEB equipment and opposite end BEB equipment flood to each equipment in SPB networkIn also carry self SPSourceID, in SPB network, each equipment receives after this protocol massages, canAccording to the SPSourceID wherein carrying, know the multicast traffic stream that this protocol massages is corresponding receiving equipment orThe BEB equipment that multicast source devices is corresponding, for example, if carry in the protocol massages that certain BEB equipment sendsSPSourceID identical with the SPSourceID in Multicast Tunnel address, this equipment is multicast source devicesCorresponding BEB equipment; If not identical, this equipment is the BEB equipment that multicast receiving equipment is corresponding. SPBIn network, each equipment receives after this protocol massages, carries out SPT computing according to source device and receiving equipment, rawMulticast transmit tree that in pairs should multicast traffic stream, carries out multicast packet flow forwarding according to this multicast transmit treeTime, multicast traffic stream can be transmitted to the BEB equipment that does not have far-end recipient and local reception person.
In embodiments of the present invention, BEB equipment is that multicast traffic stream distributes behind Multicast Tunnel address, and rightEnd BEB equipment receives behind the Multicast Tunnel address of BEB devices advertise, can store ground, multicast group tunnelThe corresponding relation of location and relative users multicast group information. Wherein, in BEB equipment and opposite end BEB equipmentThe address, multicast group tunnel of storage and the corresponding relation of relative users multicast group information can be as shown in table 3:
Table 3
Wherein, in embodiments of the present invention, for corresponding multicast group address difference, but PW member is identicalMulticast traffic stream, BEB equipment can distribute identical Multicast Tunnel address.
Correspondingly, in the time that BEB equipment need to distribute Multicast Tunnel address for multicast traffic stream, BEB equipmentCan inquire about self storage address, multicast group tunnel and the corresponding relation of relative users multicast group information, if treatDistribute the PW member corresponding to multicast traffic stream of Multicast Tunnel address, with the multicast group of BEB device storageThe PW member's phase recording in a certain list item in the corresponding relation of address, tunnel and relative users multicast group informationWith, BEB equipment can be given this multicast traffic stream by the Multicast Tunnel address assignment recording in this list item.
The user multicast group information table that BEB equipment determines self maintained if it should be noted that is to should groupWhile there is not PW member in the user multicast group information table of multicast data stream, BEB equipment is thought this groupThere is not far-end recipient in multicast data stream, does not need flow to forward to public network. In order to save Internet resources,BEB equipment stops this multicast packet and flows to the forwarding of public network side.
Wherein, if while also there is not local port in this user multicast group information table, BEB equipment is recognizedFor this multicast traffic stream does not exist local and far-end recipient, BEB equipment is locating this multicast traffic stream directlyReason is set to abandon and be issued to hardware; If there is local port in this user multicast group information table,BEB equipment thinks that this multicast traffic stream exists local reception person, and BEB equipment is according to user multicast information tableLocal port member in carries out local replica to multicast traffic stream, and forwards from corresponding port.
In determining the user multicast information table of self maintained, BEB equipment do not record the group that correspondence receivesBroadcast the multicast group address and the VLANTag that in the literary composition of reporting for the first time of group, carry, and the user multicast of SPB instance numberWhen group information table, BEB thinks that the data flow of this particular multicast group does not exist local and far-end recipient,BEB stops this locality forwarding of this multicast traffic stream and the forwarding to public network side.
For avoiding or reduce the packet loss of the multicast traffic stream of above-mentioned particular multicast group, set up at multicast transmit treeBefore coming, can forward by the mode of broadcast transmission in SPB territory the message of above-mentioned particular multicast group.
As a kind of specific implementation, in the time that BEB equipment receives the multicast traffic stream that user's side enters,BEB equipment can also carry out at hardware forwarding plane multicast in SPB example according to this multicast traffic streamMAC Address is searched, if this multicast mac address does not exist, illustrates that this multicast group does not also create, and needsCarry out multicast group creation operation, create and be used to indicate multicast traffic stream at SPB for this multicast MACThe multicast group list item of broadcasting in example, thus SPB can exist the subsequent packet of this multicast traffic streamBroadcast in SPB territory and no longer subsequent packet transmitted to CPU is carried out to the processing of above-mentioned steps 302-303. ShouldBEB equipment completes after multicast group establishment, and it is right in the user multicast group information table of self maintained, to inquire aboutThe list item of answering, if do not inquire, the data retransmission mode of this multicast traffic stream is set to abandon and issueTo hardware, to upgrade the multicast group list item of aforementioned establishment, now, the message of this multicast group can not continue at SPBBroadcast in territory; If inquire corresponding list item in user multicast group information table, can pass through above-mentioned steps302-303, generates multicast transmit tree that should multicast traffic stream, and upgrades firmly according to multicast transmit treeData retransmission mode in the multicast group list item of part forwarding plane, thereby for the follow-up report of this multicast traffic streamLiterary composition, can directly search multicast group list item at hardware layer, and then is forwarded to the far-end that has multicast receivers.
Step 304, BEB equipment forward the subsequent packet of this particular multicast group by this multicast transmit tree.
Further, in embodiments of the present invention, in the time that the main frame of hanging under BEB equipment exits multicast group,In user multicast group information table corresponding to BEB unit deletion multicast group to local port that should main frame;
If this local port is last local port recording in this user multicast group information table, BEBEquipment exits described multicast to BEB equipment described in the opposite end BEB devices advertise in corresponding SPB exampleGroup so that in user multicast group information table corresponding to opposite end this multicast group of BEB unit deletion to should BEBThe PW of equipment.
BEB equipment is that corresponding multicast group is distributed new group according to the user multicast group information table after upgradingBroadcast address, tunnel;
BEB equipment, according to the user multicast group information table after upgrading, is deposited new Multicast Tunnel address notificationThere iing this particular multicast group recipient's opposite end BEB equipment, and by this BEB equipment and opposite end BEBFlood in the SPB network link-state information of this Multicast Tunnel address of equipment, triggers and generates based on multicast sourceWith the new multicast transmit tree of multicast receivers, and forward this particular multicast group by this new multicast transmit treeSubsequent packet.
Can find out by above description, in the technical scheme providing in the embodiment of the present invention, BEB equipment rootWhether have the recipient of multicast group according to user's side and PW side, maintenance customer's multicast group information table, whenBEB equipment is received reporting for the first time literary composition of particular multicast group from user's side joint, for this particular multicast group is distributed multicast tunnelTrack address, this Multicast Tunnel address comprises that the SPSourceID of this BEB equipment and this BEB equipment areThe multicast address that this particular multicast group is distributed, and then according to the user multicast group information table of safeguarding, by multicast tunnelTrack address is noticed to the opposite end BEB equipment that has this particular multicast group recipient, and establishes by this BEBFlood in the SPB network link-state information of this Multicast Tunnel address of standby and opposite end BEB equipment, triggersGenerate the multicast transmit tree based on multicast source and multicast receivers; BEB equipment turns by described multicast transmit treeSend out the subsequent packet of this particular multicast group, realized in SPB territory entering in example according to actual recipientThe forwarding of row multicast traffic stream, in the situation that there is no far-end recipient, does not allow multicast traffic stream to enter public affairsNet, has saved Internet resources, has improved the stability of a system.
Based on the inventive concept of said method embodiment system, the embodiment of the present invention also provides a kind of BEBEquipment, can be applied to said method embodiment.
As shown in Figure 4, the structural representation of a kind of BEB equipment providing for the embodiment of the present invention, canComprise:
Whether maintenance module 41, for having the recipient of multicast group, dimension according to user's side and PW sideProtect user multicast group information table;
Multicast Tunnel address administration module 42, for receiving particular group when described BEB equipment from user's side jointBroadcast reporting for the first time after literary composition of group, distribute Multicast Tunnel address for this particular multicast group, this Multicast Tunnel address comprises thisThe mark SPSourceID in the shortest path source of BEB equipment and this BEB equipment are this specific multicast componentThe multicast address of joining;
Forwarding tree generation module 43, for the user multicast group information table of safeguarding according to described maintenance module 41,Multicast Tunnel address notification is had to this particular multicast group recipient's opposite end BEB equipment, and passed throughFlood in the SPB network Link State letter of this Multicast Tunnel address of this BEB equipment and opposite end BEB equipmentBreath, triggers the multicast transmit tree generating based on multicast source and multicast receivers;
Forwarding module 44, for forwarding the subsequent packet of this particular multicast group by described multicast transmit tree.
Wherein, described maintenance module 41 specifically for,
When described BEB equipment receives that from user's side joint multicast group joins message, and add according to described multicast groupEnter the multicast group address and the VLANTag that in message, carry, and receive the end that this multicast group joins messageMouthful, while determining the user multicast group information table self not recording should multicast group joining message, it is right to createThe user multicast group information table should multicast group joining message, the group of carrying during this multicast group is joined messageBroadcast group address and virtual LAN VLAN label Tag, SPB instance number and receive described multicast groupThe corresponding relation of the port joining message is recorded in this user multicast group information table, and by this user multicastGroup joins message and is transmitted to the opposite end BEB equipment in corresponding SPB example;
When receiving the multicast group that other BEB equipment forward by PW, described BEB equipment joins message,And according to this multicast group the join message multicast group address and the VLANTag that carry and receive this messagePort, while determining the user multicast group information table self not recording should multicast group joining message, createsTo the user multicast group information table should multicast group joining message, during being joined message, this multicast group carriesMulticast group address and virtual LAN VLAN label Tag, SPB instance number and receive described multicastThe corresponding relation of the PW that group joins message is recorded in this user multicast group information table.
Wherein, described maintenance module 41 also for,
When described BEB equipment receives that from user's side joint multicast group joins message, and add according to described multicast groupEnter the multicast group address and the VLANTag that in message, carry, and receive the end that this multicast group joins messageMouthful, determine that, when self record has the user multicast group information table to should multicast group joining message, judgement shouldIn user multicast group information table, whether record and receive the local port that this multicast group joins message, if sentenceIt is yes breaking, and keeps this user multicast group information table, and by this user multicast group join message be transmitted to rightAnswer the opposite end BEB equipment in SPB example; Otherwise, this port is recorded to this user multicast group information tableXiang Zhong, and this user multicast group is joined message and is transmitted to the opposite end BEB equipment in corresponding SPB example;
When receiving the multicast group that other BEB equipment forward by PW, described BEB equipment joins message,And according to this multicast group the join message multicast group address and the VLANTag that carry and receive this messagePort, determines when self record has the user multicast group information table to should multicast group joining message judgementIn this user multicast group information table, whether record and receive the PW that this multicast group joins message, if judgementBe yes, keep this user multicast group information table; Otherwise, this PW is recorded to this user multicast group letterIn breath list item.
Wherein, described Multicast Tunnel address administration module 42 specifically for, according to carrying in the described literary composition of reporting for the first timeMulticast group address and VLANTag, and SPB instance number is inquired about described user multicast group information table; IfIn described user multicast group information table, record the multicast group address that carries in the literary composition of reporting for the first time described in correspondence andVLANTag, and the user multicast group information table of SPB instance number, and in this list item, exist PW to becomeMember, described BEB equipment is this particular multicast group distribution Multicast Tunnel address according to described PW member.
Wherein, described forwarding module 44 also for, if record correspondence in described user multicast group information tableThe multicast group address and the VLANTag that in the described literary composition of reporting for the first time, carry, and the user multicast group of SPB instance numberInformation table, and while there is not PW member in this list item, stop the data flow public network of this particular multicast groupThe forwarding of side.
Wherein, described forwarding tree generation module 43 specifically for, by this BEB equipment and opposite end BEBEquipment is encapsulated in protocol massages described Multicast Tunnel address and SPB instance number at described SPB netIn network, flood, so that other in described BEB equipment, opposite end BEB equipment and described SPB network are establishedThe standby multicast transmit tree generating based on multicast source and multicast receivers.
Wherein, described maintenance module 41 also for, when the main frame of hanging under described BEB equipment exits multicast groupTime, delete in user multicast group information table corresponding to described multicast group local port that should main frame; IfDescribed local port is last local port recording in this user multicast group information table, to correspondenceDescribed in opposite end BEB devices advertise in SPB example, BEB equipment exits described multicast group, so that described rightDescribed in end BEB unit deletion in user multicast group information table corresponding to multicast group to should BEB equipmentPW。
Wherein, described Multicast Tunnel address administration module 42 also for, according to upgrade after user multicast groupInformation table is that corresponding multicast group is distributed new Multicast Tunnel address;
Described forwarding tree generation module 43 also for, according to upgrade after user multicast group information table, shouldNew Multicast Tunnel address notification is given the opposite end BEB equipment that has this particular multicast group recipient, and logicalCross the flood Link State of this Multicast Tunnel address of this BEB equipment and opposite end BEB equipment in SPB networkInformation, triggers the new multicast transmit tree generating based on multicast source and multicast receivers;
Described forwarding module 44 also for, by this new multicast transmit tree forward this particular multicast group afterContinuous message.
Wherein, described Multicast Tunnel address administration module 42 specifically for, for corresponding multicast group address notWith, but the identical multicast traffic stream of PW member distributes identical Multicast Tunnel address.
It will be appreciated by those skilled in the art that the module in the device in embodiment can describe according to embodimentBe distributed in the device of embodiment, also can carry out respective change and be positioned at and be different from of the present embodimentOr in multiple devices. The module of above-described embodiment can be merged into a module, also can further split intoMultiple submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present inventionThe mode that can add essential general hardware platform by software realizes, and can certainly pass through hardware, but veryUnder susceptible condition, the former is better embodiment. Based on such understanding, technical scheme of the present invention in essenceThe part in other words prior art being contributed can embody with the form of software product, this computerSoftware product is stored in a storage medium, comprises that some instructions are in order to make a station terminal equipment (passableMobile phone, personal computer, server, or two-layer switching equipment etc.) each embodiment of execution the present inventionDescribed method.
The above is only the preferred embodiment of the present invention, it should be pointed out that common for the artTechnical staff, under the premise without departing from the principles of the invention, can also make some improvements and modifications,These improvements and modifications also should be looked protection scope of the present invention.

Claims (18)

1. a muticast data transmission method, is applied to the backbone network edge in shortest path bridge SPB networkBridge BEB equipment, is characterized in that, the method comprises:
Whether BEB equipment has the recipient of multicast group, maintenance customer's group according to user's side and PW sideBroadcast group information table, described user multicast group information table is in order to indicate respective sets multicast group data stream whether to have receptionPerson;
Described BEB equipment is received reporting for the first time literary composition of particular multicast group from user's side joint, is this particular multicast groupDistribute Multicast Tunnel address, this Multicast Tunnel address comprises the mark in the shortest path source of this BEB equipmentSPSourceID and this BEB equipment are the multicast address that this particular multicast group is distributed;
Described BEB equipment, according to the user multicast group information table of safeguarding, is deposited Multicast Tunnel address notificationThere iing this particular multicast group recipient's opposite end BEB equipment, and by this BEB equipment and opposite end BEBFlood in the SPB network link-state information of this Multicast Tunnel address of equipment, triggers and generates based on multicast sourceMulticast transmit tree with multicast receivers;
Described BEB equipment forwards the subsequent packet of this particular multicast group by described multicast transmit tree.
2. the method for claim 1, is characterized in that, described BEB equipment according to user's side withAnd whether PW side have the recipient of multicast group, maintenance customer's multicast group information table, comprising:
When described BEB equipment receives that from user's side joint multicast group joins message, and add according to described multicast groupEnter the multicast group address and the VLANTag that in message, carry, and receive the end that this multicast group joins messageMouthful, while determining the user multicast group information table self not recording should multicast group joining message, described inBEB equipment creates the user multicast group information table to should multicast group joining message, and this multicast group is addedThe multicast group address carrying in message and virtual LAN VLAN label Tag, SPB instance number, Yi JijieThe corresponding relation of receiving the port that described multicast group joins message is recorded in this user multicast group information table,And this user multicast group is joined message and is transmitted to the opposite end BEB equipment in corresponding SPB example;
When receiving the multicast group that other BEB equipment forward by PW, described BEB equipment joins message,And according to this multicast group the join message multicast group address and the VLANTag that carry and receive this messagePort, while determining the user multicast group information table self not recording should multicast group joining message, described inBEB equipment creates the user multicast group information table to should multicast group joining message, and this multicast group is addedThe multicast group address carrying in message and virtual LAN VLAN label Tag, SPB instance number, Yi JijieThe corresponding relation of receiving the PW that described multicast group joins message is recorded in this user multicast group information table.
3. method as claimed in claim 2, is characterized in that, described BEB equipment according to user's side withAnd whether PW side have the recipient of multicast group, maintenance customer's multicast group information table, also comprises:
When described BEB equipment receives that from user's side joint multicast group joins message, and add according to described multicast groupEnter the multicast group address and the VLANTag that in message, carry, and receive the end that this multicast group joins messageMouthful, determine when self record has the user multicast group information table to should multicast group joining message, described inWhether BEB equipment judges to record in this user multicast group information table and receives this multicast group and join messagePort, if be judged as YES, keep this user multicast group information table, and this user multicast group addedMessage repeating is given the opposite end BEB equipment in corresponding SPB example; Otherwise, this port is recorded to this userIn multicast group information list item, and this user multicast group is joined message and is transmitted to the opposite end in corresponding SPB exampleBEB equipment;
When receiving the multicast group that other BEB equipment forward by PW, described BEB equipment joins message,And according to this multicast group the join message multicast group address and the VLANTag that carry and receive this messagePort, determines when self record has the user multicast group information table to should multicast group joining message, described inWhether BEB equipment judges to record in this user multicast group information table and receives this multicast group and join messagePW, if be judged as YES, keep this user multicast group information table; Otherwise, this PW is recorded toIn this user multicast group information table.
4. the method for claim 1, is characterized in that, described BEB equipment is received from user's side jointTo reporting for the first time after literary composition of particular multicast group, distribute Multicast Tunnel address for this particular multicast group, be specially:
Described BEB equipment according to described in the multicast group address and the VLANTag that report for the first time and carry in literary composition, andSPB instance number is inquired about described user multicast group information table;
The multicast group address carrying in literary composition of reporting for the first time described in correspondence if record in described user multicast group information tableAnd VLANTag, and the user multicast group information table of SPB instance number, and there is PW in this list itemMember, described BEB equipment is this particular multicast group distribution Multicast Tunnel address according to described PW member.
5. method as claimed in claim 4, is characterized in that, the method also comprises:
The multicast group address carrying in literary composition of reporting for the first time described in correspondence if record in described user multicast group information tableAnd VLANTag, and the user multicast group information table of SPB instance number, and do not exist in this list itemWhen PW member, described BEB equipment stops the forwarding of the data flow public network side of this particular multicast group.
6. the method for claim 1, is characterized in that, described BEB equipment is by this BEBFlood in the SPB network link-state information of this Multicast Tunnel address of equipment and opposite end BEB equipment, touchesBecome the multicast transmit tree based on multicast source and multicast receivers, be specially:
Described BEB equipment by this BEB equipment and opposite end BEB equipment by described Multicast Tunnel address,And SPB instance number is encapsulated in protocol massages and floods in described SPB network, so that described BEB establishesOther equipment in standby, opposite end BEB equipment and described SPB network generate and connect based on multicast source and multicastReceipts person's multicast transmit tree.
7. the method for claim 1, is characterized in that, the method also comprises:
In the time that the main frame of hanging under described BEB equipment exits multicast group, multicast described in described BEB unit deletionOrganize in corresponding user multicast group information table local port that should main frame;
If described local port is last local port recording in this user multicast group information table, instituteState BEB equipment and exit institute to BEB equipment described in the opposite end BEB devices advertise in corresponding SPB exampleState multicast group, so that user multicast group information table corresponding to multicast group described in the BEB unit deletion of described opposite endIn to PW that should BEB equipment.
8. method as claimed in claim 7, is characterized in that, the method also comprises:
Described BEB equipment is that corresponding multicast group is distributed new according to the user multicast group information table after upgradingMulticast Tunnel address;
Described BEB equipment is according to the user multicast group information table after upgrading, by this new Multicast Tunnel addressNotice to the opposite end BEB equipment that has this particular multicast group recipient, and by this BEB equipment and rightFlood in the SPB network link-state information of this Multicast Tunnel address of end BEB equipment, triggers and generates baseIn the new multicast transmit tree of multicast source and multicast receivers;
Described BEB equipment forwards the subsequent packet of this particular multicast group by this new multicast transmit tree.
9. the method as described in claim 1-8 any one, is characterized in that,
Described BEB equipment is corresponding multicast group address difference, but the identical multicast traffic stream of PW memberDistribute identical Multicast Tunnel address.
10. a backbone network edge bridges BEB equipment, is applied to shortest path bridge SPB network, its spyLevy and be, this BEB equipment comprises:
Maintenance module, for whether have the recipient of multicast group according to user's side and PW side, safeguardsUser multicast group information table, whether described user multicast group information table is in order to indicate respective sets multicast group data stream to depositRecipient;
Multicast Tunnel address administration module, for receiving specific multicast when described BEB equipment from user's side jointReporting for the first time after literary composition of group, distributes Multicast Tunnel address for this particular multicast group, and this Multicast Tunnel address comprises thisThe mark SPSourceID in the shortest path source of BEB equipment and this BEB equipment are this specific multicast componentThe multicast address of joining;
Forwarding tree generation module, for the user multicast group information table of safeguarding according to described maintenance module, by groupBroadcast tunnel address notification to the opposite end BEB equipment that has this particular multicast group recipient, and by this BEBFlood in the SPB network link-state information of this Multicast Tunnel address of equipment and opposite end BEB equipment, touchesBecome the multicast transmit tree based on multicast source and multicast receivers;
Forwarding module, for forwarding the subsequent packet of this particular multicast group by described multicast transmit tree.
11. BEB equipment as claimed in claim 10, is characterized in that, described maintenance module is specifically usedIn,
When described BEB equipment receives that from user's side joint multicast group joins message, and add according to described multicast groupEnter the multicast group address and the VLANTag that in message, carry, and receive the end that this multicast group joins messageMouthful, while determining the user multicast group information table self not recording should multicast group joining message, it is right to createThe user multicast group information table should multicast group joining message, the group of carrying during this multicast group is joined messageBroadcast group address and virtual LAN VLAN label Tag, SPB instance number and receive described multicast groupThe corresponding relation of the port joining message is recorded in this user multicast group information table, and by this user multicastGroup joins message and is transmitted to the opposite end BEB equipment in corresponding SPB example;
When receiving the multicast group that other BEB equipment forward by PW, described BEB equipment joins message,And according to this multicast group the join message multicast group address and the VLANTag that carry and receive this messagePort, while determining the user multicast group information table self not recording should multicast group joining message, createsTo the user multicast group information table should multicast group joining message, during being joined message, this multicast group carriesMulticast group address and virtual LAN VLAN label Tag, SPB instance number and receive described multicastThe corresponding relation of the PW that group joins message is recorded in this user multicast group information table.
12. BEB equipment as claimed in claim 11, is characterized in that, described maintenance module also for,
When described BEB equipment receives that from user's side joint multicast group joins message, and add according to described multicast groupEnter the multicast group address and the VLANTag that in message, carry, and receive the end that this multicast group joins messageMouthful, determine that, when self record has the user multicast group information table to should multicast group joining message, judgement shouldIn user multicast group information table, whether record and receive the port that this multicast group joins message, if be judged asBe, keep this user multicast group information table, and this user multicast group is joined message and is transmitted to correspondenceOpposite end BEB equipment in SPB example; Otherwise, this port is recorded to this user multicast group information tableIn, and this user multicast group is joined message and is transmitted to the opposite end BEB equipment in corresponding SPB example;
When receiving the multicast group that other BEB equipment forward by PW, described BEB equipment joins message,And according to this multicast group the join message multicast group address and the VLANTag that carry and receive this messagePort, determines when self record has the user multicast group information table to should multicast group joining message judgementIn this user multicast group information table, whether record and receive the PW that this multicast group joins message, if judgementBe yes, keep this user multicast group information table; Otherwise, this PW is recorded to this user multicast group letterIn breath list item.
13. BEB equipment as claimed in claim 10, is characterized in that,
Described Multicast Tunnel address administration module specifically for, according to the multicast group ground carrying in the described literary composition of reporting for the first timeLocation and VLANTag, and SPB instance number is inquired about described user multicast group information table; If described user's groupBroadcast group and record the multicast group address and the VLANTag that in the literary composition of reporting for the first time described in correspondence, carry in information table, andThe user multicast group information table of SPB instance number, and in this list item, there is PW member, described BEBEquipment is this particular multicast group distribution Multicast Tunnel address according to described PW member.
14. BEB equipment as claimed in claim 13, is characterized in that,
Described forwarding module is also for, the literary composition of reporting for the first time described in correspondence if record in described user multicast group information tableIn the multicast group address and the VLANTag that carry, and the user multicast group information table of SPB instance number,And while there is not PW member in this list item, stop the forwarding of the data flow public network side of this particular multicast group.
15. BEB equipment as claimed in claim 10, is characterized in that,
Described forwarding tree generation module specifically for, by this BEB equipment and opposite end BEB equipment will described inMulticast Tunnel address and SPB instance number are encapsulated in protocol massages and flood in described SPB network,So that other equipment in described BEB equipment, opposite end BEB equipment and described SPB network generate based onThe multicast transmit tree of multicast source and multicast receivers.
16. BEB equipment as claimed in claim 10, is characterized in that,
Described maintenance module also for, in the time that the main frame of hanging under described BEB equipment exits multicast group, deleteIn user multicast group information table corresponding to described multicast group to local port that should main frame; If described this localityPort is last local port recording in this user multicast group information table, to corresponding SPB exampleDescribed in interior opposite end BEB devices advertise, BEB equipment exits described multicast group, so that described opposite end BEBDescribed in unit deletion in user multicast group information table corresponding to multicast group to PW that should BEB equipment.
17. BEB equipment as claimed in claim 16, is characterized in that,
Described Multicast Tunnel address administration module also for, according to upgrade after user multicast group information table beCorresponding multicast group is distributed new Multicast Tunnel address;
Described forwarding tree generation module also for, according to upgrade after user multicast group information table, this is newMulticast Tunnel address notification is given the opposite end BEB equipment that has this particular multicast group recipient, and by being somebody's turn to doFlood in the SPB network link-state information of this Multicast Tunnel address of BEB equipment and opposite end BEB equipment,Trigger the new multicast transmit tree generating based on multicast source and multicast receivers;
Described forwarding module also for, forward the follow-up report of this particular multicast group by this new multicast transmit treeLiterary composition.
18. BEB equipment as described in claim 10-17 any one, is characterized in that,
Described Multicast Tunnel address administration module specifically for, be corresponding multicast group address difference, but PWThe multicast traffic stream that member is identical distributes identical Multicast Tunnel address.
CN201310033294.3A 2013-01-25 2013-01-25 A kind of muticast data transmission method and apparatus Active CN103067286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310033294.3A CN103067286B (en) 2013-01-25 2013-01-25 A kind of muticast data transmission method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310033294.3A CN103067286B (en) 2013-01-25 2013-01-25 A kind of muticast data transmission method and apparatus

Publications (2)

Publication Number Publication Date
CN103067286A CN103067286A (en) 2013-04-24
CN103067286B true CN103067286B (en) 2016-06-08

Family

ID=48109754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310033294.3A Active CN103067286B (en) 2013-01-25 2013-01-25 A kind of muticast data transmission method and apparatus

Country Status (1)

Country Link
CN (1) CN103067286B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579704B (en) * 2013-10-18 2018-09-04 新华三技术有限公司 The retransmission method and device of multicast data message
CN105376131B (en) * 2014-07-30 2019-01-25 新华三技术有限公司 A kind of multicast moving method and the network equipment
CN104320339B (en) * 2014-09-18 2021-02-05 无锡锐格思信息技术有限公司 Method for forming correct forwarding table through CPU periodic broadcast or multicast
CN105337746B (en) * 2015-09-23 2018-11-13 浙江宇视科技有限公司 A kind of transmission method and device of multicast packet
CN106059962B (en) * 2016-06-07 2019-09-17 新华三技术有限公司 The retransmission method and device of multicast message in a kind of SPBM network
CN110392347A (en) * 2018-04-16 2019-10-29 上海华为技术有限公司 Data transmission method and device
US11296966B2 (en) 2019-11-27 2022-04-05 Rockwell Collins, Inc. System and method for efficient information collection and distribution (EICD) via independent dominating sets
US11665658B1 (en) 2021-04-16 2023-05-30 Rockwell Collins, Inc. System and method for application of doppler corrections for time synchronized transmitter and receiver
US11726162B2 (en) 2021-04-16 2023-08-15 Rockwell Collins, Inc. System and method for neighbor direction and relative velocity determination via doppler nulling techniques
US11290942B2 (en) 2020-08-07 2022-03-29 Rockwell Collins, Inc. System and method for independent dominating set (IDS) based routing in mobile AD hoc networks (MANET)
US11977173B2 (en) 2019-11-27 2024-05-07 Rockwell Collins, Inc. Spoofing and denial of service detection and protection with doppler nulling (spatial awareness)
US11737121B2 (en) 2021-08-20 2023-08-22 Rockwell Collins, Inc. System and method to compile and distribute spatial awareness information for network
US11646962B1 (en) 2020-10-23 2023-05-09 Rockwell Collins, Inc. Zero overhead efficient flooding (ZOEF) oriented hybrid any-cast routing for mobile ad hoc networks (MANET)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588296A (en) * 2009-06-16 2009-11-25 杭州华三通信技术有限公司 Method, head node and tail node of forwarding multicasting message
CN101771611A (en) * 2009-12-31 2010-07-07 迈普通信技术股份有限公司 Method for precisely forwarding IP multicast data in VLAN and forward device
CN102075439A (en) * 2011-02-22 2011-05-25 杭州华三通信技术有限公司 Multicast message transmitting method and routing equipment
CN102413059A (en) * 2011-12-27 2012-04-11 杭州华三通信技术有限公司 Multicast forwarding method based on SPB (Shortest Path Bridging) network and SPBM (MAC-in-MAC SPB) bridge
CN102739521A (en) * 2012-06-04 2012-10-17 杭州华三通信技术有限公司 Multicast service realizing method and equipment thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588296A (en) * 2009-06-16 2009-11-25 杭州华三通信技术有限公司 Method, head node and tail node of forwarding multicasting message
CN101771611A (en) * 2009-12-31 2010-07-07 迈普通信技术股份有限公司 Method for precisely forwarding IP multicast data in VLAN and forward device
CN102075439A (en) * 2011-02-22 2011-05-25 杭州华三通信技术有限公司 Multicast message transmitting method and routing equipment
CN102413059A (en) * 2011-12-27 2012-04-11 杭州华三通信技术有限公司 Multicast forwarding method based on SPB (Shortest Path Bridging) network and SPBM (MAC-in-MAC SPB) bridge
CN102739521A (en) * 2012-06-04 2012-10-17 杭州华三通信技术有限公司 Multicast service realizing method and equipment thereof

Also Published As

Publication number Publication date
CN103067286A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN103067286B (en) A kind of muticast data transmission method and apparatus
CN102035729B (en) Multicast data forwarding method
US8537816B2 (en) Multicast VPN support for IP-VPN lite
CN103873373A (en) Multicast data message forwarding method and equipment
US20140226531A1 (en) Multicast support for EVPN-SPBM based on the mLDP signaling protocol
CN101160902B (en) Data forwarding method and switching arrangement
CN100433730C (en) Method and system of multicast and video-on-demand
CN109218159B (en) Method, system, provider edge device and customer edge device for notifying information
CN103703722A (en) Bootstrapping fault detection sessions over a p2mp tunnel
US9288067B2 (en) Adjacency server for virtual private networks
CN104378296A (en) Message forwarding method and device
CN104378297A (en) Message forwarding method and device
US20140226525A1 (en) Safe Multicast Distribution with Predictable Topology Changes
CN103117935B (en) Be applied to multicast data forwarding method and the device of multi-home networking
US9112711B2 (en) Optimizing OTV multicast traffic flow for site local receivers
CN102916888B (en) Multicast data transmission method and multicast data transmission device
CN104579981B (en) A kind of multicast data packet forwarding method and apparatus
CN106059861B (en) System and method for constructing minimum dynamic aggregation tree of Internet of things in distributed mode
CN102064999B (en) Method and equipment for forwarding multicast message
CN104539545A (en) Multicast message forwarding method and device of TRILL network
CN104702506A (en) Message transmission method, network node and message transmission system
CN104468139B (en) A kind of multicast data packet forwarding method and apparatus
CN100484055C (en) Method for implementing multicast spanning VLAN
CN102412976B (en) Method and device for processing multicase messages in provider backbone bridge (PBB) network
CN102724126A (en) Method, device and equipment for forwarding Ethernet tree (E-tree) service message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20230627

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right