CN103685040A - 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
CN103685040A
CN103685040A CN201310636561.6A CN201310636561A CN103685040A CN 103685040 A CN103685040 A CN 103685040A CN 201310636561 A CN201310636561 A CN 201310636561A CN 103685040 A CN103685040 A CN 103685040A
Authority
CN
China
Prior art keywords
private network
data
multicast
data flow
equipment
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.)
Granted
Application number
CN201310636561.6A
Other languages
Chinese (zh)
Other versions
CN103685040B (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

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

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

Multicasting VPN flow optimization method and equipment based on MD
Technical field
The application relates to communication technical field, particularly a kind of multicasting virtual private network (Multicast VPN, MVPN) flow optimization method and equipment.
Background technology
Multicasting VPN is the multicast transmission technology realizing based on MPLS L3VPN network.The multicasting VPN that utilizes multicast domain (Multicast Domain, MD) scheme to realize, is called MD MVPN.
The basic thought of MD scheme is: in backbone network, dispose Protocol Independent Multicast (Protocol Independent Multicast; Hereinafter to be referred as: PIM) Routing Protocol, and for each MVPN distributes unique multicast address in a backbone network, be called acquiescence multicast group (Default-Group).The Provider Edge being connected with MVPN in backbone network (Provider Edge, PE) equipment, for MVPN, set up the public network of Default-Group and give tacit consent to multicast distribution tree (Default Multicast Distribution Tree, Default-MDT).While having private network multicast message to pass through backbone network from source PE device transmission to another PE equipment in MVPN, source PE equipment is packaged into by this private network multicast message the public network multicast message that destination address is Default-Group, and at Default-MDT repeating.Receiving terminal PE equipment carries out decapsulation by the public network multicast message receiving, and then is forwarded in the private network of receiving terminal PE equipment connection.
Because all PE equipment that are connected with MVPN all can add the Default-MDT that MVPN is corresponding, destination address after encapsulation is that the public network multicast message of Default-Group can be forwarded to all PE equipment in MVPN, even if the private network that receiving terminal PE equipment connects is the reception demand of this private network multicast message not, also can receive the public network multicast message that the destination address after encapsulation is Default-Group, while finding in private network not the reception demand of this private network multicast message after decapsulation, again this private network multicast message is abandoned, caused so unnecessary bandwidth waste.
In order to address the above problem, MD scheme has proposed a compromise algorithm of weighing between multicast routing optimization and extensibility: for the larger multicast service of flow-rate ratio, for it distributes separately a multicast distribution tree, and for the less multicast service of flow, Default-MDT is used in unification.
The multicast distribution tree of setting up for specific VPN multicast group is called data multicast distribution tree (Data-Multicast Distribution Tree, Data-MDT).On the PE at multicast source place equipment (source PE equipment), certain condition is set, be generally threshold value, if the flow from multicast source has surpassed this threshold value, the group address that this PE equipment distributes a public network for this multicast source, be designated as data multicast group (Data-Group), and outwards send Data MDT join message, take notify other PE equipment on Default-MDT it will be that this multicast source is used a new multicast distribution tree.For the PE equipment that receives Data MDT join message, only when there is the reception demand to the multicast data flow of this multicast source in the private network of this PE equipment connection, just can add this new multicast distribution tree, thereby the multicast data flow of this multicast source only can send to the PE equipment needing.
By setting up separately a Data-MDT for the larger private network multicast data flow of flow, distribute a public network Multicast Tunnel, can effectively avoid bandwidth waste, but also bring new problem, with an example, describe below:
Referring to Fig. 1, Fig. 1 is prior art MD MVPN networking schematic diagram, as shown in Figure 1, PE1, PE2, PE3, PE4 connect respectively CE1 place private network, CE2 place private network, CE3 place private network, CE4 place private network, and be connected to the network that same MVPN(connects PE1, PE2, PE3, PE4, the P equipment in this network not shown in FIG.).Wherein, suppose in PE1, for the Default-Group of VPN1 configuration 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, in CE1, squeezed into (1.1.1.1, 225.0.0.1) private network multicast data flow, the large and CE2 of the flow of supposing this private network multicast data flow and CE3 need to receive this private network multicast data flow, the group address (supposing 226.0.0.2) that PE1 takes out a public network from Data-Group address pool is distributed to this private network multicast data flow, generation is with (1.2.1.1, 226.0.0.2) be the Data-MDT1 of encapsulation, the private network being connected with PE3 due to PE2 all has the reception demand to this private network multicast data flow, therefore all add Data-MDT1, this private network multicast data flow only can send to PE2 and PE3, and can not send to PE4.
Then, in CE1, squeeze into (1.1.1.1, 225.0.0.2) privately owned net multicast data flow, the large and CE2 of the flow of supposing this private network multicast data flow and CE3 need to receive this private network multicast data flow, PE1 distributes to this private network multicast data flow by the group address of the public network being not yet assigned with away in Data-Group address pool (226.0.0.3), generation is with (1.2.1.1, 226.0.0.3) be the Data-MDT2 of encapsulation, the private network being connected with PE3 due to PE2 all has the reception demand to this private network multicast data flow, therefore all add Data-MDT2, this private network multicast data flow only can send to PE2 and PE3, and can not send to PE4.
So far, in PE1, Data-Group address pool runs out of, on PE1 and middle P equipment, all generated corresponding to (1.1.1.1,225.0.0.1) (1.2.1.1 of private network multicast data flow, 226.0.0.2) and corresponding to (1.1.1.1,225.0.0.2) (1.2.1.1,226.0.0.3) two public network multicast routing table items of private network multicast data flow.Wherein, (1.1.1.1,225.0.0.1) and (1.1.1.1, the transmission path of private network multicast data flow 225.0.0.2) Data-MDT as shown in Figure 2 switches schematic diagram, wherein, the transmission path that represents the private network multicast data flow of (1.1.1.1,225.0.0.1) with the fine line of arrow, the transmission path that represents the private network multicast data flow of (1.1.1.1,225.0.0.2) with the heavy line of arrow.
Continue, in CE1, squeeze into (1.1.1.1,225.0.0.3) privately owned net multicast data flow, the large and CE3 of the flow of supposing this private network multicast data flow and CE4 need to receive this private network multicast data flow, now because the Data-Group address pool in PE1 runs out of, do not have idle tunnel resource to use, the resource that can only multiplexingly divide away before this.Suppose the public network group address 226.0.0.2 having dispensed is distributed to this private network multicast data flow, generation is with (1.2.1.1,226.0.0.2) be the Data-MDT3 of encapsulation, the private network being connected with PE4 due to PE3 all has the reception demand to this private network multicast data flow, therefore all adds Data-MDT3.Obviously, owing to being that Data-MDT1 and Data-MDT3 are used identical tunnel resource, finally be 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) is used this shared Data-MDT, therefore, 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, fine line with arrow represents (1.1.1.1, the transmission path of private network multicast data flow 225.0.0.1), heavy line with arrow represents (1.1.1.1, the transmission path of private network multicast data flow 225.0.0.2), dotted line with arrow represents (1.1.1.1, the transmission path of private network multicast data flow 225.0.0.2), wherein, PE2 receives (1.1.1.1, 225.0.0.3) after private network multicast data flow need to abandon, PE4 receives (1.1.1.1, 225.0.0.1) private network multicast data flow need to abandon, this shared Data-MDT has been degenerated to Default-MDT.
By above-mentioned example, can be found out, under extreme case, need to set up separately a Data-MDT for every private network multicast data flow, this is a great pressure to the tunnel resource on PE equipment, and, when tunnel resource is not enough, be inverted while sharing Data-MDT, may cause sharing Data-MDT and be degenerated to Default-MDT, occur that public network flux of multicast is invalid to flood.Due to Data-MDT, in public network reality, the form with (P-S, P-G) public network multicast routing table item exists simultaneously, also very large to the Multicast Routing resource consumption of PE equipment and P equipment.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of multicasting VPN flow optimization method based on MD, the method can be saved the Multicast Tunnel resource on PE equipment, reduces the consumption of public network multicast routing table item and the invalid inundation of public network flux of multicast.
For achieving the above object, technical scheme provided by the invention is:
A multicasting VPN flow optimization method based on MD, comprising:
Obtain the Multicast Tunnel resource information of source PE equipment, described Multicast Tunnel resource information comprises that source PE equipment is the data multicast group address pond of described VPN configuration;
Obtain the private network multicast data flow information that each PE equipment need to receive, this PE equipment is joined in the recipient PE cluster tool of each private network multicast data flow that this PE equipment need to receive;
While receiving source PE equipment for the multicast distribution tree handover request of private network multicast data flow, according to the recipient PE cluster tool of this private network multicast data flow PE cluster tool associated with each data multicast group address having distributed, judge the data multicast distribution tree Data-MDT that whether has this private network multicast data flow of coupling in the PE equipment of source
If not, from data multicast group address pond, select a unappropriated data multicast group address to distribute to this private network multicast data flow, notification source PE equipment is set up the Data-MDT that this data multicast group address is corresponding and this private network multicast data flow is switched to the Data-MDT of this foundation, the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of this data multicast group address association;
If so, notification source PE equipment is switched to this private network multicast data flow the Data-MDT of this coupling, and the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of the data multicast group address association that the Data-MDT of this coupling is corresponding.
A control appliance, is applied to adopt the networking of the multicasting VPN based on MD, and this control appliance comprises: acquiring unit, receiving element, control unit, transmitting element;
Described acquiring unit, for obtaining the Multicast Tunnel resource information of source PE equipment, described Multicast Tunnel resource information comprises that source PE equipment is the data multicast group address pond of described VPN configuration; For obtaining the private network multicast data flow information that each PE equipment need to receive, this PE equipment is joined in the recipient PE cluster tool of each private network multicast data flow that this PE equipment need to receive;
Described receiving element, the multicast distribution tree handover request for reception sources PE equipment for each private network multicast data flow;
Described control unit, while receiving source PE equipment for the multicast distribution tree handover request of private network multicast data flow for receiving element, according to the recipient PE cluster tool of this private network multicast data flow PE cluster tool associated with each data multicast group address having distributed, judge the data multicast distribution tree Data-MDT that whether has this private network multicast data flow of coupling in the PE equipment of source, if not, from data multicast group address pond, select a unappropriated data multicast group address to distribute to this private network multicast data flow, instruction sending unit notification source PE equipment is set up the Data-MDT that this data multicast group address is corresponding and this private network multicast data flow is switched to the Data-MDT of this foundation, the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of this data multicast group address association, if, instruction sending unit notification source PE equipment is switched to this private network multicast data flow the Data-MDT of this coupling, and the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of the data multicast group address association that the Data-MDT of this coupling is corresponding.
A PE equipment, is applied to adopt the networking of the multicasting VPN based on MD, and this PE equipment, comprising: receiving element, control unit, transmitting element;
Described receiving element, for this PE equipment, as source PE equipment, the Multicast Tunnel resource information that is described VPN configuration by this PE equipment sends to control appliance, and described Multicast Tunnel resource information comprises that this PE equipment is the data multicast group address pond of described VPN configuration; For this PE equipment, as recipient PE equipment, receive while joining request from the PIM for private network multicast data flow in the private network of this PE equipment connection, instruction sending unit sends to control appliance by this private network multicast data flow information; For transmitting element, to control appliance, send after the multicast distribution tree handover request for a private network multicast data flow, receiving control apparatus is that this private network multicast data flow is distributed the notice of returning after a data multicast group address;
Described control unit, be used for this PE equipment as source PE equipment, detect the flow of each private network multicast data flow, when this private network multicast data flow meets preset configuration condition, instruction sending unit sends the multicast distribution tree handover request for this private network multicast data flow to control appliance, and at receiving element, receive after the notice of returning after control appliance is a data multicast group address of this private network multicast data flow distribution, according to this notice, set up and take the Data-MDT that the data multicast group address that distributes is public network multicast group address, this private network multicast data flow is switched to this Data-MDT.
In sum, in the present invention, control appliance obtains the private network multicast data flow that source PE equipment need to receive the Multicast Tunnel resource information for VPN configuration and each PE equipment, when receiving the multicast distribution tree handover request for private network multicast data flow of source PE equipment transmission, according to the information of obtaining, be this private network multicast data flow distribute data multicast group address, source PE equipment is switched to Data-MDT corresponding to this private network multicast data flow by this private network multicast data flow.The present invention can save the Multicast Tunnel resource on PE equipment, reduces the consumption of public network multicast routing table item, reduces the invalid inundation of public network flux of multicast.
Accompanying drawing explanation
Fig. 1 is prior art MD MVPN networking schematic diagram;
Fig. 2 is that prior art Data-MDT switches schematic diagram;
Fig. 3 is that prior art Data-MDT shares schematic diagram;
Fig. 4 is the multicasting VPN flow optimization method flow chart of the embodiment of the present invention based on MD;
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 the control appliance that provides of the embodiment of the present invention;
Fig. 8 is the structural representation of the PE equipment that provides of the embodiment of the present invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
In the present invention, based on software defined network (Software-Defined Networking, SDN) thought, utilize the feature of the whole network equipment situation of SDN controller energy Real-time Obtaining in SDN network, in adopting the networking of the multicasting VPN based on MD, dispose a control appliance, utilize this control appliance to obtain the private network multicast data flow information that Multicast Tunnel resource information in the PE equipment of source and recipient PE equipment need to receive.When source PE equipment need to be initiated Data-MDT switching, control appliance considers the actual conditions of all PE equipment, selecting optimum Data-MDT to realize shares, thereby can reach the Multicast Tunnel resource of saving on PE, reduce the consumption of public network multicast routing table item, and the object that reduces the invalid inundation of public network flux of multicast.
In the present invention, each the PE equipment in VPN network may be source PE equipment, also may be as recipient PE equipment.For a specific private network multicast data flow, only have a source PE equipment (this PE equipment connection is to this private network multicast data flow place private network), other PE equipment is as potential possible recipient PE equipment corresponding to this private network multicast data flow.
A PE equipment of usining below in VPN is as source PE equipment, and other PE equipment is as take the potential possible recipient PE equipment of all private network multicast data flows that this PE equipment is source PE equipment, and technical scheme provided by the invention is elaborated.
Referring to Fig. 4, Fig. 4 is the multicasting VPN flow optimization method flow chart of the embodiment of the present invention based on MD, mainly comprises the following steps:
Step 401, control appliance obtain the Multicast Tunnel resource information of source PE equipment.
Multicast Tunnel resource information comprises that source PE equipment is acquiescence multicast group address (Default-Group) and data multicast group address pond (the Data-Group address pool) of described VPN configuration, wherein, data multicast group address pond comprises one or more data multicast group address.
Control appliance can active obtaining source PE equipment Multicast Tunnel resource information, for example to source PE equipment, send out request, source PE equipment will send to control appliance for the Multicast Tunnel resource information of described VPN configuration according to the request of control appliance.
Control appliance also can passively obtain the Multicast Tunnel resource information of source PE equipment, and for example PE equipment in source initiatively sends to control appliance by the Multicast Tunnel resource information for described VPN configuration.
Step 402, control appliance obtain the private network multicast data flow information that each PE equipment need to receive, and this PE equipment are joined in the recipient PE cluster tool of each private network multicast data flow that this PE equipment need to receive.
The private network multicast data flow information that control appliance can each PE equipment of Real-time Obtaining need to receive.When a PE equipment receives the PIM(Protocol Independent Multicast for private network multicast data flow from the private network of this PE equipment connection, while Protocol Independent Multicast) joining request, this private network multicast data flow information can be sent to control appliance, wherein, private network multicast data flow information specifically can comprise: VPN information, C-S(private network multicast source address), C-G(private network multicast group address) etc.Control appliance receives after this private network multicast data flow information, just can determine that this PE equipment need to receive this private network multicast data flow, and, consider that follow-up source PE equipment may need to set up Data-MDT for this private network multicast data flow, also this PE equipment is joined in the recipient PE cluster tool of this private network multicast data flow, so that follow-up, according to the recipient PE cluster tool of this private network multicast data flow, determine continuation use Default-MDT, share Data-MDT or set up new Data-MDT for this private network multicast data flow with other private network multicast data flow.
Step 403, reception sources PE equipment are for the multicast distribution tree handover request of private network multicast data flow.
In actual applications, source PE equipment need to be monitored the flow of each private network multicast data flow, when the flow of this private network multicast data flow surpasses after certain threshold value, determine and need to set up independent Data-MDT for this private network multicast data flow, at this moment, source PE equipment is no longer selected the operation of data multicast group address or shared Data-MDT, but send multicast distribution tree handover request to control appliance, by control appliance, according to actual conditions, carried out the operation (being also subsequent step 404,405 and 406) of selecting data multicast group address or shared Data-MDT.
Step 404, according to the recipient PE cluster tool of this private network multicast data flow PE cluster tool associated with each data multicast group address having distributed, judge the data multicast distribution tree Data-MDT that whether has this private network multicast data flow of coupling in the PE equipment of source, if, perform step 406, otherwise, execution step 405.
According to the recipient PE cluster tool of this private network multicast data flow PE cluster tool associated with each data multicast group address having distributed, judge in source device whether exist the method for the data multicast distribution tree Data-MDT of this private network multicast data flow of coupling to be: the PE cluster tool that the recipient PE cluster tool of this private network multicast data flow association is associated with all data multicast group address that distributed compares one by one, if exist the PE cluster tool of a data multicast group address association identical with the recipient PE cluster tool of this private network multicast data flow, determine the Data-MDT that has this private network multicast data flow of coupling in the PE equipment of source, and the Data-MDT that this data multicast group address is corresponding mates this private network multicast data flow.
Before carrying out this step, can also first judge source device is whether the Default-MDT that described VPN sets up mates this private network multicast data flow, if, can determine that all PE equipment in VPN all need to receive this private network multicast data flow, only need on Default-MDT, transmit this private network multicast data flow, therefore, need notification source PE equipment to continue in this private network multicast data flow of Default-MDT repeating, if not, can determine that the not all PE equipment in VPN all needs to receive this private network multicast data flow, if continue to transmit this private network multicast data flow on Default-MDT, can cause unnecessary bandwidth resources waste, at this moment, can continue to carry out the operation that whether has the Data-MDT of this private network multicast data flow of coupling in source device that judges in this step.
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: the PE cluster tool (being also connected to all PE cluster tool except the PE equipment of source of VPN) that the recipient PE cluster tool of this private network multicast data flow is associated with described acquiescence multicast group address compares, if identical, determine that source device is that the Default-MDT that described VPN sets up mates this private network multicast data flow.Control appliance can obtain all PE facility informations in VPN in advance, and all PE equipment except the PE equipment of source are joined in the PE cluster tool of described acquiescence multicast group address association.Can obtain all PE facility informations in VPN by the mode of configuration, also can initiatively to control appliance, send the mode of noticing by PE equipment and make control appliance obtain all PE facility informations in VPN.
Step 405, from data multicast group address pond, select a unappropriated data multicast group address to distribute to this private network multicast data flow, notification source PE equipment is set up the Data-MDT that this data multicast group address is corresponding and this private network multicast data flow is switched to the Data-MDT of this foundation, the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of this data multicast group address association.
Source PE equipment is set up the Data-MDT that this data multicast group address is corresponding, that is to say: set up and take the Data-MDT that this data multicast address is public network multicast group address.
Under the PE cluster tool initial situation of data multicast group address association, it is empty set, be assigned to after one or more private network multicast data flows, for the union of the recipient PE cluster tool of these one or more private network multicast data flows, and along with the variation of the recipient PE equipment of these one or more private network multicast data flows and change.
Before carrying out this step, need to first judge and in data multicast group address pond, whether also have unappropriated multicast group data address, if existed, can continue to carry out this step (step 405), otherwise, need to select shared Data-MDT for this private network multicast data flow, specifically comprise: select a data multicast group address having distributed to distribute to this private network multicast data flow, notification source PE equipment is switched to by this private network multicast data flow the Data-MDT that this data multicast group address is corresponding, and the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of this data multicast group address association.
The data multicast group address that one of above-mentioned selection has distributed is distributed to this private network multicast data flow, take and reduce as much as possible bandwidth waste as selection criterion, concrete grammar can be: Data-MDT corresponding to data multicast group address having distributed for each, calculates the bandwidth availability ratio that this private network multicast data flow is switched to this Data-MDT after this Data-MDT; Determine the Data-MDT that bandwidth availability ratio is the highest, the data multicast group address corresponding to this Data-MDT is distributed to this private network multicast data flow.
Wherein, calculating this private network multicast data flow, to be switched to a simple examples of the bandwidth availability ratio after this Data-MDT as follows: suppose that this private network multicast data flow has 2 recipient PE equipment: PE2, PE3, a certain Data-MDT transmits another private network multicast data flow originally, this another private network multicast data flow has 2 recipient PE equipment: PE3, PE4, this private network multicast data flow is switched to after this Data-MDT so, recipient PE equipment has 3, so bandwidth availability ratio P=(2 * 1+2 * 1) ÷ (3 * 2)=66.67%, here the uninterrupted that is two private network multicast data flows of hypothesis is identical, with this, being assumed to be the bandwidth availability ratio carrying out on basis calculates.
Step 406, notification source PE equipment are switched to this private network multicast data flow the Data-MDT of this coupling, and the recipient PE cluster tool of this private network multicast data flow are incorporated to the PE cluster tool of the data multicast group address association that the Data-MDT of this coupling is corresponding.
Shown in Fig. 3, in the embodiment of the present invention, for the PE cluster tool of data multicast group address association, each PE equipment wherein can receive at Data-MDT corresponding to this data multicast group address.
In actual applications, the private network of PE equipment connection can change to the reception demand of private network multicast data flow, correspondingly, the recipient PE cluster tool of private network multicast data flow can change, whether the PE cluster tool of the data multicast group address association distributing for private network multicast data flow also may change, change and need to judge according to actual conditions.
Wherein, when control appliance is known a PE equipment to the reception demand of a certain private network multicast data flow, if be this private network multicast data flow distribute data multicast group address, need this PE equipment to join in the PE cluster tool of this data multicast group address association, thereby keep the PE cluster tool of the PE cluster tool of this data multicast group address association Data-MDT corresponding with joining this data multicast group address consistent.
For this reason, in step 402, control appliance obtains after the private network multicast data flow information that each PE equipment need to receive, in this PE equipment need to being joined to the recipient PE cluster tool of each private network multicast data flow that this PE equipment need to receive, can also judge whether to be this private network multicast data flow distribute data multicast group address, if be this private network multicast data flow distribute data multicast group address, also need this PE equipment to join in the PE cluster tool of this data multicast group address association.
In addition, the PIM for a certain private network multicast data flow that PE equipment receives in the private network connecting from this PE equipment leaves after request, can judge the reception demand that whether also has this private network multicast data flow in the private network of this PE equipment connection, if there is not the reception demand of this private network multicast data flow, needing this private network multicast data flow information to send to control appliance and indicate does not need to receive this private network multicast data flow again.
And during the private network multicast data flow information that control appliance receives that PE equipment sends no longer needs to receive, just this PE equipment can be deleted from the recipient PE cluster tool of this private network multicast data flow.Meanwhile, if be this private network multicast data flow distribute data multicast group address, for the data multicast group address of distributing to this private network multicast data flow, need to judge whether this data multicast group address is also assigned to other private network multicast data flow.Be not assigned in the situation of other private network multicast data flow, only this PE equipment need be deleted from the PE cluster tool of this data multicast group address association.Also be assigned in the situation of other private network multicast data flow, be divided into two kinds of situations: a kind of situation is: although this data multicast group address has also been distributed to other private network multicast data flow, but there is not this PE equipment in the recipient PE cluster tool of this other private network multicast data flow, in this case, also need this PE equipment to delete from the PE cluster tool of this data multicast group address association; Another kind of situation is: although this data multicast group address has also been distributed to other private network multicast data flow, but there is this PE equipment in the recipient PE cluster tool of this other private network multicast data flow, in this case, this PE equipment can not be deleted from the PE cluster tool of this data multicast group address association.
In actual applications, when the recipient PE cluster tool of private network multicast data flow changes, the bandwidth availability ratio that transmits the Data-MDT of this private network multicast data flow also likely can change, for example, originally a certain Data-MDT of hypothesis above transmits two private network multicast data flows, and two private network multicast data flows have identical recipient PE equipment: PE2, PE3, when PE2 does not need to receive one of them private network multicast data flow again, because being still on this Data-MDT, these two private network multicast data flows transmit, therefore, PE2 still can receive does not already need the private network multicast data flow that receives again, obviously, at this moment, on Data-MDT, there is invalid private network multicast data flow, bandwidth resources are wasted, bandwidth availability ratio reduces.
The bandwidth resources waste that changes and cause for the recipient PE cluster tool of alleviating because of private network multicast data flow, in the embodiment of the present invention shown in Fig. 4, when occurring that the recipient PE set of private network multicast data flow changes, the bandwidth availability ratio that can recalculate the Data-MDT of this private network multicast data flow of transmission calculates, when bandwidth availability ratio is too small, private network multicast data flow (bandwidth availability ratio that improves this Data-MDT of take is Criterion of Selecting) is chosen in consideration from share this Data-MDT, and the private network multicast data flow of choosing is switched to other Data-MDT.
For this reason, PE equipment is joined to the recipient PE cluster tool of private network multicast data flow, or while deleting from the recipient PE cluster tool of private network multicast data flow, also need to judge whether to be this private network multicast data flow distribute data multicast group address, if, may be calculated the bandwidth availability ratio of the Data-MDT that this data multicast group address is corresponding, when the bandwidth availability ratio of this Data-MDT is during lower than preset value, principle based on improving the bandwidth availability ratio of this Data-MDT is selected a private network multicast data flow from be assigned to all private network multicast data flows of this data multicast group address, again be that (re-selection method can be with reference to above for this private network multicast data flow selection data multicast group address, the data multicast group address of selecting unappropriated data multicast group address or selecting to have distributed carries out Data-MDT and shares), and notification source PE equipment is switched to Data-MDT(that the data multicast group address redistributed is corresponding when selecting unappropriated data multicast group address by this private network multicast data flow, source PE equipment also needs to set up Data-MDT, and then execution handover operation).
With an example, the embodiment of the present invention shown in Fig. 4 is described below.
In networking shown in Fig. 1, dispose control appliance, form the embodiment of the present invention MVPN networking schematic diagram shown in Fig. 5, as shown in Figure 5, control appliance can establish the link with PE1, PE2, PE3, PE4 respectively, obtains the multicasting VPN relevant information of PE1, PE2, PE3, PE4 by the link of setting up.
Still suppose that in PE1 the Default-Group for VPN1 configuration 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).According to the embodiment of the present invention shown in Fig. 4, PE1 can send to control appliance by Default-Group and Data-Group address pool information for VPN1 configuration.Now, in PE1, the Multicast Tunnel resource service condition of VPN1 is as shown in Table 1:
Data-group list item List item state Associated PE equipment Bandwidth availability ratio
226.0.0.1 Default-group, is used PE2、PE3、PE4 100%
226.0.0.2 Idle NULL 0
226.0.0.3 Idle NULL 0
Table one
First, suppose that CE1 has squeezed into (1.1.1.1,225.0.0.1) private network multicast data flow, CE2 and CE3 need to receive this private network multicast data flow, and this private network multicast data flow is initially in Default-MDT to be transmitted, and the private network being connected with PE3 due to PE2 all has the reception demand to this private network multicast data flow, therefore all to control appliance, send this private network multicast data flow information (VPN1,1.1.1.1,225.0.0.1), thereby the recipient PE cluster tool that control appliance is determined this private network multicast data flow is { PE2, PE3}.
PE1 monitors (1.1.1.1, the flow of private network multicast data flow 225.0.0.1), when reaching preset flow threshold value, to control appliance, send the multicast distribution tree handover request for this private network multicast data flow, control appliance is this private network multicast data flow distribute data multicast group address: 226.0.0.2, and notifies PE1 set up the Data-MDT1 that this data multicast group address (226.0.0.2) is corresponding and this private network multicast data flow is switched to Data-MDT1.Now, in PE1, the Multicast Tunnel resource service condition of VPN1 is as shown in Table 2:
Figure BDA0000428296750000101
Figure BDA0000428296750000111
Table two
Then, CE1 squeezes into (1.1.1.1,225.0.0.2) privately owned net multicast data flow, CE2 and CE3 need to receive this private network multicast data flow, and this private network multicast data flow is initially in Default-MDT to be transmitted, and the private network being connected with PE3 due to PE2 all has the reception demand to this private network multicast data flow, therefore all to control appliance, send this private network multicast data flow information (VPN1,1.1.1.1,225.0.0.2), thereby the recipient PE cluster tool that control appliance is determined this private network multicast data flow is { PE2, PE3}.
PE1 monitors (1.1.1.1, the flow of private network multicast data flow 225.0.0.2), when reaching preset flow threshold value, to control appliance, send the multicast distribution tree handover request for this private network multicast data flow, the PE cluster tool associated with 226.0.0.2 due to the recipient PE set of this private network multicast data flow is identical, therefore this private network multicast data flow also distributed to 226.0.0.2 by control appliance, and notify PE1 that this private network multicast data flow is switched to the Data-MDT1 that 226.0.0.2 is corresponding, thereby make this private network multicast data flow and (1.1.1.1, 225.0.0.1) private network multicast data flow shares Data-MDT1.Now, in PE1, the Multicast Tunnel resource service condition of VPN1 is as shown in Table 3:
Figure BDA0000428296750000112
Table three
Follow again, CE1 squeezes into (1.1.1.1,225.0.0.3) privately owned net multicast data flow, CE3 and CE4 need to receive this private network multicast data flow, and this private network multicast data flow is initially in Default-MDT to be transmitted, and the private network being connected with PE4 due to PE3 all has the reception demand to this private network multicast data flow, therefore all to control appliance, send this private network multicast data flow information (VPN1,1.1.1.1,225.0.0.2), thereby the recipient PE cluster tool that control appliance is determined this private network multicast data flow is { PE3, PE4}.
PE1 monitors (1.1.1.1, the flow of private network multicast data flow 225.0.0.3), when reaching preset flow threshold value, to control appliance, send the multicast distribution tree handover request for this private network multicast data flow, due to the recipient PE cluster tool of this private network multicast data flow PE cluster tool associated with 226.0.0.1 and the associated PE cluster tool of 226.0.0.2 all not identical, therefore, control appliance is this private network multicast data flow distribute data multicast group address: 226.0.0.3, and notify PE1 set up the Data-MDT2 that this data multicast group address (226.0.0.3) is corresponding and this private network multicast data flow is switched to Data-MDT2.Now, in PE1, the Multicast Tunnel resource service condition of VPN1 is as shown in Table 4:
Figure BDA0000428296750000121
Table four
After the technical scheme that the employing embodiment of the present invention provides, (1.1.1.1,225.0.0.1), (1.1.1.1,225.0.0.2), (1.1.1.1,225.0.0.3) traffic transport path embodiment of the present invention Data-MDT as shown in Figure 6 shares schematic diagram, wherein, fine line with arrow represents (1.1.1.1, the transmission path of private network multicast data flow 225.0.0.1), heavy line with arrow represents (1.1.1.1, the transmission path of private network multicast data flow 225.0.0.2), represents the transmission path of the private network multicast data flow of (1.1.1.1,225.0.0.2) with the dotted line of arrow.
To the embodiment of the present invention, the multicasting VPN flow optimization method based on MD has been described in detail above, and the present invention also provides a kind of control appliance and a kind of PE equipment, is elaborated respectively below in conjunction with Fig. 7 and Fig. 8.
Referring to Fig. 7, Fig. 7 is the structural representation of the control appliance that provides of the embodiment of the present invention, and this Application of control device, in the networking that adopts the multicasting VPN based on MD, comprising: acquiring unit 701, receiving element 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 comprises that source PE equipment is the data multicast group address pond of described VPN configuration; For obtaining the private network multicast data flow information that each PE equipment need to receive, this PE equipment is joined in the recipient PE cluster tool of each private network multicast data flow that this PE equipment need to receive;
Receiving element 702, the multicast distribution tree handover request for reception sources PE equipment for each private network multicast data flow;
Control unit 703, while receiving source PE equipment for the multicast distribution tree handover request of private network multicast data flow for receiving element 702, according to the recipient PE cluster tool of this private network multicast data flow PE cluster tool associated with each data multicast group address having distributed, judge the data multicast distribution tree Data-MDT that whether has this private network multicast data flow of coupling in the PE equipment of source, if not, from data multicast group address pond, select a unappropriated data multicast group address to distribute to this private network multicast data flow, instruction sending unit 704 notification source PE equipment are set up the Data-MDT that this data multicast group address is corresponding and this private network multicast data flow are switched to the Data-MDT of this foundation, the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of this data multicast group address association, if, instruction sending unit 704 notification source PE equipment are switched to this private network multicast data flow the Data-MDT of this coupling, and the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of the data multicast group address association that the Data-MDT of this coupling is corresponding.
In above-mentioned control appliance,
Described Multicast Tunnel resource information comprises that source PE equipment is the acquiescence multicast group address of described VPN configuration, and the PE cluster tool of described acquiescence multicast group address association;
Described control unit 703 is after receiving element 702 receives the multicast distribution tree handover request of source PE equipment for private network multicast data flow, before judging the Data-MDT that whether has this private network multicast data flow of coupling in source device, be further used for: judge that source device is that acquiescence multicast component that described VPN sets up is sent out tree Default-MDT and whether mated this private network multicast data flow, if, instruction sending unit 704 notification source PE equipment continue in this private network multicast data flow of Default-MDT repeating, otherwise, judge the Data-MDT that whether has this private network multicast data flow of coupling in source device;
Wherein, described control unit 703 is judging source device is whether Default-MDT that described VPN sets up is while mating this private network multicast data flow, be used for: the PE cluster tool that the recipient PE cluster tool of this private network multicast data flow is associated with described acquiescence multicast group address compares, if identical, determine that source device is that the Default-MDT that described VPN sets up mates this private network multicast data flow.
In above-mentioned control appliance,
When whether described control unit 703 there is the data multicast distribution tree Data-MDT of this private network multicast data flow of coupling in judging source device according to the recipient PE cluster tool of this private network multicast data flow PE cluster tool associated with each data multicast group address having distributed, for:
The PE cluster tool that the recipient PE cluster tool of this private network multicast data flow association is associated with all data multicast group address that distributed compares one by one, if exist the PE cluster tool of a data multicast group address association identical with the recipient PE cluster tool of this private network multicast data flow, determine the Data-MDT that has this private network multicast data flow of coupling in the PE equipment of source, and Data-MDT corresponding to this data multicast group address mates this private network multicast data flow.
In above-mentioned control appliance,
After described control unit 703 does not exist the Data-MDT of this private network multicast data flow of coupling in determining source PE equipment, from data multicast group address pond, select before a unappropriated data multicast group address distributes to this private network multicast data flow, to be further used for:
Judge in this data multicast group address pond and whether have unappropriated data multicast group address, if, from data multicast group address pond, select a unappropriated data multicast group address to distribute to this private network multicast data flow, otherwise, select a data multicast group address having distributed to distribute to this private network multicast data flow, instruction sending unit 704 notification source PE equipment are switched to by this private network multicast data flow the Data-MDT that this data multicast group address is corresponding, and the recipient PE cluster tool of this private network multicast data flow are incorporated to the PE cluster tool of this data multicast group address association.
In above-mentioned control appliance,
When described control unit 703 is distributed to this private network multicast data flow at a data multicast group address having distributed of selection, for:
Data-MDT corresponding to data multicast group address having distributed for each, calculates this private network multicast data flow and is switched to the bandwidth availability ratio after this Data-MDT;
Determine the Data-MDT that bandwidth availability ratio is the highest, the data multicast group address corresponding to this Data-MDT is distributed to this private network multicast data flow.
In above-mentioned control appliance,
Described acquiring unit 701 when obtaining the Multicast Tunnel resource information of source PE equipment, the Multicast Tunnel resource information sending for: reception sources PE equipment;
Described acquiring unit 701 is when obtaining the private network multicast data flow information that other each PE equipment need to receive, be used for: the private network multicast data flow information that receives the needs reception of this other PE equipment transmission, wherein, this private network multicast data flow information is to send after this other PE equipment reception joins request from the PIM for this private network multicast group in the private network of this other PE equipment connection;
Described acquiring unit 701 is in the recipient PE cluster tool that this PE equipment is joined to each private network multicast data flow that this PE equipment need to receive time, be further used for: if be this private network multicast data flow distribute data multicast group address, this PE equipment is joined in the PE cluster tool of this data multicast group address association.
In above-mentioned control appliance,
Described acquiring unit 701, be further used for receiving the private network multicast data flow information that no longer needs reception that other each PE equipment sends, this other PE equipment is deleted from the recipient PE cluster tool of this private network multicast data flow, for the data multicast group address of distributing to this private network multicast data flow, if this data multicast group address is not assigned to other private network multicast data flow, or this data multicast group address is also assigned in the recipient PE cluster tool of other private network multicast data flow and this other private network multicast data flow and does not comprise this other PE equipment, this other PE equipment is deleted from the PE cluster tool of this data multicast group address association, wherein, this private network multicast data flow information is to send after this other PE equipment reception is left request from the PIM for this private network multicast data flow in the private network of this other PE equipment connection.
In above-mentioned control appliance,
Described control unit 703, be further used at acquiring unit 701, PE equipment being joined the recipient PE cluster tool of private network multicast data flow, or while deleting from the recipient PE cluster tool of private network multicast data flow, further judge whether to be this private network multicast data flow distribute data multicast group address, if, be calculated as the bandwidth availability ratio of the Data-MDT that this data multicast group address is corresponding, when the bandwidth availability ratio of this Data-MDT is during lower than preset value, principle based on improving the bandwidth availability ratio of this Data-MDT is selected a private network multicast data flow from be assigned to all private network multicast data flows of this data multicast group address, again be this private network multicast data flow distribute data multicast group address, and instruction sending unit 704 notification source PE equipment are switched to this private network multicast data flow Data-MDT corresponding to data multicast group address redistributing.
Referring to Fig. 8, Fig. 8 is the structural representation of the PE equipment that provides of the embodiment of the present invention, and this PE equipment is applied to adopt the networking of the multicasting VPN based on MD, comprising: receiving element 801, control unit 802, transmitting element 803; Wherein,
Receiving element 801, for this PE equipment, as source PE equipment, the Multicast Tunnel resource information that is described VPN configuration by this PE equipment sends to control appliance, and described Multicast Tunnel resource information comprises that this PE equipment is the data multicast group address pond of described VPN configuration; For this PE equipment, as recipient PE equipment, receive while joining request from the PIM for private network multicast data flow in the private network of this PE equipment connection, instruction sending unit 803 sends to control appliance by this private network multicast data flow information; For transmitting element 803, to control appliance, send after the multicast distribution tree handover request for a private network multicast data flow, receiving control apparatus is that this private network multicast data flow is distributed the notice of returning after a data multicast group address;
Control unit 802, be used for this PE equipment as source PE equipment, detect the flow of each private network multicast data flow, for example, when this private network multicast data flow meets preset configuration condition (flow is greater than preset flow threshold value), instruction sending unit 803 sends the multicast distribution tree handover request for this private network multicast data flow to control appliance, and at receiving element 801, receive after the notice of returning after control appliance is a data multicast group address of this private network multicast data flow distribution, according to this notice, set up and take the Data-MDT that the data multicast group address that distributes is public network multicast group address, this private network multicast data flow is switched to this Data-MDT.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (17)

1. the multicasting VPN flow optimization method based on MD, is characterized in that, the method comprises:
Obtain the Multicast Tunnel resource information of source PE equipment, described Multicast Tunnel resource information comprises that source PE equipment is the data multicast group address pond of described VPN configuration;
Obtain the private network multicast data flow information that each PE equipment need to receive, this PE equipment is joined in the recipient PE cluster tool of each private network multicast data flow that this PE equipment need to receive;
While receiving source PE equipment for the multicast distribution tree handover request of private network multicast data flow, according to the recipient PE cluster tool of this private network multicast data flow PE cluster tool associated with each data multicast group address having distributed, judge the data multicast distribution tree Data-MDT that whether has this private network multicast data flow of coupling in the PE equipment of source
If not, from data multicast group address pond, select a unappropriated data multicast group address to distribute to this private network multicast data flow, notification source PE equipment is set up the Data-MDT that this data multicast group address is corresponding and this private network multicast data flow is switched to the Data-MDT of this foundation, the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of this data multicast group address association;
If so, notification source PE equipment is switched to this private network multicast data flow the Data-MDT of this coupling, and the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of the data multicast group address association that the Data-MDT of this coupling is corresponding.
2. method according to claim 1, is characterized in that,
Described Multicast Tunnel resource information comprises that source PE equipment is the acquiescence multicast group address of described VPN configuration;
The method further comprises: obtain all PE facility informations in described VPN, all PE equipment except the PE equipment of source are joined to the PE cluster tool of described acquiescence multicast group address association;
After receiving the multicast distribution tree handover request of source PE equipment for private network multicast data flow, before judging the Data-MDT that whether has this private network multicast data flow of coupling in source device, further comprise: judge that source device is that acquiescence multicast component that described VPN sets up is sent out tree Default-MDT and whether mated this private network multicast data flow, if, notification source PE equipment continues in this private network multicast data flow of Default-MDT repeating, otherwise, judge the Data-MDT that whether has this private network multicast data flow of coupling 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: the PE cluster tool that the recipient PE cluster tool of this private network multicast data flow is associated with described acquiescence multicast group address compares, if identical, determine that source device is that the Default-MDT that described VPN sets up mates this private network multicast data flow.
3. method according to claim 1, is characterized in that,
According to the recipient PE cluster tool of this private network multicast data flow PE cluster tool associated with each data multicast group address having distributed, judge in source device whether exist the method for the data multicast distribution tree Data-MDT of this private network multicast data flow of coupling to be:
The PE cluster tool that the recipient PE cluster tool of this private network multicast data flow association is associated with all data multicast group address that distributed compares one by one, if exist the PE cluster tool of a data multicast group address association identical with the recipient PE cluster tool of this private network multicast data flow, determine the Data-MDT that has this private network multicast data flow of coupling in the PE equipment of source, and Data-MDT corresponding to this data multicast group address mates this private network multicast data flow.
4. method according to claim 1, is characterized in that,
After determining the Data-MDT that does not have this private network multicast data flow of coupling in the PE equipment of source, from data multicast group address pond, select before a unappropriated data multicast group address distributes to this private network multicast data flow, further to comprise:
Judge in this data multicast group address pond and whether have unappropriated data multicast group address, if, from data multicast group address pond, select a unappropriated data multicast group address to distribute to this private network multicast data flow, otherwise, select a data multicast group address having distributed to distribute to this private network multicast data flow, notification source PE equipment is switched to by this private network multicast data flow the Data-MDT that this data multicast group address is corresponding, and the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of this data multicast group address association.
5. method according to claim 4, is characterized in that,
The method of selecting a data multicast group address having distributed to distribute to this private network multicast data flow is:
Data-MDT corresponding to data multicast group address having distributed for each, calculates this private network multicast data flow and is switched to the bandwidth availability ratio after this Data-MDT;
Determine the Data-MDT that bandwidth availability ratio is the highest, the data multicast group address corresponding to this Data-MDT is distributed to this private network multicast data flow.
6. method according to claim 1, is characterized in that,
The method of obtaining the Multicast Tunnel resource information of source PE equipment is: the Multicast Tunnel resource information that reception sources PE equipment sends.
The method of obtaining the private network multicast data flow information that other each PE equipment need to receive is: receive the private network multicast data flow information that needs that this other PE equipment sends receive, wherein, this private network multicast data flow information is to send after this other PE equipment reception joins request from the PIM for this private network multicast group in the private network of this other PE equipment connection;
While this PE equipment being joined in the recipient PE cluster tool of each private network multicast data flow that this PE equipment need to receive, further comprise: if be this private network multicast data flow distribute data multicast group address, this PE equipment is joined in the PE cluster tool of this data multicast group address association.
7. method according to claim 6, is characterized in that, the method further comprises:
Receive the private network multicast data flow information that no longer needs reception that other each PE equipment sends, this other PE equipment is deleted from the recipient PE cluster tool of this private network multicast data flow, for the data multicast group address of distributing to this private network multicast data flow, if this data multicast group address is not assigned to other private network multicast data flow, or this data multicast group address is also assigned in the recipient PE cluster tool of other private network multicast data flow and this other private network multicast data flow and does not comprise this other PE equipment, this other PE equipment is deleted from the PE cluster tool of this data multicast group address association, wherein, this private network multicast data flow information is to send after this other PE equipment reception is left request from the PIM for this private network multicast data flow in the private network of this other PE equipment connection.
8. method according to claim 7, is characterized in that,
PE equipment is joined to the recipient PE cluster tool of private network multicast data flow, or while deleting from the recipient PE cluster tool of private network multicast data flow, further judge whether to be this private network multicast data flow distribute data multicast group address, if, be calculated as the bandwidth availability ratio of the Data-MDT that this data multicast group address is corresponding, when the bandwidth availability ratio of this Data-MDT is during lower than preset value, principle based on improving the bandwidth availability ratio of this Data-MDT is selected a private network multicast data flow from be assigned to all private network multicast data flows of this data multicast group address, again be this private network multicast data flow distribute data multicast group address, and notification source PE equipment is switched to this private network multicast data flow Data-MDT corresponding to data multicast group address redistributing.
9. a control appliance, is applied to adopt the networking of the multicasting VPN based on MD, it is characterized in that, this control appliance comprises: acquiring unit, receiving element, control unit, transmitting element;
Described acquiring unit, for obtaining the Multicast Tunnel resource information of source PE equipment, described Multicast Tunnel resource information comprises that source PE equipment is the data multicast group address pond of described VPN configuration; For obtaining the private network multicast data flow information that each PE equipment need to receive, this PE equipment is joined in the recipient PE cluster tool of each private network multicast data flow that this PE equipment need to receive;
Described receiving element, the multicast distribution tree handover request for reception sources PE equipment for each private network multicast data flow;
Described control unit, while receiving source PE equipment for the multicast distribution tree handover request of private network multicast data flow for receiving element, according to the recipient PE cluster tool of this private network multicast data flow PE cluster tool associated with each data multicast group address having distributed, judge the data multicast distribution tree Data-MDT that whether has this private network multicast data flow of coupling in the PE equipment of source, if not, from data multicast group address pond, select a unappropriated data multicast group address to distribute to this private network multicast data flow, instruction sending unit notification source PE equipment is set up the Data-MDT that this data multicast group address is corresponding and this private network multicast data flow is switched to the Data-MDT of this foundation, the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of this data multicast group address association, if, instruction sending unit notification source PE equipment is switched to this private network multicast data flow the Data-MDT of this coupling, and the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of the data multicast group address association that the Data-MDT of this coupling is corresponding.
10. control appliance according to claim 9, is characterized in that,
Described Multicast Tunnel resource information comprises that source PE equipment is the acquiescence multicast group address of described VPN configuration;
Described acquiring unit, is further used for obtaining all PE facility informations in described VPN, all PE equipment except the PE equipment of source is joined to the PE cluster tool of described acquiescence multicast group address association;
Described control unit is after receiving element receives the multicast distribution tree handover request of source PE equipment for private network multicast data flow, before judging the Data-MDT that whether has this private network multicast data flow of coupling in source device, be further used for: judge that source device is that acquiescence multicast component that described VPN sets up is sent out tree Default-MDT and whether mated this private network multicast data flow, if, instruction sending unit notification source PE equipment continues in this private network multicast data flow of Default-MDT repeating, otherwise, judge the Data-MDT that whether has this private network multicast data flow of coupling in source device;
Wherein, described control unit is judging source device is whether Default-MDT that described VPN sets up is while mating this private network multicast data flow, be used for: the PE cluster tool that the recipient PE cluster tool of this private network multicast data flow is associated with described acquiescence multicast group address compares, if identical, determine that source device is that the Default-MDT that described VPN sets up mates this private network multicast data flow.
11. control appliances according to claim 9, is characterized in that,
When whether described control unit there is the data multicast distribution tree Data-MDT of this private network multicast data flow of coupling in judging source device according to the recipient PE cluster tool of this private network multicast data flow PE cluster tool associated with each data multicast group address having distributed, for:
The PE cluster tool that the recipient PE cluster tool of this private network multicast data flow association is associated with all data multicast group address that distributed compares one by one, if exist the PE cluster tool of a data multicast group address association identical with the recipient PE cluster tool of this private network multicast data flow, determine the Data-MDT that has this private network multicast data flow of coupling in the PE equipment of source, and Data-MDT corresponding to this data multicast group address mates this private network multicast data flow.
12. control appliances according to claim 9, is characterized in that,
After described control unit does not exist the Data-MDT of this private network multicast data flow of coupling in determining source PE equipment, from data multicast group address pond, select before a unappropriated data multicast group address distributes to this private network multicast data flow, to be further used for:
Judge in this data multicast group address pond and whether have unappropriated data multicast group address, if, from data multicast group address pond, select a unappropriated data multicast group address to distribute to this private network multicast data flow, otherwise, select a data multicast group address having distributed to distribute to this private network multicast data flow, instruction sending unit notification source PE equipment is switched to by this private network multicast data flow the Data-MDT that this data multicast group address is corresponding, and the recipient PE cluster tool of this private network multicast data flow is incorporated to the PE cluster tool of this data multicast group address association.
13. control appliances according to claim 12, is characterized in that,
When described control unit is distributed to this private network multicast data flow at a data multicast group address having distributed of selection, for:
Data-MDT corresponding to data multicast group address having distributed for each, calculates this private network multicast data flow and is switched to the bandwidth availability ratio after this Data-MDT;
Determine the Data-MDT that bandwidth availability ratio is the highest, the data multicast group address corresponding to this Data-MDT is distributed to this private network multicast data flow.
14. control appliances according to claim 9, is characterized in that,
Described acquiring unit when obtaining the Multicast Tunnel resource information of source PE equipment, the Multicast Tunnel resource information sending for: reception sources PE equipment;
Described acquiring unit is when obtaining the private network multicast data flow information that other each PE equipment need to receive, be used for: the private network multicast data flow information that receives the needs reception of this other PE equipment transmission, wherein, this private network multicast data flow information is to send after this other PE equipment reception joins request from the PIM for this private network multicast group in the private network of this other PE equipment connection;
Described acquiring unit is in the recipient PE cluster tool that this PE equipment is joined to each private network multicast data flow that this PE equipment need to receive time, be further used for: if be this private network multicast data flow distribute data multicast group address, this PE equipment is joined in the PE cluster tool of this data multicast group address association.
15. control appliances according to claim 14, is characterized in that,
Described acquiring unit, be further used for receiving the private network multicast data flow information that no longer needs reception that other each PE equipment sends, this other PE equipment is deleted from the recipient PE cluster tool of this private network multicast data flow, for the data multicast group address of distributing to this private network multicast data flow, if this data multicast group address is not assigned to other private network multicast data flow, or this data multicast group address is also assigned in the recipient PE cluster tool of other private network multicast data flow and this other private network multicast data flow and does not comprise this other PE equipment, this other PE equipment is deleted from the PE cluster tool of this data multicast group address association, wherein, this private network multicast data flow information is to send after this other PE equipment reception is left request from the PIM for this private network multicast data flow in the private network of this other PE equipment connection.
16. control appliances according to claim 15, is characterized in that,
Described control unit, be further used at acquiring unit, PE equipment being joined the recipient PE cluster tool of private network multicast data flow, or while deleting from the recipient PE cluster tool of private network multicast data flow, further judge whether to be this private network multicast data flow distribute data multicast group address, if, be calculated as the bandwidth availability ratio of the Data-MDT that this data multicast group address is corresponding, when the bandwidth availability ratio of this Data-MDT is during lower than preset value, principle based on improving the bandwidth availability ratio of this Data-MDT is selected a private network multicast data flow from be assigned to all private network multicast data flows of this data multicast group address, again be this private network multicast data flow distribute data multicast group address, and instruction sending unit notification source PE equipment is switched to this private network multicast data flow Data-MDT corresponding to data multicast group address redistributing.
17. 1 kinds of PE equipment, are applied to adopt the networking of the multicasting VPN based on MD, it is characterized in that, this PE equipment, comprising: receiving element, control unit, transmitting element;
Described receiving element, for this PE equipment, as source PE equipment, the Multicast Tunnel resource information that is described VPN configuration by this PE equipment sends to control appliance, and described Multicast Tunnel resource information comprises that this PE equipment is the data multicast group address pond of described VPN configuration; For this PE equipment, as recipient PE equipment, receive while joining request from the PIM for private network multicast data flow in the private network of this PE equipment connection, instruction sending unit sends to control appliance by this private network multicast data flow information; For transmitting element, to control appliance, send after the multicast distribution tree handover request for a private network multicast data flow, receiving control apparatus is that this private network multicast data flow is distributed the notice of returning after a data multicast group address;
Described control unit, be used for this PE equipment as source PE equipment, detect the flow of each private network multicast data flow, when this private network multicast data flow meets preset configuration condition, instruction sending unit sends the multicast distribution tree handover request for this private network multicast data flow to control appliance, and at receiving element, receive after the notice of returning after control appliance is a data multicast group address of this private network multicast data flow distribution, according to this notice, set up and take the Data-MDT that the data multicast group address that distributes is public network multicast group address, this private network 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 true CN103685040A (en) 2014-03-26
CN103685040B 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119795A (en) * 2015-07-14 2015-12-02 中国联合网络通信集团有限公司 Establishment method and device of multicast tunnel
CN105376161A (en) * 2014-08-28 2016-03-02 杭州华三通信技术有限公司 Multicast distribution tree switching method and device
CN110086720A (en) * 2019-04-22 2019-08-02 清华大学 The method and system of L3VPN are realized based on two-dimentional Routing Protocol
CN111083061A (en) * 2018-10-19 2020-04-28 华为技术有限公司 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 (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376161A (en) * 2014-08-28 2016-03-02 杭州华三通信技术有限公司 Multicast distribution tree switching method and device
WO2016029857A1 (en) * 2014-08-28 2016-03-03 Hangzhou H3C Technologies Co., Ltd. Multicast distribution tree switching method and pe device
US10454696B2 (en) 2014-08-28 2019-10-22 Hewlett Packard Enterprise Development Lp Multicast distribution tree switching
CN105119795A (en) * 2015-07-14 2015-12-02 中国联合网络通信集团有限公司 Establishment method and device of multicast tunnel
CN105119795B (en) * 2015-07-14 2019-04-30 中国联合网络通信集团有限公司 A kind of method for building up and device of Multicast Tunnel
CN111083061A (en) * 2018-10-19 2020-04-28 华为技术有限公司 Method, equipment and system for determining DF (distribution function) of multicast flow
CN111083061B (en) * 2018-10-19 2021-08-20 华为技术有限公司 Method, equipment and system for determining DF (distribution function) of multicast flow
US11546267B2 (en) 2018-10-19 2023-01-03 Huawei Technologies Co., Ltd. Method for determining designated forwarder (DF) of multicast flow, device, and system
CN110086720A (en) * 2019-04-22 2019-08-02 清华大学 The method and system of L3VPN are realized based on two-dimentional Routing Protocol

Also Published As

Publication number Publication date
CN103685040B (en) 2017-01-18

Similar Documents

Publication Publication Date Title
US8009671B2 (en) Multicast method and multicast routing method
US11917262B2 (en) Dynamic designated forwarder election per multicast stream for EVPN all-active homing
CN109150580B (en) Protocol independent multicast join entropy
CN107948064B (en) SDN-based cross-domain multicast method and device
CN102137000B (en) Method, device and system for establishing switching multicast distribution tree
US20140226525A1 (en) Safe Multicast Distribution with Predictable Topology Changes
CN102148745A (en) Method and system for increasing forwarding efficiency of virtual private LAN service network
CN103491015A (en) Method and device for allowing public network to support data multicast distribution tree
CN102201999A (en) Multicast service load sharing method and system
CN103685040A (en) MD (multicast domain) based multicast VPN (virtual private network) traffic optimization method and equipment
CN102916888B (en) Multicast data transmission method and multicast data transmission device
CN104468371A (en) Multicast service message processing method and device
US8675658B2 (en) Using multiple IGMP queriers in a layer 2 network
CN102238069B (en) Data processing method and device for link switching process
US20130308637A1 (en) Multicast data delivery over mixed multicast and non-multicast networks
EP2892196A1 (en) Method, network node and system for implementing point-to-miltipoint multicast
CN106357541B (en) Information transmission method and device
CN105743797A (en) Multicasting VPN (Virtual Private Network) tunnel building method based on interface binding
CN102970236B (en) A kind of multicast distribution tree switching method and apparatus
CN103716244A (en) Method and device enabling extra-VPN forwarding of multicasts to be achieved
CN102299848B (en) Multicast message transmission method and provider edge device (PE)
CN109743250A (en) Transmission method, first network equipment and second network equipment of multicast message
CN106375222A (en) Multicast line switching method for annular networking and equipment
CN102195863B (en) Multicasting realization method, access layer equipment and system under ring network framework
CN105553857A (en) Method and system for IP (Internet Protocol) multicast routing forwarding

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
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.