Contention window size adjustment method and device, and data transmission equipment

By receiving HARQ feedback information, determining the target data unit and calculating the NACK ratio, it solves the problem of inaccurate CWS adjustment in LTE unlicensed spectrum, optimizes channel access priority, and improves data transmission efficiency.

CN114422092BActive Publication Date: 2024-09-13BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210138764.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-09-21
Publication Date
2024-09-13
Estimated Expiration
2038-09-21

AI Technical Summary

Technical Problem

In the LTE unlicensed spectrum, the adjustment of the contention window size (CWS) is difficult to accurately calculate based on the NACK ratio of HARQ response feedback, resulting in unreasonable selection of channel access priority and window size.

Method used

By receiving the HARQ feedback information returned by the data receiving end, the target data unit is determined, and the NACK ratio is calculated within the reference time, thereby adjusting the CWS to ensure the accuracy and rationality of the NACK ratio calculation.

Benefits of technology

It improves the selection accuracy of CWS, optimizes channel access priority, and improves data transmission efficiency and channel utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114422092B
    Figure CN114422092B
Patent Text Reader

Abstract

The present disclosure is about a method and apparatus for adjusting the contention window size, a data sending device and a computer-readable storage medium. Among them, the method for adjusting the contention window size CWS includes: receiving hybrid automatic repeat request HARQ feedback information returned by the data receiving end for the first data unit and / or the second data unit within the reference time, the HARQ feedback information includes ACK information or NACK information, and a second data unit includes one or more first data units; determining the target first data unit or target second data unit that the HARQ feedback information can be counted as NACK information; calculating the NACK ratio within the reference time based on the determined target first data unit and / or target second data unit; adjusting the CWS according to the NACK ratio. The embodiments of the present disclosure make the calculation of the NACK ratio more accurate, thereby making the subsequent selection of CWS more reasonable.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Divisional Application Instructions

[0002] The present disclosure is a divisional application based on the Chinese patent invention application with application number 201880001884.9, application date September 21, 2018, and invention name “Method and device for adjusting contention window size, and data sending device”. Technical Field

[0003] The present disclosure relates to the field of communication technology, and in particular to a method and apparatus for adjusting a contention window size, a data sending device, and a computer-readable storage medium. Background Art

[0004] In the Long Term Evolution (LTE) unlicensed spectrum, before using the unlicensed spectrum, a Listen Before Talk (LBT) channel detection must be performed. Only if the channel is idle can the unlicensed spectrum be accessed. In general, the LBT mechanism used for sending data is the LBT mechanism of the fourth access level (Category 4, cat.4). The principle of the LBT mechanism of cat.4 is as follows: First, detect whether the channel is idle at the first time granularity. If the channel is idle, determine the contention window size (CWS). Then take a random number N between 0 and CWS, and then detect whether the channel is idle at the second time granularity. If the channel is idle, the random number N is reduced by 1; otherwise, detect whether the channel is idle at the first time granularity. If the channel is idle, the random number N is reduced by 1, and it is converted to detect whether the channel is idle at the second time granularity. Continue in this way. When the random number N is reduced to 0, it means that the channel is idle and the channel begins to be occupied. After the maximum channel occupation time ends, the channel detection needs to be performed again.

[0005] It can be seen from the above detection process that the size of CWS determines the value range of the random number N, and there are different parameters for different channel access priorities. Different channel access priorities have different optional values ​​for CWS. Among them, when accessing the channel for the first time, the minimum value of CWS is selected; and when the channel is idle for the first time and after the maximum channel occupancy time ends, it is necessary to determine the value of CWS for the second channel detection based on the reception error rate of data transmission in one of the subframes (reference subframe) during the first channel occupancy time. For example, if the proportion of non-acknowledgements (NACKs) of all data sent by the base station in the reference subframe reaches 80% or more, indicating that the channel condition is poor, the CWS value must be increased, otherwise, it remains unchanged. When the CWS value increases to the maximum and is maintained for the maximum number of times, the CWS is reset to the minimum value.

[0006] In the LTE unlicensed spectrum, the adjustment of CWS is determined based on the NACK ratio of the hybrid automatic repeat request (HARQ) acknowledgment (ACK) feedback of all data sent by the base station in the reference subframe. In LTE, HARQ is based on transport block (TB) feedback, that is, one TB feeds back one HARQ-ACK. In NR unlicensed, each TB can be divided into multiple code block groups (CBG), where HARQ-ACK and retransmission can be in units of CBG or TB. So how to determine the NACK ratio of HARQ-ACK feedback based on CBG to determine the adjustment of CWS is a technical problem that needs to be solved. Summary of the invention

[0007] In view of this, the present disclosure discloses a CWS adjustment method and apparatus, a data sending device, and a computer-readable storage medium, so as to make the calculation of the NACK ratio more accurate, thereby making the subsequent CWS selection more reasonable.

[0008] According to a first aspect of an embodiment of the present disclosure, a method for adjusting a contention window size CWS is provided, which is applied to a data sending end, and the method includes:

[0009] Receiving hybrid automatic repeat request HARQ feedback information returned by the data receiving end for the first data unit and / or the second data unit within the reference time, wherein the HARQ feedback information includes ACK information or NACK information, and one second data unit includes one or more first data units;

[0010] Determining that the HARQ feedback information can be counted as a target first data unit or a target second data unit of the NACK information;

[0011] Calculating a NACK ratio within the reference time based on the determined target first data unit and / or target second data unit;

[0012] The CWS is adjusted according to the NACK ratio.

[0013] In one embodiment, determining that the HARQ feedback information can be counted as a target first data unit or a target second data unit of the NACK information includes:

[0014] If NACK information returned by the data receiving end for not sending the first data unit or not sending the second data unit is received, the NACK information is ignored, and the not sending first data unit or the not sending second data unit is not determined as the target first data unit or the target second data unit;

[0015] Among them, all or part of the time-frequency resources allocated to the unsent first data unit or the unsent second data unit are occupied by other sent first data units or other sent second data units.

[0016] In one embodiment, determining that the HARQ feedback information can be counted as a target first data unit or a target second data unit of the NACK information includes:

[0017] If NACK information returned by the data receiving end for the sent first data unit or the sent second data unit is received, or HARQ feedback information returned by the data receiving end for the sent first data unit or the sent second data unit is not received, the sent first data unit or the sent second data unit is determined as the target first data unit or the target second data unit;

[0018] The sent first data unit or the sent second data unit refers to the first data unit or the second data unit whose entire contents are sent.

[0019] In one embodiment, when the HARQ feedback information received within the reference time includes only HARQ feedback information returned for the first data unit, the calculating the NACK ratio within the reference time based on the determined target first data unit and / or target second data unit includes:

[0020] Counting a first quantity of the target first data unit based on the determined target first data unit;

[0021] The NACK ratio is calculated based on the first number and the number of all first data units sent within the reference time.

[0022] In one embodiment, when the HARQ feedback information received within the reference time includes only HARQ feedback information returned for the first data unit, the calculating the NACK ratio within the reference time based on the determined target first data unit and / or target second data unit includes:

[0023] Determine a ratio of the target number of first data units in each second data unit to the number of sent first data units contained in the corresponding second data unit as a NACK ratio in the corresponding second data unit;

[0024] Calculating the sum of NACK ratios in all second data units;

[0025] Obtain a second number of all second data units sent within the reference time;

[0026] The NACK ratio is calculated based on the sum of the NACK ratios in all the second data units and the second number.

