EDCA parameter adjustment method, device, equipment and storage medium

By determining the ACi target reserve bit of the STA and stating the message content in the AP, and adjusting the ECWmin, ECWmax and AIFSN in the EDCA parameters, the problem of unspecified EDCA parameter optimization in the prior art is solved, and the matching of channel competition parameters and waiting delay is achieved, and adapting to a variable wireless environment.

CN114650553BActive Publication Date: 2025-05-13SHANGHAI LIANHONG TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210142400.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-16
Publication Date
2025-05-13
Estimated Expiration
2042-02-16

AI Technical Summary

Technical Problem

The existing 802.11 protocol does not specify how to set, determine and optimize AIFSN, ECWmin, and ECWmax in the EDCA parameter set, resulting in inconsistent competition delays of STAs in different AC access channels, affecting the total access delay of services.

Method used

By determining the target reserved bit setting value of each ACi of the target STA in the AP, the STA is allowed to report or not report messages, and adjust the maximum competition window index, minimum competition window index, and number of arbitration inter-frame intervals of each ACi according to the statistical results of the reported content.

Benefits of technology

The adjusted EDCA parameters can better match the waiting delay of the current STA, adapt to the variable wireless environment, reduce the probability of packet collision between ACi queues, and take into account the compatibility of existing systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114650553B_ABST
    Figure CN114650553B_ABST
Patent Text Reader

Abstract

The present invention discloses an EDCA parameter adjustment method, device, equipment and storage medium. The method includes: determining, based on an AP, the setting value of the target reserved bit of each AC of a target STA i ; where i represents the value of the AC i ; the target STA determines whether to report or not report a message to the AP based on the setting value of each AC i ; the AP statistically analyzes the content of the message reported by the target STA to obtain a statistical result M(i); where M(i)≥0; the AP adjusts the maximum contention window index, the minimum contention window index and the arbitration inter-frame spacing number of each AC i based on the statistical result M(i). The technical solution of the present invention allows an STA to report information to an AP by setting a reserved bit, and statistically analyzes the waiting delay of each STA accessing a channel according to the reported information, so as to adjust ECWmin, ECWmax and AIFSN in the EDCA parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of network technology, and in particular relates to an EDCA parameter adjustment method, device, equipment and storage medium. Background Art

[0002] The Quality of Service (QoS) Access Point (AP) will announce the EDCA parameter set used by non-AP stations (STA) in the Basic Service Set (BSS) by broadcasting the EDCA parameter set elements; the EDCA parameter set contains the Arbitrary Inter Frame Space Number (AIFSN), the Maximum Contention Window Index (ECWmax), and the Minimum Contention Window Index (ECWmin) corresponding to each access category (AC); these parameters will affect the contention delay of different AC access channels of STAs in the current BSS, etc., so that the total access delay of services with different delay sensitivities may vary with the parameters given by the AP; among them, the Maximum Contention Window (CWmax) and the Minimum Contention Window (CWmin) are included.

[0003] However, the current 802.11 protocol does not specify how to set, determine and optimize AIFSN, ECWmin and ECWmax in the EDCA parameter set. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, one object of the present invention is to provide an EDCA parameter adjustment method, device, equipment and storage medium.

[0005] In order to solve the above technical problems, the embodiments of the present invention provide the following technical solutions:

[0006] An EDCA parameter adjustment method, comprising:

[0007] Based on the AP, determine each AC of the target STA i The target reserved bit setting value of; wherein, i represents the AC i The value of

[0008] The target STA is based on each of the AC i The setting value determines whether to report the message to the AP or not;

[0009] The AP performs statistics on the content of the message reported by the target STA to obtain a statistical result M(i); wherein M(i)≥0;

[0010] The AP calculates the statistics result M(i) for each AC. i The maximum contention window index, minimum contention window index and arbitration frame interval number are adjusted.

[0011] Optionally, the AP is used to determine each AC of the target STA. i The target reserved bit setting values ​​include:

[0012] The AP is connected to the AC i The first target reserved bit of the first target field is set to obtain a first setting value or a second setting value;

[0013] When the contention window is greater than or equal to (maximum contention window + minimum contention window) / 2, the AP sets the AC i The first target reserved bit of the first target field is set to a first setting value.

[0014] Optionally, the target STA is based on each of the AC i The setting value of determines whether to report the message to the AP or not, including:

[0015] When the first target reserved bit is a first setting value, the target STA sets the AC i The message is reported to the AP;

[0016] When the first target reserved bit is the second setting value, the target STA does not need to set the AC i The message is reported to the AP.

[0017] Optionally, the AP performs statistics on the content of the message reported by the target STA to obtain a statistical result M(i), including:

[0018] If the AP detects the AC i The second target reserved bit of the second target field of is a third setting value, then the statistical result M(i) is updated to M(i)+1;

[0019] If the AP detects that the second target reserved bit is a fourth setting value, the statistical result M(i) is updated to M(i)-1.

[0020] Optionally, the AP performs a statistical analysis on each of the ACs based on the statistical result M. i The maximum contention window index, minimum contention window index, and arbitration frame interval number are adjusted, including:

[0021] If 0≤M(i)≤AC i The first threshold of AC i The minimum contention window index is the same as the adjacent high priority AC i The minimum contention window index interval of the minimum contention window index is compared with the threshold of the minimum contention window index interval;

[0022] If the interval of the minimum contention window index is greater than the threshold of the interval of the minimum contention window index, the AC i The minimum contention window index minus 1;

[0023] If the interval of the minimum contention window index is equal to the threshold of the interval of the minimum contention window index, the AC is obtained. i The maximum contention window index is related to the adjacent high priority AC i The maximum contention window index interval of the maximum contention window index, and compare the maximum contention window index interval with a threshold of the maximum contention window index interval;

[0024] If the interval of the maximum contention window index is greater than the threshold of the interval of the maximum contention window index, the AC i The maximum contention window index is reduced by 1;

[0025] If the interval of the maximum contention window index is equal to the threshold of the interval of the maximum contention window index, the AC i The number of arbitration inter-frame intervals is adjusted.

[0026] Optionally, the arbitration inter-frame interval number is greater than or equal to a threshold of the arbitration inter-frame interval number.

[0027] Optionally, the AP performs a statistical operation on each AC based on the statistical result M(i). i The maximum contention window index, minimum contention window index and arbitration frame interval number are adjusted, including:

[0028] If AC i The first threshold ≤M(i)<AC i The second threshold value is not i The maximum contention window index, the minimum contention window index and the number of arbitration frame intervals are adjusted.

[0029] Optionally, the AP performs a statistical operation on each AC based on the statistical result M(i). i The maximum contention window index, minimum contention window index and arbitration frame interval number are adjusted, including:

[0030] If M(i)≥AC i The second threshold value is then used to determine the AC i whether the maximum contention window index is greater than a threshold value of the maximum contention window index;

[0031] If the maximum contention window index is less than the threshold of the maximum contention window index, the AC i The maximum contention window index is increased by 1;

[0032] If the maximum contention window index is equal to the threshold of the maximum contention window index, then the AC is determined. i whether the minimum contention window index is greater than a threshold value of the minimum contention window index;

[0033] If the minimum contention window index is less than the threshold value of the minimum contention window index, the AC i The minimum contention window index of is increased by 1;

[0034] If the minimum contention window index is equal to the threshold of the minimum contention window index, then the AC i The number of arbitration inter-frame intervals is adjusted.

[0035] Optionally, if the maximum contention window index is less than the threshold of the maximum contention window index, the AC i After the maximum contention window index is increased by 1, it also includes:

[0036] Traverse each pair of adjacent ACs i The interval of the maximum contention window index;

[0037] If the adjacent AC i The interval between the adjacent ACs is less than the threshold of the interval of the maximum contention window index. i Determined as the adjacent AC to be adjusted i ;

[0038] The adjacent AC i Medium priority is lower than the AC i AC i Confirmed as AC to be adjusted i ;

[0039] The AC to be adjusted i The maximum contention window index is increased by 1.

[0040] Optionally, the AC to be adjusted i After the maximum contention window index is increased by 1, it also includes:

[0041] Traverse each pair of adjacent AC i and comparing each interval of the minimum contention window index with a threshold of the interval of the minimum contention window index; if the interval of the minimum contention window index is less than the threshold of the interval of the minimum contention window index, adding 1 to the interval of the minimum contention window index;

[0042] Traverse each pair of adjacent AC i The interval of the arbitration frame interval number is determined, and each interval of the arbitration frame interval number is compared with the threshold of the interval of the arbitration frame interval number; if the interval of the arbitration frame interval number is less than the threshold of the interval of the arbitration frame interval number, the interval of the arbitration frame interval number is increased by 1.

[0043] An embodiment of the present invention further provides an EDCA parameter adjustment device, comprising:

[0044] The first determination module is used to determine each AC of the target STA based on the AP. i The target reserved bit setting value of; wherein, i represents the AC i The value of

[0045] The second determining module is used for the target STA to determine the target STA based on each of the AC i The setting value determines whether to report the message to the AP or not;

[0046] An acquisition module, used for the AP to count the content of the message reported by the target STA to obtain a statistical result M(i); wherein M(i)≥0;

[0047] An adjustment module is used for the AP to adjust each of the ACs based on the statistical result M(i). i The maximum contention window index, minimum contention window index and arbitration frame interval number are adjusted.

[0048] An embodiment of the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method described above when executing the computer program.

[0049] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method described above.

[0050] The embodiments of the present invention have the following technical effects:

[0051] The above technical solution of the present invention, 1) by setting the first target reserved bit, to allow STA to report information to AP, and according to the reported information (second target reserved bit) to count the waiting delay of each STA access channel, so as to adjust ECWmin, ECWmax and AIFSN in EDCA parameters, so that the channel contention parameters in the current EDCA parameters can meet the current waiting delay of each STA, and the continuous adjustment of the parameters is conducive to its compliance with the current changing wireless environment; in addition, when the environment is clean, the various AC of STA can be appropriately reduced. i The length of time a queue waits when competing for a channel; when the environment is noisy, increase the AC of each STA i The queue contention time can be reduced by each AC i The probability of message collision between queues.

