Embodiment
The purpose of the embodiment of the invention is to provide method and access point and the server and the communication system of channel access parameter configuration.Its main thought is the user class that obtains website, and the channel of searching described user class correspondence inserts collocation strategy, and described channel access collocation strategy is handed down to described website; Described website inserts collocation strategy configuration local channel access parameter according to described channel.When described website sends data, then can take the channel access parameter competitive channel of described configuration, avoided in the prior art, when the relatively more nervous appearance of interface-free resources is congested, the higher-level user can't preferentially obtain the problem of channel resource, realized carrying out the passage competition, for the different stage user provides different QoS according to the user class of website.Below the method for channel access parameter provided by the invention configuration and access point and server and communication system are described in detail.
Embodiment one, a kind of method of channel access parameter configuration, and flow chart comprises as shown in Figure 3:
301, certificate server obtains the user class of website;
In the present embodiment, described network equipment is a certificate server, and the user class that described network equipment obtains website can be taked to carry out alternately in the process of access authentication when website and certificate server, and certificate server obtains the User Identity of this website; Search the corresponding relation of described User Identity and user class, obtain the user class of website.Described user's the identify label and the corresponding relation of user class can be to be stored in certificate server in advance, also can be certificate server when needed, obtain from other networks or node: for example, certificate server provides network (SSPN:SubscriptionService Provider Network) to obtain the corresponding user class of described User Identity alternately with intended service, as: domestic consumer, Gold Subscriber, Silver Subscriber or honored guest (VIP:Very important person) etc.
The User Identity of described website can be Internet protocol (IP:Internet Protocol) address or the physical address of website.Be understandable that described identify label can also be other signs that can determine the site users identity.
Described certificate server can be that aaa server or other are used for the server of authentication and authorization.Be understandable that described network equipment can also be other nodes in the Ingress node networks such as (Portal), only needs this node to obtain the website identify label alternately with website and gets final product.
302, certificate server is handed down to the access point related with described website with the user class of described website.
303, the channel that described access point is searched described user class correspondence inserts collocation strategy;
Described channel inserts collocation strategy: configuration inserts the corresponding channel access parameter value of classification or configuration service classification and the corresponding relation that inserts classification.
Website is carrying out can obtaining when related the channel access parameter of one group of acquiescence with access point, describedly can realize the configuration of channel access parameter by changing class of service and the corresponding relation that inserts classification.
For example: need the channel access parameter of the video traffic of this website of adjustment, improve the service quality of video traffic, then can directly issue the channel access parameter value of video traffic correspondence; Also can issue the corresponding relation of video traffic and AC, the AC that video traffic is corresponding with original audio service higher than video traffic service quality carries out the configuration of corresponding realization channel access parameter.
The implementation of concrete configuration can also adopt other usual manners, and operating personnel can select as the case may be voluntarily, and the present invention does not limit.
In the present embodiment, the corresponding relation that described user class and channel insert collocation strategy can be stored on the access point in advance, also can be stored on other network entities, and access points calls inquiry.
304, described access point inserts collocation strategy with described channel and is handed down to described website;
305, described website inserts collocation strategy configuration local channel access parameter according to described channel.
Among the present invention, described channel access parameter be local according to type of service with insert classification and with the channel access parameter of the corresponding relation configuration that inserts the classification corresponding parameters, when the user sends data, according to different types of service, take the access chance of the channel access parameter competitive channel of type of service correspondence, realize the transmission of data.Seeing also table 1, is that of channel access parameter gives an example.
Table 1
Type of service |
Insert classification |
AIFSN |
CWmin |
CWmax |
TXOPLimit |
The business of doing one's best |
AC_BE |
7 |
aCWmin |
aCWmax |
15.526ms |
The backstage business |
AC_BK |
3 |
aCWmin |
aCWmax |
10.427ms |
Video traffic |
AC_VI |
2 |
(aCWmin+1)/2-1 |
aCWmin |
6.016ms |
Audio service |
AC_VO |
2 |
(aCWmin+1)/4-1 |
(aCWmin+1)/2-1 |
30264ms |
Wherein, CWmin and CWmax are the minimum and the maximum contention window of acquiescence, and a is a constant coefficient,
Because:
AIFS[AC]=AIFSN[AC]×aSlotTime+aSIFSTime
SIFSTime is the time interval between Frame and the acknowledgement frame, and aSlotTime is the slot length relevant with physical layer.Described can be according to AIFSN[AC] calculate AIFS[AC].
Be understandable that, the channel of this inquiring user rank correspondence inserts collocation strategy and also can be inquired about by certificate server, therefore, present embodiment step 302 can replace with to 303, the channel that certificate server is inquired about described user class correspondence inserts collocation strategy, again the channel that inquires is inserted collocation strategy and is handed down to the access point related with described website.Certificate server can locally be stored the corresponding relation of user class and channel access collocation strategy, also can obtain the corresponding relation of user class and channel access collocation strategy with other network entities alternately.
The embodiment of the invention one difference with the prior art is handed down to website with the channel access collocation strategy of the user class correspondence of website, website is according to the channel access parameter of described channel configuration policy configurations this locality, when described website sends data, then can take the channel access parameter competitive channel of described configuration, avoided in the prior art, when the relatively more nervous appearance of interface-free resources is congested, the higher-level user can't preferentially obtain the problem of channel resource, realized carrying out the passage competition, for the different stage user provides different QoS according to the user class of website.
Embodiment two, a kind of method of channel access parameter configuration, and flow chart comprises as shown in Figure 4:
401, certificate server obtains the user class of website.
402, certificate server is handed down to the access point related with described website with the user class of described website.
403, described access point is searched the channel that obtains described user class correspondence and is inserted collocation strategy.
404, access point is determined the data forwarding strategy of described website correspondence according to described user class.
Be understandable that described access point is taked different data forwarding strategies for other website of different user level.The channel access parameter that different data forwarding strategy is corresponding different, for example: can make higher-level user's end data of forwarding obtain the chance of higher access channel.Realize the higher QoS of higher-level user.Described higher-level user's data can be from higher-level user's data or the data transmitted to the higher-level user.
Concrete access point determines that the process of the data forwarding strategy of described website correspondence can be: access point is searched the data forwarding channel access parameter of the user class correspondence that presets this locality, and preserves the corresponding relation of described website and the described data forwarding channel access parameter that finds.When receiving from the time in the upstream data of described website, then adopt described website correspondence data forwarding channel access parameter competitive channel transmit data.When receiving the downlink data of going to described website, then adopt described website correspondence the channel access parameter competitive channel transmit data.
The configuration of the data forwarding channel access parameter of access point can be taked following dual mode:
Mode one, for the user of different stage generates new AC formation, the AC parameter of new formation is configured according to user class.For example, original AP has four formation: AC_VO, AC_VI, AC_BK, AC_BE formation.The website related with access point is divided into domestic consumer and VIP user now.And its all business of VIP customer requirements all will be higher than domestic consumer, and then AP need regenerate 4 formations and came E-Packeting of buffer memory VIP user this moment.Promptly always have 8 AC formations.
Mode two increases a VIP formation AC_VIP on the access point, the stand-by period of its AC parameter is all littler than the stand-by period of other AC.Access point can E-Packet business according to user class and be mapped in the corresponding queues like this.For example, VIP user's AC_BE categorical data is mapped among the AC_BK, AC_BK is mapped among the AC_VI, and AC_VI is mapped among the AC_VO, and AC_VO is mapped among the AC_VIP; VIP user and domestic consumer are distinguished in realization.
405, described access point inserts collocation strategy with the channel that finds and is handed down to described website.
Be understandable that step 403 there is no absolute order with step 404, step 404 does not have absolute order with step 405 yet, and in the present embodiment, step 404 is to be triggered by step 402, also can show execution in step 405 execution in step 404 again.Or first execution in step 404, execution in step 403 again.
406, described website inserts collocation strategy configuration local channel access parameter according to described channel.
Embodiment two is that with the difference of embodiment one access point is determined the data forwarding strategy of described website correspondence according to described user class.Like this, when sending data, website is at war with according to user class; When access point is transmitted different user data, also transmit according to the forwarding strategy of user's rank correspondence, further perfect realize the QoS doscrimination according to user class, guaranteed that the higher-level user has higher QoS.
Embodiment two finishes the description that example is carried out the present invention that look for that the user class respective channels inserts collocation strategy with access point, be understandable that, if adopt by certificate server and finish the channel access collocation strategy of searching the user class correspondence, then step 402 replaces with to 403: the channel that certificate server is inquired about described user class correspondence inserts collocation strategy, the user class that again channel that inquires is inserted collocation strategy and described website is handed down to and described access point, and described access point determines that according to described user's rank the data forwarding strategy of described website correspondence gets final product.
Embodiment three, a kind of method of channel access parameter configuration, and flow chart comprises as shown in Figure 5:
501, certificate server obtains the user class of website.
502, certificate server is searched the channel that obtains described user class correspondence and is inserted collocation strategy.
503, certificate server is handed down to the access point related with described website with the user class of described website with the described channel access collocation strategy that finds.
504, described access point is determined the data forwarding strategy of described website correspondence according to described user class.
505, described access point inserts collocation strategy with described channel and is handed down to described website.
Be appreciated that step 504 and step 505 there is no absolute order, also can first execution in step 504 execution in step 505 again.
506, described website inserts collocation strategy configuration local channel access parameter according to described channel.
507, if certificate server knows that the channel of described user class correspondence inserts collocation strategy and changes, then the channel after the described variation is inserted collocation strategy and be handed down to described access point.
In the present embodiment, certificate server knows that the channel of described user class correspondence inserts collocation strategy and changes and can take server that the corresponding relation and the parameters thereof of user class and channel configuration strategy are followed the tracks of, when operating personnel changed, the channel after then record is changed and will be changed inserted collocation strategy and issues.Be understandable that, also can be that other network entities in the network insert monitoring that collocation strategy changes to the channel of user class correspondence, channel configuration strategy after then will changing if change issues to access point, also the channel after changing can be inserted collocation strategy and be notified to certificate server, issue to access point by certificate server.Concrete by which network node enforcement monitoring is not construed as limiting the invention.
508, the channel of described access point after with described variation inserts collocation strategy and is handed down to described website;
509, the channel of described website after according to described variation inserts collocation strategy configuration local channel access parameter.
Be understandable that finish the channel access collocation strategy of searching the user class correspondence if adopt by access point, then step 502 to step 503 can replace with:
Certificate server is handed down to the access point related with described website with the user class of described website.Described access point is searched the channel that obtains described user class correspondence and is inserted collocation strategy.
Accordingly, step 507 to step 508 can replace with:
If described access point knows that the channel of described user class correspondence inserts collocation strategy and changes, then the channel after the described variation is inserted collocation strategy and be handed down to described website.
Be understandable that, the channel of user class correspondence inserted collocation strategy change, also follow the tracks of by access point.
Embodiment three with the difference of embodiment two is, when inserting collocation strategy, the channel of user class correspondence changes, then the channel after the variation of this user class correspondence is inserted collocation strategy and be handed down to described website, the website channel that can upgrade in time inserts collocation strategy and carries out the modification of local channel access parameter, and realization that can be real-time is to the modification of the channel access parameter of website.
Embodiment four, a kind of method of channel access parameter configuration, and flow chart comprises as shown in Figure 6:
601, certificate server obtains the user class of website.
602, certificate server is handed down to the access point related with described website with the user class of described website.
603, described access point is searched the channel that obtains described user class correspondence and is inserted collocation strategy.
604, access point is determined the data forwarding strategy of described website correspondence according to described user class.
605, described access point inserts collocation strategy with the channel that finds and is handed down to described website.
Be understandable that step 603 there is no absolute order with step 604, step 604 does not have absolute order with step 605 yet, and in the present embodiment, step 604 is to be triggered by step 602, also can show execution in step 605 execution in step 604 again.Or first execution in step 604, execution in step 603 again.
606, described website inserts collocation strategy configuration local channel access parameter according to described channel.
607, if certificate server knows that the user class of described website changes, and then is handed down to described access point with the user class after the described variation.
In the present embodiment, described certificate server knows that the user class of described website changes can take following mode.
Certificate server regularly and the SSPN network obtain the user class of described website alternately;
Whether the more described user class that finds is consistent with the user class of the described website of local storage, if inconsistent, determines that then the user class of described website changes.
608, described access point is then determined the data forwarding strategy of described website correspondence according to the user class after the described variation;
609, the channel that described access point is searched the user class correspondence after the described variation inserts collocation strategy;
610, access point inserts collocation strategy with this channel and is handed down to described website;
611, the channel of the user class correspondence of described website after according to described variation inserts collocation strategy configuration local channel access parameter.
Be understandable that step 608 and step 609 there is no absolute order, also can carry out 609 earlier and carry out 608 again, what emphasize is that the execution of step 608 is triggering with step 607 herein.
Embodiment four with the difference of embodiment two is, the user class of learning website when network equipment changes, the channel of the user class correspondence after then will changing inserts collocation strategy and is handed down to described website, the website channel that can upgrade in time inserts collocation strategy and carries out the modification of local channel access parameter, and access point is also determined the data forwarding strategy of described website correspondence according to user class, realization network equipment that can be real-time is revised the channel access parameter of access point and website according to user class.
Embodiment of the invention four directions method adopts 802.11u protocol signaling flow process as shown in Figure 7, and flow process comprises:
701, website sends related request (Association Request) message to the access point related with it,
Request is set up related with described access point.
702, access point returns associated response (Association Response) message to described website, notify that described website is related to be set up successfully, and return some basic parameters and be used for website and carry out this locality and dispose, wherein can comprise: the channel access parameter of acquiescence.Concrete reciprocal process and configuration parameter are consulted the 802.11u agreement.
Be understandable that step 701 also can send reassociation requests message (re-) AssociationRequest request and connect, step 702 is returned reassociation response message (re-) AssociationResponse and is fed back association results.
703, website carries out access authentication alternately by access point related with it and aaa server;
Behind the authentication success, aaa server is searched this site users rank by the User Identity of described website;
704, aaa server sends visit to described access point and accepts the user class that message (Access-Accepet) is returned this website;
705, access point is searched the channel that obtains described user class correspondence and is inserted collocation strategy, and determines the data forwarding strategy of described website correspondence according to described user class.
706, access point returns access authentication success message (EAP-Success) to described website;
707, described website sends quality of service configuration request (QoS Map Request) message to access point.
What described QoS Map Request message adopted is the Action Frame frame format of 802.11u consensus standard.
708, access point inserts collocation strategy with the described channel that finds and is handed down to described website by quality of service configuration (QoSMap Configure) message.
In should use-case, access point carries channel by user class strategy (UserClass Policy) cell in the QoS Map Configure message and inserts collocation strategy.Its cell structure schematic diagram comprises as shown in Figure 8: component identification (Element ID), length (Length) and strategy bag (Policy container); Wherein Policy container can encapsulate the channel that carries certain rank user and insert collocation strategy, and described channel inserts collocation strategy and comprises: configuration mode and configuration parameter.Concrete Policy container domain structure figure schematic diagram as shown in Figure 9, comprise: configuration mode (Method) territory and configuration parameter territory, the configuration parameter territory comprises: AC_BE undated parameter (update record), AC_BK update record, AC_VIupdate record and AC_VO update record.
AC_BE update record, AC_BK update record, AC_VI update record and AC_VO update record have write down various corresponding A C parameters, the parameter of AC comprise comprise AIFS[AC at present], three parameters of CWmin/max and TXOP can improve user's competitiveness by regulating these three kinds of parameters.AC kind/user class (ACI/UC) is used for adjusting AIFS[AC] parameter, UCWmin/max is used for adjusting CWmin/max, and TXOP Limit is used for adjusting the TXOP parameter, and concrete form is as shown in figure 10.
See also Figure 11, be ACI/UC domain structure schematic diagram, ACI represents which kind of AC this territory belongs to, and the mapping relations of ACI and AC are as shown in table 2, and UC is used for adjusting AIFS[AC].
Consult Figure 12 in the lump, be the cell format figure of UCWmin/max.
Table 2
ACI |
AC |
Describe |
00 |
AC_BE |
The business of doing one's best |
01 |
AC_BK |
The backstage business |
10 |
AC_VI |
Video traffic |
11 |
AC_VO |
Audio service |
Method has indicated which kind of method of use to adjust the AC parameter, and is as shown in table 3, is expressed as acquiescence mode (Default Method) if bit 0 is set to one, and the rest may be inferred for other.
Table 3
The position |
Describe |
0 |
The acquiescence mode |
The position |
Describe |
1~7 |
Keep the position |
Default Method can be a kind of giving an example of mode of adjusting described in the present invention, and it is as follows specifically to adjust mode:
AC parameter adjustment reference method is as follows:
Configuration AIFS[AC], introduce increment at acquiescence AIFS[AC] basis goes up and adjusts AIFS[AC], reference improvement formula is as follows:
AIFS[AC]uc=AIFS[AC]-Δδ,
Δδ=F(UC)=UC×aSlotTime
Wherein:
AIFS[AC] uc for the configuration after the AIFS duration;
AIFS[AC] be the original acquiescence of website AIFS duration, being website carries out the default value that obtains when related with access point.
Δ δ is the function of user class (UC).
SlotTime is the slot length relevant with physical layer.
Configuration CWmin/CWmax introduces increment and adjust CWmin/max on acquiescence CWmin/max basis, and formula is as follows with reference to improving:
CWucmin=CWmin-Δσ
CWucmax=CWmax-Δσ
Δσ=G(UCWmin/max)
Wherein:
CWucmin and CWucmax are minimum and the maximum contention window value after the configuration.
Δ σ is the competition window and the value of looking into of giving tacit consent to competition window after the configuration, and its occurrence is the function of CWucmin/cmax.
Configuration TXOP Limit, directly modification value.
STA receives after the User Class Policy, which kind of method at first parses the Method decision uses adjust the AC parameter, for example be Default Method, then use the reference formula of going up joint to regulate, calculate Δ δ according to UC, calculate Δ σ according to UCWmin/max, perhaps upgrade TXOP Limit value.And then realization is to the adjustment of AC.
Adjust the AC parameter and can adjust all professional AC parameters of this user, as the UC of all AC, UCWmin/max, perhaps TXOP Limit can also only adjust some professional AC parameter of user.For example, some VIP user than higher, then can only adjust his AC_BF queue parameter to the delay requirement of the business of doing one's best, i.e. the UC of AC_BF, UCWmin/max, perhaps TXOP Limit; Business for this real-time of audio/video is had relatively high expectations under high load condition, should preferentially guarantee VIP user's audio/video service quality, so we also can upgrade VIP user's AC_VO or AC_VI queue parameter.The technical staff can adopt suitable manner to modulate according to user class and demand, and the parameter of concrete adjustment and adjustment mode are not construed as limiting the invention.
709, described website inserts collocation strategy configuration local channel access parameter according to described channel.
710, if certificate server knows that the user class of described website changes, then the user class after the described variation is handed down to described access point by user class updating message (AVP-Update) message.
711, described access point is searched the data forwarding strategy that the channel that obtains the user class correspondence after the described variation inserts collocation strategy and determines described website correspondence according to the user class after the described variation.
712, the channel that access point finds step 711 inserts collocation strategy and is handed down to described website by quality of service configuration (QoS Map Configure) message.
713, the channel of the user class correspondence of described website after according to described variation inserts collocation strategy configuration local channel access parameter.
Embodiment five, and a kind of access point, apparatus structure schematic diagram comprise as shown in figure 13, access point 1300, user class acquiring unit 1310, query unit 1320 and transmitting element 1330;
User class acquiring unit 1310 is used to obtain the user class of the website related with access point;
Query unit 1320, the channel that is used to search the user class correspondence of the described website that described user class acquiring unit 1310 obtains inserts collocation strategy, and the channel access collocation strategy that the notice transmitting element will describedly inquire is handed down to described website.
Transmitting element 1330 is used for that channel is inserted collocation strategy and is handed down to described website.
Embodiment six, and a kind of access point, apparatus structure schematic diagram comprise as shown in figure 14, access point 1400, user class acquiring unit 1410, query unit 1420 and transmitting element 1430 and inspection unit 1440;
User class acquiring unit 1410 is used to obtain the user class of the website related with access point;
Query unit 1420, the channel that is used to search the user class correspondence of the described website that described user class acquiring unit 1410 obtains inserts collocation strategy, and the channel access collocation strategy that the notice transmitting element will describedly inquire is handed down to described website.
Transmitting element 1430 is used for that channel is inserted collocation strategy and is handed down to described website.
Described inspection unit 1440, be used to check that channel that described acquiring unit obtains 1410 user class correspondence inserts collocation strategy and whether changes, be handed down to described website if the channel of the user class correspondence of the notice transmitting element 1430 that changes after with described variation inserts collocation strategy.
Embodiment seven, and a kind of access point, apparatus structure schematic diagram comprise as shown in figure 15, access point 1500, user class acquiring unit 1510, query unit 1520 and transmitting element 1530, inspection unit 1540 and data forwarding parameter configuration unit 1550.
User class acquiring unit 1510 is used to obtain the user class of the website related with access point;
Query unit 1520, the channel that is used to search the user class correspondence of the described website that described user class acquiring unit 1510 obtains inserts collocation strategy, and the channel access collocation strategy that the notice transmitting element will describedly inquire is handed down to described website.
Transmitting element 1530 is used for that channel is inserted collocation strategy and is handed down to described website.
Described inspection unit 1540, be used to check that channel that described acquiring unit obtains 1510 user class correspondence inserts collocation strategy and whether changes, be handed down to described website if the channel of the user class correspondence of the notice transmitting element 1530 that changes after with described variation inserts collocation strategy.
Policy configurations unit 1550 is used for determining according to the user class that described user class acquiring unit 1510 obtains the data forwarding strategy of described website correspondence.
Embodiment eight, a kind of server, and the apparatus structure schematic diagram comprises as shown in figure 16: server 1600, user class acquiring unit 1610, query unit 1620 and transmitting element 1630.
User class acquiring unit 1610 is used to obtain the user class of website;
Query unit 1620, the channel that is used to search the user class correspondence of the described website that described user class acquiring unit 1610 obtains inserts collocation strategy;
Transmitting element 1630, the channel that is used for that described query unit is inquired inserts collocation strategy and is handed down to the access point related with described website.
Embodiment nine, a kind of communication system, and the system configuration schematic diagram comprises as shown in figure 17: website 1710, access point 1720 and the server 1730 related with described website;
Described server 1730 is used to obtain the user class of described website 1710 and the user class of described website 1710 is handed down to described access point 1720;
Described access point 1720 is used to search the channel access collocation strategy of described user class correspondence, and described channel access collocation strategy is handed down to described website 1710;
Described website 1710 is used for inserting collocation strategy configuration local channel access parameter according to described channel.
Embodiment ten, a kind of communication system, and the system configuration schematic diagram comprises as shown in figure 18: website 1810, access point 1820 and the server 1830 related with described website;
Described server 1830 is used to obtain the user class of described website 1810, and the channel of searching described user class correspondence inserts collocation strategy and described channel is inserted collocation strategy and is handed down to described access point 1820;
Described access point 1820, the channel that is used for that described server 1830 is issued inserts collocation strategy and is handed down to described website 1810;
Described website 1810, the channel that is used for arriving according to described whois lookup insert collocation strategy configuration local channel access parameter.
More than the method for channel access parameter provided by the present invention configuration and access point and server and communication system are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and main thought thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.