[0027] In one embodiment, when the HARQ feedback information received within the reference time includes only HARQ feedback information fed back for the second data unit, the calculating the NACK ratio within the reference time based on the determined target first data unit and / or target second data unit includes:

[0028] counting a third number of the target second data units based on the determined target second data units;

[0029] The NACK ratio is calculated based on the third number and the number of all second data units sent within the reference time.

[0030] In one embodiment, when the HARQ feedback information received within the reference time includes HARQ feedback information returned for the first data unit and HARQ feedback information returned for the second data unit, the calculating the NACK ratio within the reference time based on the determined target first data unit and / or target second data unit includes:

[0031] For the HARQ feedback information returned based on the first data unit, normalize the second data unit to which the first data unit belongs to obtain a NACK ratio in the second data unit;

[0032] For the HARQ feedback information fed back based on the second data unit, if the second data unit is a target second data unit, the NACK ratio in the second data unit is 1; if the second data unit is not the target second data unit, the NACK ratio in the second data unit is 0;

[0033] The NACK ratio is calculated based on the sum of the NACK ratios in all the second data units and the number of all the second data units sent within the reference time.

[0034] In one embodiment, the normalizing the second data unit to which the first data unit belongs to obtain a NACK ratio in the second data unit includes:

[0035] When the ratio of the number of the target first data units in the second data unit to the number of the first data units contained in the second data unit reaches a preset ratio, the second data unit is determined as the target second data unit, and the NACK ratio in the second data unit is determined to be 1; or

[0036] The NACK ratio in the second data unit is obtained according to the ratio of the number of the target first data units in the second data unit to the number of the first data units included in the second data unit.

[0037] In one embodiment, when the data transmitting end is a base station and the data receiving end is a terminal, adjusting the CWS according to the NACK ratio includes:

[0038] When the NACK ratio is greater than a preset threshold, the value of the CWS is increased.

[0039] In one embodiment, the method further comprises:

[0040] If the CWS value maintains the preset maximum value for a preset number of times, the CWS value is set to a preset minimum value.

[0041] In one embodiment, when the data sending end is a terminal and the data receiving end is a base station, or when the data sending end is a terminal and the data receiving end is also a terminal, adjusting the CWS according to the NACK ratio includes:

[0042] When the NACK ratio is less than 1, the value of the CWS is set to a preset minimum value.

[0043] According to a second aspect of an embodiment of the present disclosure, a device for adjusting a contention window size CWS is provided, which is applied to a data sending end, and the device includes:

[0044] A receiving module, configured to receive hybrid automatic repeat request HARQ feedback information returned by a data receiving end for a first data unit and / or a second data unit within a reference time, wherein the HARQ feedback information includes ACK information or NACK information, and one second data unit includes one or more of the first data units;

[0045] a determination module, configured to determine that the HARQ feedback information received by the receiving module can be counted as a target first data unit or a target second data unit of the NACK information;

[0046] a calculation module, configured to calculate a NACK ratio within the reference time based on the target first data unit and / or the target second data unit determined by the determination module;

[0047] An adjustment module is configured to adjust the CWS according to the NACK ratio calculated by the calculation module.

[0048] In one embodiment, the determining module is configured to:

[0049] If NACK information returned by the data receiving end for not sending the first data unit or not sending the second data unit is received, the NACK information is ignored, and the not sending first data unit or the not sending second data unit is not determined as the target first data unit or the target second data unit;

[0050] Among them, all or part of the time-frequency resources allocated to the unsent first data unit or the unsent second data unit are occupied by other sent first data units or other sent second data units.

[0051] In one embodiment, the determining module is configured to:

[0052] If NACK information returned by the data receiving end for the sent first data unit or the sent second data unit is received, or HARQ feedback information returned by the data receiving end for the sent first data unit or the sent second data unit is not received, the sent first data unit or the sent second data unit is determined as the target first data unit or the target second data unit;

[0053] The sent first data unit or the sent second data unit refers to the first data unit or the second data unit whose entire contents are sent.

[0054] In one embodiment, when the HARQ feedback information received within the reference time includes only the HARQ feedback information returned for the first data unit, the calculation module includes:

[0055] A first counting submodule is configured to count a first quantity of the target first data unit based on the determined target first data unit;

[0056] The first calculation submodule is configured to calculate the NACK ratio based on the first number counted by the first statistics submodule and the number of all first data units sent within the reference time.

[0057] In one embodiment, when the HARQ feedback information received within the reference time includes only the HARQ feedback information returned for the first data unit, the calculation module includes:

[0058] A first determining submodule is configured to determine a ratio of the target number of first data units in each second data unit to the number of sent first data units contained in the corresponding second data unit as a NACK ratio in the corresponding second data unit;

[0059] A second calculation submodule is configured to calculate the sum of NACK ratios in all second data units;

[0060] An acquisition submodule, configured to acquire a second number of all second data units sent within the reference time;

[0061] The third calculation submodule is configured to calculate the NACK ratio based on the sum of the NACK ratios in all the second data units calculated by the second calculation submodule and the second number obtained by the obtaining submodule.

[0062] In one embodiment, when the HARQ feedback information received within the reference time includes only the HARQ feedback information fed back for the second data unit, the calculation module includes:

[0063] A second counting submodule is configured to count a third number of the target second data units based on the determined target second data units;

[0064] The fourth calculation submodule is configured to calculate the NACK ratio based on the third number counted by the second statistics submodule and the number of all second data units sent within the reference time.

[0065] In one embodiment, when the HARQ feedback information received within the reference time includes HARQ feedback information returned for the first data unit and HARQ feedback information returned for the second data unit, the calculation module includes:

[0066] a processing submodule, configured to perform normalization processing on a second data unit to which the first data unit belongs, for HARQ feedback information returned based on the first data unit, so as to obtain a NACK ratio in the second data unit;

[0067] A second determining submodule is configured to, for HARQ feedback information fed back based on the second data unit, if the second data unit is a target second data unit, then the NACK ratio in the second data unit is 1; if the second data unit is not the target second data unit, then the NACK ratio in the second data unit is 0;

[0068] The fifth calculation submodule is configured to calculate the NACK ratio based on the sum of the NACK ratios in all second data units obtained by the processing submodule and the second determination submodule and the number of all second data units sent within the reference time.

[0069] In one embodiment, the processing submodule includes:

[0070] a first processing unit configured to, when a ratio of the number of the target first data units in the second data unit to the number of the first data units contained in the second data unit reaches a preset ratio, determine the second data unit as the target second data unit, and determine that the NACK ratio in the second data unit is 1; or

[0071] The second processing unit is configured to obtain a NACK ratio in the second data unit according to a ratio of the number of the target first data units in the second data unit to the number of the first data units included in the second data unit.

[0072] In one embodiment, when the data sending end is a base station and the data receiving end is a terminal, the adjustment module is configured to:

[0073] When the NACK ratio is greater than a preset threshold, the value of the CWS is increased.

[0074] In one embodiment, the adjustment module is further configured to:

[0075] If the CWS value maintains the preset maximum value for a preset number of times, the CWS value is set to a preset minimum value.

[0076] In one embodiment, when the data sending end is a terminal and the data receiving end is a base station, or when the data sending end is a terminal, the adjustment module is configured to:

[0077] When the NACK ratio is less than 1, the value of the CWS is set to a preset minimum value.

[0078] According to a third aspect of an embodiment of the present disclosure, there is provided a data sending device, including:

