Method, device, equipment and storage medium for adjusting transmission opportunity

By adjusting the EDCA TXOP Limit in the EDCA parameter set in the IEEE 802.11 protocol, the problem of EDCA parameter set optimization in the prior art is solved, and the total throughput of the system is optimized and the AP burden is reduced.

CN114630371BActive Publication Date: 2025-04-04SHANGHAI LIANHONG TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The prior art has failed to effectively solve the problem of setting, determining and optimizing EDCA TXOP Limit in the EDCA parameter set in the IEEE 802.11 protocol, resulting in unstable service throughput.

Method used

By obtaining the initial proportion of the default transmission opportunity limit time for each access category (AC) to the total constraint time, and obtaining the actual proportion of the actual transmission opportunity limit time based on the real-time traffic situation, comparing and adjusting, optimizing the actual transmission opportunity limit time for each AC, and broadcasting the updated parameters through Beacon or management frames.

Benefits of technology

Optimization of the total data transmission throughput of different ACs is achieved, which improves the total system throughput and reduces the burden on the access point (AP).

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114630371B_ABST
    Figure CN114630371B_ABST
Patent Text Reader

Abstract

The present invention discloses a transmission opportunity adjustment method, device, equipment and storage medium, the method includes: obtaining the initial ratio of the default transmission opportunity limit time of each AC to the total constraint time; obtaining the actual ratio of the actual transmission opportunity limit time of each AC to the total constraint time based on the real-time traffic status; comparing the actual ratio and the initial ratio, if the actual ratio is not equal to the initial ratio, determining the actual transmission opportunity limit time as the actual transmission opportunity limit time to be adjusted; adjusting the actual transmission opportunity limit time to be adjusted for each AC, obtaining the updated actual transmission opportunity limit time, and then storing the updated actual transmission opportunity limit time in Beacon or a management frame containing a Beacon field for broadcast announcement. The technical solution of the present invention adjusts the TXOP Limit based on AP statistics, which is used to optimize the total throughput of data transmission corresponding to different ACs, thereby optimizing the total throughput of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of wireless communication technology, and in particular relates to a transmission opportunity adjustment method, device, equipment and storage medium. Background Art

[0002] The Quality of Service (QoS) Access Point (AP) will broadcast the Enhanced Distributed Channel Access (EDCA) parameter set elements to announce the EDCA parameter set used by non-AP stations (STAs) in the Basic Service Set (BSS). This parameter set contains the EDCA transmission opportunity limit (TXOP Limit) corresponding to each access category (AC), involving the length of different AC transmission times of STAs in the current BSS, etc., resulting in that the throughput of services with different delay sensitivities may vary with the parameters given by the AP.

[0003] However, the current Institute of Electrical and Electronics Engineers (IEEE) 802.11 protocol does not specify how to set, determine, and optimize the EDCA TXOP Limit 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 a method, device, equipment and storage medium for adjusting transmission opportunities.

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

[0006] A method for adjusting a transmission opportunity, comprising:

[0007] Get the initial ratio of the default transmission opportunity restriction time of each AC to the total constraint time;

[0008] Based on the real-time traffic status, obtain the actual ratio of the actual transmission opportunity restriction time of each AC to the total constraint time;

[0009] Comparing the actual ratio with the initial ratio, if the actual ratio is not equal to the initial ratio, determining the actual transmission opportunity limit time as the actual transmission opportunity limit time to be adjusted;

[0010] The actual transmission opportunity limit time to be adjusted of each AC is adjusted to obtain an updated actual transmission opportunity limit time, and then the updated actual transmission opportunity limit time is stored in a Beacon or a management frame containing a Beacon field for broadcast announcement.

[0011] Optionally, obtaining the actual ratio of the actual transmission opportunity restriction time of each AC to the total constraint time based on the real-time traffic status includes:

[0012] Obtain the traffic duration required for the STA to upload data to each of the ACs;

[0013] The actual ratio of the traffic duration to the total constraint duration is obtained.

[0014] Optionally, comparing the actual ratio and the initial ratio includes:

[0015] If the actual ratio of the AC is equal to the initial ratio, the actual transmission opportunity restriction time of the AC is not adjusted.

[0016] Optionally, the adjusting the to-be-adjusted actual transmission opportunity limit time of each of the ACs includes:

[0017] All the ACs whose actual ratio is greater than the initial ratio form a first group of ACs, and all the ACs whose actual ratio is less than the initial ratio form a second group of ACs;

[0018] Subtract N from the actual transmission opportunity limit time to be adjusted of each AC in the first group of ACs to obtain a first group of adjusted ACs; wherein the number of ACs included in the first group of ACs is a;

[0019] Add M to the actual transmission opportunity limit time to be adjusted of each AC in the second group of ACs to obtain a second group of adjusted ACs; wherein the number of ACs included in the second group of ACs is b;

[0020] Wherein, N and M are positive integers, and a*N=b*M.

[0021] Optionally, obtaining the flow duration required for the STA to upload data to each of the ACs includes:

[0022] The number of times each AC uses the reverse protocol to share the transmission opportunity is counted.

[0023] Optionally, the counting of the number of times each AC uses the reverse protocol to share the transmission opportunity includes:

[0024] Obtaining the number of times each of the ACs in the first group of adjusted ACs uses the reverse protocol to share the transmission opportunity;

[0025] Comparing the number of times each of the ACs in the first group of adjusted ACs uses the reverse protocol to share the transmission opportunity, and obtaining a comparison result;

[0026] Based on the comparison result, the to-be-adjusted actual transmission opportunity limit time of each of the ACs in the first group of adjusted ACs is adjusted.

[0027] Optionally, adjusting the to-be-adjusted actual transmission opportunity limit time of each AC in the first group of adjusted ACs based on the comparison result includes:

[0028] Subtract E from the actual transmission opportunity limit time to be adjusted of the AC that shares the reverse protocol with the transmission opportunity more times; wherein the number of the ACs that share the reverse protocol with the transmission opportunity more times is c;

[0029] Add F to the actual transmission opportunity limit time to be adjusted of each AC in the second group of adjusted ACs;

[0030] Wherein, E and F are positive integers, and c*E=b*F.

[0031] An embodiment of the present invention further provides a transmission opportunity adjustment device, comprising:

[0032] A first acquisition module is used to obtain an initial ratio of the default transmission opportunity restriction time of each AC to the total constraint time;

[0033] A second acquisition module is used to obtain the actual ratio of the actual transmission opportunity restriction time of each AC to the total constraint time based on the real-time traffic status;

[0034] A comparison module, configured to compare the actual ratio with the initial ratio, and if the actual ratio is not equal to the initial ratio, determine the actual transmission opportunity limit time as the actual transmission opportunity limit time to be adjusted;

[0035] The adjustment module is used to adjust the actual transmission opportunity limit time to be adjusted for each AC, obtain the updated actual transmission opportunity limit time, and then store the updated actual transmission opportunity limit time in Beacon or a management frame containing a Beacon field for broadcast announcement.

[0036] 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.

[0037] 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.

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

[0039] The above technical solution of the present invention, 1) adjusts the TXOP Limit based on AP statistics, so as to optimize the total throughput of data transmission corresponding to different ACs, thereby optimizing the total throughput of the system.

[0040] 2) In order to reduce the burden on APs, APs are only responsible for limiting TXOP Limit and only count the limit time of each AC data, rather than the specific amount of information.

[0041] 3) According to the counted lengths of reverse protocol and TXOP sharing used by each AC, the actual proportion of AC is adjusted twice.

[0042] 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

[0043] Figure 1 is a flow chart of a method for adjusting a transmission opportunity provided by an embodiment of the present invention;

[0044] Figure 2 It is a structural schematic diagram of a transmission opportunity adjustment device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] 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.

[0046] In order to facilitate those skilled in the art to understand the embodiments of the present invention, some terms are explained:

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

[0048] (2) Reverse protocol: Reverse Direction, RD protocol.

[0049] (3) TXOPlimit: Transmission opportunity limit time, specifically refers to the maximum length of time allocated by the AP to the STA to allow the STA to transmit on a specified specific AC.

[0050] like Figure 1 As shown, an embodiment of the present invention provides a method for adjusting a transmission opportunity, comprising:

[0051] Step S1: Obtaining the initial ratio of the default transmission opportunity restriction time of each AC to the total constraint time;

[0052] Specifically, the AP obtains an initial ratio of the default transmission opportunity restriction time of each AC of each STA to the total constraint time;

[0053] Each STA corresponds to four ACs with different priorities, namely BE, BK, VI, and VO.

[0054] The total constraint duration is the total length of the transmission opportunity restriction time of the four ACs of each STA, and the total constraint duration is a fixed value.

[0055] Furthermore, before the STA performs actual data transmission, the AP determines a default TXOP Limit for each AC of the STA according to the IEEE 802.11 default parameters.

