CN109005581B - Transmission power control method and device - Google Patents

Transmission power control method and device Download PDF

Info

Publication number
CN109005581B
CN109005581B CN201811131224.0A CN201811131224A CN109005581B CN 109005581 B CN109005581 B CN 109005581B CN 201811131224 A CN201811131224 A CN 201811131224A CN 109005581 B CN109005581 B CN 109005581B
Authority
CN
China
Prior art keywords
transmission power
packet loss
rate
original
negotiation
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.)
Active
Application number
CN201811131224.0A
Other languages
Chinese (zh)
Other versions
CN109005581A (en
Inventor
黄润鹏
张新忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811131224.0A priority Critical patent/CN109005581B/en
Publication of CN109005581A publication Critical patent/CN109005581A/en
Application granted granted Critical
Publication of CN109005581B publication Critical patent/CN109005581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/06TPC algorithms
    • H04W52/14Separate analysis of uplink or downlink
    • H04W52/146Uplink power control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/26TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service]
    • H04W52/267TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service] taking into account the information rate

Abstract

The invention provides a method and a device for controlling transmission power, which are applied to a wireless communication equipment terminal and relate to the technical field of wireless communication. The method comprises the following steps: acquiring an original packet loss rate, an original negotiation rate and an original transmission power of the wireless communication equipment; and determining a first target transmission power of the wireless communication equipment according to the original packet loss rate, a preset packet loss rate, the original negotiation rate, a preset negotiation rate and the original transmission power. The first target transmitting power of the wireless communication equipment considers not only the original negotiation rate, but also the original packet loss rate, the preset packet loss rate, the original transmitting power and other factors, dynamically compromises the power consumption and the communication performance, saves energy, and simultaneously optimizes the communication quality, so that the adjusted first target transmitting power can be more suitable for the actual communication requirement of the wireless communication equipment.

Description