[0052] 2) The process of adjusting ECWmin, ECWmax and AIFSN in EDCA parameters will ensure that ACs of different priorities i The channel access parameters of different priorities are different. i The different delays in accessing the channels ensure that their priority ordering does not change; in addition, the adjustment process takes into account the inherent provisions of the protocol and is therefore highly compatible with existing systems.

[0053] 3) The updated channel contention parameters will better match the current contention delay, making it more suitable for changing wireless environments and data transmission requirements.

[0054] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 It is a flow chart of an EDCA parameter adjustment method provided by an embodiment of the present invention;

[0056] Figure 2 It is a structural diagram of an EDCA parameter adjustment device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0057] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0058] In order to facilitate the understanding of the embodiments by those skilled in the art, some terms are explained:

[0059] (1)TXOP: transmission opportunity.

[0060] (2) Quality of Service (QoS)

[0061] (3) ACI: access category index, access category index.

[0062] (4)EDCAF: Enhanced Distributed Channel Access Function.

[0063] (5) Duration / ID: This field can indicate Duration or ID, depending on the type of frame used. In the embodiment of the present invention, Duration is used.

[0064] (6) CW: Content Window, contention window.

[0065] (7)RTS / CTS: Request To Send / Clear To Send, request to send / clear to send.

[0066] (8)TXOP Limit: Duration of TXOP limit.

[0067] (9)RTS frame Duration: RTS frame duration.

[0068] (10)field encoding: field encoding.

[0069] (11)AC: It is divided into four parts: Best Effort (BE), Background (BK), Video (VI), and Voice (VO).

[0070] (12) 802.11: refers to IEEE 802.11; IEEE 802.11 is the common standard for wireless LANs today.

[0071] like Figure 1 As shown, an embodiment of the present invention provides an EDCA parameter adjustment method, including:

[0072] Step S1: Based on the AP, determine each AC of the target STA i The target reserved bit setting value of; wherein, i represents the AC i The value of

[0073] Specifically, the AP determines each AC of the target STA. i The target reserved bit setting values ​​include:

[0074] The AP is connected to the AC i The first target reserved bit of the first target field is set to obtain a first setting value or a second setting value;

[0075] The first target reserved bit is the last reserved bit of the ACI / AIFSN field (first target field).

[0076] Specifically, when the contention window is greater than or equal to (maximum contention window + minimum contention window) / 2, the AP sets the AC i The last reserved bit of the first target field is set to a first setting value.

[0077] In actual application scenarios, when the AP sets the first target reserved bit in the ACI / AIFSN field to 1, it means that when the AC of the target STA i When the EDCAF competes for the channel and is ready to compete, and if CW is greater than or equal to (maximum contention window + minimum contention window) / 2

[0078] ((CWmin+CWmax) / 2), then report;

[0079] In the embodiment of the present invention, each AC is configured based on the target STA reporting a message to the AP. i Adjust the AIFSN, ECWmin, and ECWmax parameters of the target device. i Confirmed as AC i .

[0080] Step S2: The target STA based on each of the AC i The setting value determines whether to report the message to the AP or not;

[0081] Specifically, the target STA is based on each of the AC i The setting value of determines whether to report the message to the AP or not, including:

[0082] When the first target reserved bit is a first setting value, the target STA sets the AC i The message is reported to the AP;

[0083] When the first target reserved bit is the second setting value, the target STA does not need to set the AC i The message is reported to the AP.

[0084] Specifically, if the AP requires the target STA to report a message, then when the AC of the target STA i When the EDCAF competes for a channel and is ready to compete, and if CW is greater than or equal to (CWmin+CWmax) / 2, the AP sets the last reserved bit in the ACI / AIFSN field to 1 (the first setting value); otherwise, if the AP does not require the target STA to report a message, the AP sets the last reserved bit in the ACI / AIFSN field to 0 (the second setting value).

[0085] Furthermore, the AP needs to i The first target reserved bit in the ACI / AIFSN field (target field) of the target STA is set; set to 1, indicating that the AC i The message needs to be reported to the AP. Set to 0, indicating that the AC of the target STA i There is no need to report the message to the AP.

[0086] In the embodiment of the present invention, the value of the first target reserved bit of the ACI / AIFSN field is set to allow or not allow the STA to report information to the AP, and then the AP counts the waiting delay of each access channel of the STA according to the reported information, thereby adjusting each AC i ECWmin, ECWmax and AIFSN in the EDCA parameters.

[0087] Step S3: the AP performs statistics on the content of the message reported by the target STA to obtain a statistical result M(i); wherein M(i)≥0;

[0088] Specifically, the AP performs statistics on the content of the message reported by the target STA to obtain a statistical result M(i), including:

[0089] If the AP detects the AC i The second target reserved bit of the second target field of is a third setting value, then the statistical result M(i) is updated to M(i)+1;

[0090] If the AP detects that the second target reserved bit is a fourth setting value, the statistical result M(i) is updated to M(i)-1.

[0091] Furthermore, if the AP sets the first target reserved bit in the ACI / AIFSN field to 1, it means that the target STA is required to use RTS / CTS for TXOP protection when turning on TXOP, and the Duration / ID setting needs to be set according to the "multiple protection" setting rules, that is, the value of the Duration field (second target field) of RTS needs to be set to the result calculated by TXOP Limit-RTS frame Duration.

[0092] At this time, in the Duration field, according to the format originally defined in the protocol, Bit 15 should be the second target reserved bit, and the value at Bit 15 is set to 0 (the third setting value), as shown in Table 1 below:

[0093] Table 1Duration / ID field encoding

[0094]

[0095] If the AP sets the first target reserved bit in the ACI / AIFSN field to 0, the value at Bit15 is set to 1 (the fourth setting value). In actual application scenarios, the AP counts the number of ACs of each target STA within a period of time (the length of the period can be preset and adjusted according to actual needs, and the embodiment of the present invention does not specifically limit this). i and confirm whether it is continuous reporting.

[0096] For example: Each AC i The reported value is M(i), where i corresponds to AC i The specific value of M(i), the initial value of M(i) is 0; based on i for different AC i The statistical results M(i) are used to distinguish;

[0097] If the AC of the target STA i If the STA reports 1 (that is, the value of Bit15 is 1) and it is not reported continuously, M(i) is updated to M(i)+1. i If continuous reporting 1 occurs, M(i) is updated to M(i)+2; however, once the AC of the target STA i If the target STA reports 0 (that is, the value of Bit15 is 0) and it is not reported continuously, M(i) is updated to M(i)-1. i If 0 is reported continuously, M(i) is updated to M(i)-2 until M(i) is reduced to 0.

[0098] Step S4: The AP performs a statistical analysis on each AC based on the statistical result M(i). i The maximum contention window index, minimum contention window index and arbitration frame interval number are adjusted.

[0099] The embodiment of the present invention determines the next time each AC i Whether the values ​​of AIFSN, ECWmin, and ECWmax should be increased or decreased.

[0100] In actual application scenarios, AIFSN needs to be ≥ 2, and needs to be positively correlated with the priority level, and needs to be selected from the AC with the highest priority. i Start checking.

[0101] For example: Two ACs with adjacent priorities i There needs to be a certain minimum interval (for example, a threshold corresponding to a preset minimum contention window index interval, a threshold corresponding to a preset maximum contention window index interval, or a threshold corresponding to an interval number between arbitration intervals) between ECWmin, ECWmax or AIFSN.

[0102] For each AC of the target STA i , set two thresholds a(i) (first threshold) and b(i) (second threshold) (in each statistical cycle, each AC i The first threshold and the second threshold value need to be determined according to each AC i actual parameters to dynamically adjust).

[0103] Among them, when M(i) is less than a(i), it means that the current channel access waiting time is short, that is, the competition parameter is large for the waiting time, so it is necessary to appropriately reduce the competition parameter; and when M(i) is greater than b(i), it means that the current channel access waiting time is long, that is, the competition parameter is small for the waiting time, so it is necessary to appropriately increase the competition parameter.

[0104] In the embodiment of the present invention, the process of adjusting ECWmin, ECWmax and AIFSN in EDCA parameters will ensure that ACs with different priorities i The channel access parameters of different priorities are different. i The different delays in accessing the channels ensure that their priority ordering does not change; in addition, the adjustment process takes into account the inherent provisions of the protocol and is therefore highly compatible with existing systems.

[0105] In an optional embodiment of the present invention, the AP performs a statistical operation on each AC based on the statistical result M(i). iThe maximum contention window index, minimum contention window index, and arbitration frame interval number are adjusted, including:

[0106] If 0≤M(i)≤AC i The first threshold of AC i The minimum contention window index is the same as the adjacent high priority AC i The minimum contention window index interval of the minimum contention window index is compared with the threshold of the minimum contention window index interval;

[0107] If the interval of the minimum contention window index is greater than the threshold of the interval of the minimum contention window index, the AC i The minimum contention window index minus 1;

[0108] If the interval of the minimum contention window index is equal to the threshold of the interval of the minimum contention window index, the AC is obtained. i The maximum contention window index is related to the adjacent high priority AC i The maximum contention window index interval of the maximum contention window index, and compare the maximum contention window index interval with a threshold of the maximum contention window index interval;

[0109] If the interval of the maximum contention window index is greater than the threshold of the interval of the maximum contention window index, the AC i The maximum contention window index is reduced by 1;

[0110] If the interval of the maximum contention window index is equal to the threshold of the interval of the maximum contention window index, the AC i The number of arbitration inter-frame intervals is adjusted.

[0111] Specifically, the arbitration inter-frame interval number is greater than or equal to a threshold of the arbitration inter-frame interval number.

[0112] In actual application scenarios, as shown in Table 2 below, the target STA can be defined for each AC i The minimum interval between the parameters:

[0113] Table 2

[0114]