[0056] Step S2: based on the real-time traffic status, obtaining the actual proportion of the actual transmission opportunity restriction time of each AC to the total constraint time;

[0057] Specifically, the AP counts the duration of traffic uploaded by each STA to each of its ACs within a period (the period can be adjusted or preset according to actual conditions);

[0058] Among them, if the AP needs to count the rate and limit time of each data frame, the amount of calculation will be too large; therefore, in an embodiment of the present invention, in order to reduce the burden on the AP, the AP is only responsible for limiting the TXOP Limit, that is, the AP only counts the limit time of the data of each AC, but does not count the specific amount of information of the data.

[0059] Furthermore, the AP records the actual proportion of the traffic duration of each AC to the total constraint duration.

[0060] In an embodiment of the present invention, TXOP Limit is adjusted based on AP statistics to optimize the total throughput of data transmission corresponding to different ACs, thereby optimizing the total throughput of the system. Specifically, the actual proportion of the actual transmission opportunity limit time to be adjusted for each AC to the total constraint time based on the real-time traffic status is obtained, including:

[0061] Obtain the traffic duration required for the STA to upload data to each of the ACs;

[0062] The actual ratio of the traffic duration to the total constraint duration is obtained.

[0063] Step S3: comparing the actual ratio with the initial ratio, if the actual ratio is not equal to the initial ratio, determining the actual transmission opportunity limit time as the actual transmission opportunity limit time to be adjusted;

[0064] Specifically, if the actual ratio of the AC is equal to the initial ratio, the actual transmission opportunity limit time of the AC is not adjusted.

[0065] Step S4: adjust the actual transmission opportunity limit time to be adjusted of each AC, obtain updated actual transmission opportunity limit time, and then store the updated actual transmission opportunity limit time in Beacon or a management frame containing a Beacon field for broadcast announcement.

[0066] In an optional embodiment of the present invention, the adjusting the actual transmission opportunity limit time to be adjusted of each AC includes:

[0067] constructing a table based on the initial ratio and the actual ratio of each AC of the STA;

[0068] According to the table, the size relationship between the initial ratio and the actual ratio of each AC of each STA is determined.

[0069] Further, the table is a diagonal table, the columns of the diagonal table are used to fill in the initial proportion of each of the ACs; the rows of the diagonal table are used to fill in the actual proportion of each of the ACs;

[0070] The cells located on the diagonal line of the diagonal table are used to fill in the size relationship between the actual proportion and the initial proportion of each AC.

[0071] Among them, the table can be constructed in the following manner (in actual application scenarios, the actual ratio and the initial ratio can also be processed based on other forms, for example, constructing other forms of tables, etc.), an embodiment of the present invention is shown in the following Table 1:

[0072] First, fill in the table according to the diagonal table in Table 1 below (fill in the cells with "?"):

[0073] Table 1

[0074] A B C D A’ ? / / / B’ / ? / / C’ / / ? / D’ / / / ?

[0075] Among them, A, B, C, and D in Table 1 refer to each AC respectively. Specifically, A refers to BK, B refers to BE, C refers to VI, and D refers to VO. The priorities of AC are from low to high.

[0076] As shown in Table 2 below, A, B, C, and D are the initial proportions of the four ACs; A', B', C', and D' are the actual proportions of each AC counted within a period of time.

[0077] For example, Table 2 can be filled with:

[0078] Table 2

[0079] A B C D A’ = / / / B’ / > / / C’ / / > / D’ / / / <

[0080] Based on Table 2, we can see that A'=A; B'>B; C'>C; D' <D。

[0081] Then, the actual proportion of BK is equal to the actual proportion; the actual proportion of BE is greater than the initial proportion; the actual proportion of VI is greater than the initial proportion; and the actual proportion of VO is less than the initial proportion.

[0082] The total increase length of the AC's TXOP Limit that satisfies each of the STAs is equal to the total decrease length of the AC's TXOP Limit.

[0083] In an embodiment of the present invention, a diagonal table is constructed based on the actual ratio and initial ratio of each AC of the STA, and each cell on the diagonal in the diagonal table represents the size relationship between the actual ratio and the initial ratio of each AC; therefore, the size relationship between the actual ratio and the initial ratio of each AC can be intuitively obtained according to the constructed diagonal table.

[0084] Specifically, determining the relationship between the initial ratio and the actual ratio of each AC of each STA according to the table further includes:

[0085] All the ACs whose actual ratio is greater than the initial ratio form a first group of ACs, and all the ACs whose actual ratio is less than the initial ratio form a second group of ACs;

