Nothing Special   »   [go: up one dir, main page]

CN101471880A - Method, system and routing device for processing data - Google Patents

Method, system and routing device for processing data Download PDF

Info

Publication number
CN101471880A
CN101471880A CNA2008101467010A CN200810146701A CN101471880A CN 101471880 A CN101471880 A CN 101471880A CN A2008101467010 A CNA2008101467010 A CN A2008101467010A CN 200810146701 A CN200810146701 A CN 200810146701A CN 101471880 A CN101471880 A CN 101471880A
Authority
CN
China
Prior art keywords
label
vpn
mpls message
outer layer
message
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
CNA2008101467010A
Other languages
Chinese (zh)
Other versions
CN101471880B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008101467010A priority Critical patent/CN101471880B/en
Publication of CN101471880A publication Critical patent/CN101471880A/en
Application granted granted Critical
Publication of CN101471880B publication Critical patent/CN101471880B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a method for processing data, and a system and a routing device thereof. The method comprises the following steps: receiving a first multi-protocol label switching (MPLS) message including a first inner layer label, of which the value is used for identifying and sending/receiving a service agent to which the user of the first MPLS message belongs; and switching the first inner layer label in the first MPLS message to a corresponding second inner layer label; acquiring a first quality of service (QoS) strategy corresponding to the second inner layer label, switching the label to generate a second MPLS message for implementing the first QoS strategy, and sending the second MPLS message to a second autonomous system boundary router (ASBR) of a second autonomous system (AS). The embodiment of the invention can meet the requirements for different service agents in a virtual private network (VPN) on QoS.

Description

