CN103685040B - MD (multicast domain) based multicast VPN (virtual private network) traffic optimization method and equipment - Google Patents

MD (multicast domain) based multicast VPN (virtual private network) traffic optimization method and equipment Download PDF

Info

Publication number
CN103685040B
CN103685040B CN201310636561.6A CN201310636561A CN103685040B CN 103685040 B CN103685040 B CN 103685040B CN 201310636561 A CN201310636561 A CN 201310636561A CN 103685040 B CN103685040 B CN 103685040B
Authority
CN
China
Prior art keywords
multicast
private network
data
equipment
data flow
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
CN201310636561.6A
Other languages
Chinese (zh)
Other versions
CN103685040A (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 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 CN201310636561.6A priority Critical patent/CN103685040B/en
Publication of CN103685040A publication Critical patent/CN103685040A/en
Application granted granted Critical
Publication of CN103685040B publication Critical patent/CN103685040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an MD (multicast domain) based multicast VPN (virtual private network) traffic optimization method and equipment. The technical scheme includes that the control equipment acquires multicast tunnel resource information configured by a source PE (provider edge) device for a VPN and private network multicast streams needing to be received by each PED device, when a multicast distribution tree switching request sent by the source PE device aiming for the private network multicast streams is received, data multicast group addresses are allocated to the private network multicast streams according to the acquired information, and the source PE device switches the private network multicast streams to Data-MDTs (multicast distribution trees) corresponding to the private network multicast streams. By the method and equipment, multicast tunnel resources on the PE devices can be saved, consumption of public network multicast routing table items and invalid flooding of public network multicast traffic are reduced.

Description

Multicast vpn flow optimization method based on md and equipment
Technical field
The application is related to communication technical field, particularly to a kind of multicasting virtual private network (multicast vpn, mvpn) Flow optimization method and equipment.
Background technology
Multicast vpn is the multicast transmission technology based on mpls l3vpn real-time performance.Using multicast domain (multicast Domain, md) scheme realize multicast vpn, referred to as md mvpn.
The basic thought of md scheme is: disposes Protocol Independent Multicast (protocol independent in backbone network multicast;Hereinafter referred to as: pim) Routing Protocol, and distribute unique multicast address in a backbone network for each mvpn, claim For acquiescence multicast group (default-group).Be connected with mvpn in backbone network Provider Edge (provider edge, Pe) equipment, is public network acquiescence multicast distribution tree (the default multicast that mvpn sets up default-group Distribution tree, default-mdt).Need through backbone network from source pe equipment when there being private network multicast message in mvpn When being transferred to another pe equipment, it is default-group's that this private network multicast message is packaged into destination address by source pe equipment Public network multicast message, and forward in default-mdt.The public network receiving multicast message is unsealed by receiving terminal pe equipment Dress, is then forwarded in the private network of receiving terminal pe equipment connection again.
All pe equipment due to being connected with mvpn all can add the corresponding default-mdt of mvpn, the purpose after encapsulation The public network multicast message for default-group for the address can be forwarded to all pe equipment in mvpn, even if receiving terminal pe sets The reception demand of the standby private network being connected not this private network multicast message, also can receive the destination address after encapsulation is The public network multicast message of default-group, the reception finding not this private network multicast message in private network after decapsulation needs When asking, then this private network multicast message is abandoned, so cause unnecessary bandwidth waste.
In order to solve the above problems, md scheme proposes one and weighs the folding between multicast routing optimization and extensibility Middle method: for the multicast service that flow-rate ratio is larger, individually distribute a multicast distribution tree for it, and for less group of flow Broadcast business, then unification uses default-mdt.
It is referred to as data multicast distribution tree (data-multicast for the multicast distribution tree that specific vpn multicast group is set up Distribution tree, data-mdt).Pe equipment (source pe equipment) the upper setting certain condition being located in multicast source, typically For threshold value, if the flow from multicast source has exceeded this threshold value, this pe equipment is the group that this multicast source distributes a public network Address, is designated as data multicast group (data-group), and is sent out data mdt join message, to notify default-mdt On other pe equipment it will for this multicast source use a new multicast distribution tree.Disappear for receiving data mdt join The pe equipment of breath, only when the private network that this pe equipment connects has the reception demand to the multicast data flow of this multicast source, just can add This new multicast distribution tree, thus, the multicast data flow of this multicast source only can be sent to pe equipment in need.
One data-mdt is individually set up by the private network multicast data flow larger for flow, distributes a public network Multicast Tunnel, Bandwidth waste can be prevented effectively from, but also bring new problem, be illustrated with an example below:
Referring to Fig. 1, Fig. 1 is prior art md mvpn networking schematic diagram, as shown in figure 1, pe1, pe2, pe3, pe4 are respectively Connect ce1 place private network, ce2 place private network, ce3 place private network, ce4 place private network, and be connected to same mvpn(connect pe1, The network of pe2, pe3, pe4, in figure is not drawn into the p equipment in this network).Where it is assumed that in pe1, being vpn1 configuration Default-group is (1.2.1.1,226.0.0.1), being configured to of data-group address pool (226.0.0.2~ 226.0.0.3).
First, squeezed into the private network multicast data flow of (1.1.1.1,225.0.0.1) in ce1 it is assumed that this private network multicast data flow Flow is larger and ce2 and ce3 needs to receive this private network multicast data flow, then pe1 takes out a public network from data-group address pool Group address (hypothesis is 226.0.0.2) distribute to this private network multicast data flow, generating with (1.2.1.1,226.0.0.2) is encapsulation Data-mdt1, because the private network that pe2 and pe3 connects all has the reception demand to this private network multicast data flow, therefore all adds data- Mdt1, this private network multicast data flow only can be sent to pe2 and pe3, without being sent to pe4.
Then, squeeze into the privately owned net multicast data flow of (1.1.1.1,225.0.0.2) in ce1 it is assumed that this private network multicast data flow Flow is larger and ce2 and ce3 needs to receive this private network multicast data flow, then pe1 not yet will be allocated out in data-group address pool The group address (226.0.0.3) of the public network going distributes to this private network multicast data flow, and generating with (1.2.1.1,226.0.0.3) is encapsulation Data-mdt2, due to pe2 and pe3 connect private network all have the reception demand to this private network multicast data flow, therefore all add Data-mdt2, this private network multicast data flow only can be sent to pe2 and pe3, without being sent to pe4.
So far, in pe1, data-group address pool has run out of, and all generates correspondence on pe1 and middle p equipment In the private network multicast data flow of (1.1.1.1,225.0.0.1) (1.2.1.1,226.0.0.2) and corresponding to (1.1.1.1, Two public network multicast routing table items of (1.2.1.1, the 226.0.0.3) of private network multicast data flow 225.0.0.2).Wherein, The transmission path of the private network multicast data flow of (1.1.1.1,225.0.0.1) and (1.1.1.1,225.0.0.2) is as shown in Figure 2 Data-mdt switches schematic diagram, and wherein, the fine line with arrow represents the biography of the private network multicast data flow of (1.1.1.1,225.0.0.1) Defeated path, the heavy line with arrow represents the transmission path of the private network multicast data flow of (1.1.1.1,225.0.0.2).
Continue, ce1 squeezes into the privately owned net multicast data flow of (1.1.1.1,225.0.0.3) it is assumed that this private network multicast data flow Flow is larger and ce3 and ce4 needs to receive this private network multicast data flow, now because the data-group address pool in pe1 has disappeared Consume, do not had the tunnel resource of free time can use, the resource having separated before this can only be multiplexed.It is assumed that by the public affairs having dispensed Net group address 226.0.0.2 distributes this private network multicast data flow, generates the data-mdt3 being encapsulation with (1.2.1.1,226.0.0.2), Then because the private network that pe3 and pe4 connects all has the reception demand to this private network multicast data flow, therefore all add data-mdt3.Aobvious So, due to being that data-mdt1 and data-mdt3 uses identical tunnel resource, finally it is merged into a shared data-mdt, The private network multicast data flow of (1.1.1.1,225.0.0.1) and (1.1.1.1,225.0.0.3) uses the data-mdt that this shares, because This, the private network multicast data flow of (1.1.1.1,225.0.0.1) and (1.1.1.1,225.0.0.3) finally all can be sent to pe2, Pe3 and pe4.Result data-mdt as shown in Figure 3 shares schematic diagram, the fine line with arrow represent (1.1.1.1, The transmission path of private network multicast data flow 225.0.0.1), the heavy line with arrow represents the private network of (1.1.1.1,225.0.0.2) The transmission path of multicast data flow, the dotted line with arrow represents the transmission path of the private network multicast data flow of (1.1.1.1,225.0.0.2), its In, pe2 receive (1.1.1.1,225.0.0.3) after private network multicast data flow need abandon, pe4 receive (1.1.1.1, 225.0.0.1 private network multicast data flow) needs to abandon, and this shared data-mdt has been degenerated to default-mdt.
By examples detailed above as can be seen that in extreme circumstances, need individually to set up a data- for every private network multicast data flow Mdt, this is a great pressure to the tunnel resource on pe equipment, and, it is inverted shared data-mdt when tunnel resource is not enough When, may lead to share data-mdt being degenerated to default-mdt, occur that public network flux of multicast is invalid to flood.Simultaneously because Data-mdt is in the actual multicast presented in (p-s, p-g) public network multicast routing table item, to pe equipment and p equipment of public network Route resource consumes also very big.
Content of the invention
In view of this, it is an object of the invention to provide a kind of multicast vpn flow optimization method based on md, the method energy Enough save the Multicast Tunnel resource on pe equipment, reduce the consumption of public network multicast routing table item and the invalid of public network flux of multicast Flooding.
For achieving the above object, the technical scheme that the present invention provides is:
A kind of multicast vpn flow optimization method based on md, comprising:
The Multicast Tunnel resource information of acquisition source pe equipment, it is described that described Multicast Tunnel resource information includes source pe equipment The data multicast group address pond of vpn configuration;
Obtain the private network multicast stream information that each pe equipment needs to receive, this pe equipment is added to this pe equipment to be needed to receive Recipient's pe cluster tool of each private network multicast data flow in;
When receiving the multicast distribution tree handover request that source pe equipment is directed to private network multicast data flow, according to this private network multicast data flow Whether the pe cluster tool that recipient's pe cluster tool associates with allocated each data multicast group address judges in the pe equipment of source There is the data multicast distribution tree data-mdt mating this private network multicast data flow,
If it is not, then selecting a unappropriated data multicast group address to distribute to this private from data multicast group address pond Net multicast data flow, notifies source pe equipment to set up the corresponding data-mdt of this data multicast group address and be switched to this private network multicast data flow The data-mdt of this foundation, recipient's pe cluster tool of this private network multicast data flow is incorporated to the pe of this data multicast group address association Cluster tool;
If it is, notifying source pe equipment that this private network multicast data flow is switched to the data-mdt of this coupling, and by this private network Recipient's pe cluster tool of multicast data flow is incorporated to the pe equipment of the data-mdt corresponding data multicast group address association of this coupling Set.
A kind of control device, is applied to the networking using the multicast vpn based on md, and this control device includes: acquiring unit, Receiving unit, control unit, transmitting element;
Described acquiring unit, for obtaining the Multicast Tunnel resource information of source pe equipment, described Multicast Tunnel resource information The data multicast group address pond being described vpn configuration including source pe equipment;The private network group receiving for obtaining each pe equipment to need Broadcast stream information, this pe equipment is added in recipient's pe cluster tool of each private network multicast data flow that this pe equipment needs reception;
Described receiving unit, is directed to the multicast distribution tree handover request of each private network multicast data flow for receiving source pe equipment;
Described control unit, receives, for receiving unit, the multicast distribution tree switching that source pe equipment is directed to private network multicast data flow During request, the pe that the recipient's pe cluster tool according to this private network multicast data flow associates with allocated each data multicast group address sets With the presence or absence of the data multicast distribution tree data-mdt mating this private network multicast data flow in the pe equipment of standby set judgement source, if not, A unappropriated data multicast group address is then selected to distribute to this private network multicast data flow from data multicast group address pond, instruction is sent out Unit is sent to notify source pe equipment to set up the corresponding data-mdt of this data multicast group address and this private network multicast data flow is switched to this The data-mdt setting up, the pe that recipient's pe cluster tool of this private network multicast data flow is incorporated to the association of this data multicast group address sets Standby set, if it is, instruction sending unit notifies source pe equipment that this private network multicast data flow is switched to the data-mdt of this coupling, And recipient's pe cluster tool of this private network multicast data flow is incorporated to the data-mdt corresponding data multicast group address pass of this coupling The pe cluster tool of connection.
A kind of pe equipment, is applied to the networking using the multicast vpn based on md, this pe equipment, comprising: receiving unit, control Unit processed, transmitting element;
Described receiving unit, for this pe equipment as source pe equipment, the multicast tunnel that this pe equipment is described vpn configuration Road resource information is sent to control device, and described Multicast Tunnel resource information includes the data that this pe equipment is described vpn configuration Multicast group address pond;For this pe equipment as recipient's pe equipment, receive the pin in the private network that this pe equipment connects When adding request to the pim of private network multicast data flow, this private network multicast stream information is sent to control device by instruction sending unit;For Transmitting element sends after the multicast distribution tree handover request for a private network multicast data flow to control device, and receiving control apparatus are should The notice that private network multicast data flow returns after distributing a data multicast group address;
Described control unit, for this pe equipment as source pe equipment, detects the flow of each private network multicast data flow, when this private network When multicast data flow meets preset configuration condition, instruction sending unit sends the multicast distribution for this private network multicast data flow to control device Tree handover request, and receiving unit receive control device be this private network multicast data flow distribute a data multicast group address after return After the notice returned, the data-mdt with the data multicast group address distributed for public network multicast group address is set up according to this notice, will This private network multicast data flow is switched to this data-mdt.
In sum, in the present invention, control device obtain source pe equipment by the Multicast Tunnel resource information configuring for vpn with And each pe equipment needs the private network multicast data flow that receives, when receiving the multicast distribution for private network multicast data flow that source pe equipment sends During tree handover request, it is that this private network multicast data flow distributes data multicast group address according to the information obtaining, source pe equipment is by this private network Multicast data flow is switched to the corresponding data-mdt of this private network multicast data flow.The present invention can save the Multicast Tunnel resource on pe equipment, Reduce the consumption of public network multicast routing table item, reduce the invalid flooding of public network flux of multicast.
Brief description
Fig. 1 is prior art md mvpn networking schematic diagram;
Fig. 2 is prior art data-mdt switching schematic diagram;
Fig. 3 is that prior art data-mdt shares schematic diagram;
Fig. 4 is the multicast vpn flow optimization method flow chart based on md for the embodiment of the present invention;
Fig. 5 is embodiment of the present invention mvpn networking schematic diagram;
Fig. 6 is that embodiment of the present invention data-mdt shares schematic diagram;
Fig. 7 is the structural representation of control device provided in an embodiment of the present invention;
Fig. 8 is the structural representation of pe equipment provided in an embodiment of the present invention.
Specific embodiment
For making the objects, technical solutions and advantages of the present invention become more apparent, develop simultaneously embodiment referring to the drawings, right Scheme of the present invention is described in further detail.
In the present invention, based on the thought of software defined network (software-defined networking, sdn), utilize In sdn network, sdn controller can obtain the feature of whole network equipment situation in real time, in the group using the multicast vpn based on md In net, dispose a control device, obtain Multicast Tunnel resource information and reception in the pe equipment of source using this control device Person's pe equipment needs the private network multicast stream information receiving.When source pe equipment needs to initiate data-mdt switching, control device is comprehensive Close the actual conditions considering all pe equipment, select optimum data-mdt to realize sharing, save on pe such that it is able to reach Multicast Tunnel resource, reduces the consumption of public network multicast routing table item, and the purpose reducing the invalid flooding of public network flux of multicast.
In the present invention, each the pe equipment in vpn network is probably source pe equipment it is also possible to set as recipient pe Standby.For a specific private network multicast data flow, then (this pe equipment is connected to this private network multicast data flow institute to only one of which source pe equipment In private network), other pe equipment are then as the corresponding potentially possible recipient's pe equipment of this private network multicast data flow.
Below using one of vpn pe equipment as source pe equipment, other pe equipment are set for source pe as with this pe equipment Potentially possible recipient's pe equipment of standby all private network multicast data flows, the technical scheme that the present invention provides is described in detail.
Referring to Fig. 4, Fig. 4 is the multicast vpn flow optimization method flow chart based on md for the embodiment of the present invention, mainly include with Lower step:
Step 401, control device obtain the Multicast Tunnel resource information of source pe equipment.
Multicast Tunnel resource information includes the acquiescence multicast group address (default- that source pe equipment is described vpn configuration Group) data multicast group address pond (data-group address pool), wherein, data multicast group address pond include one or Multiple data multicast group address.
Control device for example can send out request to source pe equipment with the Multicast Tunnel resource information of active obtaining source pe equipment, The Multicast Tunnel resource information configuring for described vpn is sent to control device according to the request of control device by source pe equipment.
Control device can also passively obtain the Multicast Tunnel resource information of source pe equipment, and such as source pe equipment active will be The Multicast Tunnel resource information of described vpn configuration is sent to control device.
Step 402, control device obtain the private network multicast stream information that each pe equipment needs to receive, and this pe equipment is added to This pe equipment needs in the recipient's pe cluster tool of each private network multicast data flow receiving.
Control device can obtain the private network multicast stream information that each pe equipment needs to receive in real time.When a pe equipment receives To the pim(protocol independent multicast for private network multicast data flow of the private network connecting from this pe equipment, Protocol Independent Multicast) add request when, this private network multicast stream information can be sent to control device, wherein, private network multicast data flow Information specifically may include that vpn information, c-s(private network multicast source address), c-g(private network multicast group address) etc..Control device connects It is possible to determine that this pe equipment needs to receive this private network multicast data flow after receiving this private network multicast stream information, and, in view of follow-up Source pe equipment may need to set up data-mdt for this private network multicast data flow, also this pe equipment is added to connecing of this private network multicast data flow In receipts person's pe cluster tool, follow-up recipient's pe cluster tool according to this private network multicast data flow determines to be continuing with Default-mdt and other private network multicast data flow share data-mdt or set up new data-mdt for this private network multicast data flow.
Step 403, reception source pe equipment are directed to the multicast distribution tree handover request of private network multicast data flow.
In actual applications, pe equipment in source needs the flow of each private network multicast data flow is monitored, when this private network multicast After the flow of stream exceedes certain threshold value, determining needs to set up single data-mdt for this private network multicast data flow, at this moment, source pe equipment The not operation of reselection data multicast group address or shared data-mdt, but send multicast distribution tree switching to control device and ask Ask, executed according to actual conditions by control device select data multicast group address or shared data-mdt operation (namely follow-up Step 404,405 and 406).
Step 404, the recipient's pe cluster tool according to this private network multicast data flow and allocated each data multicast group address The pe cluster tool of association judges to whether there is the data multicast distribution tree data- mating this private network multicast data flow in the pe equipment of source Mdt, if it is, execution step 406, otherwise, execution step 405.
The pe that recipient's pe cluster tool according to this private network multicast data flow associates with allocated each data multicast group address Cluster tool judges that the method that whether there is the data multicast distribution tree data-mdt mating this private network multicast data flow in source device is: The pe equipment that recipient's pe cluster tool of this private network multicast data flow association is associated with allocated all data multicast group address Set is compared one by one, if there is the reception of pe cluster tool and this private network multicast data flow of a data multicast group address association Person's pe cluster tool identical it is determined that there is the data-mdt mating this private network multicast data flow, and this data multicast in the pe equipment of source The corresponding data-mdt of group address mates this private network multicast data flow.
Before executing this step, can also first judge that source device is whether the default-mdt that described vpn sets up mates this Private network multicast data flow, if it is, can determine that all pe equipment in vpn are required for receiving this private network multicast data flow, only need to be This private network multicast data flow is transmitted on default-mdt, accordingly, it would be desirable to the source of notice pe equipment continues in default-mdt transfer Send out this private network multicast data flow, if it is not, then can determine that the not all pe equipment in vpn is required for receiving this private network multicast data flow, If continuing this private network multicast data flow is transmitted on default-mdt, unnecessary bandwidth resources can be caused to waste, at this moment, permissible Continue executing with judging in this step and in source device, whether there is the operation of the data-mdt mating this private network multicast data flow.
Wherein, judge that source device is the method whether default-mdt that described vpn sets up mates this private network multicast data flow For: by recipient's pe cluster tool of this private network multicast data flow with described acquiescence multicast group address associate pe cluster tool (namely Be connected to all pe cluster tool in addition to the pe equipment of source of vpn) be compared, if identical it is determined that source device is institute The default-mdt stating vpn foundation mates this private network multicast data flow.Control device can obtain all pe equipment in vpn in advance Information, all pe equipment in addition to the pe equipment of source are added in the pe cluster tool of described acquiescence multicast group address association. All pe facility informations in vpn can be obtained it is also possible to be sent logical to control device from pe equipment active by way of configuring The mode accused makes control device obtain all pe facility informations in vpn.
Step 405, from data multicast group address pond select a unappropriated data multicast group address distribute to this private Net multicast data flow, notifies source pe equipment to set up the corresponding data-mdt of this data multicast group address and be switched to this private network multicast data flow The data-mdt of this foundation, recipient's pe cluster tool of this private network multicast data flow is incorporated to the pe of this data multicast group address association Cluster tool.
Source pe equipment sets up the corresponding data-mdt of this data multicast group address, that is to say: sets up with this data multicast ground Location is the data-mdt of public network multicast group address.
It is empty set under the pe cluster tool initial situation of data multicast group address association, be assigned to one or more private networks After multicast data flow, for the union of recipient's pe cluster tool of this one or more private network multicast data flow and one or more with this The change of recipient's pe equipment of private network multicast data flow and change.
Before executing this step, need first to judge whether also to exist unappropriated multicast group number in data multicast group address pond According to address, if it is present this step (step 405) can be continued executing with, otherwise, need to select to share for this private network multicast data flow Data-mdt, specifically include: select an allocated data multicast group address to distribute to this private network multicast data flow, notify source pe This private network multicast data flow is switched to the corresponding data-mdt of this data multicast group address by equipment, and the reception by this private network multicast data flow Person's pe cluster tool is incorporated to the pe cluster tool of this data multicast group address association.
Above-mentioned one allocated data multicast group address of selection distributes to this private network multicast data flow, to reduce band as far as possible Width wastes as selection criterion, and concrete grammar can be: for the corresponding data-mdt of each allocated data multicast group address, Calculate the bandwidth availability ratio that this private network multicast data flow is switched to this data-mdt after this data-mdt;Determine bandwidth availability ratio highest Data-mdt, the data multicast group address corresponding to this data-mdt is distributed to this private network multicast data flow.
Wherein, simple examples of the bandwidth availability ratio after this private network multicast data flow is switched to this data-mdt are calculated such as Under: assume that this private network multicast data flow has 2 recipient's pe equipment: pe2, pe3, a certain data-mdt script transmits another private network multicast Stream, this another private network multicast data flow has 2 recipient's pe equipment: pe3, pe4, then this private network multicast data flow is switched to this data-mdt Afterwards, recipient pe equipment has 3, therefore bandwidth availability ratio p=(2 × 1+2 × 1) ÷ (3 × 2)=66.67%, assume that two here The uninterrupted of individual private network multicast data flow is identical, and the bandwidth availability ratio carrying out based on this assumes calculates.
Step 406, notify source pe equipment that this private network multicast data flow is switched to the data-mdt of this coupling, and by this private network group The recipient's pe cluster tool broadcasting stream is incorporated to the pe equipment collection that the data-mdt corresponding data multicast group address of this coupling associates Close.
In the embodiment of the present invention shown in Fig. 3, for the pe cluster tool of data multicast group address association, therein every Individual pe equipment all can receive in the corresponding data-mdt of this data multicast group address.
In actual applications, the private network that pe equipment connects can change to the reception demand of private network multicast data flow, phase Ying Di, recipient's pe cluster tool of private network multicast data flow can change, and is the data multicast group address of private network multicast data flow distribution The pe cluster tool of association is likely to change, if the needs that change judge according to actual conditions.
Wherein, when control device knows a pe equipment to the reception demand of a certain private network multicast data flow, if being This private network multicast data flow distributes data multicast group address, then need this pe equipment is added to the pe of this data multicast group address association In cluster tool, thus keeping the pe cluster tool of this data multicast group address association and being added to this data multicast group address pair The pe cluster tool of the data-mdt answering is consistent.
For this reason, after in step 402, control device obtains the private network multicast stream information that each pe equipment needs reception, except needing This pe equipment is added to recipient's pe cluster tool China and foreign countries of each private network multicast data flow that this pe equipment needs to receive, can also sentence Whether disconnected be this private network multicast data flow distribution data multicast group address, if being this private network multicast data flow distribution data multicast Group address, then also need to this pe equipment is added in the pe cluster tool of this data multicast group address association.
In addition, pe equipment receives the pim for a certain private network multicast data flow in the private network that this pe equipment is connected It can be determined that whether also there is the reception demand of this private network multicast data flow in the private network of this pe equipment connection after leaving request, if There is not the reception demand of this private network multicast data flow, then needed this private network multicast stream information is sent to control device and is indicated Through not needing to receive this private network multicast data flow again.
And control device receives being no longer necessary to during the private network multicast stream information receiving it is possible to should of pe equipment transmission Pe equipment is deleted from recipient's pe cluster tool of this private network multicast data flow.Meanwhile, if being the distribution of this private network multicast data flow Data multicast group address, then be directed to the data multicast group address distributing to this private network multicast data flow, need to judge this data multicast group Whether address is also assigned to other private network multicast data flows.In the case of being not allocated to other private network multicast data flows, only need to be by this pe Equipment is deleted from the pe cluster tool that this data multicast group address associates.Also it is assigned to the situation of other private network multicast data flows Under, it is divided into two kinds of situations: a kind of situation is: although this data multicast group address has been also allocated to other private network multicast data flows, should There is not this pe equipment, in this case it is also desirable to by this pe equipment in recipient's pe cluster tool of other private network multicast data flows Delete from the pe cluster tool of this data multicast group address association;Another kind of situation is: although this data multicast group address It is allocated to other private network multicast data flows, but in recipient's pe cluster tool of this other private network multicast data flow, there is this pe equipment, this It is impossible to delete this pe equipment from the pe cluster tool that this data multicast group address associates in the case of kind.
In actual applications, when recipient's pe cluster tool of private network multicast data flow changes, transmit this private network multicast data flow The bandwidth availability ratio of data-mdt be also possible to change, for example, originally assume to transmit two on a certain data-mdt Private network multicast data flow, and two private network multicast data flows have identical recipient's pe equipment: pe2, pe3, then when pe2 does not need to receive again During one of private network multicast data flow, because this two private network multicast data flows are still transmission on this data-mdt, therefore, pe2 is still The private network multicast data flow already not needing to receive again can be received it is clear that at this moment, data-mdt exists invalid private network group Broadcast stream, bandwidth resources are wasted, bandwidth availability ratio reduces.
Waste because of the bandwidth resources that recipient's pe cluster tool of private network multicast data flow changes and leads to alleviate, In the embodiment of the present invention shown in Fig. 4, when recipient pe private network multicast data flow gathers and changes, transmission can be recalculated The bandwidth availability ratio of the data-mdt of this private network multicast data flow is calculated, when bandwidth availability ratio is too small it is considered to be somebody's turn to do from sharing In data-mdt choose private network multicast data flow (with improve this data-mdt bandwidth availability ratio as Criterion of Selecting), will choose private network Multicast data flow is switched to other data-mdt.
For this reason, pe equipment is added to recipient's pe cluster tool of private network multicast data flow or the reception from private network multicast data flow In addition it is also necessary to judge whether to be this private network multicast data flow distribution data multicast group address when deleting in person's pe cluster tool, if It is then to may be calculated the bandwidth availability ratio of the corresponding data-mdt of this data multicast group address, when the bandwidth of this data-mdt When utilization rate is less than preset value, the principle based on the bandwidth availability ratio improving this data-mdt is from being assigned to this data multicast group Select a private network multicast data flow in all private network multicast data flows of location, again select data multicast group address for this private network multicast data flow (re-selection method refers to above, select unappropriated data multicast group address or select the allocated data multicast group Address carries out data-mdt and shares), and notify source pe equipment that this private network multicast data flow is switched to the data multicast group redistributed When selecting unappropriated data multicast group address, source pe equipment also needs to set up data-mdt the corresponding data-mdt(in address, Then execute handover operation again).
With an example, the embodiment of the present invention shown in Fig. 4 is illustrated below.
Dispose control device in networking shown in Fig. 1, form the embodiment of the present invention mvpn networking schematic diagram shown in Fig. 5, As shown in figure 5, control device can be established the link with pe1, pe2, pe3, pe4 respectively, by set up link obtain pe1, The multicast vpn relevant information of pe2, pe3, pe4.
It will again be assumed that the default-group for vpn1 configuration is (1.2.1.1,226.0.0.1) in pe1, data- Group address pool be configured to (226.0.0.2~226.0.0.3).According to the embodiment of the present invention shown in Fig. 4, pe1 can by for Default-group the and data-group address pool information of vpn1 configuration is sent to control device.Now, vpn1 in pe1 Multicast Tunnel resource service condition is as shown in Table 1:
Data-group list item Entry status The pe equipment of association Bandwidth availability ratio
226.0.0.1 Default-group, uses pe2、pe3、pe4 100%
226.0.0.2 Idle null 0
226.0.0.3 Idle null 0
Table one
First, it is assumed that ce1 has squeezed into the private network multicast data flow of (1.1.1.1,225.0.0.1), ce2 and ce3 needs to receive and is somebody's turn to do Private network multicast data flow, this private network multicast data flow is initially at transmission in default-mdt, because the private network that pe2 and pe3 connects all has to this The reception demand of private network multicast data flow, therefore all to control device send this private network multicast stream information (vpn1,1.1.1.1, 225.0.0.1), thus control device determines that recipient's pe cluster tool of this private network multicast data flow is { pe2, pe3 }.
The flow of the private network multicast data flow of pe1 monitoring (1.1.1.1,225.0.0.1), when reaching preset flow threshold value, to Control device sends the multicast distribution tree handover request for this private network multicast data flow, and control device is that this private network multicast data flow distributes number According to multicast group address: 226.0.0.2, and notify pe1 to set up the corresponding data- of this data multicast group address (226.0.0.2) This private network multicast data flow is simultaneously switched to data-mdt1 by mdt1.Now, in pe1 vpn1 Multicast Tunnel resource service condition such as table Shown in two:
Table two
Then, ce1 squeezes into the privately owned net multicast data flow of (1.1.1.1,225.0.0.2), ce2 and ce3 needs to receive this private network Multicast data flow, this private network multicast data flow is initially at transmission in default-mdt, because the private network that pe2 and pe3 connects all has to this private network The reception demand of multicast data flow, therefore all to control device send this private network multicast stream information (vpn1,1.1.1.1, 225.0.0.2), thus control device determines that recipient's pe cluster tool of this private network multicast data flow is { pe2, pe3 }.
The flow of the private network multicast data flow of pe1 monitoring (1.1.1.1,225.0.0.2), when reaching preset flow threshold value, to Control device sends the multicast distribution tree handover request for this private network multicast data flow, due to recipient's pe collection of this private network multicast data flow Close identical with the pe cluster tool of 226.0.0.2 association, therefore 226.0.0.2 is also distributed to this private network multicast by control device Stream, and notify pe1 that this private network multicast data flow is switched to the corresponding data-mdt1 of 226.0.0.2, so that this private network multicast data flow The private network multicast data flow of (1.1.1.1,225.0.0.1) shares data-mdt1.Now, in pe1, the Multicast Tunnel resource of vpn1 makes With situation as shown in Table 3:
Table three
Followed by ce1 squeezes into the privately owned net multicast data flow of (1.1.1.1,225.0.0.3), ce3 and ce4 needs to receive this private Net multicast data flow, this private network multicast data flow is initially at transmission in default-mdt, because the private network that pe3 and pe4 connects all has to this private The reception demand of net multicast data flow, therefore all to control device send this private network multicast stream information (vpn1,1.1.1.1, 225.0.0.2), thus control device determines that recipient's pe cluster tool of this private network multicast data flow is { pe3, pe4 }.
The flow of the private network multicast data flow of pe1 monitoring (1.1.1.1,225.0.0.3), when reaching preset flow threshold value, to Control device sends the multicast distribution tree handover request for this private network multicast data flow, and the recipient pe due to this private network multicast data flow sets The pe cluster tool that standby set is associated with 226.0.0.1 and the pe cluster tool of 226.0.0.2 association all differ, therefore, Control device is that this private network multicast data flow distributes data multicast group address: 226.0.0.3, and notifies pe1 to set up this data multicast group This private network multicast data flow is simultaneously switched to data-mdt2 by the corresponding data-mdt2 in address (226.0.0.3).Now, vpn1 in pe1 Multicast Tunnel resource service condition as shown in Table 4:
Table four
After technical scheme provided in an embodiment of the present invention, (1.1.1.1,225.0.0.1), (1.1.1.1, 225.0.0.2), the flow transmission path of (1.1.1.1,225.0.0.3) embodiment of the present invention data-mdt as shown in Figure 6 is common With schematic diagram, wherein, the fine line with arrow represents the transmission path of the private network multicast data flow of (1.1.1.1,225.0.0.1), band The heavy line of arrow represents the transmission path of the private network multicast data flow of (1.1.1.1,225.0.0.2), and the dotted line with arrow represents The transmission path of the private network multicast data flow of (1.1.1.1,225.0.0.2).
Above the embodiment of the present invention is described in detail based on the multicast vpn flow optimization method of md, the present invention is also Provide a kind of control device and a kind of pe equipment, be described in detail with reference to Fig. 7 and Fig. 8 separately below.
Referring to Fig. 7, Fig. 7 is the structural representation of control device provided in an embodiment of the present invention, this Application of control device in Networking using the multicast vpn based on md, comprising: acquiring unit 701, receiving unit 702, control unit 703, transmitting element 704;Wherein,
Acquiring unit 701, for obtaining the Multicast Tunnel resource information of source pe equipment, described Multicast Tunnel resource information bag Include the data multicast group address pond that source pe equipment is described vpn configuration;The private network multicast receiving for obtaining each pe equipment to need Stream information, this pe equipment is added in recipient's pe cluster tool of each private network multicast data flow that this pe equipment needs reception;
Receiving unit 702, is directed to the multicast distribution tree handover request of each private network multicast data flow for receiving source pe equipment;
Control unit 703, for receiving unit 702 receive source pe equipment be directed to private network multicast data flow multicast distribution tree cut When changing request, the pe that the recipient's pe cluster tool according to this private network multicast data flow associates with allocated each data multicast group address Cluster tool judges to whether there is, in the pe equipment of source, the data multicast distribution tree data-mdt mating this private network multicast data flow, if No, then select a unappropriated data multicast group address to distribute to this private network multicast data flow from data multicast group address pond, refer to Transmitting element 704 is made to notify source pe equipment to set up the corresponding data-mdt of this data multicast group address and cut this private network multicast data flow Change to the data-mdt of this foundation, recipient's pe cluster tool of this private network multicast data flow is incorporated to the association of this data multicast group address Pe cluster tool, if it is, instruction sending unit 704 notifies source pe equipment that this private network multicast data flow is switched to this coupling Data-mdt, and recipient's pe cluster tool of this private network multicast data flow is incorporated to the corresponding data multicast of data-mdt of this coupling The pe cluster tool of group address association.
In above-mentioned control device,
Described Multicast Tunnel resource information includes the acquiescence multicast group address that source pe equipment is described vpn configuration, Yi Jisuo State the pe cluster tool of acquiescence multicast group address association;
Described control unit 703 receives, in receiving unit 702, the multicast distribution tree that source pe equipment is directed to private network multicast data flow After handover request, before judging to whether there is the data-mdt mating this private network multicast data flow in source device, it is further used for: sentence Disconnected source device is that the acquiescence multicast component that described vpn sets up sends out whether tree default-mdt mates this private network multicast data flow, if It is that then instruction sending unit 704 notifies source pe equipment to continue to forward this private network multicast data flow in default-mdt, otherwise, judges Whether there is the data-mdt mating this private network multicast data flow in source device;
Wherein, described control unit 703 is judging whether the default-mdt that source device is described vpn foundation mates this During private network multicast data flow, it is used for: recipient's pe cluster tool of this private network multicast data flow is associated with described acquiescence multicast group address Pe cluster tool is compared, if identical it is determined that source device is the default-mdt that described vpn sets up mates this private network Multicast data flow.
In above-mentioned control device,
Described control unit 703 is in the recipient's pe cluster tool according to this private network multicast data flow and allocated each data group The pe cluster tool broadcasting group address association judges to whether there is the data multicast distribution tree mating this private network multicast data flow in source device During data-mdt, it is used for:
Recipient's pe cluster tool of this private network multicast data flow association is associated with allocated all data multicast group address Pe cluster tool be compared one by one, if there is pe cluster tool and this private network multicast of a data multicast group address association Stream recipient's pe cluster tool identical it is determined that in the pe equipment of source exist mate this private network multicast data flow data-mdt, and should The corresponding data-mdt of data multicast group address mates this private network multicast data flow.
In above-mentioned control device,
After there is not the data-mdt mating this private network multicast data flow in described control unit 703 in determining source pe equipment, Before selecting a unappropriated data multicast group address to distribute to this private network multicast data flow from data multicast group address pond, enter one Walk and be used for:
Judge to whether there is unappropriated data multicast group address in this data multicast group address pond, if it is, from number According to selecting a unappropriated data multicast group address to distribute to this private network multicast data flow in multicast group address pond, otherwise, select one Individual allocated data multicast group address distributes to this private network multicast data flow, and instruction sending unit 704 notifies source pe equipment by this private Net multicast data flow is switched to the corresponding data-mdt of this data multicast group address, and the recipient's pe equipment collection by this private network multicast data flow Integrate with the pe cluster tool of this data multicast group address association.
In above-mentioned control device,
Described control unit 703 select an allocated data multicast group address distribute to this private network multicast data flow when, For:
For the corresponding data-mdt of each allocated data multicast group address, calculate this private network multicast data flow and be switched to this Bandwidth availability ratio after data-mdt;
Determine bandwidth availability ratio highest data-mdt, the data multicast group address corresponding to this data-mdt is distributed to This private network multicast data flow.
In above-mentioned control device,
Described acquiring unit 701, in the Multicast Tunnel resource information of the source of acquisition pe equipment, is used for: receives source pe equipment and sends out The Multicast Tunnel resource information sent;
Described acquiring unit 701, when obtaining the private network multicast stream information that other each pe equipment need reception, is used for: receives The private network multicast stream information needing to receive that this other pe equipment sends, wherein, this private network multicast stream information is that this other pe sets Send after the standby pim addition request for this private network multicast group receiving in the private network being derived from this other pe equipment connection;
This pe equipment is being added to the reception of each private network multicast data flow that this pe equipment needs to receive by described acquiring unit 701 When in person's pe cluster tool, it is further used for: if being this private network multicast data flow distribution data multicast group address, by this pe Equipment is added in the pe cluster tool of this data multicast group address association.
In above-mentioned control device,
Described acquiring unit 701, is further used for receiving the private network group being no longer necessary to receive that other each pe equipment send Broadcast stream information, this other pe equipment is deleted from recipient's pe cluster tool of this private network multicast data flow, for distributing to this private The data multicast group address of net multicast data flow, if this data multicast group address is not allocated to other private network multicast data flows or is somebody's turn to do Data multicast group address is also assigned in other private network multicast data flows and recipient's pe cluster tool of this other private network multicast data flow Do not include this other pe equipment, then this other pe equipment is deleted from the pe cluster tool that this data multicast group address associates; Wherein, this private network multicast stream information be this other pe equipment receive in the private network that this other pe equipment connects for this private The pim of net multicast data flow sends after leaving request.
In above-mentioned control device,
Described control unit 703, is further used for, in acquiring unit 701, pe equipment is added to the reception of private network multicast data flow Person's pe cluster tool or when deleting from recipient's pe cluster tool of private network multicast data flow, further determines whether be this Private network multicast data flow distributes data multicast group address, if it is, being calculated as the corresponding data-mdt's of this data multicast group address Bandwidth availability ratio, when the bandwidth availability ratio of this data-mdt is less than preset value, based on the bandwidth usage improving this data-mdt The principle of rate selects a private network multicast data flow from all private network multicast data flows being assigned to this data multicast group address, again for this Private network multicast data flow distributes data multicast group address, and instruction sending unit 704 notifies source pe equipment to switch this private network multicast data flow To the corresponding data-mdt of data multicast group address redistributing.
Referring to Fig. 8, Fig. 8 is the structural representation of pe equipment provided in an embodiment of the present invention, and this pe equipment application is in employing The networking of the multicast vpn based on md, comprising: receiving unit 801, control unit 802, transmitting element 803;Wherein,
Receiving unit 801, for this pe equipment as source pe equipment, the multicast tunnel that this pe equipment is described vpn configuration Road resource information is sent to control device, and described Multicast Tunnel resource information includes the data that this pe equipment is described vpn configuration Multicast group address pond;For this pe equipment as recipient's pe equipment, receive the pin in the private network that this pe equipment connects When adding request to the pim of private network multicast data flow, this private network multicast stream information is sent to control device by instruction sending unit 803; Send after the multicast distribution tree handover request for a private network multicast data flow to control device for transmitting element 803, receive and control Equipment is the notice returning after this private network multicast data flow distributes a data multicast group address;
Control unit 802, for this pe equipment as source pe equipment, detects the flow of each private network multicast data flow, when this private network When multicast data flow meets preset configuration condition (for example flow is more than preset flow threshold value), instruction sending unit 803 is to control device Send the multicast distribution tree handover request for this private network multicast data flow, and receive control device for this private in receiving unit 801 After the notice that net multicast data flow returns after distributing a data multicast group address, the data multicast group to distribute is set up according to this notice Address is the data-mdt of public network multicast group address, and this private network multicast data flow is switched to this data-mdt.
The above, only presently preferred embodiments of the present invention, it is not intended to limit protection scope of the present invention.All Within the spirit and principles in the present invention, any modification, equivalent substitution and improvement made etc., should be included in the protection of the present invention Within the scope of.

Claims (17)

1. a kind of multicast vpn flow optimization method based on md is it is characterised in that the method includes:
The Multicast Tunnel resource information of acquisition source pe equipment, it is described vpn that described Multicast Tunnel resource information includes source pe equipment The data multicast group address pond of configuration;
Obtain the private network multicast stream information that each pe equipment needs to receive, described each pe equipment is added to it needs each private of reception In recipient's pe cluster tool of net multicast data flow;
When receiving the multicast distribution tree handover request that source pe equipment is directed to private network multicast data flow, according to the reception of this private network multicast data flow The pe cluster tool that person's pe cluster tool associates with allocated each data multicast group address judges to whether there is in the pe equipment of source Mate the data multicast distribution tree data-mdt of this private network multicast data flow,
If it is not, then selecting a unappropriated data multicast group address to distribute to this private network group from data multicast group address pond Broadcast stream, notify source pe equipment to set up the corresponding data-mdt of this data multicast group address and this private network multicast data flow is switched to this builds Vertical data-mdt, recipient's pe cluster tool of this private network multicast data flow is incorporated to the pe equipment of this data multicast group address association Set;
If it is, notifying source pe equipment that this private network multicast data flow is switched to the data-mdt of this coupling, and by this private network multicast Recipient's pe cluster tool of stream is incorporated to the pe cluster tool of the data-mdt corresponding data multicast group address association of this coupling.
2. method according to claim 1 it is characterised in that
Described Multicast Tunnel resource information includes the acquiescence multicast group address that source pe equipment is described vpn configuration;
The method further includes: obtains all pe facility informations in described vpn, all pe in addition to the pe equipment of source are set The standby pe cluster tool being added to described acquiescence multicast group address association;
After receiving the multicast distribution tree handover request that source pe equipment is directed to private network multicast data flow, judge to whether there is in source device Before mating the data-mdt of this private network multicast data flow, further include: judge that source device is the acquiescence multicast group that described vpn sets up Whether distribution tree default-mdt mates this private network multicast data flow, if it is, the source of notice pe equipment continues in default-mdt Middle this private network multicast data flow of forwarding, otherwise, judges to whether there is the data-mdt mating this private network multicast data flow in source device;
Wherein, judge that source device is that the method whether default-mdt that described vpn sets up mates this private network multicast data flow is: will The pe cluster tool that recipient's pe cluster tool of this private network multicast data flow is associated with described acquiescence multicast group address is compared, such as Really identical it is determined that source device is the default-mdt that described vpn sets up mates this private network multicast data flow.
3. method according to claim 1 it is characterised in that
The pe equipment that recipient's pe cluster tool according to this private network multicast data flow associates with allocated each data multicast group address Set judges that the method that whether there is the data multicast distribution tree data-mdt mating this private network multicast data flow in source device is:
The pe that recipient's pe cluster tool of this private network multicast data flow association is associated with allocated all data multicast group address Cluster tool is compared one by one, if there is pe cluster tool and this private network multicast data flow of a data multicast group address association Recipient's pe cluster tool identical it is determined that there is the data-mdt mating this private network multicast data flow, and this data in the pe equipment of source The corresponding data-mdt of multicast group address mates this private network multicast data flow.
4. method according to claim 1 it is characterised in that
Determine after there is not the data-mdt mating this private network multicast data flow in the pe equipment of source, select from data multicast group address pond Select before a unappropriated data multicast group address distributes to this private network multicast data flow, further include:
Judge to whether there is unappropriated data multicast group address in this data multicast group address pond, if it is, from data group Broadcast and in group address pond, select a unappropriated data multicast group address to distribute to this private network multicast data flow, otherwise, selected one The data multicast group address of distribution distributes to this private network multicast data flow, notifies source pe equipment that this private network multicast data flow is switched to this data The corresponding data-mdt of multicast group address, and recipient's pe cluster tool of this private network multicast data flow is incorporated to this data multicast group ground The pe cluster tool of location association.
5. method according to claim 4 it is characterised in that
The method that one allocated data multicast group address of selection distributes to this private network multicast data flow is:
For the corresponding data-mdt of each allocated data multicast group address, calculate this private network multicast data flow and be switched to this Bandwidth availability ratio after data-mdt;
Determine bandwidth availability ratio highest data-mdt, the data multicast group address corresponding to this data-mdt is distributed to this private Net multicast data flow.
6. method according to claim 1 it is characterised in that
The method of the Multicast Tunnel resource information of acquisition source pe equipment is: receives the Multicast Tunnel resource letter that source pe equipment sends Breath;
The method obtaining the private network multicast stream information that other each pe equipment needs receive is: receives the need that this other pe equipment sends Private network multicast stream information to be received, wherein, this private network multicast stream information is that this other pe equipment reception sets from this other pe The pim for this private network multicast group in the standby private network connecting sends after adding request;
When described each pe equipment is added in recipient's pe cluster tool of each private network multicast data flow that its needs receives, further Including: if being this private network multicast data flow distribution data multicast group address, this pe equipment is added to this data multicast group In the pe cluster tool of address information.
7. method according to claim 6 is it is characterised in that the method further includes:
Receive the private network multicast stream information being no longer necessary to receive that other each pe equipment send, by this other pe equipment from this private network Delete in recipient's pe cluster tool of multicast data flow, for the data multicast group address distributing to this private network multicast data flow, if should Data multicast group address is not allocated to other private network multicast data flows or this data multicast group address is also assigned to other private networks Do not include this other pe equipment in recipient's pe cluster tool of multicast data flow and this other private network multicast data flow, then this other pe is set Delete the standby pe cluster tool from the association of this data multicast group address;Wherein, this private network multicast stream information is that this other pe sets The standby pim for this private network multicast data flow receiving in the private network that this other pe equipment connects leaves transmission after request.
8. method according to claim 7 it is characterised in that
Pe equipment is added to recipient's pe cluster tool or the recipient's pe equipment collection from private network multicast data flow of private network multicast data flow When deleting in conjunction, further determine whether to be this private network multicast data flow distribution data multicast group address, if it is, being calculated as The bandwidth availability ratio of the corresponding data-mdt of this data multicast group address, when the bandwidth availability ratio of this data-mdt is less than preset value When, the principle based on the bandwidth availability ratio improving this data-mdt is from all private network multicasts being assigned to this data multicast group address Select a private network multicast data flow in stream, again distribute data multicast group address for this private network multicast data flow, and notify source pe equipment to incite somebody to action This private network multicast data flow is switched to the corresponding data-mdt of data multicast group address redistributing.
9. a kind of control device, is applied to networking using the multicast vpn based on md it is characterised in that this control device includes: Acquiring unit, receiving unit, control unit, transmitting element;
Described acquiring unit, for obtaining the Multicast Tunnel resource information of source pe equipment, described Multicast Tunnel resource information includes Source pe equipment is the data multicast group address pond of described vpn configuration;The private network multicast data flow receiving for obtaining each pe equipment to need Information, described each pe equipment is added to it to be needed in recipient's pe cluster tool of each private network multicast data flow of reception;
Described receiving unit, is directed to the multicast distribution tree handover request of each private network multicast data flow for receiving source pe equipment;
Described control unit, receives, for receiving unit, the multicast distribution tree handover request that source pe equipment is directed to private network multicast data flow When, the pe equipment collection that the recipient's pe cluster tool according to this private network multicast data flow associates with allocated each data multicast group address Close with the presence or absence of the data multicast distribution tree data-mdt mating this private network multicast data flow in the pe equipment of judgement source, if it is not, then from A unappropriated data multicast group address is selected to distribute to this private network multicast data flow in data multicast group address pond, instruction sends single First notice source pe equipment is set up the corresponding data-mdt of this data multicast group address and this private network multicast data flow is switched to this foundation Data-mdt, by recipient's pe cluster tool of this private network multicast data flow be incorporated to this data multicast group address association pe equipment collection Close, if it is, instruction sending unit notifies source pe equipment that this private network multicast data flow is switched to the data-mdt of this coupling, and will Recipient's pe cluster tool of this private network multicast data flow is incorporated to the data-mdt corresponding data multicast group address association of this coupling Pe cluster tool.
10. control device according to claim 9 it is characterised in that
Described Multicast Tunnel resource information includes the acquiescence multicast group address that source pe equipment is described vpn configuration;
Described acquiring unit, is further used for obtaining all pe facility informations in described vpn, by the institute in addition to the pe equipment of source Pe equipment is had to be added to the pe cluster tool of described acquiescence multicast group address association;
Described control unit receiving unit receive source pe equipment be directed to private network multicast data flow multicast distribution tree handover request it Afterwards, before judging to whether there is the data-mdt mating this private network multicast data flow in source device, it is further used for: judge that source device is The acquiescence multicast component that described vpn sets up sends out whether tree default-mdt mates this private network multicast data flow, if it is, instruction is sent out Send unit to notify source pe equipment to continue to forward this private network multicast data flow in default-mdt, otherwise, judge whether deposit in source device In the data-mdt mating this private network multicast data flow;
Wherein, described control unit is judging whether the default-mdt that source device is described vpn foundation mates this private network multicast During stream, it is used for: the pe equipment collection that recipient's pe cluster tool of this private network multicast data flow is associated with described acquiescence multicast group address Conjunction is compared, if identical it is determined that source device is the default-mdt that described vpn sets up mates this private network multicast data flow.
11. control devices according to claim 9 it is characterised in that
Described control unit is on the recipient's pe cluster tool according to this private network multicast data flow and allocated each data multicast group ground The pe cluster tool of location association judges to whether there is the data multicast distribution tree data- mating this private network multicast data flow in source device During mdt, it is used for:
The pe that recipient's pe cluster tool of this private network multicast data flow association is associated with allocated all data multicast group address Cluster tool is compared one by one, if there is pe cluster tool and this private network multicast data flow of a data multicast group address association Recipient's pe cluster tool identical it is determined that there is the data-mdt mating this private network multicast data flow, and this data in the pe equipment of source The corresponding data-mdt of multicast group address mates this private network multicast data flow.
12. control devices according to claim 9 it is characterised in that
After described control unit does not have the data-mdt mating this private network multicast data flow in determining source pe equipment, from data group Broadcast before selecting a unappropriated data multicast group address to distribute to this private network multicast data flow in group address pond, be further used for:
Judge to whether there is unappropriated data multicast group address in this data multicast group address pond, if it is, from data group Broadcast and in group address pond, select a unappropriated data multicast group address to distribute to this private network multicast data flow, otherwise, selected one The data multicast group address of distribution distributes to this private network multicast data flow, and instruction sending unit notifies source pe equipment by this private network multicast data flow It is switched to the corresponding data-mdt of this data multicast group address, and recipient's pe cluster tool of this private network multicast data flow is incorporated to this The pe cluster tool of data multicast group address association.
13. control devices according to claim 12 it is characterised in that
Described control unit, when selecting an allocated data multicast group address to distribute to this private network multicast data flow, is used for:
For the corresponding data-mdt of each allocated data multicast group address, calculate this private network multicast data flow and be switched to this Bandwidth availability ratio after data-mdt;
Determine bandwidth availability ratio highest data-mdt, the data multicast group address corresponding to this data-mdt is distributed to this private Net multicast data flow.
14. control devices according to claim 9 it is characterised in that
Described acquiring unit, in the Multicast Tunnel resource information of the source of acquisition pe equipment, is used for: receive the group that source pe equipment sends Broadcast tunnel resource information;
Described acquiring unit, when obtaining the private network multicast stream information that other each pe equipment need reception, is used for: receive this other The private network multicast stream information needing to receive that pe equipment sends, wherein, this private network multicast stream information is that this other pe equipment receives The pim for this private network multicast group in the private network that this other pe equipment connects adds transmission after request;
Described each pe equipment is being added to recipient's pe equipment of each private network multicast data flow that its needs receives by described acquiring unit When in set, it is further used for: if being this private network multicast data flow distribution data multicast group address, this pe equipment is added To in the pe cluster tool of this data multicast group address association.
15. control devices according to claim 14 it is characterised in that
Described acquiring unit, is further used for receiving the private network multicast data flow letter being no longer necessary to receive that other each pe equipment send Breath, this other pe equipment is deleted from recipient's pe cluster tool of this private network multicast data flow, for distributing to this private network multicast The data multicast group address of stream, if this data multicast group address is not allocated to other private network multicast data flows or this data group Broadcast group address and be also assigned in other private network multicast data flows and recipient's pe cluster tool of this other private network multicast data flow and do not include This other pe equipment, then delete this other pe equipment from the pe cluster tool that this data multicast group address associates;Wherein, should Private network multicast stream information be this other pe equipment receive in the private network that this other pe equipment connects for this private network multicast The pim of stream sends after leaving request.
16. control devices according to claim 15 it is characterised in that
Described control unit, is further used for, in acquiring unit, pe equipment is added to recipient's pe equipment collection of private network multicast data flow When closing or deleting from recipient's pe cluster tool of private network multicast data flow, further determine whether to be this private network multicast data flow Distribution data multicast group address, if it is, being calculated as the bandwidth availability ratio of the corresponding data-mdt of this data multicast group address, When this data-mdt bandwidth availability ratio be less than preset value when, based on improve this data-mdt bandwidth availability ratio principle from point It is fitted on one private network multicast data flow of selection in all private network multicast data flows of this data multicast group address, again for this private network multicast flow point Join data multicast group address, and instruction sending unit notifies source pe equipment that this private network multicast data flow is switched to the data redistributed The corresponding data-mdt of multicast group address.
A kind of 17. pe equipment, are applied to networking using multicast vpn based on md it is characterised in that this pe equipment, comprising: connect Receive unit, control unit, transmitting element;
Described receiving unit, for this pe equipment as source pe equipment, the Multicast Tunnel money that this pe equipment is described vpn configuration Source information is sent to control device, and described Multicast Tunnel resource information includes the data multicast that this pe equipment is described vpn configuration Group address pond;For this pe equipment as recipient's pe equipment, receive in the private network that this pe equipment connects for private When the pim of net multicast data flow adds request, this private network multicast stream information is sent to control device by instruction sending unit;For sending Unit sends after the multicast distribution tree handover request for a private network multicast data flow to control device, and receiving control apparatus are this private network The notice that multicast data flow returns after distributing a data multicast group address;
Described control unit, for this pe equipment as source pe equipment, detects the flow of each private network multicast data flow, when this private network multicast When stream meets preset configuration condition, the multicast distribution tree that instruction sending unit sends for this private network multicast data flow to control device is cut Change request, and receive return after control device is this private network multicast data flow one data multicast group address of distribution in receiving unit After notice, the data-mdt with the data multicast group address distributed for public network multicast group address is set up according to this notice, by this private Net multicast data flow is switched to this data-mdt.
CN201310636561.6A 2013-12-02 2013-12-02 MD (multicast domain) based multicast VPN (virtual private network) traffic optimization method and equipment Active CN103685040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310636561.6A CN103685040B (en) 2013-12-02 2013-12-02 MD (multicast domain) based multicast VPN (virtual private network) traffic optimization method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310636561.6A CN103685040B (en) 2013-12-02 2013-12-02 MD (multicast domain) based multicast VPN (virtual private network) traffic optimization method and equipment

Publications (2)

Publication Number Publication Date
CN103685040A CN103685040A (en) 2014-03-26
CN103685040B true CN103685040B (en) 2017-01-18

Family

ID=50321396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310636561.6A Active CN103685040B (en) 2013-12-02 2013-12-02 MD (multicast domain) based multicast VPN (virtual private network) traffic optimization method and equipment

Country Status (1)

Country Link
CN (1) CN103685040B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11595301B2 (en) 2019-04-22 2023-02-28 Tsinghua University Method and system for implementing L3VPN based on two-dimensional routing protocol

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376161B (en) * 2014-08-28 2019-03-08 新华三技术有限公司 Multicast distribution tree switching method and device
CN105119795B (en) * 2015-07-14 2019-04-30 中国联合网络通信集团有限公司 A kind of method for building up and device of Multicast Tunnel
CN111083061B (en) * 2018-10-19 2021-08-20 华为技术有限公司 Method, equipment and system for determining DF (distribution function) of multicast flow

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744572A (en) * 2005-08-31 2006-03-08 杭州华为三康技术有限公司 Switchnig equipment and method for controlling multicasting data forwarding
CN101364888A (en) * 2008-09-16 2009-02-11 杭州华三通信技术有限公司 A data multicast address multiplex method and a backbone network edge apparatus
CN101951342A (en) * 2010-09-15 2011-01-19 北京星网锐捷网络技术有限公司 Multicast data stream propagation method, propagation device and network equipment
US8068481B2 (en) * 2006-05-25 2011-11-29 Cisco Technology, Inc. Techniques for reliable switchover to a date multicast distribution tree (MDT)
CN102739521A (en) * 2012-06-04 2012-10-17 杭州华三通信技术有限公司 Multicast service realizing method and equipment thereof
CN102916888A (en) * 2012-09-21 2013-02-06 杭州华三通信技术有限公司 Multicast data transmission method and multicast data transmission device
CN102970236A (en) * 2012-12-03 2013-03-13 杭州华三通信技术有限公司 Multicast distribution tree switching method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744572A (en) * 2005-08-31 2006-03-08 杭州华为三康技术有限公司 Switchnig equipment and method for controlling multicasting data forwarding
US8068481B2 (en) * 2006-05-25 2011-11-29 Cisco Technology, Inc. Techniques for reliable switchover to a date multicast distribution tree (MDT)
CN101364888A (en) * 2008-09-16 2009-02-11 杭州华三通信技术有限公司 A data multicast address multiplex method and a backbone network edge apparatus
CN101951342A (en) * 2010-09-15 2011-01-19 北京星网锐捷网络技术有限公司 Multicast data stream propagation method, propagation device and network equipment
CN102739521A (en) * 2012-06-04 2012-10-17 杭州华三通信技术有限公司 Multicast service realizing method and equipment thereof
CN102916888A (en) * 2012-09-21 2013-02-06 杭州华三通信技术有限公司 Multicast data transmission method and multicast data transmission device
CN102970236A (en) * 2012-12-03 2013-03-13 杭州华三通信技术有限公司 Multicast distribution tree switching method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11595301B2 (en) 2019-04-22 2023-02-28 Tsinghua University Method and system for implementing L3VPN based on two-dimensional routing protocol

Also Published As

Publication number Publication date
CN103685040A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN104954281B (en) Communication means, system, resource pool management system, interchanger and control device
CN100442776C (en) Method for realizing multicast translation in three-layer switching unit
CN102035729B (en) Multicast data forwarding method
CN103534982B (en) The protection method of service reliability, equipment and network virtualization system
CN102025541B (en) Method and system for realizing multicast protection
EP2109260A1 (en) Multicast method and multicast routing method
CN101616014B (en) Method for realizing cross-virtual private local area network multicast
CN102137000B (en) Method, device and system for establishing switching multicast distribution tree
CN101291240B (en) Multicast flow transmission method and system
CN101420362A (en) Method, system and router for multicast flow switching
CN103685040B (en) MD (multicast domain) based multicast VPN (virtual private network) traffic optimization method and equipment
CN107948064B (en) SDN-based cross-domain multicast method and device
CN102970231A (en) Multicast flow forwarding implementation method and routing bridge (RB)
CN101702689A (en) Transmission control method with balanced multicast service data load and access device thereof
CN105743797B (en) Multicasting VPN tunnel establishing method based on interface binding
CN103491015A (en) Method and device for allowing public network to support data multicast distribution tree
CN106411750B (en) Data distributing method and system
CN101119222B (en) Method, device and system for implementing multicast of HOPE network
CN101123526B (en) An implementation method for large-scale stream media transmission structure
CN101262412A (en) A method and its access device for multicast recovery with minimal delay
CN102238069A (en) Data processing method and device for link switching process
CN102064999A (en) Method and equipment for forwarding multicast message
CN102347906B (en) Multi-cast method and multi-cast network system
CN102185776A (en) Method for rapid convergence of layer 2 multicast of Ethernet and Ethernet system
CN106027352A (en) Service message forwarding method and device

Legal Events

Date Code Title Description
PB01 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: Xinhua three Technology 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: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address