Summary of the invention
The embodiment of the invention provides a parameter configuration method, system and device, to realize parametrization QoS under EDCA mechanism.
For achieving the above object, the embodiment of the invention provides a parameter configuration method on the one hand, comprising:
Transport stream is carried out traffic statistics;
When the active service quality Q oS of described transport stream value, sends the distributed channel that strengthens to hybrid coordinator HC and inserts EDCA parameter-configuring request frame during greater than preset value with the difference of being scheduled to qos value, request reconfigures contention parameter;
Receive the EDCA parameter configuration response frame that described HC sends, comprise the EDCA configuration parameter that described HC determines in the described EDCA parameter configuration response frame.
On the other hand, the embodiment of the invention provides a kind of parameter configuring system, comprising:
Support the station QSTA of service quality function, be used for transport stream is carried out traffic statistics, when the difference of the actual QoS value of described transport stream and predetermined qos value during greater than preset value, send distributed channel and insert EDCA parameter-configuring request frame, request reconfigures contention parameter, and receives EDCA parameter configuration response frame;
Hybrid coordinator HC is used to receive the EDCA parameter-configuring request frame that described QSTA sends, and sends EDCA parameter configuration response frame to described QSTA, comprises definite EDCA configuration parameter in the described EDCA parameter configuration response frame.
On the one hand, the embodiment of the invention also provides a kind of hybrid coordinator HC, comprising again:
Receiver module, the distributed channel that is used to receive the station QSTA transmission of supporting service quality function inserts EDCA parameter-configuring request frame;
The response frame sending module is used for sending EDCA parameter configuration response frame to described QSTA, comprises definite EDCA configuration parameter in the described EDCA parameter configuration response frame.
On the one hand, the embodiment of the invention also provides a parameter configuration method, comprising again:
Transport stream is carried out traffic statistics;
When the difference of the actual QoS value of determining described transport stream and predetermined qos value during greater than preset value, send distributed channel to the station QSTA that supports service quality function and insert EDCA parameter-configuring request frame, request reconfigures contention parameter, comprises the EDCA configuration parameter that hybrid coordinator HC determines in the described EDCA parameter-configuring request frame;
Receive the EDCA parameter configuration response frame that described QSTA sends.
On the one hand, the embodiment of the invention also provides a kind of parameter configuring system, comprising again:
Hybrid coordinator HC, be used for transport stream is carried out traffic statistics, when the difference of the actual QoS value of determining described transport stream and predetermined qos value during greater than preset value, send distributed channel and insert EDCA parameter-configuring request frame, request reconfigures contention parameter, and receive EDCA parameter configuration response frame, comprise the EDCA configuration parameter that described HC determines in the described EDCA parameter-configuring request frame;
Support the station QSTA of service quality function, be used to receive the EDCA parameter-configuring request frame that described HC sends, and send EDCA parameter configuration response frame to described HC.
On the one hand, the embodiment of the invention also provides a kind of hybrid coordinator HC, comprising again:
The traffic statistics module is used for transport stream is carried out traffic statistics;
Request sending module, the difference that is used for determining the actual QoS value of described transport stream and predetermined qos value when described traffic statistics module is during greater than preset value, send distributed channel to the station QSTA that supports service quality function and insert EDCA parameter-configuring request frame, request reconfigures contention parameter, comprises the EDCA configuration parameter that described hybrid coordinator HC determines in the described EDCA parameter-configuring request frame;
The response receiver module is used to receive the EDCA parameter configuration response frame that described QSTA sends.
Compared with prior art, the embodiment of the invention has the following advantages: the embodiment of the invention is added up the flow of transport stream, and in the difference of the actual QoS value of transport stream and predetermined qos value during greater than preset value, revise contention parameter, when BSS adopts channel access way based on competition, can realize that under EDCA mechanism different QSTA has different access priorities, and realize parametrization QoS.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides a parameter configuration method, at BSS (Basic Service Set, when Basic Service Set) adopting channel access way based on competition, can realize that under EDCA mechanism different QSTA has different access priorities, and realization parametrization QoS.
As shown in Figure 1, the flow chart for the embodiment of the invention one parameter configuration method comprises:
Step S101 carries out traffic statistics to transport stream.
In the present embodiment, before transport stream was carried out traffic statistics, QSTA sent a request message to HC, and asking this HC is the new transport stream of AC interpolation of certain priority, TSPEC in this request message (Traffic specification, transport stream specification) cell carries the qos value of this QSTA request.And receiving the response message that HC sends, the TSPEC cell in this response message carries the qos value that described HC determines, thereby successfully is the new transport stream of AC interpolation of certain priority.
Wherein, this qos value can comprise at least a in message size, mean data rate and the minimum physical.
Step S102, when the difference of the actual QoS (Quality of Service, service quality) of this transport stream value and predetermined qos value during greater than preset value, to HC (Hybrid Coordinator, hybrid coordinator) send EDCA parameter-configuring request frame, request reconfigures contention parameter.For example: when the mean data rate of the reality of this transport stream and default mean data rate differ when surpassing 10%, QSTA sends EDCA parameter-configuring request frame to HC.
The EDCA configuration parameter that wherein, can comprise the QSTA expectation in the EDCA parameter-configuring request frame.
Step S103 receives the EDCA parameter configuration response frame that HC sends, and comprises the EDCA configuration parameter that HC determines in this EDCA parameter configuration response frame.
The above-mentioned parameter collocation method, QSTA adds up the flow of transport stream, and in the difference of the actual QoS value of transport stream and predetermined qos value during greater than preset value, QSTA revises contention parameter to the HC request, when BSS adopts channel access way based on competition, can realize that under EDCA mechanism different QSTA has different access priorities, and realize parametrization QoS.
As shown in Figure 2, the structure chart for a kind of parameter configuring system of the embodiment of the invention comprises:
QSTA21 is used for transport stream is carried out traffic statistics, when the difference of the actual QoS value of this transport stream and predetermined qos value during greater than preset value, sends EDCA parameter-configuring request frame, and request reconfigures contention parameter, and receives EDCA parameter configuration response frame.
Hybrid coordinator HC22 is used to receive the EDCA parameter-configuring request frame that QSTA21 sends, and sends EDCA parameter configuration response frame to QSTA21, comprises definite EDCA configuration parameter in this EDCA parameter configuration response frame.
The above-mentioned parameter configuration-system, QSTA21 adds up the flow of transport stream, and in the difference of the actual QoS value of transport stream and predetermined qos value during greater than preset value, QSTA21 revises contention parameter to the HC22 request, when BSS adopts channel access way based on competition, can realize that under EDCA mechanism different QSTA has different access priorities, and realize parametrization QoS.
As shown in Figure 3, the structure chart for a kind of hybrid coordinator HC of the embodiment of the invention comprises:
Receiver module 221 is used to receive the EDCA parameter-configuring request frame that QSTA21 sends;
Response frame sending module 222 is used for sending EDCA parameter configuration response frame to QSTA21, comprises definite EDCA configuration parameter in this EDCA parameter configuration response frame.
As shown in Figure 4, HC22 can also comprise:
Response sending module 223 is used for sending response message to QSTA21 after the request message that receives the QSTA21 transmission, and the TSPEC cell in this response message carries the qos value that HC22 determines.
Above-mentioned HC, after receiver module 221 receives the EDCA parameter-configuring request frame of QSTA21 transmission, response frame sending module 222 sends EDCA parameter configuration response frame to QSTA21, and carries the EDCA configuration parameter that HC22 determines in this EDCA parameter configuration response frame.Realized when BSS adopts channel access way based on competition, can realizing that under EDCA mechanism different QSTA has different access priorities, and realization parametrization QoS.
As shown in Figure 5, be the flow chart of method for parameter configuration embodiment one of the present invention, among the embodiment one, QSTA21 carries out traffic statistics to TS (Traffic Stream, transport stream), and initiates parameter-configuring request.Comprise:
Step S501, QSTA21 sends request to HC22, asks to arrange qos parameter into other AC of certain grade adds a new TS in the TSPEC cell.This qos parameter comprises one or several in message size, mean data rate (Mean Data Rate) and the minimum physical parameters such as (Minimum PHY Rate).
Step S502, HC22 receives the request of QSTA21, and sends response frame to QSTA21.Comprise the TSPEC cell in this response frame, comprise the qos parameter of HC22 approval in this TSPEC cell.So far, successfully added a new TS for other AC of certain grade.
Step S503, QSTA21 carries out traffic statistics to TS, when QSTA21 finds that actual QoS departs from the predetermined value certain limit, sends EDCA parameter-configuring request frame to HC22, request reconfigures contention parameter, and this contention parameter comprises AIFS, TXOP Limit, CWmin and CWmax.Can carry the EDCA configuration parameter of expectation in this EDCA parameter-configuring request frame.For example: when the mean data rate of the reality of this transport stream and default mean data rate differ when surpassing 10%, QSTA21 sends EDCA parameter-configuring request frame to HC22.
After step S504, HC22 receive EDCA parameter-configuring request frame, send response frame, carry the EDCA configuration parameter in this response frame to QSTA21.
Step S505, after completing successfully parameter first and reconfiguring, the EDCA parameter of same levels AC is provided with in the QSTA21 refusal Beacon frame.
The above-mentioned parameter collocation method, QSTA21 adds up the flow of transport stream, and in the difference of the actual QoS value of transport stream and predetermined qos value during greater than preset value, QSTA21 revises contention parameter to the HC22 request, when BSS adopts channel access way based on competition, can realize that under EDCA mechanism different QSTA21 has different access priorities, and realize parametrization QoS.
As shown in Figure 6, the flow chart for the another kind of method for parameter configuration of the embodiment of the invention comprises:
Step S601 carries out traffic statistics to transport stream.
In the present embodiment, before transport stream was carried out traffic statistics, HC received the request message that QSTA sends, and this request message requests HC is that the AC of certain priority adds new transport stream, and the TSPEC cell in this request message carries the qos value of QSTA request.Then, HC sends response message to QSTA, and the TSPEC cell in this response message carries the qos value that HC determines.So far, HC successfully is that the AC of certain priority has added new transport stream.
Wherein, this qos value comprises at least a in message size, mean data rate and the minimum physical.
Step S602, when the difference of the actual QoS value of determining transport stream and predetermined qos value during greater than preset value, send EDCA parameter-configuring request frame to QSTA, request reconfigures contention parameter, comprises the EDCA configuration parameter that HC determines in this EDCA parameter-configuring request frame.For example: when the mean data rate of the reality of this transport stream and default mean data rate differ when surpassing 10%, HC sends EDCA parameter-configuring request frame to QSTA.
Step S603 receives the EDCA parameter configuration response frame that QSTA sends.
Wherein, can comprise the EDCA configuration parameter in the EDCA parameter configuration response frame.
The above-mentioned parameter collocation method, HC adds up the flow of transport stream, and in the difference of the actual QoS value of transport stream and predetermined qos value during greater than preset value, revise contention parameter to the QSTA request, when BSS adopts channel access way based on competition, can realize that under EDCA mechanism different QSTA has different access priorities, and realize parametrization QoS.
As shown in Figure 7, the structure chart for the another kind of parameter configuring system of the embodiment of the invention comprises:
Hybrid coordinator HC71, be used for transport stream is carried out traffic statistics, when the difference of the actual QoS value of determining this transport stream and predetermined qos value during greater than preset value, send EDCA parameter-configuring request frame, request reconfigures contention parameter, and receive EDCA parameter configuration response frame, comprise the EDCA configuration parameter that this HC71 determines in this EDCA parameter-configuring request frame;
QSTA72 is used to receive the EDCA parameter-configuring request frame that HC71 sends, and sends EDCA parameter configuration response frame to HC71.
The above-mentioned parameter configuration-system, HC71 adds up the flow of transport stream, and in the difference of the actual QoS value of transport stream and predetermined qos value during greater than preset value, revise contention parameter to the QSTA72 request, when BSS adopts channel access way based on competition, can realize that under EDCA mechanism different QSTA72 has different access priorities, and realize parametrization QoS.
As shown in Figure 8, be the structure chart of the another kind of hybrid coordinator HC of the embodiment of the invention, hybrid coordinator HC71 comprises:
Traffic statistics module 711 is used for transport stream is carried out traffic statistics;
Request sending module 712, the difference that is used for determining the actual QoS value of these transport stream and predetermined qos value when traffic statistics module 711 is during greater than preset value, send EDCA parameter-configuring request frame to QSTA72, request reconfigures contention parameter, comprises the EDCA configuration parameter that HC71 determines in this EDCA parameter-configuring request frame;
Response receiver module 713 is used to receive the EDCA parameter configuration response frame that QSTA72 sends.
As shown in Figure 9, HC71 can also comprise:
Request message receiver module 714 is used to receive the request message that QSTA72 sends, and this request message requests HC71 is that the AC of certain priority adds new transport stream, and the TSPEC cell in this request message carries the qos value of QSTA72 request;
Response message sending module 715 is used to send response message to QSTA72, and the TSPEC cell in this response message carries the qos value that HC71 determines.
Above-mentioned HC, during greater than preset value, request sending module 712 sends EDCA parameter-configuring request frame to QSTA72 to the actual QoS value of determining these transport stream when traffic statistics module 711, asks to reconfigure contention parameter with the difference of predetermined qos value.When BSS adopts channel access way based on competition, can realize that under EDCA mechanism different QSTA72 has different access priorities, and realization parametrization QoS.
As shown in figure 10, be the flow chart of method for parameter configuration embodiment two of the present invention, among the embodiment two, carry out traffic statistics, initiate parameter-configuring request by HC.Specifically comprise:
Step S1001, QSTA72 sends request to HC71, asks to arrange qos parameter into other AC of certain grade adds a new TS in the TSPEC cell.This qos parameter comprises one or more in message size, mean data rate (Mean Data Rate) and the minimum physical parameters such as (Minimum PHY Rate).
Step S1002, HC71 receives the request of QSTA72, and sends response frame.Comprise the TSPEC cell in this response frame, this TSPEC cell is the qos parameter of HC71 approval.
Step S1003, HC71 carries out traffic statistics to TS, when HC71 finds that actual QoS departs from the predetermined value certain limit, sends EDCA parameter-configuring request frame to QSTA72, request reconfigures contention parameter, and this contention parameter comprises: AIFS, TXOP Limit, CWmin and CWmax.Can carry the configuration parameter of expectation in this EDCA parameter-configuring request frame.For example: when the mean data rate of the reality of this transport stream and default mean data rate differ when surpassing 10%, HC71 sends EDCA parameter-configuring request frame to QSTA72.
After step S1004, QSTA72 receive EDCA parameter-configuring request frame, send response frame, carry the EDCA configuration parameter in this response frame to HC71.
Step S1005, after completing successfully parameter first and reconfiguring, the EDCA parameter of same levels AC is provided with in the QSTA72 refusal Beacon frame.
The above-mentioned parameter collocation method, HC71 adds up the flow of transport stream, and in the difference of the actual QoS value of transport stream and predetermined qos value during greater than preset value, revise contention parameter to the QSTA72 request, when BSS adopts channel access way based on competition, can realize that under EDCA mechanism different QSTA has different access priorities, and realize parametrization QoS.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
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.