Data processing method and system, route device
Technical field
The present invention relates to the communication technology, especially a kind of data processing method and system, route device.
Background technology
In complicated network environment, in order to satisfy service quality (Quality of Service, QOS) etc. professional demand, usually need to carry out a large amount of complex traffic classifications, because can't be according to autonomous system (Autonomous System, AS), clustering information such as group attribute is to message classification, the workload of configuration modification is very big even be difficult to carry out.And use by Border Gateway Protocol (Border GatewayProtocol, BGP) propagate QOS strategy (QOS Policy Propagation Through the BorderGateway Protocol, QPPB) technology can be classified to route by bgp attribute is set in advance by BGP route sender, so just can simplify route recipient's strategy modification, only need the configuration bgp routing policy just can satisfy the demands.
The realization mechanism of QPPB is specially: the BGP route can be carried routing property in announcement process, the BGP Routing Protocol is when neighbours send route, mate routing policy earlier, for the different routing iinformations that send are provided with different BGP routing properties, comprise autonomous system path (AS_PATH), group attribute, extended community attribute etc., these specific attribute are as the sign of BGP route classification.
Bgp neighbor is after receiving route, by inlet routing policy coupling BGP routing property, based on routing property information, comprise the BGP community tabulation, BGP AS path list (paths list), be applied to Access Control List (ACL) (the access control list of router interface, ACL) with prefix list (Prefix list) etc., the coupling routing policy, for the BGP route that receives is provided with the QOS parameter, comprise: IP precedence, QOS local identities (Local ID) and Flow Behavior title (Traffic behavior name) etc., and bgp routing information and the QOS parameter that is associated be issued to router forwarding information base (ForwardInformation Base, FIB) table together; To sorted data flow configuration QOS traffic policy.Like this, in data forwarding process, can use different QOS strategies according to QOS parameters such as the IP precedence that from FIB, obtains, QOS local identities and Flow Behavior titles to the packet that sends to destination network segment, thereby realize by the propagation of BGP to the QOS strategy.
From above process as can be seen, the actual QOS strategy that in bgp routing information, do not send of QPPB technology, just pass through route classification setting routing property at the route transmit leg, configuration QOS strategy on recipient's router interface is provided with the QOS strategy the recipient according to the routing property of destination network segment.Therefore, the QPPB technology can be applied to carry out based on destination address rather than source address the occasion of traffic classification.After recipient's router receives packet, from FIB, search corresponding QOS parameter, after the QOS parameter in matching FIB, carry out corresponding QOS action, thereby realize that QOS guarantees by the source address or the destination address of packet.
When a MPLS provider network can't spread all over all websites at corporate client place, then need to cooperate with other operators, (Virtual Private Network, the interconnected requirement of enterprise security is satisfied in foundation VPN) by cross-domain VPN (virtual private network) between operator's net.At present the feasible cross-domain VPN mode of main flow has two kinds of multiple domain Option A and Option B.As shown in Figure 1, be the structural representation of the cross-domain group network system of prior art, it comprises AS1 and AS2.Option A is cross-domain also to be called cross-domainly back-to-back, adopts that Option A mode is cross-domain can to provide more rich QOS.Business provides node (Service Provider, SP) 1 QOS when adopting Option A mode cross-domain with SP2, border router (Autonomous System BoundaryRouter, ASBR) 1 and ASBR2 between be "VPN routing and forwarding (VRF) instance (VPN Routing/ForwardingInstance, VRF), not that MPLS transmits between them to VRF (VRF to VRF).In order to guarantee that message enters QOS behind another AS from an AS, the value that must will be used to write down MPLS COS (EXP) territory of COS is mapped to the link layer QOS territory between ASBR1 and the ASBR2.In the cross-domain group network system of Option A, ASBR need handle the VPN routing iinformation, and need bear heavier for each VPN configuration VRF instance; In addition, need use a sub-interface at each VPN between the ASBR, increase the complexity of ASBR structure.
Option B is cross-domain also cry single-hop multi-protocols external BGP (Multi-Protocol Exterior BGP, MP-EBGP) cross-domain, be the MP-EBGP adjacent body of setting up single-hop between adjacent domains between the reciprocity ASBR, transmit the VPN-IPv4 route.That is: move MP-EBGP between the reciprocity ASBR, routing iinformations such as the VPN label of propagation VPN-IPv4 route and correspondence, RD/RT.The ASBR of opposite end receives behind the next VPN routing iinformation of MP-EBGP and preserves in this locality, continues backbone network edge (ProviderEdge, PE) router diffusion in own territory again.The advantage of this mode is to have realized the automatic discovery of cross-domain VPN and the automatic announcement of route, does not need all to dispose for each cross-domain vpn service as Option A mode, and autgmentability is better, and the corresponding strategies of cross-domain VPN is also had certain control.In the cross-domain group network system of Option B, transmit VPN information and make up lsp tunnel by normal MPLS/BGP in the AS, transmit VPN information and make up label switched path (Label Switched Path, LSP) tunnel by the MP-EBGP agreement of single-hop between the AS.Between PE1 and ASBR1, and the message between PE2 and the ASBR2, two-layer label is all arranged, the message between ASBR1 and ASBR2 has only one deck label.All implementing QOS according to the outermost layer label value during each node processing message guarantees, therefore, outer layer label sends to opposite end ASBR At time of eject, ASBR shines upon between vpn label and outer layer label, when carrying out the label exchange between the ASBR, (copy) or mapping are duplicated in the EXP territory in the MPLS label.Because the cross-domain mode of VPN Option B is limited to vpn label information is only arranged, no matter be every route or every VPN mode distributing labels, all can't provide VLAN (VirtualLocal Area Network to client's cross-domain flow rate, VLAN)+(Channel Time, QOS CT) guarantees channel time slot.
Realize in the process of the present invention that the inventor finds that there is following problem at least in the cross-domain group network system of existing Option B:
If the inner QOS demand that exists different departments such as management, IT, engineerings of client VPN, the user generally adopts VLAN to divide different business departments, and there is different QOS demands in each department to different business such as voice, video, data.At this moment, because the QOS granularity in the cross-domain group network system of Option B can only arrive the VPN level, can't realize that the QOS of the inner different business of VPN department guarantees.
Summary of the invention
The embodiment of the invention provides a kind of data processing method and system, route device, to satisfy the QOS demand of different business department among the VPN.
A kind of data processing method that the embodiment of the invention provides, this method comprises:
Receive a MPLS message, a MPLS message comprises first vpn label, and the value of this first vpn label is used to identify the affiliated business department of user of the described MPLS message of transmitting-receiving;
Obtain second vpn label of the described first vpn label correspondence, first vpn label in the described MPLS message is exchanged for second vpn label;
According to the corresponding relation between label and the QoS parameter, obtain first QoS parameter of the described second vpn label correspondence;
Obtain and corresponding first quality of service policy of described first QoS parameter, the 2nd MPLS message that label exchange back generates is carried out this first quality of service policy, and described the 2nd MPLS message is sent to second border router in second autonomous system.
A kind of route device that the embodiment of the invention provides comprises:
First receiver module is used to receive a MPLS message, and a MPLS message comprises first vpn label, and the value of this first vpn label is used to identify the affiliated business department of user of the described MPLS message of transmitting-receiving;
The first label Switching Module is used to obtain second vpn label of the described first vpn label correspondence, and first vpn label in the described MPLS message is exchanged for second vpn label;
First acquisition module is used for according to the corresponding relation between label and the QoS parameter, obtains first QoS parameter of the described second vpn label correspondence, and obtains and corresponding first quality of service policy of described first QoS parameter;
First Executive Module is used for the 2nd MPLS message that obtains after the label exchange is carried out this first quality of service policy and sent described the 2nd MPLS message.
The another kind of route device that the embodiment of the invention provides comprises:
Second receiver module, be used to receive the 2nd MPLS message, the 2nd MPLS message comprises second vpn label, the value that comprises EXP territory in the value in EXP territory in first vpn label and first outer layer label in this second vpn label in the EXP territory, the value of described first vpn label is used for identification service department, and the value of described first outer layer label is used for mark business-type;
The second label Switching Module, be used for described the 2nd MPLS message is carried out the label exchange, second vpn label in described the 2nd MPLS message is exchanged for the 3rd vpn label and second outer layer label, described the 3rd vpn label is inherited the value in EXP territory in described first vpn label that comprises in the EXP territory in described second vpn label, and described second outer layer label is inherited the value in EXP territory in described first outer layer label that comprises in the EXP territory in described second vpn label;
Second acquisition module, be used for according to the corresponding relation between label and the QoS parameter, obtain described the 3rd vpn label second QoS parameter corresponding, and obtain and corresponding second quality of service policy of this second QoS parameter with second outer layer label;
Second Executive Module is used for being carried out described second quality of service policy and sent described the 3rd MPLS message by the 3rd MPLS message that obtains after described the 2nd MPLS message label exchange.
Another route device that the embodiment of the invention provides comprises:
The 3rd receiver module is used to receive the IP message;
Package module, be used for obtaining the corresponding vpn label of destination address that carries with described IP message, and to described IP message encapsulate inner layer label generation MPLS message, the value of described vpn label is used to identify the affiliated business department of user of the described MPLS message of transmitting-receiving;
The 3rd acquisition module is used for obtaining the QoS parameter of described vpn label correspondence according to the corresponding relation between label and the QoS parameter, and obtains and the corresponding quality of service policy of this QoS parameter;
The 3rd Executive Module is used for described MPLS message is carried out described quality of service policy and sent described MPLS message.
A kind of data handling system that the embodiment of the invention provides, comprise the first backbone network edge router and first border router in first autonomous system, with second border router and the second backbone network edge router in second autonomous system, the described first backbone network edge router is used to receive the IP message, obtain corresponding with the destination address of this IP message, by the described first border router distributed labels, this label comprises described first vpn label and described first outer layer label, described IP message is encapsulated described label, generate a described MPLS message, and obtain described first vpn label quality of service policy corresponding with first outer layer label, and a described MPLS message carried out this quality of service policy, a described MPLS message is sent to described first border router;
Described first border router is used for ejecting described first outer layer label of a described MPLS message, obtain second vpn label of the described first vpn label correspondence, the value in EXP territory in described first outer layer label is mapped to EXP territory in described second vpn label, and first vpn label in the described MPLS message is exchanged for second vpn label, and first quality of service policy that obtains the described second vpn label correspondence, and the 2nd MPLS message that label exchange back generates carried out this first quality of service policy, described the 2nd MPLS message is sent to described second border router;
Described second border router is used for described the 2nd MPLS message is carried out the label exchange, second vpn label in described the 2nd MPLS message is exchanged for the 3rd vpn label and second outer layer label, described the 3rd vpn label is inherited the value in EXP territory in described first vpn label that comprises in the EXP territory in described second vpn label, described second outer layer label is inherited the value in EXP territory in described first outer layer label that comprises in the EXP territory in described second vpn label, obtain described the 3rd vpn label second quality of service policy corresponding with second outer layer label, and, described the 3rd MPLS message is sent to the described second backbone network edge router to carrying out this second quality of service policy by the 3rd MPLS message that obtains after described the 2nd MPLS message label exchange;
The described second backbone network edge router is used for removing the 3rd vpn label and second outer layer label of described the 3rd MPLS message, described the 3rd MPLS message is reduced to the IP message, and obtain described the 3rd vpn label routing iinformation corresponding with second outer layer label, according to this routing iinformation described IP message is sent to recipient's user network edge router.
Based on the data processing method that the embodiment of the invention provides, can carry out corresponding quality of service policy to the MPLS message according to the vpn label based on customer service department in the MPLS message, thereby can satisfy the QOS demand of different business department among the VPN.The route device and the data handling system that provide based on the embodiment of the invention, can also further carry out corresponding quality of service policy to the MPLS message, thereby satisfy the demand of business dissimilar in the different business department QOS according to the outer layer label based on type of service in the MPLS message.
Description of drawings
Fig. 1 is the structural representation of the cross-domain group network system of prior art.
Fig. 2 is the flow chart of an embodiment of data processing method of the present invention.
Fig. 3 is the flow chart of issuing the BGP route in the data processing method of the present invention and disposing QOS strategy embodiment.
Fig. 4 is the flow chart of another embodiment of data processing method of the present invention.
Fig. 5 is the structural representation of an embodiment of route device of the present invention.
Fig. 6 is the structural representation of another embodiment of route device of the present invention.
Fig. 7 is the structural representation of another embodiment of route device of the present invention.
Embodiment
In the embodiment of the invention, the different departments to user VPN on PE are provided with different BGP community attributes, and are the different vpn label of different departments' distribution of VPN based on the BGP community attribute.In the cross-domain VPN of Option B, by the QOS strategy of QPPB deployment, user's cross-domain flow rate is implemented flow VLAN QOS by vpn label based on group attribute, provide the QOS that the different VLAN of department are inserted to guarantee.In addition, can also distribute different outer layer labels based on type of service, the value in EXP territory provides the QOS to different kinds of business to guarantee in the outer layer label that makes the vpn label of the MPLS message that transmits between the ASBR carry the BGP community attribute simultaneously and encapsulate when generating the MPLS message.The business department of the embodiment of the invention specifically can be management, IT, engineering of VPN inside etc. has different demands to QOS a business department, for example: can be for corresponding to user network edge router (Custom EdgeRouter, CE) business department of the VLAN of affiliated function, also can be business department, perhaps the business department that divides according to alternate manner corresponding to an interface on the PE.In various embodiments of the present invention, is that example describes with business department for the business department corresponding to the VLAN of CE affiliated function, that is: the value with vpn label identifies the CE VLAN of affiliated function, to its business department that divides according to alternate manner, that is: the business department that divides according to alternate manner with the value sign of vpn label is same suitable.
As shown in Figure 2, be the flow chart of an embodiment of data processing method of the present invention, it comprises:
ASBR among 101, the one AS receives a MPLS message, and a MPLS message comprises first vpn label, and the value of this first vpn label is used to identify the VLAN of CE affiliated function of the described MPLS message of transmitting-receiving.
102, the one ASBR obtain second vpn label of the first vpn label correspondence, and first vpn label in the MPLS message is exchanged for second vpn label.
103, the one ASBR is according to label that sets in advance and the corresponding relation between the QOS parameter, obtain a QOS parameter of the second vpn label correspondence, QOS parameter wherein can be one or more in IP precedence, EXP, VLAN priority, QOS local identities and the Flow Behavior title.
104, the one ASBR obtain and corresponding first quality of service policy of a QOS parameter, and the 2nd MPLS message that label exchange back generates is carried out a QOS strategy, and the 2nd MPLS message is sent to the 2nd ASBR among the 2nd AS.
Particularly, the QOS strategy can be the tunnel that sends the MPLS message; Accordingly, the MPLS message is carried out the QOS strategy and sent the MPLS message can be the tunnel of selecting to send this MPLS message, and sends described MPLS message with the tunnel of selecting.
Implement the QOS strategy by VLAN, therefore, can satisfy the QOS demand of different business department among the VPN corresponding to different business department.
In addition, in embodiment illustrated in fig. 2 101, can also comprise first outer layer label in the MPLS message that an ASBR receives, the value of this first outer layer label is used for mark business-type.Accordingly, in 102, the one ASBR ejects first outer layer label earlier, after obtaining second vpn label of the first vpn label correspondence, the value in EXP territory in first outer layer label is mapped to EXP territory in second vpn label, then first vpn label in the MPLS message is exchanged for second vpn label.
After in MPLS, carrying first outer layer label that distributes based on type of service, can implement the QOS strategy to user's cross-domain flow rate according to VLAN and type of service, thereby satisfy the QOS demand of different business department different business.
After embodiment illustrated in fig. 2 104, can also comprise: the 2nd ASBR carries out the label exchange to the 2nd MPLS message, second vpn label in the 2nd MPLS message is exchanged for the 3rd vpn label and second outer layer label, inherit the value in EXP territory in first vpn label that comprises in the EXP territory in second vpn label by the 3rd vpn label, inherit the value in EXP territory in first outer layer label that comprises in the EXP territory in second vpn label by second outer layer label.The 2nd ASBR is according to label that sets in advance and the corresponding relation between the QoS parameter, obtain the 3rd vpn label two QOS parameter corresponding with second outer layer label, and obtain and corresponding the 2nd QOS strategy of the 2nd QOS parameter, and to carrying out the 2nd QOS strategy, the 3rd MPLS message is sent to PE among the 2nd AS by the 3rd MPLS message that obtains after the 2nd MPLS message label exchange.PE among the 2nd AS removes the 3rd vpn label and second outer layer label in the 3rd MPLS message, the 3rd MPLS message is reduced to the IP message, and obtain the 3rd vpn label routing iinformation corresponding with second outer layer label, according to this routing iinformation described IP message is sent to recipient CE.
On the LSP in the 2nd AS between ASBR and the PE, can comprise a plurality of LSRs (Label Switched Router, LSR).When comprising a LSR on the LSP between ASBR and PE, ASBR among the 2nd AS specifically can comprise the PE that the 3rd MPLS message sends among the 2nd AS: the 2nd ASBR sends to the LSR on the LSP among the 2nd AS according to the 3rd vpn label in the 3rd MPLS message and second outer layer label with the 3rd MPLS message.This LSR carries out the label exchange to the 3rd MPLS message, the 3rd vpn label in the 3rd MPLS message and second outer layer label are exchanged for the 4th corresponding vpn label and the 3rd outer layer label, and the value in EXP territory is inherited the value in EXP territory in the 3rd vpn label and second outer layer label respectively in the 4th vpn label and the 3rd outer layer label.This LSR is according to label that sets in advance and the corresponding relation between the QOS parameter, obtain the 4th vpn label three QOS parameter corresponding with the 3rd outer layer label, and obtain and corresponding the 3rd QOS strategy of the 3rd QOS parameter, and to carrying out the 3rd QOS strategy, the 4th MPLS message is sent to second the PE in AS by the 4th MPLS message that obtains after the 3rd MPLS message label exchange.Suitable equally for the situation that comprises a plurality of LSR on the LSP between ASBR and the PE among the 2nd AS, last each LSR of LSP carries out the label exchange to the MPLS message that receives, the label that receives in the message is exchanged for next jumping distributed labels, and next jumps the QOS parameter of distributed labels correspondence to obtain this, and the corresponding QOS strategy of this QOS parameter, and the MPLS message after the label exchange carried out this QOS strategy, the MPLS message being sent to next jump, is PE among the 2nd ASBR until this next jumping.
In addition, before shown in Figure 2 101, can also comprise: PE among the AS receives the IP message that is sent by transmit leg CE, obtain destination address with this IP message corresponding, by the ASBR distributed labels among the AS, this label comprises first vpn label.This PE generates a MPLS message to the label that described IP message encapsulation gets access to.PE is according to label that sets in advance and the corresponding relation between the QOS parameter, obtain the QOS corresponding with the label that encapsulates, and obtain and the corresponding QOS strategy of this QOS parameter, and a MPLS message is carried out this QOS strategy, a MPLS message is sent to a ASBR among the AS.Satisfy the QOS demand of different kinds of business if desired, after then the PE among the AS receives the IP message, also obtain and corresponding first outer layer label of the type of service of this IP message, described IP message is encapsulated first vpn label and first outer layer label.
Equally, on the LSP in an AS between ASBR and the PE, also can comprise a plurality of LSR.When comprising a LSR on the LSP between ASBR and PE, PE among the one AS specifically can comprise the ASBR that a MPLS message sends among the AS: the PE among the AS sends to the LSR on the LSP among the AS according to first vpn label in the MPLS message and first outer layer label with a MPLS message.This LSR carries out the label exchange to a MPLS message, first vpn label in the one MPLS message and first outer layer label are exchanged for the 5th corresponding vpn label and the layer label all round, the 5th vpn label with all round in layer label value in EXP territory inherit the value in EXP territory in first vpn label and first skin respectively.This LSR is according to label that sets in advance and the corresponding relation between the QOS, obtain the 5th vpn label and the 4th corresponding QOS parameter of layer label all round, and obtain and corresponding the 4th QOS strategy of the 4th QOS parameter, and to carrying out the 4th QOS strategy, the 5th MPLS message is sent to ASBR among the AS by the 5th MPLS message that obtains after the MPLS message label exchange.Suitable equally for the situation that comprises a plurality of LSR on the LSP between ASBR and the PE among the AS, last each LSR of LSP carries out the label exchange to the MPLS message that receives, the label that receives in the message is exchanged for next jumping distributed labels, and next jumps the QOS parameter of distributed labels correspondence to obtain this, and the corresponding QOS strategy of this QOS parameter, and the MPLS message after the label exchange carried out this QOS strategy, and the MPLS message is sent to next jump, be ASBR among the AS until next jumping.If do not comprise first outer layer label in the MPLS message, then in the transmission course of follow-up MPLS message, do not need to carry out the exchange of MPLS outer layer label.
In the data processing method of the foregoing description, also comprise: based on business department, for example: VLAN, the BGP community attribute of BGP route is set, and based on BGP community attribute assignment first vpn label, the value of this first vpn label is used for identification service department, for example: and VLAN, and distribute first outer layer label according to type of service; Issue described BGP route and distributed labels binding by QPPB, and configuration QOS strategy.
As shown in Figure 1, ce1 and ce2 belongs to the different departments among the same VPN, and it is by the VLAN access network, and ce1 and ce2 is the type of service difference of two affiliated departments respectively, and corresponding QOS demand is also different.Suppose that CE1 belongs to A department, its type of service is speech business and digital service, and CE2 belongs to B department, and its type of service is a digital service.For distinguishing without the different service types among the VLAN of department and each VLAN, under the 3rd layer of (L3) VPN of Option B networking, for different VLAN department is provided with different BGP community attributes, based on group attribute is that the route entry of different VLAN department is distributed different labels, wherein, the value in EXP territory is corresponding with the BGP community attribute in the vpn label.
As shown in Figure 3, for issue BGP route in the data processing method of the present invention and dispose the flow chart of QOS strategy embodiment, its routing iinformation issuing process is as follows:
201, PE1 among the AS1 receives the BGP route of ce1 and ce2 issue, for example: the Ipv4 route, configuration inlet routing policy, according to the subnet prefix under the ce1 and ce2, the BGP community attribute that the BGP route of issue ce1 and ce2 is set is respectively R1, R2, and be respectively the different label E 1-of BGP route assignment of ce1 and ce2 based on the BGP community attribute〉L1, E2-〉L2, generate BGP route and label binding and be stored in local label information table (Label Information Table, LIB) in, and (Route Distinguisher RD), comprises the AS1 sign among the RD to add route distinguisher in the Ipv4 route.Wherein, L1 and L2 are vpn label, and also promptly: the MPLS label, its value is used to identify VLAN.E1 and E2 be and type of service corresponding outer layer label, in the present embodiment, is that example describes not relate to type of service to the demand of QOS, and outer layer label E1 and E2 are specially sky, and do not distribute outer layer label.
202, PE1 utilizes the routing table of setting up by in advance, and BGP route and the distributed labels binding that is provided with group attribute sent to ASBR1.
203, disposed QPPB on the ASBR1, BGP route and label binding that PE1 is sent are stored among the local LIB, AS1 in the BGP route of ce1 and ce2 sign is replaced with the AS2 sign, and in conjunction with local routing table, again be BGP route assignment vpn label L11, the L21 of ce1 and ce2 issue, and in the vpn label L11 of this distribution and L21, inherit the value in EXP territory in the vpn label of PE1 distribution respectively.
204, ASBR1 is at forwarding information table (the Forwarding Information Table of this locality, FIB) generate the network address and the outgoing label E1-of CE1 subnet in〉the L11 clauses and subclauses, and the network address of CE2 subnet and outgoing label L21 clauses and subclauses, at label forwarding information table (Label Forwarding Information Table, what generate the CE1 subnet LFIB) advances label L1 and outgoing label〉the L11 clauses and subclauses, and the CE2 subnet advance label L2 and outgoing label L21 clauses and subclauses, and, the BGP community attribute R1 that ASBR1 carries according to the BGP route respectively, R2, the BGP route of issuing for ce1 and ce2 is provided with corresponding QOS parameter, comprise: IP precedence, VLAN priority, QOSID and Flow Behavior title etc. are set up label L1, L2 and QOS parameter, and correspondence relationship information between QOS parameter and the QOS strategy and storage.
205, ASBR1 sends to PE1 with the BGP route of ce1 and ce2 and the label binding of redistributing, and is stored among the LIB among the PE1 by PE1; Simultaneously, ASBR1 utilizes MP-IBGP to pass through public network, and the BGP route of ce1 and ce2 and the label binding of redistributing are distributed to ASBR2 among PE1 and the AS2, and PE1 stores BGP route and the label binding redistributed among the LIB among this PE1 into.
206, disposed QPPB on the ASBR2, the BGP route of the ce1 and ce2 that ASBR1 is sent is stored among the local LIB with the label binding of redistributing, in conjunction with local routing table, again be BGP route assignment vpn label L12, the L22 of ce1 and ce2 issue, and in the vpn label L12 of this distribution and L22, inherit the value in EXP territory in the vpn label of ASBR1 distribution.
207, ASBR2 generates the network address and the outgoing label E1-of CE1 subnet in the FIB of this locality〉the L12 clauses and subclauses, and the network address of CE2 subnet and outgoing label E2-〉the L22 clauses and subclauses, what generate the CE1 subnet in LFIB advances label E 1-〉L11 and outgoing label E1-〉the L12 clauses and subclauses, and the CE2 subnet advance label E 2-L21 and outgoing label E2-the L22 clauses and subclauses, and, the BGP community attribute R1 that ASBR2 carries according to the BGP route respectively, R2, the BGP route of issuing for ce1 and ce2 is provided with corresponding QOS parameter, comprise: IP precedence, VLAN priority, QOS ID and Flow Behavior title etc. are set up label E 1-〉L11, E2-〉L21 and QOS parameter, and correspondence relationship information between QOS parameter and the QOS strategy and storage.
208, ASBR2 sends to ASBR1 with the BGP route of ce1 and ce2 and the label binding of redistributing, and is stored among the LIB among the ASBR1 by ASBR1; Simultaneously, with the BGP route of CE1 and the label E 1-that redistributes〉the BGP route and the label E 2-that redistributes of L12 binding and CE2〉the L22 binding is distributed to PE2.
209, PE2 is stored in the BGP route of ce1 and ce2 among the local LIB with the label binding of redistributing, BGP community attribute R1, the R2 that carries according to the BGP route respectively, the BGP route of issuing for ce1 and ce2 is provided with corresponding QOS parameter, comprise: IP precedence, VLAN priority, QOS ID and Flow Behavior title etc., set up label E 1-L12, E2-correspondence relationship information and storage between L22 and QOS parameter and QOS parameter and the QOS strategy.
Through above-mentioned flow process, reached the dynamic equilibrium of routing table, LIB, FIB and LFIB on the PE1 of whole M PLS network internal, ASBR1, ASBR2 and the PE2, wherein, the LFIB on the PE2 does not comprise into label E 1-〉L12, E2-〉L22 and corresponding outgoing label clauses and subclauses.
210, PE2 spreads the BGP route of ce1 and ce2 issue to the CE among the AS2, comprises CE3, CE4 and CE5.
211, CE3, CE4 and CE5 are stored in the BGP route of the ce1 and ce2 that PE2 sends in the local routing table.
Further, in embodiment illustrated in fig. 3 201, the value of outer layer label can be set, utilize the value sign A department of this outer layer label E1 and E2 and the type of service that B department commences business according to the type of service that A department and B department commence business.Accordingly, need to redistribute outer layer label on ASBR1 and the ASBR2, and in the outer layer label that distributes, inherit the value in EXP territory in the former outer layer label, concrete BGP community attribute R1, the R2 that carries according to the BGP route, and the value in EXP territory in the outer layer label, for the BGP route of ce1 and ce2 issue is provided with corresponding QOS parameter.
Suppose that CE3 belongs to A department, need carry out speech business with the CE1 that belongs to this A department, the speech business flow of CE3 need mail to CE1 from CE3, as shown in Figure 4, be the flow chart of another embodiment of data processing method of the present invention, its MPLS message forwarding process is as follows:
301, the routing table that CE3 inquiry is local is known the route that mails to CE1, and the IP message that will mail to CE1 sends to PE2.
302, PE2 receives the IP message that CE3 mails to CE1, according to the destination address that carries in this IP message, that is: the network address of CE1, the fib table that inquiry is local, obtain with the network address of CE1 corresponding, by the ASBR2 distributed labels, suppose that this label is E12-〉L12, wherein, E12 is an outer layer label, and it is speech business that its value is used for mark business-type, L12 is a vpn label, its value is used to identify the VLAN of A department, and described IP message is inserted label E 12-〉L12, generate the MPLS message, and inquire label and QOS parameter successively, correspondence relationship information between QOS parameter and the QOS strategy, obtain and label E 12-QOS parameter that L12 is corresponding, and obtain the QOS strategy corresponding, that is: the QOS strategy corresponding with the speech business of the VLAN of A department with this QOS parameter.
303, PE2 carries out corresponding QOS strategy to this MPLS message, and this MPLS message is sent to ASBR2.
Particularly, this QOS strategy can be the tunnel that sends described MPLS, and this MPLS message is mail to ASBR2 according to the tunnel that inquires.
304, after ASBR2 receives the MPLS message, eject the outer layer label E12 of MPLS message, label and outgoing label clauses and subclauses are advanced in inquiry, obtain the vpn label L11 corresponding, the value in EXP territory among the outer layer label E12 is mapped to EXP territory among the vpn label L11, and carries out the vpn label exchange with the vpn label L12 of MPLS message, vpn label L12 is exchanged for vpn label L11, again the MPLS message is encapsulated with vpn label L11.
305, the corresponding relation between ASBR2 inquiry tag and the QOS parameter obtains the QOS parameter corresponding with vpn label L11, and further inquires about the correspondence relationship information between QOS parameter and the QOS strategy, obtains the QOS strategy corresponding with this QOS parameter.
306, ASBR2 carries out the QOS strategy that gets access to this MPLS message, and for example: concrete tunnel between ASBR2 and the ASBR1 sends to ASBR1 with this MPLS message.
307, ASBR1 advances label and outgoing label clauses and subclauses with inquiry, the MPLS message is carried out the label exchange, again to MPLS message encapsulated tags E1-〉L1, wherein outgoing label is inherited the value in the EXP territory of E12 in the former outer layer label, and vpn label L11 inherits the value in EXP territory among the former vpn label L12.
308, the corresponding relation between ASBR1 inquiry tag and the QOS parameter obtains and label E 1-〉QOS parameter that L11 is corresponding, and further inquire about correspondence relationship information between QOS parameter and the QOS strategy, obtain the QOS strategy corresponding with this QOS parameter.
309, ASBR1 carries out the corresponding QOS strategy that gets access to this MPLS message, and this MPLS message is sent to PE1.
310, PE1 removes the label E 1-in the MPLS message〉L11, this MPLS message is reverted to the IP message, and inquiry LIB, obtain label E 1-〉routing iinformation of L11 correspondence, and this IP message is sent to CE1 according to this routing iinformation.
Corresponding with embodiment shown in Figure 3, if do not have concrete QOS demand, in then embodiment illustrated in fig. 4 302, need not obtain with the corresponding outer layer label E12 of type of service and to IP message encapsulation outer layer label E12 at type of service.
As shown in Figure 5, structural representation for an embodiment of route device of the present invention, the route device of this embodiment can be used as an AS, and (also promptly: the ASBR AS2) (also promptly: ASBR2), realize the corresponding flow process among the above-mentioned data processing method embodiment of the present invention, it comprises first receiver module 401, the first label Switching Module 402, first acquisition module 403 and first Executive Module 404.
Wherein, first receiver module 401 is used to receive a MPLS message, and a MPLS message comprises first internal layer, and the value of this first vpn label is used to identify the affiliated business department of CE of transmitting-receiving the one MPLS message, for example: the VLAN of this business department's correspondence.As another embodiment, can also comprise first outer layer label that is used to identify a MPLS message corresponding service type in the MPLS message.The first label Switching Module 402 is used to obtain second vpn label of the first vpn label correspondence, and first vpn label in the MPLS message is exchanged for second vpn label.If also comprise first outer layer label in the MPLS message, after then the first label Switching Module 402 gets access to second vpn label, first value with EXP territory in first outer layer label is mapped to the EXP territory in second vpn label, and then first vpn label in the MPLS message is exchanged for second vpn label.First acquisition module 403 is used for obtaining a QOS parameter of the second vpn label correspondence, and obtaining and the corresponding QOS strategy of a QOS parameter according to label that sets in advance and the corresponding relation between the QOS parameter.First Executive Module 404 is used for the 2nd MPLS message that obtains after the label exchange is carried out QOS strategy and sent the 2nd MPLS message.
In addition, route device embodiment illustrated in fig. 5 can also comprise one or more in first memory module 405, second memory module 406 and the 3rd memory module 407.Wherein, first memory module 405 is used to be stored into label and outgoing label clauses and subclauses; The first label Switching Module 402 specifically according to storage in first memory module 405 go into label and outgoing label clauses and subclauses, obtain second vpn label of the first vpn label correspondence.Second memory module 406 is used to store the label that sets in advance and the corresponding relation between the QOS parameter.The 3rd memory module 407 is used to store the QOS parameter that sets in advance and the corresponding relation between the QOS strategy.First acquisition module 403 is specifically according to the label of storage in second memory module 406 and the corresponding relation between the QOS parameter, and the QOS parameter of the 3rd storage in the memory module 407 and the corresponding relation between the QOS strategy, obtain a QOS parameter of the second vpn label correspondence, and obtain and the corresponding QOS strategy of a described QOS parameter.
As shown in Figure 6, structural representation for another embodiment of route device of the present invention, the route device of this embodiment can be used as the 2nd AS, and (also promptly: the ASBR AS1) (also promptly: ASBR1), realize the corresponding flow process among the above-mentioned data processing method embodiment of the present invention, it comprises second receiver module 501, the second label Switching Module 502, second acquisition module 503 and second Executive Module 504.
Wherein, second receiver module 501 is used to receive the 2nd MPLS message, and the 2nd MPLS message comprises second vpn label, comprises the value in EXP territory in the value in EXP territory in first vpn label and first outer layer label in this second vpn label in the EXP territory.Wherein, the value of first vpn label is used for identification service department, and for example: the VLAN of this business department's correspondence, the value of first outer layer label is used for mark business-type.The second label Switching Module 502 is used for the 2nd MPLS message is carried out the label exchange, second vpn label in the 2nd MPLS message is exchanged for the 3rd vpn label and second outer layer label, the 3rd vpn label is inherited the value in EXP territory in first vpn label that comprises in the EXP territory in second vpn label, and second outer layer label is inherited the value in EXP territory in first outer layer label that comprises in the EXP territory in second vpn label.Second acquisition module 503 is used for obtaining the 3rd vpn label two QOS parameter corresponding with second outer layer label, and obtaining and corresponding the 2nd QOS strategy of the 2nd QOS parameter according to label that sets in advance and the corresponding relation between the QOS parameter.Second Executive Module 504 is used for being carried out the 2nd QOS strategy and sent the 3rd MPLS message by the 3rd MPLS message that obtains after the exchange of the 2nd MPLS message label.
In addition, route device embodiment illustrated in fig. 6 also can comprise one or more in first memory module 405, second memory module 406 and the 3rd memory module 407.Wherein, first memory module 405 is used to be stored into label and outgoing label clauses and subclauses; The second label Switching Module 502 is used for the outgoing label clauses and subclauses the 2nd MPLS message being carried out label and exchanging according to the label of going into of first memory module 405 storage, and second vpn label in the 2nd MPLS message is exchanged for the 3rd vpn label and second outer layer label.Second memory module 406 is used to store the label that sets in advance and the corresponding relation between the QOS parameter.The 3rd memory module 407 is used to store the QOS parameter that sets in advance and the corresponding relation between the QOS strategy.Second acquisition module 503 specifically is used for according to the label of second memory module, 406 storages and the corresponding relation between the QOS parameter, and the QOS parameter of the 3rd storage in the memory module 407 and the corresponding relation between the QOS strategy, obtain the 3rd vpn label two QOS parameter corresponding, and obtain and corresponding the 2nd QOS strategy of the 2nd QOS parameter with second outer layer label.
As shown in Figure 7, structural representation for another embodiment of route device of the present invention, the route device of this embodiment can be used as an AS, and (also promptly: the PE AS2) (also promptly: PE2), realize the corresponding flow process among the above-mentioned data processing method embodiment of the present invention, it comprises the 3rd receiver module 601, package module 602, the 3rd acquisition module 603 and the 3rd Executive Module 604.
Wherein, the 3rd receiver module 601 is used to receive the IP message that CE sends.Package module 602 is used for obtaining the corresponding vpn label of destination address that carries with described IP message, and this IP message is inserted this vpn label generate the MPLS message, the value of this vpn label is used to identify the affiliated business department of CE of this MPLS message of transmitting-receiving, for example: the VLAN of this business department's correspondence.As another embodiment, package module 602 can also obtain the type of service corresponding outer layer label with the IP message, and the outer layer label that encapsulation gets access to the IP message, and at this moment, the label of MPLS message comprises vpn label and outer layer label.The 3rd acquisition module 603 is used for obtaining the QOS parameter of described vpn label correspondence, and obtaining and the corresponding QOS strategy of this QOS parameter according to label that sets in advance and the corresponding relation between the QOS parameter.If the MPLS message comprises outer layer label, then the 3rd acquisition module 603 obtains the vpn label QOS parameter corresponding with outer layer label.The 3rd Executive Module 604 is used for this MPLS message is carried out the corresponding QOS strategy that gets access to and sent this MPLS message.
In addition, the route device in embodiment illustrated in fig. 7 can also comprise one or more in the 4th memory module 705, second memory module 406 and the 3rd memory module 407.Wherein, the 4th memory module 705 is used for the correspondence relationship information between storage purpose address and the label; Package module 602 is specifically according to the destination address of storage in the 4th memory module 705 and the correspondence relationship information between the label, obtain with described IP message in the corresponding vpn label of destination address that carries.Second memory module 406 is used to store the label that sets in advance and the corresponding relation between the QOS parameter.The 3rd memory module 407 is used to store the QOS parameter that sets in advance and the corresponding relation between the QOS strategy.The 3rd acquisition module 603 is specifically according to the label of storage in second memory module 406 and the corresponding relation between the QOS parameter, and the QOS parameter of the 3rd storage in the memory module 407 and the corresponding relation between the QOS strategy, obtain the described vpn label QOS parameter corresponding, and obtain and the corresponding QOS strategy of this QOS parameter with outer layer label.
In addition, the embodiment of the invention also provides the data handling system based on the cross-domain networking of Option B, this data handling system comprise an AS (also promptly: the PE AS2) (also promptly: PE2) with an ASBR (also promptly: ASBR2) and the 2nd AS (also promptly: the 2nd ASBR AS1) (also promptly: ASBR1) with the 2nd PE (also promptly: PE1).
As one embodiment of the present of invention, wherein, the one PE is used to receive the IP message that is sent by transmit leg user CE, obtain destination address with this IP message corresponding, by an AS distributed labels, this label comprises first vpn label and first outer layer label, to IP message encapsulated tags, generate a MPLS message, and obtain first vpn label QOS strategy corresponding with first outer layer label, and a MPLS message is carried out this QOS strategy, a MPLS message is sent to an AS.
The one AS is used for ejecting first outer layer label of a MPLS message, obtain second vpn label of the first vpn label correspondence, the value in EXP territory in first outer layer label is mapped to EXP territory in second vpn label, and first vpn label in the MPLS message is exchanged for second vpn label, an and QOS strategy that obtains the second vpn label correspondence, and the 2nd MPLS message that label exchange back generates carried out a QOS strategy, the 2nd MPLS message is sent to the 2nd AS.
The 2nd AS is used for the 2nd MPLS message is carried out the label exchange, second vpn label in the 2nd MPLS message is exchanged for the 3rd vpn label and second outer layer label, the 3rd vpn label is inherited the value in EXP territory in first vpn label that comprises in the EXP territory in second vpn label, second outer layer label is inherited the value in EXP territory in first outer layer label that comprises in the EXP territory in second vpn label, obtain the 3rd vpn label two QOS strategy corresponding with second outer layer label, and, the 3rd MPLS message is sent to the 2nd PE to carrying out the 2nd QOS strategy by the 3rd MPLS message that obtains after the exchange of the 2nd MPLS message label.
The 2nd PE is used for removing the 3rd vpn label and second outer layer label of the 3rd MPLS message, the 3rd MPLS message is reduced to the IP message, and obtain the 3rd vpn label routing iinformation corresponding with second outer layer label, according to this routing iinformation the IP message is sent to recipient's user network edge router.
In the above-described embodiments, a PE, an ASBR and the 2nd AS have adopted the route device that Fig. 7, Fig. 5 and one of them embodiment shown in Figure 6 provide respectively.As other embodiment of data handling system of the present invention, the route device that a PE, an ASBR and the 2nd AS also can adopt Fig. 7, Fig. 5 and other embodiment shown in Figure 6 to provide respectively.
In the embodiment of the invention, different departments to user VPN on PE are provided with different BGP community attributes, and be that the different departments of VPN distribute different vpn labels based on the BGP community attribute, in the cross-domain VPN of Option B, by the QOS strategy of QPPB deployment based on group attribute, the value in EXP territory in the outer layer label that the vpn label of the MPLS message that transmits between the ASBR encapsulates in the time of can carrying the BGP community attribute information simultaneously and generate the MPLS message, can implement flow QOS strategy by vpn label to user's cross-domain flow rate, provide different departments are guaranteed the QOS that different kinds of business inserts.
Through the above description of the embodiments, those of ordinary skill in the art can be well understood to the embodiment of the invention and can realize by the mode that software adds essential general hardware platform, can certainly realize by hardware.Based on such understanding, the technical scheme of the embodiment of the invention can embody with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that computer equipment or server or other network equipments are carried out the described method of some part of each embodiment of the present invention or embodiment.
It should be noted last that: above embodiment is only in order to illustrating technical scheme of the present invention, but not the present invention is made restrictive sense.Although the present invention is had been described in detail with reference to above-mentioned preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and this modification or be equal to the spirit and scope that replacement does not break away from technical solution of the present invention.

Claims (15)

1, a kind of data processing method is characterized in that, comprising:
Receive a MPLS message, a MPLS message comprises first vpn label, and the value of this first vpn label is used to identify the affiliated business department of user of the described MPLS message of transmitting-receiving;
Obtain second vpn label of the described first vpn label correspondence, first vpn label in the described MPLS message is exchanged for second vpn label;
According to the corresponding relation between label and the QoS parameter, obtain first QoS parameter of the described second vpn label correspondence;
Obtain and corresponding first quality of service policy of described first QoS parameter, the 2nd MPLS message that label exchange back generates is carried out this first quality of service policy, and described the 2nd MPLS message is sent to second border router in second autonomous system.
2, data processing method according to claim 1 is characterized in that, a described MPLS message also comprises first outer layer label, and this first outer layer label is used to identify a described MPLS message corresponding service type;
Before described second vpn label that obtains the described first vpn label correspondence, also comprise: first border router in first autonomous system ejects described first outer layer label;
After described second vpn label that obtains the described first vpn label correspondence, also comprise: described first border router is mapped to EXP territory in described second vpn label with the value in EXP territory in described first outer layer label.
3, data processing method according to claim 2 is characterized in that, described the 2nd MPLS message is sent to after second border router in second autonomous system, also comprises:
Described second border router carries out the label exchange to described the 2nd MPLS message, second vpn label in described the 2nd MPLS message is exchanged for the 3rd vpn label and second outer layer label, described the 3rd vpn label is inherited the value in EXP territory in described first vpn label that comprises in the EXP territory in described second vpn label, and described second outer layer label is inherited the value in EXP territory in described first outer layer label that comprises in the EXP territory in described second vpn label;
Described second border router is according to the corresponding relation between label and the QoS parameter, obtain described the 3rd vpn label second QoS parameter corresponding with second outer layer label, and obtain and corresponding second quality of service policy of this second QoS parameter, and to carrying out this second quality of service policy, described the 3rd MPLS message is sent to backbone network edge router in described second autonomous system by the 3rd MPLS message that obtains after the exchange of described the 2nd MPLS message label;
Backbone network edge router in described second autonomous system removes the 3rd vpn label and second outer layer label in described the 3rd MPLS message, described the 3rd MPLS message is reduced to the IP message, and obtain described the 3rd vpn label routing iinformation corresponding with second outer layer label, according to this routing iinformation described IP message is sent to recipient's user network edge router.
4, data processing method according to claim 3 is characterized in that, the backbone network edge router that described the 3rd MPLS message is sent in described second autonomous system comprises:
Described second border router sends to the LSR on the label switched path in second autonomous system according to the 3rd vpn label and second outer layer label in described the 3rd MPLS message with described the 3rd MPLS message;
Described LSR carries out the label exchange to described the 3rd MPLS message, the 3rd vpn label in described the 3rd MPLS message and second outer layer label are exchanged for the 4th vpn label and the 3rd outer layer label, and the value in EXP territory is inherited the value in EXP territory in described the 3rd vpn label and described second outer layer label respectively in the 4th vpn label and the 3rd outer layer label;
Described LSR is according to the corresponding relation between label and the QoS parameter, obtain described the 4th vpn label three QoS parameter corresponding with the 3rd outer layer label, and obtain and corresponding the 3rd quality of service policy of the 3rd QoS parameter, and to carrying out the 3rd quality of service policy, described the 4th MPLS message is sent to backbone network edge router in second autonomous system by the 4th MPLS message that obtains after the exchange of described the 3rd MPLS message label.
5, according to any described data processing method of claim 1 to 4, it is characterized in that, before described reception the one MPLS message, also comprise:
Backbone network edge router in first autonomous system receives the IP message that is sent by transmit leg user network edge router, obtain destination address with this IP message corresponding, by the first border router distributed labels in described first autonomous system, this label comprises described first vpn label and described first outer layer label, described IP message is encapsulated described label, generate a described MPLS message;
Described backbone network edge router is according to the corresponding relation between label and the QoS parameter, obtain described first vpn label QoS parameter corresponding with first outer layer label, and obtain and the corresponding quality of service policy of this QoS parameter, and a described MPLS message carried out this quality of service policy, a described MPLS message is sent to first border router.
6, according to any described data processing method of claim 1 to 4, it is characterized in that described QoS parameter comprises: one or more in the value in IP precedence, EXP territory, VLAN priority, QOS sign and the Flow Behavior title; And/or
Quality of service policy is specially the tunnel that sends the MPLS message.
7, according to any described data processing method of claim 1 to 4, it is characterized in that, also comprise:
Based on business department the BGP community attribute of BGP route is set, and based on described first vpn label of BGP community attribute assignment, the value of this first vpn label is used to identify described business department, and distributes described first outer layer label according to type of service;
Issue described BGP route and distributed labels binding by QPPB, and the configuration service quality policy.
8, a kind of route device is characterized in that, comprising:
First receiver module is used to receive a MPLS message, and a MPLS message comprises first vpn label, and the value of this first vpn label is used to identify the affiliated business department of user of the described MPLS message of transmitting-receiving;
The first label Switching Module is used to obtain second vpn label of the described first vpn label correspondence, and first vpn label in the described MPLS message is exchanged for second vpn label;
First acquisition module is used for according to the corresponding relation between label and the QoS parameter, obtains first QoS parameter of the described second vpn label correspondence, and obtains and corresponding first quality of service policy of described first QoS parameter;
First Executive Module is used for the 2nd MPLS message that obtains after the label exchange is carried out this first quality of service policy and sent described the 2nd MPLS message.
9, route device according to claim 8 is characterized in that, a described MPLS message also comprises first outer layer label, and this first outer layer label is used to identify a described MPLS message corresponding service type;
The described first label Switching Module specifically is used to eject described first outer layer label, obtain second vpn label of the described first vpn label correspondence, the value in EXP territory in described first outer layer label is mapped to EXP territory in described second vpn label, and first vpn label in the described MPLS message is exchanged for second vpn label.
10, according to Claim 8 or 9 described route devices, it is characterized in that, also comprise:
First memory module is used to be stored into label and outgoing label clauses and subclauses;
Second memory module is used to store the label that sets in advance and the corresponding relation between the QoS parameter; And/or
The 3rd memory module is used to store the QoS parameter that sets in advance and the corresponding relation between the quality of service policy;
The described first label Switching Module is used for going into label and outgoing label clauses and subclauses according to what described first memory module was stored, obtains second vpn label of the described first vpn label correspondence;
Described first acquisition module is used for the label stored according to described second memory module and the corresponding relation between the QoS parameter, obtain first QoS parameter of the described second vpn label correspondence, and, obtain and corresponding first quality of service policy of described first QoS parameter according to QoS parameter of storing in the 3rd memory module and the corresponding relation between the quality of service policy.
11, a kind of route device is characterized in that, comprising:
Second receiver module, be used to receive the 2nd MPLS message, the 2nd MPLS message comprises second vpn label, the value that comprises EXP territory in the value in EXP territory in first vpn label and first outer layer label in this second vpn label in the EXP territory, the value of described first vpn label is used for identification service department, and the value of described first outer layer label is used for mark business-type;
The second label Switching Module, be used for described the 2nd MPLS message is carried out the label exchange, second vpn label in described the 2nd MPLS message is exchanged for the 3rd vpn label and second outer layer label, described the 3rd vpn label is inherited the value in EXP territory in described first vpn label that comprises in the EXP territory in described second vpn label, and described second outer layer label is inherited the value in EXP territory in described first outer layer label that comprises in the EXP territory in described second vpn label;
Second acquisition module, be used for according to the corresponding relation between label and the QoS parameter, obtain described the 3rd vpn label second QoS parameter corresponding, and obtain and corresponding second quality of service policy of this second QoS parameter with second outer layer label;
Second Executive Module is used for being carried out described second quality of service policy and sent described the 3rd MPLS message by the 3rd MPLS message that obtains after described the 2nd MPLS message label exchange.
12, route device according to claim 11 is characterized in that, also comprises:
First memory module is used to be stored into label and outgoing label clauses and subclauses;
Second memory module is used to store the label that sets in advance and the corresponding relation between the QoS parameter; And/or
The 3rd memory module is used to store the QoS parameter that sets in advance and the corresponding relation between the quality of service policy;
Described mark second is signed Switching Module and is used for going into label and outgoing label clauses and subclauses according to what described first memory module was stored, described the 2nd MPLS message is carried out the label exchange, second vpn label in described the 2nd MPLS message is exchanged for the 3rd vpn label and second outer layer label;
Described second acquisition module is used for the label stored according to described second memory module and the corresponding relation between the QoS parameter, obtain described the 3rd vpn label second QoS parameter corresponding with second outer layer label, and, obtain and corresponding second quality of service policy of this second QoS parameter according to QoS parameter of storing in described the 3rd memory module and the corresponding relation between the quality of service policy.
13, a kind of route device is characterized in that, comprising:
The 3rd receiver module is used to receive the IP message;
Package module, be used for obtaining the corresponding vpn label of destination address that carries with described IP message, and to described IP message encapsulate inner layer label generation MPLS message, the value of described vpn label is used to identify the affiliated business department of user of the described MPLS message of transmitting-receiving;
The 3rd acquisition module is used for obtaining the QoS parameter of described vpn label correspondence according to the corresponding relation between label and the QoS parameter, and obtains and the corresponding quality of service policy of this QoS parameter;
The 3rd Executive Module is used for described MPLS message is carried out described quality of service policy and sent described MPLS message.
14, route device according to claim 13 is characterized in that, described package module also is used to obtain and the corresponding outer layer label of the type of service of described IP message, and described IP message encapsulation outer layer label is generated the MPLS message;
Described the 3rd acquisition module is concrete according to label that sets in advance and the corresponding relation between the QoS parameter, obtains the described vpn label QoS parameter corresponding with described outer layer label.
15, a kind of data handling system, comprise the first backbone network edge router and first border router in first autonomous system, with second border router and the second backbone network edge router in second autonomous system, it is characterized in that, described backbone network edge router is used to receive the IP message, obtain corresponding with the destination address of this IP message, by the described first border router distributed labels, this label comprises described first vpn label and described first outer layer label, described IP message is encapsulated described label, generate a described MPLS message, and obtain described first vpn label quality of service policy corresponding with first outer layer label, and a described MPLS message carried out this quality of service policy, a described MPLS message is sent to described first border router;
Described first border router is used for ejecting described first outer layer label of a described MPLS message, obtain second vpn label of the described first vpn label correspondence, the value in EXP territory in described first outer layer label is mapped to EXP territory in described second vpn label, and first vpn label in the described MPLS message is exchanged for second vpn label, and first quality of service policy that obtains the described second vpn label correspondence, and the 2nd MPLS message that label exchange back generates carried out this first quality of service policy, described the 2nd MPLS message is sent to described second border router;
Described second border router is used for described the 2nd MPLS message is carried out the label exchange, second vpn label in described the 2nd MPLS message is exchanged for the 3rd vpn label and second outer layer label, described the 3rd vpn label is inherited the value in EXP territory in described first vpn label that comprises in the EXP territory in described second vpn label, described second outer layer label is inherited the value in EXP territory in described first outer layer label that comprises in the EXP territory in described second vpn label, obtain described the 3rd vpn label second quality of service policy corresponding with second outer layer label, and, described the 3rd MPLS message is sent to the described second backbone network edge router to carrying out this second quality of service policy by the 3rd MPLS message that obtains after described the 2nd MPLS message label exchange;
The described second backbone network edge router is used for removing the 3rd vpn label and second outer layer label of described the 3rd MPLS message, described the 3rd MPLS message is reduced to the IP message, and obtain described the 3rd vpn label routing iinformation corresponding with second outer layer label, according to this routing iinformation described IP message is sent to recipient's user network edge router.
CN2008101467010A 2007-12-27 2008-08-19 Method, system and routing device for processing data Expired - Fee Related CN101471880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101467010A CN101471880B (en) 2007-12-27 2008-08-19 Method, system and routing device for processing data

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200710301421 2007-12-27
CN200710301421.8 2007-12-27
CN2008101467010A CN101471880B (en) 2007-12-27 2008-08-19 Method, system and routing device for processing data