[0115] For each AC above iFor ECWmin, ECWmax, and AIFSN, you can refer to the default values ​​of the 802.11 protocol, where: BK: AIFSN 7, ECWmin / ECWmax 4 / 10; BE: AIFSN 3, ECWmin / ECWmax 4 / 10; VI: AIFSN 2, ECWmin / ECWmax 3 / 4; VO: AIFSN 2, ECWmin / ECWmax 2 / 3; Therefore, BK has the largest adjustable space, while VO has the smallest adjustable space.

[0116] For example: If M(i) is in the interval [0,a(i)], then check the AC i ECWmin with the next highest priority AC i Whether the interval of the minimum contention window index between the ECWmin of the AC is greater than the preset threshold of the interval of the minimum contention window index (if the AC i It is the most advanced AC i , no adjustment is required, and the following steps are directly executed); if the interval of the minimum contention window index is greater than the threshold of the interval of the minimum contention window index, then the AC i ECWmin minus 1; if the minimum contention window index interval is equal to the threshold of the minimum contention window index interval, check the AC i ECWmax with the next highest priority AC i Whether the interval of the maximum contention window index of ECWmax is greater than the preset threshold of the interval of the maximum contention window index; if the interval of the maximum contention window index is greater than the threshold of the interval of the maximum contention window index, then the AC i ECWmin minus 1; if the interval of the maximum contention window index is still equal to the threshold of the interval of the maximum contention window index, check the AC i AIFSN with the next high priority AC i Whether the interval between the arbitration intervals of the AIFSNs is greater than the threshold of the interval between the arbitration intervals. If the interval between the arbitration intervals is greater than the threshold of the interval between the arbitration intervals, the AC i The AIFSN is reduced by 1 (AIFSN ≥ 2); if the interval between arbitration intervals is still equal to the threshold of the interval between arbitration intervals, all parameters remain unchanged and the adjustment is terminated directly.

[0117] In an optional embodiment of the present invention, the AP sends a message to each AC based on the statistical result. i The maximum contention window index, minimum contention window index and arbitration frame interval number are adjusted, including:

[0118] If AC i The first threshold ≤M(i)<AC iThe second threshold value is not i The maximum contention window index, the minimum contention window index and the number of arbitration frame intervals are adjusted.

[0119] In an optional embodiment of the present invention, the AP performs a statistical operation on each AC based on the statistical result M(i). i The maximum contention window index, minimum contention window index and arbitration frame interval number are adjusted, including:

[0120] If M(i)≥AC i The second threshold value is then used to determine the AC i whether the maximum contention window index is greater than a threshold value of the maximum contention window index;

[0121] If the maximum contention window index is less than the threshold of the maximum contention window index, the AC i The maximum contention window index is increased by 1;

[0122] If the maximum contention window index is equal to the threshold of the maximum contention window index, then the AC is determined. i whether the minimum contention window index is greater than a threshold value of the minimum contention window index;

[0123] If the minimum contention window index is less than the threshold value of the minimum contention window index, the AC i The minimum contention window index of is increased by 1;

[0124] If the minimum contention window index is equal to the threshold of the minimum contention window index, then the AC i The number of arbitration inter-frame intervals is adjusted.

[0125] In the embodiment of the present invention, the updated channel contention parameter will be more compatible with the current contention delay, so that it is more in line with the changing wireless environment and data transmission requirements.

[0126] In an optional embodiment of the present invention, if the maximum contention window index is less than the threshold value of the maximum contention window index, the AC i After the maximum contention window index is increased by 1, it also includes:

[0127] Traverse each pair of adjacent ACs i The interval of the maximum contention window index;

[0128] If the adjacent AC i The interval between the adjacent ACs is less than the threshold of the interval of the maximum contention window index. i Determined as the adjacent AC to be adjusted i ;

[0129] The adjacent AC i Medium priority is lower than the AC i AC i Confirmed as AC to be adjusted i ;

[0130] The AC to be adjusted i The maximum contention window index is increased by 1.

[0131] In an optional embodiment of the present invention, the AC to be adjusted i After the maximum contention window index is increased by 1, it also includes:

[0132] Traverse each pair of adjacent AC i and comparing each interval of the minimum contention window index with a threshold of the interval of the minimum contention window index; if the interval of the minimum contention window index is less than the threshold of the interval of the minimum contention window index, adding 1 to the interval of the minimum contention window index;