[0086] Subtract N from the actual transmission opportunity limit time to be adjusted of each AC in the first group of ACs to obtain a first group of adjusted ACs; wherein the number of ACs included in the first group of ACs is a;

[0087] Wherein, a, N are integers greater than or equal to 0;

[0088] Add M to the actual transmission opportunity limit time to be adjusted for each AC in the second group of ACs to obtain the second group of adjusted ACs; where the number of ACs included in the second group of ACs is b;

[0089] where a * N = b * M.

[0090] b and M are integers greater than or equal to 0;

[0091] Further, (a, b) can be (1, 1), (1, 2), (1, 3) or (2, 2), etc. For example, based on Table 2, adjust the TXOPLimit length of ACs:

[0092] During the adjustment process, the principle to be followed is: Total increase in TXOP Limit = Total decrease in TXOP Limit; and since the field filled with TXOP Limit in the EEE 802.11 protocol is an integer and the unit is 32 μs; therefore, subsequent adjustments are made according to the increase and decrease of integers.

[0093] First, since A = A', the actual TXOP Limit corresponding to BK does not need to be adjusted;

[0094] Second, since B' > B, C' > C, D' < D, first subtract 1 from the actual TXOP Limit numbers corresponding to BE and VI (i.e., N = 1), and add 2 to the actual TXOP Limit number corresponding to VO (i.e., M = 2) (in order to satisfy that the total increase in TXOP Limit corresponding to the ACs with increased TXOP Limit = the total decrease in TXOP Limit corresponding to the ACs with decreased TXOP Limit).

[0095] It should be noted that both N and M are TXOP Limit indication coefficients, and TXOP Limit = indication coefficient * 32 μs.

[0096] In an optional embodiment of the present invention, the obtaining of the traffic duration required for the STA to upload data to each AC includes:

[0097] Count the number of times each AC shares the transmission opportunity using the reverse protocol.

[0098] Generally, when using the reverse protocol or TXOP sharing, it means that there is remaining time in the current TXOP for the current AC, that is: the TXOP Limit at that time is excessive for the data frames of the AC corresponding at that time; therefore, it is expected that during the next adjustment, the TXOP Limit lengths of these ACs with excessive TXOP Limit will be correspondingly reduced.

[0099] In the embodiment of the present invention, the actual proportion of ACs is adjusted secondary according to the counted lengths of reverse protocols and TXOP sharing used by each AC.

[0100] Specifically, counting the number of times each AC uses the reverse protocol to share the transmission opportunity includes:

[0101] Obtaining the number of times each of the ACs in the first group of adjusted ACs uses the reverse protocol to share the transmission opportunity;

[0102] Comparing the number of times each of the ACs in the first group of adjusted ACs uses the reverse protocol to share the transmission opportunity, and obtaining a comparison result;

[0103] Based on the comparison result, an actual transmission opportunity limit time of each of the ACs in the first group of adjusted ACs is adjusted.

[0104] Further, the adjusting the to-be-adjusted actual transmission opportunity limit time of each of the ACs in the first group of adjusted ACs based on the comparison result includes:

[0105] Subtract E from the actual transmission opportunity limit time to be adjusted of the AC that shares the reverse protocol with the transmission opportunity more times; wherein the number of the ACs that share the reverse protocol with the transmission opportunity more times is c;

[0106] Add F to the actual transmission opportunity limit time to be adjusted of each AC in the second group of adjusted ACs;

[0107] Among them, c*E=b*F.

[0108] c, E, and F are integers greater than or equal to 0.

[0109] For example, adjust the TXOP Limit length of the AC in Table 2 twice:

[0110] First, the number of times B' and C' use the reverse protocol and TXOP sharing (denoted as T) is compared, and for the AC with the larger number, 1 is subtracted.

[0111] Assume that the corresponding T(B) of B' is 3, the corresponding T(C) of C' is 1, and T(B)>T(C); then the actual TXOP Limit of the adjusted B' is reduced by 1.

[0112] In addition, the adjusted actual TXOP Limit corresponding to D' is increased by 1 (the total increase in TXOP Limit corresponding to the AC with increased TXOP Limit=the total decrease in TXOP Limit corresponding to the AC with decreased TXOP Limit).

[0113] The above embodiments of the present invention may be implemented based on the following implementations (in actual application scenarios, they may also be implemented based on other implementations, which are not specifically limited in the embodiments of the present invention):

[0114] Specifically, in an actual application scenario, for example, the initial TXOP Limit lengths of four ACs are:

[0115] BK's TXOP Limit = 2.528;

[0116] BE's TXOP Limit = 2.528;

[0117] VI's TXOP Limit = 4.096;

[0118] VO TXOP Limit = 2.080;

[0119] Since TXOP Limit is an integer multiple of 32μs, the default TXOP Limits of BK, BE, VI, and VO are all integers, namely 79, 79, 128, and 65 respectively.

[0120] If A=BK, B=BE, C=VI, and D=VO, the adjusted TXOP Limit numbers are 79, 77 (79-2), 127 (128-1), and 68 (65+3).

[0121] For the four ACs of a STA, the total constraint time to meet its TXOP Limit remains unchanged, but the proportion of each internal AC is adjusted.

[0122] In an optional embodiment of the present invention, if the reverse protocol of each AC in the first group of adjusted ACs is shared with the same number of transmission opportunities, no secondary adjustment is performed.

[0123] Therefore, the embodiments of the present invention can optimize the flow limits of different services in the network within the same time period to achieve better throughput and shorter access delay.

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

[0125] like Figure 2 The embodiment of the present invention further provides a transmission opportunity adjustment device 200, comprising:

[0126] The embodiment of the present invention further provides a transmission opportunity adjustment device 200, comprising:

[0127] The first acquisition module 201 is used to obtain an initial ratio of the default transmission opportunity restriction time of each AC to the total constraint time;

[0128] The second acquisition module 202 is used to obtain the actual ratio of the actual transmission opportunity restriction time of each AC to the total constraint time based on the real-time traffic status;

[0129] A comparison module 203 is used to compare the actual ratio with the initial ratio, and if the actual ratio is not equal to the initial ratio, determine the actual transmission opportunity limit time as the actual transmission opportunity limit time to be adjusted;

[0130] The adjustment module 204 is used to adjust the actual transmission opportunity limit time to be adjusted of each AC, obtain the updated actual transmission opportunity limit time, and then store the updated actual transmission opportunity limit time in Beacon or a management frame containing a Beacon field for broadcast announcement.

[0131] Optionally, obtaining the actual ratio of the actual transmission opportunity restriction time of each AC to the total constraint time based on the real-time traffic status includes:

[0132] Obtain the traffic duration required for the STA to upload data to each of the ACs;

[0133] The actual ratio of the traffic duration to the total constraint duration is obtained.

[0134] Optionally, comparing the actual ratio and the initial ratio includes:

[0135] If the actual ratio of the AC is equal to the initial ratio, the actual transmission opportunity restriction time of the AC is not adjusted.

[0136] Optionally, the adjusting the to-be-adjusted actual transmission opportunity limit time of each of the ACs includes:

[0137] All the ACs whose actual ratio is greater than the initial ratio form a first group of ACs, and all the ACs whose actual ratio is less than the initial ratio form a second group of ACs;

[0138] Subtract N from the actual transmission opportunity limit time to be adjusted of each AC in the first group of ACs to obtain a first group of adjusted ACs; wherein the number of ACs included in the first group of ACs is a;

[0139] Add M to the actual transmission opportunity limit time to be adjusted of each AC in the second group of ACs to obtain a second group of adjusted ACs; wherein the number of ACs included in the second group of ACs is b;

[0140] Wherein, N and M are positive integers, and a*N=b*M.

[0141] Optionally, obtaining the flow duration required for the STA to upload data to each of the ACs includes:

[0142] The number of times each AC uses the reverse protocol to share the transmission opportunity is counted.

[0143] Optionally, the counting of the number of times each AC uses the reverse protocol to share the transmission opportunity includes:

[0144] Obtaining the number of times each of the ACs in the first group of adjusted ACs uses the reverse protocol to share the transmission opportunity;

[0145] Comparing the number of times each of the ACs in the first group of adjusted ACs uses the reverse protocol to share the transmission opportunity, and obtaining a comparison result;

[0146] Based on the comparison result, the to-be-adjusted actual transmission opportunity limit time of each of the ACs in the first group of adjusted ACs is adjusted.

[0147] Optionally, adjusting the to-be-adjusted actual transmission opportunity limit time of each AC in the first group of adjusted ACs based on the comparison result includes:

[0148] Subtract E from the actual transmission opportunity limit time to be adjusted of the AC that shares the reverse protocol with the transmission opportunity more times; wherein the number of the ACs that share the reverse protocol with the transmission opportunity more times is c;

[0149] Add F to the actual transmission opportunity limit time to be adjusted of each AC in the second group of adjusted ACs;

[0150] Wherein, E and F are positive integers, and c*E=b*F.

[0151] 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.

[0152] 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.

[0153] 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.

[0154] 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.

[0155] 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.

[0156] 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.

[0157] 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.

[0158] 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.

[0159] 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.

[0160] 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.

[0161] 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 a transmission opportunity, characterized in that: include: Get the initial ratio of the default transmission opportunity restriction time of each AC to the total constraint time; Based on the real-time traffic status, obtain the actual ratio of the actual transmission opportunity restriction time of each AC to the total constraint time; Comparing the actual ratio with the initial ratio, if the actual ratio is not equal to the initial ratio, determining the actual transmission opportunity limit time as the actual transmission opportunity limit time to be adjusted; The actual transmission opportunity limit time to be adjusted of each AC is adjusted to obtain an updated actual transmission opportunity limit time, and then the updated actual transmission opportunity limit time is stored in a Beacon or a management frame containing a Beacon field for broadcast announcement.

2. The method according to claim 1, characterized in that The obtaining, based on the real-time traffic status, an actual ratio of the actual transmission opportunity restriction time of each AC to the total constraint time includes: Obtain the traffic duration required for the STA to upload data to each of the ACs; The actual ratio of the traffic duration to the total constraint duration is obtained.

3. The method according to claim 1, characterized in that The comparing the actual ratio and the initial ratio includes: If the actual ratio of the AC is equal to the initial ratio, the actual transmission opportunity restriction time of the AC is not adjusted.

4. The method according to claim 3, characterized in that The adjusting the to-be-adjusted actual transmission opportunity limit time of each of the ACs includes: All the ACs whose actual ratio is greater than the initial ratio form a first group of ACs, and all the ACs whose actual ratio is less than the initial ratio form a second group of ACs; Subtract N from the actual transmission opportunity limit time to be adjusted of each AC in the first group of ACs to obtain a first group of adjusted ACs; wherein the number of ACs included in the first group of ACs is a; Add M to the actual transmission opportunity limit time to be adjusted of each AC in the second group of ACs to obtain a second group of adjusted ACs; wherein the number of ACs included in the second group of ACs is b; Wherein, N and M are positive integers, and a*N=b*M.

5. The method according to claim 2, characterized in that: The obtaining of the flow duration required for the STA to upload data to each of the ACs includes: The number of times each AC uses the reverse protocol to share the transmission opportunity is counted.

6. The method according to claim 5, characterized in that The counting of the number of times each AC uses the reverse protocol to share the transmission opportunity includes: Obtaining the number of times each of the ACs in the first group of adjusted ACs uses the reverse protocol to share the transmission opportunity; Comparing the number of times each of the ACs in the first group of adjusted ACs uses the reverse protocol to share the transmission opportunity, and obtaining a comparison result; Based on the comparison result, the to-be-adjusted actual transmission opportunity limit time of each of the ACs in the first group of adjusted ACs is adjusted.

7. The method according to claim 6, characterized in that The adjusting, based on the comparison result, the to-be-adjusted actual transmission opportunity limit time of each of the ACs in the first group of adjusted ACs comprises: Subtract E from the actual transmission opportunity limit time to be adjusted of the AC that shares the reverse protocol with the transmission opportunity more times; wherein the number of the ACs that share the reverse protocol with the transmission opportunity more times is c; Add F to the actual transmission opportunity limit time to be adjusted of each AC in the second group of adjusted ACs; Wherein, E and F are positive integers, and c*E=b*F.

8. A transmission opportunity adjustment device, characterized in that: include: A first acquisition module is used to obtain an initial ratio of the default transmission opportunity restriction time of each AC to the total constraint time; A second acquisition module is used to obtain the actual ratio of the actual transmission opportunity restriction time of each AC to the total constraint time based on the real-time traffic status; A comparison module, configured to compare the actual ratio with the initial ratio, and if the actual ratio is not equal to the initial ratio, determine the actual transmission opportunity limit time as the actual transmission opportunity limit time to be adjusted; The adjustment module is used to adjust the actual transmission opportunity limit time to be adjusted for each AC, obtain the updated actual transmission opportunity limit time, and then store the updated actual transmission opportunity limit time in Beacon or a management frame containing a Beacon field for broadcast announcement.

9. 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 7 when executing the computer program.

10. 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 7.

Citation Information

Patent Citations

  • Method for power saving in wireless local area network and apparatus for the same

    CN102550089A

  • Distributed access method based on service priority improvement

    CN106413112A