Transmission power control method and device
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method and an apparatus for controlling transmit power.
Background
Currently, in the wireless communication process, the negotiation rate may be determined between the wireless communication devices according to the usage environment, such as the packet loss rate, and the actual transmission rate is determined for communication between the wireless communication devices with the negotiation rate as a guide.
In the prior art, the transmission power of the wireless communication device and the negotiation rate are basically corresponding to each other, that is, the transmission power at each negotiation rate is usually fixed, and at the same negotiation rate, the wireless communication device uses the same transmission power, which results in power consumption waste under the condition of good communication quality and insufficient power consumption under the condition of poor communication quality. In order to solve the above problem, in the prior art, the power consumption is reduced by lowering the transmission power at the highest negotiation rate.
The inventor finds in the research process that the prior art proposal has the following disadvantages: only at the highest negotiation rate, the transmitting power is reduced, and the adjusting method is monotonous, so that the adjusted transmitting power cannot accurately adapt to the actual communication requirement.
Disclosure of Invention
The invention provides a method and a device for controlling transmission power, aiming at solving the problem that the adjusted transmission power can not accurately adapt to the actual communication requirement in the process of adjusting the transmission power of wireless communication equipment.
In a first aspect, an embodiment of the present invention provides a transmission power control method, which is applied to a wireless communication device, and the method includes:
acquiring an original packet loss rate, an original negotiation rate and an original transmission power of the wireless communication equipment;
and determining a first target transmission power of the wireless communication equipment according to the original packet loss rate, a preset packet loss rate, the original negotiation rate, a preset negotiation rate and the original transmission power.
In a second aspect, an embodiment of the present invention further provides a transmission power control apparatus, applied to a wireless communication device, where the apparatus includes:
the original data acquisition module is used for acquiring the original packet loss rate, the original negotiation rate and the original transmission power of the wireless communication equipment;
a first target transmission power determining module, configured to determine a first target transmission power of the wireless communication device according to the original packet loss ratio and a preset packet loss ratio, the original negotiation rate and a preset negotiation rate, and the original transmission power.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and when the computer program is executed by the processor, the steps of the transmission power control method according to the present invention are implemented.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the transmission power control method according to the present invention.
In the embodiment of the invention, the original packet loss rate, the original negotiation rate and the original transmitting power of the wireless communication equipment are obtained; and determining a first target transmission power of the wireless communication equipment according to the original packet loss rate, a preset packet loss rate, the original negotiation rate, a preset negotiation rate and the original transmission power. The first target transmitting power of the wireless communication equipment considers not only the original negotiation rate, but also the original packet loss rate, the preset packet loss rate, the original transmitting power and other factors, dynamically compromises the power consumption and the communication performance, saves energy, and simultaneously optimizes the communication quality, so that the adjusted first target transmitting power can be more suitable for the actual communication requirement of the wireless communication equipment.
Drawings
Fig. 1 is a flowchart illustrating a method for controlling transmission power according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a transmission power control method according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating determining a first target transmit power according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating determining a first target transmit power according to a third target transmit power according to a second embodiment of the present invention;
fig. 5 is a block diagram illustrating a structure of a transmission power control apparatus according to a third embodiment of the present invention;
fig. 6 is a block diagram illustrating another transmission power control apparatus according to a third embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a hardware structure of a mobile terminal according to an 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 some, not all, embodiments of the present invention. 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.
Example one
Referring to fig. 1, a flowchart of a transmission power control method provided in a first embodiment of the present invention is shown, where the transmission power control method is applied to a wireless communication device.
In the embodiment of the present invention, the wireless communication device may be a wireless access device, such as a mobile terminal, a tablet computer, or the like, and may also be a wireless access point, such as a wireless router, or the like. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the present invention, the method for controlling transmit power may specifically include the following steps:
step 101, obtaining an original packet loss rate, an original negotiation rate, and an original transmission power of the wireless communication device.
In the embodiment of the present invention, in a process of the wireless communication device communicating with other communication devices, the original packet loss rate of the wireless communication device is obtained.
In the embodiment of the present invention, in the process of performing wireless communication by a wireless communication device, the original packet loss rate may be sent to the wireless communication device by a communication peer communicating with the wireless communication device, where the original packet loss rate is obtained. Specifically, in the process that the correspondent node sends the retransmission instruction to the wireless communication device, the wireless communication device obtains the original packet loss rate thereof through the retransmission instruction. The original packet loss rate may be a packet loss rate at the current time, or may also be an average packet loss rate within a period of time, and the like, which is not specifically limited in the embodiment of the present invention.
In an embodiment of the present invention, the original negotiated rate for the wireless communication device may be obtained. Specifically, during the wireless communication process of the wireless device side, the wireless device side and the opposite communication terminal thereof perform rate negotiation according to the communication protocol, and the rate negotiated at the current time may be the original negotiated rate of the wireless communication device, or a certain negotiated rate before the current time may be the original negotiated rate of the wireless communication device. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the present invention, the original negotiated rate of the wireless communication device can represent the transmission rate of the wireless communication device, that is, the original negotiated rate of the wireless communication device can represent the throughput of the wireless communication device. In the embodiment of the present invention, this is not particularly limited.
In an embodiment of the present invention, the original transmit power of the wireless communication device is obtained. Specifically, the information may be obtained by a transmission power detection module of the wireless device. The original transmission power may be a transmission power of the wireless communication device at the current time, or may also be an average transmission power of the wireless communication device over a period of time, and the like.
Step 102, determining a first target transmission power of the wireless communication device according to the original packet loss rate and a preset packet loss rate, the original negotiation rate and a preset negotiation rate, and the original transmission power.
In the embodiment of the present invention, a preset packet loss rate may be set, where the preset packet loss rate may be set according to an actual communication requirement, and this is not specifically limited in the embodiment of the present invention.
In the embodiment of the present invention, a preset negotiation rate may be set similarly, and the preset original negotiation rate may be set according to an actual communication requirement, which is not specifically limited in the embodiment of the present invention.
In the embodiment of the present invention, the first target transmission power of the wireless communication device is adjusted according to the original packet loss ratio and a preset packet loss ratio, the original negotiation rate and a preset negotiation rate, and the original transmission power. The first target transmit power of the wireless communication device may be the transmit power of the wireless communication device at the next time instant, or may be the transmit power of the wireless communication device for some period of time in the future. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the present invention, the first target transmission power of the wireless communication device may be adjusted according to the original packet loss rate and a preset packet loss rate, the original negotiation rate and a preset negotiation rate, and the original transmission power by using a rate negotiation algorithm and a power control algorithm of the wireless communication device.
In the embodiment of the invention, the original packet loss rate and the original negotiation rate can objectively represent the current or historical communication performance of the wireless communication equipment, and the first target transmission power of the wireless communication equipment is adjusted according to the original packet loss rate, the preset packet loss rate, the original negotiation rate, the preset negotiation rate and the original transmission power.
In the embodiment of the present invention, a power margin, a negotiation rate margin, and the like are often reserved in a production process of a wireless communication device, and in the embodiment of the present invention, a first target transmission power of the wireless communication device is adjusted according to the original packet loss rate and a preset packet loss rate, the original negotiation rate and a preset negotiation rate, and the original transmission power through a rate negotiation algorithm and a power control algorithm of the wireless communication device, so that waste of the power margin, the negotiation rate margin, and the like can be avoided, and a limit performance of hardware can be exerted to a great extent.
In the embodiment of the invention, the original packet loss rate, the original negotiation rate and the original transmitting power of the wireless communication equipment are obtained; and determining a first target transmission power of the wireless communication equipment according to the original packet loss rate, a preset packet loss rate, the original negotiation rate, a preset negotiation rate and the original transmission power. The first target transmitting power of the wireless communication equipment considers not only the original negotiation rate, but also the original packet loss rate, the preset packet loss rate, the original transmitting power and other factors, dynamically compromises the power consumption and the communication performance, saves energy, and simultaneously optimizes the communication quality, so that the adjusted first target transmitting power can be more suitable for the actual communication requirement of the wireless communication equipment.
Example two
Referring to fig. 2, a flowchart of a transmission power control method provided in the second embodiment of the present invention is shown, and is applied to a wireless communication device, and for the wireless communication device, reference may be made to relevant descriptions in the embodiments of the present invention, and details are not repeated here. The method specifically comprises the following steps:
step 201, obtaining an original packet loss rate, an original negotiation rate, and an original transmission power of the wireless communication device.
In the embodiment of the present invention, step 201 may refer to the detailed description of step 101 in the first embodiment of the present invention, and is not described herein again.
Step 202, the preset packet loss rate includes: a high-quality packet loss rate threshold; and if the original packet loss rate is less than or equal to the high-quality packet loss rate threshold and greater than 0, and the original negotiation rate is greater than or equal to the preset negotiation rate, reducing the original transmitting power according to a first preset step length to obtain a second target transmitting power.
In this embodiment of the present invention, the preset packet loss ratio includes: a high-quality packet loss rate threshold, where the high-quality packet loss rate threshold may be a packet loss rate corresponding to the wireless communication device when the packet loss rate is smaller, for example, the high-quality packet loss rate threshold may be a packet loss rate of 3%.
In the embodiment of the present invention, the preset negotiation rate may be a larger negotiation rate that the wireless communication device can reach. That is, the preset negotiated rate may be a negotiated rate corresponding to the wireless communication device with better throughput. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the present invention, if the original packet loss rate is less than or equal to the high-quality packet loss rate threshold and is greater than 0, it indicates that the current packet loss rate of the wireless communication device is low. The original negotiation rate is greater than or equal to the preset negotiation rate, and since the preset negotiation rate can be a larger negotiation rate that the wireless communication device can reach, it indicates that the negotiation rate of the wireless communication device has reached a higher rate, that is, the transmission rate of the wireless communication device is higher.
In the embodiment of the present invention, if the original packet loss rate is less than or equal to the high quality packet loss rate threshold and greater than 0, and the original negotiation rate is greater than or equal to the preset negotiation rate, in this case, the communication performance of the wireless communication device is better, the promotion space of the communication performance is already particularly small, and the original transmission power of the wireless communication device can be reduced according to the first preset step length to obtain the second target transmission power.
In the embodiment of the present invention, the first preset step may be set according to an actual communication requirement, and specifically, the first preset step may be set in combination with an actual communication experience and an actual communication requirement.
For example, if the high-quality packet loss rate threshold is 3%, the preset negotiation rate is 5M/s, if the original packet loss rate is 2%, the original negotiation rate is 6M/s, the original transmission power is 3dBm, and the first preset step length is 0.5dBm, then the original packet loss rate is less than or equal to the high-quality packet loss rate threshold and greater than 0, and the original negotiation rate is greater than or equal to the preset negotiation rate, then the communication performance of the wireless communication device is better, the promotion space of the communication performance is particularly small, the original transmission power of the wireless communication device is reduced according to the first preset step length of 0.5dBm, and the obtained second target transmission power is 2.5 dBm.
Step 203, determining whether the second target transmission power is less than or equal to the minimum transmission power of the wireless communication device.
In this embodiment of the present invention, after the wireless communication device determines, the minimum transmission power of the wireless communication device is determined, that is, the minimum transmission power of the wireless communication device may be an attribute of the wireless communication device itself, which is not particularly limited in this embodiment of the present invention.
In the embodiment of the invention, whether the second target transmission power is less than or equal to the minimum transmission power of the wireless communication equipment is judged. To ensure that the wireless communication device is operating properly, the wireless communication device is not operating below its minimum transmit power.
And 204, if yes, determining the minimum transmitting power as the first target transmitting power.
In the implementation of the present invention, if the second target transmission power is less than or equal to the minimum transmission power of the wireless communication device, in order to ensure that the wireless communication device can operate normally and to save power consumption, the minimum transmission power of the wireless communication device may be determined as the first target transmission power of the wireless communication device.
For example, for the above example, if the second target transmission power is 2.5dBm, and if the minimum transmission power of the wireless communication device is 2.6dBm, the second target transmission power is smaller than the minimum transmission power of the wireless communication device, and in order to ensure that the wireless communication device can operate normally, the first target transmission power of the wireless communication device may be determined as the minimum transmission power of the wireless communication device of 2.6 dBm.
Step 205, if not, determining the first target transmission power according to the corresponding first packet loss ratio and the high quality packet loss ratio threshold, and the corresponding first negotiation rate and the preset negotiation rate of the wireless communication device under the second target transmission power.
In this embodiment of the present invention, if the second target transmission power is greater than the minimum transmission power of the wireless communication device, the first target transmission power is determined according to a corresponding first packet loss rate and a high quality packet loss rate threshold, and a corresponding first negotiation rate and a preset negotiation rate of the wireless communication device under the condition of the second target transmission power.
For example, if the high-quality packet loss rate threshold is 3%, the preset negotiation rate is 5M/s, if the original packet loss rate is 2%, the original negotiation rate is 6M/s, the original transmission power is 5dBm, and the first preset step length is 0.5dBm, then the original packet loss rate is less than or equal to the high-quality packet loss rate threshold and greater than 0, and the original negotiation rate is greater than or equal to the preset negotiation rate, then the communication performance of the wireless communication device is better, the promotion space of the communication performance is particularly small, the original transmission power of the wireless communication device is reduced according to the first preset step length of 0.5dBm, and the obtained second target transmission power is 4.5 dBm. And if the minimum transmitting power of the wireless communication equipment is 2.6dBm, the second target transmitting power is larger than the minimum transmitting power of the wireless communication equipment, and the first target transmitting power is determined according to the corresponding first packet loss rate and high-quality packet loss rate threshold value, the corresponding first negotiation rate and the preset negotiation rate of the wireless communication equipment under the condition of the second target transmitting power.
Specifically, fig. 3 shows a flowchart for determining a first target transmission power according to a second target transmission power, where the step of determining the first target transmission power according to a corresponding first packet loss ratio and the high quality packet loss ratio threshold, and a corresponding first negotiation rate and the preset negotiation rate of the wireless communication device under the condition of the second target transmission power may include:
in sub-step 2051, if the first packet loss ratio is less than or equal to the high quality packet loss ratio threshold and the first negotiation rate is greater than or equal to the preset negotiation rate, replacing the original transmission power with the second target transmission power, and continuing to perform the step of reducing the original transmission power according to a first preset step length to obtain a second target transmission power.
In sub-step 2052, if the first packet loss ratio is greater than the high quality packet loss ratio threshold, or the first negotiation rate is smaller than the preset negotiation rate, the second target transmission power is increased by the first preset step length to obtain the first target transmission power.
In the embodiment of the present invention, a corresponding first packet loss rate and a corresponding first negotiation rate of the wireless communication device under the condition of the second target transmission power are obtained. Specifically, the current packet loss rate and the negotiation rate of the wireless communication device may be obtained by obtaining a corresponding first packet loss rate and a corresponding first negotiation rate of the wireless communication device under the condition of the second target transmission power, or temporarily adjusting the current transmission power of the wireless communication device to the second target transmission power, determining the packet loss rate as the first packet loss rate, and determining the negotiation rate as the first negotiation rate.
In this embodiment of the present invention, if the second target transmission power is greater than the minimum transmission power of the wireless communication device, and if the wireless communication device is in the second target transmission power, the corresponding first packet loss rate and the threshold of the high quality packet loss rate are less than or equal to, and the corresponding first negotiation rate and the preset negotiation rate are greater than or equal to, which indicate that the communication performance of the wireless communication device is still better in the second target transmission power, the original transmission power is replaced with the second target transmission power, and the step of reducing the original transmission power according to the first preset step length is continuously performed to obtain the second target transmission power.
For example, if the high-quality packet loss rate threshold is 3%, the preset negotiation rate is 5M/s, if the original packet loss rate is 2%, the original negotiation rate is 6M/s, the original transmission power is 5dBm, and the first preset step length is 0.5dBm, then the original packet loss rate is less than or equal to the high-quality packet loss rate threshold and greater than 0, and the original negotiation rate is greater than or equal to the preset negotiation rate, then the communication performance of the wireless communication device is better, the promotion space of the communication performance is particularly small, the original transmission power of the wireless communication device is reduced according to the first preset step length of 0.5dBm, and the obtained second target transmission power is 4.5 dBm. If the minimum transmitting power of the wireless communication device is 2.6dBm, the second target transmitting power is greater than the minimum transmitting power of the wireless communication device, under the condition of the second target transmitting power, the corresponding first packet loss rate is 2.3%, and the corresponding first negotiation rate is 5.4M/s, it is indicated that the communication performance of the wireless communication device is still better under the condition of the second target transmitting power, the original transmitting power is replaced by the second target transmitting power of 4.5dBm, the step of reducing the original transmitting power according to the first preset step length of 0.5dBm is continuously executed, the step of obtaining the second target transmitting power is obtained, the reduced original transmitting power is continuously compared with the minimum transmitting power of the wireless device, and the like.
In the embodiment of the present invention, if the first packet loss rate is greater than the high-quality packet loss rate threshold or the first negotiation rate is smaller than the preset negotiation rate under the condition that the wireless communication device is at the second target transmission power, which indicates that the communication performance of the wireless communication device is not good or the communication requirement is not met under the condition that the wireless communication device is at the second target transmission power, the second target transmission power may be increased by the first preset step length to obtain the first target transmission power.
For example, if the high-quality packet loss rate threshold is 3%, the preset negotiation rate is 5M/s, if the original packet loss rate is 2%, the original negotiation rate is 6M/s, the original transmission power is 5dBm, and the first preset step length is 0.5dBm, then the original packet loss rate is less than or equal to the high-quality packet loss rate threshold and greater than 0, and the original negotiation rate is greater than or equal to the preset negotiation rate, then the communication performance of the wireless communication device is better, the promotion space of the communication performance is particularly small, the original transmission power of the wireless communication device is reduced according to the first preset step length of 0.5dBm, and the obtained second target transmission power is 4.5 dBm. If the minimum transmitting power of the wireless communication device is 2.6dBm, the second target transmitting power is greater than the minimum transmitting power of the wireless communication device, the corresponding first packet loss rate of the wireless communication device is 3.3% under the condition of the second target transmitting power, the corresponding first negotiation rate is 5.4M/s, and the corresponding first packet loss rate of the wireless communication device is greater than the high-quality packet loss rate threshold under the condition of the second target transmitting power, which indicates that the communication performance of the wireless communication device is not good under the condition of the second target transmitting power or the actual communication requirement cannot be met, and the second target transmitting power is 4.5dBm, and the first preset step length is increased by 0.5dBm, so that the first target transmitting power is 5 dBm. Thereby ensuring the communication performance of the wireless communication device.
For another example, for the above example, if the original transmission power is replaced by the second target transmission power of 4.5dBm, the original transmission power is reduced according to the first preset step size of 0.5dBm, and the second target transmission power of 4dBm is obtained, the second target transmission power of 4dBm is greater than the minimum transmission power of the wireless communication device of 2.6dBm, if the wireless communication device has a corresponding first packet loss rate of 2.7% and a corresponding first negotiation rate of 4.4M/s under the condition of the second target transmission power, and the corresponding first negotiation rate of 4dBm is less than the preset negotiation rate under the condition of the second target transmission power, which indicates that the communication performance of the wireless communication device is not good under the condition of the second target transmission power, or the actual communication requirement is not met, the second target transmission power of 4dBm may be increased by the first preset step size of 0.5dBm, the first target transmit power of 4.5dBm is obtained. Thereby ensuring the communication performance of the wireless communication device.
For another example, if the second target transmission power is 2.9dBm, if the original transmission power is 3.4dBm replaced by the second target transmission power of 2.9dBm, the original transmission power is reduced according to the first preset step size of 0.5dBm, and the second target transmission power of 2.4dBm is obtained, and the second target transmission power of 2.6dBm is smaller than the minimum transmission power of the wireless communication device, then in order to ensure the normal operation of the wireless communication device, the minimum transmission power of 2.6dBm of the wireless communication device may be determined as the first target transmission power.
In the embodiment of the present invention, if the second target transmission power is greater than the minimum transmission power of the wireless communication device, and the wireless communication device is under the second target transmission power, if the corresponding first packet loss rate is less than or equal to the high quality packet loss rate threshold and the corresponding first negotiation rate is greater than or equal to the preset negotiation rate, it indicates that the communication performance of the wireless communication device is better under the second target transmission power, in order to save the transmission power, the second target transmission power may be further reduced, and if the wireless communication device is under the reduced second target transmission power, the corresponding first packet loss rate is greater than the high quality packet loss rate threshold or the corresponding first negotiation rate is less than the preset negotiation rate, it indicates that the communication performance of the wireless communication device is not very good under the second target transmission power, or the actual communication requirement is not met, in order to ensure the communication performance of the wireless communication device, the first preset step size may be added to the second target transmission power to obtain the first target transmission power. Namely, in the embodiment of the invention, dynamic compromise is performed in power consumption saving and communication performance guarantee, so that the effects of saving power consumption and guaranteeing communication performance are achieved.
Step 206, if the original packet loss rate is equal to 0 and the original negotiation rate is smaller than the preset negotiation rate, gradually increasing the original negotiation rate according to a second preset step length until the corresponding second packet loss rate is greater than the high-quality packet loss rate threshold under the conditions of the original transmission power and the increased original negotiation rate of the wireless communication device, so as to obtain a second negotiation rate.
In the embodiment of the present invention, if the original packet loss rate is equal to 0, that is, the packet loss rate has already reached the optimum, and if the packet loss rate reaches the optimum and the original negotiation rate is smaller than the preset negotiation rate, which indicates that the negotiation rate of the wireless communication device has not reached a better rate, the original negotiation rate of the wireless communication device may be gradually increased according to a second preset step size until the corresponding second packet loss rate of the wireless communication device is greater than the threshold of the good-quality packet loss rate under the conditions of the original transmission power and the increased original negotiation rate, so as to obtain the second negotiation rate.
In the embodiment of the present invention, the second preset step size may be set according to experience and actual communication requirements, which is not particularly limited in the embodiment of the present invention.
For example, if the original packet loss rate is 0, the original transmission power is 3.2dBm, the original negotiation rate is 4.2M/s, the preset negotiation rate is 5M/s, the original negotiation rate is 4.2M/s and is less than the preset negotiation rate by 5M/s, and the second preset step length is 0.4M/s, the original negotiation rate of the wireless communication device may be gradually increased until the corresponding second packet loss rate of the wireless communication device is greater than the high-quality packet loss rate threshold value under the conditions of the original transmission power and the increased original negotiation rate, so as to obtain the second negotiation rate, and if the second negotiation rate is 5M/s, the corresponding second packet loss rate of the wireless communication device is greater than the high-quality packet loss rate threshold value by 3.5% under the conditions of the original transmission power by 3.2dBm and the second negotiation rate by 5M/s.
Step 207, decreasing the second negotiation rate by the second preset step size, and determining the second negotiation rate after decreasing the second preset step size as the first target negotiation rate of the wireless communication device.
In the embodiment of the present invention, under the conditions of the original transmission power and the increased second negotiation rate, the corresponding second packet loss rate is greater than the high quality packet loss rate threshold, which indicates that under such a condition, the packet loss rate of the wireless communication device does not meet the communication requirement, the second negotiation rate may be decreased by a second preset step length, and the second negotiation rate after the second preset step length is decreased is determined as the first target negotiation rate of the wireless communication device.
In this embodiment of the present invention, the first target negotiation rate of the wireless communication device may be a negotiation rate of the wireless communication device at the next time, or the first target negotiation rate of the wireless communication device may be a negotiation rate of the wireless communication device in a future time period, which is not specifically limited in this embodiment of the present invention.
For example, for the above example, if the original packet loss rate is 0, the original transmission power is 3.2dBm, the original negotiation rate is 4.2M/s, the preset negotiation rate is 5M/s, the original negotiation rate is 4.2M/s and is less than the preset negotiation rate by 5M/s, and the second preset step size is 0.4M/s, the original negotiation rate of the wireless communication device may be gradually increased, if the wireless communication device has the original transmission power of 3.2dBm and the second negotiation rate is 5M/s, and the corresponding second packet loss rate of 3.5% is greater than the high-quality packet loss rate threshold value by 3%, the second negotiation rate of 5M/s is decreased by 0.4M/s, and the second negotiation rate after the second step size is decreased by 4.6M/s is determined as the first target negotiation rate of the wireless communication device.
Step 208, determining the original transmission power as the first target transmission power.
In this embodiment of the present invention, the original transmission power may be determined as the first target transmission power of the wireless communication device, which is not particularly limited in this embodiment of the present invention.
For example, for the above example, if the original packet loss rate is 0, the original transmission power is 3.2dBm, the original negotiation rate is 4.2M/s, the preset negotiation rate is 5M/s, the original negotiation rate is 4.2M/s and is less than the preset negotiation rate by 5M/s, and the second preset step size is 0.4M/s, the original negotiation rate of the wireless communication device may be gradually increased, if the wireless communication device has the original transmission power of 3.2dBm and the second negotiation rate is 5M/s, and the corresponding second packet loss rate of 3.5% is greater than the high-quality packet loss rate threshold value by 3%, the second negotiation rate of 5M/s is decreased by 0.4M/s, and the second negotiation rate after the second step size is decreased by 4.6M/s is determined as the first target negotiation rate of the wireless communication device. The original transmit power was 3.2dBm, determined as the first target transmit power.
In the embodiment of the present invention, if the original packet loss rate is equal to 0 and the original negotiation rate is less than the preset negotiation rate, the original negotiation rate of the wireless communication device is gradually increased according to a second preset step size until the corresponding second packet loss rate is greater than the high-quality packet loss rate threshold under the conditions of the original transmission power and the increased original negotiation rate of the wireless communication device, so as to obtain a second negotiation rate, the second negotiation rate is decreased by the second preset step size, and the second negotiation rate after the second preset step size is decreased is determined as the first target negotiation rate of the wireless communication device, that is, the negotiation rate is optimized under the condition that the packet loss rate does not have an optimized space, so as to improve the transmission power and improve the throughput.
Step 209, the preset packet loss rate further includes: a threshold value of the poor packet loss rate; the poor packet loss rate threshold is greater than the high-quality packet loss rate threshold; and if the original packet loss rate is greater than the high-quality packet loss rate threshold and less than or equal to the poor-quality packet loss rate threshold, increasing the original transmitting power according to a third preset step length to obtain a third target transmitting power.
In this embodiment of the present invention, the preset packet loss ratio includes: the poor packet loss rate threshold may be a packet loss rate corresponding to the wireless communication device when the packet loss rate is relatively high, for example, the poor packet loss rate threshold may be a packet loss rate of 30%.
In the embodiment of the present invention, the threshold of the poor packet loss rate is greater than the threshold of the high quality packet loss rate, for example, for the above example, the threshold of the high quality packet loss rate is 3%, and the threshold of the poor packet loss rate may be 30%. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the present invention, if the original packet loss rate is greater than the threshold of the poor packet loss rate, it indicates that the current packet loss rate of the wireless communication device is greater. The original packet loss rate cannot meet the current communication requirement, and needs to be optimized.
In the embodiment of the present invention, if the original packet loss rate is greater than the threshold of the poor packet loss rate, in this case, the original packet loss rate of the wireless communication device is poor and needs to be optimized, and the original transmission power of the wireless communication device may be increased according to a third preset step length to obtain a third target transmission power.
In the embodiment of the present invention, the third preset step may be set according to an actual communication requirement, and specifically, may be set in combination with an actual communication experience and an actual communication requirement, which is not specifically limited in the embodiment of the present invention.
For example, if the threshold of the poor packet loss rate is 30%, if the high-quality packet loss rate is 3%, if the original packet loss rate is 25%, the original negotiation rate is 6M/s, the original transmission power is 3dBm, and the third preset step size is 0.3dBm, then the original packet loss rate is greater than 25% of the high-quality packet loss rate by 3%, and is less than 30% of the threshold of the poor packet loss rate, the original packet loss rate of the wireless communication device is poor, optimization is required, the original transmission power of the wireless communication device is increased according to the third preset step size of 0.3dBm, and the obtained third target transmission power is 3.3 dBm.
Step 210, determining whether the third target transmission power is greater than or equal to the maximum transmission power of the wireless communication device.
In this embodiment of the present invention, after the wireless communication device determines, the maximum transmission power of the wireless communication device is determined, that is, the maximum transmission power of the wireless communication device may be an attribute of the wireless communication device itself, which is not specifically limited in this embodiment of the present invention.
In the embodiment of the present invention, it is determined whether the third target transmission power is greater than or equal to the maximum transmission power of the wireless communication device. To ensure that the wireless communication device is operating properly, the wireless communication device is not operating above its maximum transmit power.
Step 211, if the third target transmission power is greater than or equal to the maximum transmission power, determining the maximum transmission power as the first target transmission power, and determining whether a third packet loss rate corresponding to the wireless communication device is less than or equal to the high quality packet loss rate threshold under the condition of the maximum transmission power and the original negotiation rate.
In the implementation of the present invention, if the third target transmission power is greater than or equal to the maximum transmission power of the wireless communication device, in order to ensure that the wireless communication device can operate normally, the maximum transmission power of the wireless communication device may be determined as the first target transmission power of the wireless communication device. And meanwhile, judging whether the corresponding third packet loss rate is less than or equal to the high-quality packet loss rate threshold value or not under the conditions of the maximum transmitting power and the original negotiation rate of the wireless communication equipment.
For example, if the third target transmission power is 8dBm, if the maximum transmission power of the wireless communication device is 7dBm, the third target transmission power is greater than the maximum transmission power of the wireless communication device, and in order to ensure that the wireless communication device can operate normally, the maximum transmission power of the wireless communication device of 7dBm may be determined as the first target transmission power of the wireless communication device. If the wireless communication device is under the conditions of the maximum transmitting power of 7dBm and the original negotiation rate of 3M/s, the corresponding third packet loss rate is 4%.
Step 212, if the third packet loss rate is greater than the high quality packet loss rate threshold, gradually decreasing the original negotiation rate according to a fourth preset step length until the corresponding fourth packet loss rate is less than or equal to the high quality packet loss rate threshold under the condition that the wireless communication device is at the maximum transmission power and the decreased original negotiation rate, so as to obtain a third negotiation rate.
In the embodiment of the present invention, if the third packet loss rate corresponding to the wireless communication device is greater than the high quality packet loss rate threshold under the conditions of the maximum transmission power and the original negotiation rate, which indicates that the communication requirement of the packet loss rate still cannot be met under the condition that the transmission power has been increased to the maximum, in order to preferentially ensure the packet loss rate, the original negotiation rate may be gradually reduced according to a fourth preset step size until the fourth packet loss rate corresponding to the wireless communication device is less than or equal to the high quality packet loss rate threshold under the conditions of the maximum transmission power and the reduced original negotiation rate, so as to obtain the third negotiation rate.
In the embodiment of the present invention, the fourth preset step may be set according to an actual communication requirement, and specifically, may be set in combination with an actual communication experience and an actual communication requirement, which is not specifically limited in the embodiment of the present invention.
For example, if the third target transmission power is 8dBm, if the maximum transmission power of the wireless communication device is 7dBm, the third target transmission power is greater than the maximum transmission power of the wireless communication device, and in order to ensure that the wireless communication device can operate normally, the maximum transmission power of the wireless communication device of 7dBm may be determined as the first target transmission power of the wireless communication device. If the wireless communication device has a corresponding third packet loss rate of 4% under the conditions of a maximum transmission power of 7dBm and an original negotiation rate of 3M/s, and if the high-quality packet loss rate threshold is 3%, the wireless communication device has a corresponding third packet loss rate greater than the high-quality packet loss rate threshold under the conditions of a maximum transmission power of 7dBm and an original negotiation rate of 3M/s, which indicates that the communication requirement of the packet loss rate cannot be met even when the transmission power is increased to the maximum, in order to preferentially ensure the packet loss rate, if the fourth preset step size is 0.2M/s, the original negotiation rate of 3M/s can be gradually reduced according to the fourth preset step size until 2.8% of the corresponding fourth packet loss rate is less than or equal to the high-quality packet loss rate threshold of 3% under the conditions of a maximum transmission power of 7dBm and a reduced original negotiation rate of 2M/s, a third negotiation rate of 2M/s is obtained.
Step 213, determining the third negotiated rate as the first target negotiated rate for the wireless communication device.
In the embodiment of the present invention, when the maximum transmission power and the reduced original negotiation rate are the same, the corresponding fourth packet loss rate is less than or equal to the high quality packet loss rate threshold, which indicates that the packet loss rate meets the communication quality requirement in this case, and then the third negotiation rate is determined as the first target negotiation rate of the wireless communication device.
For example, if the third target transmission power is 8dBm, if the maximum transmission power of the wireless communication device is 7dBm, the third target transmission power is greater than the maximum transmission power of the wireless communication device, and in order to ensure that the wireless communication device can operate normally, the maximum transmission power of the wireless communication device of 7dBm may be determined as the first target transmission power of the wireless communication device. If the wireless communication device has a corresponding third packet loss rate of 4% under the conditions of a maximum transmission power of 7dBm and an original negotiation rate of 3M/s, and if the high-quality packet loss rate threshold is 3%, the wireless communication device has a corresponding third packet loss rate greater than the high-quality packet loss rate threshold under the conditions of a maximum transmission power of 7dBm and an original negotiation rate of 3M/s, which indicates that the communication requirement of the packet loss rate cannot be met even when the transmission power is increased to the maximum, in order to preferentially ensure the packet loss rate, if the fourth preset step size is 0.2M/s, the original negotiation rate of 3M/s can be gradually reduced according to the fourth preset step size until 2.8% of the corresponding fourth packet loss rate is less than or equal to the high-quality packet loss rate threshold of 3% under the conditions of a maximum transmission power of 7dBm and a reduced original negotiation rate of 2M/s, a third negotiation rate of 2M/s is obtained. In this case, if the packet loss rate meets the communication quality requirement, the third negotiation rate 2M/s is determined as the first target negotiation rate of the wireless communication device.
Step 214, if the third target transmission power is smaller than the maximum transmission power, determining the first target transmission power according to a fifth packet loss rate and the high quality packet loss rate threshold corresponding to the wireless communication device under the conditions of the third target transmission power and the original negotiated rate.
In the embodiment of the present invention, if the third target transmission power is smaller than the maximum transmission power, the first target transmission power is determined according to a fifth packet loss rate and a high quality packet loss rate threshold corresponding to the wireless communication device under the conditions of the third target transmission power and the original negotiated rate.
Specifically, fig. 4 shows a flowchart for determining a first target transmission power according to a third target transmission power, where the step of determining the first target transmission power according to a fifth packet loss ratio and the high quality packet loss ratio threshold, which correspond to the wireless communication device, under the third target transmission power and the original negotiated rate, may include:
substep 2141, if the fifth packet loss rate is greater than the high quality packet loss rate threshold, replacing the original transmission power with the third target transmission power, and continuing to perform the step of increasing the original transmission power according to a third preset step length to obtain a third target transmission power.
Substep 2142, if the fifth packet loss rate is less than or equal to the high quality packet loss rate threshold, determining the third target transmission power as the first target transmission power.
In the embodiment of the present invention, if the third target transmission power is less than the maximum transmission power, and if the corresponding fifth packet loss rate is greater than the high-quality packet loss rate threshold under the conditions of the third target transmission power and the original negotiated rate, which indicates that the packet loss rate still does not meet the communication quality requirement under the conditions, the third target transmission power is used to replace the original transmission power, and the step of increasing the original transmission power according to a third preset step length to obtain the third target transmission power is continuously performed.
For example, if the third target transmission power is 5dBm, if the maximum transmission power of the wireless communication device is 7dBm, the third target transmission power is less than the maximum transmission power of the wireless communication device, if the wireless communication device has a corresponding fifth packet loss rate of 4% and is greater than the high-quality packet loss rate threshold value by 3% under the condition that the third target transmission power is 5dBm and the original negotiation rate is 3M/s, replacing the original transmission power by the third target transmission power of 5dBm, continuing to perform the step of increasing the original transmission power according to a third preset step size of 0.3dBm to obtain the third target transmission power of 5.3dBm, and similarly, continuing to perform the step of judging whether the third target transmission power is greater than or equal to the maximum transmission power of the wireless communication device.
In this embodiment of the present invention, if the fifth packet loss rate is less than or equal to the high quality packet loss rate threshold, which indicates that the communication quality requirement is satisfied under this condition, the third target transmission power is determined as the first target transmission power.
For example, if the third target transmission power is 5dBm, if the maximum transmission power of the wireless communication device is 7dBm, the third target transmission power is smaller than the maximum transmission power of the wireless communication device, and if the wireless communication device meets the communication quality requirement under the condition that the third target transmission power is 5dBm and the original negotiated rate is 3M/s, the corresponding fifth packet loss rate is 2.9% and is smaller than the high-quality packet loss rate threshold value by 3%, which indicates that the third target transmission power of 5dBm is the first target transmission power.
For another example, if the third target transmission power is 5dBm, if the maximum transmission power of the wireless communication device is 7dBm, the third target transmission power is less than the maximum transmission power of the wireless communication device, if the wireless communication device has a corresponding fifth packet loss rate of 4% and greater than the high-quality packet loss rate threshold of 3% under the condition of 5dBm of the third target transmission power and 3M/s of the original negotiation rate, replacing 4.7dBm of the original transmission power with 5dBm of the third target transmission power, continuing to execute increasing the original transmission power according to a third preset step size of 0.3dBm to obtain 5.3dBm of the third target transmission power, where 5.3dBm of the third target transmission power is less than 7dBm of the maximum transmission power of the wireless communication device, and if the wireless communication device has 5.3dBm of the third target transmission power and 3M/s of the original negotiation rate, the corresponding fifth packet loss rate of 2.6%, and determining the third target transmitting power of 5.3dBm as the first target transmitting power when the packet loss rate is less than or equal to 3 percent of the high-quality packet loss rate threshold.
In this embodiment of the present invention, the step of determining the first target transmission power of the wireless communication device according to the original packet loss ratio and the preset packet loss ratio, the original negotiation rate and the preset negotiation rate, and the original transmission power may further include: if the original packet loss rate is greater than the poor packet loss rate threshold, increasing the original transmitting power according to a fifth preset step length, and decreasing the original negotiation rate according to a sixth preset step length to obtain a fourth target transmitting power and a fourth negotiation rate.
In the embodiment of the present invention, if the original packet loss rate is greater than the threshold of the poor packet loss rate, which indicates that the packet loss rate is particularly poor under such a situation and needs to be adjusted as soon as possible, the original transmission power is increased according to the fifth preset step length, and the original negotiation rate is decreased according to the sixth preset step length, so as to obtain the fourth target transmission power and the fourth negotiation rate. That is, when the packet loss rate is particularly poor, in order to adjust the packet loss rate as soon as possible, the transmission power is increased, and the negotiation rate needs to be decreased at the same time, so as to achieve the purpose of improving the packet loss rate as soon as possible.
In the embodiment of the present invention, the fifth preset step length and the sixth preset step length may be set according to actual communication needs, and may specifically be set in combination with actual communication experiences and actual communication needs.
For example, if the original packet loss rate is 40% and the threshold of the poor packet loss rate is 30%, the original packet loss rate is 40% greater than the threshold of the poor packet loss rate by 30%, which indicates that the packet loss rate is particularly poor under such a situation, in order to adjust the packet loss rate as soon as possible, the original transmission power is increased by 5dBm according to a fifth preset step size of 0.7dBm, and the original negotiation rate is decreased by 3M/s according to a sixth preset step size of 0.8M/s, so as to obtain a fourth target transmission power of 5.7dBm and a fourth negotiation rate of 2.2M/s.
In the embodiment of the present invention, the method may further include: and judging whether the fourth target transmitting power is larger than or equal to the maximum transmitting power.
In the embodiment of the present invention, in order to ensure that the wireless communication device can operate normally, it is necessary to determine whether the fourth target transmission power is greater than or equal to the maximum transmission power of the wireless communication device.
For example, with respect to the above example, it is determined whether the fourth target transmission power is 5.7dBm, which is equal to or greater than the maximum transmission power of the wireless communication device, which is 7 dBm.
In the embodiment of the present invention, the method may further include: if the fourth target transmission power is greater than or equal to the maximum transmission power, determining the maximum transmission power as the first target transmission power, and determining whether a corresponding fifth packet loss rate of the wireless communication device is less than or equal to the high-quality packet loss rate threshold under the conditions of the maximum transmission power and the fourth negotiation rate.
In the embodiment of the present invention, if the fourth target transmission power is greater than or equal to the maximum transmission power, the maximum transmission power is determined as the first target transmission power, and it is determined whether the corresponding fifth packet loss rate is less than or equal to the high quality packet loss rate threshold under the condition that the wireless communication device has the maximum transmission power and the fourth negotiation rate.
For example, if the original packet loss rate is 35% and the threshold of the poor packet loss rate is 30%, the original packet loss rate is 35% greater than the threshold of the poor packet loss rate by 30%, which indicates that the packet loss rate is particularly poor under such a situation, in order to adjust the packet loss rate as soon as possible, the original transmission power is increased by 6.5dBm according to a fifth preset step size of 0.7dBm, and the original negotiation rate is decreased by 4M/s according to a sixth preset step size of 0.8M/s, so as to obtain a fourth target transmission power of 7.2dBm and a fourth negotiation rate of 3.2M/s. If the maximum transmitting power of the wireless communication device is 7dBm, the fourth target transmitting power 7.2dBm is greater than the maximum transmitting power of the wireless communication device, 7dBm is determined as the first target transmitting power, and whether the corresponding fifth packet loss rate 2.7% is less than or equal to the high-quality packet loss rate threshold value is judged under the condition that the maximum transmitting power of the wireless communication device is 7dBm and the fourth negotiation rate is 3.2M/s.
In the embodiment of the present invention, the method may further include: if the corresponding fifth packet loss rate of the wireless communication device is greater than the high-quality packet loss rate threshold under the conditions of the maximum transmission power and the fourth negotiation rate, replacing the original negotiation rate with the fourth negotiation rate, and gradually reducing the original negotiation rate according to the sixth preset step length until the corresponding sixth packet loss rate of the wireless communication device is less than or equal to the high-quality packet loss rate threshold under the conditions of the maximum transmission power and the reduced original negotiation rate, so as to obtain a fifth negotiation rate.
In the embodiment of the present invention, if the corresponding fifth packet loss rate is greater than the high-quality packet loss rate threshold value under the conditions of the maximum transmission power and the fourth negotiation rate of the wireless communication device, which indicates that the packet loss rate still does not meet the communication quality requirement under such conditions, the fourth negotiation rate is used to replace the original negotiation rate, and the original negotiation rate is gradually reduced according to a sixth preset step length until the corresponding sixth packet loss rate is less than or equal to the high-quality packet loss rate threshold value under the conditions of the maximum transmission power and the reduced original negotiation rate of the wireless communication device, so as to obtain the fifth negotiation rate.
In the embodiment of the present invention, the sixth preset step may be set according to actual communication needs, specifically, may be set by combining actual communication experience and actual communication needs, and this is not particularly limited in the embodiment of the present invention.
For example, if the original packet loss rate is 45% and the threshold of the poor packet loss rate is 30%, the original packet loss rate is 45% greater than the threshold of the poor packet loss rate by 30%, which indicates that the packet loss rate is particularly poor under such a situation, in order to adjust the packet loss rate as soon as possible, the original transmission power is increased by 6.5dBm according to a fifth preset step size of 0.7dBm, and the original negotiation rate is decreased by 5M/s according to a sixth preset step size of 0.8M/s, so as to obtain a fourth target transmission power of 7.2dBm and a fourth negotiation rate of 4.2M/s. If the maximum transmitting power of the wireless communication device is 7dBm, the fourth target transmitting power 7.2dBm is greater than the maximum transmitting power of the wireless communication device of 7dBm, the maximum transmitting power of 7dBm is determined as the first target transmitting power, and if the wireless communication device is at the maximum transmitting power of 7dBm and the fourth negotiation rate of 4.2M/s, the corresponding fifth packet loss rate of 3.3% is greater than the threshold of the high quality packet loss rate of 3%. And if the packet loss rate still does not meet the communication quality requirement under the condition, replacing the original negotiation rate by the fourth negotiation rate of 4.2M/s for 5M/s, and gradually reducing the original negotiation rate of 4.2M/s according to a sixth preset step length of 1M/s until the corresponding sixth packet loss rate is less than or equal to a high-quality packet loss rate threshold value under the conditions that the maximum transmission power of the wireless communication equipment is 7dBm and the reduced original negotiation rate is 3.2M/s, so as to obtain a fifth negotiation rate of 3.2M/s.
In the embodiment of the present invention, the method may further include: if the corresponding fifth packet loss rate is less than or equal to the high-quality packet loss rate threshold value under the conditions of the maximum transmission power and the fourth negotiation rate of the wireless communication device, determining the maximum transmission power as the first target transmission power, and determining the fourth negotiation rate as the first target negotiation rate of the wireless communication device.
In the embodiment of the present invention, if the wireless communication device has the maximum transmission power and the fourth negotiation rate, and the corresponding fifth packet loss rate is less than or equal to the high quality packet loss rate threshold, and the packet loss rate already meets the communication quality requirement, the maximum transmission power is determined as the first target transmission power, and the fourth negotiation rate is determined as the first target negotiation rate of the wireless communication device.
In the embodiment of the present invention, the method may further include: determining the fifth negotiated rate as the first target negotiated rate for the wireless communication device.
In an embodiment of the present invention, the fifth negotiated rate is determined to be the first target negotiated rate for the wireless communication device. For example, for the above example, then the fifth negotiated rate of 3.2M/s is determined to be the first target negotiated rate for the wireless communication device.
In the embodiment of the present invention, the method may further include: if the fourth target transmission power is less than the maximum transmission power, determining the first target transmission power according to a seventh packet loss rate and the bad packet loss rate threshold corresponding to the wireless communication device under the conditions of the fourth target transmission power and the fourth negotiation rate.
In the embodiment of the present invention, if the fourth target transmission power is less than the maximum transmission power, the first target transmission power is determined according to a seventh packet loss rate and an inferior packet loss rate threshold corresponding to the fourth target transmission power and the fourth negotiation rate of the wireless communication device.
Specifically, the step of determining the first target transmission power according to a seventh packet loss ratio and the bad packet loss ratio threshold corresponding to the fourth target transmission power and the fourth negotiation rate of the wireless communication device may include: if the seventh packet loss rate is greater than the threshold of the poor packet loss rate, replacing the original transmitting power with the fourth target transmitting power, replacing the original negotiation rate with the fourth negotiation rate, continuing to execute the steps of increasing the original transmitting power according to a fifth preset step length, and reducing the original negotiation rate according to a sixth preset step length to obtain a fourth target transmitting power and a fourth negotiation rate; if the seventh packet loss rate is less than or equal to the poor packet loss rate threshold, replacing the original packet loss rate with the seventh packet loss rate, replacing the original negotiation rate with the fourth negotiation rate, and determining the first target transmission power according to the size relationship between the replaced original packet loss rate and 0, the high-quality packet loss rate threshold and the poor-quality packet loss rate threshold, and the size relationship between the replaced original negotiation rate and the preset negotiation rate.
Specifically, for example, if the original packet loss rate is 42% and the threshold of the poor packet loss rate is 30%, the original packet loss rate is 42% greater than the threshold of the poor packet loss rate by 30%, which indicates that the packet loss rate is particularly poor under such a situation, in order to adjust the packet loss rate as soon as possible, the original transmission power is increased by 4.1dBm according to a fifth preset step size of 0.7dBm, and the original negotiation rate is decreased by 5M/s according to a sixth preset step size of 0.8M/s, so as to obtain a fourth target transmission power of 4.8dBm and a fourth negotiation rate of 4.2M/s. According to the situation that the corresponding seventh packet loss rate is 33% and still greater than the poor packet loss rate threshold value under the condition that the fourth target transmission power of the wireless communication equipment is 4.8dBm and the fourth negotiation rate is 4.2M/s, in order to improve the packet loss rate as soon as possible, the fourth target transmission power of 4.8dBm can be used for replacing the original transmission power of 4.1dBm, the fourth negotiation rate of 4.2M/s can be used for replacing the original negotiation rate of 5M/s, the operation is continued according to a fifth preset step length, the original transmission power is increased, the original negotiation rate is reduced according to a sixth preset step length, the fourth target transmission power and the fourth negotiation rate are obtained, and the subsequent steps are carried out, so that the first target transmission power is determined.
In the embodiment of the present invention, for example, if the wireless communication device has a fourth target transmission power of 4.8dBm and a fourth negotiation rate of 4.2M/s, and a corresponding seventh packet loss rate of 23% is less than or equal to a poor packet loss rate threshold of 30%, the original packet loss rate of 42% may be replaced with the seventh packet loss rate of 23%, the original negotiation rate of 5M/s may be replaced with the fourth negotiation rate of 4.2M/s, and the first target transmission power may be determined according to a size relationship between the replaced original packet loss rate and 0, a size relationship between a good packet loss rate threshold of 3%, and a size relationship between the replaced original negotiation rate of 4.2M/s and a preset negotiation rate of 5M/s. That is, according to the determination condition in the embodiment of the present invention, the subsequent operation is performed to determine the first target transmission power.
For example, the first target transmission power is determined according to the size relationship between 23% and 0% of the original packet loss rate after replacement, 3% of the high-quality packet loss rate threshold and 30% of the low-quality packet loss rate threshold, and the size relationship between 4.2M/s of the original negotiation rate after replacement and 5M/s of the preset negotiation rate. If the replaced original packet loss rate is greater than the high-quality packet loss rate by 3% and less than the low-quality packet loss rate by 30%, and the replaced original negotiation rate is 4.2M/s and less than the preset negotiation rate by 5M/s, the conditions of the step 209 are met, and the steps 209 to 214 are continuously executed to determine the first target transmission power.
For another example, if the replaced original packet loss rate is 2.3%, the replaced original negotiation rate is 5.2M/s and is greater than the preset negotiation rate 5M/s, and if the high-quality packet loss rate threshold is 3% and the poor-quality packet loss rate threshold is 30%. If the replaced original packet loss rate 2.3% is greater than 0 and less than the high-quality packet loss rate 3%, and the replaced original negotiation rate 5.2M/s is greater than the preset negotiation rate 5M/s, the conditions of step 202 are met, and step 202 to step 205 are continuously executed to determine the first target transmission power.
In the embodiment of the invention, the original packet loss rate, the original negotiation rate and the original transmitting power of the wireless communication equipment are obtained; and determining a first target transmission power of the wireless communication equipment according to the original packet loss rate, a preset packet loss rate, the original negotiation rate, a preset negotiation rate and the original transmission power. The first target transmitting power of the wireless communication equipment considers not only the original negotiation rate, but also the original packet loss rate, the preset packet loss rate, the original transmitting power and other factors, dynamically compromises the power consumption and the communication performance, saves energy, and simultaneously optimizes the communication quality, so that the adjusted first target transmitting power can be more suitable for the actual communication requirement of the wireless communication equipment.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the embodiments of the application.
EXAMPLE III
Referring to fig. 5, which is a block diagram of a transmit power control apparatus 300 according to a third embodiment of the present invention, where the transmit power control apparatus 300 is applied to a wireless communication device, and the transmit power control apparatus 300 may specifically include:
an original data obtaining module 301, configured to obtain an original packet loss rate, an original negotiation rate, and an original transmission power of the wireless communication device;
a first target transmission power determining module 302, configured to determine a first target transmission power of the wireless communication device according to the original packet loss ratio and a preset packet loss ratio, the original negotiation rate and a preset negotiation rate, and the original transmission power.
Optionally, referring to fig. 6, on the basis of fig. 5, the preset packet loss ratio includes: a high-quality packet loss rate threshold; the first target transmit power first determining module 302 may include:
a second target transmission power determining unit 30201, configured to reduce the original transmission power according to a first preset step length to obtain a second target transmission power if the original packet loss rate is smaller than or equal to the high-quality packet loss rate threshold and is greater than 0, and the original negotiation rate is greater than or equal to the preset negotiation rate;
a first judging unit 30202 for judging whether the second target transmission power is equal to or less than a minimum transmission power of the wireless communication apparatus;
a first target transmission power first determining unit 30203, configured to determine, if yes, the minimum transmission power as the first target transmission power;
a first target transmission power second determining unit 3024, configured to determine, if not, the first target transmission power according to the corresponding first packet loss rate and the high quality packet loss rate threshold, and the corresponding first negotiation rate and the preset negotiation rate of the wireless communication device under the second target transmission power.
Optionally, the first target transmit power second determining unit 30204 may include:
a first calling subunit, configured to, if the first packet loss rate is less than or equal to the high quality packet loss rate threshold and the first negotiation rate is greater than or equal to the preset negotiation rate, replace the original transmission power with the second target transmission power, and continue to perform the step of reducing the original transmission power according to a first preset step length to obtain a second target transmission power;
and a second determining subunit of the first target transmission power, configured to increase the second target transmission power by the first preset step length to obtain the first target transmission power if the first packet loss rate is greater than the high quality packet loss rate threshold, or the first negotiation rate is smaller than the preset negotiation rate.
Optionally, the apparatus 300 may further include:
a second negotiation rate determining module 303, configured to gradually increase the original negotiation rate according to a second preset step length if the original packet loss rate is equal to 0 and the original negotiation rate is smaller than the preset negotiation rate, until a corresponding second packet loss rate of the wireless communication device is greater than the high-quality packet loss rate threshold under the conditions of the original transmission power and the increased original negotiation rate, so as to obtain a second negotiation rate;
a first target negotiation rate determining module 304, configured to reduce the second negotiation rate by the second preset step size, and determine the second negotiation rate after reducing the second preset step size as the first target negotiation rate of the wireless communication device;
a first target transmit power second determination module 305 for determining the original transmit power as the first target transmit power.
Optionally, the preset packet loss rate further includes: a threshold value of the poor packet loss rate; the poor packet loss rate threshold is greater than the high-quality packet loss rate threshold; the first target transmit power first determining module 302 may include:
a third target transmission power determining unit 30205, configured to increase the original transmission power according to a third preset step length to obtain a third target transmission power if the original packet loss rate is greater than the high-quality packet loss rate threshold and is less than or equal to the low-quality packet loss rate threshold;
a second determination unit 30206 configured to determine whether the third target transmission power is equal to or greater than the maximum transmission power of the wireless communication apparatus;
a first target transmission power third determining unit 30207, configured to determine, if the third target transmission power is greater than or equal to the maximum transmission power, the maximum transmission power as the first target transmission power, and determine whether a third packet loss rate corresponding to the wireless communication device is less than or equal to the high quality packet loss rate threshold under the condition of the maximum transmission power and the original negotiated rate;
a third negotiation rate determining unit 30208, configured to gradually reduce the original negotiation rate according to a fourth preset step size if the third packet loss rate is greater than the high-quality packet loss rate threshold, until the corresponding fourth packet loss rate is less than or equal to the high-quality packet loss rate threshold under the condition that the wireless communication device has the maximum transmission power and the reduced original negotiation rate, so as to obtain a third negotiation rate;
a first target negotiation rate first determining unit 30209, configured to determine the third negotiation rate as the first target negotiation rate of the wireless communication device;
a first target transmission power fourth determining unit 30210, configured to determine, if the third target transmission power is smaller than the maximum transmission power, the first target transmission power according to a fifth packet loss rate and the high quality packet loss rate threshold corresponding to the wireless communication device under the third target transmission power and the original negotiated rate.
Optionally, the first target transmit power fourth determining unit 30210 may include:
a second calling subunit, configured to, if the fifth packet loss rate is greater than the high-quality packet loss rate threshold, replace the original transmission power with the third target transmission power, and continue to perform the step of increasing the original transmission power according to a third preset step length to obtain a third target transmission power;
a fourth determining subunit of the first target transmission power, configured to determine the third target transmission power as the first target transmission power if the fifth packet loss rate is less than or equal to the high quality packet loss rate threshold.
Optionally, the first target transmit power first determining module 302 may include:
a fourth target transmission power and fourth negotiation rate determining unit, configured to increase the original transmission power according to a fifth preset step length and decrease the original negotiation rate according to a sixth preset step length to obtain a fourth target transmission power and a fourth negotiation rate if the original packet loss rate is greater than the poor packet loss rate threshold;
a third judging unit, configured to judge whether the fourth target transmission power is greater than or equal to the maximum transmission power;
a first target transmission power fifth determining unit, configured to determine, if the fourth target transmission power is greater than or equal to the maximum transmission power, the maximum transmission power as the first target transmission power, and determine whether a corresponding fifth packet loss probability of the wireless communication device is less than or equal to the high quality packet loss probability threshold under the conditions of the maximum transmission power and the fourth negotiation rate;
a fifth negotiation rate determining unit, configured to replace the original negotiation rate with the fourth negotiation rate if the fifth packet loss rate is greater than the high-quality packet loss rate threshold, and gradually reduce the original negotiation rate according to the sixth preset step length until the corresponding sixth packet loss rate is less than or equal to the high-quality packet loss rate threshold under the conditions that the wireless communication device has the maximum transmission power and the reduced original negotiation rate, so as to obtain a fifth negotiation rate;
a first target negotiation rate second determination unit configured to determine the fifth negotiation rate as the first target negotiation rate of the wireless communication device;
a sixth determining unit of the first target transmission power, configured to determine, if the fourth target transmission power is smaller than the maximum transmission power, the first target transmission power according to a seventh packet loss rate and the threshold of the bad packet loss rate corresponding to the wireless communication device at the fourth target transmission power and the fourth negotiation rate.
Optionally, the first target transmit power sixth determining unit may include:
a third calling subunit, configured to, if the seventh packet loss ratio is greater than the threshold of the poor packet loss ratio, replace the original transmission power with the fourth target transmission power, replace the original negotiation rate with the fourth negotiation rate, continue to perform the steps of increasing the original transmission power according to a fifth preset step length, and decreasing the original negotiation rate according to a sixth preset step length to obtain a fourth target transmission power and a fourth negotiation rate;
a sixth determining subunit of the first target transmission power, configured to, if the seventh packet loss ratio is less than or equal to the threshold of the poor packet loss ratio, replace the original packet loss ratio with the seventh packet loss ratio, replace the original negotiation rate with the fourth negotiation rate, and determine the first target transmission power according to a size relationship between the replaced original packet loss ratio and 0, the threshold of the high quality packet loss ratio and the threshold of the poor packet loss ratio, and a size relationship between the replaced original negotiation rate and the preset negotiation rate.
The transmission power control device provided in the embodiment of the present invention can implement each process implemented by the transmission power control device in the method embodiments of fig. 1 to fig. 4, and is not described herein again to avoid repetition.
Thus, in the embodiment of the present invention, the original packet loss rate, the original negotiation rate, and the original transmission power of the wireless communication device are obtained; and determining a first target transmission power of the wireless communication equipment according to the original packet loss rate, a preset packet loss rate, the original negotiation rate, a preset negotiation rate and the original transmission power. The first target transmitting power of the wireless communication equipment considers not only the original negotiation rate, but also the original packet loss rate, the preset packet loss rate, the original transmitting power and other factors, dynamically compromises the power consumption and the communication performance, saves energy, and simultaneously optimizes the communication quality, so that the adjusted first target transmitting power can be more suitable for the actual communication requirement of the wireless communication equipment.
Fig. 7 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, a sound output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 7 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 710 is configured to obtain an original packet loss rate, an original negotiation rate, and an original transmission power of the wireless communication device;
and determining a first target transmission power of the wireless communication equipment according to the original packet loss rate, a preset packet loss rate, the original negotiation rate, a preset negotiation rate and the original transmission power.
In the embodiment of the invention, the original packet loss rate, the original negotiation rate and the original transmitting power of the wireless communication equipment are obtained; and determining a first target transmission power of the wireless communication equipment according to the original packet loss rate, a preset packet loss rate, the original negotiation rate, a preset negotiation rate and the original transmission power. The first target transmitting power of the wireless communication equipment considers not only the original negotiation rate, but also the original packet loss rate, the preset packet loss rate, the original transmitting power and other factors, dynamically compromises the power consumption and the communication performance, saves energy, and simultaneously optimizes the communication quality, so that the adjusted first target transmitting power can be more suitable for the actual communication requirement of the wireless communication equipment.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 702, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The sound output unit 703 may convert sound data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into a sound signal and output as sound. Also, the sound output unit 703 may also provide sound output related to a specific function performed by the mobile terminal 700 (e.g., a call signal reception sound, a message reception sound, etc.). The sound output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive a sound or video signal. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sound, and may be capable of processing such sound into sound data. The processed voice data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 7061 or a backlight when the mobile terminal 700 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 708 is an interface through which an external device is connected to the mobile terminal 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, a sound input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 700 or may be used to transmit data between the mobile terminal 700 and external devices.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program 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 voice data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs or modules stored in the memory 709 and calling data stored in the memory 709, thereby integrally monitoring the mobile terminal. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 700 may also include a power supply 711 (e.g., a battery) for powering the various components, and the power supply 711 may be logically coupled to the processor 710 via a power management system that may enable managing charging, discharging, and power consumption by the power management system.
In addition, the mobile terminal 700 includes some functional modules that are not shown, and thus will not be described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program is executed by the processor 710 to implement the processes of the foregoing method for controlling and receiving transmission power, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here.
Based on the hardware structure of the mobile terminal, the following detailed description will be made of embodiments of the present invention.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing method for controlling and receiving transmission power, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A transmission power control method applied to a wireless communication device, the method comprising:
acquiring an original packet loss rate, an original negotiation rate and an original transmission power of the wireless communication equipment;
determining a first target transmission power of the wireless communication equipment according to the original packet loss rate, a preset packet loss rate, the original negotiation rate, a preset negotiation rate and the original transmission power;
the preset packet loss rate includes: a high-quality packet loss rate threshold; the step of determining a first target transmission power of the wireless communication device according to the original packet loss ratio, the preset packet loss ratio, the original negotiation rate, the preset negotiation rate, and the original transmission power includes:
if the original packet loss rate is less than or equal to the high-quality packet loss rate threshold and greater than 0, and the original negotiation rate is greater than or equal to the preset negotiation rate, reducing the original transmitting power according to a first preset step length to obtain a second target transmitting power;
judging whether the second target transmission power is less than or equal to the minimum transmission power of the wireless communication equipment or not;
if yes, determining the minimum transmitting power as the first target transmitting power;
if not, determining the first target transmission power according to the corresponding first packet loss rate and the high-quality packet loss rate threshold value, and the corresponding first negotiation rate and the preset negotiation rate under the condition that the wireless communication equipment is at the second target transmission power;
the step of determining the first target transmission power according to the corresponding first packet loss ratio and the high quality packet loss ratio threshold, and the corresponding first negotiation rate and the preset negotiation rate of the wireless communication device under the condition of the second target transmission power includes:
if the first packet loss rate is less than or equal to the high-quality packet loss rate threshold value and the first negotiation rate is greater than or equal to the preset negotiation rate, replacing the original transmitting power with the second target transmitting power, and continuing to execute the step of reducing the original transmitting power according to a first preset step length to obtain a second target transmitting power;
if the first packet loss rate is greater than the high-quality packet loss rate threshold, or the first negotiation rate is less than the preset negotiation rate, increasing the first preset step length to the second target transmission power to obtain the first target transmission power.
2. The method of claim 1, further comprising:
if the original packet loss rate is equal to 0 and the original negotiation rate is smaller than the preset negotiation rate, gradually increasing the original negotiation rate according to a second preset step length until the corresponding second packet loss rate is larger than the high-quality packet loss rate threshold value under the condition that the wireless communication equipment is at the original transmitting power and the increased original negotiation rate, and obtaining a second negotiation rate;
reducing the second negotiation rate by the second preset step length, and determining the second negotiation rate after the second preset step length is reduced as the first target negotiation rate of the wireless communication equipment;
determining the original transmit power as the first target transmit power.
3. The method according to claim 1, wherein the preset packet loss ratio further comprises: a threshold value of the poor packet loss rate; the poor packet loss rate threshold is greater than the high-quality packet loss rate threshold; the step of determining a first target transmission power of the wireless communication device according to the original packet loss ratio, the preset packet loss ratio, the original negotiation rate, the preset negotiation rate, and the original transmission power includes:
if the original packet loss rate is greater than the high-quality packet loss rate threshold and less than or equal to the poor-quality packet loss rate threshold, increasing the original transmitting power according to a third preset step length to obtain a third target transmitting power;
judging whether the third target transmission power is larger than or equal to the maximum transmission power of the wireless communication equipment or not;
if the third target transmission power is greater than or equal to the maximum transmission power, determining the maximum transmission power as the first target transmission power, and judging whether a corresponding third packet loss rate of the wireless communication device is less than or equal to the high-quality packet loss rate threshold value under the condition of the maximum transmission power and the original negotiation rate;
if the third packet loss rate is greater than the high-quality packet loss rate threshold, gradually reducing the original negotiation rate according to a fourth preset step length until the corresponding fourth packet loss rate is less than or equal to the high-quality packet loss rate threshold under the conditions of the maximum transmission power and the reduced original negotiation rate of the wireless communication equipment, and obtaining a third negotiation rate;
determining the third negotiated rate as a first target negotiated rate for the wireless communication device;
if the third target transmission power is smaller than the maximum transmission power, determining the first target transmission power according to a fifth packet loss rate and the high quality packet loss rate threshold corresponding to the wireless communication device under the conditions of the third target transmission power and the original negotiation rate.
4. The method according to claim 3, wherein the step of determining the first target transmission power according to a fifth packet loss rate and the good packet loss rate threshold corresponding to the third target transmission power and the original negotiated rate of the wireless communication device comprises:
if the fifth packet loss rate is greater than the high-quality packet loss rate threshold, replacing the original transmitting power with the third target transmitting power, and continuing to execute the step of increasing the original transmitting power according to a third preset step length to obtain a third target transmitting power;
and if the fifth packet loss rate is less than or equal to the high-quality packet loss rate threshold, determining the third target transmission power as the first target transmission power.
5. The method of claim 3, wherein the step of determining the first target transmission power of the wireless communication device according to the original packet loss ratio, the preset packet loss ratio, the original negotiation rate, the preset negotiation rate, and the original transmission power comprises:
if the original packet loss rate is greater than the poor packet loss rate threshold, increasing the original transmitting power according to a fifth preset step length, and decreasing the original negotiation rate according to a sixth preset step length to obtain a fourth target transmitting power and a fourth negotiation rate;
judging whether the fourth target transmitting power is larger than or equal to the maximum transmitting power;
if the fourth target transmission power is greater than or equal to the maximum transmission power, determining the maximum transmission power as the first target transmission power, and judging whether a corresponding fifth packet loss rate of the wireless communication device is less than or equal to the high-quality packet loss rate threshold value under the conditions of the maximum transmission power and the fourth negotiation rate;
if the fifth packet loss rate is greater than the high-quality packet loss rate threshold, replacing the original negotiation rate with the fourth negotiation rate, and gradually reducing the original negotiation rate according to the sixth preset step length until the corresponding sixth packet loss rate is less than or equal to the high-quality packet loss rate threshold under the conditions of the maximum transmission power and the reduced original negotiation rate of the wireless communication device, so as to obtain a fifth negotiation rate;
determining the fifth negotiated rate as a first target negotiated rate for the wireless communication device;
if the fourth target transmission power is less than the maximum transmission power, determining the first target transmission power according to a seventh packet loss rate and the bad packet loss rate threshold corresponding to the wireless communication device under the conditions of the fourth target transmission power and the fourth negotiation rate.
6. The method according to claim 5, wherein the step of determining the first target transmission power according to a seventh packet loss rate and the bad packet loss rate threshold corresponding to the fourth target transmission power and the fourth negotiated rate of the wireless communication device comprises:
if the seventh packet loss rate is greater than the threshold of the poor packet loss rate, replacing the original transmitting power with the fourth target transmitting power, replacing the original negotiation rate with the fourth negotiation rate, continuing to execute the steps of increasing the original transmitting power according to a fifth preset step length, and reducing the original negotiation rate according to a sixth preset step length to obtain a fourth target transmitting power and a fourth negotiation rate;
if the seventh packet loss rate is less than or equal to the poor packet loss rate threshold, replacing the original packet loss rate with the seventh packet loss rate, replacing the original negotiation rate with the fourth negotiation rate, and determining the first target transmission power according to the size relationship between the replaced original packet loss rate and 0, the high-quality packet loss rate threshold and the poor-quality packet loss rate threshold, and the size relationship between the replaced original negotiation rate and the preset negotiation rate.
7. A transmission power control apparatus for a wireless communication device, the apparatus comprising:
the original data acquisition module is used for acquiring the original packet loss rate, the original negotiation rate and the original transmission power of the wireless communication equipment;
a first target transmission power determining module, configured to determine a first target transmission power of the wireless communication device according to the original packet loss ratio, a preset packet loss ratio, the original negotiation rate, a preset negotiation rate, and the original transmission power;
the preset packet loss rate includes: a high-quality packet loss rate threshold; the first target transmit power first determination module comprises:
a second target transmission power determining unit, configured to reduce the original transmission power according to a first preset step length to obtain a second target transmission power if the original packet loss rate is less than or equal to the high-quality packet loss rate threshold and greater than 0 and the original negotiation rate is greater than or equal to the preset negotiation rate;
a first judgment unit configured to judge whether the second target transmission power is equal to or less than a minimum transmission power of the wireless communication apparatus;
a first target transmission power first determining unit, configured to determine, if yes, the minimum transmission power as the first target transmission power;
a second determining unit of the first target transmission power, configured to determine, if the first target transmission power is not the second target transmission power, the first target transmission power according to a corresponding first packet loss rate and the high quality packet loss rate threshold of the wireless communication device under the second target transmission power, and according to a corresponding first negotiation rate and the preset negotiation rate;
the second determining unit of the first target transmitting power comprises:
a first calling subunit, configured to, if the first packet loss rate is less than or equal to the high quality packet loss rate threshold and the first negotiation rate is greater than or equal to the preset negotiation rate, replace the original transmission power with the second target transmission power, and continue to perform the step of reducing the original transmission power according to a first preset step length to obtain a second target transmission power;
and a second determining subunit of the first target transmission power, configured to increase the second target transmission power by the first preset step length to obtain the first target transmission power if the first packet loss rate is greater than the high quality packet loss rate threshold, or the first negotiation rate is smaller than the preset negotiation rate.
8. The apparatus of claim 7, further comprising:
a second negotiation rate determining module, configured to gradually increase the original negotiation rate according to a second preset step length if the original packet loss rate is equal to 0 and the original negotiation rate is smaller than the preset negotiation rate, until a corresponding second packet loss rate of the wireless communication device is greater than the high-quality packet loss rate threshold under the conditions of the original transmission power and the increased original negotiation rate, so as to obtain a second negotiation rate;
a first target negotiation rate determining module, configured to reduce the second negotiation rate by the second preset step size, and determine the second negotiation rate after the second preset step size is reduced as the first target negotiation rate of the wireless communication device;
a first target transmit power second determination module to determine the original transmit power as the first target transmit power.
9. The apparatus of claim 7, wherein the preset packet loss rate further comprises: a threshold value of the poor packet loss rate; the poor packet loss rate threshold is greater than the high-quality packet loss rate threshold; the first target transmit power first determination module comprises:
a third target transmission power determining unit, configured to increase the original transmission power according to a third preset step length to obtain a third target transmission power if the original packet loss rate is greater than the high-quality packet loss rate threshold and is less than or equal to the low-quality packet loss rate threshold;
a second determining unit, configured to determine whether the third target transmission power is greater than or equal to a maximum transmission power of the wireless communication device;
a first target transmission power third determining unit, configured to determine, if the third target transmission power is greater than or equal to the maximum transmission power, the maximum transmission power as the first target transmission power, and determine whether a third packet loss rate corresponding to the wireless communication device is less than or equal to the high quality packet loss rate threshold under the condition of the maximum transmission power and the original negotiated rate;
a third negotiation rate determining unit, configured to gradually reduce the original negotiation rate according to a fourth preset step length if the third packet loss rate is greater than the high-quality packet loss rate threshold, until a corresponding fourth packet loss rate of the wireless communication device is less than or equal to the high-quality packet loss rate threshold under the conditions of the maximum transmission power and the reduced original negotiation rate, so as to obtain a third negotiation rate;
a first target negotiation rate first determination unit configured to determine the third negotiation rate as the first target negotiation rate of the wireless communication device;
a first target transmission power fourth determining unit, configured to determine, if the third target transmission power is smaller than the maximum transmission power, the first target transmission power according to a fifth packet loss rate and the high quality packet loss rate threshold corresponding to the wireless communication device under the conditions of the third target transmission power and the original negotiated rate.
10. The apparatus as claimed in claim 9, wherein the first target transmit power fourth determining unit comprises:
a second calling subunit, configured to, if the fifth packet loss rate is greater than the high-quality packet loss rate threshold, replace the original transmission power with the third target transmission power, and continue to perform the step of increasing the original transmission power according to a third preset step length to obtain a third target transmission power;
a fourth determining subunit of the first target transmission power, configured to determine the third target transmission power as the first target transmission power if the fifth packet loss rate is less than or equal to the high quality packet loss rate threshold.
11. The apparatus of claim 9, wherein the first target transmit power first determining module comprises:
a fourth target transmission power and fourth negotiation rate determining unit, configured to increase the original transmission power according to a fifth preset step length and decrease the original negotiation rate according to a sixth preset step length to obtain a fourth target transmission power and a fourth negotiation rate if the original packet loss rate is greater than the poor packet loss rate threshold;
a third judging unit, configured to judge whether the fourth target transmission power is greater than or equal to the maximum transmission power;
a first target transmission power fifth determining unit, configured to determine, if the fourth target transmission power is greater than or equal to the maximum transmission power, the maximum transmission power as the first target transmission power, and determine whether a corresponding fifth packet loss probability of the wireless communication device is less than or equal to the high quality packet loss probability threshold under the conditions of the maximum transmission power and the fourth negotiation rate;
a fifth negotiation rate determining unit, configured to replace the original negotiation rate with the fourth negotiation rate if the fifth packet loss rate is greater than the high-quality packet loss rate threshold, and gradually reduce the original negotiation rate according to the sixth preset step length until the corresponding sixth packet loss rate is less than or equal to the high-quality packet loss rate threshold under the conditions that the wireless communication device has the maximum transmission power and the reduced original negotiation rate, so as to obtain a fifth negotiation rate;
a first target negotiation rate second determination unit configured to determine the fifth negotiation rate as the first target negotiation rate of the wireless communication device;
a sixth determining unit of the first target transmission power, configured to determine, if the fourth target transmission power is smaller than the maximum transmission power, the first target transmission power according to a seventh packet loss rate and the threshold of the bad packet loss rate corresponding to the wireless communication device at the fourth target transmission power and the fourth negotiation rate.
12. The apparatus as claimed in claim 11, wherein the first target transmit power sixth determining unit comprises:
a third calling subunit, configured to, if the seventh packet loss ratio is greater than the threshold of the poor packet loss ratio, replace the original transmission power with the fourth target transmission power, replace the original negotiation rate with the fourth negotiation rate, continue to perform the steps of increasing the original transmission power according to a fifth preset step length, and decreasing the original negotiation rate according to a sixth preset step length to obtain a fourth target transmission power and a fourth negotiation rate;
a sixth determining subunit of the first target transmission power, configured to, if the seventh packet loss ratio is less than or equal to the threshold of the poor packet loss ratio, replace the original packet loss ratio with the seventh packet loss ratio, replace the original negotiation rate with the fourth negotiation rate, and determine the first target transmission power according to a size relationship between the replaced original packet loss ratio and 0, the threshold of the high quality packet loss ratio and the threshold of the poor packet loss ratio, and a size relationship between the replaced original negotiation rate and the preset negotiation rate.
CN201811131224.0A 2018-09-27 2018-09-27 Transmission power control method and device Active CN109005581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811131224.0A CN109005581B (en) 2018-09-27 2018-09-27 Transmission power control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811131224.0A CN109005581B (en) 2018-09-27 2018-09-27 Transmission power control method and device

