Patent Description:
At present, during development of a wireless communication system, for an unlicensed frequency spectrum, in a <NUM>rd generation partnership project (3GPP), a mechanism based on license assisted access (LAA) is proposed to use the unlicensed frequency band, that is, usage of the unlicensed frequency band is implemented with the assistance of a licensed frequency band. In order to ensure coexistence with other systems, such as a wireless fidelity (WiFi) system on the unlicensed frequency band, a mechanism of conducting channel detection before sending data is introduced in mechanism based on LAA.

<CIT> describes a method for transmitting, by a base station, a downlink signal in a wireless communication system supporting an unlicensed band, and a device for supporting the same. More particularly, in accordance with one embodiment of the present invention, when acknowledgment timing of each terminal (for example, an interval length from a time point of receiving downlink data to a time point of transmitting acknowledgment information for the downlink data) is set flexibly (or independently), a base station may determine a reference downlink resource for contention window size (CWS) adjustment by considering the acknowledgement timing and perform downlink signal transmission by adjusting CWS on the basis of the acknowledgment information received for the reference downlink resource. <CIT> discloses updating an uplink contention window size in a listen before talk process in a wireless communication system such as LTE may be done by the eNB if transport blocks contained in the starting subframe of a reference scheduled burst transmitted by a User Equipment are successfully decoded at the eNB. Otherwise, the User equipment adjusts the contention window size depending on information supplied by the eNB. This information identifies the first subframe in the burst whose transport block the base station was able to successfully decode. Depending on whether the User Equipment was first transmitting before or on the identified subframe, the User Equipment can either increase or reset the contention window size. <CIT> discloses a wireless transmit/receive unit (WTRU) may perform listen before talk (LBT) on a channel prior to uplink transmission on the channel. The WTRU may adjust an amount of time that the WTRU performs LBT. For example, WTRU may receive a set of transmission opportunities. The WTRU may receive a contention window size (CWS) sequence including a CWS for each transmission opportunity. The CWS sequence may be unique and may be based on the identity of the WTRU. For a given transmission opportunity, the WTRU may select a random number between zero and the CWS for that transmission opportunity. If the channel is clear for at least an amount of time associated with the random number, the WTRU may transmit in the transmission opportunity. If the channel is not clear for at least an amount of time associated with the random number, the WTRU may not transmit in the transmission opportunity.

The disclosure provides a method for determining a contention window, a communication device, a computer program product and a storage medium, according to claims <NUM>-<NUM>.

The example embodiments will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following descriptions refer to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following example embodiments do not represent all the implementations consistent with the present invention. Rather, they are merely examples of the apparatus and method consistent with some aspects of the present invention as defined in the appended claims.

Terms used herein in the description of the present disclosure are only for the purpose of describing specific embodiments, but should not be construed to limit the present disclosure. As used in the description of the present disclosure and the appended claims, "a" and "the" in singular forms mean including plural forms, unless clearly indicated in the context otherwise. It should also be understood that, as used herein, the term "and/or" represents and contains any one and all possible combinations of one or more associated listed items.

Although terms such as "first", "second" and "third" are used herein for describing various elements, these elements should not be limited by these terms. These terms are only used for distinguishing one element from another element. For example, first information may also be called second information, and similarly, the second information may also be called the first information, without departing from the scope of the present disclosure. As used herein, the term "if' may be construed to mean "when" or "upon" or "in response to determining" or "in accordance with a determination" or "in response to detecting," that a stated condition precedent is true, depending on the context.

At present, during development of a wireless communication system, for an unlicensed frequency spectrum, in a <NUM>rd generation partnership project (3GPP), a mechanism based on license assisted access (LAA) is proposed to use the unlicensed frequency band, that is, usage of the unlicensed frequency band is implemented with the assistance of a licensed frequency band. In order to ensure coexistence with other systems, such as a wireless fidelity (WiFi) system on the unlicensed frequency band, a mechanism of conducting channel detection before sending data is introduced in mechanism based on LAA. A transmitting end device needs to detect whether a channel is idle when having data to be sent, and only when the channel is idle, the transmitting end device can send data. At present, there are multiple channel detection mechanisms. For example, in a channel detection process for a downlink transmission, a terminal may adopt a channel detection mechanism of category <NUM> (Cat4).

The channel detection mechanism of cat4 is based on a clear channel assessment (CCA) with random back-off. A wireless communication device equally and randomly generates a back-off counter N between <NUM> and a contention window size (CWS), and performs listening on granularity of clear channel assessment slot (CCA slot). If it is detected that the channel is idle within a listening time slot, the back-off counter is decreased by <NUM>. If it is detected that the channel is busy, the back-off counter is suspended, i.e., the back-off counter keeps unchanged during a busy time of the channel, until it is detected that the channel is idle. When the back-off counter indicates <NUM>, the wireless communication device may occupy the channel immediately. Here, the CWS is adjusted dynamically in the channel detection mechanism of cat4. The wireless communication device dynamically adjusts the CWS based on whether a previous transmission is correctly received by a receiving node. However, in the related art, it is possible that the CWS is set inappropriately, which may cause a conflict in using the unlicensed frequency band and a low access efficiency of the random access.

<FIG> is a schematic diagram illustrating a wireless communication system according to an embodiment of the present disclosure. As illustrated in <FIG>, the wireless communication system is a communication system based on a cellular mobile communication technology. The wireless communication system may include several terminals <NUM> and several base stations <NUM>.

The terminal <NUM> may refer to a device that provides voice and/or data connectivity for a user. The terminal <NUM> may communicate with one or more core networks through a radio access network, RAN. The terminal <NUM> may be an internet of things terminal, for example, a sensor device, a mobile phone (or referred to as a cellular phone) and a computer having an internet of things terminal, for example, may be a fixed, portable, compact, handheld, computer built-in or vehicle-mounted apparatus, for example, a station, STA, a subscriber unit, a subscriber station, a mobile station, a mobile, a remote station, an access point, a remote terminal, an access terminal, a user terminal, a user agent, a user device or a user equipment, UE. Or, the terminal <NUM> may be a device of an unmanned vehicle, a vehicle-mounted device, etc. for example, a vehicle-mounted computer has the wireless communication function, or a wireless communication device externally connected to the vehicle-mounted computer. Or, the terminal <NUM> may be a roadside device, for example a road light, a traffic light or other roadside devices each has the wireless communication function.

The base station <NUM> may be a network side device in the wireless communication system. The wireless communication system may be the 4th generation mobile communication, <NUM>, system, also referred to as a long term evolution, LTE, system; or the wireless communication system may be the <NUM> system, also referred to as a new radio, NR, system. Or, the wireless communication system may be a next generation system of the <NUM> system. The access network in the <NUM> system may be called as a new generation-radio access network, NG-RAN. Or the wireless communication system may be a MTC system.

The base station <NUM> may be an eNB adopted in the <NUM> system. Or, the base station <NUM> may be a base station, gNB, with a centralized distributed architecture in the <NUM> system. When the base station <NUM> adopts a centralized distributed architecture, it generally includes a central unit, CU, and at least two distributed units, DU. The central unit is provided with a protocol stack including a Packet Data Convergence Protocol, PDCP, layer, a Radio Link Control, RLC, layer and a Media Access Control, MAC, layer. The distributed unit is provided with a protocol stack including a physical, PHY, layer. The specific implementation of the base station <NUM> is not limited in embodiments of the disclosure.

A wireless connection can be established between the base station <NUM> and the terminal <NUM> through a wireless air interface. In different embodiments, the wireless air interface is a wireless air interface based on the <NUM> standard. Alternatively, the wireless air interface is a wireless air interface based on the <NUM> standard. For example, the wireless air interface is the NR. Alternatively, the wireless air interface can also be a wireless air interface based on a standard of next generation mobile communication network technology based on the <NUM>.

In some embodiments, an end to end connection can be established between the terminals <NUM>, for example in a scenario such as a vehicle to vehicle, V2V, communication, a vehicle to infrastructure, V2I, communication and a vehicle to pedestrian, V2P, communication in a vehicle to everything, ,V2X, communication.

In some embodiments, the wireless communication system may further include a network management device <NUM>.

Server base stations <NUM> are connected to the network management device <NUM> respectively. The network management device <NUM> may be a core network device in the wireless communication system. For example, the network management device <NUM> may be a mobility management entity, MME, of an evolved packet core, EPC, network. Alternatively, the network management device may also be another core network device, such as a serving gateway, SGW, a public data network gateway, PGW, and a policy and charging rules function, PCRF, unit or a home subscriber server, HSS. The implementation form of the network management device <NUM> is not limited in the embodiments of the disclosure.

<FIG> is a flowchart illustrating a method for determining a contention window according to an embodiment of the disclosure. The method includes the following.

At block S110, a contention window size (CWS) of a random access contention window on an unlicensed frequency band is determined based on a transmission block, TB, based reception feedback.

Here, the TB based reception feedback may be a TB based hybrid automatic repeat request, HARQ, feedback. It should be noted that in the wireless communication system, due to a time-varying characteristic of a wireless channel and an effect of multipath fading, the signal transmission may be affected, thus leading to a failure of data transmission. In order to solve the problem, in the wireless communication system, an HARQ mechanism is introduced. Based on a success or failure of data reception fed back by a receiving device, a transmitting device decides whether to re-transmit a data packet which has been transmitted already. In the LTE system, a time of data transmission has a timing relationship with a feedback time of an ACK/NACK. Due to limit of a processing capability of a terminal, in the LTE system, with reference to <FIG>, taking a downlink data transmission as an example, the time of the data transmission and the feedback time of the ACK/NACK have a difference of <NUM>. It should be noted that, in a design of the <NUM> NR system, a CBG based feedback mechanism is introduced. That is, a transmission of one TB may include multiple CBGs. The receiving device may perform HARQ feedback for each CBG, without performing feedback for the whole TB. Here, using the TB based feedback mode may reduce overhead of signaling and control channel resources but may waste a resource for retransmission. Using the CBG based feedback mode may reduce occurrence of retransmitting the whole TB so as to reduce a waste of transmission resources due to retransmission, but may cause an increase of control signaling. Here, the feedback mode may be adjusted based on actual situations, such that the overhead of control signaling may be controlled while improving performance of the data transmission.

Here, a data sending device of the TB based reception feedback may be a user equipment, UE, and a corresponding data receiving device may be a base station. It should be noted that, when the data sending device of the feedback is the UE, the corresponding data receiving device may be also a UE, for example in a everything to everything sidelink communication or the V2X communication. Here, the CWS may be a time length corresponding to the contention window. For example, taking a time slot as the time unit, a minimum CWS may be set to <NUM> time slots.

In the embodiment of the disclosure, the CWS of the random access contention window on the unlicensed frequency band can be determined based on the TB based reception feedback. Since the CWS adapts to the TB based reception feedback, the CWS more suitable to a current transmission scenario may be obtained.

In one non-claimed embodiment, as illustrated in <FIG>, a method of determining a contention window is provided. The step of determining the CWS of the random access contention window on the unlicensed frequency band based on the TB based reception feedback in block S <NUM> may include the following.

At block S210, TB based HARQ feedback information within a predetermined time period is obtained. The TB based HARQ feedback information includes a NACK and an ACK.

At block S220, a ratio of the NACK in the TB based HARQ feedback information is determined.

At block S230, the CWS of the random access contention window on the unlicensed frequency band is determined based on the ratio.

Here, the predetermined time period may be a time period corresponding to a time slot, a symbol, a sub-frame, a wireless frame or other customized time period.

Here, when transmitting data based on the TB based HARQ feedback, the data receiving device determines whether the data is received correctly. When the data is received correctly, the ACK is fed back. When the data is not received correctly, the NACK is fed back. Here, the ACK/ACK is transmitted on a physical uplink control channel, PUCCH, or a physical uplink shared channel, PUSCH.

Here, in a non-claimed embodiment, there are two TB based Physical Downlink Shared Channel, PDSCH, transmissions having HARQ feedback to be performed in in one time slot, one of them feeds back the NACK, then the ratio of the NACK in the HARQ feedback information is <NUM>/<NUM>=<NUM>.

Here, determining the CWS of the random access contention window on the unlicensed frequency band based on the ratio may include: when the ratio of the NACK in the HARQ feedback information is greater than a preset threshold, increasing the CWS; when the ratio of the NACK in the HARQ feedback information is not greater than a preset threshold, setting the CWS to be a preset minimum value. In addition, when the number of occurrences of maintaining the CWS to be a preset maximum value reaches a preset number, the CWS is set to the preset minimum value. With reference to <FIG>, take a channel detection mechanism of cat4 which performs detection based on a clear channel assessment with random back-off as an example. A back-off counter N is generated randomly and equally by a wireless communication device between <NUM> and CWS, and listening is performed on granularity of CCA slot. If it is detected that the channel is idle in the CCA slot (i.e., Idle CCA slot), the back-off counter is decreased by <NUM>. If it is detected that the channel is busy in the CCA slot (i.e., Busy CCA slot), the back-off counter is suspended, that is, the back-off counter keeps unchanged during the Busy CCA slot, until it is detected the channel is idle. When the back-off counter indicates <NUM>, the wireless communication device may immediately occupy the channel. In the channel detection mechanism of cat4, the CWS may be adjusted dynamically. The wireless communication device dynamically adjusts the CWS based on whether a previous transmission is correctly received by a receiving node. In this way, a suitable CWS may be obtained based on a channel state and a network business load, thus achieving a compromise between decreasing a collision of nodes and improving a channel access efficiency. Assuming that the CWS corresponding to a first downlink PDSCH transmission is <NUM>, if the terminal cannot receive the PDSCH successfully in the first downlink PDSCH transmission, the base station may determine that the ratio of the NACK in the HARQ feedback information is greater than the preset threshold <NUM>% based on the failure of reception using any technical solution in the disclosure. In this case, the CWS needs to be increased, such that the CWS may be adjusted to <NUM>. And the CWS which is equal to <NUM> will be used in a second downlink PDSCH transmission to generate a random N and perform the channel listening.

Here, determining the CWS of the random access contention window on the unlicensed frequency band may include the following.

In a first step, for each business priority p ∈ {<NUM>,<NUM>,<NUM>,<NUM>}, the CWS is set. Assuming that the CWS is represented by CWp, then CWp =CWminp.