[0133] Traverse each pair of adjacent AC i The interval between the arbitration frame intervals is calculated, and the interval between each arbitration frame interval is compared with the threshold of the interval between arbitration frames; if the interval between the arbitration frame intervals is less than the threshold of the interval between arbitration frames, the interval between the arbitration frame intervals is increased by 1. In actual application scenarios, if M(i) is greater than or equal to b(i), and if ECWmax<15, then ECWmax+1 (ECWmax+1<=15 needs to be ensured, and this upper limit is specified by the 802.11 protocol and is also determined by the bits occupied by this parameter), and for adjacent priority AC i Keep a certain minimum interval between them. If the adjacent AC i If the interval between the maximum contention window indices is less than the threshold of the maximum contention window indices, then the current AC i The AC with lower priority i The ECWmax also needs to be increased by 1 (to traverse and check each group of adjacent AC i ECWmax interval until all adjacent AC i ); If the current ECWmax is already the maximum value, then start to increase ECWmin, and the maximum value of ECWmin is ECWmax-1, for adjacent priority AC i Keep a certain minimum interval between them. If the adjacent AC i If the interval between the minimum contention window indices is less than the threshold of the minimum contention window indices, then the current AC i The AC with lower priorityi The ECWmin also needs to be increased by 1 (to traverse and check each group of adjacent AC i ECWmin interval until all adjacent AC i ); If ECWmin is also the maximum value, then start to increase AIFSN (preset the upper limit of AIFSN, and the upper limit of AIFSN can be assumed to be AIFSNmax), for the adjacent priority AC i Keep a certain minimum interval between them. If the adjacent AC i If the interval between arbitration intervals is less than the threshold of the interval between arbitration intervals, then the AC i The AC with lower priority i The AIFSN also needs to be increased by 1 (to traverse and check each group of adjacent AC i AIFSN interval until all adjacent ACs are checked i ). If AIFSN has reached the maximum value AIFSNmax, all parameters remain unchanged and the adjustment ends directly.

[0134] After the adjustment is completed, the AP announces the new EDCA parameter set and starts a new round of statistics.

[0135] In the embodiment of the present invention, a reserved bit is set to allow STA to report information to AP, and the waiting delay of each STA accessing the channel is counted according to the reported information, so as to adjust ECWmin, ECWmax and AIFSN in EDCA parameters, so that the channel contention parameter in the current EDCA parameters can meet the current waiting delay of each STA. The continuous adjustment of the parameter is conducive to its compliance with the current changing wireless environment. In addition, when the environment is clean, the AC of each STA can be appropriately reduced. i The length of time a queue waits when competing for a channel; when the environment is noisy, increase the AC of each STA i The queue contention time can be reduced by each AC i The probability of message collision between queues.

[0136] like Figure 2 As shown, an embodiment of the present invention further provides an EDCA parameter adjustment device 200, comprising:

[0137] The first determination module 201 is used to determine each AC of the target STA based on the AP. i The target reserved bit setting value of; wherein, i represents the AC i The value of

[0138] The second determination module 202 is used for the target STA to determine the target STA based on each of the AC iThe setting value determines whether to report the message to the AP or not;

[0139] The acquisition module 203 is used for the AP to collect statistics on the content of the message reported by the target STA to obtain a statistical result M(i); wherein M(i)≥0;

[0140] The adjustment module 204 is used for the AP to adjust each of the ACs based on the statistical result M(i). i The maximum contention window index, minimum contention window index and arbitration frame interval number are adjusted.

[0141] Optionally, the AP is used to determine each AC of the target STA. i The target reserved bit setting values ​​include:

[0142] The AP is connected to the AC i The first target reserved bit of the first target field is set to obtain a first setting value or a second setting value;

[0143] When the contention window is greater than or equal to (maximum contention window + minimum contention window) / 2, the AP sets the AC i The first target reserved bit of the first target field is set to a first setting value.

[0144] Optionally, the target STA is based on each of the AC i The setting value of the target reserved bit is determined to determine whether to report the message to the AP or not, including: when the first target reserved bit is the first setting value, the target STA reports the AC i The message is reported to the AP;

[0145] When the first target reserved bit is the second setting value, the target STA does not need to set the AC i The message is reported to the AP.

[0146] Optionally, the AP performs statistics on the content of the message reported by the target STA to obtain a statistical result M(i), including:

[0147] If the AP detects the AC i The second target reserved bit of the second target field of is a third setting value, then the statistical result M(i) is updated to M(i)+1;

[0148] If the AP detects that the second target reserved bit is a fourth setting value, the statistical result M(i) is updated to M(i)-1.

[0149] Optionally, the AP performs a statistical analysis on each of the ACs based on the statistical result M. iThe maximum contention window index, minimum contention window index, and arbitration frame interval number are adjusted, including:

[0150] If 0≤M(i)≤AC i The first threshold of AC i The minimum contention window index is the same as the adjacent high priority AC i The minimum contention window index interval of the minimum contention window index is compared with the threshold of the minimum contention window index interval;

[0151] If the interval of the minimum contention window index is greater than the threshold of the interval of the minimum contention window index, the AC i The minimum contention window index minus 1;

[0152] If the interval of the minimum contention window index is equal to the threshold of the interval of the minimum contention window index, the AC is obtained. i The maximum contention window index is related to the adjacent high priority AC i The maximum contention window index interval of the maximum contention window index, and compare the maximum contention window index interval with a threshold of the maximum contention window index interval;

[0153] If the interval of the maximum contention window index is greater than the threshold of the interval of the maximum contention window index, the AC i The maximum contention window index is reduced by 1;

[0154] If the interval of the maximum contention window index is equal to the threshold of the interval of the maximum contention window index, the AC i The number of arbitration inter-frame intervals is adjusted.

[0155] Optionally, the arbitration inter-frame interval number is greater than or equal to a threshold of the arbitration inter-frame interval number.