Publications (2)

Publication Number Publication Date
CN109005581A CN109005581A (en) 2018-12-14
CN109005581B true CN109005581B (en) 2021-07-13

Family

ID=64589642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811131224.0A Active CN109005581B (en) 2018-09-27 2018-09-27 Transmission power control method and device

Country Status (1)

Country Link
CN (1) CN109005581B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343673B (en) * 2018-12-18 2023-01-06 华为技术有限公司 Method for determining transmission parameters and wireless device
CN115885551A (en) * 2020-08-21 2023-03-31 上海诺基亚贝尔股份有限公司 Method, apparatus and computer readable medium for controlling transmit power
CN114828191B (en) * 2022-04-20 2023-11-24 Oppo广东移动通信有限公司 Power adjustment method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340860A (en) * 2010-07-27 2012-02-01 杭州华三通信技术有限公司 Power control method and device for intelligent antenna system
CN105392162A (en) * 2015-10-28 2016-03-09 广东欧珀移动通信有限公司 Method and device of WiFi power dynamic adjustment and mobile terminal
CN106255183A (en) * 2016-07-29 2016-12-21 宇龙计算机通信科技(深圳)有限公司 Adjust Wi Fi and launch the method for power, device and terminal
CN106455033A (en) * 2016-09-29 2017-02-22 维沃移动通信有限公司 Data message transmission method and device
CN107659987A (en) * 2017-09-18 2018-02-02 捷开通讯(深圳)有限公司 A kind of method of adjustment, mobile terminal and the storage device of terminal transmission power

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160066267A1 (en) * 2014-09-02 2016-03-03 Apple Inc. Power adaptation during communication for improved margin
US20160309420A1 (en) * 2015-04-15 2016-10-20 Qualcomm Incorporated Adaptation of transmission power and packet size in a wireless docking environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340860A (en) * 2010-07-27 2012-02-01 杭州华三通信技术有限公司 Power control method and device for intelligent antenna system
CN105392162A (en) * 2015-10-28 2016-03-09 广东欧珀移动通信有限公司 Method and device of WiFi power dynamic adjustment and mobile terminal
CN106255183A (en) * 2016-07-29 2016-12-21 宇龙计算机通信科技(深圳)有限公司 Adjust Wi Fi and launch the method for power, device and terminal
CN106455033A (en) * 2016-09-29 2017-02-22 维沃移动通信有限公司 Data message transmission method and device
CN107659987A (en) * 2017-09-18 2018-02-02 捷开通讯(深圳)有限公司 A kind of method of adjustment, mobile terminal and the storage device of terminal transmission power

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Dynamic Rate Assignment and Power Control in Uplink UMTSW-CDMA Systems;Gang Luo 等;《IEEE》;20070115;全文 *
一种多输入多输出系统下基于最小发射功率的自适应算法;樊凌雁等;《上海交通大学学报》;20070128;全文 *

