CN101645849B - QoS realization method in transitional environment and PE router - Google Patents

QoS realization method in transitional environment and PE router Download PDF

Info

Publication number
CN101645849B
CN101645849B CN2009101703732A CN200910170373A CN101645849B CN 101645849 B CN101645849 B CN 101645849B CN 2009101703732 A CN2009101703732 A CN 2009101703732A CN 200910170373 A CN200910170373 A CN 200910170373A CN 101645849 B CN101645849 B CN 101645849B
Authority
CN
China
Prior art keywords
qos
router
packet
field
tlv
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2009101703732A
Other languages
Chinese (zh)
Other versions
CN101645849A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2009101703732A priority Critical patent/CN101645849B/en
Publication of CN101645849A publication Critical patent/CN101645849A/en
Application granted granted Critical
Publication of CN101645849B publication Critical patent/CN101645849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a QoS realization method in the transitional environment and a PE router, relating to the technical field of the router in communication network. The method in the invention comprises the following steps: adding a field dedicated to QoS mapping at a data packet header after the data packet is received by a first PE router and after connection is established between the PE routers; modifying the content of the newly-added field to be the preset value according to the QoS strategy and a flow label in the data packet header, wherein, the preset value is corresponding to one or a plurality of QoS processing; transmitting the modified data packet by the first PE router; carrying out corresponding QoS processing on the data packet which contains the field dedicated to the QoS mapping according to the content of the field by a second PE router after the second PE router receives the data packet transmitted from the first PE router. The technique in the technical scheme of the invention is simple and feasible, and is flexible and convenient to manage for carriers.

Description