Publications (2)

Publication Number Publication Date
CN101471880A true CN101471880A (en) 2009-07-01
CN101471880B CN101471880B (en) 2011-02-09

Family

ID=40829017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101467010A Expired - Fee Related CN101471880B (en) 2007-12-27 2008-08-19 Method, system and routing device for processing data

Country Status (1)

Country Link
CN (1) CN101471880B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291471A (en) * 2011-08-31 2011-12-21 杭州华三通信技术有限公司 Processing method and equipment of label relabeling
CN102340449A (en) * 2011-09-15 2012-02-01 福建星网锐捷网络有限公司 Private network message transmission method, equipment and system
CN103209124A (en) * 2013-03-05 2013-07-17 华为技术有限公司 Message processing method, device and system
CN103634211A (en) * 2013-12-03 2014-03-12 网神信息技术(北京)股份有限公司 Data processing method and device for user network edge routers
CN104363233A (en) * 2014-11-20 2015-02-18 成都卫士通信息安全技术有限公司 Safety cross-domain communication method for application servers in VPN gateways
WO2017107814A1 (en) * 2015-12-24 2017-06-29 华为技术有限公司 Method, apparatus and system for propagating qos policies
CN108259338A (en) * 2017-06-20 2018-07-06 新华三技术有限公司 A kind of private network application and identification method and device
CN109391561A (en) * 2017-08-10 2019-02-26 中国电信股份有限公司 Dynamic bidirectional support method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1254059C (en) * 2002-12-10 2006-04-26 华为技术有限公司 Method of realizing special multiple-protocol label exchanging virtual network
KR20070064703A (en) * 2005-12-19 2007-06-22 엘지노텔 주식회사 Method for supporting qos for l2vpn subscriber using cr-lsp
CN101047651B (en) * 2007-04-23 2011-01-05 杭州华三通信技术有限公司 Method, system and equipment for setting IP priority level

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291471B (en) * 2011-08-31 2015-12-02 杭州华三通信技术有限公司 A kind of processing method of label relabeling and equipment
CN102291471A (en) * 2011-08-31 2011-12-21 杭州华三通信技术有限公司 Processing method and equipment of label relabeling
CN102340449A (en) * 2011-09-15 2012-02-01 福建星网锐捷网络有限公司 Private network message transmission method, equipment and system
CN102340449B (en) * 2011-09-15 2014-07-02 福建星网锐捷网络有限公司 Private network message transmission method, equipment and system
CN103209124A (en) * 2013-03-05 2013-07-17 华为技术有限公司 Message processing method, device and system
CN103209124B (en) * 2013-03-05 2017-04-12 华为技术有限公司 Message processing method, device and system
CN103634211A (en) * 2013-12-03 2014-03-12 网神信息技术(北京)股份有限公司 Data processing method and device for user network edge routers
CN104363233A (en) * 2014-11-20 2015-02-18 成都卫士通信息安全技术有限公司 Safety cross-domain communication method for application servers in VPN gateways
WO2017107814A1 (en) * 2015-12-24 2017-06-29 华为技术有限公司 Method, apparatus and system for propagating qos policies
CN106921572A (en) * 2015-12-24 2017-07-04 华为技术有限公司 A kind of method, apparatus and system for propagating qos policy
CN106921572B (en) * 2015-12-24 2019-10-15 华为技术有限公司 A kind of method, apparatus and system for propagating qos policy
CN108259338A (en) * 2017-06-20 2018-07-06 新华三技术有限公司 A kind of private network application and identification method and device
WO2018233538A1 (en) * 2017-06-20 2018-12-27 新华三技术有限公司 Packet forwarding in mpls network
US11368392B2 (en) 2017-06-20 2022-06-21 New H3C Technologies Co., Ltd. Forwarding packet in MPLS network
CN109391561A (en) * 2017-08-10 2019-02-26 中国电信股份有限公司 Dynamic bidirectional support method and system

