Method and device for determining optimal access category
By calculating the access category priority coefficient and index of wireless client, determining the optimal access category, the problem of poor service quality caused by unreasonable selection of wireless client access category is solved and the service quality is improved.
Patent Information
- Application Number
- CN202111456338.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-01
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2041-12-01
AI Technical Summary
In the prior art, the unreasonable selection of wireless clients to access the access category leads to poor service quality.
By calculating the priority coefficients of each access category of the frame to be transmitted, a priority coefficient group is formed, and the access category index is determined based on these coefficient groups, and the access category with the largest access category index is finally selected as the optimal access category.
It improves the service quality of wireless clients and solves the problem of poor service quality caused by unreasonable selection of access categories.
Smart Images

Figure CN114302448B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless clients, and in particular to a method, device, computer-readable storage medium, and processor for determining an optimal access category. Background Art
[0002] In the 802.11ax protocol, a non-AP STA can transmit a Buffer Status Report (BSR) to assist the AP in allocating UL MU channel resources. HE STAs indicate whether they support BSR through the BSR support field in the HE MAC Capabilities Information. Non-AP STAs have two ways to upload BSRs: one is unsolicited, in which the buffer status is reported by the value of the Queue Size for a given traffic identifier (TID) in the QoS control field of a QoS Null frame or QoS Data frame sent to the AP, or in the BSRControl subfield of a QoS Null frame, QoS Data frame, or management frame sent to the AP, i.e., implicit transmission; the other is requested, in which the buffer status is reported in the above frame as a response to a BSRPTrigger frame sent by the AP, i.e., explicit transmission.
[0003] like Figure 1 As shown in FIG, the buffer status report transmitted in the BSR Control field consists of an ACI bitmap, a Delta TID, a high priority AC, and two queue sizes.
[0004] The ACI Bitmap and Delta TID together determine how many TIDs have buffered traffic that needs to be transmitted.
[0005] The Scaling Factor subfield indicates the buffer unit of the Queue Size High and Queue Size All subfields.
[0006] The Queue Size All subfield indicates the buffered traffic size of all access category ACs.
[0007] The ACI High subfield indicates the highest priority in the cached traffic, and the Queue Size High subfield indicates how much cached data there is for the highest priority ACI.
[0008] The protocol does not explicitly specify the selection of the highest priority access category AC for buffered traffic reports, that is, the setting of the ACI High subfield in the BSR Control subfield.
[0009] The above information disclosed in the background technology section is only used to enhance the understanding of the background technology of the technology described in this article. Therefore, the background technology may contain certain information that does not form the prior art known in this country to those skilled in the art. Summary of the Invention
[0010] The main purpose of the present application is to provide a method, device, computer-readable storage medium and processor for determining an optimal access category, so as to solve the problem in the prior art that poor service quality is caused by unreasonable access category selection by wireless clients.
[0011] According to one aspect of an embodiment of the present invention, a method for determining an optimal access category is provided, comprising: calculating a priority coefficient for each access category of a frame to be transmitted to obtain at least one priority coefficient group, wherein the access categories include voice, video, best effort, and background flow; one influence parameter corresponds to one priority coefficient group, and one priority coefficient group includes multiple priority coefficients, wherein the priority coefficients correspond one-to-one to the access categories; the priority coefficient is a ratio of a first parameter value to a second parameter value, wherein the first parameter value is less than the second parameter value, and one of the first parameter value and the second parameter value is selected from the following: a maximum value of influence parameter values corresponding to multiple access categories corresponding to the same influence parameter, and a data volume of the frame to be transmitted; the influence parameter value is a value of the influence parameter corresponding to each access category, the other of the first parameter value and the second parameter value is the influence parameter value corresponding to the access category, and the influence parameter is a parameter that affects the transmission of data of each access category in the transmission frame; determining an access category index corresponding to each access category based on at least one set of the priority coefficient groups, wherein the access category index is the sum of the priority coefficients of the corresponding access categories; and determining the access category with the largest access category index as the optimal access category.
[0012] Optionally, determining the access category index corresponding to each access category based on at least one group of the priority coefficient groups includes: when there are multiple influencing parameters, calculating the sum of multiple influencing coefficients corresponding to the access category to obtain the access category index corresponding to each access category, the influencing coefficient corresponding to one access category corresponds one-to-one to the influencing parameter, and the influencing coefficient is the product of the priority coefficient of the access category and the weight of the corresponding influencing parameter.
[0013] Optionally, the influencing parameter is the priority base of the access category, the priority coefficient group includes a first priority coefficient group, and calculating the priority coefficient of each access category of the frame to be transmitted to obtain at least one priority coefficient group includes: obtaining the priority base of each access category of the frame to be transmitted to obtain multiple priority bases, the access category includes a first access category and a second access category, the priority of the first access category is higher than the priority of the second access category, and the priority base corresponding to the first access category is greater than the priority base corresponding to the second access category; calculating the ratio of the priority base corresponding to each access category to the maximum priority base to obtain the first priority coefficient of each access category to form the first priority coefficient group, and the maximum priority base is the largest priority base among the priority bases corresponding to each access category.
[0014] Optionally, the influencing parameter is the waiting transmission time, the waiting transmission time is the waiting transmission time of the frame to be transmitted corresponding to the access category, the priority coefficient group includes a second priority coefficient group, and the priority coefficient of each access category of the frame to be transmitted is calculated to obtain at least one priority coefficient group including: obtaining the waiting transmission time of each access category of the frame to be transmitted to obtain multiple waiting transmission times; calculating the ratio of the waiting transmission time corresponding to each access category to the maximum waiting transmission time to obtain the second priority coefficient of each access category to form the second priority coefficient group, and the maximum waiting transmission time is the largest waiting transmission time among the waiting transmission times corresponding to each access category.
[0015] Optionally, when there are multiple frames to be transmitted corresponding to the access category, the waiting transmission time is a weighted average or maximum value of the waiting transmission time of multiple frames to be transmitted.
[0016] Optionally, the influencing parameter is the timeout duration, and the timeout duration is the duration between the current time and the start timeout time of the frame to be transmitted corresponding to the access category. The priority coefficient group includes a third priority coefficient group, and the priority coefficients of each access category of the frame to be transmitted are calculated to obtain at least one priority coefficient group, including: obtaining the timeout duration of each access category of the frame to be transmitted to obtain multiple timeout durations; calculating the ratio of the minimum timeout duration to the timeout duration corresponding to each access category to obtain the third priority coefficient group of each access category to form the third priority coefficient group, and the minimum timeout duration is the smallest timeout duration among the timeout durations corresponding to each access category.
[0017] Optionally, when there are multiple frames to be transmitted corresponding to the access category, the timeout duration is a weighted average or minimum value of the timeout durations of the multiple frames to be transmitted.
[0018] Optionally, the influencing parameter is the total cache flow, the total cache flow is the sum of the cache flows of each of the frames to be transmitted corresponding to the access category, the priority coefficient group includes a fourth priority coefficient group, and the priority coefficients of each access category of the frames to be transmitted are calculated to obtain at least one priority coefficient group, including: obtaining the total cache flow of each access category of the frames to be transmitted to obtain multiple total cache flows; calculating the ratio of the total cache flow corresponding to each access category to the maximum total cache flow to obtain the fourth priority coefficient group of each access category to form the fourth priority coefficient group, and the maximum total cache flow is the largest total cache flow among the total cache flows corresponding to each access category.
[0019] Optionally, the influencing parameter is the cache flow of retransmitted data, the cache flow of retransmitted data is the sum of the cache flow of retransmitted data of each of the frames to be transmitted corresponding to the access category, the priority coefficient group includes a fifth priority coefficient group, and the priority coefficient of each access category of the frame to be transmitted is calculated to obtain at least one priority coefficient group including: obtaining the cache flow of the retransmitted data of each access category of the frame to be transmitted to obtain a plurality of cache flows of the retransmitted data; calculating the ratio of the cache flow of the retransmitted data corresponding to the access category to the corresponding total cache flow to obtain the fifth priority coefficient group of each access category to form the fifth priority coefficient group, and the total cache flow is the sum of the cache flow of each of the frames to be transmitted corresponding to the access category.
[0020] According to another aspect of an embodiment of the present invention, a device for determining an optimal access category is further provided, comprising: a first calculation unit, configured to calculate a priority coefficient for each access category of a frame to be transmitted, and obtain at least one priority coefficient group, wherein the access categories include voice, video, best effort, and background flow, one impact parameter corresponds to one priority coefficient group, and one priority coefficient group includes multiple priority coefficients, each priority coefficient corresponds to the access category one by one, and the priority coefficient is a ratio of a first parameter value to a second parameter value, wherein the first parameter value is less than the second parameter value, and one of the first parameter value and the second parameter value is selected from the following: multiple priority coefficients corresponding to the same impact parameter The maximum value of the influencing parameter value corresponding to the access category and the amount of data of the frame to be transmitted, the influencing parameter value is the numerical value of the influencing parameter corresponding to each access category, the other of the first parameter value and the second parameter value is the influencing parameter value corresponding to the access category, and the influencing parameter is a parameter that affects the transmission of data of each access category in the transmission frame; a second calculation unit is used to determine the access category index corresponding to each access category based on at least one group of the priority coefficient groups, the access category index being the sum of the priority coefficients of the corresponding access categories; a determination unit is used to determine the access category with the largest access category index as the optimal access category.
[0021] According to yet another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the methods described above.
[0022] According to yet another aspect of the embodiments of the present invention, a processor is provided, wherein the processor is configured to run a program, wherein any one of the methods is executed when the program is run.
[0023] In an embodiment of the present invention, the method for determining the optimal access category includes: first, calculating priority coefficients for each access category of a frame to be transmitted to obtain at least one priority coefficient group, where the access categories include voice, video, best effort, and background traffic; one influence parameter corresponds to one priority coefficient group, and one priority coefficient group includes multiple priority coefficients. The priority coefficients correspond one-to-one to the access categories; the priority coefficient is a ratio of a first parameter value to a second parameter value, where the first parameter value is less than the second parameter value, and one of the first parameter value and the second parameter value is selected from the following: a maximum value of influence parameter values corresponding to multiple access categories corresponding to the same influence parameter, and the data volume of the frame to be transmitted; the influence parameter value is a value of the influence parameter corresponding to each access category; the other of the first parameter value and the second parameter value is the influence parameter value corresponding to the access category; and the influence parameter is a parameter that affects the transmission of data for each access category in the transmission frame; then, based on at least one priority coefficient group, an access category index corresponding to each access category is finally determined, where the access category index is the sum of the priority coefficients of the corresponding access categories; and the access category with the largest access category index is determined as the optimal access category. The method for determining the optimal access category calculates the priority coefficients of each access category of the frame to be transmitted to obtain at least one priority coefficient group. Based on the at least one priority coefficient group, the access category index corresponding to each access category is finally determined, and the access category with the largest access category index is determined as the optimal access category, so as to solve the problem of poor service quality caused by unreasonable access category selection by wireless clients in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings that constitute part of this application are used to provide a further understanding of this application. The illustrative embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation on this application. In the drawings:
[0025] Figure 1 Figure 1 shows a buffer status report transmitted in the BSR Control field;
[0026] Figure 2 A flowchart of a method for determining an optimal access category according to an embodiment of the present application is shown;
[0027] Figure 3 A schematic diagram of a device for determining an optimal access category according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0028] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0029] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element or intervening elements may be present. Moreover, in the specification and claims, when it is described that an element is "connected to" another element, the element may be "directly connected to" the other element or "connected to" the other element through a third element.
[0032] For ease of description, some nouns or terms involved in the embodiments of the present application are explained below:
[0033] AP: wireless access point, which is the creator of a wireless network and the central node of the network. The wireless router used in a general home or office is an AP;
[0034] STA: wireless client, that is, the terminal connected to the wireless network.
[0035] As mentioned in the background art, in the prior art, wireless clients select access categories irrationally, resulting in poor service quality. To solve the above problem, a typical implementation of the present application provides a method for determining an optimal access category.
[0036] According to an embodiment of the present application, a method for determining an optimal access category is provided.
[0037] Figure 2FIG. 1 is a flow chart of a method for determining an optimal access category according to an embodiment of the present application. Figure 2 As shown, the method includes the following steps:
[0038] Step S101: Calculate a priority coefficient for each access category of a frame to be transmitted to obtain at least one priority coefficient group. The access categories include voice, video, best effort, and background flow. One impact parameter corresponds to one priority coefficient group. One priority coefficient group includes multiple priority coefficients. The priority coefficients correspond one-to-one to the access categories. The priority coefficient is a ratio of a first parameter value to a second parameter value. The first parameter value is less than the second parameter value. One of the first parameter value and the second parameter value is selected from the following: a maximum value of impact parameter values corresponding to multiple access categories corresponding to the same impact parameter, and a data volume of the frame to be transmitted. The impact parameter value is a value of the impact parameter corresponding to each access category. The other of the first parameter value and the second parameter value is the impact parameter value corresponding to the access category. The impact parameter is a parameter that affects the transmission of data of each access category in the transmission frame.
[0039] Step S102: determining an access category index corresponding to each of the access categories based on at least one set of the priority coefficients, the access category index being the sum of the priority coefficients of the corresponding access categories;
[0040] Step S103: Determine the access category with the largest access category index as the optimal access category.
[0041] The method for determining the optimal access category includes first calculating a priority coefficient for each access category of a frame to be transmitted to obtain at least one priority coefficient group. The access categories include voice, video, best effort, and background traffic. One influence parameter corresponds to one priority coefficient group. A priority coefficient group includes multiple priority coefficients. The priority coefficients correspond one-to-one to the access categories. The priority coefficient is the ratio of a first parameter value to a second parameter value. The first parameter value is less than the second parameter value. One of the first parameter value and the second parameter value is selected from the following: the maximum value of the influence parameter values corresponding to multiple access categories corresponding to the same influence parameter, and the data volume of the frame to be transmitted. The influence parameter value is the value of the influence parameter corresponding to each access category. The other of the first parameter value and the second parameter value is the influence parameter value corresponding to the access category. The influence parameter is a parameter that affects the transmission of data for each access category in the transmission frame. Then, based on at least one priority coefficient group, an access category index corresponding to each access category is finally determined. The access category index is the sum of the priority coefficients for the corresponding access categories. The access category with the largest access category index is determined as the optimal access category. The method for determining the optimal access category calculates the priority coefficients of each access category of the frame to be transmitted to obtain at least one priority coefficient group. Based on the at least one priority coefficient group, the access category index corresponding to each access category is finally determined, and the access category with the largest access category index is determined as the optimal access category, so as to solve the problem of poor service quality caused by unreasonable access category selection by wireless clients in the prior art.
[0042] The access categories of frames to be transmitted can be divided into four access categories according to the data transmission mode: voice, video, best effort and background flow.
[0043] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0044] In one embodiment of the present application, determining the access category index corresponding to each of the above-mentioned access categories based on at least one group of the above-mentioned priority coefficient groups includes: in the case where there are multiple influencing parameters, calculating the sum of multiple influencing coefficients corresponding to the above-mentioned access categories to obtain the access category index corresponding to each of the above-mentioned access categories, the above-mentioned influencing coefficient corresponding to one of the above-mentioned access categories corresponds one-to-one to the above-mentioned influencing parameters, and the above-mentioned influencing coefficient is the product of the above-mentioned priority coefficient of the above-mentioned access category and the weight of the corresponding above-mentioned influencing parameter. Specifically, the influencing coefficient is obtained by multiplying the priority coefficient of the access category by the weight of the corresponding above-mentioned influencing parameter, and then the access category index corresponding to each of the above-mentioned access categories is obtained by calculating the sum of multiple influencing coefficients corresponding to the above-mentioned access categories.
[0045] In one embodiment of the present application, the above-mentioned influencing parameter is the priority base of the access category, the above-mentioned priority coefficient group includes a first priority coefficient group, and calculating the priority coefficient of each access category of the frame to be transmitted to obtain at least one priority coefficient group includes: obtaining the priority base of each access category of the above-mentioned frame to be transmitted to obtain multiple priority bases, the above-mentioned access categories include a first access category and a second access category, the priority of the above-mentioned first access category is higher than the priority of the above-mentioned second access category, and the above-mentioned priority base corresponding to the above-mentioned first access category is greater than the above-mentioned priority base corresponding to the above-mentioned second access category; calculating the ratio of the above-mentioned priority base corresponding to each of the above-mentioned access categories to the maximum priority base to obtain the first priority coefficient of each of the above-mentioned access categories to form the above-mentioned first priority coefficient group, and the above-mentioned maximum priority base is the largest priority base among the above-mentioned priority bases corresponding to each of the above-mentioned access categories.
[0046] Specifically, for each access category, there is a priority level distinction. For example, for the four access categories, the access category priorities are ranked from high to low as follows: voice, video, best effort, and background flow. When the STA determines which service flow has the highest priority, it can take the basic priority of each service flow as one of the factors to consider. The higher the priority of the service flow, the higher the basic priority coefficient can be assigned. For example, for the four access categories, they are ranked from high to low in priority and assigned basic priority coefficients of 4, 3, 2, and 1, respectively. The basic priority coefficient of each access category is denoted as C. Basic,ACI , C Basic,max is the basic priority coefficient value of the access category with the highest basic priority coefficient. Let P ACI is the priority coefficient of the access category corresponding to ACI (AC Index), P ACI It can be calculated as follows:
[0047]
[0048] In one embodiment of the present application, the above-mentioned influencing parameter is the waiting transmission time, the above-mentioned waiting transmission time is the waiting transmission time of the above-mentioned frame to be transmitted corresponding to the above-mentioned access category, the above-mentioned priority coefficient group includes a second priority coefficient group, and the priority coefficient of each access category of the frame to be transmitted is calculated to obtain at least one priority coefficient group including: obtaining the above-mentioned waiting transmission time of each of the above-mentioned access categories of the above-mentioned frame to be transmitted to obtain multiple above-mentioned waiting transmission times; calculating the ratio of the above-mentioned waiting transmission time corresponding to each of the above-mentioned access categories to the maximum waiting transmission time to obtain the second priority coefficient of each of the above-mentioned access categories to form the above-mentioned second priority coefficient group, and the above-mentioned maximum waiting transmission time is the maximum above-mentioned waiting transmission time among the above-mentioned waiting transmission times corresponding to each of the above-mentioned access categories.
[0049] Specifically, for each access category, the waiting time for transmission can also be used as a criterion for judging the priority of the service category. The longer the waiting time, the more priority it should be served in order to achieve fairness, so it will be given a higher priority coefficient. ACI,waited Indicates the time the service category ACI has been waiting, T max,waited Indicates the maximum value of ACI waiting time for all service categories. ACI It can be calculated as follows:
[0050]
[0051] However, it should be noted that for each access category, the waiting time of the frames, such as non-aggregated MPDU or A-MPDU, is not necessarily the same, so the above T ACI,waited It needs to be calculated through certain strategies, such as: T ACI,waited The maximum queuing time in the AC queue can be taken; or, T ACI,waited It can be a statistical value, such as T for voice services. ACI,waited =T is equal to the statistical average waiting time of all frames. Since general frame transmission is implemented by software linking multiple frames as a frame transmission sequence, the average waiting time can be calculated according to the waiting time of each linked frame transmission sequence and the frame traffic size of each frame transmission sequence. For ACI, the waiting time of the i-th frame transmission sequence is T Sequence,i,waited , the buffer size of the i-th frame transmission sequence is S Sequence,i,buffer , there are a total of N frame transmission sequences. The statistical average of the ACI waiting time can be calculated as follows:
[0052]
[0053] In one embodiment of the present application, when there are multiple frames to be transmitted corresponding to the access category, the waiting transmission time is a weighted average or maximum value of the waiting transmission time of the multiple frames to be transmitted.
[0054] In one embodiment of the present application, the above-mentioned influencing parameter is the timeout duration, the above-mentioned timeout duration is the duration between the current time and the start timeout time of the above-mentioned frame to be transmitted corresponding to the above-mentioned access category, the above-mentioned priority coefficient group includes a third priority coefficient group, and the priority coefficient of each access category of the frame to be transmitted is calculated to obtain at least one priority coefficient group including: obtaining the above-mentioned timeout duration of each access category of the above-mentioned frame to be transmitted to obtain multiple timeout durations; calculating the ratio of the minimum timeout duration to the above-mentioned timeout duration corresponding to each of the above-mentioned access categories to obtain the third priority coefficient group of each of the above-mentioned access categories to form the above-mentioned third priority coefficient group, and the above-mentioned minimum timeout duration is the minimum timeout duration among the above-mentioned timeout durations corresponding to each of the above-mentioned access categories.
[0055] Specifically, for each access category, the shorter the timeout period, the earlier it should be served. ACI,timeout Indicates how long until ACI times out, T min,timeout Indicates the minimum value of all ACI timeout periods, P ACI It can be calculated as follows:
[0056]
[0057] Similarly, for the same service category, the timeout duration of different frames is different. According to the idea in 2, T can be calculated as follows: ACI,timeout , T ACI,timeout The minimum timeout value in the access category queue can be taken, or T ACI,timeout It can be a statistical average value. For ACI, the timeout duration of the i-th frame transmission sequence is T Sequence,i,timeout , the buffer size of the i-th frame transmission sequence is S Sequence,i,buffer , there are a total of N frame transmission sequences. The statistical average of the ACI timeout duration can be calculated as follows:
[0058]
[0059] In one embodiment of the present application, when there are multiple frames to be transmitted corresponding to the access category, the timeout duration is a weighted average or minimum value of the timeout durations of the multiple frames to be transmitted.
[0060] In one embodiment of the present application, the above-mentioned influencing parameter is the total cache flow, the above-mentioned total cache flow is the sum of the cache flows of the above-mentioned frames to be transmitted corresponding to the above-mentioned access categories, the above-mentioned priority coefficient group includes a fourth priority coefficient group, and the priority coefficients of the above-mentioned access categories of the frames to be transmitted are calculated to obtain at least one priority coefficient group, including: obtaining the above-mentioned total cache flow of the above-mentioned access categories of the above-mentioned frames to be transmitted, and obtaining multiple above-mentioned total cache flows; calculating the ratio of the above-mentioned total cache flow corresponding to each of the above-mentioned access categories to the maximum total cache flow, and obtaining the fourth priority coefficient group of each of the above-mentioned access categories to form the above-mentioned fourth priority coefficient group, and the above-mentioned maximum total cache flow is the maximum above-mentioned total cache flow among the above-mentioned total cache flows corresponding to each of the above-mentioned access categories.
[0061] Specifically, for each access category, the more cached traffic, the higher the priority should be. ACI,buffer Indicates the cache traffic size of ACI, N max,buffer Indicates the maximum cache traffic of ACI at this STA, P ACI It can be calculated as follows:
[0062]
[0063] In one embodiment of the present application, the above-mentioned influencing parameter is the cache flow of the retransmitted data, the cache flow of the above-mentioned retransmitted data is the sum of the cache flow of the retransmitted data of each of the above-mentioned frames to be transmitted corresponding to the above-mentioned access category, the above-mentioned priority coefficient group includes a fifth priority coefficient group, and the priority coefficient of each access category of the frame to be transmitted is calculated to obtain at least one priority coefficient group including: obtaining the cache flow of the above-mentioned retransmitted data of each access category of the above-mentioned frame to be transmitted to obtain a plurality of cache flows of the above-mentioned retransmitted data; calculating the ratio of the cache flow of the above-mentioned retransmitted data corresponding to the above-mentioned access category to the corresponding total cache flow to obtain the fifth priority coefficient group of each of the above-mentioned access categories to form the above-mentioned fifth priority coefficient group, and the above-mentioned total cache flow is the sum of the cache flow of each of the above-mentioned frames to be transmitted corresponding to the above-mentioned access category.
[0064] Specifically, for each access category, the size of the retransmission data buffer flow also affects the priority of the service category. The larger the amount of retransmission data, the higher the priority it should be served. ACI,retryBuffer Indicates the size of the retransmission data buffer flow in the ACI, P ACI It can be calculated as follows:
[0065]
[0066] Finally, each impact factor is assigned a weight value W Basic 、W waited 、W timeout 、W buffer 、W retry,and
[0067] W wited +W timeout +W buffer +W retry =1
[0068] Then P ACI It can be calculated as follows, and the final P ACI The value range is between 0 and 1.
[0069]
[0070] The present application also provides an optimal access category determination device. It should be noted that the optimal access category determination device of the present application can be used to execute the optimal access category determination method provided in the present application. The following describes the optimal access category determination device provided in the present application.
[0071] Figure 3 Schematic diagram of a device for determining an optimal access category according to an embodiment of the present application. Figure 3 As shown, the device includes:
[0072] A first calculation unit 10 is configured to calculate a priority coefficient for each access category of a frame to be transmitted, and obtain at least one priority coefficient group, where the access categories include voice, video, best effort, and background flow; one influence parameter corresponds to one priority coefficient group, and one priority coefficient group includes multiple priority coefficients. The priority coefficients correspond one-to-one to the access categories; the priority coefficient is a ratio of a first parameter value to a second parameter value, where the first parameter value is less than the second parameter value, and one of the first parameter value and the second parameter value is selected from the following: a maximum value of influence parameter values corresponding to multiple access categories corresponding to the same influence parameter, and a data volume of the frame to be transmitted; the influence parameter value is a value of the influence parameter corresponding to each access category; the other of the first parameter value and the second parameter value is the influence parameter value corresponding to the access category; and the influence parameter is a parameter that affects the transmission of data of each access category in the transmission frame;
[0073] A second calculation unit 20 is configured to determine an access category index corresponding to each of the access categories based on at least one set of the priority coefficients, the access category index being the sum of the priority coefficients of the corresponding access categories;
[0074] The determining unit 30 is configured to determine the access category with the largest access category index as the optimal access category.
[0075] In the above-mentioned device for determining the optimal access category, the first calculation unit is used to calculate the priority coefficient of each access category of the frame to be transmitted to obtain at least one priority coefficient group, the above-mentioned access categories include voice, video, best effort and background flow, one impact parameter corresponds to one of the above-mentioned priority coefficient groups, one of the above-mentioned priority coefficient groups includes multiple priority coefficients, the above-mentioned priority coefficients correspond to the above-mentioned access categories one by one, the above-mentioned priority coefficient is the ratio of the first parameter value to the second parameter value, the above-mentioned first parameter value is less than the above-mentioned second parameter value, and one of the above-mentioned first parameter value and the above-mentioned second parameter value is selected from the following: the impact parameters corresponding to the multiple access categories corresponding to the same above-mentioned impact parameter The influencing parameter value is the maximum value of the influencing parameter, the amount of data in the frame to be transmitted, the influencing parameter value is the value of the influencing parameter corresponding to each of the access categories, the other of the first parameter value and the second parameter value is the influencing parameter value corresponding to the access category, and the influencing parameter is a parameter that affects the transmission of data for each of the access categories in the transmission frame; a second calculating unit is configured to determine an access category index corresponding to each of the access categories based on at least one set of the priority coefficient groups, the access category index being the sum of the priority coefficients of the corresponding access categories; and a determining unit is configured to determine the access category with the largest access category index as the optimal access category. The optimal access category determining device calculates the priority coefficients of each access category in the frame to be transmitted to obtain at least one priority coefficient group, and finally determines the access category index corresponding to each of the access categories based on the at least one set of the priority coefficient groups, and determines the access category with the largest access category index as the optimal access category, thereby resolving the problem of poor service quality caused by unreasonable access category selection by wireless clients in the prior art.
[0076] In one embodiment of the present application, the second calculation unit includes a first calculation module, which is used to calculate the sum of multiple influence coefficients corresponding to the above-mentioned access categories when there are multiple above-mentioned influencing parameters, and obtain the access category index corresponding to each of the above-mentioned access categories. The above-mentioned influence coefficient corresponding to the above-mentioned access category corresponds one-to-one to the above-mentioned influence parameter, and the above-mentioned influence coefficient is the product of the above-mentioned priority coefficient of the above-mentioned access category and the weight of the corresponding above-mentioned influence parameter. Specifically, the influence coefficient is obtained by multiplying the priority coefficient of the access category by the weight of the corresponding above-mentioned influence parameter, and then the access category index corresponding to each of the above-mentioned access categories is obtained by calculating the sum of the multiple influence coefficients corresponding to the above-mentioned access categories.
[0077] In one embodiment of the present application, the above-mentioned influencing parameter is the priority base of the access category, the above-mentioned priority coefficient group includes a first priority coefficient group, the first calculation unit includes a first acquisition module and a second calculation module, the first acquisition module is used to obtain the priority base of each access category of the above-mentioned frame to be transmitted, and obtain multiple priority bases, the above-mentioned access categories include a first access category and a second access category, the priority of the above-mentioned first access category is higher than the priority of the above-mentioned second access category, and the above-mentioned priority base corresponding to the above-mentioned first access category is greater than the above-mentioned priority base corresponding to the above-mentioned second access category; the second calculation module is used to calculate the ratio of the above-mentioned priority base corresponding to each of the above-mentioned access categories to the maximum priority base, obtain the first priority coefficient of each of the above-mentioned access categories, and form the above-mentioned first priority coefficient group, and the above-mentioned maximum priority base is the largest priority base among the above-mentioned priority bases corresponding to each of the above-mentioned access categories.
[0078] Specifically, for each access category, there is a priority level distinction. For example, for the four access categories, the AC priority is ranked from high to low as follows: voice, video, best effort, and background flow. When the STA determines which service flow has the highest priority, it can take the basic priority of each service flow as one of the factors to consider. The higher the priority of the service flow, the higher the basic priority coefficient can be assigned. For example, for the four access categories, the basic priority coefficients are assigned from high to low according to the priority, 4, 3, 2, and 1 respectively. The basic priority coefficient of each access category is recorded as C. Basic,ACI , C Basic,max is the basic priority coefficient value of the access category with the highest basic priority coefficient. Let P ACI is the priority coefficient of the access category corresponding to ACI (AC Index), P ACI It can be calculated as follows:
[0079]
[0080] In one embodiment of the present application, the above-mentioned influencing parameter is the waiting transmission time, the above-mentioned waiting transmission time is the waiting transmission time of the above-mentioned frame to be transmitted corresponding to the above-mentioned access category, the above-mentioned priority coefficient group includes a second priority coefficient group, the first calculation unit includes a second acquisition module and a third calculation unit, the second acquisition module is used to obtain the above-mentioned waiting transmission time of each of the above-mentioned access categories of the above-mentioned frame to be transmitted, and obtain multiple above-mentioned waiting transmission time; the third calculation unit module is used to calculate the ratio of the above-mentioned waiting transmission time corresponding to each of the above-mentioned access categories to the maximum waiting transmission time, obtain the second priority coefficient of each of the above-mentioned access categories, and form the above-mentioned second priority coefficient group, and the above-mentioned maximum waiting transmission time is the largest above-mentioned waiting transmission time among the above-mentioned waiting transmission times corresponding to each of the above-mentioned access categories.
[0081] Specifically, for each access category, the waiting time for transmission can also be used as a criterion for judging the priority of the service category. The longer the waiting time, the more priority it should be served in order to achieve fairness, so it will be given a higher priority coefficient. ACI,waited Indicates the time the service category ACI has been waiting, T max,waited Indicates the maximum value of ACI waiting time for all service categories. ACI It can be calculated as follows:
[0082]
[0083] However, it should be noted that for each access category, the waiting time of the frames, such as non-aggregated MPDU or A-MPDU, is not necessarily the same, so the above T ACI,waited It needs to be calculated through certain strategies, such as: T ACI,waited The maximum queuing time in the AC queue can be taken; or, T ACI,waited It can be a statistical value, such as T for voice services. ACI,waited =T is equal to the statistical average waiting time of all frames. Since general frame transmission is implemented by software linking multiple frames as a frame transmission sequence, the average waiting time can be calculated according to the waiting time of each linked frame transmission sequence and the frame traffic size of each frame transmission sequence. For ACI, the waiting time of the i-th frame transmission sequence is T Seqence,i,waited , the buffer size of the i-th frame transmission sequence is S Sequence,i,buffer , there are a total of N frame transmission sequences. The statistical average of the ACI waiting time can be calculated as follows:
[0084]
[0085] In one embodiment of the present application, when there are multiple frames to be transmitted corresponding to the access category, the waiting transmission time is a weighted average or maximum value of the waiting transmission time of the multiple frames to be transmitted.
[0086] In one embodiment of the present application, the above-mentioned influencing parameter is the timeout duration, and the above-mentioned timeout duration is the duration between the current time and the start timeout time of the above-mentioned frame to be transmitted corresponding to the above-mentioned access category. The above-mentioned priority coefficient group includes a third priority coefficient group, and the first calculation unit includes a third acquisition module and a fourth calculation unit. The third acquisition module is used to obtain the above-mentioned timeout duration of each access category of the above-mentioned frame to be transmitted, and obtain multiple above-mentioned timeout durations; the fourth calculation unit module is used to calculate the ratio of the minimum timeout duration to the above-mentioned timeout duration corresponding to each of the above-mentioned access categories, and obtain the third priority coefficient group of each of the above-mentioned access categories to form the above-mentioned third priority coefficient group. The above-mentioned minimum timeout duration is the minimum timeout duration among the above-mentioned timeout durations corresponding to each of the above-mentioned access categories.
[0087] Specifically, for each access category, the shorter the timeout period, the earlier it should be served. ACI,timeout Indicates how long until ACI times out, T min,timeout Indicates the minimum value of all ACI timeout periods, P ACI It can be calculated as follows:
[0088]
[0089] Similarly, for the same service category, the timeout duration of different frames is different. According to the idea in 2, T can be calculated as follows: ACI,timeout , T ACI,timeout The minimum timeout value in the AC queue can be taken, or T ACI,timeout It can be a statistical average value. For ACI, the timeout duration of the i-th frame transmission sequence is T Squence,i,timeout , the buffer size of the i-th frame transmission sequence is S Sequence,i,buffer , there are a total of N frame transmission sequences. The statistical average of the ACI timeout duration can be calculated as follows:
[0090]
[0091] In one embodiment of the present application, when there are multiple frames to be transmitted corresponding to the access category, the timeout duration is a weighted average or minimum value of the timeout durations of the multiple frames to be transmitted.
[0092] In one embodiment of the present application, the above-mentioned influencing parameter is the total cache flow, the above-mentioned total cache flow is the sum of the cache flows of the above-mentioned frames to be transmitted corresponding to the above-mentioned access categories, the above-mentioned priority coefficient group includes a fourth priority coefficient group, and the first calculation unit includes a fourth acquisition module and a fifth calculation module: the fourth acquisition module is used to obtain the above-mentioned total cache flow of each access category of the above-mentioned frames to be transmitted, and obtain multiple above-mentioned total cache flows; the fifth calculation module is used to calculate the ratio of the above-mentioned total cache flow corresponding to each of the above-mentioned access categories to the maximum total cache flow, and obtain the fourth priority coefficient group of each of the above-mentioned access categories to form the above-mentioned fourth priority coefficient group, and the above-mentioned maximum total cache flow is the largest above-mentioned total cache flow among the above-mentioned total cache flows corresponding to each of the above-mentioned access categories.
[0093] Specifically, for each AC, the more cached traffic, the higher the priority should be. ACI,buffer Indicates the cache traffic size of ACI, N max,buffer Indicates the maximum cache traffic of ACI at this STA, P ACI It can be calculated as follows:
[0094]
[0095] In one embodiment of the present application, the above-mentioned influencing parameter is the cache flow of the retransmitted data, and the cache flow of the above-mentioned retransmitted data is the sum of the cache flow of the retransmitted data of each of the above-mentioned frames to be transmitted corresponding to the above-mentioned access category. The above-mentioned priority coefficient group includes a fifth priority coefficient group, and the first calculation unit includes a fifth acquisition module and a sixth calculation module. The fifth acquisition module is used to obtain the cache flow of the above-mentioned retransmitted data of each access category of the above-mentioned frames to be transmitted, and obtain the cache flow of multiple retransmitted data; the sixth calculation module is used to calculate the ratio of the cache flow of the above-mentioned retransmitted data corresponding to the above-mentioned access category to the corresponding total cache flow, and obtain the fifth priority coefficient group of each of the above-mentioned access categories to form the above-mentioned fifth priority coefficient group. The above-mentioned total cache flow is the sum of the cache flow of each of the above-mentioned frames to be transmitted corresponding to the above-mentioned access category.
[0096] Specifically, for each access category, the size of the retransmission data buffer flow also affects the priority of the service category. The larger the amount of retransmission data, the higher the priority it should be served. ACI,retryBuffer Indicates the size of the retransmission data buffer flow in the ACI, P ACI It can be calculated as follows:
[0097]
[0098] Finally, each impact factor is assigned a weight value W Basic 、W waited 、W timeout 、W buffer 、Wretry ,and
[0099] W waited +W timeout +W buffer +W retry =1
[0100] Then P ACI It can be calculated as follows, and the final P ACI The value range is between 0 and 1.
[0101]
[0102] The above-mentioned device for determining the optimal access category includes a processor and a memory. The above-mentioned first calculation unit, second calculation unit and determination unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to implement corresponding functions.
[0103] The processor includes a core, which calls the corresponding program unit from the memory. One or more cores can be set, and the problem of poor service quality caused by unreasonable access category selection by wireless clients in the prior art can be solved by adjusting the core parameters.
[0104] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0105] An embodiment of the present invention provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, the method for determining the optimal access category is implemented.
[0106] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes the method for determining the optimal access category when running.
[0107] An embodiment of the present invention provides a device, comprising a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, at least the following steps are performed:
[0108] Step S101: Calculate a priority coefficient for each access category of a frame to be transmitted to obtain at least one priority coefficient group. The access categories include voice, video, best effort, and background flow. One impact parameter corresponds to one priority coefficient group. One priority coefficient group includes multiple priority coefficients. The priority coefficients correspond one-to-one to the access categories. The priority coefficient is a ratio of a first parameter value to a second parameter value. The first parameter value is less than the second parameter value. One of the first parameter value and the second parameter value is selected from the following: a maximum value of impact parameter values corresponding to multiple access categories corresponding to the same impact parameter, and a data volume of the frame to be transmitted. The impact parameter value is a value of the impact parameter corresponding to each access category. The other of the first parameter value and the second parameter value is the impact parameter value corresponding to the access category. The impact parameter is a parameter that affects the transmission of data of each access category in the transmission frame.
[0109] Step S102: determining an access category index corresponding to each of the access categories based on at least one set of the priority coefficients, the access category index being the sum of the priority coefficients of the corresponding access categories;
[0110] Step S103: Determine the access category with the largest access category index as the optimal access category.
[0111] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0112] The present application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program for initializing at least the following method steps:
[0113] Step S101: Calculate a priority coefficient for each access category of a frame to be transmitted to obtain at least one priority coefficient group. The access categories include voice, video, best effort, and background flow. One impact parameter corresponds to one priority coefficient group. One priority coefficient group includes multiple priority coefficients. The priority coefficients correspond one-to-one to the access categories. The priority coefficient is a ratio of a first parameter value to a second parameter value. The first parameter value is less than the second parameter value. One of the first parameter value and the second parameter value is selected from the following: a maximum value of impact parameter values corresponding to multiple access categories corresponding to the same impact parameter, and a data volume of the frame to be transmitted. The impact parameter value is a value of the impact parameter corresponding to each access category. The other of the first parameter value and the second parameter value is the impact parameter value corresponding to the access category. The impact parameter is a parameter that affects the transmission of data of each access category in the transmission frame.
[0114] Step S102: determining an access category index corresponding to each of the access categories based on at least one set of the priority coefficients, the access category index being the sum of the priority coefficients of the corresponding access categories;
[0115] Step S103: Determine the access category with the largest access category index as the optimal access category.
[0116] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0117] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the above-mentioned units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0118] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0119] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0120] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a computer-readable storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present invention. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0121] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0122] 1) The method for determining the optimal access category of the present application first calculates priority coefficients for each access category of a frame to be transmitted to obtain at least one priority coefficient group, where the access categories include voice, video, best effort, and background flow. One impact parameter corresponds to one priority coefficient group, and one priority coefficient group includes multiple priority coefficients. The priority coefficients correspond one-to-one to the access categories. The priority coefficient is a ratio of a first parameter value to a second parameter value, where the first parameter value is less than the second parameter value, and one of the first parameter value and the second parameter value is selected from the following: a maximum value of the impact parameter values corresponding to multiple access categories corresponding to the same impact parameter, and the data volume of the frame to be transmitted. The impact parameter value is a value of the impact parameter corresponding to each access category, and the other of the first parameter value and the second parameter value is the impact parameter value corresponding to the access category. The impact parameter is a parameter that affects the transmission of data for each access category in the transmission frame. Then, based on at least one set of the priority coefficient groups, an access category index corresponding to each access category is finally determined, where the access category index is the sum of the priority coefficients of the corresponding access categories. The access category with the largest access category index is determined as the optimal access category. The method for determining the optimal access category calculates the priority coefficients of each access category of the frame to be transmitted to obtain at least one priority coefficient group. Based on the at least one priority coefficient group, the access category index corresponding to each access category is finally determined, and the access category with the largest access category index is determined as the optimal access category, so as to solve the problem of poor service quality caused by unreasonable access category selection by wireless clients in the prior art.
[0123] 2) The optimal access category determination device of the present application, the first calculation unit, is used to calculate the priority coefficient of each access category of the frame to be transmitted, and obtain at least one priority coefficient group, the above access categories include voice, video, best effort and background flow, one impact parameter corresponds to one priority coefficient group, one priority coefficient group includes multiple priority coefficients, the priority coefficients correspond to the above access categories one by one, the priority coefficient is the ratio of the first parameter value to the second parameter value, the first parameter value is less than the second parameter value, and one of the first parameter value and the second parameter value is selected from the following: multiple access categories corresponding to the same impact parameter correspond to The maximum value of the influencing parameter value and the amount of data in the frame to be transmitted are respectively calculated, wherein the influencing parameter value is the value of the influencing parameter corresponding to each of the access categories, the other of the first parameter value and the second parameter value is the influencing parameter value corresponding to the access category, and the influencing parameter is a parameter that affects the transmission of data of each of the access categories in the transmission frame; the second calculation unit is configured to determine the access category index corresponding to each of the access categories based on at least one set of the priority coefficient groups, wherein the access category index is the sum of the priority coefficients of the corresponding access categories; and the determination unit is configured to determine the access category with the largest access category index as the optimal access category. The optimal access category determination device calculates the priority coefficients of each access category of the frame to be transmitted to obtain at least one priority coefficient group, and finally determines the access category index corresponding to each of the access categories based on at least one set of the priority coefficient groups, and determines the access category with the largest access category index as the optimal access category, thereby solving the problem of poor service quality caused by unreasonable access category selection by wireless clients in the prior art.
[0124] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.
Claims
1. A method for determining an optimal access category, characterized in that: include: Calculating a priority coefficient for each access category of a frame to be transmitted to obtain at least one priority coefficient group, where the access categories include voice, video, best effort, and background flow; one impact parameter corresponds to one priority coefficient group; one priority coefficient group includes multiple priority coefficients; the priority coefficients correspond one-to-one to the access categories; the priority coefficient is a ratio of a first parameter value to a second parameter value; the first parameter value is less than the second parameter value; one of the first parameter value and the second parameter value is selected from one of the following: a maximum value of impact parameter values corresponding to multiple access categories corresponding to the same impact parameter; and a data volume of the frame to be transmitted; the impact parameter value is a value of the impact parameter corresponding to each access category; the other of the first parameter value and the second parameter value is the impact parameter value corresponding to the access category; and the impact parameter is a parameter that affects the transmission of data for each access category in the transmission frame; Determining, based on at least one set of the priority coefficient groups, an access category index corresponding to each access category, the access category index being the sum of the priority coefficients of the corresponding access category; Determining the access category with the largest access category index as the optimal access category; Among them, determining the access category index corresponding to each access category based on at least one group of the priority coefficient groups includes: when there are multiple influencing parameters, calculating the sum of multiple influencing coefficients corresponding to the access category to obtain the access category index corresponding to each access category, the influencing coefficient corresponding to one access category corresponds one-to-one to the influencing parameter, and the influencing coefficient is the product of the priority coefficient of the access category and the weight of the corresponding influencing parameter.
2. The method according to claim 1, characterized in that The influencing parameter is the priority base of the access category, the priority coefficient group includes a first priority coefficient group, and the priority coefficient of each access category of the frame to be transmitted is calculated to obtain at least one priority coefficient group including: Obtaining a priority base for each access category of the frame to be transmitted, to obtain a plurality of priority bases, the access categories including a first access category and a second access category, the priority of the first access category being higher than the priority of the second access category, and the priority base corresponding to the first access category being greater than the priority base corresponding to the second access category; Calculate the ratio of the priority base corresponding to each access category to the maximum priority base, obtain the first priority coefficient of each access category, and form the first priority coefficient group, where the maximum priority base is the largest priority base among the priority bases corresponding to each access category.
3. The method according to claim 1, characterized in that The influencing parameter is a waiting transmission time, which is a waiting transmission time for the frame to be transmitted corresponding to the access category. The priority coefficient group includes a second priority coefficient group. The priority coefficient of each access category of the frame to be transmitted is calculated to obtain at least one priority coefficient group including: Obtaining the waiting transmission time duration of each access category of the frame to be transmitted, to obtain a plurality of waiting transmission time durations; Calculate the ratio of the waiting transmission time corresponding to each access category to the maximum waiting transmission time, obtain the second priority coefficient of each access category, and form the second priority coefficient group, where the maximum waiting transmission time is the largest waiting transmission time among the waiting transmission times corresponding to each access category.
4. The method according to claim 3, characterized in that In the case that there are multiple frames to be transmitted corresponding to the access category, the waiting transmission time is a weighted average or a maximum value of the waiting transmission time of the multiple frames to be transmitted.
5. The method according to claim 1, wherein The influencing parameter is a timeout duration, the timeout duration being the duration between the current time of the frame to be transmitted corresponding to the access category and the start timeout time. The priority coefficient group includes a third priority coefficient group. The priority coefficients of the access categories of the frame to be transmitted are calculated to obtain at least one priority coefficient group including: Obtaining the timeout duration of each access category of the frame to be transmitted, and obtaining a plurality of the timeout durations; Calculate the ratio of the minimum timeout duration to the timeout duration corresponding to each access category to obtain a third priority coefficient group for each access category, and form the third priority coefficient group, wherein the minimum timeout duration is the smallest timeout duration among the timeout durations corresponding to each access category.
6. The method according to claim 5, characterized in that In the case that there are multiple frames to be transmitted corresponding to the access category, the timeout duration is a weighted average value or a minimum value of the timeout durations of the multiple frames to be transmitted.
7. The method according to claim 1, characterized in that The influencing parameter is the total cache flow, which is the sum of the cache flows of the frames to be transmitted corresponding to the access category. The priority coefficient group includes a fourth priority coefficient group. The priority coefficient of each access category of the frame to be transmitted is calculated to obtain at least one priority coefficient group including: Acquire the total cache flow of each access category of the frame to be transmitted, and obtain a plurality of the total cache flows; Calculate the ratio of the total cache flow corresponding to each access category to the maximum total cache flow, obtain the fourth priority coefficient group for each access category, and form the fourth priority coefficient group. The maximum total cache flow is the largest total cache flow among the total cache flows corresponding to each access category.
8. The method according to claim 1, characterized in that The influencing parameter is a buffer flow of retransmitted data, the buffer flow of retransmitted data is the sum of the buffer flows of retransmitted data of each of the to-be-transmitted frames corresponding to the access category, the priority coefficient group includes a fifth priority coefficient group, and the priority coefficient of each access category of the to-be-transmitted frame is calculated to obtain at least one priority coefficient group including: Acquire the cache flow of the retransmitted data of each access category of the frame to be transmitted, and obtain a plurality of cache flows of the retransmitted data; Calculate the ratio of the cache flow of the retransmitted data corresponding to the access category to the corresponding total cache flow, obtain the fifth priority coefficient group of each access category, form the fifth priority coefficient group, and the total cache flow is the sum of the cache flows of each of the frames to be transmitted corresponding to the access category.
9. A device for determining an optimal access category, characterized in that: include: a first calculation unit, configured to calculate a priority coefficient for each access category of a frame to be transmitted, and obtain at least one priority coefficient group, where the access categories include voice, video, best effort, and background flow; one influence parameter corresponds to one priority coefficient group, and one priority coefficient group includes multiple priority coefficients, each priority coefficient corresponds to the access category on a one-to-one basis; the priority coefficient is a ratio of a first parameter value to a second parameter value, where the first parameter value is less than the second parameter value, and one of the first parameter value and the second parameter value is selected from the following: a maximum value of influence parameter values corresponding to multiple access categories corresponding to the same influence parameter, and a data volume of the frame to be transmitted; the influence parameter value is a value of the influence parameter corresponding to each access category, and the other of the first parameter value and the second parameter value is the influence parameter value corresponding to the access category; and the influence parameter is a parameter that affects the transmission of data of each access category in the transmission frame; a second calculating unit, configured to determine an access category index corresponding to each access category based on at least one set of priority coefficient groups, wherein the access category index is a sum of the priority coefficients of the corresponding access category; A determining unit, configured to determine the access category with the largest access category index as the optimal access category; Among them, the second calculation unit is also used to calculate the sum of multiple influence coefficients corresponding to the access category when there are multiple influencing parameters, to obtain the access category index corresponding to each access category, the influence coefficient corresponding to one access category corresponds one-to-one to the influence parameter, and the influence coefficient is the product of the priority coefficient of the access category and the weight of the corresponding influence parameter.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 8.
11. A processor, characterized in that: The processor is configured to run a program, wherein the program executes the method according to any one of claims 1 to 8 when running.
Citation Information
Patent Citations
Communication method and device
CN113727457A
Method and wireless communication system for handling offloading of drbs to WLAN carrier
US20170055313A1