In a second step, when the ratio of the NACK in the HARQ feedback information is greater than <NUM>, the value of CWp is increased for each business priority p ∈ {<NUM>,<NUM>,<NUM>,<NUM>}. Here, the value CWp in a higher level is obtained from a CWS table (the CWS table includes values of CWp in different levels) corresponding to the business priority, and maintained in the second step. When ratio of the NACK in the HARQ feedback information is not greater than <NUM>, the first step is executed, to decrease the value of CWp for each business priority p ∈ {<NUM>,<NUM>,<NUM>,<NUM>} to the value of CWp in a lowest level in the CWS table corresponding to the business priority. A reference sub-frame k may be a first sub-frame in a downlink transmission closest to a current time sent by the base station on a current carrier, and the base station may expect to receive a HARQ-ACK feedback on the sub-frame. In addition, if the value of CWp equals to the maximum value CWmax,p in the set, a next higher value of the CWS is still CWmax,p. If the value of CWp corresponding to a certain business priority is adjusted continually for Q times, and in the back-off counter, the CWS equals to the maximum value, i.e., CWp = CWmax, p, then the value of CWp corresponding to the certain business priority is set to the minimum value CWmin,p. The value of Q is selected by the base station from {<NUM>, <NUM>,. And the value of Q can be selected independently for each business priority p∈{<NUM>,<NUM>,<NUM>,<NUM>}.

In a claimed embodiment, as illustrated in <FIG>, a method of determining a contention window is provided. The step of determining the ratio of the NACK in the TB based HARQ feedback information in block S220 may include the following.

At block S410, a first number of the TB based HARQ feedback information received within the predetermined time period is determined.

At block S420, a second number of the NACK is determined.

At block S430, the ratio of the second number to the first number is determined.

Here, assuming that there are two TB based PDSCH transmissions having HARQ feedback to be performed in a reference time slot and one of them feeds back the NACK. Further, assuming that there are ten CBGs having HARQ feedback to be performed and seven of them feed back the NACK. A coefficient is set to <NUM>. Then the second number of the NACK is <NUM>*<NUM>+<NUM>*<NUM>=<NUM>. The first number of the HARQ feedback information is <NUM>*<NUM>+<NUM>*<NUM>=<NUM>. The ratio of the second number to the first number is <NUM>%.

In an embodiment, in block S220, the ratio includes a first ratio obtained based on the TB based reception feedback.

In block S230, determining the CWS of the random access contention window on the unlicensed frequency band based on the ratio includes: determining the CWS of the random access contention window on the unlicensed frequency band based on the first ratio.

Here, in a claimed embodiment, a coefficient is defined, which is used to represent a proportion of the TB based HARQ feedback and the CBG based HARQ feedback in a statistical result. The first ratio of the fed back NACK in the time slot is determined based on the coefficient. For example, assume that there are two TB based PDSCH transmissions having HARQ feedback to be performed in a reference time slot and one of them feeds back the NACK. Further, assume that there are ten CBGs having HARQ feedback to be performed and seven of them feed back the NACK. If the predefined coefficient is <NUM>, then the first ratio of the fed back NACK is (<NUM>*<NUM>+<NUM>*<NUM>) / (<NUM>*<NUM>+<NUM>*<NUM>) = <NUM>%. The CWS of the random access contention window on the unlicensed frequency band can be determined based on the first ratio.

In another embodiment, another coefficient can be defined, which is used to represent a number of CBGs forming one TB for statistics. The coefficient can be pre-defined. For example, assume that there are two TB based PDSCH transmissions having HARQ feedback to be performed in a reference time slot and one of them feeds back the NACK. Further, assume that there are ten CBGs having HARQ feedback to be performed and seven of them feed back the NACK. If the predefined coefficient is <NUM>, then the first ratio of the fed back NACK is (<NUM>+<NUM>/<NUM>) / (<NUM>+<NUM>/<NUM>) = <NUM>%. The CWS of the random access contention window on the unlicensed frequency band can be determined based on the first ratio.

Further, a specific embodiment is provided in the disclosure, to further explain the method for determining a contention window provided in the disclosure. The predetermined time period in the specific embodiment is a time slot. The TB based or CBG based HARQ feedback is performed on the time slot.

In example <NUM>, the method of determining the CWS based on the TB based HARQ feedback mode is explained below.

For the TB based HARQ feedback, the second number of the fed back NACK is calculated directly.

For the CBG based HARQ feedback, in one embodiment, a value is defined, which is used to represent a proportion of the TB based HARQ feedback and the CBG based HARQ feedback in a statistical result. The first ratio of the fed back NACK in the time slot is determined based on the value. For example, assume that there are two TB based PDSCH transmissions having HARQ feedback to be performed in a time slot and one of them feeds back the NACK. Further, assume that there are ten CBGs having HARQ feedback to be performed and seven of them feed back the NACK. If the defined value is <NUM>, then the first ratio of the fed back NACK is (<NUM>*<NUM>+<NUM>*<NUM>) / (<NUM>*<NUM>+<NUM>*<NUM>) = <NUM>%. How to adjust the CWS can be determined based on the first ratio.

In another embodiment, a value is defined, which is used to represent a number of CBGs forming one TB for statistics. The value can be pre-defined. For example, assume that there are two TB based PDSCH transmissions having HARQ feedback to be performed in a time slot and one of them feeds back the NACK. Further, assume that there are ten CBGs having HARQ feedback to be performed and seven of them feed back the NACK. If the defined value is set to <NUM>, then the first ratio of the fed back NACK is (<NUM>+<NUM>/<NUM>) / (<NUM>+<NUM>/<NUM>) = <NUM>%. How to adjust the CWS can be determined based on the first ratio.

In the example, when it is required to support both the TB based feedback and the CBG based feedback, the CWS of the random access contention window on the unlicensed frequency band may be determined based on the TB based reception feedback. Since the CWS adapts to the TB based reception feedback, the CWS more suitable to a current transmission scenario may be obtained.

As illustrated in <FIG>, a method for determining a contention window is provided in another embodiment. The method includes the following.

At block S710, a contention window size (CWS) of a random access contention window on an unlicensed frequency band is determined based on a code block group (CBG) based reception feedback.

Here, the CBG based reception feedback may be a CBG based hybrid automatic repeat request (HARQ) feedback. It should be noted that in the wireless communication system, due to a time-varying characteristic of a wireless channel and an effect of multipath fading, the signal transmission may be affected, thus leading to a failure of data transmission. In order to solve the problem, in the wireless communication system, an HARQ mechanism is introduced. Based on a success or failure of data reception fed back by a receiving device, a transmitting device decides whether to re-transmit a data packet which has been transmitted already. In the LTE system, a time of data transmission has a timing relationship with a feedback time of an ACK/NACK. Due to limit of a processing capability of a terminal, in the LTE system, with reference to <FIG> again, taking a downlink data transmission as an example, the time of the data transmission and the feedback time of the ACK/NACK have a difference of <NUM>. It should be noted that, in a design of the <NUM> NR system, a CBG based feedback mechanism is introduced. That is, a transmission of one TB may include multiple CBGs. The receiving device may perform HARQ feedback for each CBG, without performing feedback for the whole TB. Here, using the CBG based feedback mode may reduce occurrence of retransmitting the whole TB so as to reduce a waste of transmission resources due to retransmission, but may cause an increase of control signaling. Using the TB based feedback mode may reduce overhead of signaling and control channel resources but may waste a resource for retransmission. Here, the feedback mode may be adjusted based on actual situations, such that the overhead of control signaling may be controlled while improving performance of the data transmission.

Here, a data sending device of the CBG based reception feedback may be a user equipment (UE), and a corresponding data receiving device may be a base station. It should be noted that, when the data sending device of the feedback is the UE, the corresponding data receiving device may be also a UE, for example in a everything to everything sidelink communication or the V2X communication. Here, the CWS may be a time length corresponding to the contention window. For example, taking a time slot as the time unit, a minimum CWS may be set to <NUM> time slots.

In the embodiment of the disclosure, the CWS of the random access contention window on the unlicensed frequency band can be determined based on the CBG based reception feedback. Since the CWS adapts to the CBG based reception feedback, the CWS more suitable to a current transmission scenario may be obtained.

In one non-claimed embodiment, as illustrated in <FIG>, a method of determining a contention window is provided. The step of determining the CWS of the random access contention window on the unlicensed frequency band based on the CBG based reception feedback in block S710 may include the following.

At block S810, CBG based HARQ feedback information within a predetermined time period is obtained. The CBG based HARQ feedback information includes a NACK and an ACK.

At block S820, a ratio of the NACK in the CBG based HARQ feedback information is determined.

At block S830, the CWS of the random access contention window on the unlicensed frequency band is determined based on the ratio.

Here, when transmitting data based on the CBG based HARQ feedback, the data receiving device determines whether the data is received correctly. When the data is received correctly, the ACK is fed back. When the data is not received correctly, the NACK is fed back. Here, the ACK/ACK is transmitted on a physical uplink control channel (PUCCH) or a physical uplink shared channel (PUSCH).

Assuming that there are ten CBGs having HARQ feedback to be performed and seven of them feed back the NACK, then the ratio of the NACK in the HARQ feedback information is <NUM>/<NUM>=<NUM>.

Here, determining the CWS of the random access contention window on the unlicensed frequency band based on the ratio may include: when the ratio of the NACK in the HARQ feedback information is greater than a preset threshold, increasing the CWS; when the ratio of the NACK in the HARQ feedback information is not greater than a preset threshold, setting the CWS to be a preset minimum value. In addition, when the number of occurrences of maintaining the CWS to be a preset maximum value reaches a preset number, the CWS is set to the preset minimum value. With reference to <FIG> again, take a channel detection mechanism of cat4 which performs detection based on a clear channel assessment with random back-off as an example. A back-off counter N is generated randomly and equally by a wireless communication device between <NUM> and CWS, and listening is performed on granularity of CCA slot. If it is detected that the channel is idle in the CCA slot (i.e., Idle CCA slot), the back-off counter is decreased by <NUM>. If it is detected that the channel is busy in the CCA slot (i.e., Busy CCA slot), the back-off counter is suspended, that is, the back-off counter keeps unchanged during the Busy CCA slot, until it is detected the channel is idle. When the back-off counter indicates <NUM>, the wireless communication device may immediately occupy the channel. In the channel detection mechanism of cat4, the CWS may be adjusted dynamically. The wireless communication device dynamically adjusts the CWS based on whether a previous transmission is correctly received by a receiving node. In this way, a suitable CWS may be obtained based on a channel state and a network business load, thus achieving a compromise between decreasing a collision of nodes and improving a channel access efficiency. Assuming that the CWS corresponding to a first downlink PDSCH transmission is <NUM>, if the terminal cannot receive the PDSCH successfully in the first downlink PDSCH transmission, the base station may determine that the ratio of the NACK in the HARQ feedback information is greater than the preset threshold <NUM>% based on the failure of reception using any technical solution in the disclosure. In this case, the CWS needs to be increased, such that the CWS may be adjusted to <NUM>. And the CWS which is equal to <NUM> will be used in a second downlink PDSCH transmission to generate a random N and perform the channel listening.

In a first step, for each business priority p∈{<NUM>,<NUM>,<NUM>,<NUM>}, the CWS is set. Assuming that the CWS is represented by CWp, then CWp =CWmin,p.

In a second step, when the ratio of the NACK in the HARQ feedback information is greater than <NUM>, the value of CWp is increased for each business priority p ∈ {<NUM>,<NUM>,<NUM>,<NUM>}. Here, the value CWp in a higher level is obtained from a CWS table (the CWS table includes values of CWp in different levels) corresponding to the business priority, and maintained in the second step. When ratio of the NACK in the HARQ feedback information is not greater than <NUM>, the first step is executed, to decrease the value of CWp for each business priority p ∈ {<NUM>,<NUM>,<NUM>,<NUM>} to the value of CWp in a lowest level in the CWS table corresponding to the business priority. A reference sub-frame k may be a first sub-frame in a downlink transmission closest to a current time sent by the base station on a current carrier, and the base station may expect to receive a HARQ-ACK feedback on the sub-frame. In addition, if the value of CWp equals to the maximum value CWmax,p in the set, a next higher value of the CWS is still CWmax,p. If the value of CWp corresponding to a certain business priority is adjusted continually for Q times, and in the back-off counter, the CWS equals to the maximum value, i.e., CWp = CWmax, p, then the value of CWp corresponding to the certain business priority is set to the minimum value CWmin,p. The value of Q is selected by the base station from {<NUM>, <NUM>,. And the value of Q can be selected independently for each business priority p ∈ {<NUM>,<NUM>,<NUM>,<NUM>}.

In a claimed embodiment, as illustrated in <FIG>, a method of determining a contention window is provided. The step of determining the ratio of the NACK in the CBG based HARQ feedback information in block S820 may include the following.

At block S910, a first number of the CBG based HARQ feedback information received within the predetermined time period is determined.

At block S920, a second number of the NACK is determined.

At block S930, the ratio of the second number to the first number is determined.

Here, assume that there are two TB based PDSCH transmissions having HARQ feedback to be performed in a reference time slot and one of them feeds back the NACK. Further, assume that there are ten CBGs having HARQ feedback to be performed and seven of them feed back the NACK. A coefficient is set to <NUM>. Then the second number of the fed back NACK is <NUM>*<NUM>+<NUM>*<NUM>=<NUM>. The first number of the HARQ feedback information is <NUM>*<NUM>+<NUM>*<NUM>=<NUM>. The ratio of the second number to the first number is <NUM>%.

In an embodiment, in block S820, the ratio includes a second ratio obtained based on the CBG based reception feedback.

In block S830, determining the CWS of the random access contention window on the unlicensed frequency band based on the ratio includes: determining the CWS of the random access contention window on the unlicensed frequency band based on the second ratio.

Here, in a claimed embodiment, a coefficient is defined, which is used to represent a proportion of the TB based HARQ feedback and the CBG based HARQ feedback in a statistical result. The second ratio of the fed back NACK in the reference time slot is determined based on the coefficient. For example, assume that there are two TB based PDSCH transmissions having HARQ feedback to be performed in a reference time slot and one of them feeds back the NACK. Further, assume that there are ten CBGs having HARQ feedback to be performed and seven of them feed back the NACK. If the predefined coefficient is <NUM>, then the second ratio of the fed back NACK is (<NUM>*<NUM>+<NUM>*<NUM>) / (<NUM>*<NUM>+<NUM>*<NUM>) = <NUM>%. The CWS of the random access contention window on the unlicensed frequency band can be determined based on the second ratio.

In another embodiment, another coefficient can be defined, which is used to represent a number of CBGs forming one TB for statistics. The coefficient can be pre-defined. For example, assume that there are two TB based PDSCH transmissions having HARQ feedback to be performed in a reference time slot and one of them feeds back the NACK. Further, assume that there are ten CBGs having HARQ feedback to be performed and seven of them feed back the NACK. If the predefined coefficient is <NUM>, then the second ratio of the fed back NACK is (<NUM>+<NUM>/<NUM>) / (<NUM>+<NUM>/<NUM>) = <NUM>%. The CWS of the random access contention window on the unlicensed frequency band can be determined based on the second ratio.

In example <NUM>, the method of determining the CWS based on the CBG based HARQ feedback mode is explained below.

Similar to example <NUM>, for the CBG based HARQ feedback, the second number of the fed back NACK is calculated directly.

For the TB based HARQ feedback, in one embodiment, a value is defined, which is used to represent a proportion of the TB based HARQ feedback and the CBG based HARQ feedback in a statistical result. The second ratio of the fed back NACK in the time slot is determined based on the value. For example, assume that there are two TB based PDSCH transmissions having HARQ feedback to be performed in a time slot and one of them feeds back the NACK. Further, assume that there are ten CBGs having HARQ feedback to be performed and seven of them feed back the NACK. If the defined value is <NUM>, then the second ratio of the fed back NACK is (<NUM>*<NUM>+<NUM>*<NUM>) / (<NUM>*<NUM>+<NUM>*<NUM>) = <NUM>%. How to adjust the CWS can be determined based on the second ratio.

In another embodiment, a value is defined, which is used to represent a number of CBGs forming one TB for statistics. The value can be pre-defined. For example, assume that there are two TB based PDSCH transmissions having HARQ feedback to be performed in a time slot and one of them feeds back the NACK. Further, assume that there are ten CBGs having HARQ feedback to be performed and seven of them feed back the NACK. If the defined value is set to <NUM>, then the ratio of the fed back NACK is (<NUM>+<NUM>/<NUM>) / (<NUM>+<NUM>/<NUM>) = <NUM>%. How to adjust the CWS can be determined based on the ratio.

In the example, when it is required to support both the TB based feedback and the CBG based feedback, the CWS of the random access contention window on the unlicensed frequency band may be determined based on the CBG based reception feedback. Since the CWS adapts to the CBG based reception feedback, the CWS more suitable to a current transmission scenario may be obtained.

As illustrated in <FIG>, a method for determining a contention window is provided in another embodiment. The method includes determining a contention window size (CWS) of a random access contention window on an unlicensed frequency band based on a reception strength of a predefined reference signal.

Here, the reception strength may include a reception power of the predefined reference signal. The predefined reference signal includes: a first type of signal and a second type of signal. The first type of signal has a predetermined function and a function of determining the CWS of the random access contention window, and the second type of signal has the function of determining the CWS of the random access contention window.

In an embodiment, assuming that the CWS corresponding to a first downlink PDSCH transmission is <NUM>, if the reception strength of the predefined reference signal is lower than a predetermined strength in the first downlink transmission, the base station adjusts the CWS to <NUM> based on the comparison. And the CWS which is equal to <NUM> will be used in a second downlink PDSCH transmission to generate a random N and perform the channel listening.

In example <NUM>, the method of determining the CWS based on a measurement of the reception strength of the predefined reference signal is explained below.

In the example, a predetermined strength is defined. The reception strength of the predefined reference signal in the time slot is measured and compared with the predetermined strength, so as to determine how to adjust the CWS. Here, the predefined reference signal may be the first type of signal, i.e., an existing signal, or may be the second type of signal, i.e., a newly defined signal.

In the example, when requiring supporting both the TB based feedback and the CBG based feedback, the CWS of the random access contention window on the unlicensed frequency band may be determined based on the reception strength of the predefined reference signal. Since the CWS adapts to the reception strength of the predefined reference signal, the CWS more suitable to a current transmission scenario may be obtained.

<FIG> is a block diagram illustrating an apparatus for determining a contention window according to an embodiment. The apparatus includes a first processing module <NUM>. The processing module <NUM> is configured to determine a contention window size (CWS) of a random access contention window on an unlicensed frequency band based on a transmission block (TB) based reception feedback.

In an embodiment, the first processing module <NUM> includes a first obtaining unit <NUM>, a first calculating unit <NUM> and a first determining unit <NUM>.

The first obtaining unit <NUM> is configured to obtain a TB based hybrid automatic repeat request (HARQ) feedback information within a predetermined time period, in which the TB based HARQ feedback information includes a non-acknowledge identifier (NACK) and an acknowledge identifier (ACK).

The first calculating unit <NUM> is configured to determine a ratio of the NACK in the TB based HARQ feedback information.

The first determining unit <NUM> is configured to determine the CWS of the random access contention window on the unlicensed frequency band based on the ratio.

In an embodiment, the first calculating unit <NUM> is further configured to: determine a first number of the TB based HARQ feedback information received within the predetermined time period; determine a second number of the NACK; and determine the ratio of the second number to the first number.

In an embodiment, the first calculating unit <NUM> is further configured to obtain a first ratio based on the TB based reception feedback. Determining the CWS of the random access contention window on the unlicensed frequency band based on the ratio includes: determining the CWS of the random access contention window on the unlicensed frequency band based on the first ratio.

As illustrated in <FIG>, an apparatus for determining a contention window is provided in an embodiment of the disclosure. The apparatus includes a second processing module <NUM>. The second processing module <NUM> is configured to determine a contention window size (CWS) of a random access contention window on an unlicensed frequency band based on a code block group (CBG) based reception feedback.

In an embodiment, the second processing module <NUM> includes a second obtaining unit <NUM>, a second calculating unit <NUM> and a second determining unit <NUM>.

The second obtaining unit <NUM> is configured to obtain a CBG based hybrid automatic repeat request (HARQ) feedback information within a predetermined time period, in which the CBG based HARQ feedback information includes a non-acknowledge identifier (NACK) and an acknowledge identifier (ACK).

The second calculating unit <NUM> is configured to determine a ratio of the NACK identifier in the CBG based HARQ feedback information.

The second determining unit <NUM> is configured to determine the CWS of the random access contention window on the unlicensed frequency band based on the ratio.

In an embodiment, the second calculating unit <NUM> is further configured to: determine a first number of the CBG based HARQ feedback information received within the predetermined time period; determine a second number of the NACK; and determine the ratio of the second number to the first number.

In an embodiment, the second calculating unit <NUM> is further configured to obtain a second ratio based on the CBG based reception feedback. Determining the CWS of the random access contention window on the unlicensed frequency band based on the ratio comprises: determining the CWS of the random access contention window on the unlicensed frequency band based on the second ratio.

As illustrated in <FIG>, an apparatus for determining a contention window is provided in an embodiment of the disclosure. The apparatus includes a third processing module <NUM>. The third processing module <NUM> is configured to determine a contention window size (CWS) of a random access contention window on an unlicensed frequency band based on a reception strength of a predefined reference signal.

In an embodiment, the third processing module <NUM> includes a measuring unit <NUM>, a comparing unit <NUM> and a third determining unit <NUM>.

The measuring unit <NUM> is configured to measure the reception strength of the predefined reference signal within a predetermined time period.

The comparing unit <NUM> is configured to compare the reception strength with a predetermined strength to obtain a comparison result.

The third determining unit <NUM> is configured to determine the CWS of the random access contention window on the unlicensed frequency band based on the comparison result.

In an embodiment, the third processing module <NUM> is configured to configure the predefined reference signal to include a first type of signal and a second type of signal. The first type of signal has a predetermined function and a function of determining the CWS of the random access contention window, and the second type of signal has the function of determining the CWS of the random access contention window.

The embodiment of the disclosure further provides a communication device. The communication device includes an antenna; a memory; and a processor. The processor is connected to the antenna and the memory, respectively, and configured to execute executable programs stored on the memory, control the antenna to receive and send signals, and perform the method for determining a contention window according to any of the forgoing embodiments.

The communication device provided in the embodiment may be the above-mentioned terminal or base station. The terminal may be any of various people-carried terminals or vehicle-mounted terminals. The base station may be any of various types of base stations, for example the <NUM> base station, the <NUM> base station and so on.

The antenna may be selected from various types of antennas, for example, a mobile antenna such as the <NUM> antenna, the <NUM> antenna, the <NUM> antenna and so on. The antenna may further includes a WiFi antenna, a wirelessly powered antenna and so on.

The memory may include various of types of storage mediums. The storage medium may be a non-transitory computer storage medium, and is capable of keeping information stored thereon after the communication device is powered off.

The processor may be connected to the antenna and the memory through a bus, and configured to read the executable programs stored on the memory, for example at least one of the methods illustrated in <FIG>, <FIG>, <FIG>, <FIG>, <FIG>, <FIG>.

The embodiment of the disclosure further provides a non-transitory computer-readable storage medium having executable e programs stored thereon. When the executable programs are executed by a processor, steps of the method for determining a contention window according to any of any of the forgoing embodiments are implemented, for example at one of the methods illustrated in <FIG>, <FIG>, <FIG>, <FIG>, <FIG>, <FIG>.

<FIG> is a block diagram illustrating a terminal <NUM> according to an embodiment. For example, the terminal <NUM> may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical equipment, a fitness equipment, a personal digital assistant.

Referring to <FIG>, the terminal <NUM> may include one or more components of the followings: a processing component <NUM>, a memory <NUM>, a power supply component <NUM>, a multimedia component <NUM>, an audio component <NUM>, an input/output (I/O) interface <NUM>, a sensor component <NUM>, and a communication component <NUM>.

The processing component <NUM> generally controls the whole operation of the terminal <NUM>, such as the operations related to display, phone call, data communication, camera operation and recording operation. The processing component <NUM> may include one or more processors <NUM> to perform instructions, to complete all or part of blocks of the above method. In addition, the processing component <NUM> may include one or more modules for the convenience of interaction between the processing component <NUM> and other components. For example, the processing component <NUM> may include a multimedia module for the convenience of interaction between the multimedia component <NUM> and the processing component <NUM>.

The memory <NUM> is configured to store all types of data to support the operation of the terminal <NUM>. Examples of the data include the instructions of any applications or methods operated on the terminal <NUM>, contact data, phone book data, messages, pictures, videos, etc. The memory <NUM> may be implemented by any type of temporary or non-temporary storage devices or their combination, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an electrically programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk or an optical disk.

The power supply component <NUM> may provide power for all components of the terminal <NUM>. The power supply component <NUM> may include a power supply management system, one or more power supplies, and other units related to generating, managing and distributing power for the terminal <NUM>.

The multimedia component <NUM> includes an output interface screen provided between the apparatus <NUM> and the user. In some embodiments, a screen may include a liquid crystal display (LCD) and a touch panel (TP). When the screen includes a TP, the screen may be implemented as a touch screen to receive an input signal from the user. The touch panel includes one or more touch sensors to sense touching, sliding and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure related to the touch or slide operation. When the terminal <NUM> is in an operation mode, such as a shooting mode or a video mode, the front camera or the rear camera may receive the external multimedia data. Each front camera and rear camera may be a fixed optical lens system or an optical lens system with a focal length and an optical zoom capacity.

The audio component <NUM> is configured to output and/or input an audio signal. For example, the audio component <NUM> includes a microphone (MIC). When the terminal <NUM> is in an operation mode, such as a call mode, a record mode, and a speech recognition mode, the microphone is configured to receive the external audio signal. The received audio signal may be further stored in the memory <NUM> or sent via the communication component <NUM>. In some embodiments, the audio component <NUM> further includes a speaker configured to output an audio signal.

The I/O interface <NUM> provides an interface for the processing component <NUM> and the peripheral interface module, and the peripheral interface module may be a keyboard, a click wheel, a button, etc. The button may include but not limited to a home button, a volume button, a start button and a lock button.

The sensor component <NUM> includes one or more sensors, configured to provide various aspects of status assessment for the terminal <NUM>. For example, the sensor component <NUM> may detect the on/off state of the terminal <NUM> and the relative positioning of the component. For example, the component is a display and a keypad of the terminal <NUM>. The sensor component <NUM> may further detect the location change of the terminal <NUM> or one component of the terminal <NUM>, the presence or absence of contact between the user and the terminal <NUM>, the orientation or acceleration/deceleration of the terminal <NUM>, and the temperature change of the terminal <NUM>. The sensor component <NUM> may include a proximity sensor configured to detect the existence of the objects nearby without any physical contact. The sensor component <NUM> may further include a light sensor such as CMOS or CCD image sensor, which is configured to use in imaging applications. In some embodiments, the sensor component <NUM> may further include an acceleration transducer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

The communication component <NUM> is configured for the convenience of wire or wireless communication between the terminal <NUM> and other devices. The terminal <NUM> may access wireless networks based on communication standard, such as WiFi, <NUM> or <NUM>, or their combination. In an embodiment, the communication component <NUM> receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an embodiment, the communication component <NUM> further includes a near field communication, NFC, module to facilitate short-range communication. For example, the NFC module may be achieved based on an RFID technology, an IrDA technology, a UWB technology, a BT technology and other technologies.

In an embodiment, the terminal <NUM> may be implemented by one or more application specific integrated circuits, ASIC, digital signal processors, DSP, digital signal processing devices, DSPD, programmable logic devices, PLD, field programmable gate arrays, FPGA, controllers, microcontrollers, microprocessors or other electronics components, which is configured to perform the above methods.

In an embodiment, a non-transitory computer-readable storage medium is further provided which includes instructions, such as the memory <NUM> including instructions, the instructions may be executed by the processor <NUM> of the terminal <NUM> to complete the above methods. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory, RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc..

The terminal may be configured to implement the above-mentioned method for determining a contention window, for example the method for determining a contention window illustrated in <FIG>, <FIG>, <FIG>, <FIG>, <FIG>.

<FIG> is a block diagram illustrating a base station according to an embodiment. The base station <NUM> may be provided as a network device. As illustrated in <FIG>, the base station <NUM> includes a processing component <NUM>, which further includes one or more processors, and a memory resource represented by a memory <NUM>, for storing instructions that may be executed by the processing component <NUM>, such as an application program. The application program stored in the memory <NUM> may include one or more modules each corresponding to a set of instructions. In addition, the processing component <NUM> is configured to execute instructions to execute the aforementioned method for determining a contention window, for example the method for determining a contention window illustrated in <FIG>, <FIG>, <FIG>, <FIG>, <FIG>.

The base station <NUM> may also include a power supply component <NUM> configured to perform power management of the base station <NUM>, a wired or wireless network interface <NUM> configured to connect the base station <NUM> to a network, and an input output (I/O) interface <NUM>. The base station <NUM> may operate based on an operating system stored in the memory <NUM>, such as a Windows Server TM, a Mac OS XTM, a Unix TM, a Linux TM, a FreeBSD TM or the like.

Claim 1:
A method for determining a contention window, comprising:
obtaining (S210) hybrid automatic repeat request, HARQ, feedback information within a predetermined time period, wherein the HARQ feedback information comprises transmission block, TB, based HARQ feedback information and code block group, CBG, HARQ feedback information each comprising a non-acknowledge identifier, NACK, and an acknowledge identifier, ACK;
determining (S220) a ratio of the NACK in the HARQ feedback information based on a coefficient used to represent a proportion of the TB based HARQ feedback information and the CBG based HARQ feedback information, a number of the TB based HARQ feedback information, a number of NACK identifiers in the TB based HARQ feedback information, a number of the CBG based HARQ feedback information, a number of NACK identifiers in the CBG based HARQ feedback information; and
determining (S230) a contention window size, CWS, of a random access contention window on an unlicensed frequency band based on the ratio.