[0079] processor;

[0080] a memory for storing processor-executable instructions;

[0081] Wherein, the processor is configured to:

[0082] Receiving hybrid automatic repeat request HARQ feedback information returned by the data receiving end for the first data unit and / or the second data unit within the reference time, wherein the HARQ feedback information includes ACK information or NACK information, and one second data unit includes one or more first data units;

[0083] Determining that the HARQ feedback information can be counted as a target first data unit or a target second data unit of the NACK information;

[0084] Calculating a NACK ratio within the reference time based on the determined target first data unit and / or target second data unit;

[0085] The CWS is adjusted according to the NACK ratio.

[0086] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the method for adjusting the contention window size CWS are implemented.

[0087] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0088] By determining that the HARQ feedback information can be counted as a target first data unit or a target second data unit of NACK information, and calculating the NACK ratio within the reference time based on the determined target first data unit and / or target second data unit, the calculation of the NACK ratio is more accurate, thereby making the subsequent CWS selection more reasonable.

[0089] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0090] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0091] Figure 1 is a flow chart of a CWS adjustment method shown in an exemplary embodiment of the present disclosure;

[0092] Figure 2 is a signaling flow chart of a CWS adjustment method shown in an exemplary embodiment of the present disclosure;

[0093] Figure 3 is a block diagram of a CWS adjustment device according to an exemplary embodiment;

[0094] Figure 4is a block diagram of another CWS adjustment device according to an exemplary embodiment;

[0095] Figure 5 is a block diagram of another CWS adjustment device according to an exemplary embodiment;

[0096] Figure 6 is a block diagram of another CWS adjustment device according to an exemplary embodiment;

[0097] Figure 7 is a block diagram of another CWS adjustment device according to an exemplary embodiment;

[0098] Figure 8 is a block diagram of another CWS adjustment device according to an exemplary embodiment;

[0099] Fig. 9 is a block diagram of an adjustment device applicable to CWS according to an exemplary embodiment;

[0100] Fig.10 is a block diagram showing another adjustment device applicable to CWS according to an exemplary embodiment. DETAILED DESCRIPTION

[0101] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0102] Figure 1 is a flowchart of a CWS adjustment method shown in an exemplary embodiment of the present disclosure. The embodiment is described from the perspective of a data sending end, wherein the data sending end may be a base station, and the corresponding data receiving end may be a UE; the data sending end may also be a UE, and the corresponding data receiving end may also be a base station; the data sending end may also be a UE, and the corresponding data receiving end may also be a UE, such as sidelink communication or vehicle networking communication, such as Figure 1 As shown, the adjustment method of the CWS includes:

[0103] In step S101, HARQ feedback information returned by a data receiving end for a first data unit and / or a second data unit is received within a reference time, the HARQ feedback information includes ACK information or NACK information, and a second data unit includes one or more first data units.

[0104] The first data unit may include but is not limited to CBG, and the second data unit may include but is not limited to TB.

[0105] In step S102, it is determined that the HARQ feedback information can be counted as a target first data unit or a target second data unit of NACK information.

[0106] After receiving the HARQ feedback information within the reference time, the data transmitting end needs to determine whether the HARQ feedback information can be counted as a target first data unit or a target second data unit of NACK information.

[0107] In this embodiment, if NACK information is received from the data receiving end regarding the unsent first data unit or the unsent second data unit, the NACK information is ignored, and the unsent first data unit or the unsent second data unit is not determined as the target first data unit or the target second data unit; wherein all or part of the time-frequency resources allocated to the unsent first data unit or the unsent second data unit are occupied by other sent first data units or other sent second data units.

[0108] For example, when the data transmitting end is a base station, the data receiving end is a UE, and the first data unit is a CBG, if the base station originally plans to send CBG#a of the enhanced Mobile BroadBand (eMBB) service type on this time-frequency resource, and has informed UE#a that it needs to receive CBG#a on this time-frequency resource. However, since the CBG#b of the Ultra Reliable Low Latency Communications (URLLC) service with higher latency requirements needs to be sent on this time-frequency resource, that is, the time-frequency resource of CBG#a is occupied (pre-empted), then if UE#a feeds back NACK for CBG#a, the NACK is ignored, and CBG#a is not determined as the target CBG. If the UE (which may be UE#a or other UE) feeds back NACK for CBG#b, CBG#b is determined as the target CBG because CBG#b is a sent CBG.

[0109] In the above embodiment, when calculating the NACK ratio within the reference time, the data unit occupied by the time-frequency resource is ignored, because the data unit is not actually sent, and the NACK information for the CBG cannot reflect the channel status. Therefore, ignoring the NACK feedback for such CBG makes the calculation of the NACK ratio more accurate, thereby making the subsequent selection of the CWS value more reasonable.

[0110] In this embodiment, if NACK information is received from the data receiving end for the sent first data unit or the sent second data unit, or HARQ feedback information is not received from the data receiving end for the sent first data unit or the sent second data unit, the sent first data unit or the sent second data unit is determined as the target first data unit or the target second data unit; wherein the sent first data unit or the sent second data unit represents the first data unit or the second data unit whose entire content is sent.

[0111] For example, when the data sending end is a base station, the data receiving end is a UE, and the first data unit is CBG, if the base station actually sends CBG#c, and the feedback received from the UE for the CBG#c is NACK or no HARQ feedback information is received, CBG#c is determined as the target CBG.

[0112] In step S103, a NACK ratio within a reference time is calculated based on the determined target first data unit and / or target second data unit.

[0113] Calculating the NACK ratio within the reference time based on the determined target first data unit and / or target second data unit may include but is not limited to the following methods:

[0114] Method 1) When the HARQ feedback information received within the reference time only includes the HARQ feedback information returned for the first data unit, the first number of target first data units is counted based on the determined target first data units, and the NACK ratio is calculated based on the first number and the number of all first data units sent within the reference time.

[0115] Continuing with the above example, if the CBGs in other TBs have been taken into account, the numerator and denominator of the NACK ratio are X and Y respectively. That is, in other TBs, the total number of CBGs that can be counted as NACK is X; the total number of CBGs that have been sent is Y. For TB#a where CBG#a is located, assuming that TB#a includes N CBGs, since CBG#a is a CBG that is not actually sent due to resource occupation, CBG#a is not the target CBG. Therefore, after removing CBG#a, there are still N-1 CBGs in TB#a, and among these N-1 CBGs, the HARQ feedback of M CBGs can be counted as NACK. Then when calculating the NACK ratio, after considering the impact of TB#a, the numerator of the NACK ratio becomes X+M, and the denominator becomes Y+N-1 or Y+N.

[0116] For example, 3 TBs are sent during the reference time: TB#1 has 4 CBGs sent in total, and 1 CBG can be counted as a CBG of NACK. Then the impact of this TB on the numerator of the NACK ratio is plus 1, and the impact on the denominator is plus 4; TB#2 has 3 CBGs sent in total, and 0 CBG can be counted as a CBG of NACK. Then the impact of this TB on the numerator of the NACK ratio is plus 0, and the impact on the denominator is plus 3; TB#3 has 4 CBGs in total, 3 of which are sent, and there is a CBG that is not sent and receives NACK feedback (this CBG cannot be counted as a CBG of NACK and should be ignored), and there is 1 CBG that can be counted as a CBG of NACK. Then the impact of this TB on the numerator of the NACK ratio is plus 1, and the impact on the denominator is plus 3 or 4. Then the NACK ratio during the reference time is (1+0+1) / (4+3+3)=2 / 10 or (1+0+1) / (4+3+4)=2 / 11.

[0117] Method 2) When the HARQ feedback information received within the reference time only includes the HARQ feedback information returned for the first data unit, the ratio of the target number of first data units in each second data unit to the number of sent first data units contained in the corresponding second data unit is determined as the NACK ratio in the corresponding second data unit; the sum of the NACK ratios in all second data units is calculated; the second number of all second data units sent within the reference time is obtained; and the NACK ratio is calculated based on the sum of the NACK ratios in all second data units and the second number.

[0118] In this embodiment, the NACK ratio in each TB is first calculated, and then the sum of the NACK ratios in all TBs is calculated, and the sum of the NACK ratios is used as the numerator and the second number of all TBs sent within the reference time is used as the denominator to calculate the NACK ratio.

[0119] For example, 3 TBs are sent within the reference time: 4 CBGs are sent in TB#1, and 1 CBG can be counted as a CBG with NACK, so the NACK ratio in this TB is 1 / 4; 3 CBGs are sent in TB#2, and 0 CBGs can be counted as CBGs with NACK, so the NACK ratio in this TB is 0; 4 CBGs are sent in TB#3, and 3 of them are sent, and there is a CBG that is not sent and receives NACK feedback (this CBG cannot be counted as a CBG with NACK and should be ignored), and there is 1 CBG that can be counted as a CBG with NACK, so the NACK ratio in this TB is 1 / 3 or 1 / 4. Then the NACK ratio within the reference time is (1 / 4+0+1 / 3) / 3=7 / 36 or (1 / 4+0+1 / 4) / 3=1 / 6.

[0120] Method 3) When the HARQ feedback information received within the reference time only includes HARQ feedback information fed back for the second data unit, a third number of target second data units is counted based on the determined target second data units; and the NACK ratio is calculated based on the third number and the number of all second data units sent within the reference time.

[0121] The second data unit may be TB, and the calculation method of the NACK ratio is similar to the calculation method in method 1).

[0122] For example, there are 4 TBs in the reference time, one of which is not fully sent and receives NACK feedback from the UE (then this TB cannot be counted as a NACK TB and should be ignored), and there is another TB that can be counted as a NACK. Then the NACK ratio in the reference time is 1 / 3 or 1 / 4.

[0123] It should be noted that this calculation method is applicable to the scenario where the data sending end is a base station and the data receiving end is a UE, and is also applicable to the scenario where both the data sending end and the data receiving end are UEs, for example, D2D or V2X scenarios.

[0124] Method 4) When the HARQ feedback information received within the reference time includes HARQ feedback information returned for the first data unit and HARQ feedback information returned for the second data unit, for the HARQ feedback information returned based on the first data unit, the second data unit to which the first data unit belongs is normalized to obtain the NACK ratio within the second data unit; for the HARQ feedback information fed back based on the second data unit, if the second data unit is the target second data unit, the NACK ratio within the second data unit is 1, and if the second data unit is not the target second data unit, the NACK ratio within the second data unit is 0; the NACK ratio is calculated based on the sum of the NACK ratios within all second data units and the number of all second data units sent within the reference time.

[0125] Similar to the above method 2), the sum of the NACK ratios in all second data units, such as TB, is used as the numerator, and the number of all second data units sent within the reference time is used as the denominator to calculate the NACK ratio.

[0126] For example, 3 TBs are sent within the reference time: TB#1 is based on the sending of TB and the HARQ feedback based on TB, the feedback is ACK, and TB#1 is not counted as a TB with NACK, then the NACK ratio in TB#1 is 0; TB#2 is based on the sending of TB and the HARQ feedback based on TB, the feedback is NACK, and TB#2 is counted as a TB with NACK, then the NACK ratio in this TB is 1; TB#3 is based on the sending of CBG and the feedback based on CBG, of which there are a total of 4 CBGs, 3 of which are sent, one CBG that is not sent and receives NACK feedback (this CBG cannot be counted as a CBG with NACK and should be ignored), and one CBG that can be counted as a CBG with NACK, then the NACK ratio in TB#3 is z. Then the NACK ratio within the reference time is (1+z) / 3. The specific value of z is determined by the following method.

[0127] The normalization process is performed on the second data unit to which the first data unit belongs to obtain the NACK ratio in the second data unit, which may include but is not limited to the following situations:

[0128] Scenario 1) When the ratio of the number of target first data units in the second data unit to the number of first data units contained in the second data unit reaches a preset ratio, the second data unit is determined as the target second data unit, and the NACK ratio in the second data unit is determined to be 1.

[0129] Among them, the preset ratio can be flexibly set according to needs.

[0130] Continuing the above example, TB#3 is based on the transmission and feedback of CBG. There are 4 CBGs in total, 3 of which are sent, one CBG that is not sent and receives NACK feedback (this CBG cannot be counted as a NACK CBG and should be ignored), and one CBG that can be counted as a NACK CBG. The NACK ratio in TB#3 is 1 / 3. If the preset ratio is 1 / 4, then this TB is the target TB counted as NACK, and the NACK ratio in TB#3 is 1, that is, z=1. Then, the value of z is substituted into the NACK ratio value (1+z) / 3 in the above reference time, and the NACK ratio in the reference time is 2 / 3.

[0131] Case 2) The NACK ratio in the second data unit is obtained according to the ratio of the number of target first data units in the second data unit to the number of first data units included in the second data unit.

[0132] For example, TB#3 is based on CBG transmission and CBG feedback. There are 4 CBGs in total, 3 of which are sent, one CBG that is not sent and receives NACK feedback (this CBG cannot be counted as a NACK CBG and should be ignored), and one CBG that can be counted as a NACK CBG. The NACK ratio in TB#3 is 1 / 3, that is, z = 1 / 3. Then, the value of z is substituted into the NACK ratio value (1+z) / 3 in the above reference time, and the NACK ratio in the reference time is 4 / 9.

[0133] It can be seen that this embodiment can perform normalization processing on the second data unit based on the first data unit for HARQ feedback in a variety of ways, and the implementation methods are flexible and diverse.

[0134] In this embodiment, for different HARQ feedback information, multiple methods can be used to calculate the NACK ratio within the reference time, and the implementation method is flexible and diverse with high accuracy.

[0135] In step S104, the CWS is adjusted according to the NACK ratio.

[0136] Wherein, when the data transmitting end is a base station and the data receiving end is a terminal, adjusting the CWS according to the NACK ratio may include: when the NACK ratio is greater than a preset threshold, increasing the value of the CWS. In addition, if the CWS value maintains a preset maximum value for a preset number of times, the CWS value is set to a preset minimum value.

[0137] Among them, when the data sending end is a terminal and the data receiving end is a base station, or when the data sending end is a terminal and the data receiving end is also a terminal, adjusting CWS according to the NACK ratio may include: when the NACK ratio is less than 1, setting the CWS value to a preset minimum value.

[0138] In the above embodiment, by determining the target first data unit or target second data unit that the HARQ feedback information can be counted as NACK information, the NACK ratio within the reference time is calculated based on the determined target first data unit and / or target second data unit, so that the calculation of the NACK ratio is more accurate, thereby making the subsequent CWS selection more reasonable.

