The collocation method of EDCA parameter and equipment in the wlan network
Technical field
The present invention relates to communication technical field, relate in particular to a kind of WLAN (Wireless Local AreaNetwork, WLAN (wireless local area network)) collocation method and the equipment of EDCA (Enhanced Distributed Channel Access, the distributed channel access of enhancing) parameter in the network.
Background technology
WMM (Wi-Fi Multimedia, Wi-Fi multimedia) and 802.11E agreement are at the expansion of 802.11 agreements at QoS (Quality of Service, service quality) aspect, introduce the QoS characteristic at the WLAN Access Layer first.This can satisfy the requirement of low time delay of upper layer application such as voice and video and low jitter under the band-limited situation of WLAN environment.
In 802.11 agreements, have only a transmit queue, all Frame send opportunity equate; In WMM and 802.11e agreement, there are 4 AC (Access Categories, access level) formation, comprise AC_BK (Background traffic), AC_BE (Best Efrort traffic), AC_VI (Videotraffic) and AC_VO (Voice Traffic), configurable different EDCA parameter, as shown in Figure 1, make the AC formation of high priority that more send opportunity and stand-by period still less be arranged.Select formation according to the priority of carrying in the Frame, thereby guaranteed the QoS under the WLAN environment.The WMM agreement has defined a cover channel competition EDCA parameter to each AC, and the EDCA parameter of each AC is as shown in table 1 below:
The default EDCA parameter of each AC of table 1:WMM definition
AC |
CW
min |
CW
max |
AIFSN |
TXOP Limit (802.11b) |
TXOP Limit (802.11a/g) |
AC_BK |
aCW
min |
aCW
max |
7 |
0 |
0 |
AC_BE |
aCW
min |
aCW
max |
3 |
0 |
0 |
AC_VI |
(aCW
min+1)/2-1
|
aCW
min |
2 |
6.016ms |
3.008ms |
AC_VO |
(aCW
min+1)/4-1
|
(aCW
min+1)/2-1
|
2 |
3.264ms |
1.504ms |
[0006]The implication of each EDCA parameter is as follows:
AIFSN (Arbitration Inter Frame Spacing Number, arbitration interframe spacing number), numerical value is big more, and user's the idle waiting time is long more;
CWmin (Exponent form of CWmin, the minimum competition window exponential form) and CWmax (Exponent form of CWmax maximum contention window exponential form), determined average back off time value, these two numerical value are big more, user's average back off time is long more, is the BackoffSolts time period among the figure;
TXOPLimit (Transmission Opportunity Limit, transmission opportunity restriction), after the user once competes success, but the maximum duration of busy channel.This numerical value is big more, and the duration that the user once can busy channel is big more, if 0, then can only send a message behind the busy channel at every turn.
In current application, the formation that default configuration quadruplet EDCA parameter is corresponding different respectively, the sphere of action of every cover parameter is whole BSS (Basic Service Set, Basic Service Set), that is to say that in BSS the QoS characteristic of each STA (Station, WLAN terminal) is consistent, if the data of two STA transmission same queue, the EDCA parameter of use is identical.
In actual applications, not only to determine the QoS characteristic, also will determine different QoS, promptly based on user's QoS according to different users based on class of service (voice flow, video flowing, data flow etc.).For example: in the wireless monitor network, should give the highest priority, guarantee that monitor data stream can real-time Transmission, avoid being disturbed by other STA for the STA that undertakes monitor task.And among the existing WLAN QoS, can only choose different QoS based on class of service, and can not determine QoS according to user type, can't realize QoS based on the user.
Summary of the invention
The invention provides the collocation method and the equipment of EDCA parameter in a kind of wlan network, be used to realize EDCA parameter configuration, for different terminals provides different QoS services based on terminal.
For achieving the above object, the invention provides the collocation method of EDCA parameter in a kind of wlan network, may further comprise the steps:
The association request frame of receiving terminal STA is obtained the pre-configured EDCA parameter corresponding with described STA according to the sign of described STA;
Be added in the association response frame that described STA sends the described EDCA parameter that gets access to and transmission, send Frame according to described EDCA parameter for described STA.
Wherein, comprise an access point apparatus that receives the request message of STA in the described WLAN (wireless local area network), wherein the corresponding relation of STA and EDCA parameter is disposed on the described access point apparatus.
Wherein, the sign of described STA is specially: the media access control MAC address of STA.
Wherein, described sign according to described STA is obtained the pre-configured EDCA parameter corresponding with described STA and is specially:
If during the EDCA parameter that existence and described STA are corresponding in the corresponding relation of described STA and EDCA parameter, obtain the EDCA parameter corresponding with described STA; Or
If when not existing in the corresponding relation of described STA and EDCA parameter, obtain the EDCA parameter of default EDCA parameter as described STA correspondence with the corresponding EDCA parameter of described STA.
Wherein, described STA carries the indication of supporting the EDCA parameter about STA in described association request frame;
Carry the described EDCA parameter that sends to STA by described association response frame.
The present invention also provides a kind of access point AP equipment, is used for the configuration of wlan network EDCA parameter, comprising:
STA identifies acquiring unit, when being used to receive the association request frame of STA, obtains the sign of described STA;
The EDCA parameter acquiring unit is used for the sign of the STA that obtains according to described STA sign acquiring unit, obtains the pre-configured EDCA parameter corresponding with described STA;
EDCA parameter adding device is used for the EDCA parameter that described EDCA parameter acquiring unit is obtained is added on the association response frame that sends to described STA;
Message sending unit is used for the association response frame of the described EDCA of carrying parameter is sent to described STA.
Wherein, also comprise:
The EDCA parameter configuration unit is used to dispose the EDCA parameter corresponding with different STA, and offers described EDCA parameter acquiring unit.
Wherein, described EDCA parameter acquiring unit specifically comprises:
The one EDCA parameter acquiring subelement when being used for corresponding relation in STA and EDCA parameter and existing with the corresponding EDCA parameter of described STA, obtains the EDCA parameter corresponding with described STA;
The 2nd EDCA parameter acquiring subelement is used for obtaining the EDCA parameter of default EDCA parameter as described STA correspondence when STA and the corresponding relation of EDCA parameter do not exist with the corresponding EDCA parameter of described STA.
Wherein, the association request frame of the terminal STA of described STA sign acquiring unit reception is carried the indication of supporting the EDCA parameter about STA;
The association response frame that described message sending unit sends to STA is carried the described EDCA parameter that sends to STA.
Compared with prior art, the present invention has the following advantages:
By setting up the corresponding relation of terminal and EDCA parameter, the specific user is specified specific EDCA parameter, so that the QoS based on the user to be provided, realized among the WLAN based on the user with based on the QoS service of business.
Description of drawings
Fig. 1 is the WMM new schematic diagram to contention parameter different for each AC gives in the prior art;
Fig. 2 is the flow chart of the collocation method of EDCA parameter in the wlan network among the present invention;
Fig. 3 is the signaling process figure that realizes the collocation method of EDCA parameter in the wlan network among the present invention;
Fig. 4 is the structure chart of a kind of AP equipment among the present invention.
Embodiment
Below in conjunction with drawings and Examples, embodiments of the present invention are specifically described.
The collocation method of EDCA parameter may further comprise the steps as shown in Figure 2 in a kind of wlan network of the present invention:
Step s201, on AP the different EDCA parameter of configuration.
Concrete, can be on AP in advance according to the different EDCA parameter of difference configuration of STA, can adopt 4 cover EDCA parameters of the acquiescence of 802.11E and WMM agreement regulation, also can determine other many cover EDCA parameters, be all the professional designated parameters of using on the STA of appointment, or be the different parameter of the use of the different business on the STA of appointment.In the pairing EDCA parameter of different STA, the value of AIFSN, CWmin, CWmax, TXOPLimit can be provided with according to different needs.
When step s202, AP receive the request of STA, obtain the sign of this STA.
Concrete, in the negotiations process of STA and AP, STA can distinguish different user terminals according to sign as MAC (MediumAccess Control, medium access control) address.
Step s203, AP be according to the sign of this STA, obtains pre-configured and the corresponding EDCA parameter of this STA.
Concrete, according to the different EDCA parameter that disposes among the step s201, obtain the EDCA parameter corresponding with this STA.No special EDCA parameter and this STA be at once, the default EDCA parameter of using system acquiescence.
Step s204, AP send the EDCA parameter that gets access to STA.
Step s205, STA send Frame according to this EDCA parameter.
Concrete, the correlated process of stipulating in the existing WMM agreement with STA and AP negotiation comprises:
(1) AP sends the WMM ability of Beacon frame (carrying WMM Parameter IE or WMM Information IE) announcement AP.Concrete, the Beacon frame is the frame of AP according to certain time interval all STA broadcasting in BSS, the ability information of having carried AP in this beacon frame.AP is according to the frame of certain time interval all STA broadcasting in BSS, the ability information of having carried AP in this beacon frame.
(2) STA initiatively sends Probe Request (probe requests thereby) frame to all channels, the AP that receives the ProbeRequest frame carries WMM Parameter IE or WMM Information IE, the WMM ability of informing this AP of STA in Probe Response (probe response) frame.
(3) STA initiatively carries out related to AP transmission Association Request (related request) frame request with AP.AP sends this association processing of request result to STA in Association Response (associated response) frame.
The collocation method of EDCA parameter can be by above-mentioned Association Request frame and the realization of Association Response frame in a kind of wlan network among the present invention.Specifically as shown in Figure 3, may further comprise the steps:
Step s301, STA carry WMM Information IE and inform that AP:STA supports the WMM agreement in Association Request frame.
Step s302, AP are after receiving the AssociationRequest frame that carries WMM Information IE that STA sends, and for this reason whether searching according to the sign (as MAC Address) of STA, STA is provided with the EDCA parameter.
Step s303, if be provided with, then the WMMParameter IE that carries by Association Response frame of AP informs its EDCA parameter that should use of STA.
After step s304, STA receive Association Response frame, send Frame according to the EDCA parameter among the WMM Parameter IE.
If among the step s302, the lookup result of AP then as shown in Figure 3, carries out following steps for not being provided with:
Step s305, AP send default EDCA parameter by the WMM Parameter IE that Association Response frame carries to STA.
After step s306, STA receive Association Response frame, send Frame according to the default EDCA parameter among the WMM Parameter IE.
The said method that the application of the invention provides is set up the corresponding relation of terminal and EDCA parameter, and the specific user is specified specific EDCA parameter, so that the QoS based on the user to be provided, has realized among the WLAN based on the user with based on the QoS service of business.
The present invention also provides a kind of AP, is used for the EDCA parameter of each STA of wlan network is configured, and as shown in Figure 4, comprising:
STA identifies acquiring unit 10, when being used to receive the request message of STA, obtains the sign of this STA.
EDCA parameter acquiring unit 20 is used for the sign of the STA that obtains according to described STA sign acquiring unit 10, obtains the EDCA parameter corresponding with this STA.This sign can be the MAC Address of STA.This unit further comprises: an EDCA parameter acquiring subelement 21, when being used for corresponding relation in STA and EDCA parameter and existing with the corresponding EDCA parameter of this STA, obtain the EDCA parameter corresponding with described STA; The 2nd EDCA parameter acquiring subelement 22 is used for obtaining the EDCA parameter of default EDCA parameter as this STA correspondence when STA and the corresponding relation of EDCA parameter do not exist with the corresponding EDCA parameter of this STA.
EDCA parameter adding device 30, the EDCA parameter that is used for that EDCA parameter acquiring unit 20 is obtained are added on the response message that sends to described STA.
Message sending unit 40, the response message that is used for carrying the EDCA parameter sends to STA, and this response message can be Association Response message.
EDCA parameter configuration unit 50 is used to dispose the EDCA parameter corresponding with different STA, and default EDCA parameter, and offers EDCA parameter acquiring unit 20.
Wherein, the request of the terminal STA that STA sign acquiring unit 10 receives is: related request Association Request frame, and STA carries the indication of supporting the EDCA parameter about STA at described Association Request frame;
Message sending unit 40 to the response message that STA sends is: associated response AssociationResponse frame, carry the EDCA parameter that sends to STA by Association Response frame.
The said equipment that the application of the invention provides is set up the corresponding relation of terminal and EDCA parameter, and the specific user is specified specific EDCA parameter, so that the QoS based on the user to be provided, has realized among the WLAN based on the user with based on the QoS service of business.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprises that some instructions are used so that an equipment is carried out the described method of each embodiment of the present invention.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.