CN110972311A - WLAN-based bandwidth selection method, device and storage medium - Google Patents
WLAN-based bandwidth selection method, device and storage medium Download PDFInfo
- Publication number
- CN110972311A CN110972311A CN201911172974.7A CN201911172974A CN110972311A CN 110972311 A CN110972311 A CN 110972311A CN 201911172974 A CN201911172974 A CN 201911172974A CN 110972311 A CN110972311 A CN 110972311A
- Authority
- CN
- China
- Prior art keywords
- transmission power
- sta
- maximum
- available
- wireless network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000010187 selection method Methods 0.000 title claims abstract description 15
- 230000005540 biological transmission Effects 0.000 claims abstract description 132
- 230000005577 local transmission Effects 0.000 claims description 22
- 238000000034 method Methods 0.000 claims description 20
- 238000004364 calculation method Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 17
- 238000012544 monitoring process Methods 0.000 claims description 15
- 230000004044 response Effects 0.000 claims description 11
- 239000000523 sample Substances 0.000 claims description 5
- 238000005265 energy consumption Methods 0.000 abstract description 6
- 238000007726 management method Methods 0.000 description 19
- 238000004891 communication Methods 0.000 description 9
- 230000006872 improvement Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/20—Control channels or signalling for resource management
- H04W72/23—Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0453—Resources in frequency domain, e.g. a carrier in FDMA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/54—Allocation or scheduling criteria for wireless resources based on quality criteria
- H04W72/542—Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a bandwidth selection method, a device, equipment and a storage medium based on WLAN, which monitors available candidate bandwidth sets of a wireless network; calculating the maximum available transmission power of the sending STA in the current channel according to the management frame sent by the AP of the wireless network and the maximum sending power of the sending STA, which are received by the sending STA before the sending STA joins the BSS of the wireless network; the management frame comprises power limit information, transmission power range information and maximum transmission power information of the current channel of the BSS; calculating the path loss between the sending STA and the receiving STA according to the TPC report frame returned by the receiving STA received by the sending STA; the TPC report frame contains the transmission power information of the TPC report frame; calculating an available bandwidth set of the wireless network according to the maximum available transmission power of the transmitting STA, the path loss and CCA thresholds under different bandwidths in the available candidate bandwidth set; the maximum available bandwidth is selected from the available bandwidth set for the wireless network. The invention fully considers the data fed back by the receiving end and saves the channel overhead and the energy consumption.
Description
Technical Field
The present invention belongs to the field of wireless communication technology, and in particular, to a bandwidth selection method, apparatus and storage medium based on a wlan.
Background
In a wireless communication system, both data transceivers often need to select an optimal transmission rate before communicating to achieve maximum system throughput. The rate selection includes bandwidth selection, MCS selection, NSS selection, and GI selection. In the bandwidth selection technique, it is usually necessary to monitor the idle channel status and use a relatively high bandwidth to achieve the purpose of increasing the data transmission rate, but there is also a high quality requirement for the high bandwidth channel, and the continuous use of the high bandwidth requires a very critical factor, i.e. energy consumption (power control), to be considered.
Currently, the mainstream bandwidth selection/allocation methods mentioned in each large chip manufacturer or papers/patents can be divided into two categories: one type is distributed by a server in a centralized way, and the distributed measurement standards are the flow demand, the service type and the service priority of data sent by different workstations; the other is that the workstation selects the bandwidth heuristically, and the bandwidth usage is changed according to the statistical information (such as packet loss rate and the like) of the data transmission by the transmitting end. However, the existing bandwidth selection technology only selects according to the data received by the transmitting end, and a lot of unnecessary channels and energy are consumed for the transmitting end of the data.
Disclosure of Invention
In view of the foregoing problems, an object of the present invention is to provide a method, an apparatus, and a storage medium for selecting a bandwidth based on a WLAN, which fully consider data fed back by a receiving end and save channel overhead and energy consumption.
In a first aspect, an embodiment of the present invention provides a method for selecting a bandwidth based on a wlan, including:
monitoring an available candidate bandwidth set of a wireless network;
calculating the maximum available transmission power of a sending STA in a current channel according to a management frame sent by an AP of a wireless network and the maximum sending power of the sending STA, which are received by the sending STA before the sending STA joins a BSS of the wireless network; wherein the management frame includes power limit information, transmission power range information and maximum transmission power information of the current channel of the BSS;
calculating the path loss between the sending STA and the receiving STA according to the TPC report frame returned by the receiving STA and received by the sending STA; wherein the TPC report frame is generated by the receiving STA in response to a TPC request frame transmitted by the transmitting STA; the TPC report frame contains the transmission power information of the TPC report frame;
calculating an available bandwidth set of the wireless network according to the maximum available transmission power of the transmitting STA, the path loss and CCA thresholds under different bandwidths in the available candidate bandwidth set;
selecting a maximum available bandwidth from the set of available bandwidths of the wireless network.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
firstly, monitoring an available candidate bandwidth set of a wireless network, and then determining the maximum transmission power which can be used under the current channel and the path loss index of the current channel aiming at a sending STA (station) serving as a data sending end; the invention takes the data fed back by the receiving end into full consideration, and can quickly judge the selectable bandwidth range according to the real-time path loss information and the range specified by the protocol; meanwhile, the power control is combined, so that the channel overhead and the energy consumption are saved, and the condition that a receiving end cannot normally receive signals is avoided.
As an improvement of the above scheme, the monitoring an available candidate bandwidth set of the wireless network specifically includes:
and identifying an available candidate bandwidth set of the wireless network according to the idle and busy state of the channel of the wireless network and the NAV value of the channel.
As an improvement of the above scheme, the calculating, according to a management frame sent by an AP of the wireless network and received by a sending STA before joining the BSS of the wireless network, a maximum transmission power of the sending STA in a current channel includes:
calculating the maximum local transmission power of the current channel according to the power limit information and the maximum transmission power information in the management frame; wherein the power limitation information comprises a local power limitation;
determining the maximum limit transmission power of the current channel according to the transmission power range information in the management frame;
and calculating the maximum available transmission power of the sending STA in the current channel according to the maximum local transmission power, the maximum limit transmission power and the maximum sending power of the sending STA in the current channel.
As an improvement of the above solution, the calculating, according to the maximum local transmission power, the maximum limited transmission power, and the maximum transmission power of the transmitting STA, the maximum available transmission power of the transmitting STA in the current channel specifically includes:
and comparing the maximum local transmission power and the maximum limited transmission power of the current channel with the maximum transmission power of the transmitting STA, and selecting a minimum power value from the maximum local transmission power and the maximum limited transmission power of the current channel and the maximum transmission power of the transmitting STA as the maximum available transmission power of the transmitting STA in the current channel.
As an improvement of the above scheme, the management frame is a Beacon frame or a Probe Response frame.
As an improvement of the above solution, the calculating, according to the TPC report frame returned by the receiving STA received by the transmitting STA, a path loss between the transmitting STA and the receiving STA specifically includes:
acquiring the receiving power of the transmitting STA for receiving the TPC report frame;
and calculating a difference value between the transmission power in the transmission power information in the TPC report frame and the reception power of the TPC report frame received by the transmitting STA, wherein the difference value is used as the path loss between the transmitting STA and the receiving STA.
As an improvement of the foregoing solution, the calculating an available bandwidth set of the wireless network according to the maximum available transmission power, the path loss, and CCA thresholds at different bandwidths in the available candidate bandwidth set specifically includes:
calculating the receiving power of the receiving STA according to the maximum available transmission power and the path loss;
and comparing and analyzing the receiving power of the receiving STA with CCA thresholds corresponding to the secondary channels under different bandwidths in the available candidate bandwidth set, and determining the available bandwidth set of the wireless network.
As an improvement of the above, the method further comprises:
and periodically updating the maximum available bandwidth according to a preset time period.
In a second aspect, the present invention provides a wlan-based bandwidth selection apparatus, including:
the available bandwidth monitoring module is used for monitoring an available candidate bandwidth set of the wireless network;
the maximum transmission power calculation module is used for calculating the maximum available transmission power of the sending STA in the current channel according to the management frame sent by the AP of the wireless network and the maximum transmission power of the sending STA, which are received by the sending STA before the sending STA joins the BSS of the wireless network; wherein the management frame includes power limit information, transmission power range information and maximum transmission power information of the current channel of the BSS;
a path loss calculation module, configured to calculate a path loss between the sending STA and the receiving STA according to a TPC report frame returned by the receiving STA and received by the sending STA; wherein the TPC report frame is generated by the receiving STA in response to a TPC request frame transmitted by the transmitting STA; the TPC report frame contains the transmission power information of the TPC report frame;
an available bandwidth set calculation module, configured to calculate an available bandwidth set of the wireless network according to a maximum available transmission power of the sending STA, the path loss, and CCA thresholds in different bandwidths in the available candidate bandwidth set;
and the maximum available bandwidth selection module is used for selecting the maximum available bandwidth from the available bandwidth set of the wireless network.
In a third aspect, the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the apparatus in which the computer-readable storage medium is located is controlled to execute the wlan-based bandwidth selection method according to any one of the first aspect.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a wlan-based bandwidth selection method according to a first embodiment of the present invention;
fig. 2 is a schematic block diagram of a wlan-based bandwidth selection apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic block diagram of a wlan-based bandwidth selection apparatus according to a third embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a bandwidth selection method based on a wlan according to a first embodiment of the present invention includes:
s11: and monitoring an available candidate bandwidth set of the wireless network.
In the embodiment of the invention, the available candidate bandwidth of the wireless network can be monitored by executing the CCA mechanism of the PHY layer and the NAV mechanism of the MAC layer before the bandwidth selection is carried out. For the 802.11 protocol, the CCA mechanism is mainly used for idle state detection of a channel; the NAV is a timer provided by the MAC layer, and stores the duration of the medium used by other STAs, and when the duration of the data transmitted by other STAs is greater than the stored time, the STA updates its NAV, and when the NAV value is 0 and the PHY layer indicates that the current medium is available, the STA can transmit the data. In the embodiment of the invention, the theoretically available bandwidth is judged by the idle state and the NAV value of the channel obtained by executing the CCA mechanism and is used as the available candidate bandwidth of the wireless network.
S12: calculating the maximum available transmission power of a sending STA in a current channel according to a management frame sent by an AP of a wireless network and the maximum sending power of the sending STA, which are received by the sending STA before the sending STA joins a BSS of the wireless network; wherein the management frame includes power limit information, transmission power range information, and maximum transmission power information of the current channel of the BSS.
S13: calculating the path loss between the sending STA and the receiving STA according to the TPC report frame returned by the receiving STA and received by the sending STA; wherein the TPC report frame is generated by the receiving STA in response to a TPC request frame transmitted by the transmitting STA; the TPC report frame includes transmission power information of the TPC report frame.
S14: and calculating the available bandwidth set of the wireless network according to the maximum available transmission power of the sending STA, the path loss and CCA thresholds under different bandwidths in the available candidate bandwidth set.
S15: selecting a maximum available bandwidth from the set of available bandwidths of the wireless network.
In the embodiment of the invention, available candidate bandwidth sets of a wireless network are monitored, and then the maximum transmission power which can be used in the current channel and the path loss index of the current channel are determined by aiming at a sending STA (station) serving as a data sending end; the invention takes the data fed back by the receiving end into full consideration, and can quickly judge the selectable bandwidth range according to the real-time path loss information and the range specified by the protocol; meanwhile, the power control is combined, so that the channel overhead and the energy consumption are saved, and the condition that a receiving end cannot normally receive signals is avoided.
In an optional embodiment, the method further comprises:
and periodically updating the maximum available bandwidth according to a preset time period.
In the embodiment of the present invention, the above steps S11-S14 are repeated every time a time period (the initial value is 1S, which can be adjusted according to actual conditions) elapses. The transmitting STA retransmits the TPC request frame to the receiving STA, which gives feedback. The transmitting STA reselects the bandwidth according to the new path loss. That is, the invention will automatically execute the bandwidth selection process once every time a time period passes, and ensure that the bandwidth selection can adapt to the complex and changeable wireless channel condition.
In an optional embodiment, the monitoring the available candidate bandwidth set of the wireless network specifically includes:
and identifying an available candidate bandwidth set of the wireless network according to the idle and busy state of the channel of the wireless network and the NAV value of the channel.
In an optional embodiment, the calculating, according to a management frame sent by an AP of a wireless network and received by a sending STA before joining a BSS of the wireless network, a maximum transmission power of the sending STA, the maximum available transmission power of the sending STA in a current channel includes:
calculating the maximum local transmission power of the current channel according to the power limit information and the maximum transmission power information in the management frame; wherein the power limitation information comprises a local power limitation;
determining the maximum limit transmission power of the current channel according to the transmission power range information in the management frame;
and calculating the maximum available transmission power of the sending STA in the current channel according to the maximum local transmission power, the maximum limit transmission power and the maximum sending power of the sending STA in the current channel.
Preferably, the management frame is a Beacon frame or a Probe Response frame.
In an optional embodiment, the calculating, according to the maximum local transmission power of the current channel, the maximum limited transmission power, and the maximum transmission power of the transmitting STA, the maximum available transmission power of the transmitting STA in the current channel specifically includes:
and comparing the maximum local transmission power and the maximum limited transmission power of the current channel with the maximum transmission power of the transmitting STA, and selecting a minimum power value from the maximum local transmission power and the maximum limited transmission power of the current channel and the maximum transmission power of the transmitting STA as the maximum available transmission power of the transmitting STA in the current channel.
Before an STA joins a BSS, it receives a Beacon frame (or Probe Response frame) sent by an AP, where the frame includes Power Constraint information (Power Constraint element), a transmission Power range (TransmitPower environment element), and a count element; wherein, the Country element indicates the maximum transmission power of the current channel. Generally, the AP will specify the maximum regulated power limit and the maximum local power limit allowed by the current channel of the BSS, which are respectively embodied in the above three elements (elements). Wherein the maximum local transmission power is defined as: the maximum transmission Power for this channel, defined in the count element, minus the local Power limit specified in the Power Constraint element. Second, when the STA connects to the AP, the body of the (Re) association Request frame sent by the STA may contain Power Capability elements that contain the maximum and minimum transmission powers that the STA can use to transmit data on the current channel.
In the embodiment of the present invention, in combination with the constraint condition from the AP to the transmitting STA and the constraint condition of the transmitting STA itself, the transmitting STA can determine the maximum available transmission power of the transmitting STA in the current channel, and the decision formula is as follows:
Pmax=min{PR,PL,PSTA}. (1)
wherein, PmaxMaximum available transmission power of current channel for transmitting STARate, PRFor maximum limiting of transmission power, PLFor maximum local transmission power, PSTAThe maximum transmission power supported by the STA.
In an optional embodiment, the calculating, according to the TPC report frame returned by the receiving STA and received by the transmitting STA, a path loss between the transmitting STA and the receiving STA specifically includes:
acquiring the receiving power of the transmitting STA for receiving the TPC report frame;
and calculating a difference value between the transmission power in the transmission power information in the TPC report frame and the reception power of the TPC report frame received by the transmitting STA, wherein the difference value is used as the path loss between the transmitting STA and the receiving STA.
In the specification of the 802.11ac protocol, before communicating with another AP or STA, an STA may send a TPC (transmit Power control) request frame to the other side, and the other side may request to return a TPC report frame, where the TPC report frame includes a TPC report element, and the content of the transmission Power field in the report element indicates the transmission Power information, including the transmission Power, used for transmitting the TPC report frame. Based on the transmission power and the reception power of the transmitting STA when receiving the report frame, the transmitting STA can calculate the path loss (path loss) of the wireless communication link between the transmitting and receiving parties, and the calculation method is as follows:
PL=PTX-PRX. (2)
wherein PL is the current path loss of both the transmitter and the receiver, PTXTransmit power, P, for transmitting TPC report framesRXTo receive the received power of the TPC report frame.
In an optional embodiment, the calculating, according to the maximum available transmission power, the path loss, and CCA thresholds at different bandwidths in the available candidate bandwidth set, the available bandwidth set of the wireless network specifically includes:
calculating the receiving power of the receiving STA according to the maximum available transmission power and the path loss;
and comparing and analyzing the receiving power of the receiving STA with CCA thresholds corresponding to the secondary channels under different bandwidths in the available candidate bandwidth set, and determining the available bandwidth set of the wireless network.
The 802.11ac protocol specifies that the selectable bandwidths for wireless communication are 20MHz, 40MHz, 80MHz, 160MHz, 80+80 MHz. CCA decision thresholds at different bandwidths are different, summarized in the following table:
bandwidth of | Primary channel | Secondary channel |
20MHz | -82dBm | |
40MHz | -79dBm | -72dBm |
80MHz | -76dBm | -69dBm |
160MHz | -73dBm | -66dBm |
In the embodiment of the invention, the available bandwidth set can be calculated according to different CCA thresholds under different bandwidths, the available maximum transmission power of the transmitting STA and the real-time path loss of the transmitting party and the receiving party. The method comprises the following steps:
first of all, it is calculated that,at the maximum available transmission power PmaxWhen data transmission is performed, the reception power P of the receiving STArcvComprises the following steps:
Prcv=Pmax–PL. (3)
wherein PL represents a path loss between the transmitting STA and the receiving STA.
In order to avoid collisions with STAs of other different protocol versions on the secondary channel, the present invention uses the CCA threshold of the secondary channel as a decision condition for the 40MHz, 80MHz, 160MHz cases. Therefore, when P isrcv<At-66 dBm, 160MHz bandwidth is not available; prcv<At-69 dBm, 80MHz bandwidth is not selected; prcv<At-72 dBm, 40MHz bandwidth may not be selected; prcv<At-82 dBm, data cannot be transmitted normally. And simultaneously, combining a CCA mechanism of a PHY layer and a NAV mechanism of a MAC layer specified by a protocol to select the maximum available bandwidth.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
1. firstly, monitoring an available candidate bandwidth set of a wireless network, and then determining the maximum transmission power which can be used under a current channel and the path loss index of the current channel aiming at a sending STA serving as a data sending end; the invention takes the data fed back by the receiving end into full consideration, and can quickly judge the selectable bandwidth range according to the real-time path loss information and the range specified by the protocol; meanwhile, the power control is combined, so that the channel overhead and the energy consumption are saved, and the condition that a receiving end cannot normally receive signals is avoided.
2. Every time a time period (the initial value is 1s, which can be adjusted according to actual conditions) elapses, the transmitting STA needs to send a TPC request frame to the receiving STA again, and the receiving STA gives feedback. The transmitting STA reselects the bandwidth according to the new path loss. That is, the invention will automatically execute the bandwidth selection process once every time a time period passes, and ensure that the bandwidth selection can adapt to the complex and changeable wireless channel condition.
A second embodiment of the present invention provides a bandwidth selecting apparatus based on a wlan, including:
the available bandwidth monitoring module 1 is used for monitoring an available candidate bandwidth set of a wireless network;
a maximum transmission power calculation module 2, configured to calculate a maximum available transmission power of a transmitting STA in a current channel according to a management frame, which is received by the transmitting STA before joining the BSS of the wireless network and is transmitted by an AP of the wireless network, and a maximum transmission power of the transmitting STA; wherein the management frame includes power limit information, transmission power range information and maximum transmission power information of the current channel of the BSS;
a path loss calculation module 3, configured to calculate, according to a TPC report frame returned by a receiving STA and received by the sending STA, a path loss between the sending STA and the receiving STA; wherein the TPC report frame is generated by the receiving STA in response to a TPC request frame transmitted by the transmitting STA; the TPC report frame contains the transmission power information of the TPC report frame;
an available bandwidth set calculation module 4, configured to calculate an available bandwidth set of the wireless network according to the maximum available transmission power of the transmitting STA, the path loss, and CCA thresholds in different bandwidths in the available candidate bandwidth set;
and a maximum available bandwidth selection module 5, configured to select a maximum available bandwidth from the available bandwidth set of the wireless network.
In an optional embodiment, the available bandwidth monitoring module 1 is specifically configured to identify an available candidate bandwidth set of the wireless network according to an idle-busy state of a channel of the wireless network and a NAV value of the channel.
In an alternative embodiment, the maximum transmission power calculation module 2 includes:
a maximum local transmission power calculation unit, configured to calculate a maximum local transmission power of the current channel according to the power limitation information and the maximum transmission power information in the management frame; wherein the power limitation information comprises a local power limitation;
a maximum limit transmission power calculation unit, configured to determine the maximum limit transmission power of the current channel according to the transmission power range information in the management frame;
and the maximum available transmission power calculating unit is used for calculating the maximum available transmission power of the sending STA in the current channel according to the maximum local transmission power, the maximum limit transmission power and the maximum sending power of the sending STA in the current channel.
In an alternative embodiment, the maximum available transmission power calculating unit includes:
and the power comparison unit is used for comparing the maximum local transmission power, the maximum limit transmission power and the maximum sending power of the sending STA of the current channel, and selecting a minimum power value from the maximum local transmission power, the maximum limit transmission power and the maximum sending power of the sending STA of the current channel as the maximum available transmission power of the sending STA in the current channel.
In an alternative embodiment, the management frame is a Beacon frame or a Probe Response frame.
In an alternative embodiment, the path loss calculation module 3 comprises:
a received power obtaining unit, configured to obtain received power of the TPC report frame received by the transmitting STA;
a power difference calculation unit, configured to calculate a difference between a transmission power in the TPC report frame and a reception power at which the transmitting STA receives the TPC report frame, as a path loss between the transmitting STA and the receiving STA.
In an alternative embodiment, the available bandwidth set calculation module 4 includes:
a receive power calculation unit, configured to calculate receive power of the receiving STA according to the maximum available transmission power and the path loss;
an available bandwidth set determining unit, configured to compare and analyze the received power of the receiving STA with CCA thresholds corresponding to secondary channels in different bandwidths in the available candidate bandwidth set, and determine an available bandwidth set of the wireless network.
In an alternative embodiment, the apparatus further comprises:
and the maximum available bandwidth period updating module is used for periodically updating the maximum available bandwidth according to a preset time period. It should be noted that, the bandwidth selection apparatus based on a wlan according to the embodiment of the present invention is used for executing all the method flows of the above bandwidth selection method based on a wlan, and the working principles and beneficial effects of the two methods are in one-to-one correspondence, and thus are not described again.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
Referring to fig. 3, which is a block diagram of a bandwidth selection apparatus based on a wlan according to a third embodiment of the present invention, as shown in fig. 3, the bandwidth selection apparatus based on a wlan includes: at least one processor 11, such as a CPU, at least one network interface 14 or other user interface 13, a memory 15, at least one communication bus 12, the communication bus 12 being used to enable connectivity communications between these components. The user interface 13 may optionally include a USB interface, and other standard interfaces, wired interfaces. The network interface 14 may optionally include a Wi-Fi interface as well as other wireless interfaces. The memory 15 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 15 may optionally comprise at least one memory device located remotely from the aforementioned processor 11.
In some embodiments, memory 15 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof:
an operating system 151, which contains various system programs for implementing various basic services and for processing hardware-based tasks;
and (5) a procedure 152.
Specifically, the processor 11 is configured to call the program 152 stored in the memory 15 to execute the wlan-based bandwidth selection method according to the above embodiment, for example, step S11 shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of the modules/units in the above-mentioned device embodiments, such as the available bandwidth listening module.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the wlan based bandwidth selection device.
The bandwidth selection device based on the wlan may be a desktop computer, a notebook, a palm computer, a cloud server, and other computing devices. The wlan based bandwidth selection device may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the schematic diagram is merely an example of a wlan-based bandwidth selection device and does not constitute a limitation of a wlan-based bandwidth selection device, and may include more or fewer components than shown, or some components in combination, or different components.
The Processor 11 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor, etc., and the processor 11 is a control center of the wlan based bandwidth selection device and connects various parts of the whole wlan based bandwidth selection device by using various interfaces and lines.
The memory 15 may be used for storing the computer programs and/or modules, and the processor 11 implements various functions of the wlan-based bandwidth selection device by running or executing the computer programs and/or modules stored in the memory and calling up data stored in the memory. The memory 15 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 15 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein the integrated modules/units of the WALN-based bandwidth selection device, if implemented in the form of software functional units and sold or used as stand-alone products, can be stored in a computer-readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
A fourth embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus in which the computer-readable storage medium is located is controlled to execute the wlan-based bandwidth selection method according to any one of the first embodiment.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
Claims (10)
1. A method for bandwidth selection based on WALN is characterized by comprising the following steps:
monitoring an available candidate bandwidth set of a wireless network;
calculating the maximum available transmission power of a sending STA in a current channel according to a management frame sent by an AP of a wireless network and the maximum sending power of the sending STA, which are received by the sending STA before the sending STA joins a BSS of the wireless network; wherein the management frame includes power limit information, transmission power range information and maximum transmission power information of the current channel of the BSS;
calculating the path loss between the sending STA and the receiving STA according to the TPC report frame returned by the receiving STA and received by the sending STA; wherein the TPC report frame is generated by the receiving STA in response to a TPC request frame transmitted by the transmitting STA; the TPC report frame contains the transmission power information of the TPC report frame;
calculating an available bandwidth set of the wireless network according to the maximum available transmission power of the transmitting STA, the path loss and CCA thresholds under different bandwidths in the available candidate bandwidth set;
selecting a maximum available bandwidth from the set of available bandwidths of the wireless network.
2. The wlan-based bandwidth selection method according to claim 1, wherein the monitoring the available candidate bandwidth set of the wireless network specifically includes:
and identifying an available candidate bandwidth set of the wireless network according to the idle and busy state of the channel of the wireless network and the NAV value of the channel.
3. The method of claim 1, wherein the calculating the maximum available transmission power of the sending STA in the current channel according to the management frame sent by the AP of the wireless network and the maximum transmission power of the sending STA, which is received by the sending STA before joining the BSS of the wireless network, specifically comprises:
calculating the maximum local transmission power of the current channel according to the power limit information and the maximum transmission power information in the management frame; wherein the power limitation information comprises a local power limitation;
determining the maximum limit transmission power of the current channel according to the transmission power range information in the management frame;
and calculating the maximum available transmission power of the sending STA in the current channel according to the maximum local transmission power, the maximum limit transmission power and the maximum sending power of the sending STA in the current channel.
4. The wlan-based bandwidth selection method according to claim 3, wherein the calculating the maximum available transmission power of the sending STA in the current channel according to the maximum local transmission power, the maximum limited transmission power of the current channel, and the maximum transmission power of the sending STA comprises:
and comparing the maximum local transmission power and the maximum limited transmission power of the current channel with the maximum transmission power of the transmitting STA, and selecting a minimum power value from the maximum local transmission power and the maximum limited transmission power of the current channel and the maximum transmission power of the transmitting STA as the maximum available transmission power of the transmitting STA in the current channel.
5. The wlan based bandwidth selection method according to claim 1 or 3, wherein the management frame is a Beacon frame or a Probe Response frame.
6. The method of claim 1 or 3, wherein the calculating the path loss between the sending STA and the receiving STA according to the TPC report frame returned by the receiving STA received by the sending STA specifically comprises:
acquiring the receiving power of the transmitting STA for receiving the TPC report frame;
and calculating a difference value between the transmission power in the transmission power information in the TPC report frame and the reception power of the TPC report frame received by the transmitting STA, wherein the difference value is used as the path loss between the transmitting STA and the receiving STA.
7. The method for wlan-based bandwidth selection according to claim 1, wherein the calculating the available bandwidth set of the wireless network according to the maximum available transmission power, the path loss, and CCA thresholds at different bandwidths in the available candidate bandwidth set specifically comprises:
calculating the receiving power of the receiving STA according to the maximum available transmission power and the path loss;
and comparing and analyzing the receiving power of the receiving STA with CCA thresholds corresponding to the secondary channels under different bandwidths in the available candidate bandwidth set, and determining the available bandwidth set of the wireless network.
8. The WLAN based bandwidth selection method of claim 1, wherein the method further comprises:
and periodically updating the maximum available bandwidth according to a preset time period.
9. A wlan-based bandwidth selection apparatus, comprising:
the available bandwidth monitoring module is used for monitoring an available candidate bandwidth set of the wireless network;
the maximum transmission power calculation module is used for calculating the maximum available transmission power of the transmitting STA in the current channel according to the management frame sent by the AP of the wireless network and the maximum transmission power of the transmitting STA, which are received by the transmitting STA before the transmitting STA joins the BSS of the wireless network; wherein the management frame includes power limit information, transmission power range information and maximum transmission power information of the current channel of the BSS;
a path loss calculation module, configured to calculate a path loss between the sending STA and the receiving STA according to a TPC report frame returned by the receiving STA and received by the sending STA; wherein the TPC report frame is generated by the receiving STA in response to a TPC request frame transmitted by the transmitting STA; the TPC report frame contains the transmission power information of the TPC report frame;
an available bandwidth set calculation module, configured to calculate an available bandwidth set of the wireless network according to a maximum available transmission power of the sending STA, the path loss, and CCA thresholds in different bandwidths in the available candidate bandwidth set;
and the maximum available bandwidth selection module is used for selecting the maximum available bandwidth from the available bandwidth set of the wireless network.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the wlan-based bandwidth selection method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911172974.7A CN110972311B (en) | 2019-11-26 | 2019-11-26 | Bandwidth selection method, device and storage medium based on WLAN |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911172974.7A CN110972311B (en) | 2019-11-26 | 2019-11-26 | Bandwidth selection method, device and storage medium based on WLAN |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110972311A true CN110972311A (en) | 2020-04-07 |
CN110972311B CN110972311B (en) | 2023-06-09 |
Family
ID=70031679
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911172974.7A Active CN110972311B (en) | 2019-11-26 | 2019-11-26 | Bandwidth selection method, device and storage medium based on WLAN |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110972311B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114375055A (en) * | 2022-01-19 | 2022-04-19 | 高拓讯达(北京)科技有限公司 | Bandwidth processing method, device, equipment and storage medium |
WO2023109390A1 (en) * | 2021-12-17 | 2023-06-22 | 联洲集团有限公司 | Data sending method and apparatus, storage medium, processor, and ap terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107205280A (en) * | 2016-03-18 | 2017-09-26 | 中兴通讯股份有限公司 | The processing method and processing device of bandwidth resources |
CN107222921A (en) * | 2016-03-22 | 2017-09-29 | 中兴通讯股份有限公司 | Power parameter method of adjustment and device |
US20180263038A1 (en) * | 2017-03-10 | 2018-09-13 | Qualcomm Incorporated | Transmission power in adaptive cca and tpc based reuse |
CN109495895A (en) * | 2017-09-10 | 2019-03-19 | 慧与发展有限责任合伙企业 | Channel width selection |
US20190132845A1 (en) * | 2017-10-31 | 2019-05-02 | Alireza Babaei | Scheduling With Bandwidth Part Switching |
-
2019
- 2019-11-26 CN CN201911172974.7A patent/CN110972311B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107205280A (en) * | 2016-03-18 | 2017-09-26 | 中兴通讯股份有限公司 | The processing method and processing device of bandwidth resources |
CN107222921A (en) * | 2016-03-22 | 2017-09-29 | 中兴通讯股份有限公司 | Power parameter method of adjustment and device |
US20180263038A1 (en) * | 2017-03-10 | 2018-09-13 | Qualcomm Incorporated | Transmission power in adaptive cca and tpc based reuse |
CN109495895A (en) * | 2017-09-10 | 2019-03-19 | 慧与发展有限责任合伙企业 | Channel width selection |
US20190132845A1 (en) * | 2017-10-31 | 2019-05-02 | Alireza Babaei | Scheduling With Bandwidth Part Switching |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023109390A1 (en) * | 2021-12-17 | 2023-06-22 | 联洲集团有限公司 | Data sending method and apparatus, storage medium, processor, and ap terminal |
CN114375055A (en) * | 2022-01-19 | 2022-04-19 | 高拓讯达(北京)科技有限公司 | Bandwidth processing method, device, equipment and storage medium |
CN114375055B (en) * | 2022-01-19 | 2023-06-30 | 高拓讯达(北京)微电子股份有限公司 | Bandwidth processing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110972311B (en) | 2023-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12028885B2 (en) | Wireless communication method and apparatus | |
US8594581B2 (en) | Wireless station and method in a wireless station for initiating resource measurements | |
US11265802B2 (en) | Wireless communication system and wireless communication method | |
US20170188334A1 (en) | Method, apparatus, and system for reporting service indication message | |
EP3531604B1 (en) | Indication information sending method and receiving method and device | |
US11871437B2 (en) | Method and system for traffic shaping at the DU/CU to artificially reduce the total traffic load on the radio receiver so that not all the TTLs are carrying data | |
US20180213594A1 (en) | Measurement result reporting method, method for counting by timer, apparatus, and user equipment | |
CN110972311B (en) | Bandwidth selection method, device and storage medium based on WLAN | |
US20240154754A1 (en) | Uplink Transmission Resource Scheduling Method, Base Station, User Equipment, and Communication System | |
US10075938B2 (en) | Dynamic selection of data exchange mode for telecommunication devices | |
CN111757450A (en) | Power information configuration method, terminal and network side equipment under double-link scene | |
CN108848536A (en) | Method for controlling bandwidth, device and communication equipment | |
US20120300703A1 (en) | Method and system for obtaining actual power headroom of carrier of UE | |
WO2016149916A1 (en) | Data transmission method and apparatus | |
CN114697245B (en) | Network testing method, device, computer readable storage medium and terminal equipment | |
CN111918375B (en) | Uplink power control method, device, storage medium and base station | |
US11129193B2 (en) | Data transmission method and apparatus using a clear channel assessment (CCA) detection threshold | |
US20230142888A1 (en) | Wireless communication system, base station control device, communication control method, and communication control program | |
EP4190068A1 (en) | Traffic shaping at the du/cu to artificially reduce the traffic load on the radio receiver | |
CN112423380A (en) | Method and device for distributing sub-band power of base station | |
CN111417176A (en) | Power control method, power level adjustment method, terminal and network side equipment | |
CN118785216A (en) | Configuration method, device, terminal and network equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |