CN111417181B - Power adjustment method and terminal - Google Patents

Power adjustment method and terminal Download PDF

Info

Publication number
CN111417181B
CN111417181B CN202010241126.3A CN202010241126A CN111417181B CN 111417181 B CN111417181 B CN 111417181B CN 202010241126 A CN202010241126 A CN 202010241126A CN 111417181 B CN111417181 B CN 111417181B
Authority
CN
China
Prior art keywords
terminal
wifi
error rate
packet error
power
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
CN202010241126.3A
Other languages
Chinese (zh)
Other versions
CN111417181A (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 CN202010241126.3A priority Critical patent/CN111417181B/en
Publication of CN111417181A publication Critical patent/CN111417181A/en
Application granted granted Critical
Publication of CN111417181B publication Critical patent/CN111417181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0245Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal according to signal strength
    • 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
    • H04W52/245TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention provides a power adjustment method and a terminal, wherein the power adjustment method comprises the following steps: acquiring an RSSI value of BT connection between a first terminal and a second terminal; and under the condition that the RSSI value is larger than a first preset threshold value, reducing the WIFI transmitting power of the first terminal to the second terminal. According to the scheme provided by the embodiment of the invention, the power consumption is reduced by reducing the WIFI transmitting power between the two terminals, and compared with the reduction of the transmitting times in the prior art, the transmission of corresponding data can be ensured, so that the data transmission requirement is met.

Description

Power adjustment method and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a power adjustment method and a terminal.
Background
Wireless fidelity (Wireless Fidelity, WIFI) is a common wireless connection technology, and can be used for data transmission of terminals such as personal computers, handheld devices (such as PDAs and mobile phones) and the like. And a handheld device such as a mobile phone can be used as an Access Point (AP) for WIFI transmission.
Currently, in order to reduce the power consumption of WIFI transmission, the number of transmissions may be reduced. In this case, however, the corresponding data transmission will be affected, and the data transmission requirement cannot be satisfied.
Disclosure of Invention
The embodiment of the invention provides a power adjustment method and a terminal, which are used for solving the problem that the data transmission requirement cannot be met in the existing mode of reducing WIFI transmission power consumption.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a power adjustment method, including:
acquiring an RSSI value of BT connection between the first terminal and the second terminal;
and under the condition that the RSSI value is larger than a first preset threshold value, reducing the WIFI transmitting power of the first terminal to the second terminal.
In a second aspect, an embodiment of the present invention provides a terminal, including:
an acquiring module, configured to acquire an RSSI value of a BT connection between the first terminal and the second terminal;
and the processing module is used for reducing the WIFI transmitting power of the first terminal aiming at the second terminal under the condition that the RSSI value is larger than a first preset threshold value.
In a third aspect, an embodiment of the present invention provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the computer program when executed by the processor can implement the steps of the power adjustment method described above.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the power adjustment method described above.
In the embodiment of the invention, the RSSI value of the BT connection between the first terminal and the second terminal can be obtained, and the WIFI transmitting power of the first terminal for the second terminal is reduced under the condition that the RSSI value is larger than the first preset threshold value. Therefore, the power consumption is reduced by reducing the WIFI transmitting power between the two terminals, and compared with the reduction of the transmitting times in the prior art, the transmission of corresponding data can be ensured, so that the data transmission requirement is met.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic diagram of signal attenuation in WIFI transmission;
FIG. 2 is a flow chart of a power adjustment method according to an embodiment of the invention;
FIG. 3 is a flow chart of a power adjustment process according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a power adjustment scenario in scenario one of the present invention;
FIG. 5 is a schematic diagram of a power adjustment scenario in scenario two of the present invention;
FIG. 6 is a schematic diagram of a power adjustment scenario in scenario three of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 8 is a second schematic structural diagram of a terminal according to an embodiment of the invention.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
In order to solve the problem that the existing manner of reducing the power consumption of WIFI transmission cannot meet the data transmission requirement, the embodiment of the invention provides a power adjustment method, which includes: acquiring a received signal strength indication (Received Signal Strength Indication, RSSI) value of a Bluetooth (BT) connection between a first terminal and a second terminal; and under the condition that the RSSI value is larger than a first preset threshold value, reducing the WIFI transmitting power of the first terminal to the second terminal. Therefore, the power consumption is reduced by reducing the WIFI transmitting power between the two terminals, and compared with the reduction of the transmitting times in the prior art, the transmission of corresponding data can be ensured, so that the data transmission requirement is met.
Further, in the embodiment of the present invention, the reason why the RSSI value of the BT connection between two terminals is used as the reference index for reducing the WIFI transmit power, instead of using the WIFI RSSI value as the reference index for reducing the WIFI transmit power is: when the WIFI RSSI value is used as a reference index, the premise is that the transmitting power of the AP equipment is fixed at a fixed transmission rate, and the terminal accessed to the AP equipment can accurately judge that the transmission can be stabilized and maintain the highest transmission rate under the condition of reducing the transmitting power. For example, an AP device wants to reduce power consumption to save power, thus reducing transmit power from the original 15dBm to 0dBm; at this time, the WIFI RSSI value of the terminal accessing the AP device becomes low (e.g., from-50 dBm to-65 dBm), which results in the terminal failing to reduce the power. By adopting the scheme of the embodiment of the invention, the problem can be improved.
The condition of WIFI power reduction is that signals are stable, so that the WIFI transmission distance cannot be too far at the moment, and good signal quality is kept. For example, as shown in fig. 1, taking WIFI 2.4g 11n MCS7 as an example, within 20dB of attenuation, the signal (signal) quality of WIFI transmission is best (WIFI RSSI > -60dBm at this time), and the transmission rate of 11n MCS7 is highest. Therefore, the operation of reducing the WIFI transmission power can be performed within 15dB of the attenuation (the use range is about 10 m), the RSSI obtained by the terminal is within-60 dBm, and the operation of reducing the transmission power can be performed, and the highest transmission rate of 11N MC S7 can be maintained.
The working frequency of the BT is 2.4G, the BT overlaps with the working range of the WIFI 2.4G, and the BT is provided with a frequency hopping mechanism and is less susceptible to external interference than the WIFI, so that the BT has certain referential property, and the BT can be connected with the WIFI in the range of adjustable power reduction.
In addition, on many devices, BT and WIFI are on the same antenna, so WIFI has a better reference according to the RSSI of BT. BT has the advantage of saving power, and BT power is typically lower than WIFI, thus saving more power.
Next, the feasibility of the scheme is described by comparing WIFI 2.4g11n MCS7 with BT.
Specifically, the comparison of WIFI 2.4g11n MCS7 and BT may include the following:
1) The power of WIFI 2.4g11n MCS7 typically falls between 8 and 16dBm, and the receive sensitivity typically falls at-65 dBm or lower. Whereas BT power at the basic rate typically falls between 8 and 13dBm, and receive sensitivity typically falls at-88 dBm or lower, thus covering a range greater than the reduced power range of WIFI 2.4g 11n MCS7.
2) BT at enhanced data rate (enhance data rate), transmit power (Tx power) is approximately 8-13 dBm, receive sensitivity typically falls above-80 dBm, and may cover the reduced power range of WIFI 2.4g 11n MCS7.
3) BT with low power consumption (Tx power is smaller than 10 dBm), and the receiving sensitivity is generally above-90 dBm, and the reduced power range of WIFI 2.4G 11N MC S7 can be covered. And is more power efficient than BT basic data and BT enhance data rate.
4) For the BT use range of about 10m, since the stable use range of WIFI 2.4g 11n MCS7 is within 10m, BT can completely cover the range of WIFI 2.4g 11n MCS7 power reduction.
In addition, for the 11n MCS7 of WIFI 5G, the BT can also cover the WIFI 5G attenuation range because the distance attenuation is greater than 2.4G. Although WIFI 11n MCS7 is taken as an example, the power may be adjusted for various data rates (data rates) of WIFI, for example, 11n 54mpbs power is about 14dBm, and the receiving sensitivity is about-74 dBm.
In addition, because WIFI can be aimed at individual access terminals and power is reduced, on the one hand, power saving can be ensured, and on the other hand, good downward compatibility can be achieved conveniently.
Referring to fig. 2, fig. 2 is a flowchart of a power adjustment method according to an embodiment of the present invention, where the method is applied to a first terminal, as shown in fig. 2, and the method includes the following steps:
step 201: the RSSI value of the BT connection between the first terminal and the second terminal is obtained.
Alternatively, the first terminal may be an AP device, and the second terminal may be a terminal device connected to the AP device (i.e., the first terminal). Alternatively, the second terminal may be an AP device and the first terminal is a terminal device connected to the AP device (i.e., the second terminal). Therefore, the AP equipment and the terminal equipment connected with the AP equipment can reduce the transmission power of WIFI by using the RSSI value of BT connection as the basis, so as to achieve the purpose of saving electricity.
Step 202: and under the condition that the RSSI value is larger than a first preset threshold value, reducing the WIFI transmitting power of the first terminal to the second terminal.
Alternatively, the first preset threshold may be preset based on actual requirements, for example, may be preset to-60 dBm.
It is understood that when the RSSI value is greater than a first preset threshold (e.g., -60 dBm), it may indicate that the transmission quality between the first terminal and the second terminal is better. In order to reduce power consumption to save power at this time, the first terminal may reduce its WIFI transmit power for the second terminal.
Optionally, if the RSSI value is greater than a first preset threshold, the first terminal may further send indication information to the second terminal; the indication information is used for indicating the second terminal to reduce the WIFI transmitting power to the first terminal. Therefore, the WIFI transmitting power of the second terminal can be reduced under the condition that the transmission quality between the second terminal and the first terminal is good, so that the power consumption is reduced, and the effect of saving electricity is achieved.
Optionally, after the acquiring the RSSI value of the BT connection between the first terminal and the second terminal, the method further includes:
and under the condition that the RSSI value is smaller than or equal to a first preset threshold value, keeping the WIFI transmitting power of the first terminal aiming at the second terminal unchanged. In this way, the transmission of the corresponding data can be ensured under the condition that the transmission quality between the first terminal and the second terminal is not good.
According to the power adjustment method provided by the embodiment of the invention, the RSSI value of BT connection between the first terminal and the second terminal can be obtained, and the WIFI transmitting power of the first terminal for the second terminal is reduced under the condition that the RSSI value is larger than the first preset threshold value. Therefore, the power consumption is reduced by reducing the WIFI transmitting power between the two terminals, and compared with the reduction of the transmitting times in the prior art, the transmission of corresponding data can be ensured, so that the data transmission requirement is met.
Optionally, in the case that the acquired RSSI value is greater than the first preset threshold, the process of reducing the WIFI transmit power of the first terminal for the second terminal may include:
acquiring a first packet error rate and a second packet error rate, wherein the first packet error rate is the packet error rate of WIFI transmission of a first terminal, and the second packet error rate is the packet error rate of WIFI transmission of a second terminal;
and when the first packet error rate is smaller than a second preset threshold value and the second packet error rate is smaller than a third preset threshold value, reducing the WIFI transmitting power of the first terminal to the second terminal.
Therefore, the WIFI transmitting power of the first terminal to the second terminal can be reduced under the condition of further ensuring the WIFI transmitting success rate, and accordingly the transmission of corresponding data is ensured.
Optionally, the second preset threshold and the third preset threshold may be preset based on actual requirements, and may be the same or different. For example, the second preset threshold is 9% and the third preset threshold is 10%; alternatively, the second preset threshold and the third preset threshold are both 10%.
In an embodiment, the process of obtaining the first packet error rate may be: the first terminal sends a packet to the second terminal by means of WIFI, and confirms whether all packets of the second terminal can be analyzed; if there is a packet and there is no way to parse, the second terminal can request the first terminal to retransmit the packet; based on the retransmitted packet, the first terminal may calculate a packet error rate of its WIFI transmission, and may inform the second terminal of the packet error rate.
In another embodiment, the process of obtaining the second packet error rate may be: the second terminal sends the packet to the first terminal by means of WIFI, and confirms whether all the packets of the first terminal can be analyzed; if there is a packet and there is no way to parse, the first terminal can request the second terminal to retransmit the packet; based on the retransmitted packet, the second terminal may calculate a packet error rate of its WIFI transmission, and may inform the first terminal of the packet error rate.
Next, a power adjustment process according to a specific example of the present invention will be described with reference to fig. 3.
As shown in fig. 3, the corresponding power adjustment procedure may include:
step 31: the handheld device WIFI AP is turned on (hereinafter referred to as AP device) while the BT function is started.
Step 32: a terminal device (such as a handset) is connected to the AP device. At this time, the AP device may send query information to the terminal device, for querying whether the terminal device is to connect to BT, so as to turn on the BT-based WIFI AP power saving mode.
Step 33: the terminal equipment confirms whether to connect with the BT or not so as to start a WIFI AP power saving mode based on the BT.
Step 34: if the terminal device does not connect with the BT of the AP device, the AP device does not adopt a power-down mode based on the BT RSSI value (i.e., the RSSI value of the BT connection) for the terminal device, i.e., does not use the BT RSSI value to reduce the WIFI transmit power.
It can be appreciated that, for reasons that the terminal device is not connected to BT, the terminal device may have no BT function, or the terminal device may be too far away from the AP device, resulting in BT connection failure. At this time, the AP device may not reduce WIFI transmit power (using normal mode); the terminal device may use a predefined manner to reduce the WIFI transmit power (e.g., reduce the WIFI transmit power by the WIFI RSSI value) or not reduce the WIFI transmit power.
Step 35: if the terminal device turns on the BT function and connects with the BT of the AP device, the AP device determines whether the BT RSSI value with the terminal device meets a determination criterion, such as determining whether the BT RSSI value with the terminal device is greater than-60 dBm.
Step 36: if the BT RSSI value is less than or equal to-60 dBm, the AP equipment does not adopt a power-down mode based on the BT RSSI value for the terminal equipment, namely does not use the BT RSSI value to reduce the WIFI transmitting power.
At this time, the AP device may not reduce WIFI transmit power (using normal mode). The terminal equipment does not adopt a BT RSSI value-based power-down mode aiming at the AP equipment, namely does not use the BT RSSI value to reduce the WIFI transmitting power.
Step 37: if the BT RSSI value is greater than-60 dBm, the AP device determines whether the WIFI packet error rate is sufficient, for example, determines whether the packet error rate 1 of the WIFI transmission of the AP device is less than 10%, and determines whether the packet error rate 2 of the WIFI transmission of the terminal device is less than 10%.
For example, the packet error rate 1 may be obtained by: the AP equipment sends the packet to the terminal equipment by means of WIFI, and confirms whether all the packets of the terminal equipment can be analyzed; if the packet is not analyzed, the terminal equipment can request the AP equipment to retransmit the packet; based on the retransmitted packet, the AP device may calculate a packet error rate 1 of its WIFI transmission, and may inform the terminal device of the packet error rate 1.
For another example, the packet error rate 2 may be obtained by: the terminal equipment sends the packet to the AP equipment by means of WIFI, and confirms whether all the packets of the AP equipment can be analyzed; if the packet is not analyzed, the AP equipment can request the terminal equipment to retransmit the packet; based on the retransmitted packet, the terminal device may calculate a packet error rate 2 of its WIFI transmission, and may inform the AP device of the packet error rate.
Step 38: if the packet error rate 1 and the packet error rate 2 are not less than 10%, for example, the packet error rate 1 and/or the packet error rate 2 are greater than 10%, the AP device does not adopt a BT RSSI value-based power down mode for the terminal device, that is, does not use the BT RSSI value to reduce the WIFI transmit power.
At this time, the AP device may not reduce WIFI transmit power (using normal mode). The terminal device does not adopt a BT RSSI value-based power-down mode for the AP device, but may use a predefined mode to reduce the WIFI transmit power (for example, reduce the WIFI transmit power by the WIFI RSSI value) or not reduce the WIFI transmit power.
Step 39: if the packet error rate 1 and the packet error rate 2 are less than 10%, the AP equipment starts a corresponding power-down mode, namely, a BT RSSI value is used for reducing WIFI transmitting power by adopting a BT RSSI value-based power-down mode aiming at the terminal equipment.
Optionally, in the process of step 39, the AP device may transmit indication information to the terminal device by WIFI to indicate that the power-down mode based on the BT RSSI value may be adopted. And after the terminal device receives the indication information, one of the following operations may be performed:
if the terminal equipment supports a power-down mode based on the BT RSSI value, the BT RSSI value is used for reducing the WIFI transmitting power aiming at the AP equipment;
if the terminal device does not support the power-down mode based on the BT RSSI value, a predefined mode is used to decrease the WIFI transmit power (e.g., decrease the WIFI transmit power by the WIFI RSSI value) or not decrease the WIFI transmit power.
It should be noted that, whether or not the BT RSSI value-based power down mode may be adopted, the AP device may continuously monitor the BT RSSI value and confirm whether or not the power down power standard is satisfied, so as to determine whether or not to continuously decrease the WIFI transmission power. The BT RSSI value-based power down mode defined herein may be applied to high data rate (high data rate) situations of various WIFI protocols such as 2.4G 11b/G/N or 5G A/N/AC.
The power adjustment in the specific example will be described below with reference to scenario one to scenario three.
Scene one
As shown in fig. 4, the handheld device is used as a WIFI AP, the power is adjustable, and the operating frequency is 2.4G. At this time, if both the WIFI AP and the terminal device 1 (which may be abbreviated as user 1) have BT functions, after the terminal device 1 is connected to the WIFI AP, BT connection may be started simultaneously by using software. At this time, the WIFI AP and the terminal device 1 may determine whether the power can be reduced by receiving the BT RSSI values from each other.
For example, if the BT RSSI value of the terminal device 1 received by the WIFI AP is greater than-60 dBm and both the WIFI AP and the WIFI PER (Packet Error Rate ) of the terminal device 1 meet the conditions, a WIFI power adjustment mechanism is started, if the WIFI AP uses the BT RSSI value for the terminal device 1 to reduce the WIFI transmit power, and meanwhile, the terminal device 1 uses the BT RSSI value for the WIFI AP to reduce the WIFI transmit power; for example, from both sides of the original 15dBm, the voltage is reduced to 0dBm.
Meanwhile, the WIFI AP is connected with another device (such as terminal device 2, which may be abbreviated as user 2) by WIFI, and initiates BT connection. At this time, if the BT RSSI value of the terminal device 2 received by the WIFI AP is less than-60 dBm, the power-down mode based on the BT RSSI value is not adopted. For example, the WIFI AP maintains the WIFI power of the terminal device 2 at 15dBm, and the terminal device 2 may use a predefined manner to reduce the WIFI transmit power or not reduce the WIFI transmit power (e.g. the WIFI transmit power is maintained at 15 dBm).
Therefore, when the handheld device is used as the WIFI AP, the WIFI transmitting power can be adjusted according to different users (namely different terminal equipment) and different distances between the handheld device and the users, so that power is properly saved, and stable transmission rate is ensured.
Scene two
As shown in fig. 5, the handheld device is used as a WIFI AP, the power is adjustable, and the operating frequency is 2.4G. At this time, if both the WIFI AP and the terminal device 3 (which may be abbreviated as user 3) have BT functions, after the terminal device 3 is connected to the WIFI AP, the BT connection may be started simultaneously by using software. However, if the terminal device 3 does not have the function of reducing the WIFI power, if the BT RSSI value of the terminal device 3 received by the WIFI AP is greater than-60 dBm and both the WIFI AP and the WIFI PER of the terminal device 3 meet the conditions, only the WIFI AP may reduce the WIFI transmit power by using the BT RSSI value for the terminal device 3, for example, from 15dBm to 0dBm. While the terminal device 3 maintains the WIFI transmit power (e.g. 15 dBm) unchanged.
Meanwhile, the WIFI AP is connected with another device (such as terminal device 4, which may be abbreviated as user 4) through WIFI. However, if the terminal device 4 does not have BT function or is far away from the WIFI AP, and cannot be BT connected, the BT RSSI value cannot be used to reduce the WIFI transmit power. For example, for the terminal device 4, the WIFI AP may maintain the WIFI transmit power (e.g. 15 dBm) unchanged; the terminal device 5 may use a predefined manner to reduce or not reduce the WIFI transmission power (e.g. maintain the WIFI transmission power constant at 15 dBm), so as to maintain good downward compatibility.
Scene three
As shown in fig. 6, the handheld device is used as a WIFI AP, the power is adjustable, and the operating frequency is 2.4G. At this time, if the WIFI AP does not support the BT RSSI value-based power-down mode for the connected terminal device 5 (may be abbreviated as user 5), or the BT connection cannot be performed because the terminal device 5 does not turn on the BT function, even if the BT RSSI value of the terminal device 5 received by the WIFI AP is greater than-60 dBm, the WIFI AP does not use the BT RSSI value-based power-down mode for the terminal device 5, and for example, maintains the WIFI transmit power (e.g., 15 dBm) unchanged. The terminal device 5 may use a predefined manner to reduce the WIFI transmit power (e.g. from 15dBm to 0 dBm) or not, so as to maintain good downward compatibility.
From the above, it can be seen that: when the BT RSSI value is utilized to judge whether the WIFI transmitting power of the WIFI AP and the WIFI transmitting power of the terminal equipment can be reduced, the terminal equipment can also achieve the power saving mode at the same time except for the WIFI AP which can reduce the WIFI transmitting power under the condition of maintaining stable high transmission rate, and the mode of reducing the power based on the BT RSSI value can be downward compatible without influencing the use experience.
In addition, for applications such as existing mutual transmission software, when two user terminals are transmitting data, transmission is mainly performed based on a WIFI connection or a BT connection. If the WIFI (for example, 11ac MCS9, with a bandwidth of 80 MHz) is the main transmission path, the BT RSSI value is used as a basis to adjust the WIFI transmitting power at this time, so that the power of the mutual transmission can be reduced, and the power saving effect is achieved when the transmission rate is maintained at the highest state.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention, where the terminal is a first terminal, and as shown in fig. 7, the terminal 70 includes:
an acquiring module 71, configured to acquire an RSSI value of the BT connection between the terminal 70 and the second terminal;
and a processing module 72, configured to reduce the WIFI transmission power of the terminal 70 for the second terminal if the RSSI value is greater than a first preset threshold.
Optionally, the processing module 72 includes:
an obtaining unit, configured to obtain a first packet error rate and a second packet error rate, where the first packet error rate is a packet error rate of WIFI transmission of the terminal 70, and the second packet error rate is a packet error rate of WIFI transmission of the second terminal;
and a processing unit, configured to reduce WIFI transmission power of the terminal 70 for the second terminal when the first packet error rate is less than a second preset threshold and the second packet error rate is less than a third preset threshold.
Optionally, the terminal may further include:
a sending module, configured to send indication information to the second terminal when the RSSI value is greater than the first preset threshold; the indication information is used to instruct the second terminal to reduce the WIFI transmission power to the terminal 70.
Optionally, the processing module 72 is further configured to:
and if the RSSI value is less than or equal to the first preset threshold, keeping the WIFI transmission power of the terminal 70 for the second terminal unchanged.
Optionally, the terminal 70 is an AP device, and the second terminal is a terminal device connected to the AP device; alternatively, the second terminal is an AP device, and the terminal 70 is a terminal device connected to the AP device.
The terminal 70 according to the embodiment of the present invention may implement each process implemented in the embodiment of the method shown in fig. 2 and achieve the same beneficial effects, and in order to avoid repetition, a detailed description is omitted here.
The embodiment of the invention also provides a terminal, which comprises a processor and a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program can realize each process of the embodiment of the method shown in fig. 2 when being executed by the processor, and can achieve the same technical effect, and the repetition is avoided.
Specifically, fig. 8 is a schematic hardware structure of a terminal for implementing various embodiments of the present invention, and the terminal 800 includes, but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810, and power supply 811. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 8 is not limiting of the terminal and that the terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In the embodiment of the invention, the terminal comprises, 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.
Optionally, the terminal 800 is the first terminal (such as an AP device, or a terminal device connected to an AP device) described above. The processor 810 is configured to: and acquiring an RSSI value of BT connection between the terminal 800 and a second terminal, and reducing the WIFI transmitting power of the terminal 800 for the second terminal under the condition that the RSSI value is larger than a first preset threshold value.
The terminal 800 according to the embodiment of the present invention may implement each process implemented in the embodiment of the method shown in fig. 2 and achieve the same beneficial effects, and in order to avoid repetition, a detailed description is omitted here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, specifically, receiving downlink data from a base station, and then processing the received downlink data by the processor 810; and, the uplink data is transmitted to the base station. In general, the radio frequency unit 801 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 801 may also communicate with networks and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 802, such as helping the user to send and receive e-mail, browse web pages, access streaming media, etc.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the terminal 800. The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, the graphics processor 8041 processing image data of still pictures or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 801 in case of a telephone call mode.
The terminal 800 also includes at least one sensor 805 such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 8061 and/or the backlight when the terminal 800 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when the accelerometer sensor is stationary, and can be used for recognizing the terminal gesture (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 805 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 806 is used to display information input by a user or information provided to the user. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 is operable to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the terminal. In particular, the user input unit 807 includes a touch panel 8071 and other input devices 8072. Touch panel 8071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 8071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 8071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device, converts it into touch point coordinates, sends the touch point coordinates to the processor 810, and receives and executes commands sent from the processor 810. In addition, the touch panel 8071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, physical keyboards, function keys (e.g., volume control keys, switch keys, etc.), trackballs, mice, joysticks, and so forth, which are not described in detail herein.
Further, the touch panel 8071 may be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 810 to determine a type of touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the terminal, which is not limited herein.
The interface unit 808 is an interface to which an external device is connected to the terminal 800. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 800 or may be used to transmit data between the terminal 800 and an external device.
The memory 809 can be used to store software programs as well as various data. The memory 809 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 809 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 810 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby performing overall monitoring of the terminal. The processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 810.
Terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, power supply 811 may be logically coupled to processor 810 through a power management system that provides for managing charge, discharge, and power consumption.
In addition, the terminal 800 may further include some functional modules, which are not shown, and will not be described herein.
The embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor can implement each process of the method embodiment shown in fig. 2 and achieve the same technical effects, and is not repeated herein. The computer readable storage medium is, for example, read-Only Memory (ROM), random access Memory (Random Access Memory RAM), magnetic disk or 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (6)

1. A power adjustment method applied to a first terminal, comprising:
acquiring a Received Signal Strength Indication (RSSI) value of Bluetooth (BT) connection between the first terminal and the second terminal;
when the RSSI value is larger than a first preset threshold value set based on actual requirements, reducing wireless fidelity (WIFI) transmitting power of the first terminal to the second terminal;
the step of reducing the WIFI transmitting power of the first terminal for the second terminal includes:
acquiring a first packet error rate and a second packet error rate, wherein the first packet error rate is the packet error rate of WIFI transmission of the first terminal, and the second packet error rate is the packet error rate of WIFI transmission of the second terminal;
when the first packet error rate is smaller than a second preset threshold value and the second packet error rate is smaller than a third preset threshold value, reducing WIFI transmitting power of the first terminal to the second terminal;
wherein the method further comprises:
and under the condition that the RSSI value is smaller than or equal to the first preset threshold value, keeping the WIFI transmitting power of the first terminal aiming at the second terminal unchanged.
2. The method of claim 1, wherein if the RSSI value is greater than the first preset threshold, the method further comprises:
sending indication information to the second terminal;
the indication information is used for indicating the second terminal to reduce the WIFI transmitting power to the first terminal.
3. The method according to claim 1 or 2, wherein the first terminal is an access point, AP, device and the second terminal is a terminal device connected to the AP device;
or alternatively, the process may be performed,
the second terminal is an AP device, and the first terminal is a terminal device connected with the AP device.
4. A terminal, wherein the terminal is a first terminal, comprising:
an acquiring module, configured to acquire an RSSI value of a BT connection between the first terminal and the second terminal;
the processing module is used for reducing the WIFI transmitting power of the first terminal aiming at the second terminal under the condition that the RSSI value is larger than a first preset threshold value set based on actual requirements;
wherein the processing module comprises:
the device comprises an acquisition unit, a first packet error rate acquisition unit and a second packet error rate acquisition unit, wherein the first packet error rate is the packet error rate of WIFI transmission of the first terminal, and the second packet error rate is the packet error rate of WIFI transmission of the second terminal;
the processing unit is used for reducing the WIFI transmitting power of the first terminal for the second terminal under the condition that the first packet error rate is smaller than a second preset threshold value and the second packet error rate is smaller than a third preset threshold value;
wherein the processing module is further configured to: and under the condition that the RSSI value is smaller than or equal to the first preset threshold value, keeping the WIFI transmitting power of the first terminal aiming at the second terminal unchanged.
5. The terminal of claim 4, wherein the terminal further comprises:
a sending module, configured to send indication information to the second terminal when the RSSI value is greater than the first preset threshold;
the indication information is used for indicating the second terminal to reduce the WIFI transmitting power to the first terminal.
6. The terminal according to claim 4 or 5, wherein the first terminal is an AP device and the second terminal is a terminal device connected to the AP device;
or alternatively, the process may be performed,
the second terminal is an AP device, and the first terminal is a terminal device connected with the AP device.
CN202010241126.3A 2020-03-31 2020-03-31 Power adjustment method and terminal Active CN111417181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010241126.3A CN111417181B (en) 2020-03-31 2020-03-31 Power adjustment method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010241126.3A CN111417181B (en) 2020-03-31 2020-03-31 Power adjustment method and terminal

Publications (2)

Publication Number Publication Date
CN111417181A CN111417181A (en) 2020-07-14
CN111417181B true CN111417181B (en) 2023-11-03

Family

ID=71493455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010241126.3A Active CN111417181B (en) 2020-03-31 2020-03-31 Power adjustment method and terminal

Country Status (1)

Country Link
CN (1) CN111417181B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437418B (en) * 2020-07-17 2024-01-30 珠海市杰理科技股份有限公司 TWS equipment communication data configuration method, TWS equipment communication data configuration device, TWS equipment communication data configuration chip and TWS equipment communication data configuration medium
CN114980288A (en) * 2022-05-25 2022-08-30 Oppo广东移动通信有限公司 Power consumption control method and device for data transmission, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1895713A1 (en) * 2006-08-31 2008-03-05 LG Electronics Inc. Apparatus and method of optimizing the power saving in a handset with WLAN and Bluetooth
CN106034352A (en) * 2015-03-16 2016-10-19 联想(北京)有限公司 Control method and electronic device
CN107635187A (en) * 2016-07-15 2018-01-26 大唐终端技术有限公司 A kind of WIFI connection methods and terminal
CN108513347A (en) * 2018-03-30 2018-09-07 维沃移动通信有限公司 A kind of data transmission method and electronic equipment
CN110786054A (en) * 2018-12-28 2020-02-11 深圳市大疆创新科技有限公司 Power control method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1895713A1 (en) * 2006-08-31 2008-03-05 LG Electronics Inc. Apparatus and method of optimizing the power saving in a handset with WLAN and Bluetooth
CN106034352A (en) * 2015-03-16 2016-10-19 联想(北京)有限公司 Control method and electronic device
CN107635187A (en) * 2016-07-15 2018-01-26 大唐终端技术有限公司 A kind of WIFI connection methods and terminal
CN108513347A (en) * 2018-03-30 2018-09-07 维沃移动通信有限公司 A kind of data transmission method and electronic equipment
CN110786054A (en) * 2018-12-28 2020-02-11 深圳市大疆创新科技有限公司 Power control method and device and electronic equipment

Also Published As

Publication number Publication date
CN111417181A (en) 2020-07-14

Similar Documents

Publication Publication Date Title
CN109768810B (en) Signal processing circuit, terminal equipment and signal processing method
CN109819450B (en) Signal receiving method, device and terminal
CN110460352B (en) Communication control method and related equipment
CN110266323B (en) Signal control circuit, terminal equipment and signal control method
CN109788125B (en) Interference processing method and device and mobile terminal
CN109743737B (en) Method, terminal and base station for reducing coexistence interference of multiple networks
CN110336623B (en) Power detection method and device and mobile terminal
CN111417185A (en) Transmission power control method and related equipment
CN111479309A (en) Service processing method, user equipment and computer readable storage medium
CN111417181B (en) Power adjustment method and terminal
CN110099434B (en) Power adjustment method, terminal equipment and computer readable storage medium
CN109743141B (en) Data transmission adjusting method and terminal equipment
CN109302207B (en) Parameter setting method and mobile terminal
CN109005581B (en) Transmission power control method and device
CN109041190B (en) Power control method and terminal
CN110557166A (en) Communication circuit adjusting method and terminal
CN110636530B (en) Method for processing adjacent channel interference and terminal equipment
CN110086483B (en) Communication control method and terminal
CN110673761B (en) Touch key detection method and terminal equipment thereof
CN112437476A (en) Network switching control method and device, intelligent terminal and readable storage medium
CN109450508B (en) Antenna determination method and device and mobile terminal
CN109286414B (en) Antenna determination method and terminal
CN107770811B (en) Data processing method, mobile terminal and computer readable storage medium
CN113411446B (en) Sound channel switching method and electronic equipment
CN111356096B (en) Information sending method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant