CN101645849A - 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
CN101645849A
CN101645849A CN200910170373A CN200910170373A CN101645849A CN 101645849 A CN101645849 A CN 101645849A CN 200910170373 A CN200910170373 A CN 200910170373A CN 200910170373 A CN200910170373 A CN 200910170373A CN 101645849 A CN101645849 A CN 101645849A
Authority
CN
China
Prior art keywords
qos
packet
router
field
value
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
CN200910170373A
Other languages
Chinese (zh)
Other versions
CN101645849B (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

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 theQoS 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 schemeof 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 (InternetProtocol 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 the 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 traffics 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 at 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 are by realizing 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 IPv4MPLS L3VPN (Level3 Virtual 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 with TOS (the Type of Service of many flows, COS) the same exp field of field front three precedence field mappings in the MPLS label, can take same qos policy to many flows at 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 at 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 at 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 different service traffics, so research is imperative at the management method of different flow label flows.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of QoS method and pe router in transitional 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 invention provides a kind of QoS implementation method in transitional 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 described preset value handle;
Described 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 described field described packet is carried out corresponding QoS and handles.
Further, 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 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 default 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 described packet is carried out corresponding QoS and handles.
Wherein, after described first pe router is received packet, earlier judge whether this packet has the purpose option extension header, if have, then increase a TLV in the TLV zone of this 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.
After described the second router is carried out the QoS processing to packet, the TLV that the deletion the first router is added, or the purpose selection extended head of deletion the first router interpolation.
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:
Described 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;
Described driver sub-system, the order that is used for sending according to platform subsystem is with system command flag bit and position, QoS mode flags position;
Described 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 described 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 described preset value handle, and will send as second packet through the packet of revising; Also be used for after receiving second packet, include the field of the described QoS of being exclusively used in mapping,, according to the content of described field described second packet is carried out QoS and handle 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, described platform subsystem further comprises OAM module and QoS module, wherein:
Described OAM module is used for the QoS system command and the QoS mode command of configuration are issued to driver sub-system;
Described QoS module is used for the qos policy of configuration is issued to driver sub-system.
Further, in the above-mentioned pe router, described microcode subsystem is 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, will be revised as default value in the value field of packet according to qos policy again with in the content map of the flow label field of this packet value field in the TLV.
Wherein, described 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.
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 described field described 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 described field.
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 provide different Differentiated Services 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 at video conference flow and ip voice flow easily, simultaneously the data flow be 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 extra hardware investment and extra resource occupying by software;
3, on existing 6PE technology and QoS technical foundation, realize the technology 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 schematic diagram 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 connecting between pe router, 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 described preset value handle, and described 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 described field packet is carried out corresponding QoS and handles.
Be meant for default value according to qos policy and stream label content modification: according to the qos policy decision which kind of QoS is which data packets in data flows carried out and handles, handle the value of content of revising this new field according to the QoS that will carry out for presetting with this new field.
Below concrete introduction is done in design concept of the present invention and implementation method.
IPv6 data message head comprises standard head and extended head, and extended head comprises that hop-by-hop, purpose option, route, burst etc. are several.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 represents 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, by increase the specific T LV structure of a purpose option extension header in the IPv6 data packet head, has proposed a kind of method that unified management or Differentiated Services are provided for different IP v6 service traffics.
Described method can be: after connecting between pe router, 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 with in the content map of the flow label field of this packet value field in the TLV, according to the content of qos policy and value field the value of value field is revised as default value again, sends 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 the prior art compatibility.
Described 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 zone of this 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; 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; The value that may needing of being mated is carried out the packet correspondence that QoS handles according to qos policy (comprise in the qos policy and need carry out the flow label value that QoS handles) is revised as preset value and (carries out the stream of identical QoS processing for needs then, 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 described the 2nd PE receives this packet, determine that according to the Type among the TLV this TLV is used for the QoS mapping, whether determine effectively that according to the qos policy flag bit whether carrying out QoS handles, 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 at the value value (modification value) of TLV structure, also can take the qos policy distinguished at the flow label value (initial value) in the IPv6 data packet head of many streams.
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, i.e. and the message that produces the preferential A of assurance under the congested situation at link 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 at 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 to 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 by code, can realize by a QoS system sign position is set, when QoS system sign position when being effective, go into pe router and finish aforesaid operations, otherwise do not carry out aforesaid operations, same as the prior art.
Can handle special-purpose TLV in order to use router, finish 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 do not dispose this order, 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 by code, can realize by a QoS mode flags position is set,, go out pe router and finish based on the QoS coupling of value value and handle when QoS mode flags position when being effective, otherwise carry out QoS coupling and processing based on stream label, same as the prior art.
Describedly 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 by 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 position, QoS mode flags position; 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 described 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 described preset value handle, and will send as second packet through the packet of revising; Also be used for after receiving second packet, include the field of the described QoS of being exclusively used in mapping,, according to the content of described field described second packet is carried out QoS and handle when qos policy flag bit and QoS mode flags position all effectively the time if judge this packet.
Described 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, described 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, will be revised as default value in the value field of packet according to qos policy again with in the content map of the flow label field of this packet value field in the TLV.
When qos policy flag bit and QoS mode flags position all effectively the time, according to the content of described field described 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 described 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, described 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.
Below by go into pe router and go out each subsystem on the pe router flow chart of data processing specify the detailed presentations summary of the invention.
As shown in Figure 3, go into pe router platform subsystem and go into pe router driver sub-system handling process and 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.
Described 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 is checked the system sign position that the present invention defines, and whether has disposed the QoS system command to check, if disposed, and execution in step 404, otherwise execution in step 408;
Step 404 checks whether the IPv6 data packet head has included the purpose option extension header, if do not have, and 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 finished 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 order of disposing in the qos policy, 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 as follows:
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, going out the up microcode handling process of pe router comprises:
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 checks whether the type field of first TLV structure of 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, go out pe router and then can judge the content of adding, thereby carry out deletion action into pe router according to this indicating bit.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.
Before the TLV structure that pe router increases is gone in deletion or simultaneously, value value in this TLV structure is copied in the data structure, " data structure that has value field among the TLV " as shown in Fig. 9,10,11, being QoS with the descending microcode subsystem that conveniently goes out pe router according to this value value handles, above-mentioned data structure is the device interior special use, and the user is invisible.
As shown in Figure 8, going out the descending microcode handling process of pe router comprises:
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 flowlabel value of the up qos policy of pe router, is carried out QoS and is handled;
Step 805, if QoS module flag bit does not have set, then according to the flowlabel value N of IPv6 data packet head, promptly the former flow label value of 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 may be pe router, and going out pe router also may 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 (9)

1, a kind of QoS implementation method in transitional 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 described preset value handle;
Described 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 described field described packet is carried out corresponding QoS and handles.
2, the method for claim 1 is characterized in that, described 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 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 default 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 described packet is carried out corresponding QoS and handles.
3, method as claimed in claim 2 is characterized in that,
After described first pe router is received packet, earlier judge whether this packet has the purpose option extension header, if have, then increase a TLV in the TLV zone of this purpose option extension header, if do not have, then increase the purpose option extension header, and then increase a TLV in the TLV zone of this purpose option extension header.
4, as claim 1 or 2 or 3 described methods, it is characterized in that,
After described the second router is carried out the QoS processing to packet, the TLV that the deletion the first router is added, or the purpose selection extended head of deletion the first router interpolation.
5, a kind of service supplier edge (PE) router of method according to claim 1 of realizing is characterized in that, pe router comprises platform subsystem, driver sub-system and the microcode subsystem that links to each other successively, wherein:
Described 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;
Described driver sub-system, the order that is used for sending according to platform subsystem is with system command flag bit and position, QoS mode flags position;
Described 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 described 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 described preset value handle, and will send as second packet through the packet of revising; Also be used for after receiving second packet, include the field of the described QoS of being exclusively used in mapping,, according to the content of described field described second packet is carried out QoS and handle when qos policy flag bit and QoS mode flags position all effectively the time if judge this packet.
6, pe router as claimed in claim 5 is characterized in that,
Described platform subsystem further comprises OAM module and QoS module, wherein:
Described OAM module is used for the QoS system command and the QoS mode command of configuration are issued to driver sub-system;
Described QoS module is used for the qos policy of configuration is issued to driver sub-system.
7, pe router as claimed in claim 5 is characterized in that,
Described microcode subsystem is 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, will be revised as default value in the value field of packet according to qos policy again with in the content map of the flow label field of this packet value field in the TLV.
8, pe router as claimed in claim 7 is characterized in that,
Described 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.
9, pe router as claimed in claim 5 is characterized in that,
When qos policy flag bit and QoS mode flags position all effectively the time, according to the content of described field described 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 described 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 true CN101645849A (en) 2010-02-10
CN101645849B 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 (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102630377A (en) * 2011-10-11 2012-08-08 华为技术有限公司 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
CN104301251A (en) * 2014-09-22 2015-01-21 杭州华三通信技术有限公司 QoS processing method, system and device
CN104486244A (en) * 2014-12-03 2015-04-01 中国联合网络通信集团有限公司 QoS (quality of service) strategy executing method and device
WO2017143723A1 (en) * 2016-02-24 2017-08-31 中兴通讯股份有限公司 Method, device, and system for controlling service quality
CN107682208A (en) * 2017-11-08 2018-02-09 西南民族大学 A kind of SDN piggy back service quality acquisition method based on LLDP agreements
WO2018040673A1 (en) * 2016-08-27 2018-03-08 华为技术有限公司 Method and device for use in processing low-latency traffic
CN111555982A (en) * 2020-07-10 2020-08-18 武汉绿色网络信息服务有限责任公司 Method and system for intelligently routing message based on IPv6 extension header
CN112468397A (en) * 2019-09-09 2021-03-09 华为技术有限公司 IPv6 message processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100440881C (en) * 2003-12-22 2008-12-03 华为技术有限公司 A method for implementing mobile IP network service quality control
KR20060083754A (en) * 2005-01-18 2006-07-21 삼성전자주식회사 Apparatus and method for transmitting data under the guarantee of qos in a portable internet system
CN100563236C (en) * 2006-06-16 2009-11-25 华为技术有限公司 The transmission method of QoS parameter

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012149801A1 (en) * 2011-10-11 2012-11-08 华为技术有限公司 Method, device and system for processing multicast stream quality parameters
CN102630377B (en) * 2011-10-11 2014-11-05 华为技术有限公司 Method, apparatus and system for processing quality parameters of multicast streams
CN102630377A (en) * 2011-10-11 2012-08-08 华为技术有限公司 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
CN104301251A (en) * 2014-09-22 2015-01-21 杭州华三通信技术有限公司 QoS processing method, system and device
CN104486244A (en) * 2014-12-03 2015-04-01 中国联合网络通信集团有限公司 QoS (quality of service) strategy executing method and device
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
WO2017143723A1 (en) * 2016-02-24 2017-08-31 中兴通讯股份有限公司 Method, device, and system for controlling service quality
CN107124366A (en) * 2016-02-24 2017-09-01 中兴通讯股份有限公司 A kind of method for realizing service quality control, apparatus and system
CN107786465A (en) * 2016-08-27 2018-03-09 华为技术有限公司 A kind of method and apparatus for handling low latency Business Stream
US20190199642A1 (en) * 2016-08-27 2019-06-27 Huawei Technologies Co., Ltd. Method and Apparatus for Processing Low-Latency Service Flow
WO2018040673A1 (en) * 2016-08-27 2018-03-08 华为技术有限公司 Method and device for use in processing low-latency traffic
US10972398B2 (en) * 2016-08-27 2021-04-06 Huawei Technologies Co., Ltd. Method and apparatus for processing low-latency service flow
CN107786465B (en) * 2016-08-27 2021-06-04 华为技术有限公司 Method and device for processing low-delay service flow
CN113472673A (en) * 2016-08-27 2021-10-01 华为技术有限公司 Method and equipment for acquiring control information
US11616729B2 (en) * 2016-08-27 2023-03-28 Huawei Technologies Co., Ltd. Method and apparatus for processing low-latency service flow
CN107682208A (en) * 2017-11-08 2018-02-09 西南民族大学 A kind of SDN piggy back service quality acquisition method based on LLDP agreements
CN112468397A (en) * 2019-09-09 2021-03-09 华为技术有限公司 IPv6 message processing method and device
CN112468397B (en) * 2019-09-09 2023-09-26 华为技术有限公司 IPv6 message processing method and device
CN111555982A (en) * 2020-07-10 2020-08-18 武汉绿色网络信息服务有限责任公司 Method and system for intelligently routing message based on IPv6 extension header

Also Published As

Publication number Publication date
CN101645849B (en) 2012-04-18

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
US7327675B1 (en) Fairness of capacity allocation for an MPLS-based VPN
EP1708408B2 (en) A system and method of ensuring quality of service in virtual private network
US7903553B2 (en) Method, apparatus, edge router and system for providing QoS guarantee
CN1254059C (en) Method of realizing special multiple-protocol label exchanging virtual network
US8542580B2 (en) Method and system for transporting service flow securely in an IP network
EP1585259B1 (en) System and method for providing a multiple-protocol crossconnect
JP4548930B2 (en) Label switching router
CN101127691A (en) A method for implementing stream-based policy routing on network processor
US20140241173A1 (en) Method for routing data over a telecommunications network
EP1816789B1 (en) A method and system for controlling the selection of the transmitting path for the media flow in the next generation network
US7869450B2 (en) Method and apparatus for processing labeled flows in a communication access network
JP4109692B2 (en) Session establishment method and label switch node in label switch network
CN107864061A (en) A kind of method of virtual machine port speed constraint and mirror image in private clound
CN101488914A (en) Quality of service implementing method and provide edge equipment
US9485176B2 (en) Global IP-based service-oriented network architecture
CN112218315A (en) End-to-end QoS policy execution and Ethernet data forwarding method of 5G private network
CN100518138C (en) Method for realizing virtual special network
CN101087257B (en) Method for realizing service quality for VPN traffic based on Ethernet interface
Geib et al. Diffserv-interconnection classes and practice
SG186374A1 (en) System and method for managing secure flows between a plurality of remote sites
Cisco Introduction to MPLS VPN Technology
Cisco Introduction to Cisco MPLS VPN Technology
Cisco VoIP Interoperability with Cisco Express Forwarding and Policy Based Routing

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