CN110856244A - AP power adjustment method and device - Google Patents
AP power adjustment method and device Download PDFInfo
- Publication number
- CN110856244A CN110856244A CN201911114994.9A CN201911114994A CN110856244A CN 110856244 A CN110856244 A CN 110856244A CN 201911114994 A CN201911114994 A CN 201911114994A CN 110856244 A CN110856244 A CN 110856244A
- Authority
- CN
- China
- Prior art keywords
- message
- sta
- power
- receiving
- sending
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000005540 biological transmission Effects 0.000 claims abstract description 132
- 238000004364 calculation method Methods 0.000 claims description 11
- 239000002699 waste material Substances 0.000 abstract description 7
- 230000008569 process Effects 0.000 description 17
- 238000004891 communication Methods 0.000 description 16
- 239000000523 sample Substances 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- OVGWMUWIRHGGJP-WVDJAODQSA-N (z)-7-[(1s,3r,4r,5s)-3-[(e,3r)-3-hydroxyoct-1-enyl]-6-thiabicyclo[3.1.1]heptan-4-yl]hept-5-enoic acid Chemical compound OC(=O)CCC\C=C/C[C@@H]1[C@@H](/C=C/[C@H](O)CCCCC)C[C@@H]2S[C@H]1C2 OVGWMUWIRHGGJP-WVDJAODQSA-N 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000001902 propagating effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/06—TPC algorithms
- H04W52/14—Separate analysis of uplink or downlink
- H04W52/143—Downlink power control
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides an AP power adjustment method and device. An AP power adjustment method is applied to a wireless Access Point (AP), and comprises the following steps: receiving a message sent by a wireless terminal STA; determining the receiving power R of the AP for receiving the message1And the transmission power P of the STA for transmitting the message1(ii) a By means of R1、P1Calculating target transmission power for transmitting the message to the STA; and sending a message to the STA according to the target sending power. According to the method, the transmitting power of the AP aiming at the STA is calculated and adjusted according to the messages of the STA and the AP, aiming at each STA accessed to the AP, so that the requirement of each STA on the transmitting power of the AP can be better met, and the energy waste caused by the fact that the transmitting power of the AP exceeds the requirement of the STA can be reduced.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for adjusting AP power.
Background
In recent years, wireless networks are widely used, and a wireless Access Point (AP) is a core device for establishing a wireless local area network, and in order to ensure the wireless communication quality of the AP, the power of the AP generally needs to be adjusted according to actual conditions.
The existing AP power adjustment method comprises the following steps: collecting Received Signal Strength Indication (RSSI) generated by each AP in a current Wireless network in neighbor APs by a Wireless Access Controller (AC), determining the number of neighbor APs of each AP aiming at each AP, and starting AP power adjustment if the number exceeds a threshold value. If the current RSSI is greater than the RSSI threshold value, the transmission power of the AP is reduced, and if the current RSSI is less than the RSSI threshold value, the transmission power of the AP is increased.
However, in practical use, each AP may have access to dozens or even dozens of wireless terminals (STAs), and according to the above method, the transmission power of one AP for each STA is the same, which is difficult to meet the requirements of each STA, for example, the wireless communication quality of the STA with weak signal is poor. And for the STA which can meet the power requirement by adopting smaller power, energy waste can be caused by adopting larger power.
Disclosure of Invention
The application provides an AP power adjustment method and device, which are used for calculating and adjusting the sending power of an AP to an STA (station) for each accessed STA.
The technical scheme provided by the application comprises the following steps:
in a first aspect, the present application provides an AP power adjustment method, applied to an AP, including:
receiving a message sent by a wireless terminal STA;
determining the receiving power R of the AP for receiving the message1And the transmission power P of the STA for transmitting the message1;
By means of R1、P1Calculating target transmission power for transmitting the message to the STA;
and sending a message to the STA according to the target sending power.
In a second aspect, the present application provides an AP power adjustment apparatus, applied to a wireless access point AP, the apparatus including:
the receiving module is used for receiving a message sent by the wireless terminal STA;
a determining module, configured to determine a receiving power R of the AP receiving the packet1And the transmission power P of the STA for transmitting the message1;
A calculation module for utilizing R1、P1Calculating target transmission power for transmitting the message to the STA;
and the sending module is used for sending a message to the STA according to the target sending power.
According to the technical scheme, the method and the device determine the message sending power of the STA sending the message and the receiving power of the AP receiving the message sent by the STA according to each received message sent by the STA aiming at each access AP STA, and calculate and adjust the sending power of the AP sending the message to the STA according to the message sending power. Therefore, the requirement of each STA on the transmission power of the AP can be well met, and the waste of energy caused by the fact that the transmission power of the AP exceeds the requirement of the STA can be reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of an AP power adjustment method provided in the present application;
fig. 2 is a flowchart for determining the receiving power R of the AP receiving the message according to the embodiment of the present application1A flow chart of (1);
fig. 3 is a diagram for determining the transmission power P of the STA for transmitting the above-mentioned packet according to the embodiment of the present application1A flow chart of (1);
fig. 4 is another transmission power P for determining the STA transmitting the above-mentioned message according to the embodiment of the present application1A flow chart of (1);
FIG. 5 is a flowchart illustrating an implementation of step 103 provided by an embodiment of the present application;
fig. 6 is a flowchart of another AP power adjustment method according to an embodiment of the present application;
fig. 7 is a structural diagram of an AP power adjustment apparatus provided in the present application;
fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present specification. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
A wireless Access Point (AP) is a core device for establishing a wireless local area network, and generally needs to adjust power of the AP according to actual conditions in order to ensure wireless communication quality of the AP. If the transmission power of the AP to transmit the packet is too low, the packet may not reach the wireless terminal (STA) or the energy when the packet arrives is too low, resulting in a failure of the STA to analyze the packet.
And the larger the transmission power, the better. Firstly, if the requirement of the STA can be met by adopting a smaller transmission power, that is, a higher wireless communication quality can be ensured, the AP will cause energy waste by adopting a transmission power exceeding the requirement of the STA; secondly, the message sent by the AP with higher sending power has higher energy, and if the AP adopts overhigh sending power, the energy of the message received by the STA possibly exceeds the working range of a message demodulator of the STA, so that message analysis fails; and thirdly, the higher the transmission power of the AP is, the greater the interference generated to other APs in the same wireless network is, and if a plurality of APs in the same wireless network all use higher transmission power, the greater interference is generated among the APs, which affects the normal communication of the whole wireless network.
Therefore, the transmission power of the AP needs to be adjusted according to the actual application. The conventional method for adjusting the power of an AP includes obtaining, by a Wireless Access Point Controller (AC), a Received Signal Strength Indication (RSSI) generated by each AP in a neighboring AP, and if the current RSSI is greater than a threshold, decreasing the transmission power of the AP, and if the current RSSI is less than the threshold, increasing the transmission power of the AP.
However, according to the above method, the transmission power of an AP is the same for each STA, which means that for an STA that can meet the requirement of the transmission power with a smaller transmission power, the transmission power of the AP obtained according to the above method often exceeds the requirement, resulting in energy waste. And the STA with weak signal often needs higher transmission power of the AP than other STAs, so the AP transmission power obtained by the above method is likely to be unable to meet the requirement, resulting in poor wireless communication quality of the STA.
Therefore, the method for adjusting the power of the AP is provided, and by calculating and adjusting the transmission power of the AP for each STA, the method can better meet the requirements of various STAs on the transmission power of the AP, and can reduce energy waste.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in detail below with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1, fig. 1 is a flowchart of an AP power adjustment method provided in the present application. In one embodiment, the flow may be applied to an AP. As shown in fig. 1, the process includes:
As an embodiment, for convenience of later analysis and calculation, the received message sent by the STA may be stored locally in the AP. In this embodiment, a state machine may be established on the AP for each access STA, and is used to store a received message sent by the STA.
As an embodiment, the receiving power of the currently received message directly determined by the receiving chip of the AP when receiving the message may be regarded as R1。
But is determined due to factors such as unstable environment of the wireless networkThe reception power of each message received by a given AP may fluctuate within a certain range. As an embodiment, the receiving power of the currently received packet may be processed to obtain a more stable receiving power as the receiving power R of the AP receiving the packet1. Here, a more stable received power is obtained as R1There are multiple implementation manners, and one implementation manner is exemplarily shown in fig. 2 below, which is not described herein again.
In the specific implementation, in this step 102, the transmission power P of the STA for transmitting the message is determined1There are also multiple implementations, and one of the implementations is shown in fig. 3 and fig. 4, which will not be described herein again.
Since each AP may have access to multiple different STAs, R is determined1、P1Later, to facilitate distinguishing R of each STA1、P1As an embodiment, similar to the embodiment in step 101 above, a state machine may be established on the AP for each STA accessing the AP, and used to store the determined relevant information of the STA. In conjunction with the embodiment in step 101, the relevant information stored by the state machine may include the determined received power R of the AP receiving the message sent by the STA1And the transmission power P of the STA for transmitting the message1And/or the received message sent by the STA.
Where R is determined by the above step 1021、P1Then, R can be utilized1、P1And calculating the relation with the target transmission power to obtain the target transmission power.
As an embodiment, if a state machine of the STA is established on the AP, the state machine stores the determined receiving power R of the AP for receiving the packet sent by the STA1And the transmission power P of the STA for transmitting the message1Then the R of the STA can be obtained from the state machine during calculation1And P1。
In a specific implementation, there are multiple implementation manners in this step 103, and one of the implementation manners is exemplarily shown in fig. 5 below, which is not described herein again.
And step 104, sending a message to the STA according to the target sending power.
As an embodiment, a difference between the target transmission power and the current transmission power of the AP for the STA may be calculated. If the difference is smaller than the threshold value, the current transmission power for the STA can be kept unchanged; and if the difference is larger than the threshold value, sending a message to the STA according to the target sending power. This can reduce the number of times transmission power is adjusted for the same STA.
As an embodiment, the calculated target transmission power for each STA may be recorded separately for each STA, and before sending a message to the STA, the recorded target transmission power for the STA is queried and then the message is sent to the STA according to the target transmission power.
As an embodiment, when the STA disconnects from the AP, the recorded relevant information of the STA, such as the message transmission power of the STA, the received power for receiving the message transmitted by the STA, and the like, is deleted.
Thus, the flow shown in fig. 1 is completed.
Through the process shown in fig. 1, in the embodiment of the present application, for each STA accessing an AP, according to a message sent by the STA to the AP, a sending power of the STA sending the message and a receiving power of the AP receiving the message sent by the STA are determined, and accordingly, the sending power of the AP to the STA is calculated and adjusted. Therefore, the transmission power of the AP can be increased in time for the STA with a weaker signal, the requirement of the STA with the weaker signal is better met, and the waste of energy caused by the fact that the transmission power of the AP exceeds the requirement of the STA can be reduced.
Next, how to determine the receiving power R of the AP receiving the message in the step 102 is determined1The description is made by way of example.
Referring to fig. 2, fig. 2 is a flowchart for determining the receiving power R of the AP receiving the message according to the embodiment of the present application1Is described. As shown in fig. 2, the process includes:
Different from the receiving power R of the AP for receiving the message1Here, the current receiving power of the message is the receiving power of the AP receiving chip when receiving the message.
As an embodiment, after receiving a packet sent by an STA each time, the receiving power of receiving the packet may be recorded in a state machine established for the STA.
To facilitate the understanding of step 202, a simple example is given below. And if the preset time is 1 minute, acquiring the recorded receiving power of each message sent by the STA and received within 1 minute before the message is received.
As a simple example, if the received powers of the messages sent by the STA within the preset time obtained in step 202 are-71 dbm, -70dbm, and-69 dbm, respectively, and it is determined that the current received power of the AP for receiving the messages is-70 dbm in step 201.
Calculating the average value of the received power of the received message and the received power of each message, namely calculating the average value of-71 dbm, -70dbm, -69dbm and-70 dbm. The calculation result is-70 dbm, so that-70 dbm is determined as the received power R of the AP to the message1。
At this point, the flow shown in fig. 2 is completed.
Through the process shown in fig. 2, how to determine the receiving power R of the AP receiving the message is achieved1. It should be noted that fig. 2 only determines the receiving power R of the AP receiving the message1By way of example, and not by way of limitation.
The following step 102 how to determine the transmission power P of the STA for transmitting the message1The description is made by way of example.
Referring to fig. 3, fig. 3 is a diagram for determining the transmission power P of the STA for transmitting the message according to the embodiment of the present application1Is described. As shown in fig. 3, the process includes:
In one example, the specified type of packet carries the packet transmit power of the STA. As an embodiment, the specified type message may be a Probe Request (Probe Request) message.
If the STA acquires information of a nearby AP in an active scanning manner, the Probe Request message is the first message sent by the STA to the AP. After the STA accesses a certain AP, the STA still broadcasts the Probe Request message at regular time to acquire information of a nearby AP.
In this embodiment, the message transmission power of the message sent by the STA may be added to the Probe Request message as the customized content. As an embodiment, the packet transmission power of the STA may be added to the Probe Request packet as a custom content by the packet driver of the STA.
This step 302 is performed on the basis that the message is a message of a specified type.
As an embodiment, taking an example that a message of a specified type is a Probe Request message, if the message is a Probe Request message, the message content of the Probe Request message is analyzed, so as to obtain the message transmission power of the STA.
As an embodiment, if the specified type of packet does not carry the packet transmission power, that is, the packet transmission power of the STA cannot be obtained by analyzing the specified type of packet, the transmission power of the STA for transmitting the packet may be determined through the procedure shown in fig. 4. The reason why the packet does not carry the packet transmission power may be that the STA that transmits the packet does not support a packet customization function of a specific type, and thus the packet transmission power cannot be added to the packet as a customized content.
This step 303 is executed on the basis that the above-mentioned message is not a message of the specified type.
As shown in step 302, for each received message of the specified type sent by the STA, the AP analyzes the content of the message of the specified type, and records the obtained message sending power of the STA.
Therefore, when the message is not a message of a specific type, the recorded message transmission power carried by the recently received message of the specific type can be determined as the transmission power P for the STA to transmit the message1。
As an embodiment, the recorded message transmission power carried by a recently received message of a specified type may be determined as the transmission power P for the STA to transmit the message1. The message of the specified type which is received recently is the message of the specified type which is received before the message and is closest to the message which is received.
As another embodiment, an average value of the recorded transmission powers of the messages carried by the most recently received messages of the specified types may be determined as the transmission power P for the STA to transmit the message1. The most recently received messages of the designated type are messages of the designated type received within a preset time before the messages are received.
The flow shown in fig. 3 is completed.
Through the process shown in fig. 3, how to determine the transmission power P of the STA for transmitting the message is achieved1. It should be noted that fig. 3 only determines the transmission power of the STA for transmitting the above-mentioned messageRate P1By way of example, and not by way of limitation.
The method comprises the steps of obtaining the message sending power of the STA carried by the specified type of message sent by the STA, and determining the sending power P of the message sent by the STA1The description is made for the sake of example. As an embodiment, the transmission power P for the STA to transmit the packet may also be determined according to the mac address of the packet1. The following is described by the flow shown in fig. 4:
referring to fig. 4, fig. 4 is a diagram illustrating another transmission power P for determining the STA transmitting the message according to the embodiment of the present application1Is described. As shown in fig. 4, the process includes:
step 401, obtain the mac address of the STA from the message.
As an embodiment, the source mac address of the packet may be obtained, and the source mac address may be determined as the mac address of the STA.
Step 402, obtaining the transmitting power of the STA configured by the manufacturer of the STA according to the mac address, and determining the transmitting power as the message transmitting power P of the STA1。
There are various implementations of obtaining the STA transmit power configured by the STA manufacturer according to the mac address, such as networking lookup, and the like, which are not listed here.
As an embodiment, if the transmission power of the STA configured by the manufacturer of the STA cannot be obtained, a value is selected from a preset transmission power range of the STA as P1. The transmission power range of the STA can be obtained according to the transmission power statistics of the existing STAs on the market, and in this embodiment, the transmission power range can be set to 12-16 dbm.
The reason why the transmission power of the STA configured by the manufacturer of the STA cannot be obtained in this embodiment may be: the manufacturer of the above STA does not externally provide the configured transmission power of the STA and the like.
The flow shown in fig. 4 is completed.
Through the process shown in fig. 4, the determination of the transmission power P of the STA for transmitting the packet by using the mac address of the packet is realized1. Need toIt should be noted that fig. 4 only determines the transmission power P of the STA for transmitting the above-mentioned message1By way of example, and not by way of limitation.
The following describes, by way of example, the above step 103:
referring to fig. 5, fig. 5 is a flowchart illustrating implementation of step 103 according to an embodiment of the present disclosure. As shown in fig. 5, the process includes:
As an embodiment, the communication condition between the AP and the STA in the current wireless network can be obtained, in order to ensure the wireless communication quality provided by the AP, the receiving power of the STA for receiving the packet sent by the AP needs to be greater than-75 dbm, and when the receiving power of the STA is less than this value, the packet loss retransmission phenomenon will be significantly increased, and the communication quality will be significantly degraded. Therefore, the ideal received power R of the STA preset in the embodiment2Greater than-75 dbm, which can be set to-65 dbm to ensure good wireless communication quality.
Ideal received power R of STA2And the setting can also be according to the practical application scene of the AP. For example, in an environment with a large number of STAs, such as a large mall and a hospital, in order to ensure the communication quality of each STA, the ideal received power R of the STA may be preset to the AP to be higher2Such as-60 dbm; in an environment with a small number of STAs, such as a general home, on the premise of ensuring the communication quality of each STA, in order to save energy, a lower ideal received power R of the STA may be preset for the AP2Such as-70 dbm.
Ideal received power R of STA2It may also be arranged according to other circumstances and is not further listed here.
the target transmission power is equal to the transmission power P of the STA transmitting the message1+ ideal received power R of the above STA2-the received power R of the AP receiving the message1。
To facilitate the understanding of step 502, a simple example is given below. It is assumed that the following description is given with reference to FIGS. 2 and 3,The flow shown in fig. 4 determines the receiving power R of the AP receiving the message1The transmission power P of the STA for transmitting the message is-70 dbm1The ideal received power R of the STA obtained in step 501 is 12dbm2To-65 dbm, the target transmit power is calculated using the above equation as follows:
target transmission power P1+R1-R212+ (-65) - (-70) ═ 17 dbm. I.e., the target transmit power is 17dbm, then the AP may transmit messages to the STA in 17 dbm.
The above formula obtaining method can refer to the following steps:
step a1, simplifying Fries (Fris) formula to obtain a formula I and a formula II; the Friis formula is a formula that radio waves satisfy when propagating in free space, the first formula is used for expressing the relation between the transmitting power of the STA and the receiving power of the AP for receiving the messages sent by the STA, and the second formula is used for expressing the relation between the transmitting power of the AP and the receiving power of the STA for receiving the messages sent by the AP.
Friis's formula is as follows:
where Pr (d) denotes the received power of the receiving device, PtIndicating the transmission power of the transmitting device, GtDenotes the transmit antenna gain, GrDenotes the receive antenna gain, λ denotes the wavelength, d denotes the distance between the receiving device and the transmitting device, and L denotes the loss independent of propagation.
The process of simplifying the Friis equation is briefly described below and may include the following steps:
step b1, taking logarithm of two sides of Friis formula, and calculating(f is the radio frequency, c is the speed of light in vacuum) into this equation, the following equation (denoted as equation a) is obtained:
lgPr=lgPt+lgGt+lgGr+2lgf-2lgd-lgL-19.152
step b2, gain G due to the transmitting antennatGain G of receiving antennarSince the loss L that is not related to propagation is a fixed value of the device, and the radio frequency f and the distance d between the two are also regarded as fixed values when the transmitting device and the receiving device communicate with each other, the calculated values of the fixed values in the formula a are represented by K, and the formula a is further simplified to obtain the following formula (expressed as formula b):
10lgPr=10lgPt-K
step b3, P in formula br、PtIs W, and since dbm is generally used as a unit of power in wireless communication, dbm is 10lg (mw) and P is used according to a conversion relationship between dbm and Wr1Represents PrConversion of units of (A) to dbm, using Pt1Represents PtThe unit of (b) is converted into dbm, and the formula b is further reduced to the following formula (expressed as formula c):
Pr1=Pt1-K
wherein P isr1Indicating the received power, P, of the receiving devicet1Which represents the transmit power of the transmitting device, both in dbm.
Step b4, using formula c in the practical application scenarios of AP and STA, that is, when AP sends message to STA, AP is sending device, STA is receiving device; when the STA sends a message to the AP, the STA is a sending device, and the AP is a receiving device.
The transmitting power of the STA for transmitting the message to the AP is recorded as P1The AP receives the message sent by the STA with the receiving power R1The transmission power of the AP for transmitting the message to the STA is P2The receiving power of the STA for receiving the message sent by the AP is R2。
Then R is1、P1Substituting equation c can obtain the following equation (denoted as equation one):
R1=P1-K
in combination with the above simplification process, the formula one can express the relationship between the transmission power of the STA and the reception power of the AP receiving the packet transmitted by the STA.
R is to be2、P2Substituting equation c can obtain the following equation (expressed as equation two):
R2=P2-K
combining the above simplification process, it can be known that the second formula can represent the relationship between the transmission power of the AP and the reception power of the STA receiving the message sent by the AP.
Step a2, a formula I and a formula II are combined to eliminate a fixed value K, and a calculation formula for obtaining the sending power of the AP sending the message to the STA is as follows:
P2=P1+R2-R1
that is, the transmission power of the AP to send the packet to the STA is equal to the transmission power of the STA to send the packet to the AP + the reception power of the STA to receive the packet sent by the AP — the reception power of the AP to receive the packet sent by the STA. Wherein the receiving power of the STA for receiving the message sent by the AP is determined by the ideal receiving power R of the STA in this step 5022To indicate.
To this end, the steps a1 and a2 are used to obtain the formula used in step 502 for calculating the target transmission power. It should be noted that the steps a1 and a2 only provide a way to obtain the formula, and are not limited.
The flow shown in fig. 5 is completed.
By the flow shown in FIG. 5, the utilization of R is realized1、P1And calculating the target transmission power for transmitting the message to the STA. It should be noted that fig. 5 is only an example for implementing step 103, and is not limited.
While the above is described as an example of calculating and adjusting the target transmission power by the AP itself, in another embodiment, the target transmission power of the AP may be calculated by other electronic devices, such as an AC, as described below with reference to fig. 6.
Referring to fig. 6, fig. 6 is a flowchart of another AP power adjustment method provided in the embodiment of the present application. As an embodiment, the method may be applied to a power adjustment device, where the power adjustment device may be other electronic devices besides the AP, such as an AC. Referring to fig. 6, the process includes:
As an embodiment, each time the AP receives the message sent by the STA, it directly forwards the message to the power adjustment device. The AP itself no longer needs to store messages for calculation and adjustment of the target transmit power.
As an embodiment, when the AP forwards the message to the power adjustment device, the AP will also receive the received power R of the message1To the power adjustment device.
The power adjusting device determines the transmission power P of the AP for receiving the message sent by the STA1The process of the method is similar to the flows shown in fig. 3 and 4, and is not described again here.
The specific implementation manner of this step 603 may refer to the flow shown in fig. 5, which is not described herein again.
As an embodiment, the power adjustment device may calculate a difference between the target transmission power and the current transmission power of the AP, and issue the target transmission power to the AP if the difference is greater than a threshold; if the difference is smaller than the threshold, the target sending power is not issued to the AP. Therefore, the frequency of sending down the target transmission power and the frequency of adjusting the power of the AP can be reduced.
The flow shown in fig. 6 is completed.
Through the process shown in fig. 6, the present application realizes that the power adjustment device is used to calculate the target transmission power of the AP for transmitting the packet to the STA, and then the calculation result is sent to the AP, so that the AP can transmit the packet to the STA according to the calculated target transmission power.
The method provided by the present application is described above, and the device provided by the present application is described below:
referring to fig. 7, fig. 7 is a structural diagram of an AP power adjustment apparatus provided in the present application. As shown in fig. 7, the apparatus includes a receiving module 701, a determining module 702, a calculating module 703, and a transmitting module 704.
In one example, the receiving module 701 is used for shooting an image of a finger of an authenticated user;
a determining module 702, configured to determine the receiving power R of the AP receiving the packet1And the transmission power P of the STA for transmitting the message1;
A calculation module 703 for utilizing R1、P1Calculating target transmission power for transmitting the message to the STA;
a sending module 704, configured to send a message to the STA according to the target sending power.
As an embodiment, the determining module determines the transmission power P of the STA for transmitting the packet1The method comprises the following steps:
judging whether the message is a message of a specified type, if so, acquiring the message sending power carried by the message of the specified type, and determining the message sending power as the sending power P of the STA for sending the message1And recording;
if not, determining the message transmission power carried by the recorded recently received message of the specified type as the transmission power P for the STA to transmit the message1。
As another embodiment, the determining module determines the message transmission power P of the STA1The method comprises the following steps:
obtaining the mac address of the STA from the message;
obtaining the transmitting power of the STA configured by the manufacturer of the STA according to the mac address, and determining the transmitting power as the message transmitting power P of the STA1(ii) a Or,
selecting a value from a preset transmission power range of the STA as P1。
As one embodiment, the determining module determinesReceiving power R of fixed AP for receiving the message1The method comprises the following steps:
determining the receiving power R of the AP currently receiving the message1;
Acquiring the recorded receiving power of the message sent by the STA received in the preset time before the message;
calculation of R1And determining the average value of all the received powers as the received power R of the AP to the message1。
As one embodiment, the computing module utilizes R1、P1Calculating target transmission power for transmitting a message to the STA, including:
obtaining the ideal receiving power R of the preset STA2And calculating the target transmission power for transmitting the message to the STA by using the following formula:
the target transmission power is equal to the transmission power P of the STA transmitting the message1+ ideal received power R of STA2-the received power R of the AP receiving the message1。
The implementation process of the functions and actions of the modules in the apparatus is specifically described in the implementation process of the corresponding steps in the method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the components shown as modules may or may not be physical modules, may be located in one place, or may be distributed over a plurality of network modules. The modules can be selected according to actual needs to achieve the purpose of the scheme in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
Please refer to fig. 8, fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure. The electronic device may include a processor 801, a memory 802, and a communication bus 803. The processor 801 and the memory 802 communicate with each other via a communication bus 803. Wherein, the memory 802 stores a computer program; the processor 801 may perform the AP power adjustment method described above by executing programs stored on the memory 802.
The memory 802 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the memory 802 may be: RAM (random access memory), volatile memory, non-volatile memory, flash memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, dvd, etc.), or similar storage medium, or a combination thereof.
Embodiments of the present application also provide a machine-readable storage medium, such as the memory 802 in fig. 8, storing a computer program, which can be executed by the processor 801 in the electronic device shown in fig. 8 to implement the AP power adjustment method described above.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (10)
1. An AP power adjustment method is applied to a wireless Access Point (AP), and comprises the following steps:
receiving a message sent by a wireless terminal STA;
determining the receiving power R of the AP for receiving the message1And the transmission power P of the STA for transmitting the message1;
By means of R1、P1Calculating target transmission power for transmitting the message to the STA;
and sending a message to the STA according to the target sending power.
2. The method of claim 1, wherein the determining the transmission power P of the STA for transmitting the message1The method comprises the following steps:
judging whether the message is a message of a specified type, if so, acquiring the message sending power carried by the message of the specified type, and determining the message sending power as the sending power P of the STA for sending the message1And recording;
if not, determining the recorded message sending power carried by the recently received message of the specified type as the sending power P of the STA for sending the message1。
3. The method of claim 1, wherein the determining the packet transmission power P of the STA1The method comprises the following steps:
obtaining the mac address of the STA from the message;
obtaining the sending power of the STA configured by the manufacturer of the STA according to the mac address, and determining the sending power as the message sending power P of the STA1(ii) a Or,
selecting a value from a preset transmission power range of the STA as P1。
4. The method according to claim 1, wherein the determining the receiving power R of the AP for receiving the message is performed based on the received power R1The method comprises the following steps:
determining the receiving power of the current AP for receiving the message;
acquiring the recorded receiving power of each message received from the STA in the preset time before the message;
calculating the average value of the receiving power of the current received message and the receiving power of each message, and determining the average value as the receiving power R of the AP to the message1。
5. The method of claim 1, wherein said utilizing R1、P1Calculating target transmission power for transmitting a message to the STA, comprising:
obtaining the ideal receiving power R of the preset STA2Calculating and obtaining target transmission power for transmitting the message to the STA by using the following formula:
the target transmission power is the transmission power P of the STA for transmitting the message1+ ideal received power R of said STA2-the reception power R of the AP for receiving the message1。
6. An AP power adjustment device, applied to a wireless Access Point (AP), the device comprising:
the receiving module is used for receiving a message sent by the wireless terminal STA;
a determining module, configured to determine a receiving power R of the AP receiving the packet1And the transmission power P of the STA for transmitting the message1;
A calculation module for utilizing R1、P1Calculating target transmission power for transmitting the message to the STA;
and the sending module is used for sending a message to the STA according to the target sending power.
7. The apparatus of claim 6, wherein the determining module determines a transmission power P at which the STA transmits the packet1The method comprises the following steps:
judging whether the message is a message of a specified type, if so, acquiring the message sending power carried by the message of the specified type, and determining the message sending power as the sending power P of the STA for sending the message1And recording;
if not, determining the recorded message sending power carried by the recently received message of the specified type as the sending power P of the STA for sending the message1。
8. The apparatus of claim 6, wherein the determining module determines the packet transmit power P of the STA1The method comprises the following steps:
obtaining the mac address of the STA from the message;
obtaining the sending power of the STA configured by the manufacturer of the STA according to the mac address, and determining the sending power as the message sending power P of the STA1(ii) a Or,
selecting a value from a preset transmission power range of the STA as P1。
9. The apparatus according to claim 6, wherein the determining module determines the receiving power R of the AP for receiving the message1The method comprises the following steps:
determining the receiving power of the current AP for receiving the message;
acquiring the recorded receiving power of each message received from the STA in the preset time before the message;
calculating the average value of the receiving power of the current received message and the receiving power of each message, and determining the average value as the receiving power R of the AP to the message1。
10. The apparatus of claim 6, wherein the calculation module utilizes R1、P1Calculating target transmission power for transmitting a message to the STA, comprising:
obtaining the ideal receiving power R of the preset STA2By usingCalculating the target transmission power for transmitting the message to the STA according to the following formula:
the target transmission power is the transmission power P of the STA for transmitting the message1+ ideal received power R of said STA2-the reception power R of the AP for receiving the message1。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911114994.9A CN110856244A (en) | 2019-11-14 | 2019-11-14 | AP power adjustment method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911114994.9A CN110856244A (en) | 2019-11-14 | 2019-11-14 | AP power adjustment method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110856244A true CN110856244A (en) | 2020-02-28 |
Family
ID=69600637
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911114994.9A Pending CN110856244A (en) | 2019-11-14 | 2019-11-14 | AP power adjustment method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110856244A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111556574A (en) * | 2020-04-26 | 2020-08-18 | 深圳无线电检测技术研究院 | Management method and management device for wireless local area network work and access controller |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103945409A (en) * | 2014-03-20 | 2014-07-23 | 杭州华三通信技术有限公司 | Wireless link quality detection method and device |
CN104812038A (en) * | 2014-01-23 | 2015-07-29 | 华为技术有限公司 | Method and device for adjusting AP (access point) transmitting power |
CN105430732A (en) * | 2015-11-03 | 2016-03-23 | 广东欧珀移动通信有限公司 | WIFI transmitting power regulation method, terminal and system |
CN105763460A (en) * | 2016-03-28 | 2016-07-13 | 深圳市双赢伟业科技股份有限公司 | Router power adjusting method and device |
WO2016197379A1 (en) * | 2015-06-12 | 2016-12-15 | 华为技术有限公司 | Power control method and relevant device |
CN106559863A (en) * | 2016-10-25 | 2017-04-05 | 上海斐讯数据通信技术有限公司 | A kind of control method and system of wireless aps transmission power |
-
2019
- 2019-11-14 CN CN201911114994.9A patent/CN110856244A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104812038A (en) * | 2014-01-23 | 2015-07-29 | 华为技术有限公司 | Method and device for adjusting AP (access point) transmitting power |
CN103945409A (en) * | 2014-03-20 | 2014-07-23 | 杭州华三通信技术有限公司 | Wireless link quality detection method and device |
WO2016197379A1 (en) * | 2015-06-12 | 2016-12-15 | 华为技术有限公司 | Power control method and relevant device |
CN105430732A (en) * | 2015-11-03 | 2016-03-23 | 广东欧珀移动通信有限公司 | WIFI transmitting power regulation method, terminal and system |
CN105763460A (en) * | 2016-03-28 | 2016-07-13 | 深圳市双赢伟业科技股份有限公司 | Router power adjusting method and device |
CN106559863A (en) * | 2016-10-25 | 2017-04-05 | 上海斐讯数据通信技术有限公司 | A kind of control method and system of wireless aps transmission power |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111556574A (en) * | 2020-04-26 | 2020-08-18 | 深圳无线电检测技术研究院 | Management method and management device for wireless local area network work and access controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9179417B2 (en) | Method, apparatus, and terminal for wireless network connection | |
KR101287648B1 (en) | Terminal transmit power control with link adaptation | |
US8593980B2 (en) | Feedback generation method and system for uplink transmit power control | |
JP2022505296A (en) | Data transmission method and terminal device | |
US10021653B2 (en) | Transmit power determining method and apparatus | |
KR101816624B1 (en) | Uplink power control method and apparatus therefor | |
US11451897B1 (en) | Dynamic selection of primary wireless earbud device | |
WO2020216159A1 (en) | Beam selection method and apparatus | |
CN111836352B (en) | Power control method and terminal for physical side link feedback channel | |
CN110996382B (en) | Power adjustment method, device, storage medium and electronic equipment | |
CN112805936A (en) | Method for inter-cell interference mitigation in dynamic time division duplex environment and electronic device for the same | |
WO2015109814A1 (en) | Method and device for adjusting transmission power of ap | |
US20210266996A1 (en) | Device to device-based communication method and terminal | |
CN108712778A (en) | Channel selecting method and Related product | |
CN110856244A (en) | AP power adjustment method and device | |
CN111918351B (en) | Method and device for adjusting network parameters | |
EP2979488A1 (en) | Method for initiating handover, wireless device and base station | |
US20190159145A1 (en) | Access Method And Access Device | |
CN110537381B (en) | Link power control method and related product | |
US20220191799A1 (en) | Methods for adjusting uplink power and related | |
WO2022205427A1 (en) | Validation of timing advance in wireless communication | |
CN110278015B (en) | Antenna selection method, device and terminal | |
CN111770530B (en) | Data transmission method and related equipment | |
KR20150007525A (en) | Method for searching wireless lan ap and wireless terminal using thereof | |
WO2024222262A1 (en) | Communication method and communication device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200228 |