The present invention is related to a spatial reuse transmission method, and more particularly, to a transmission method that increases transmission throughput based on spatial reuse transmission.
Basic service sets (BSSs) of multiple Wi-Fi devices may exist simultaneously in the same space, necessitating Wi-Fi devices within an overlapping BSS (OBSS) to utilize a carrier sense multiple access/collision avoidance (CSMA/CD) mechanism. This mechanism means it is difficult for the Wi-Fi devices to find an idle source (e.g., an idle time) in which to perform transmission, and greatly reduces transmission performance of the Wi-Fi devices.
In order to address this issue, a transmission method that can effectively increase transmission throughput and a communication device for performing the transmission method are urgently needed.
According to an embodiment of the present invention, a communication device is provided. The communication device comprises a wireless transceiver circuit and a baseband signal processing circuit. The wireless transceiver circuit is arranged to transmit and receive a wireless signal, wherein the wireless signal comprises a received packet. The baseband signal processing circuit is coupled to the wireless transceiver circuit, and is arranged to process the received packet. The baseband signal processing circuit comprises a decision unit and a transmit packet scheduling unit. The decision unit is arranged to determine whether the received packet is from an OBSS, and determine a length of a duration of a transmission opportunity (TXOP) according to information carried by the received packet. The transmit packet scheduling unit is arranged to schedule transmission of a plurality of packets. When the decision unit determines that the received packet is from the OBSS, the transmit packet scheduling unit arranges to transmit a first packet among the plurality of packets, and further determines whether the duration of the TXOP has not ended after transmission of the first packet is completed. In response to the transmit packet scheduling unit determining that the duration of the TXOP has not ended, the packet transmission scheduling unit arranges to transmit a second packet among the plurality of packets within the duration of the TXOP.
According to another embodiment of the present invention, a communication device is provided. The communication device comprises a wireless transceiver circuit and a baseband signal processing circuit. The wireless transceiver circuit is arranged to transmit and receive a wireless signal, wherein the wireless signal comprises a received packet. The baseband signal processing circuit is coupled to the wireless transceiver circuit, and is arranged to process the received packet, determine whether the received packet is from an OBSS, and determine a length of a duration of a TXOP according to information carried by the received packet. When the received packet is from the OBSS, the baseband signal processing circuit performs packet transmission in a spatial reuse manner within the duration of the TXOP, and performs the packet transmission in a general manner after the duration of the TXOP ends. In addition, a transmission power utilized in the spatial reuse manner is different from a transmission power utilized in the general manner, and the baseband signal processing circuit transmits a plurality of packets in the spatial reuse manner within the duration of the TXOP.
According to another embodiment of the present invention, a transmission method for increasing a transmission throughput of a communication device is provided. The transmission method comprises: receiving a wireless signal, wherein the wireless signal comprises a received packet; determining whether the received packet is from an OBSS, and determining a length of a duration of a TXOP according to information carried by the received packet; in response to the received packet being from the OBSS, performing packet transmission in a spatial reuse manner within the duration of the TXOP; and performing the packet transmission in a general manner after the duration of the TXOP ends; wherein a transmission power utilized in the spatial reuse manner is different from a transmission power utilized in the general manner, and a plurality of packets are transmitted in the spatial reuse manner within the duration of the TXOP.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
The wireless transceiver circuit 120 is arranged to receive wireless signals through the at least one antenna 110, process received wireless signals and/or signals to be transmitted, and transmit corresponding wireless signals through the at least one antenna 110. For example, the wireless transceiver circuit 120 may perform power amplification/attenuation processing and up-frequency/down-frequency conversion upon signals, to convert baseband signals into radio frequency (RF) signals, or to convert the RF signals into the baseband signals. The baseband signal processing circuit 130 is arranged to process the baseband signals and control operations of the communication device 100 (e.g., establishment of a connection between the communication device 100 and another communication device, and various operations, determination, signal generation, signal processing, and signal transmission during the wireless communication).
The communication device 100 may operate according to communication protocols specified by the 802.11 standard, and may be a device supporting a spatial reuse function. In embodiments of the present invention, the communication device 100 may be arranged to implement an access point (AP) within a basic service set (BSS), and may also be arranged to implement a station accessing a network through the AP within the BSS.
In the wireless communication standard 802.11ax, a spatial reuse (SR) mechanism is specified, which makes a communication device simultaneously perform transmission within a transmission opportunity (TXOP) of other communication devices by adjusting a transmission power, for increasing a usage rate of a spectrum. The 802.11 standard only illustrates transmission regulations for transmitting a packet within the TXOP of an OBSS, however. As a result, after a communication device completes transmission of a packet within the TXOP of other communication devices, the wireless communication standard does not specify how to perform transmission during the remaining time, which may waste a lot of time and opportunities for transmitting packets even if the SR mechanism specified by the wireless communication standard is applied. More particularly, the longer the duration of the TXOP of the OBSS, the more serious the negative impact will be on the throughput, which causes delays that will affect the user experience.
In order to address this issue, the present invention proposes a transmission method that can effectively increase the transmission throughput and reduce the delay, and a communication device performing the transmission method. The transmission method can be regarded as a method which modifies the existing SR mechanism.
In an embodiment of the present invention, when the received packet is determined to be from the OBSS, the decision unit 210 within the baseband signal processing circuit 130/200 may determine to perform packet transmission in a spatial reuse manner within a duration of a TXOP corresponding to the received packet. When the received packet is determined to not be from the OBSS but the BSS color to which the communication device 100 belongs, the decision unit 210 within the baseband signal processing circuit 130/200 may stop performing the packet transmission to avoid packet collision or interference.
Specifically, in an embodiment of the present invention, the decision unit 210 may determine a length of a duration of a TXOP according to information carried by the received packet, and set the timer 240 according to the length, so that the timer 240 counts for a period of time equal to the length. When the timer 240 expires, a notifying signal may be transmitted to the decision unit 210, or the decision unit 210 may periodically query to confirm whether the timer 240 has expired.
According to an embodiment of the present invention, the decision unit 210 may calculate how much transmission time the entire OBSS packet will take according to a length field in a physical layer convergence protocol (PLCP) header of the packet. The decision unit 210 may refer to a duration field in a media access control (MAC) header of the packet, and know how long after the end of the packet will another packet be transmitted by a value carried in the duration field. The decision unit 210 may determine the length of the duration of the TXOP corresponding to the packet according to the length field and the duration field, so that a length of time in which there will be OBSS packets in the channel can be known.
In addition, in an embodiment of the present invention, when the received packet is determined to be from the OBSS, the decision unit 210 may set a value of a parameter SR Period stored in the memory unit 230 as a first value, wherein the memory unit 230 may be a memory space with a length of 1 bit. In embodiments of the present invention, the parameter SR Period stored in the memory unit 230 may indicate a state of a spatial reuse duration, or may indicate whether it is currently within the duration of the TXOP corresponding to the packet. For example, when the value of the parameter SR Period is set as 1, it means that it is currently in the spatial reuse duration or is currently within the duration of the TXOP corresponding to the packet. When the timer 240 expires, the decision unit 210 may change the value of the parameter SR Period stored in the memory unit 230. For example, the value of the parameter SR Period may be set as a second value different from the first value, to represent that it is not currently in the spatial reuse duration or is not currently within the duration of the TXOP corresponding to the packet.
In embodiments of the present invention, the transmit packet scheduling unit 220 may determine whether the duration of the TXOP corresponding to the packet ends according to the value of the parameter SR Period, and perform the packet transmission in the spatial reuse manner before the duration of the TXOP corresponding to the packet ends.
In Step S302, a wireless signal is received, wherein the wireless signal includes a received packet.
In Step S304, it is determined whether the received packet is from an OBSS, and a length of a duration of a TXOP is determined according to information carried by the received packet. When the received packet is determined to be from the OBSS, Step S306 is entered. When the received packet is determined to not be from the OBSS, Step S308 is entered.
In Step S306, the packet transmission is performed in a spatial reuse manner within the duration of the TXOP corresponding to the received packet. In embodiments of the present invention, before the duration of the TXOP corresponding to the received packet ends, the communication device 100 may stay in Step S306 to perform multiple instances of packet transmission in the spatial reuse manner. For example, the baseband signal processing circuit 130 may transmit multiple packets in the spatial reuse manner within the duration of the TXOP corresponding to the received packet. After determining that the duration of the TXOP corresponding to the received packet ends, the baseband signal processing circuit 130 may stop performing the packet transmission in the spatial reuse manner.
In Step S308, the communication device 100 waits for the duration of the TXOP corresponding to the received packet to end.
In Step S310, the packet transmission is performed by a normal method.
In embodiments of the present invention, a transmission power utilized in the spatial reuse manner is different from that utilized in the general manner. For example, in order to avoid affecting the packet transmission of the OBSS, the transmission power utilized in the spatial reuse manner may be lower than that utilized in the general manner.
Refer back to
In embodiments of the present invention, the transmit packet scheduling unit 220 is arranged to schedule the transmission of multiple packets. When the decision unit 210 determines that the received packet is from an OBSS, the transmit packet scheduling unit 220 may arrange to transmit a first packet within the duration of the TXOP, and determine whether the duration of the TXOP corresponding to the received packet has not ended according to the value of the parameter SR Period after the transmission of the first packet is completed. When determining that the duration of the TXOP corresponding to the received packet has not ended, the transmit packet scheduling unit 220 may continue to arrange to transmit a second packet within the duration of the TXOP corresponding to the received packet.
Specifically, the transmit packet scheduling unit 220 may include a response unit 221, a transmission power control unit 221, a plurality of back-off engines 223-1, 223-2, . . . , and 223-N, and a plurality of queues 224-1, 224-2, . . . , and 224-N. The response unit 221 is arranged to determine whether it is still within the duration of the TXOP corresponding to the received packet (e.g., determine whether the duration of the TXOP has not ended) according to the value of the parameter SR Period, and arrange the transmission of the packets according to a selected s competitive mechanism. The transmission power control unit 222 is arranged to set a transmission power and a rate currently used by the packets according to a current transmission method (e.g., the spatial reuse manner or the general manner). Each queue is arranged to temporarily store a portion of the packets to be transmitted, and has a corresponding priority. Each back-off engine corresponds to a queue, and is arranged to count a random back-off time for a corresponding queue.
A quality of service (QOS) mechanism is specified in the 802. 11 standard, which transmits the packets to four queues with different priorities according to packets' importance. For example, “N” may be a positive integer greater than or equal to 4, and the queues 224-1-224-N may at least include queues corresponding to 4 access categories AC_VO, AC_VI, AC_BE, and AC_BK in descending order of priority, respectively, wherein “AC” is the abbreviation of access category, “VO” represents the voice, “VI” represents the video, “BE” represents the best effort, and “BK” represents the background.
As mentioned above, each queue corresponds to a back-off engine. When it is determined to perform the packet transmission, each of the back-off engines 223-1-223-N may start to count a corresponding random back-off time, and during this process, keep detecting whether any packet is transmitted in the channel. If a packet is detected to be transmitted, the back-off engine may temporarily stop the count operation until the transmission of the packet is completed and the channel is confirmed to be in an idle state. The engine-off engines 223-1-223-N may keep counting the corresponding random back-off times until one of the engine-off engines 223-1-223-N first completes the counting operation, wherein the engine-off engine that first completes the counting operation competes for the opportunity to transmit the packet.
As mentioned above, when the response unit 221 determines that the duration of the TXOP has not ended, the response unit 221 may determine to arrange the transmission of the packets (e.g., the first packet and the second packet) in the spatial reuse manner according to a selected competitive mechanism. In embodiments of the present invention, optional competition mechanisms include a first competition mechanism and a second competition mechanism. According to an embodiment of the present invention, when the competition mechanism is the first competition mechanism, the back-off engines 223-1-223-N may count a corresponding random back-off time in response to each packet transmission determined to be performed within the duration of the TXOP corresponding to the received packet (i.e., the packet determined to be from the OBSS, which hereinafter is referred to as OBSS-TXOP). When the competition mechanism is the second competition mechanism, the back-off engines 223-1-223-N only count a corresponding random back-off time in response to the 1st packet transmission determined to be performed within the duration of the OBSS-TXOP.
In other words, in embodiments of the present invention, the first competition mechanism may cause the backoff engines 223-1-233-N to re-compete for the opportunity of packet transmission before each packet transmission. As a result, the packets transmitted within the duration of the OBSS-TXOP (e.g., the first packet and the second packet) are packets temporarily stored by different queues. The second competition mechanism may only cause the backoff engines 223-1-233-N to compete for the opportunity of packet transmission before the 1st packet transmission, and the queue corresponding to the back-off engine that successfully competes for the opportunity of packet transmission will keep providing subsequent packets after the transmission of the 1st packet transmission is completed. As a result, the packets transmitted within the duration of the OBSS-TXOP (e.g., the first packet and the second packet) are packets temporarily stored by the same queue.
As mentioned above, when determining that the received packet is from an OBSS, the decision unit 210 may set the value of the parameter SR Period stored in the memory unit 230 as the first value (e.g., a bit value with a high level shown in
In embodiments of the present invention, the decision unit 210 may determine to perform the packet transmission in the spatial reuse manner within the duration of the OBSS-TXOP. As a result, the transmit packet scheduling unit 220 may start to schedule the transmission of the packets, and the response unit 221 may notify the back-off engine corresponding to the queue temporarily storing the packets to be transmitted to start the countdown operation, in order to count the corresponding random back-off time and compete for channel for transmission. In general, each back-off engine may first count a corresponding arbitration inter-frame space (AIFS), and then count the corresponding random back-off time (e.g., the 1st countdown operation “4, 3, 2, 1” performed by the back-off engine corresponding to the access category AC_VO, and the 1st countdown operation “9, 8, 7, 6” performed by the back-off engine corresponding to the access category AC_BE shown in
According to an embodiment of the present invention, when the selected competition mechanism is the first competition mechanism, the back-off engine corresponding to the queue temporarily storing the packets to be transmitted may perform the corresponding countdown operation in response to each packet transmission determined to be performed within the duration of the OBSS-TXOP. As a result, in the examples shown in
In this example, the 1st countdown operation is started from a time point “1”, and is first completed by the back-off engine corresponding to the access category AC_VO. As a result, at a time point “2”, the communication device 100 transmits the packets temporarily stored in the queue of the access category AC_VO (e.g., a packet PPDU (AC_VO) of the access category AC_VO shown in
After the transmission of the packet PPDU (AC_VO) is completed, the response unit 221 may confirm the value of the parameter SR_Period again to determine whether it is currently still within the duration of the OBSS-TXOP. If Yes, the 2nd countdown operation starts to be performed. Assume that the 2nd countdown operation is first completed by the back-off engine corresponding to the access category AC_BE. At a time point “3”, the communication device 100 transmits packets temporarily stored in the queue of the access category AC_BE (e.g., a packet PPDU (AC_BE) of the access category AC_BE shown in
On the other hand, if it is determined that the duration of the OBSS-TXOP has ended, and the current countdown operation is first completed by the back-off engine corresponding to the access category AC_VO, the communication device 100 will transmit packets temporarily stored in the queue of the access category AC_VO (e.g., the rightmost packet PPDU (AC_VO) shown in
In Step S502, a packet is received.
In Step S504, a BSS color field, a length field in a PLCP header, and a duration field in an MAC header within the received packet are parsed to obtain contents therein.
In Step S506, it is determined whether the received packet is from an OBSS. If Yes, Step S508 is entered; if No, Step S512 is entered.
In Step S508, the value of the parameter SR_Period is set as the first value (e.g., the bit value with the high level (which may correspond to the value 1) shown in
In Step S510, it is determined whether the duration of the OBSS-TXOP has not ended according to the value of the parameter SR_Period (e.g., whether the value of the SR_Period is set as 1). If Yes, Step S514 is entered. If No, Step S512 is entered.
In Step S512, the communication device 100 waits for the duration of the TXOP corresponding to the received packet to end.
In Step S514, the countdown operations are performed by the back-off engines, until one of the back-off engines first completes the countdown operation. In embodiments of the present invention, the back-off engine that first completes the countdown operation obtains the packet transmission opportunity, and the response unit 221 may find the packets within the corresponding queue, and perform the packet transmission according to the transmission power recommended by the transmission power control unit 222.
In Step S516, it is determined whether the duration of the OBSS-TXOP has not ended according to the value of the parameter SR_Period (e.g., whether the value of the SR_Period is set as 1). If Yes, Step S518 is entered. If No, Step S520 is entered.
In Step S518, the packet transmission is performed in the spatial reuse manner.
In Step S520, the packet transmission is performed in the general manner.
It should be noted that if one or more queues currently and temporarily store packets to be transmitted, after it is determined that the received packet is from the OBSS, the communication device 100 may keep performing the packet transmission in the spatial reuse manner within the duration of the OBSS-TXOP. If the received packet is not from the OBSS, the communication device 100 must wait for the duration of the TXOP corresponding to the received packet to end, and performs the packet transmission in the general manner after the duration of the TXOP corresponding to the received packet ends. In addition, according to the first competitive mechanism proposed by the present invention, after Step S518 is completed, Step S510 can be returned. If the OBSS-TXOP duration has not yet ended, the packet transmission opportunity can be re-competed in Step S514 according to the first competitive mechanism proposed by the present invention.
As mentioned above, when determining that the received packet is from an OBSS, the decision unit 210 may set the value of the parameter SR_Period stored in the memory unit 230 as the first value (e.g., a bit value with a high level shown in
In embodiments of the present invention, the decision unit 210 may determine to perform the packet transmission in the spatial reuse manner within the duration of the OBSS-TXOP. As a result, the transmit packet scheduling unit 220 may start to schedule the transmission of the packets, and the response unit 221 may notify the back-off engine corresponding to the queue temporarily storing the packets to be transmitted to start the countdown operation, in order to count the corresponding random back-off time and compete for channel for transmission.
When the selected competitive mechanism is the second competitive mechanism, the back-off engine corresponding to the queue temporarily storing the packets to be transmitted only perform the countdown operation in response to the 1st packet transmission determined to be performed within the duration of the OBSS-TXOP. As a result, in the example shown in
In this example, the 1st countdown operation is first completed by the back-off engine corresponding to the access category AC_VO. As a result, at a time point “1”, the communication device 100 transmits the packets temporarily stored in the queue of the access category AC_VO (e.g., a packet PPDU (AC_VO) of the access category AC_VO shown in
After the transmission of the 1st packet PPDU (AC_VO) is completed, the response unit 221 may confirm the value of the parameter SR_Period again to determine whether it is currently still within the duration of the OBSS-TXOP. If Yes, after waiting for a short interframe space (SIFS), the communication device 100 may continue to transmit the packets (if any) temporarily stored in the queue of the access category AC_VO (e.g., the 2nd packet PPDU (AC_VO) shown in
Similarly, after the transmission of the 2nd packet PPDU (AC_VO) is completed, the response unit 221 may confirm the value of the parameter SR_Period again to determine whether it is currently still within the duration of the OBSS-TXOP. If Yes, after waiting for the SIFS, the communication device 100 may continue to transmit the packets (if any) temporarily stored in the queue of the access category AC_VO (e.g., the 3rd packet PPDU (AC_VO) shown in
After the transmission of the 3rd packet PPDU (AC_VO) is completed, the response unit 221 may confirm the value of the parameter SR_Period again to determine whether it is currently still within the duration of the OBSS-TXOP. If it is determined that the duration of the OBSS-TXOP has ended, the response unit 221 may notify the back-off engine corresponding to the queue temporarily storing the packets to be transmitted to start to perform the countdown operation, in order to count the corresponding random back-off time and re-compete for channel for transmission. In this example, the countdown operation after the duration of the OBSS-TXOP ends is first completed by the back-off engine corresponding to the access category AC_BE. As a result, at a time point “4”, the communication device 100 may transmit the packets temporarily stored in the queue of the access category AC_BE (e.g., the rightmost packet PPDU (AC_BE) shown in
In Step S702, a packet is received.
In Step S704, a BSS color field, a length field in a PLCP header, and a duration field in an MAC header within the received packet are parsed to obtain contents therein.
In Step S706, it is determined whether the received packet is from an OBSS. If Yes, Step S708 is entered; if No, Step S712 is entered.
In Step S708, the value of the parameter SR_Period is set as the first value (e.g., the bit value with the high level shown in
In Step S710, it is determined whether the duration of the OBSS-TXOP has not ended according to the value of the parameter SR_Period (e.g., whether the value of the SR_Period is set as 1). If Yes, Step S714 is entered. If No, Step S712 is entered.
In Step S712, the communication device 100 waits for the duration of the TXOP corresponding to the received packet to end.
In Step S714, it is determined whether the queue of the transmission data has been determined. If Yes, Step S716 is entered. If No, Step S718 is entered.
In Step S716, the communication device 100 waits for the SIFS.
In Step S718, the countdown operations are performed by the back-off engines, until one of the back-off engines first completes the countdown operation. In embodiments of the present invention, the back-off engine that first completes the countdown operation obtains the packet transmission opportunity within the entire duration of the OBSS-TXOP, and the response unit 221 may find the packets within the corresponding queue, and perform the packet transmission according to the transmission power recommended by the transmission power control unit 222.
In Step S720, it is determined whether the duration of the OBSS-TXOP has not ended according to the value of the parameter SR_Period (e.g., whether the value of the SR_Period is set as 1). If Yes, Step S722 is entered. If No, Step S724 is entered.
In Step S722, the packet transmission is performed in the spatial reuse manner.
In Step S724, the packet transmission is performed in the general manner.
It should be noted that if one or more queues currently and temporarily store packets to be transmitted, after it is determined that the received packet is from the OBSS and the back-off engine corresponding to one of the one or more queues has competed for the packet transmission opportunity, the communication device 100 may directly transmit the packets temporarily stored in this queue in sequence in the spatial reuse manner within the duration of the OBSS-TXOP. If the received packet is not from the OBSS, the communication device 100 must wait for the duration of the TXOP corresponding to the received packet to end, and performs the packet transmission in the general manner after the duration of the TXOP corresponding to the received packet ends.
In addition, it should be noted that, according to the second competitive mechanism proposed by the present invention, after Step S722 is completed, Step S710 can be returned. If it is determined that it is still within the duration of the OBSS-TXOP, since the determination result of Step S714 is “Yes” at this moment, the back-off engine has no need to re-compete for the packet transmission opportunity, and may continue to transmit packets temporarily stored in the same queue after waiting for the SIFS (Step S716).
In embodiments of the present invention, by setting the value of the parameter SR_Period according to information of the duration of the OBSS-TXOP, the value of the parameter SR_Period may indicate a state of a spatial reuse duration. For example, if the value of the parameter SR_Period is set as 1, it represents that it is still within the spatial reuse duration (i.e., the duration of the OBSS-TXOP has not ended). On the other hand, if the value of the parameter SR_Period is set as 0, it represents that it is currently not within the spatial reuse duration (i.e., the duration of the OBSS-TXOP has ended). The transmit packet scheduling unit may flexibly arrange the packet transmission according to this information (e.g., arrange to perform the packet transmission in the spatial reuse manner according to a competition result of the first competition mechanism and the second competition mechanism), and may transmit multiple packets in the spatial reuse manner within the duration of the OBSS-TXOP. In this way, the transmission throughput can be increased and the delay can be reduced, which can greatly improve the user experience.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
112121952 | Jun 2023 | TW | national |