A kind of QoS implementation method and pe router in transitional environment
Technical field
The present invention relates to the router technology field in the communication network; Refer more particularly to IPv6 (Internet Protocol version 6; IPv6) a kind of QoS implementation method and the pe router in transitional environment in technology and QoS (Quality of Service, the service quality) technology.
Background technology
In the IPv6 in future environment, the quantity of the service traffics type on the existing network further increases, and comprises that the various new types of data types of 3G emerge in an endless stream.Realizing management maintenance and QoS differentiating and processing for different user grade flow or same subscriber grade different business flow easily, certainly will be one of research emphasis of operator.Include traffic class (traffic classes) and two main qos fields of flow label (stream label) in the IPv6 data packet head; Wherein traffic class is used for distinguishing different user types (diamond of operator's definition for example, platinum, gold; The user gradation of types such as silver); And flow label is used for distinguishing different service flow type (such as the P2P flow, video flow, voice flux etc.).How flexibly according to the traffic statistics data of all types of user in the existing network, carry out unified management or Differentiated Services is provided to each different user types and each service traffics type is one of hot spot technology of each big operator research always.
In the transitional environment of IPv4 and IPv6; The method that a kind of 6PE is arranged; Promptly be the IPv6 data message to be carried out the encapsulation of two-layer label, with of the load of IPv6 data message as mpls protocol with MPLS (Multi-Protocol Label Switch, multiprotocol label switching) agreement.In 6PE typical case network environment; Set up IGP (Internal Gateway Protocol between the pe router; Interior Gateway Protocol; Comprise OSPF and ISIS agreement etc.) and BGP (Border Gateway Protocol, Border Gateway Protocol) neighbours, through realize the transparent transmission of IPv6 data in the IPv4 environment in the label distribution ability that enables IPv6 on the BGP.6PE is one of main flow scheme of IPv4v6 transitional technology in the existing network.
Traditional I Pv4 MPLS L3VPN (Level 3Virtual Private Network; 3 layer virtual private networks) in; PE (Provide Edge is going into usually in operator; The service supplier edge) Inbound of router (being the inlet of VPN) is TOS (Type of Service, COS) the field front three precedence field mappings of many flows same exp field in the MPLS label, can take same qos policy to many flows to the exp value of MPLS label going out the outgoing direction of pe router (being the outlet of VPN) like this; Also can take different qos policys to the precedence value of many flows, flexible and changeable.
Because traffic class field is identical with tos field length in the IPv4 packet in the IPv6 packet; So all qos policys based on tos field can be used for the traffic class field of IPv6 equally in the IPv4 environment; Promptly can in the 6PE network environment, introduce above-mentioned MPLS L3VPN scheme; Promptly adopt the mode that traffic class field front three in the IPv6 packet is mapped to the exp field of MPLS label, so just realized carrying out unified management or Differentiated Services being provided to each different user types.
But for another significant field in the IPv6 head, flow label then can't simply adopt this type of mode to realize.And flow label field is self-evident in the important function that same user type is used for distinguishing the different service flow, so research is imperative to the management method of different flow label flows.
Summary of the invention
The technical problem that the present invention will solve provides a kind of QoS method and pe router in the 6PE network environment, makes things convenient for operator that many ipv6 traffics are taked identical or different qos policy.
For solving the problems of the technologies described above, the present invention provides a kind of QoS implementation method in the 6PE network environment, comprising:
After between service supplier edge (PE) router, connecting, after first pe router is received packet, be exclusively used in the field of service quality (QoS) mapping in this packet head increase; According to content modification the value for preset of the stream label in qos policy and the data packet head with this new field, corresponding one or more QoS of said preset value handle;
Said first pe router sends the packet through revising; Second pe router is received behind the packet of first pe router transmission, for including the packet that this is exclusively used in the field of QoS mapping, according to the content of said field said packet is carried out corresponding QoS and handles;
Connect between the above-mentioned pe router and be meant: set up the direct-connected route of IPv6 between customer edge ce router and the service Provider Edge pe router and connect; Set up IGP neighbours between the pe router; Set up MPLS neighbours between the pe router; Set up bgp neighbor between the pe router, and on BGP, enable label forwarding ability to the IPv6 route.
Further; Said method further comprises: after between pe router, connecting; After first pe router is received packet, increase a TLV who is exclusively used in the QoS mapping in the purpose option extension header of this packet, and with in the content map of the flow label field of this packet value field in the TLV; According to qos policy the value of the value field of packet is revised as preset value again, sends treated packet; Second pe router is received behind the packet of first pe router transmission, for including the packet that this is exclusively used in the TLV of QoS mapping, according to the content of value field said packet is carried out corresponding QoS and handles.
Wherein, after said first pe router is received packet, judge whether this packet has the purpose option extension header earlier, if having, then increase a TLV in the TLV zone of this purpose option extension header, said TLV zone is last the purpose option extension header; If no, then increase the purpose option extension header, and then increase a TLV in the TLV zone of this purpose option extension header.
Said second pe router is deleted the TLV that first router adds, or is deleted the purpose option extension header that first pe router adds after packet is carried out the QoS processing.
The invention also discloses a kind of service supplier edge (PE) router of realizing said method, this pe router comprises platform subsystem, driver sub-system and the microcode subsystem that links to each other successively, wherein:
Said platform subsystem is used for service quality (QoS) system command and the QoS mode command of configuration are issued to driver sub-system, and the qos policy of configuration is issued to driver sub-system;
Said driver sub-system, the order that is used for sending according to platform subsystem is with system command flag bit and QoS mode flags bit;
Said microcode subsystem; Be used for whether being exclusively used in the field that QoS shines upon in the first packet head increase of receiving according to the decision of system command flag bit; After decision increases said field; According to content modification the value for preset of the stream label in qos policy and the data packet head with this new field, corresponding one or more QoS of said preset value handle, and the packet that will pass through modification sends as second packet; Also be used for after receiving second packet, include the field of the said QoS of being exclusively used in mapping,, said second packet is carried out the QoS processing according to the content of said field when qos policy flag bit and QoS mode flags position all effectively the time if judge this packet.
Further, in the above-mentioned pe router, said platform subsystem further comprises OAM module and QoS module, wherein:
Said OAM module is used for the QoS system command and the QoS mode command of configuration are issued to driver sub-system;
Said QoS module is used for the qos policy of configuration is issued to driver sub-system.
Further; In the above-mentioned pe router; Said microcode subsystem according to content modification the value for preset of the stream label in qos policy and the data packet head with this new field, is the TLV who is exclusively used in the QoS mapping of purpose option extension header increase at first packet of receiving after decision increases said field; And with in the content map of the flow label field of this packet value field in the TLV, again according to qos policy with being revised as preset value in the value field of packet.
Wherein, said microcode subsystem is at the TLV that packet is carried out also be used to delete the purpose option extension header after QoS handles or be exclusively used in the QoS mapping.
Further; In the above-mentioned pe router; When qos policy flag bit and QoS mode flags position all effectively the time; According to the content of said field said second packet being carried out the QoS processing is meant: whether determine effectively that according to the qos policy flag bit whether carrying out QoS handles, and in the time of need carrying out the QoS processing, carries out corresponding QoS according to the content of said field and handles when QoS mode flags position is effective.
The present invention is applicable to the data equipment that possesses three layer data routes or function of exchange, includes but not limited to router and switch etc., for example, and the PE equipment in the 6PE typical case network environment.
Adopt the present invention, following advantage arranged:
1, can be good at providing identical with different inside distinguishing mark for different service types; For operator; Can carry out unified management to the similar type of service of a plurality of characteristics very easily; Such as video flow, voice flux carries out identical bandwidth and delay management with the IPTV flow as same classification, and P2P and sudden peal of thunder downloading flow are carried out total speed limit of bandwidth or the like as same classification; Perhaps different Differentiated Services is provided for different service types; Such as comprising video conference flow, ip voice flow and data traffic etc. under the same platinum user type; Can carry out the low delay processing of high priority to video conference flow and ip voice flow easily, simultaneously the data flow carried out bandwidth speed limit or the like; These two kinds of unified managements and Differentiated Services can be carried out simultaneously even.For operator, very flexible and convenient in the management;
2, in existing network environment, realize, need not additional hardware investment and additional network resources and take through software;
3, on existing 6PE technology and QoS technical foundation, realize technological simple possible;
4, all based on present existing IPv6 standard, the equipment of different company carries out transparent forwarding and processing to IPv6 packet as herein described to implementation, can't not discern this type of IPv6 packet with its problem that abandons thereby other vendor equipment can not occur.
Description of drawings
Fig. 1 is the typical networking sketch map of 6PE, the diagram 6PE foundation be connected foundation and the connection procedure of following typical 6PE;
Fig. 2 is the system diagram between each business module of relating to of this invention;
Fig. 3 be the 6PE classical group online go into pe router platform and driver sub-system process chart;
Fig. 4 be the 6PE classical group online go into the up microcode process chart of pe router;
Fig. 5 be the 6PE classical group online go into the descending microcode process chart of pe router;
Fig. 6 be the 6PE classical group online go out pe router platform and driver sub-system process chart;
Fig. 7 be the 6PE classical group online go out the up microcode process chart of pe router;
Fig. 8 be the 6PE classical group online go out the descending microcode process chart of pe router;
Fig. 9 is not with the form flow chart of the IPv6 packet of purpose option extension header through each subsystem processes on the pe router;
Figure 10 has the purpose option extension header, and the purpose option extension header is not passed through the form flow chart of each subsystem processes on the pe router with the IPv6 packet of TLV structure;
Figure 11 has the purpose option extension header, and the purpose option extension header has the form flow chart of the IPv6 packet of TLV structure through each subsystem processes on the pe router.
Embodiment
Inventive concept of the present invention is: after between pe router, connecting; After first pe router is received packet; Be exclusively used in the field of QoS mapping in this packet head increase; According to content modification the value for preset of the stream label in qos policy and the data packet head with this new field, corresponding one or more QoS of said preset value handle, and said first pe router sends treated packet; Second pe router is received behind the packet of first pe router transmission, for including the packet that this is exclusively used in the field of QoS mapping, according to the content of said field packet is carried out corresponding QoS and handles.
Be meant for preset value according to qos policy and the stream label content modification with this new field: according to the qos policy decision which kind of QoS is which data packets in data flows carried out and handles, the QoS that will carry out according to institute handles the value of content for presetting of revising this new field.
Face design concept of the present invention and implementation method down and do concrete introduction.
IPv6 data message head comprises standard head and extended head, and extended head comprises several kinds of hop-by-hop, purpose option, route, bursts etc.Wherein, define a kind of optional data structure in hop-by-hop extension head and the purpose option extension header, be referred to as the TLV structure; Be Type type, Length length, Value numerical value; Use type to represent data type, length representes data length, and value is the data content part.The TLV structure does not have fixing type at present, can be used according to definition separately by each manufacturer.
Therefore the present invention considers on existing 6PE technical foundation, through in the IPv6 data packet head, increasing the specific T LV structure of a purpose option extension header, has proposed a kind of method that unified management or Differentiated Services are provided for different IP v6 service traffics.
Said method can be: after between pe router, connecting; After first pe router is received packet; Purpose option extension header at this packet increases a TLV who is exclusively used in the QoS mapping; And, according to the content of qos policy and value field the value of value field is revised as preset value again with in the content map of the flow label field of this packet value field in the TLV, send treated packet; After second pe router is received the packet that sends from first pe router, for including the packet that this is exclusively used in the TLV of QoS mapping, according to the content of value field and qos policy packet is carried out corresponding QoS and handle.
Content with flow label copies the value field to earlier, and then revises this value field contents, is to consider from the angle of stability.In addition, also be for compatible with prior art.
Said second pe router carries out QoS to packet to be handled, and sees on the whole, and the QoS that packet the carried out processing with identical value field contents is identical.
Particularly, in 6PE typical case network environment, after between pe router, connecting; After first pe router (promptly going into pe router) is received the IPV6 packet, judge whether this packet has the purpose option extension header, if having; Then (TLV zone usually at extended head last) increases a TLV in the TLV of this purpose option extension header zone; If no, then increase the purpose option extension header, and then increase a TLV in the TLV zone of this purpose option extension header; The value that the type field among the TLV is set is used to represent that this TLV is the TLV that is exclusively used in the QoS mapping, and the content map in the flow label field in this packet in the value field, is filled in the length of value field contents in the length field; According to qos policy (comprise in the qos policy and need carry out the flow label value that QoS handles) the corresponding value of packet that possibly carry out the QoS processing that is mated is revised as preset value then and (carries out the stream that identical QoS handles for needs; Only need the identical preset value of configuration; Then can realize carrying out identical QoS handles), should add two-layer MPLS label according to the 6PE protocols by treated packet, be sent to the 2nd PE (promptly going out pe router); After said the 2nd PE receives this packet; Confirm that according to the Type among the TLV this TLV is used for QoS mapping, according to the qos policy flag bit whether effectively decision whether carry out QoS and handle, whether carry out QoS and handle according to whether having disposed the decision of QoS mode command according to value; If then packet is carried out QoS and handles according to the content of value field.
Like this; Going out the outgoing direction of pe router (being the outgoing direction of 6PE); Operator just can take unified qos policy to many IPv6 streams to the value value (modification value) of TLV structure, also can be directed against flow label value (initial value) in the IPv6 data packet head of many streams and take the qos policy distinguished.
Here many flows are taked the distinguishing QoS strategy, be according to the different Value values of the TLV of many streams, different service strategies is provided, comprise Limit Rate, flow sends priority, flow loss priority.Illustrate, 3 streams, its flow label value is respectively A, B, C, but the value value of its TLV is modified to identical M.Going out the outgoing direction of PE so, the distinguishing QoS strategy here can be, for flow label value provides the highest transmission priority qos policy for the stream (being called for short A) of A, the message that promptly produces the preferential A of assurance under the congested situation at link is packet loss not; For flow label value provides the speed limit qos policy for the stream of B (being called for short B), the transmission rate that is the B message provides a upper limit; For flow label value for the stream of C (being called for short C) provides minimum packet loss priority qos policy, promptly produce the message that preferentially abandons C under the congested situation at link.In addition, also can take unified qos policy according to the identical value value M of TLV.
The router device that has only the present invention to be correlated with just can be discerned above-mentioned this TLV structure, and other uncorrelated equipment can carry out transparent transmission with the message that has this kind TLV structure.
In the 6PE networking, provide the step of QoS method to comprise:
Connect between the above-mentioned pe router and be meant: set up the direct-connected route of IPv6 between CE (Customer Edge, customer edge) router and the pe router and connect; Set up IGP neighbours between the pe router; Set up MPLS neighbours between the pe router; Set up bgp neighbor between the pe router, and on BGP, enable label forwarding ability to the IPv6 route.This is typical 6PE network environment, and each router vendors has all well realized typical 6PE technology at present, and the IGP agreement of using in the 6PE networking, and mpls protocol, bgp protocol all are the prior aries that has realized.
Be exclusively used in the operation of the TLV and the mapping value of QoS mapping for the purpose option extension header increase that is implemented in this packet; Configuration one QoS system command on the pe router can gone into; Be used to the IPv6 data packet head and increase the purpose option extension header; And in purpose option extension header increase TLV structure; Perhaps the IPv6 data packet head for existing purpose option extension header increases the TLV structure, and with the flow label field mappings of the IPv6 data packet head value field to the specific T LV structure of purpose options extension header.When bottom is realized through code, can realize through a QoS system sign position is set, when QoS system sign position when being effective, go into pe router and accomplish aforesaid operations, otherwise do not carry out aforesaid operations, identical with prior art.
Can handle special-purpose TLV in order to use router, accomplish QoS coupling and QoS and handle, go out configuration one QoS mode command on the pe router; IPv6 stream for the outgoing direction that goes out PE; If configuration should not ordered, ignore the TLV structure, carry out qos policy according to flow label value and handle; If disposed this order, then carry out qos policy and handle according to the value value of TLV structure.Like this, the user can carry out the QoS processing to the identical value value that is modified to of TLV structure in the purpose option extension header of IPv6 data packet head, to realize the unified management of different service types under the QoS pattern of the present invention's definition; Also can be under the QoS pattern of non-the present invention's definition, to the different flow label values that are not modified in the IPv6 data packet head, for different service types provides Differentiated Services.When bottom is realized through code; Can realize through a QoS mode flags position is set,, go out pe router and accomplish QoS coupling and processing based on value value when QoS mode flags position when being effective; Otherwise carry out QoS coupling and processing based on stream label, identical with prior art.
Saidly go on the pe router and go out the qos policy that all disposes on the pe router based on flow label.This is the prior art that has realized.When bottom layer realization,, realizes the qos policy flag bit through being set.
The pe router of realizing said method comprises platform subsystem, driver sub-system and the microcode subsystem that links to each other successively, wherein,
Platform subsystem is used for the QoS system command and the QoS mode command of configuration are issued to driver sub-system, and the qos policy of configuration is issued to driver sub-system;
The order that driver sub-system passes over according to platform subsystem is with system command flag bit and QoS mode flags bit; Above-mentioned flag bit can be kept in the port attribute table.
The microcode subsystem is used for whether being exclusively used in the field that QoS shines upon in the first packet head increase of receiving according to the decision of system command flag bit; After decision increases said field; According to content modification the value for preset of the stream label in qos policy and the data packet head with this new field; Corresponding one or more QoS of said preset value handle, and the packet that will pass through modification sends as second packet; Also be used for after receiving second packet, include the field of the said QoS of being exclusively used in mapping,, said second packet is carried out the QoS processing according to the content of said field when qos policy flag bit and QoS mode flags position all effectively the time if judge this packet.
Said platform subsystem further comprises OAM (Operations, Administration and Maintenance) module and QoS module; Wherein, QoS system command and QoS mode command that the OAM module is mainly used in configuration are issued to driver sub-system, and the qos policy that the QoS module is mainly used in configuration is issued to driver sub-system.
Further; Said microcode subsystem; Be used for increasing a TLV who is exclusively used in the QoS mapping in the purpose option extension header of first packet of receiving; And with in the content map of the flow label field of this packet value field in the TLV, again according to qos policy with being revised as preset value in the value field of packet.
When qos policy flag bit and QoS mode flags position all effectively the time; According to the content of said field said second packet being carried out the QoS processing is meant: whether determine effectively that according to the qos policy flag bit whether carrying out QoS handles; In the time of need carrying out the QoS processing, when QoS mode flags position is effective, carry out corresponding QoS and handle according to the content of said field.Particularly, if QoS mode flags position is effective, then content and the qos policy according to the value field carries out corresponding QoS processing; If QoS mode flags position is invalid, then content and the qos policy according to flow label field carries out the QoS processing.
Further, said microcode subsystem is carrying out also being used to after QoS handles delete the TLV that purpose is selected extended head or is exclusively used in the QoS mapping to packet.
Specify the detailed presentations summary of the invention through what go into pe router and the flow chart of data processing that goes out each sub-systems on the pe router below.
As shown in Figure 3, go into the pe router platform subsystem and go into pe router driver sub-system handling process to comprise:
Step 301, the OAM module of platform subsystem is passed to driver sub-system with the QoS system command of user configured this invention definition; The QoS module is passed to driver sub-system with user configured qos policy;
Step 302, driver sub-system passes the QoS system command of coming according to platform subsystem, with the system sign position assignment of the present invention's definition in the uplink port attribute list; Pass the qos policy of coming according to platform subsystem,, and preserve this qos policy the corresponding qos policy flag bit assignment in the uplink port attribute list of correspondence.
Said uplink port attribute list is used to deposit flag bit described herein.
As shown in Figure 4, go into the up microcode subsystem processes of pe router flow process:
Step 401, when port was received the IPv6 packet that needs processing, microcode was at first checked the uplink port attribute list;
Step 402, the binding relationship flag bit of each qos policy in the judgement uplink port attribute list is to check the qos policy (according to the qos policy flag bit) that whether has disposed based on IPv6 packet flow label field; If; Execution in step 403, otherwise, execution in step 409;
Step 403, if disposed qos policy, and then the system sign position of inspection the present invention definition, whether disposed the QoS system command to check, if disposed, execution in step 404, otherwise execution in step 408;
Step 404, whether inspection IPv6 data packet head has included the purpose option extension header, if do not have, execution in step 405, otherwise, direct execution in step 406;
Step 405, the microcode subsystem increases a purpose option extension header for the IPv6 packet;
Step 406; After the purpose option extension header, increase a TLV structure in the TLV zone; Make its first TLV structure that becomes the purpose option extension header (be not limited to is first), and the Type type of this TLV structure is set to be exclusively used in the value T of QoS mapping, length length is defined as the length of flow label field in the IPv6 data packet head; And flow label field is copied to the value field of TLV structure, so just accomplished the interpolation head and the assignment procedure of up microcode;
Step 407, up microcode continue that the IPv6 data packet head is carried out qos policy and handle;
If disposed the QoS system command of the present invention's definition; Then use the value value of TLV structure in the purpose option extension header of IPv6 packet to mate qos policy; According to the modification of disposing in qos policy order, the value value of TLV structure in the IPv6 packet rs destination option extension header is revised as M, after modification finishes; The flow label value of IPv6 data packet head is N, and the value value of TLV structure is M in the purpose option extension header.
Step 408, up microcode carries out the processing relevant with QoS according to the flow label field of IPv6 data packet head;
If do not dispose the QoS system command, then carry out the processing relevant with QoS according to the flow label value in the IPv6 data packet head, belong to prior art.
Step 409, microcode continue the IPv6 data packet head is carried out subsequent treatment, until sending to descending microcode;
Referring to Fig. 5, go into the descending microcode handling process of pe router:
Step 501, descending microcode are that the up IPv6 data packet head that sends over is searched routing table and Label Forwarding Information Base;
Step 502 according to checking result, adds two-layer label with treated IPv6 packet, sends to opposite end PE equipment.
Referring to Fig. 6, go out pe router platform subsystem handling process and go out pe router driver sub-system handling process following:
Go out pe router platform subsystem handling process:
The OAM module of platform subsystem is passed to driver sub-system with user configured QoS mode command; The QoS module is passed to driver sub-system with user configured qos policy;
Go out pe router driver sub-system handling process:
Driver sub-system passes the QoS mode command of coming according to platform, with the QoS mode flags position assignment in the downlink port attribute list; Pass the qos policy of coming according to platform,, preserve this qos policy simultaneously the corresponding qos policy flag bit assignment in the downlink port attribute list of correspondence.
As shown in Figure 7, go out the up microcode handling process of pe router and comprise:
After step 701, port were received the IPv6 packet, microcode was directly checked the data packet header, is checked successively according to following order:
Whether step 702 exists the purpose option extension header after judging the IPv6 data head, if, execution in step 703, otherwise execution in step 709;
Step 703 judges whether the purpose option extension header has the TLV structure, if, execution in step 704, otherwise execution in step 709;
Step 704, whether the type field of first TLV structure of inspection purpose option extension header is the type value T that the present invention defines, if, execution in step 705, otherwise carry out 709;
Step 705 together with the IPv6 data packet head, is copied to the value field value of this TLV structure in one data structure, and is sent to descending microcode and waits until processing;
Step 706 after the TLV structure is searched successfully, judges whether the purpose option extension header of IPv6 packet is to increase into the up microcode of pe router, if, execution in step 707, otherwise execution in step 708;
According to whether the interpolation indicating bit into pe router is arranged in the packet judge; Carried out the interpolation operation if go into pe router; Then can in packet, add an indicating bit; The content that indication is added goes out pe router and then can judge the content of adding into pe router according to this indicating bit, thereby carries out deletion action.The benefit of content that deletion is added is the integrality that can guarantee data, realizes transparent forwarding and processing, does not influence the processing of other vendor equipment to this packet.
Step 707, up microcode are directly with this purpose option extension header deletion, execution in step 709;
Step 708 is only just deleted the TLV structure that the present invention defines;
Step 709, up microcode continue the IPv6 data head is carried out subsequent treatment, until being sent to descending microcode.
The packet structure of handling (as increasing, deleting) front and back is referring to Fig. 9,10,11.
In the TLV structure of deleting the pe router increase perhaps simultaneously before; Copy to the value value in this TLV structure in one data structure; Like Fig. 9,10, " data structure that has value field among the TLV " shown in 11; Be QoS with the descending microcode subsystem that conveniently goes out pe router according to this value value and handle, above-mentioned data structure is that device interior is special-purpose, and the user is invisible.
As shown in Figure 8, go out the descending microcode handling process of pe router and comprise:
Step 801, when the IPv6 packets need was handled, microcode was still at first checked the qos policy flag bit of downlink port attribute list;
Step 802 is checked the qos policy that whether has disposed based on the flow label field of IPv6 data packet head, if, execution in step 803, otherwise execution in step 806;
Step 803 if disposed qos policy, reexamines the whether set of QoS mode flags position, if, execution in step 804, otherwise execution in step 805;
Step 804 if this flag bit set then according to the value value M of TLV structure in the purpose option extension header of IPv6 packet, is promptly gone into the amended flow label of the up qos policy of pe router value, is carried out QoS and is handled;
Step 805, if QoS module flag bit does not have set, then according to the flow label value N of IPv6 data packet head, the former flow label value of promptly not revising is carried out QoS and is handled;
Step 806 is sent to CE equipment with the IPv6 packet.
As herein described to go into pe router also possibly be pe router, and going out pe router also possibly be into pe router, that is to say that each pe router all has the function that also has pe router into the function of pe router.

Claims (10)

1. the QoS implementation method in the 6PE network environment is characterized in that,
After between service supplier edge pe router, connecting, after first pe router is received packet, be exclusively used in the field of service quality QoS mapping in this packet head increase;
According to content modification the value for preset of the stream label in qos policy and the data packet head with this new field, corresponding one or more QoS of said preset value handle;
Said first pe router sends the packet through revising;
Second pe router is received behind the packet of first pe router transmission, for including the packet that this is exclusively used in the field of QoS mapping, according to the content of said field said packet is carried out corresponding QoS and handles;
Connect between the above-mentioned pe router and be meant: set up the direct-connected route of IPv6 between customer edge ce router and the service Provider Edge pe router and connect; Set up IGP neighbours between the pe router; Set up MPLS neighbours between the pe router; Set up bgp neighbor between the pe router, and on BGP, enable label forwarding ability to the IPv6 route.
2. the method for claim 1 is characterized in that, said method further comprises:
After between pe router, connecting; After first pe router is received packet; Purpose option extension header at this packet increases a TLV who is exclusively used in the QoS mapping; And, according to qos policy the value of the value field of packet is revised as preset value again with in the content map of the flow label field of this packet value field in the TLV, send treated packet;
Second pe router is received behind the packet of first pe router transmission, for including the packet that this is exclusively used in the TLV of QoS mapping, according to the content of value field said packet is carried out corresponding QoS and handles.
3. method as claimed in claim 2 is characterized in that, said method further comprises:
After said first pe router is received packet, judge whether this packet has the purpose option extension header earlier, if having, then increase a TLV in the TLV zone of this purpose option extension header, said TLV zone is last the purpose option extension header; If no, then increase the purpose option extension header, and then increase a TLV in the TLV zone of this purpose option extension header.
4. method as claimed in claim 2 is characterized in that,
Said second pe router is deleted the TLV that first pe router adds after packet is carried out the QoS processing.
5. method as claimed in claim 3 is characterized in that,
Said second pe router is deleted the purpose option extension header that first pe router adds after packet is carried out the QoS processing.
6. realize the service supplier edge pe router of method according to claim 1 for one kind, it is characterized in that pe router comprises platform subsystem, driver sub-system and the microcode subsystem that links to each other successively, wherein:
Said platform subsystem is used for the service quality QoS system command and the QoS mode command of configuration are issued to driver sub-system, and the qos policy of configuration is issued to driver sub-system;
Said driver sub-system, the order that is used for sending according to platform subsystem is with system command flag bit and QoS mode flags bit;
Said microcode subsystem; Be used for whether being exclusively used in the field that QoS shines upon in the first packet head increase of receiving according to the decision of system command flag bit; After decision increases said field; According to content modification the value for preset of the stream label in qos policy and the data packet head with this new field, corresponding one or more QoS of said preset value handle, and the packet that will pass through modification sends as second packet; Also be used for after receiving second packet, include the field of the said QoS of being exclusively used in mapping,, said second packet is carried out the QoS processing according to the content of said field when qos policy flag bit and QoS mode flags position all effectively the time if judge this packet.
7. pe router as claimed in claim 6 is characterized in that,
Said platform subsystem further comprises OAM module and QoS module, wherein:
Said OAM module is used for the QoS system command and the QoS mode command of configuration are issued to driver sub-system;
Said QoS module is used for the qos policy of configuration is issued to driver sub-system.
8. pe router as claimed in claim 6 is characterized in that,
Said microcode subsystem is after decision increases said field; According to content modification the value for preset of the stream label in qos policy and the data packet head with this new field; Be TLV who is exclusively used in the QoS mapping of purpose option extension header increase at first packet of receiving; And, according to qos policy the content modification of the value field of packet is preset value again with in the content map of the flow label field of this packet value field in the TLV.
9. pe router as claimed in claim 8 is characterized in that,
Said microcode subsystem is at the TLV that packet is carried out also be used to delete the purpose option extension header after QoS handles or be exclusively used in the QoS mapping.
10. pe router as claimed in claim 6 is characterized in that,
When qos policy flag bit and QoS mode flags position all effectively the time; According to the content of said field said second packet being carried out the QoS processing is meant: whether determine effectively that according to the qos policy flag bit whether carrying out QoS handles; In the time of need carrying out the QoS processing, when QoS mode flags position is effective, carry out corresponding QoS and handle according to the content of said field.
CN2009101703732A 2009-09-09 2009-09-09 QoS realization method in transitional environment and PE router Active CN101645849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101703732A CN101645849B (en) 2009-09-09 2009-09-09 QoS realization method in transitional environment and PE router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101703732A CN101645849B (en) 2009-09-09 2009-09-09 QoS realization method in transitional environment and PE router

Publications (2)

Publication Number Publication Date
CN101645849A CN101645849A (en) 2010-02-10
CN101645849B true CN101645849B (en) 2012-04-18

Family

ID=41657571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101703732A Active CN101645849B (en) 2009-09-09 2009-09-09 QoS realization method in transitional environment and PE router

Country Status (1)

Country Link
CN (1) CN101645849B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3468123A4 (en) * 2016-08-27 2019-06-05 Huawei Technologies Co., Ltd. Method and device for use in processing low-latency traffic

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102630377B (en) * 2011-10-11 2014-11-05 华为技术有限公司 Method, apparatus and system for processing quality parameters of multicast streams
CN103560957A (en) * 2013-10-15 2014-02-05 华为技术有限公司 Table look-up key value construction method and microcode issuing method, device and system
CN104301251B (en) * 2014-09-22 2018-04-27 新华三技术有限公司 A kind of QoS processing methods, system and equipment
CN104486244B (en) * 2014-12-03 2018-06-01 中国联合网络通信集团有限公司 A kind of execution method and device of QoS policy
CN107124366B (en) * 2016-02-24 2020-12-11 中兴通讯股份有限公司 Method, device and system for realizing service quality control
CN107682208A (en) * 2017-11-08 2018-02-09 西南民族大学 A kind of SDN piggy back service quality acquisition method based on LLDP agreements
CN112468397B (en) * 2019-09-09 2023-09-26 华为技术有限公司 IPv6 message processing method and device
CN111555982B (en) * 2020-07-10 2020-09-29 武汉绿色网络信息服务有限责任公司 Method and system for intelligently routing message based on IPv6 extension header

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633120A (en) * 2003-12-22 2005-06-29 华为技术有限公司 A method for implementing mobile IP network service quality control
US20060159015A1 (en) * 2005-01-18 2006-07-20 Samsung Electronics Co., Ltd. Apparatus and method for transmitting data in a broadband wireless access communication system
CN1984123A (en) * 2006-06-16 2007-06-20 华为技术有限公司 Method for transmitting service quality parameter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633120A (en) * 2003-12-22 2005-06-29 华为技术有限公司 A method for implementing mobile IP network service quality control
US20060159015A1 (en) * 2005-01-18 2006-07-20 Samsung Electronics Co., Ltd. Apparatus and method for transmitting data in a broadband wireless access communication system
CN1984123A (en) * 2006-06-16 2007-06-20 华为技术有限公司 Method for transmitting service quality parameter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3468123A4 (en) * 2016-08-27 2019-06-05 Huawei Technologies Co., Ltd. Method and device for use in processing low-latency traffic
EP4030732A1 (en) * 2016-08-27 2022-07-20 Huawei Technologies Co., Ltd. Method and apparatus for processing low-latency service flow

Also Published As

Publication number Publication date
CN101645849A (en) 2010-02-10

Similar Documents

Publication Publication Date Title
CN101645849B (en) QoS realization method in transitional environment and PE router
US8976797B2 (en) System and method for indicating classification of a communications flow
US8213311B2 (en) Control plane to data plane binding
CN1254059C (en) Method of realizing special multiple-protocol label exchanging virtual network
US7486659B1 (en) Method and apparatus for exchanging routing information between virtual private network sites
JP4280286B2 (en) Packet communication network and packet communication method
JP4548930B2 (en) Label switching router
US20140241173A1 (en) Method for routing data over a telecommunications network
EP1585263A1 (en) System and method for managing communications in an access network
CN101127691A (en) A method for implementing stream-based policy routing on network processor
US8542580B2 (en) Method and system for transporting service flow securely in an IP network
US7869450B2 (en) Method and apparatus for processing labeled flows in a communication access network
CN107864061A (en) A kind of method of virtual machine port speed constraint and mirror image in private clound
JP2005502275A (en) Method and apparatus in IP communication network
KR20010111256A (en) Public mobile data communications network
US9485176B2 (en) Global IP-based service-oriented network architecture
JPWO2005006670A1 (en) Session establishment method and label switch node in label switch network
CN112218315A (en) End-to-end QoS policy execution and Ethernet data forwarding method of 5G private network
US20070110025A1 (en) Autonomous system interconnect using content identification and validation
KR20080089581A (en) Quality of service for transmission of digital content
US20050220059A1 (en) System and method for providing a multiple-protocol crossconnect
CN102474451A (en) Linking inner and outer mpls labels
Geib et al. Diffserv-interconnection classes and practice
Hodzic et al. Traffic engineering with constraint based routing in MPLS networks
KR20070064844A (en) Constraint based label switched path packet forwarding method in the mpls network

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