[0139] Figure 2 This is a signaling flow chart of a CWS adjustment method shown in an exemplary embodiment of the present disclosure. This embodiment is described from the perspective of interaction between a base station and a UE, wherein the base station is a data sending end and the UE is a data receiving end. The CWS adjustment method includes:

[0140] In step S201, the base station sends data to the UE in units of CBG within a reference time.

[0141] In step S202, the UE returns HARQ feedback information to the base station in units of CBG within a reference time, where the HARQ feedback information includes ACK information or NACK information.

[0142] In step S203, the base station receives the HARQ feedback information returned by the UE within a reference time, and determines a target CBG for which the HARQ feedback information can be counted as NACK information.

[0143] In step S204, the base station calculates the NACK ratio within the reference time based on the determined target CBG.

[0144] In step S205, the base station adjusts the CWS according to the calculated NACK ratio.

[0145] In the above embodiment, through the interaction between the base station and the UE, the base station can calculate the NACK ratio within the reference time based on the determined target CBG, so that the calculation of the NACK ratio is more accurate, thereby making the subsequent CWS selection more reasonable.

[0146] Figure 3 is a block diagram of a CWS adjustment device according to an exemplary embodiment, which can be applied to a data sending end, wherein the data sending end can be a base station, and the corresponding data receiving end can be a UE; the data sending end can also be a UE, and the corresponding data receiving end can also be a base station; the data sending end can also be a UE, and the corresponding data receiving end can also be a UE, such as sidelink communication or vehicle networking communication, such as Figure 3 As shown, the device comprises:

[0147] The receiving module 31 is configured to receive hybrid automatic repeat request HARQ feedback information returned by the data receiving end for the first data unit and / or the second data unit within a reference time, the HARQ feedback information includes ACK information or NACK information, and a second data unit includes one or more first data units.

[0148] The first data unit may include but is not limited to CBG, and the second data unit may include but is not limited to TB.

[0149] The determination module 32 is configured to determine that the HARQ feedback information received by the receiving module 31 can be counted as a target first data unit or a target second data unit of NACK information.

[0150] In this embodiment, if NACK information is received from the data receiving end regarding the unsent first data unit or the unsent second data unit, the NACK information is ignored, and the unsent first data unit or the unsent second data unit is not determined as the target first data unit or the target second data unit; wherein all or part of the time-frequency resources allocated to the unsent first data unit or the unsent second data unit are occupied by other sent first data units or other sent second data units.

[0151] For example, when the data transmitting end is a base station, the data receiving end is a UE, and the first data unit is a CBG, if the base station originally plans to send CBG#a of the eMBB (enhanced Mobile BroadBand) service type on this time-frequency resource, and has informed UE#a that it needs to receive CBG#a on this time-frequency resource. However, since the CBG#b of the URLLC (Ultra Reliable Low Latency Communications) service with higher latency requirements needs to be sent on this time-frequency resource, that is, the time-frequency resource of CBG#a is occupied (pre-empted), then if UE#a feeds back a NACK for CBG#a, the NACK is ignored, and CBG#a is not determined as the target CBG. If the UE (which may be UE#a or other UE) feeds back a NACK for CBG#b, CBG#b is determined as the target CBG because CBG#b is a sent CBG.

[0152] In the above embodiment, when calculating the NACK ratio within the reference time, the data unit occupied by the time-frequency resource is ignored, because the data unit is not actually sent, and the NACK information for the CBG cannot reflect the channel status. Therefore, ignoring the NACK feedback for such CBG makes the calculation of the NACK ratio more accurate, thereby making the subsequent selection of the CWS value more reasonable.

[0153] In this embodiment, if NACK information is received from the data receiving end for the sent first data unit or the sent second data unit, or HARQ feedback information is not received from the data receiving end for the sent first data unit or the sent second data unit, the sent first data unit or the sent second data unit is determined as the target first data unit or the target second data unit; wherein the sent first data unit or the sent second data unit represents the first data unit or the second data unit whose entire content is sent.

[0154] For example, when the data sending end is a base station, the data receiving end is a UE, and the first data unit is CBG, if the base station actually sends CBG#c, and the feedback received from the UE for the CBG#c is NACK or no HARQ feedback information is received, CBG#c is determined as the target CBG.

[0155] The calculation module 33 is configured to calculate the NACK ratio within the reference time based on the target first data unit and / or the target second data unit determined by the determination module 32 .

[0156] The adjustment module 34 is configured to adjust the CWS according to the NACK ratio calculated by the calculation module 33 .

[0157] Wherein, when the data transmitting end is a base station and the data receiving end is a terminal, adjusting the CWS according to the NACK ratio may include: when the NACK ratio is greater than a preset threshold, increasing the value of the CWS. In addition, if the CWS value maintains a preset maximum value for a preset number of times, the CWS value is set to a preset minimum value.

[0158] Among them, when the data sending end is a terminal and the data receiving end is a base station, or when the data sending end is a terminal and the data receiving end is also a terminal, adjusting CWS according to the NACK ratio may include: when the NACK ratio is less than 1, setting the CWS value to a preset minimum value.

[0159] In the above embodiment, by determining the target first data unit or target second data unit that the HARQ feedback information can be counted as NACK information, the NACK ratio within the reference time is calculated based on the determined target first data unit and / or target second data unit, so that the calculation of the NACK ratio is more accurate, thereby making the subsequent CWS selection more reasonable.

[0160] Figure 4 is a block diagram of another CWS adjustment device according to an exemplary embodiment. Figure 4 As shown in the above Figure 3 Based on the illustrated embodiment, when the HARQ feedback information received within the reference time includes only the HARQ feedback information returned for the first data unit, the calculation module 33 may include:

[0161] The first counting submodule 331 is configured to count a first number of the target first data units based on the determined target first data units.

[0162] The first calculation submodule 332 is configured to calculate the NACK ratio based on the first number counted by the first statistics submodule 331 and the number of all first data units sent within a reference time.

[0163] If the CBGs in other TBs have been taken into account, the numerator and denominator of the NACK ratio are X and Y respectively. That is, in other TBs, the total number of CBGs that can be counted as NACK is X; the total number of CBGs that have been sent is Y. For TB#a where CBG#a is located, assuming that TB#a includes N CBGs, since CBG#a is a CBG that is not actually sent due to resource occupation, CBG#a is not the target CBG. Therefore, after removing CBG#a, there are still N-1 CBGs in TB#a, and among these N-1 CBGs, the HARQ feedback of M CBGs can be counted as NACK. Then when calculating the NACK ratio, after considering the impact of TB#a, the numerator of the NACK ratio becomes X+M, and the denominator becomes Y+N-1 or Y+N.

[0164] For example, 3 TBs are sent during the reference time: TB#1 has 4 CBGs sent in total, and 1 CBG can be counted as a CBG of NACK. Then the impact of this TB on the numerator of the NACK ratio is plus 1, and the impact on the denominator is plus 4; TB#2 has 3 CBGs sent in total, and 0 CBG can be counted as a CBG of NACK. Then the impact of this TB on the numerator of the NACK ratio is plus 0, and the impact on the denominator is plus 3; TB#3 has 4 CBGs in total, 3 of which are sent, and there is a CBG that is not sent and receives NACK feedback (this CBG cannot be counted as a CBG of NACK and should be ignored), and there is 1 CBG that can be counted as a CBG of NACK. Then the impact of this TB on the numerator of the NACK ratio is plus 1, and the impact on the denominator is plus 3 or 4. Then the NACK ratio during the reference time is (1+0+1) / (4+3+3)=2 / 10 or (1+0+1) / (4+3+4)=2 / 11.