[0156] Optionally, the AP performs a statistical operation on each AC based on the statistical result M(i). i The maximum contention window index, minimum contention window index and arbitration frame interval number are adjusted, including:

[0157] If AC i The first threshold ≤M(i)<AC i The second threshold value is not i The maximum contention window index, the minimum contention window index and the number of arbitration frame intervals are adjusted.

[0158] Optionally, the AP performs a statistical operation on each AC based on the statistical result M(i). iThe maximum contention window index, minimum contention window index and arbitration frame interval number are adjusted, including:

[0159] If M(i)≥AC i The second threshold value is then used to determine the AC i whether the maximum contention window index is greater than a threshold value of the maximum contention window index;

[0160] If the maximum contention window index is less than the threshold of the maximum contention window index, the AC i The maximum contention window index is increased by 1;

[0161] If the maximum contention window index is equal to the threshold of the maximum contention window index, then the AC is determined. i whether the minimum contention window index is greater than a threshold value of the minimum contention window index;

[0162] If the minimum contention window index is less than the threshold value of the minimum contention window index, the AC i The minimum contention window index of is increased by 1;

[0163] If the minimum contention window index is equal to the threshold of the minimum contention window index, then the AC i The number of arbitration inter-frame intervals is adjusted.

[0164] Optionally, if the maximum contention window index is less than the threshold of the maximum contention window index, the AC i After the maximum contention window index is increased by 1, it also includes:

[0165] Traverse each pair of adjacent ACs i The interval of the maximum contention window index;

[0166] If the adjacent AC i The interval between the adjacent ACs is less than the threshold of the interval of the maximum contention window index. i Determined as the adjacent AC to be adjusted i ;

[0167] The adjacent AC i Medium priority is lower than the AC i AC i Confirmed as AC to be adjusted i ;

[0168] The AC to be adjusted i The maximum contention window index is increased by 1.

[0169] Optionally, the AC to be adjusted iAfter the maximum contention window index is increased by 1, it also includes:

[0170] Traverse each pair of adjacent AC i and comparing each interval of the minimum contention window index with a threshold of the interval of the minimum contention window index; if the interval of the minimum contention window index is less than the threshold of the interval of the minimum contention window index, adding 1 to the interval of the minimum contention window index;

[0171] Traverse each pair of adjacent AC i The interval of the arbitration frame interval number is determined, and each interval of the arbitration frame interval number is compared with the threshold of the interval of the arbitration frame interval number; if the interval of the arbitration frame interval number is less than the threshold of the interval of the arbitration frame interval number, the interval of the arbitration frame interval number is increased by 1.

[0172] An embodiment of the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method described above when executing the computer program.

[0173] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method described above.

[0174] In addition, other structures and functions of the device in the embodiment of the present invention are known to those skilled in the art and will not be described in detail here to reduce redundancy.

[0175] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0176] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0177] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0178] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0179] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0180] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0181] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0182] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for adjusting EDCA parameters, characterized in that: include: Based on the AP, determine each AC of the target STA i The target reserved bit setting value of; wherein, i represents the AC i The value of The target STA is based on each of the AC i The setting value determines whether to report the message to the AP or not; The AP performs statistics on the content of the message reported by the target STA to obtain a statistical result M(i); wherein M(i)≥0; The AP calculates the statistics result M(i) for each AC. i The maximum contention window index, minimum contention window index, and arbitration frame interval number are adjusted, including: If 0≤M(i)≤AC i The first threshold of AC i The minimum contention window index is the same as the adjacent high priority AC i The minimum contention window index interval of the minimum contention window index is compared with the threshold of the minimum contention window index interval; If the interval of the minimum contention window index is greater than the threshold of the interval of the minimum contention window index, the AC i The minimum contention window index minus 1; If the interval of the minimum contention window index is equal to the threshold of the interval of the minimum contention window index, the AC is obtained. i The maximum contention window index is related to the adjacent high priority AC i The maximum contention window index interval of the maximum contention window index, and compare the maximum contention window index interval with a threshold of the maximum contention window index interval; If the interval of the maximum contention window index is greater than the threshold of the interval of the maximum contention window index, the AC i The maximum contention window index is reduced by 1; If the interval of the maximum contention window index is equal to the threshold of the interval of the maximum contention window index, the AC i The arbitration inter-frame interval number is adjusted; If AC i The first threshold ≤M(i)<AC i The second threshold value is not i The maximum contention window index, the minimum contention window index and the number of arbitration frame intervals are adjusted; If M(i)≥AC i The second threshold value is then used to determine the AC i whether the maximum contention window index is greater than a threshold value of the maximum contention window index; If the maximum contention window index is less than the threshold of the maximum contention window index, the AC i The maximum contention window index is increased by 1; If the maximum contention window index is equal to the threshold of the maximum contention window index, then the AC is determined. i whether the minimum contention window index is greater than a threshold value of the minimum contention window index; If the minimum contention window index is less than the threshold value of the minimum contention window index, the AC i The minimum contention window index of is increased by 1; If the minimum contention window index is equal to the threshold of the minimum contention window index, then the AC i The arbitration inter-frame interval number is adjusted; The number of arbitration inter-frame intervals is greater than or equal to a threshold of the number of arbitration inter-frame intervals.