Also Published As

Publication number Publication date
CN109005581A (en) 2018-12-14

Similar Documents

Publication Publication Date Title
US11848773B2 (en) Transmit antenna switching method and terminal device
CN110890897B (en) Power supply circuit, power supply method and electronic equipment
CN110784898B (en) Network switching method, mobile terminal and computer readable storage medium
CN107889151B (en) Measurement report reporting method, mobile terminal and computer readable storage medium
CN110460352B (en) Communication control method and related equipment
CN107340833B (en) Terminal temperature control method, terminal and computer readable storage medium
CN109819450B (en) Signal receiving method, device and terminal
CN110753389A (en) Network control method and electronic equipment
CN110266323B (en) Signal control circuit, terminal equipment and signal control method
CN110399000B (en) Mobile terminal and temperature control method thereof
CN109005581B (en) Transmission power control method and device
CN109743737B (en) Method, terminal and base station for reducing coexistence interference of multiple networks
CN109727212B (en) Image processing method and mobile terminal
CN111225315B (en) Audio playing device, audio playing method and electronic equipment
CN109743141B (en) Data transmission adjusting method and terminal equipment
CN110099434B (en) Power adjustment method, terminal equipment and computer readable storage medium
CN109302207B (en) Parameter setting method and mobile terminal
CN111356219A (en) Power control method and electronic equipment
CN109151741B (en) Multimedia message receiving method and terminal
CN110557166A (en) Communication circuit adjusting method and terminal
CN110635878B (en) Command processing method and terminal equipment
CN107517487B (en) Call control method and mobile terminal
CN110198560B (en) Power configuration method and terminal
CN111417181B (en) Power adjustment method and terminal
CN110086483B (en) Communication control method and terminal

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