[0165] In the above embodiment, the NACK ratio is calculated based on the first number counted by the first statistical submodule and the number of all first data units sent within the reference time, so that the calculated NACK ratio has high accuracy.

[0166] Figure 5 is a block diagram of another CWS adjustment device according to an exemplary embodiment. Figure 5 As shown in the above Figure 3 Based on the illustrated embodiment, when the HARQ feedback information received within the reference time includes only the HARQ feedback information returned for the first data unit, the calculation module 33 may include:

[0167] The first determining submodule 333 is configured to determine a ratio of the target number of first data units in each second data unit to the number of sent first data units contained in the corresponding second data unit as a NACK ratio in the corresponding second data unit.

[0168] The second calculation submodule 334 is configured to calculate the sum of the NACK ratios in all the second data units.

[0169] The acquisition submodule 335 is configured to acquire a second number of all second data units sent within a reference time.

[0170] The third calculation submodule 336 is configured to calculate the NACK ratio based on the sum of the NACK ratios in all the second data units calculated by the second calculation submodule 334 and the second number obtained by the obtaining submodule 335 .

[0171] In this embodiment, the NACK ratio in each TB is first calculated, and then the sum of the NACK ratios in all TBs is calculated, and the sum of the NACK ratios is used as the numerator and the second number of all TBs sent within the reference time is used as the denominator to calculate the NACK ratio.

[0172] For example, 3 TBs are sent within the reference time: 4 CBGs are sent in TB#1, and 1 CBG can be counted as a CBG with NACK, so the NACK ratio in this TB is 1 / 4; 3 CBGs are sent in TB#2, and 0 CBGs can be counted as CBGs with NACK, so the NACK ratio in this TB is 0; 4 CBGs are sent in TB#3, and 3 of them are sent, and there is a CBG that is not sent and receives NACK feedback (this CBG cannot be counted as a CBG with NACK and should be ignored), and there is 1 CBG that can be counted as a CBG with NACK, so the NACK ratio in this TB is 1 / 3 or 1 / 4. Then the NACK ratio within the reference time is (1 / 4+0+1 / 3) / 3=7 / 36 or (1 / 4+0+1 / 4) / 3=1 / 6.

[0173] In the above embodiment, the NACK ratio is calculated based on the sum of the NACK ratios in all the second data units calculated by the second calculation submodule and the second number obtained by the acquisition submodule, so that the calculated NACK ratio has high accuracy.

[0174] Figure 6 is a block diagram of another CWS adjustment device according to an exemplary embodiment. Figure 6 As shown in the above Figure 3 Based on the illustrated embodiment, when the HARQ feedback information received within the reference time includes only the HARQ feedback information fed back for the second data unit, the calculation module 33 may include:

[0175] The second counting submodule 336 is configured to count a third number of the target second data units based on the determined target second data units.

[0176] The fourth calculation submodule 337 is configured to calculate the NACK ratio based on the third number counted by the second statistics submodule 336 and the number of all second data units sent within the reference time.

[0177] The second data unit may be TB, and the calculation method of the NACK ratio is similar to the calculation method in method 1).

[0178] For example, there are 4 TBs in the reference time, one of which is not fully sent and receives NACK feedback from the UE (then this TB cannot be counted as a NACK TB and should be ignored), and there is another TB that can be counted as a NACK. Then the NACK ratio in the reference time is 1 / 3 or 1 / 4.

[0179] It should be noted that this calculation method is applicable to the scenario where the data sending end is a base station and the data receiving end is a UE, and is also applicable to the scenario where both the data sending end and the data receiving end are UEs, for example, D2D or V2X scenarios.

[0180] In the above embodiment, the NACK ratio is calculated based on the third number counted by the second statistical submodule and the number of all second data units sent within the reference time, so that the calculated NACK ratio has high accuracy.

[0181] Figure 7 is a block diagram of another CWS adjustment device according to an exemplary embodiment. Figure 7 As shown in the above Figure 3 Based on the illustrated embodiment, when the HARQ feedback information received within the reference time includes the HARQ feedback information returned for the first data unit and the HARQ feedback information returned for the second data unit, the calculation module 33 may include:

[0182] The processing submodule 338 is configured to perform normalization processing on the second data unit to which the first data unit belongs, with respect to the HARQ feedback information returned based on the first data unit, so as to obtain the NACK ratio in the second data unit.

[0183] The second determination submodule 339 is configured to, for HARQ feedback information based on the second data unit feedback, if the second data unit is the target second data unit, the NACK ratio within the second data unit is 1; if the second data unit is not the target second data unit, the NACK ratio within the second data unit is 0.

[0184] The fifth calculation submodule 340 is configured to calculate the NACK ratio based on the sum of the NACK ratios in all second data units obtained by the processing submodule 338 and the second determination submodule 339 and the number of all second data units sent within the reference time.

[0185] For example, 3 TBs are sent within the reference time: TB#1 is based on the sending of TB and the HARQ feedback based on TB, the feedback is ACK, and TB#1 is not counted as a TB with NACK, then the NACK ratio in TB#1 is 0; TB#2 is based on the sending of TB and the HARQ feedback based on TB, the feedback is NACK, and TB#2 is counted as a TB with NACK, then the NACK ratio in this TB is 1; TB#3 is based on the sending of CBG and the feedback based on CBG, of which there are a total of 4 CBGs, 3 of which are sent, one CBG that is not sent and receives NACK feedback (this CBG cannot be counted as a CBG with NACK and should be ignored), and one CBG that can be counted as a CBG with NACK, then the NACK ratio in TB#3 is z. Then the NACK ratio within the reference time is (1+z) / 3. The specific value of z is determined by the following method.

[0186] In the above embodiment, the NACK ratio is calculated based on the sum of the NACK ratios in all second data units obtained by the processing submodule and the second determining submodule and the number of all second data units sent within the reference time, so that the calculated NACK ratio has high accuracy.

[0187] Figure 8 is a block diagram of another CWS adjustment device according to an exemplary embodiment. Figure 8 As shown in the above Figure 7 On the basis of the illustrated embodiment, the processing submodule 338 may include: a first processing unit 3381 or a second processing unit 3382 .

[0188] The first processing unit 3381 is configured to determine the second data unit as the target second data unit and determine the NACK ratio in the second data unit to be 1 when the ratio of the number of target first data units in the second data unit to the number of first data units contained in the second data unit reaches a preset ratio.

[0189] Among them, the preset ratio can be flexibly set according to needs.

[0190] Continuing the above example, TB#3 is based on the transmission and feedback of CBG. There are 4 CBGs in total, 3 of which are sent, one CBG that is not sent and receives NACK feedback (this CBG cannot be counted as a NACK CBG and should be ignored), and one CBG that can be counted as a NACK CBG. The NACK ratio in TB#3 is 1 / 3. If the preset ratio is 1 / 4, then this TB is the target TB counted as NACK, and the NACK ratio in TB#3 is 1, that is, z=1. Then, the value of z is substituted into the NACK ratio value (1+z) / 3 in the above reference time, and the NACK ratio in the reference time is 2 / 3.

[0191] The second processing unit 3382 is configured to obtain a NACK ratio within the second data unit according to a ratio of the number of target first data units in the second data unit to the number of first data units included in the second data unit.