2. The method according to claim 1, characterized in that The AP determines each AC of the target STA. i The target reserved bit setting values ​​include: The AP is connected to the AC i The first target reserved bit of the first target field is set to obtain a first setting value or a second setting value; When the contention window is greater than or equal to (maximum contention window + minimum contention window) / 2, the AP sets the AC i The first target reserved bit of the first target field is set to a first setting value.

3. The method according to claim 2, characterized in that The target STA is based on each of the AC i The setting value of determines whether to report the message to the AP or not, including: When the first target reserved bit is a first setting value, the target STA sets the AC i The message is reported to the AP; When the first target reserved bit is the second setting value, the target STA does not need to set the AC i The message is reported to the AP.

4. The method according to claim 2, characterized in that: The AP performs statistics on the content of the message reported by the target STA to obtain a statistical result M(i), including: If the AP detects the AC i The second target reserved bit of the second target field of is a third setting value, then the statistical result M(i) is updated to M(i)+1; If the AP detects that the second target reserved bit is a fourth setting value, the statistical result M(i) is updated to M(i)-1.

5. The method according to claim 1, characterized in that If the maximum contention window index is less than the threshold of the maximum contention window index, the AC i After the maximum contention window index is increased by 1, it also includes: Traverse each pair of adjacent ACs i The interval of the maximum contention window index; If the adjacent AC i The interval between the adjacent ACs is less than the threshold of the interval of the maximum contention window index. i Determined as the adjacent AC to be adjusted i ; The adjacent AC i Medium priority is lower than the AC i AC i Confirmed as AC to be adjusted i ; The AC to be adjusted i The maximum contention window index is increased by 1.

6. The method according to claim 5, characterized in that The AC to be adjusted i After the maximum contention window index is increased by 1, it also includes: Traverse each pair of adjacent AC i and comparing each interval of the minimum contention window index with a threshold of the interval of the minimum contention window index; if the interval of the minimum contention window index is less than the threshold of the interval of the minimum contention window index, adding 1 to the interval of the minimum contention window index; Traverse each pair of adjacent AC i The interval of the arbitration frame interval number is determined, and each interval of the arbitration frame interval number is compared with the threshold of the interval of the arbitration frame interval number; if the interval of the arbitration frame interval number is less than the threshold of the interval of the arbitration frame interval number, the interval of the arbitration frame interval number is increased by 1.

7. An EDCA parameter adjustment device, characterized in that: include: The first determination module is used to determine each AC of the target STA based on the AP. i The target reserved bit setting value of; wherein, i represents the AC i The value of The second determining module is used for the target STA to determine the target STA based on each of the AC i The setting value determines whether to report the message to the AP or not; An acquisition module, used for the AP to count the content of the message reported by the target STA to obtain a statistical result M(i); wherein M(i)≥0; An adjustment module is used for the AP to adjust each of the ACs based on the statistical result M(i). i The maximum contention window index, minimum contention window index and arbitration frame interval number are adjusted, specifically for: If 0≤M(i)≤AC i The first threshold of AC i The minimum contention window index is the same as the adjacent high priority AC i The minimum contention window index interval of the minimum contention window index is compared with the threshold of the minimum contention window index interval; If the interval of the minimum contention window index is greater than the threshold of the interval of the minimum contention window index, the AC i The minimum contention window index minus 1; If the interval of the minimum contention window index is equal to the threshold of the interval of the minimum contention window index, the AC is obtained. i The maximum contention window index is related to the adjacent high priority AC i The maximum contention window index interval of the maximum contention window index, and compare the maximum contention window index interval with a threshold of the maximum contention window index interval; If the interval of the maximum contention window index is greater than the threshold of the interval of the maximum contention window index, the AC i The maximum contention window index is reduced by 1; If the interval of the maximum contention window index is equal to the threshold of the interval of the maximum contention window index, the AC i The arbitration inter-frame interval number is adjusted; If AC i The first threshold ≤M(i)<AC i The second threshold value is not i The maximum contention window index, the minimum contention window index and the number of arbitration frame intervals are adjusted; If M(i)≥AC i The second threshold value is then used to determine the AC i whether the maximum contention window index is greater than a threshold value of the maximum contention window index; If the maximum contention window index is less than the threshold of the maximum contention window index, the AC i The maximum contention window index is increased by 1; If the maximum contention window index is equal to the threshold of the maximum contention window index, then the AC is determined. i whether the minimum contention window index is greater than a threshold value of the minimum contention window index; If the minimum contention window index is less than the threshold value of the minimum contention window index, the AC i The minimum contention window index of is increased by 1; If the minimum contention window index is equal to the threshold of the minimum contention window index, then the AC i The arbitration inter-frame interval number is adjusted; The number of arbitration inter-frame intervals is greater than or equal to a threshold of the number of arbitration inter-frame intervals.

8. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Message sending method and device

    CN102523608A

  • Adaptive EDCA adjustment for dynamic sensitivity control

    CN107113868A