Also Published As

Publication number Publication date
CN101471880B (en) 2011-02-09

Similar Documents

Publication Publication Date Title
CN101471880B (en) Method, system and routing device for processing data
CN109995634B (en) Bearing method and equipment for multicast virtual private network
CN111510387B (en) Data forwarding method and related device
CN100596107C (en) Packet forwarding method and border router of autonomous system
CN1992676B (en) Method and device for forwarding state sharing between multiple traffic paths in a communication network
RU2321959C2 (en) Source identifier for finding the mac-address
US8416787B2 (en) Method, system and apparatus for implementing L2VPN between autonomous systems
CN102413060B (en) User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network
EP1811728B2 (en) Method, system and device of traffic management in a multi-protocol label switching network
CN105210336A (en) Segment routing mapping server for LDP/SR interoperability
CN103229468A (en) Packet-switching resource distribution method and device
CN104518940A (en) Communication method and device for NVO3 (network virtualization over layer 3) network and MPLS (multi-protocol label switching) network
CN101237376A (en) A label acquisition method of virtual private network and independent system boundary routing device
CN101656663B (en) Method, device and system for forwarding MPLS multicast message
CN102971994A (en) Sharing resource reservations among different sessions in RSVP-TE
CN106982157A (en) Traffic engineering tunnel building method and device
CN108234318A (en) The choosing method and device of message forwarding tunnel
CN106453138A (en) Message processing method and apparatus
CN102137024A (en) Message processing method, exit routing device and border routing device
CN103841024A (en) Method for achieving data distribution in home gateway and home gateway
EP1753176A1 (en) A method for realizing route transmitting in the network
CN101106507A (en) A method for realizing hierarchical VLAN
CN106341423A (en) Message processing method and device
CN102571375B (en) Multicast forwarding method and device as well as network device
CN103326944B (en) A kind of multicast transmission method, device and network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110209

Termination date: 20190819

CF01 Termination of patent right due to non-payment of annual fee