[0192] For example, TB#3 is based on CBG transmission and CBG feedback. There are 4 CBGs in total, 3 of which are sent, one CBG that is not sent and receives NACK feedback (this CBG cannot be counted as a NACK CBG and should be ignored), and one CBG that can be counted as a NACK CBG. The NACK ratio in TB#3 is 1 / 3, that is, z = 1 / 3. Then, the value of z is substituted into the NACK ratio value (1+z) / 3 in the above reference time, and the NACK ratio in the reference time is 4 / 9.

[0193] In the above embodiment, the second data unit for HARQ feedback based on the first data unit can be normalized in a variety of ways, and the implementation methods are flexible and diverse.

[0194] This embodiment further provides a data sending device, the data sending device comprising:

[0195] processor;

[0196] a memory for storing processor-executable instructions;

[0197] Wherein, the processor is configured to:

[0198] Receiving hybrid automatic repeat request HARQ feedback information returned by the data receiving end for the first data unit and / or the second data unit within the reference time, wherein the HARQ feedback information includes ACK information or NACK information, and one second data unit includes one or more first data units;

[0199] Determining that the HARQ feedback information can be counted as a target first data unit or a target second data unit of the NACK information;

[0200] Calculating a NACK ratio within the reference time based on the determined target first data unit and / or target second data unit;

[0201] The CWS is adjusted according to the NACK ratio.

[0202] The data sending device may be a UE or a base station.

[0203] Fig. 9900 is a block diagram of an adjustment device applicable to CWS according to an exemplary embodiment. For example, the device 900 may be a user device such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0204] Reference Fig. 9 , the device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .

[0205] The processing component 902 generally controls the overall operation of the device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above-described method. In addition, the processing component 902 may include one or more modules to facilitate interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.

[0206] One of the processors 920 in the processing component 902 may be configured to:

[0207] receiving hybrid automatic repeat request HARQ feedback information returned by the data receiving end for the first data unit and / or the second data unit within the reference time, where the HARQ feedback information includes ACK information or NACK information, and one second data unit includes one or more first data units;

[0208] Determining that the HARQ feedback information may be counted as a target first data unit or a target second data unit of NACK information;

[0209] Calculating a NACK ratio within a reference time based on the determined target first data unit and / or target second data unit;

[0210] Adjust CWS according to the NACK ratio.

[0211] The memory 904 is configured to store various types of data to support operations on the device 900. Examples of such data include instructions for any application or method operating on the device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0212] The power supply component 906 provides power to the various components of the device 900. The power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.

[0213] The multimedia component 908 includes a screen that provides an output interface between the device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0214] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the device 900 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.

[0215] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0216] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the device 900. For example, the sensor assembly 914 can detect the open / closed state of the device 900, the relative positioning of components, such as the display and keypad of the device 900, and the sensor assembly 914 can also detect the position change of the device 900 or a component of the device 900, the presence or absence of user contact with the device 900, the orientation or acceleration / deceleration of the device 900, and the temperature change of the device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0217] The communication component 916 is configured to facilitate wired or wireless communication between the device 900 and other devices. The device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0218] In an exemplary embodiment, the apparatus 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.

[0219] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the instructions can be executed by the processor 920 of the device 900 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0220] Fig.10 1 is a block diagram of another adjustment device applicable to CWS according to an exemplary embodiment. The device 1000 may be provided as a base station. Fig.10The device 1000 includes a processing component 1022, a wireless transmission / reception component 1024, an antenna component 1026, and a signal processing part specific to the wireless interface. The processing component 1022 may further include one or more processors.

[0221] One of the processors in the processing component 1022 may be configured to:

[0222] receiving hybrid automatic repeat request HARQ feedback information returned by the data receiving end for the first data unit and / or the second data unit within the reference time, where the HARQ feedback information includes ACK information or NACK information, and one second data unit includes one or more first data units;

[0223] Determining that the HARQ feedback information may be counted as a target first data unit or a target second data unit of NACK information;

[0224] Calculating a NACK ratio within a reference time based on the determined target first data unit and / or target second data unit;

[0225] Adjust CWS according to the NACK ratio.

[0226] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, and the instructions can be executed by the processing component 1022 of the device 1000 to complete the above-mentioned CWS adjustment method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0227] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0228] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprises a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0229] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0230] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for adjusting contention window size CWS, characterized in that: Applied to a data sending end, the method comprises: Receiving hybrid automatic repeat request HARQ feedback information returned by the data receiving end for the first data unit and / or the second data unit within the reference time, wherein the HARQ feedback information includes ACK information or NACK information, and one second data unit includes one or more first data units; Determining that the HARQ feedback information can be counted as a target first data unit or a target second data unit of the NACK information; Calculating a NACK ratio within the reference time based on the determined target first data unit and / or target second data unit; Adjust the CWS according to the ratio of ACKs corresponding to the NACKs; The determining that the HARQ feedback information can be counted as a target first data unit or a target second data unit of the NACK information includes: If NACK information is received from the data receiving end for an unsent first data unit or an unsent second data unit, the NACK information is ignored, and the unsent first data unit or the unsent second data unit is not determined as a target first data unit or a target second data unit; wherein all or part of the time-frequency resources allocated to the unsent first data unit or the unsent second data unit are occupied by other sent first data units or other sent second data units; or, If NACK information is received from the data receiving end for the sent first data unit or the sent second data unit, or HARQ feedback information is not received from the data receiving end for the sent first data unit or the sent second data unit, the sent first data unit or the sent second data unit is determined as the target first data unit or the target second data unit; wherein the sent first data unit or the sent second data unit represents the first data unit or the second data unit whose entire content is sent.

2. The method according to claim 1, characterized in that When the HARQ feedback information received within the reference time includes only HARQ feedback information returned for the first data unit, the calculating the NACK ratio within the reference time based on the determined target first data unit and / or target second data unit includes: counting a first number of target first data units based on the determined target first data units; The NACK ratio is calculated based on the first number and the number of all first data units sent within the reference time.

3. The method according to claim 1, characterized in that When the HARQ feedback information received within the reference time includes only HARQ feedback information returned for the first data unit, the calculating the NACK ratio within the reference time based on the determined target first data unit and / or target second data unit includes: Determine a ratio of the target number of first data units in each second data unit to the number of sent first data units contained in the corresponding second data unit as a NACK ratio in the corresponding second data unit; Calculating the sum of NACK ratios in all second data units; Obtain a second number of all second data units sent within the reference time; The NACK ratio is calculated based on the sum of the NACK ratios in all the second data units and the second number.

4. The method according to claim 1, characterized in that: When the HARQ feedback information received within the reference time includes only HARQ feedback information fed back for the second data unit, the calculating the NACK ratio within the reference time based on the determined target first data unit and / or target second data unit includes: counting a third number of the target second data units based on the determined target second data units; The NACK ratio is calculated based on the third number and the number of all second data units sent within the reference time.

5. The method according to claim 1, characterized in that When the HARQ feedback information received within the reference time includes HARQ feedback information returned for the first data unit and HARQ feedback information returned for the second data unit, the calculating the NACK ratio within the reference time based on the determined target first data unit and / or target second data unit includes: For the HARQ feedback information returned based on the first data unit, normalize the second data unit to which the first data unit belongs to obtain a NACK ratio in the second data unit; For the HARQ feedback information fed back based on the second data unit, if the second data unit is a target second data unit, the NACK ratio in the second data unit is 1; if the second data unit is not the target second data unit, the NACK ratio in the second data unit is 0; The NACK ratio is calculated based on the sum of the NACK ratios in all the second data units and the number of all the second data units sent within the reference time.

6. The method according to claim 5, characterized in that The normalizing the second data unit to which the first data unit belongs to obtain a NACK ratio in the second data unit includes: When the ratio of the number of the target first data units in the second data unit to the number of the first data units contained in the second data unit reaches a preset ratio, the second data unit is determined as the target second data unit, and the NACK ratio in the second data unit is determined to be 1; or The NACK ratio in the second data unit is obtained according to the ratio of the number of the target first data units in the second data unit to the number of the first data units included in the second data unit.

7. The method according to claim 1, characterized in that When the data transmitting end is a base station and the data receiving end is a terminal, the adjusting the CWS according to the NACK ratio includes: When the NACK ratio is greater than a preset threshold, the value of the CWS is increased.

8. The method according to claim 7, characterized in that The method further comprises: If the CWS value maintains the preset maximum value for a preset number of times, the CWS value is set to a preset minimum value.

9. The method according to claim 1, characterized in that: When the data sending end is a terminal and the data receiving end is a base station, or when the data sending end is a terminal and the data receiving end is also a terminal, adjusting the CWS according to the NACK ratio includes: When the NACK ratio is less than 1, the value of the CWS is set to a preset minimum value.

10. A device for adjusting contention window size CWS, characterized in that: Applied to a data transmitting end, the device comprises: A receiving module, configured to receive hybrid automatic repeat request HARQ feedback information returned by a data receiving end for a first data unit and / or a second data unit within a reference time, wherein the HARQ feedback information includes ACK information or NACK information, and one second data unit includes one or more of the first data units; a determination module, configured to determine that the HARQ feedback information received by the receiving module can be counted as a target first data unit or a target second data unit of the NACK information; a calculation module, configured to calculate a NACK ratio within the reference time based on the target first data unit and / or the target second data unit determined by the determination module; an adjustment module, configured to adjust the CWS according to the ratio of the ACKs corresponding to the NACKs calculated by the calculation module; Wherein, the determination module is configured as follows: If NACK information is received from the data receiving end for an unsent first data unit or an unsent second data unit, the NACK information is ignored, and the unsent first data unit or the unsent second data unit is not determined as a target first data unit or a target second data unit; wherein all or part of the time-frequency resources allocated to the unsent first data unit or the unsent second data unit are occupied by other sent first data units or other sent second data units; or, If NACK information is received from the data receiving end for the sent first data unit or the sent second data unit, or HARQ feedback information is not received from the data receiving end for the sent first data unit or the sent second data unit, the sent first data unit or the sent second data unit is determined as the target first data unit or the target second data unit; wherein the sent first data unit or the sent second data unit represents the first data unit or the second data unit whose entire content is sent.

11. The device according to claim 10, characterized in that When the HARQ feedback information received within the reference time includes only the HARQ feedback information returned for the first data unit, the calculation module includes: A first counting submodule is configured to count a first quantity of the target first data unit based on the determined target first data unit; The first calculation submodule is configured to calculate the NACK ratio based on the first number counted by the first statistics submodule and the number of all first data units sent within the reference time.

12. The device according to claim 10, characterized in that When the HARQ feedback information received within the reference time includes only the HARQ feedback information returned for the first data unit, the calculation module includes: A first determining submodule is configured to determine a ratio of the target number of first data units in each second data unit to the number of sent first data units contained in the corresponding second data unit as a NACK ratio in the corresponding second data unit; A second calculation submodule is configured to calculate the sum of NACK ratios in all second data units; An acquisition submodule, configured to acquire a second number of all second data units sent within the reference time; The third calculation submodule is configured to calculate the NACK ratio based on the sum of the NACK ratios in all the second data units calculated by the second calculation submodule and the second number obtained by the obtaining submodule.

13. The device according to claim 10, characterized in that When the HARQ feedback information received within the reference time includes only the HARQ feedback information fed back for the second data unit, the calculation module includes: A second counting submodule is configured to count a third number of the target second data units based on the determined target second data units; The fourth calculation submodule is configured to calculate the NACK ratio based on the third number counted by the second statistics submodule and the number of all second data units sent within the reference time.

14. The device according to claim 10, characterized in that When the HARQ feedback information received within the reference time includes HARQ feedback information returned for the first data unit and HARQ feedback information returned for the second data unit, the calculation module includes: a processing submodule, configured to perform normalization processing on a second data unit to which the first data unit belongs, for HARQ feedback information returned based on the first data unit, so as to obtain a NACK ratio in the second data unit; A second determining submodule is configured to, for HARQ feedback information fed back based on the second data unit, if the second data unit is a target second data unit, then the NACK ratio in the second data unit is 1; if the second data unit is not the target second data unit, then the NACK ratio in the second data unit is 0; The fifth calculation submodule is configured to calculate the NACK ratio based on the sum of the NACK ratios in all second data units obtained by the processing submodule and the second determination submodule and the number of all second data units sent within the reference time.

15. The device according to claim 14, characterized in that The processing submodule comprises: a first processing unit configured to, when a ratio of the number of the target first data units in the second data unit to the number of the first data units contained in the second data unit reaches a preset ratio, determine the second data unit as the target second data unit, and determine that the NACK ratio in the second data unit is 1; or The second processing unit is configured to obtain a NACK ratio in the second data unit according to a ratio of the number of the target first data units in the second data unit to the number of the first data units included in the second data unit.

16. The device according to claim 10, characterized in that When the data transmitting end is a base station and the data receiving end is a terminal, the adjustment module is configured to: When the NACK ratio is greater than a preset threshold, the value of the CWS is increased.

17. The device according to claim 16, characterized in that The adjustment module is further configured to: If the CWS value maintains the preset maximum value for a preset number of times, the CWS value is set to a preset minimum value.

18. The device according to claim 10, characterized in that When the data sending end is a terminal and the data receiving end is a base station, or when the data sending end is a terminal, the adjustment module is configured to: When the NACK ratio is less than 1, the value of the CWS is set to a preset minimum value.

19. A data transmission device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: Receiving hybrid automatic repeat request HARQ feedback information returned by the data receiving end for the first data unit and / or the second data unit within the reference time, wherein the HARQ feedback information includes ACK information or NACK information, and one second data unit includes one or more first data units; Determining that the HARQ feedback information can be counted as a target first data unit or a target second data unit of the NACK information; Calculating a NACK ratio within the reference time based on the determined target first data unit and / or target second data unit; Adjust the CWS according to the ratio of ACKs corresponding to the NACKs; The determining that the HARQ feedback information can be counted as a target first data unit or a target second data unit of the NACK information includes: If NACK information is received from the data receiving end for an unsent first data unit or an unsent second data unit, the NACK information is ignored, and the unsent first data unit or the unsent second data unit is not determined as a target first data unit or a target second data unit; wherein all or part of the time-frequency resources allocated to the unsent first data unit or the unsent second data unit are occupied by other sent first data units or other sent second data units; or, If NACK information is received from the data receiving end for the sent first data unit or the sent second data unit, or HARQ feedback information is not received from the data receiving end for the sent first data unit or the sent second data unit, the sent first data unit or the sent second data unit is determined as the target first data unit or the target second data unit; wherein the sent first data unit or the sent second data unit represents the first data unit or the second data unit whose entire content is sent.

20. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed by the processor, the steps of the method for adjusting the contention window size CWS described in any one of claims 1 to 9 are implemented.