CN-121985431-A - RSSI-based method for optimizing CSMA-CA backoff algorithm of WIFI7 wireless router
Abstract
The invention relates to the technical field of wireless communication, in particular to a method for optimizing a CSMA-CA backoff algorithm of a WIFI7 wireless router based on RSSI. The method comprises the steps that a wireless terminal continuously monitors the state of a wireless channel through a carrier monitoring multiple access mechanism, immediately sends a data frame when the channel is judged to be in an idle state, triggers the initialization of a back-off flow when the channel is detected to be in a busy state, acquires a received signal strength indication RSSI value of the wireless terminal in real time, and performs discretization processing based on the absolute value of the RSSI value. The invention constructs the self-adaptive channel competition mechanism based on the physical layer state by introducing the Received Signal Strength Indication (RSSI) into the back-off window value calculation kernel. Specifically, by quantizing the signal quality level using a discretization function Round (|rssi|/10) and superimposing the random perturbation factors of the MAC address binding, the high quality terminal dynamically obtains smaller backoff window values.
Inventors
- WEI FAN
- SUN JIAN
- XIA PENG
Assignees
- 太仓市同维电子有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260122
Claims (10)
- 1. The method for optimizing the CSMA-CA backoff algorithm of the WIFI7 wireless router based on the RSSI is characterized by comprising the following steps: The wireless terminal continuously monitors the wireless channel state through a carrier monitoring multiple access mechanism, immediately transmits a data frame when judging that the channel is in an idle state, and triggers the initialization of a back-off flow when detecting that the channel is in a busy state; Acquiring a Received Signal Strength Indication (RSSI) value of the wireless terminal in real time, and performing discretization processing based on an absolute value of the RSSI value; Step three, calculating a dynamic backoff window value BO, wherein the value of the dynamic backoff window value BO is equal to an integer value obtained by performing a downward rounding operation on the quotient of the absolute RSSI divided by 10, and superposing random integers generated in a uniform distribution interval [0,5 ]; And fourthly, starting a network allocation vector NAV counter to load the dynamic backoff window value BO, decrementing the count value time slot by time slot until the count value is zero under the continuous idle state of the channel, and then returning to the step one to reinitiate the channel competition.
- 2. The method for optimizing CSMA-CA backoff algorithm of WIFI7 wireless router based on RSSI as claimed in claim 1, wherein the effective range of RSSI value is-80 dBm to-10 dBm to cover the typical receiving sensitivity interval of WIFI7 terminal, and the discretization process is that the |RSSI| nominal value is input into divider to divide by 10, and then the Round (|RSSI|/10) integer value is output by rounding circuit.
- 3. The method for optimizing the CSMA-CA backoff algorithm of the WIFI7 wireless router based on the RSSI according to claim 1, wherein the generation of the random integer is realized by adopting a linear congruence algorithm, a random seed of the linear congruence algorithm is bound with a terminal MAC address, and different terminals with the same RSSI value obtain differential random numbers so as to avoid the collision of backoff window values.
- 4. The method for optimizing CSMA-CA backoff algorithm of WIFI7 based on RSSI as claimed in claim 1, wherein the decrementing operation of NAV counter is satisfied by a physical layer transmission time unit of 9 μs for each standard slot length, the decrementing operation is performed once the counter detects that the channel is free for one complete slot, and the current count value is immediately frozen if the channel energy exceeds the CCA threshold during decrementing.
- 5. The method for optimizing CSMA-CA backoff algorithm of WIFI7 based on RSSI as claimed in claim 1, wherein said condition for triggering backoff flow further comprises waiting for an arbitration inter-frame space AIFS duration after detecting that the channel is changed from busy to idle under a distributed coordination function mechanism, said AIFS duration being dynamically configured according to traffic priority, and starting said step two after expiration of AIFS.
- 6. The method for optimizing a CSMA-CA backoff algorithm for a WIFI7 wireless router based on RSSI according to claim 1, wherein the dynamic backoff window value BO induces an absolute value of RSSI to establish a negative correlation mathematical model with backoff duration, and when the RSSI value is increased from-80 dBm to-10 dBm, the calculation result of Round (|rssi|/10) is decreased from 8 to 1 so as to shift the dynamic backoff window value BO distribution interval to a low value direction.
- 7. The method of optimizing a WIFI7 wireless router CSMA-CA backoff algorithm based on RSSI of claim 4 wherein the NAV counter continuously monitors channel conditions during freezing, and when the channel is re-detected to be idle and the duration reaches the extended interframe space EIFS, the freezing condition is released and the remaining count value continues to be decremented.
- 8. The method for optimizing a CSMA-CA backoff algorithm for a WIFI7 wireless router based on RSSI of claim 1, wherein the method is deployed at a wireless access point and associated stations supporting the IEEE 802.11be standard, wherein the wireless router broadcasts a dynamic backoff algorithm enabling instruction through a beacon frame, forcing associated terminals to synchronously enable the RSSI-optimized backoff mechanism.
- 9. The method for optimizing the CSMA-CA backoff algorithm for the WIFI7 wireless router based on the RSSI of claim 1, wherein the calculation of the dynamic backoff window value BO is performed by rewriting the contention window module of the wireless router medium access control sublayer protocol stack, specifically covering the step of randomly selecting the fixed interval [0, CW ] in the conventional backoff algorithm, wherein CW represents the contention window maximum value.
- 10. The method for optimizing a CSMA-CA backoff algorithm for a WIFI7 wireless router based on RSSI of claim 1, wherein the method establishes a mapping rule of RSSI signal quality to channel access priority to promote terminals with RSSI values above-50 dBm to obtain a probability of being lower than an average backoff window value, and wherein terminal backoff window values with RSSI values below-70 dBm are always higher than a system average.
Description
RSSI-based method for optimizing CSMA-CA backoff algorithm of WIFI7 wireless router Technical Field The invention relates to the technical field of wireless communication, in particular to a method for optimizing a CSMA-CA backoff algorithm of a WIFI7 wireless router based on RSSI. Background Under the IEEE 802.11be protocol framework, the wireless local area network coordinates multi-terminal channel contention using a carrier sense multiple access/collision avoidance (CSMA/CA) mechanism. The current standard realizes channel arbitration through a Distributed Coordination Function (DCF), and a backoff algorithm thereof distributes uniformly distributed random contention window values for the terminal, so that the channel access probability is decoupled from the physical layer state of the terminal. When significant channel quality difference exists in the high-density terminal environment, the low signal-to-noise ratio terminal obtains equal channel preemption probability with the high-quality terminal due to the backoff window value distribution characteristic. After the terminal successfully occupies the channel, the equivalent data transmission is completed because the low transmission rate needs to continuously occupy longer time domain resources, the idle time fragmentation of the channel and the queuing delay nonlinear growth of the medium access control layer are induced, and finally the degradation of the system throughput and the degradation of delay jitter are caused. The existing protocol layer back-off mechanism can not establish a mapping relation between signal strength indication (RSSI) and channel access priority, so that an essential defect of restricting the improvement of the performance of the high-frequency WIFI 7 network is formed. Therefore, the invention aims to solve the technical problem of reconstructing a CSMA/CA back-off window generation mechanism to enable the channel access priority and the signal quality of a terminal physical layer to form negative correlation coupling, thereby systematically optimizing the time domain resource allocation efficiency in a high-density heterogeneous terminal scene. Disclosure of Invention The disclosure provides a method for optimizing a CSMA-CA backoff algorithm of a WIFI7 wireless router based on RSSI, which aims to overcome at least one defect existing in the prior art. In order to achieve the above purpose, the technical scheme disclosed by the invention is as follows: According to one aspect of the present disclosure, there is provided a method for optimizing a CSMA-CA backoff algorithm for a WIFI7 wireless router based on RSSI, the steps comprising: The wireless terminal continuously monitors the wireless channel state through a carrier monitoring multiple access mechanism, immediately transmits a data frame when judging that the channel is in an idle state, and triggers the initialization of a back-off flow when detecting that the channel is in a busy state; Acquiring a Received Signal Strength Indication (RSSI) value of the wireless terminal in real time, and performing discretization processing based on an absolute value of the RSSI value; Step three, calculating a dynamic backoff window value BO, wherein the value of the dynamic backoff window value BO is equal to an integer value obtained by performing a downward rounding operation on the quotient of the absolute RSSI divided by 10, and superposing random integers generated in a uniform distribution interval [0,5 ]; And fourthly, starting a network allocation vector NAV counter to load the dynamic backoff window value BO, decrementing the count value time slot by time slot until the count value is zero under the continuous idle state of the channel, and then returning to the step one to reinitiate the channel competition. Further, the effective range of the RSSI value is-80 dBm to-10 dBm so as to cover the typical receiving sensitivity interval of the WIFI7 terminal, and the discretization processing comprises the steps of dividing the |RSSI| nominal value input into a divider by 10 and outputting a Round (|RSSI|/10) integer value through a rounding circuit. Furthermore, the generation of the random integer adopts a linear congruence algorithm, the random seed of the random integer is bound with the MAC address of the terminal, and different terminals with the same RSSI value obtain differential random numbers so as to avoid the conflict of the back-off window values. Furthermore, the decrementing operation of the NAV counter is satisfied that each standard time slot length corresponds to a physical layer transmission time unit of 9 mu s, the counter performs the decrementing operation once detecting that the channel is free for one complete time slot, and the current count value is immediately frozen if the channel energy detected in the decrementing process exceeds the CCA threshold. Further, the condition of triggering the backoff procedure further comprises waiting for an arbi