CN104486244B - A kind of execution method and device of QoS policy - Google Patents
A kind of execution method and device of QoS policy Download PDFInfo
- Publication number
- CN104486244B CN104486244B CN201410725321.8A CN201410725321A CN104486244B CN 104486244 B CN104486244 B CN 104486244B CN 201410725321 A CN201410725321 A CN 201410725321A CN 104486244 B CN104486244 B CN 104486244B
- Authority
- CN
- China
- Prior art keywords
- stream label
- sent
- data messages
- user
- ipv6 data
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000013507 mapping Methods 0.000 claims description 25
- 230000005540 biological transmission Effects 0.000 claims description 14
- 238000012546 transfer Methods 0.000 claims description 6
- 230000014509 gene expression Effects 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 5
- 238000004891 communication Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- BASFCYQUMIYNBI-UHFFFAOYSA-N platinum Chemical compound [Pt] BASFCYQUMIYNBI-UHFFFAOYSA-N 0.000 description 4
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 2
- 229910052802 copper Inorganic materials 0.000 description 2
- 239000010949 copper Substances 0.000 description 2
- 229910052697 platinum Inorganic materials 0.000 description 2
- 229910052709 silver Inorganic materials 0.000 description 2
- 239000004332 silver Substances 0.000 description 2
- 108091064702 1 family Proteins 0.000 description 1
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
Abstract
The invention discloses a kind of execution method and devices of QoS policy, are related to field of communication technology, for solving the problems, such as that qos policy execution efficiency is low in the prior art.In technical solution provided by the invention, the corresponding qos policy of IPv6 data messages to be sent is performed by obtaining the stream label in procotol sixth version IPv6 data messages to be sent, and according to stream label.The embodiment of the present invention is mainly used in the execution flow of qos policy.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of QoS (Quality of Service, service quality) plans
Execution method and device slightly.
Background technology
A kind of technology for the problems such as QoS is for solving network delay and obstruction.When congestion occurs for network, data
Message can occur to abandon phenomenon.To meet requirement of the user to different application, different service quality, it is necessary to according to wanting for user
Distribution and scheduling resource are asked, different service quality is provided to different data messages, wherein, the number of user's different application transmission
It is different according to message.To real-time and important data message priority processing;For the not strong general data message of real-time, carry
It is abandoned for relatively low processing priority or even when network heavy congestion.Therefore, different service quality is to pass through
The network equipment performs what different qos policies embodied.
In the prior art, the network equipment is performing IPv6 (Internet Protocol Version 6, procotol
Sixth version) data message qos policy when, can first to the IPv6 data messages carry out flow point class.And when carrying out flow point class, it is necessary to
Read source address, destination address, source port number, destination slogan, the transport layer protocol type in IPv6 data messages, this five class
Field is properly termed as five-tuple.But since source port number, destination slogan, transport layer protocol type these three fields are located at
After the expansible field in IPv6 packet header, and the extension length of expansible field is not fixed, and can make above three field in IPv6 bags
Position in head changes, and therefore, causes the network equipment less efficient, shadow when obtaining the related content of above three field
The efficiency of flow point class is rung, so as to affect the efficiency that the network equipment performs corresponding qos policy.
The content of the invention
The embodiment of the present invention provides a kind of execution method and device of qos policy, can improve the efficiency of flow point class, into
And improve the efficiency that the network equipment performs qos policy.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
A kind of execution method of qos policy, including:
The stream label in IPv6 data messages to be sent is obtained, the stream label is used to represent the user class of user equipment
And/or the applied business type belonging to the IPv6 data messages;
The corresponding qos policy of the IPv6 data messages to be sent is performed according to the stream label, the qos policy includes
The mapping relations of the IPv6 data messages to be sent and the transfer sequence of the IPv6 data messages to be sent.
A kind of executive device of qos policy, including:
Acquiring unit, for obtaining the stream label in IPv6 data messages to be sent, the stream label is used to represent user
Applied business type belonging to the user class of equipment and/or the IPv6 data messages;
Strategy execution unit, the stream label for being obtained according to the acquiring unit perform the IPv6 numbers to be sent
According to the corresponding qos policy of message, the qos policy includes the IPv6 data messages to be sent and the IPv6 data to be sent
The mapping relations of the transfer sequence of message.
A kind of execution method and device of qos policy provided in an embodiment of the present invention, router are to be sent by obtaining
Stream label in IPv6 data messages, and the corresponding QoS plans of IPv6 data messages to be sent are performed according to the stream label got
Slightly.In compared with the prior art, the five-tuple in IPv6 data messages must be first obtained when performing qos policy to IPv6 data
Message carries out flow point class, and source port number of the network equipment in five-tuple is obtained, destination slogan, transport layer protocol type this
The acquisition efficiency of three fields is low, and stream classification effectiveness is low, therefore generates the network equipment and perform the problem of qos policy efficiency is low.
The stream label in IPv6 data messages to be sent need to be only obtained an embodiment of the present invention provides a kind of network equipment, you can perform phase
The method for answering qos policy can improve the efficiency that router performs qos policy.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of execution method flow diagram of qos policy provided in an embodiment of the present invention;
Fig. 2 is the execution method flow diagram of another qos policy provided in an embodiment of the present invention;
Fig. 3 is the execution method flow diagram of another qos policy provided in an embodiment of the present invention;
Fig. 4 is the execution method flow diagram of another qos policy provided in an embodiment of the present invention;
Fig. 5 is the execution method flow diagram of another qos policy provided in an embodiment of the present invention;
Fig. 6 is a kind of executive device composition schematic diagram of qos policy provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment belongs to the scope of protection of the invention.
An embodiment of the present invention provides a kind of execution methods of qos policy, can improve the effect that router performs qos policy
Rate, as shown in Figure 1, including:
101st, router obtains the stream label in IPv6 data messages to be sent.
Wherein, IPv6 data messages to be sent are sent to router by local gateway.Router reads IPv6 numbers to be sent
According to the stream label of message, wherein, stream label be used to representing the user class of user equipment and/or belonging to IPv6 data messages should
Use type of service.Applied business type belonging to IPv6 data messages is filled in by user equipment into stream label.User equipment
User class is represented by stream label parameter, is filled in stream label parameter into user's stream label by local gateway.In Figure 5, it is right
Relation between router and user equipment and local gateway is described in detail, and this will not be repeated here.
102nd, router performs the corresponding qos policy of IPv6 data messages to be sent according to stream label.
Wherein, qos policy includes reflecting for IPv6 data messages to be sent and the transfer sequence of IPv6 data messages to be sent
Penetrate relation.The mapping relations are described in detail in step 202 and step 302, and this will not be repeated here.
It should be noted that, it is necessary to judge before router performs the corresponding qos policy of IPv6 data messages to be sent
The situation of IPv6 data messages to be sent when IPv6 data messages to be sent are the single message of different user devices, performs
Step 201 is to step 202;When IPv6 data messages to be sent be same user equipment different messages when, perform step 301 to
Step 302;When IPv6 data messages to be sent are the different messages of different user devices, step 401 is performed to step 402.
The execution method of a kind of qos policy provided in an embodiment of the present invention, by obtaining in IPv6 data messages to be sent
Stream label, and the corresponding qos policy of IPv6 data messages to be sent is performed according to the stream label that gets.Compared to existing skill
In art, the five-tuple that must be first obtained when performing qos policy in IPv6 data messages carries out flow point class to IPv6 data messages,
And the acquisition of source port number of the network equipment in five-tuple is obtained, destination slogan, transport layer protocol type these three fields
Efficiency is low, and stream classification effectiveness is low, therefore generates the network equipment and perform the problem of qos policy efficiency is low.The embodiment of the present invention carries
Supply a kind of network equipment that need to only obtain the stream label in IPv6 data messages to be sent, you can to perform the side of corresponding qos policy
Method can improve the efficiency that router performs qos policy.
The embodiment of the present invention additionally provides a kind of execution method of qos policy, and the present embodiment is suitable for IPv6 numbers to be sent
It is the situation of the single message of different user devices according to message, stream label is used to represent the user class of user equipment at this time, is
Stream label parameter, as shown in Fig. 2, this method execution is after step 101, including:
201st, router obtains the stream label parameter in stream label.
Wherein, stream label parameter represents the user class of user equipment.An embodiment of the present invention provides a kind of expressions to fail to be sold at auction
The method for signing parameter such as " 0xFF1 ", but represents the field length of stream label parameter and specific field contents, and the present invention is to this
It does not limit.User class can be represented with Arabic numerals, for example, user class is the user of " 1 ", priority is higher than use
Family rank is the user of " 2 ", and user class is the user of " 2 ", and priority is higher than the user that user class is " 3 ", with such
It pushes away, can minimum user class be formulated according to operator's actual deployment situation.The embodiment of the present invention does not limit minimum user class
It is fixed.
202nd, router performs the corresponding QoS of IPv6 data messages to be sent according to stream label parameter and the first preset rules
Strategy.
Wherein, the first preset rules represent stream label parameter and the mapping relations of qos policy.Stream label parameter and QoS plans
Mapping relations slightly are as shown in table 1.Table 1 includes two class list item of user class and stream label parameter, in table 1 the first row from a left side to
Right is user class and stream label parameter respectively.By table 1, can find and the one-to-one stream label parameter of user class.Such as
In table 1 shown in second row, user class is " 1 ", represents the user and is used as " VIP (very important people, honored guest) "
Family, corresponding stream label parameter is " 0xFF1 ";The third line user class is " 2 ", represents the user as " platinum " user, corresponding stream
Tag parameter is " 0xFF2 ";Fourth line user class is " 3 ", and corresponding stream label parameter is " 0xFF3 ", represents the user as " Huang
Gold " user;Fifth line user class is " 4 ", represents the user as " silver " user, and corresponding stream label parameter is " 0xFF4 ";6th
Row user class is " 5 ", represents the user as " copper " user, and corresponding stream label parameter is " 0xFF5 ".It is from top to bottom used in table 1
Family rank reduces successively.
It should be noted that the user class in table 1 needs corresponding, the different use of the qos policy performed with the network equipment
Family rank performs different qos policies.Such as:Stream label ginseng in the data to be transmitted bag for reading two users in router
Number is respectively 0xFF1 and 0xFF5, since the corresponding user class of 0xFF1 is 1 grade in table 1, the corresponding user class of 0xFF5
It is therefore, higher in network load for 5 grades, when congestion is serious, if router has received stream label parameter as 0xFF1 simultaneously
IPv6 data messages and stream label parameter be 0xFF5 IPv6 data messages, router can be preferentially high to user class
IPv6 data messages are handled.
Table 1
User class | Stream label parameter |
1(VIP) | 0xFF1 |
2 (platinum) | 0xFF2 |
3 (gold) | 0xFF3 |
4 (silver) | 0xFF4 |
5 (copper) | 0xFF5 |
It should be noted that the present invention is not limited only with five user class grades as shown in Table 1.Can have more
And finer rank definition, while stream label parameter can also change length according to the demand of operator, if necessary to more
Fine rank definition can suitably increase the length of stream label parameter.
The embodiment of the present invention additionally provides a kind of execution method of qos policy, and the present embodiment is suitable for as IPv6 to be sent
Data message is the situation of the different messages of sole user's equipment, and stream label is used to represent answering belonging to IPv6 data messages at this time
It is applied business type with type of service, as shown in figure 3, this method execution is after step 101, including:
301st, router obtains the applied business type in stream label.
Wherein, each data packet to be sent has its fixed applied business type.Applied business type includes at least:Depending on
Frequency stream business, downloading service, game class business etc..The embodiment of the present invention does not limit only above-mentioned three kinds of applied business types, removes
Other application type of service beyond above-mentioned three kinds of applied business types, may be used in the embodiment of the present invention.Such as one
Game application, it is game class that user equipment, which marks the applied business type of the data packet to be sent of application transmission,.Likewise, such as
Fruit is video class application either other types application, then data packet to be sent is marked according to application type.Using industry
Service type is to be generated by user equipment according to application type, if application program or user equipment are not supported, is set to 0.Its
In, 0 priority is minimum.
302nd, router is corresponding according to applied business type and the second preset rules execution IPv6 data messages to be sent
Qos policy.
Wherein, the second preset rules represent applied business type and the mapping relations of qos policy.
Such as:The priority of video stream traffic and game class business is higher than downloading service.In this way, for sole user,
When congestion occurs for network, can preferable selection label be the to be sent of video stream traffic type or game class type of service
IPv6 data messages are preferentially sent.
The embodiment of the present invention additionally provides a kind of execution method of qos policy, and the present embodiment is suitable for as IPv6 to be sent
Data message for different user devices different messages situation, at this time stream label be used for represent user equipment user class and
Applied business type belonging to IPv6 data messages, stream label is stream label parameter and applied business type, as shown in figure 4, should
Method perform after step 101, including:
401st, router obtains the stream label parameter in stream label, and according to stream label parameter and the first preset rules, really
Surely it is contained in the transmission order of all messages of same user equipment.
Such as:Router got simultaneously user equipment 1 and user equipment 2 send it is all different types of to be transmitted
IPv6 data messages.Router reads the stream in all different types of IPv6 data messages to be transmitted that user equipment 1 is sent
Tag parameter is " 0xFF1 ", reads failing to be sold at auction in all different types of IPv6 data messages to be transmitted that user equipment 2 is sent
It is " 0xFF2 " to sign parameter.Because in the first preset rules, " 0xFF1 " corresponding user class is 1 grade, and " 0xFF2 " is corresponding
User class is 2 grades, so when network blocks, router can first send institute of the stream label parameter for " 0xFF1 "
There are different types of IPv6 data messages to be transmitted, also just say, router can first handle all inhomogeneities of the transmission of user equipment 1
The IPv6 data messages to be transmitted of type.Then send all different types of IPv6 datagrams to be transmitted for belonging to user equipment 2
Text.
402nd, router obtains the applied business type in stream label, according to applied business type and the second preset rules,
Determine to be contained in the corresponding qos policy of each message of same user equipment.
Such as:When the priority of video traffic type is higher than the priority of downloading service type, router obtains same
The IPv6 data messages 1 to be transmitted and IPv6 data messages 2 to be transmitted that user equipment is sent.Router reads IPv6 numbers to be transmitted
According to the stream label of message 1, the applied business type of IPv6 data messages 1 is got as video traffic, and reads number report to be transmitted
The stream label of text 2, the applied business type for getting IPv6 data messages 2 are downloading service.It is excellent due to video traffic type
First grade is higher than the priority of downloading service type, therefore, IPv6 data messages 1 to be transmitted and to be transmitted is got in router
It is first according to the applied business type of IPv6 data messages 1 to be transmitted and IPv6 data messages 2 to be transmitted during IPv6 data messages 2
IPv6 data messages 1 to be transmitted are sent, and perform qos policy corresponding with 1 applied business type of IPv6 data messages to be transmitted,
IPv6 data messages 2 to be transmitted are retransmited, and perform QoS plans corresponding with 2 applied business type of IPv6 data messages to be transmitted
Slightly.
Wherein, the first preset rules represent the mapping relations of stream label parameter and transmission order, and the second preset rules represent
The mapping relations of applied business type and qos policy.
It should be noted that for different user equipmenies, router is carried out according to the user class of different user devices
Processing, the message prior to be sent that the high user equipment of user class is sent are handled.In addition, it is sent out for same user equipment
The different types of IPv6 data messages to be sent sent, router according to the applied business types of IPv6 data messages to be sent into
Row processing, the high data to be transmitted bag priority processing of applied business type priority grade.
For convenience of the understanding of the present invention, in another embodiment of the invention, the execution side of another qos policy is provided
Method flow chart, as shown in Figure 5.Method flow shown in the Fig. 5 is applied in following implement scenes, which includes:One use
Family equipment, a local gateway, DHCPv6 (Dynamic Host configuration Protocol version 6,
Dynamic host configuration protocol sixth version) server, a router, a cache server, also, in above-mentioned scene, use
Family equipment can be communicated with DHCPv6 servers, local gateway, cache server;Local gateway can be serviced with DHCPv6
Device, router communicate;Router can communicate with cache server.In conclusion the holistic approach stream of the present invention
Cheng Wei:
0) mapping relations, the user of stream label parameter, stream label parameter and user class, are stored in DHCPv6 servers
The correspondence of ID (Identity, identity number) and user class.Meanwhile rule are preset in storage first on the router
Then and the second preset rules.In this way, when IPv6 data messages to be sent pass through router, router obtains to be sent
Stream label parameter in IPv6 data messages, and according to qos policy corresponding with stream label parameter to IPv6 datagrams to be sent
Text is forwarded to.
1), user equipment initiates request of reaching the standard grade to DHCPv6 servers, and User ID is included in the request.
2), DHCPv6 servers are reached the standard grade the User ID in request according to the user received, determine user class, and according to
Stream label parameter is issued to local gateway by user class.
What deserves to be explained is the also DHCPv6 of local gateway is issued to together as the user's equipment point with stream label parameter
The IPv6 addresses matched somebody with somebody and DNS (Domain Name System, domain name system) server address.
3), local gateway preserve DHCPv6 servers issue stream label parameter, user local identifier, IPv6 addresses and
Dns server address.
Wherein, user local identifier is the MAC (Media Access Control, medium access control) of user
Location, itself is not influenced on performing qos policy, it is contemplated that subsequent deployment also has with the relevant demand of user management, institute
To identify each user prepared for management function.User local identifier is different from above-mentioned User ID, and User ID is only used
In when reaching the standard grade request to the transmission of DHCPv6 servers, show user identity.
4), local gateway carries out configuration of reaching the standard grade to user equipment, is specially taken to user device configuration IPv6 addresses and DNS
Business device address.
5), user equipment is when sending IPv6 data messages to be sent, first in local by IPv6 data messages institute to be sent
The applied business type of category is filled in into the stream label of IPv6 data messages to be sent, then IPv6 data messages to be sent are sent
To local gateway.
6), local gateway fills in the stream label parameter and user local mark that DHCPv6 servers issue into be sent
In the flow label field of IPv6 data messages, and IPv6 data messages to be sent are sent to router.
7), router receives the IPv6 data messages to be sent of local gateway transmission, reads IPv6 datagrams to be sent
Stream label in text performs corresponding first preset rules and the second preset rules according to stream label, and according to the first default rule
IPv6 data messages to be sent are then sent to cache server with the second preset rules.
8), cache server and user equipment carry out data interaction.
The execution method of a kind of qos policy provided in an embodiment of the present invention, by obtaining in IPv6 data messages to be sent
Stream label, and the corresponding qos policy of IPv6 data messages to be sent is performed according to the stream label that gets.Compared to existing skill
In art, the five-tuple that must be first obtained when performing qos policy in IPv6 data messages carries out flow point class to IPv6 data messages,
And the acquisition of source port number of the network equipment in five-tuple is obtained, destination slogan, transport layer protocol type these three fields
Efficiency is low, and stream classification effectiveness is low, therefore generates the network equipment and perform the problem of qos policy efficiency is low.The embodiment of the present invention carries
Supply a kind of network equipment that need to only obtain the stream label in IPv6 data messages to be sent, you can to perform the side of corresponding qos policy
Method can improve the efficiency that router performs qos policy.
A kind of executive device of qos policy, as shown in fig. 6, including:Acquiring unit 61, strategy execution unit 62.
Acquiring unit 61, for obtaining the stream label in IPv6 data messages to be sent.
Wherein, stream label is used to represent the user class of user equipment and/or the applied business belonging to IPv6 data messages
Type.
Strategy execution unit 62, the stream label for being obtained according to acquiring unit 61 perform IPv6 data messages pair to be sent
The qos policy answered.
Wherein, qos policy includes reflecting for IPv6 data messages to be sent and the transfer sequence of IPv6 data messages to be sent
Penetrate relation.
As shown in fig. 6, in another embodiment of the invention,
Acquiring unit 61, specifically for obtaining the stream label parameter in stream label.
Wherein, stream label parameter represents the priority of user equipment.
Strategy execution unit 62 is held specifically for the stream label parameter and the first preset rules obtained according to acquiring unit 61
The corresponding qos policy of row IPv6 data messages to be sent.
Wherein, the first preset rules represent stream label parameter and the mapping relations of qos policy.
As shown in fig. 6, in another embodiment of the invention,
Acquiring unit 61 is specifically additionally operable to obtain the applied business type in stream label.
Strategy execution unit 62 is specifically additionally operable to the applied business type obtained according to acquiring unit 61 and the second default rule
Then perform the corresponding qos policy of IPv6 data messages to be sent.
Wherein, the second preset rules represent applied business type and the mapping relations of qos policy.
As shown in fig. 6, in another embodiment of the invention,
Acquiring unit 61 is specifically additionally operable to obtain the stream label parameter in stream label, and according to stream label parameter and first
Preset rules determine to be contained in the transmission order of all messages of same user equipment.
Acquiring unit 61 is specifically additionally operable to obtain the applied business type in stream label, according to applied business type and the
Two preset rules determine to be contained in the corresponding qos policy of each message of same user equipment.
Wherein, the first preset rules represent the mapping relations of stream label parameter and transmission order, and the second preset rules represent
The mapping relations of applied business type and qos policy.
What deserves to be explained is device as shown in Figure 6 in the present embodiment is used to implement the described sides of above-mentioned Fig. 1 to Fig. 5
Method flow.
A kind of executive device of qos policy provided in an embodiment of the present invention, acquiring unit is by obtaining IPv6 numbers to be sent
According to the stream label in message, the stream label that strategy execution unit is got according to acquiring unit performs IPv6 data messages to be sent
Corresponding qos policy.In compared with the prior art, five yuan in must first obtaining IPv6 data messages when performing qos policy
Group carries out IPv6 data messages flow point class, and source port number of the network equipment in five-tuple is obtained, destination slogan, transmission
The acquisition efficiency of these three fields of layer protocol type is low, and stream classification effectiveness is low, therefore generates the network equipment and perform qos policy effect
The problem of rate is low.Failing to be sold at auction in IPv6 data messages to be sent need to be only obtained an embodiment of the present invention provides a kind of network equipment
Label, you can the method for performing corresponding qos policy can improve the efficiency that router performs qos policy.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow
Help software that the mode of required common hardware is added to realize, naturally it is also possible to which by hardware, but the former is more preferably in many cases
Embodiment.Based on such understanding, portion that technical scheme substantially in other words contributes to the prior art
Dividing can be embodied in the form of software product, which is stored in the storage medium that can be read, and such as be counted
The floppy disk of calculation machine, hard disk or CD etc., used including some instructions so that computer equipment (can be personal computer,
Server or the network equipment etc.) perform method described in each embodiment of the present invention.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (8)
1. a kind of execution method of QoS policy, which is characterized in that including:
The stream label in procotol sixth version IPv6 data messages to be sent is obtained, the stream label is used to represent user equipment
User class and/or the IPv6 data messages belonging to applied business type;Wherein, the user class of user equipment is by flowing
Tag parameter represents that the stream label parameter is the User ID in DHCPv6 servers reach the standard grade request according to the user received
User class is determined, after corresponding stream label parameter is issued to local gateway according to the user class, by the local
Gateway is filled in into the stream label, wherein be stored in the DHCPv6 servers stream label parameter, stream label parameter and
The correspondence of the mapping relations of user class, User ID and user class;
The corresponding qos policy of the IPv6 data messages to be sent is performed according to the stream label, the qos policy includes described
The mapping relations of IPv6 data messages to be sent and the transfer sequence of the IPv6 data messages to be sent.
2. according to the method described in claim 1, it is characterized in that, when the IPv6 data messages to be sent set for different user
During standby single message, after the stream label of the IPv6 data messages to be sent is obtained, further include:
The stream label parameter in the stream label is obtained, the stream label parameter represents the user class of the user equipment;
The corresponding qos policy of the IPv6 data messages to be sent is performed according to the stream label parameter and the first preset rules,
First preset rules represent the stream label parameter and the mapping relations of the qos policy.
3. according to the method described in claim 1, it is characterized in that, when the IPv6 data messages to be sent set for sole user
During standby different messages, after the stream label of the IPv6 data messages to be sent is obtained, further include:
Obtain the applied business type in the stream label;
The corresponding QoS plans of the IPv6 data messages to be sent are performed according to the applied business type and the second preset rules
Slightly, second preset rules represent the applied business type and the mapping relations of the qos policy.
4. according to the method described in claim 1, it is characterized in that, when IPv6 data messages to be sent are different user devices
During different messages, after place obtains the stream label of the IPv6 data messages to be sent, further include:
The stream label parameter in the stream label is obtained, and according to the stream label parameter and the first preset rules, is determined
It is contained in the transmission order of all messages of the same user equipment;
The applied business type in the stream label is obtained, according to the applied business type and the second preset rules, really
Surely it is contained in the corresponding qos policy of each message of the same user equipment;
Wherein, the first preset rules represent the mapping relations of the stream label parameter and the transmission order, and described second is default
Applied business type described in Rule Expression and the mapping relations of the qos policy.
5. a kind of executive device of QoS policy, which is characterized in that including:
Acquiring unit, for obtaining the stream label in procotol sixth version IPv6 data messages to be sent, the stream label is used
In the applied business type belonging to the user class and/or the IPv6 data messages for representing user equipment;Wherein, user equipment
User class represent that the stream label parameter is to reach the standard grade in DHCPv6 servers according to the user received by stream label parameter
User ID in request determines user class, according to the user class by corresponding stream label parameter be issued to local gateway it
Afterwards, filled in by the local gateway into the stream label, wherein be stored in the DHCPv6 servers stream label parameter,
The correspondence of the stream label parameter and mapping relations of user class, User ID and user class;
Strategy execution unit, the stream label for being obtained according to the acquiring unit perform the IPv6 datagrams to be sent
The corresponding qos policy of text, the qos policy include the IPv6 data messages to be sent and the IPv6 data messages to be sent
Transfer sequence mapping relations.
6. device according to claim 5, which is characterized in that
The acquiring unit, specifically for obtaining the stream label parameter in the stream label, the stream label parameter represents
The priority of the user equipment;
The strategy execution unit, specifically for the stream label parameter obtained according to the acquiring unit and the first default rule
The corresponding qos policy of the IPv6 data messages to be sent is then performed, first preset rules represent the stream label parameter
With the mapping relations of the qos policy.
7. device according to claim 5, which is characterized in that
The acquiring unit is specifically additionally operable to obtain the applied business type in the stream label;
The strategy execution unit is specifically additionally operable to pre- according to the applied business type of acquiring unit acquisition and second
If rule performs the corresponding qos policy of the IPv6 data messages to be sent, second preset rules represent described and apply industry
The mapping relations of service type and the qos policy.
8. device according to claim 5, which is characterized in that
The acquiring unit is specifically additionally operable to obtain the stream label parameter in the stream label, and according to the stream label
Parameter and the first preset rules determine to be contained in the transmission order of all messages of the same user equipment;
The acquiring unit is specifically additionally operable to obtain the applied business type in the stream label, and industry is applied according to described
Service type and the second preset rules determine to be contained in the corresponding QoS plans of each message of the same user equipment
Slightly;
Wherein, the first preset rules represent the mapping relations of the stream label parameter and the transmission order, and described second is default
Applied business type described in Rule Expression and the mapping relations of the qos policy.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410725321.8A CN104486244B (en) | 2014-12-03 | 2014-12-03 | A kind of execution method and device of QoS policy |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410725321.8A CN104486244B (en) | 2014-12-03 | 2014-12-03 | A kind of execution method and device of QoS policy |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104486244A CN104486244A (en) | 2015-04-01 |
CN104486244B true CN104486244B (en) | 2018-06-01 |
Family
ID=52760749
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410725321.8A Active CN104486244B (en) | 2014-12-03 | 2014-12-03 | A kind of execution method and device of QoS policy |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104486244B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106161192A (en) * | 2015-04-08 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus of Message Processing |
CN106911586B (en) * | 2017-03-24 | 2020-04-14 | 京信通信系统(中国)有限公司 | Quality of service (Qos) optimization method and device |
CN110099407A (en) * | 2018-01-30 | 2019-08-06 | 华为技术有限公司 | A kind of service quality QoS control method and relevant device |
CN112398754B (en) * | 2020-11-13 | 2022-09-13 | Oppo广东移动通信有限公司 | Data transmission method, device, medium, electronic equipment and network access equipment |
CN112422435B (en) * | 2020-11-13 | 2022-03-25 | 新华三技术有限公司合肥分公司 | Message forwarding control method and device and electronic equipment |
CN115514579B (en) * | 2022-11-09 | 2023-03-03 | 北京连星科技有限公司 | Method and system for realizing service identification based on IPv6 address mapping flow label |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1214832A (en) * | 1996-03-25 | 1999-04-21 | 诺基亚电信公司 | Prioritization of data to be transmitted in router |
CN1468010A (en) * | 2002-07-12 | 2004-01-14 | 华为技术有限公司 | Short message scheduling management method in wireless mobile network |
CN101645849A (en) * | 2009-09-09 | 2010-02-10 | 中兴通讯股份有限公司 | QoS realization method in transitional environment and PE router |
CN103825820A (en) * | 2014-01-22 | 2014-05-28 | 汉柏科技有限公司 | IPv6 flow label-based QoE (Quality of Experience) management method |
CN103856414A (en) * | 2012-11-29 | 2014-06-11 | 中国电信股份有限公司 | IPv6 data packet service quality processing method and device |
US8854965B1 (en) * | 2005-07-20 | 2014-10-07 | Avaya Inc. | Flow label systems and methods |
EP2800328A2 (en) * | 2012-01-20 | 2014-11-05 | Huawei Technologies Co., Ltd. | Method, device and system for controlling quality of service |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101242403B (en) * | 2007-02-07 | 2012-06-27 | 华为技术有限公司 | Stream label allocation method and system and stream label request device and allocation device |
-
2014
- 2014-12-03 CN CN201410725321.8A patent/CN104486244B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1214832A (en) * | 1996-03-25 | 1999-04-21 | 诺基亚电信公司 | Prioritization of data to be transmitted in router |
CN1468010A (en) * | 2002-07-12 | 2004-01-14 | 华为技术有限公司 | Short message scheduling management method in wireless mobile network |
US8854965B1 (en) * | 2005-07-20 | 2014-10-07 | Avaya Inc. | Flow label systems and methods |
CN101645849A (en) * | 2009-09-09 | 2010-02-10 | 中兴通讯股份有限公司 | QoS realization method in transitional environment and PE router |
EP2800328A2 (en) * | 2012-01-20 | 2014-11-05 | Huawei Technologies Co., Ltd. | Method, device and system for controlling quality of service |
CN103856414A (en) * | 2012-11-29 | 2014-06-11 | 中国电信股份有限公司 | IPv6 data packet service quality processing method and device |
CN103825820A (en) * | 2014-01-22 | 2014-05-28 | 汉柏科技有限公司 | IPv6 flow label-based QoE (Quality of Experience) management method |
Also Published As
Publication number | Publication date |
---|---|
CN104486244A (en) | 2015-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104486244B (en) | A kind of execution method and device of QoS policy | |
Quoitin et al. | Evaluating the benefits of the locator/identifier separation | |
CN104468384B (en) | A kind of system and method for realizing multi-priority services | |
US7185073B1 (en) | Method and apparatus for defining and implementing high-level quality of service policies in computer networks | |
CN103841024B (en) | A kind of home gateway realizes the method and home gateway of data distribution | |
CN101494538B (en) | Data transmission control method and communication system and encipher control network element | |
CN104618243B (en) | Method for routing, apparatus and system, Scheduling of Gateway method and device | |
CN104685839B (en) | For handling the method and apparatus of grouping | |
CN102301663A (en) | Message processing method and associated devices | |
WO2015014187A1 (en) | Data forwarding method and apparatus that support multiple tenants | |
CN107046506A (en) | A kind of message processing method, flow classifier and business function example | |
CN107580079A (en) | A kind of message transmitting method and device | |
EP3756317A1 (en) | Method and system for interfacing communication networks | |
CN104734994A (en) | Traffic label control method based on SDN (software-defined network) frame | |
CN104253878A (en) | VLAN (Virtual Local Area Network) information management system and method of DHCP (Dynamic Host Configuration Protocol) RELAY termination sub-interface | |
US20170099161A1 (en) | Access Apparatus and Access Apparatus-Performed Method for Connecting User Device to Network | |
CN106031104A (en) | Data packet forwarding method, apparatus and device | |
CN101808107A (en) | Storage device and user communication method, device and system | |
CN101808037A (en) | Method and device for traffic management in switch network | |
CN103442096B (en) | NAT method based on mobile Internet and system | |
CN107070797A (en) | A kind of method and system of message forwarding | |
US11240140B2 (en) | Method and system for interfacing communication networks | |
CN103748842A (en) | Method, device and route device for forwarding data packages | |
CN104363176A (en) | Message control method and equipment | |
CN107231316A (en) | The transmission method and device of message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |