WO2023160144A1 - 发射功率调整方法、电子设备及存储介质 - Google Patents

发射功率调整方法、电子设备及存储介质 Download PDF

Info

Publication number
WO2023160144A1
WO2023160144A1 PCT/CN2022/139107 CN2022139107W WO2023160144A1 WO 2023160144 A1 WO2023160144 A1 WO 2023160144A1 CN 2022139107 W CN2022139107 W CN 2022139107W WO 2023160144 A1 WO2023160144 A1 WO 2023160144A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission power
electronic device
signaling
power
playback device
Prior art date
Application number
PCT/CN2022/139107
Other languages
English (en)
French (fr)
Inventor
王福凯
董吉阳
黄鹏飞
王帅起
Original Assignee
荣耀终端有限公司
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 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2023160144A1 publication Critical patent/WO2023160144A1/zh

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/30TPC using constraints in the total amount of available transmission power
    • H04W52/36TPC using constraints in the total amount of available transmission power with a discrete range or set of values, e.g. step size, ramping or offsets
    • H04W52/367Power values between minimum and maximum limits, e.g. dynamic range
    • 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/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/241TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account channel quality metrics, e.g. SIR, SNR, CIR, Eb/lo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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

Definitions

  • the present application relates to the technical field of intelligent terminals, and in particular to a transmission power adjustment method, electronic equipment, and a storage medium.
  • the earphone When the connection between the earphone and the electronic device has great interference (such as when the earphone is far away from the electronic device), the earphone will request the electronic device to increase the transmission power, thereby ensuring the communication quality between the earphone and the electronic device.
  • some earphones will not consider the actual communication situation, and will always request the electronic device to increase the transmission power until the electronic device increases the transmission power to the highest transmission power. Transmit power request.
  • the electronic device will also increase the transmission power to the highest transmission power directly based on the request of the headset.
  • some application scenarios of earphones do not require such a high transmission power, so it is easy to cause waste of power consumption.
  • the headset requests to increase the transmission power, it is determined whether to increase the transmission power by judging the application scene, which can prevent the electronic device from making a request based on the Bluetooth playback device. Unreasonable transmit power increase request, increase transmit power, resulting in waste of power consumption.
  • the embodiment of the present application provides a transmission power adjustment method, which is applied to an electronic device, and the electronic device establishes a connection with a Bluetooth playback device, and the method includes: receiving a request for increasing transmission power sent by the Bluetooth playback device; When the communication quality between the electronic device and the Bluetooth playback device meets a preset communication threshold, the transmission power is not increased.
  • the method further includes: if the communication quality between the electronic device and the Bluetooth playback device does not meet a preset communication threshold, increasing transmission power.
  • the transmission power can be increased when the communication quality is poor, so as to ensure the communication quality between the electronic device and the Bluetooth playback device.
  • the method further includes: if the communication quality between the electronic device and the Bluetooth playback device meets a preset communication threshold, sending an increase signaling or a highest power signaling to the Bluetooth playback device , the increase signaling is used to inform the Bluetooth playback device that the transmission power has been increased when the transmission power is not increased; the highest power signaling is used to inform the Bluetooth playback device that the maximum transmission power has been reached when the maximum transmission power is not reached power.
  • sending the boost signaling to the Bluetooth playback device includes: calculating and receiving the boost signal sent by the Bluetooth playback device Determine the number of times that the transmission power is not increased after the transmission power request; if the number of times meets the preset quantity condition, send an increase signaling or a maximum power signaling to the Bluetooth playback device.
  • the method further includes: if the number of times the boost signaling is sent to the Bluetooth playback device is greater than or equal to the preset number of times, send the The Bluetooth playback device sends the highest power signaling.
  • the method further includes: if it is determined that the communication quality with the Bluetooth playback device satisfies a preset communication threshold, sending a rejection signaling to the Bluetooth playback device, and the rejection signaling is used to Notify the bluetooth playback device that the transmission power has not been increased.
  • the unreasonable transmission power increase request of the Bluetooth playback device can be rejected.
  • the method further includes: if the rejection signaling is sent continuously The number of times is greater than or equal to the preset number of rejections, and an increase signaling or a highest power signaling is sent to the Bluetooth playback device.
  • the method includes: if sending The number of times the signaling is increased is greater than the preset number of times, and the highest power signaling is sent to the Bluetooth playback device.
  • the method after sending the highest power signaling to the Bluetooth playback device, includes: determining whether the communication quality with the Bluetooth playback device meets a preset communication threshold; The communication quality of the playback device does not meet the preset communication threshold, increase the transmit power.
  • the determining whether the communication quality with the Bluetooth playback device meets a preset communication threshold includes: determining whether the current transmission power of the electronic device is less than the transmission power in the highest power signaling ; If the current transmit power of the electronic device is less than the transmit power in the highest power signaling, according to a preset time interval, determine whether the communication quality with the Bluetooth playback device meets a preset communication threshold.
  • the method further includes: sending a power increase signaling to the Bluetooth playback device.
  • sending a power increase signaling to the Bluetooth playback device Through the above technical solution, the current transmission power of the bluetooth playback device can be notified.
  • the embodiment of the present application provides an electronic device, the electronic device includes a memory and a processor; the memory is used to store program instructions; the processor is used to read the program instructions stored in the memory, so as to implement The above-mentioned transmission power adjustment method.
  • an embodiment of the present application provides a computer-readable storage medium, where computer-readable instructions are stored in the computer-readable storage medium, and when the computer-readable instructions are executed by a processor, the above method for adjusting transmission power is implemented.
  • FIG. 1 is a schematic diagram of interaction between an electronic device and an earphone according to an embodiment of the present application.
  • Fig. 2 is a schematic diagram of signaling interaction between an earphone and an electronic device.
  • FIG. 3 is a flow chart of a method for adjusting transmission power provided by an embodiment of the present application.
  • Fig. 4 is a schematic diagram of signaling interaction between the earphone and the electronic device.
  • FIG. 5 is a flow chart of a transmission power adjustment method provided by an embodiment of the present application.
  • FIG. 6 is a flow chart of a transmission power adjustment method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an electronic device sending a rejection signal to an earphone according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features.
  • words such as “exemplary”, “or”, and “for example” are used as examples, illustrations or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as “exemplary”, “or”, “for example” and the like are intended to present related concepts in a concrete manner.
  • At least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, a, b and c seven situations. It should be understood that the order of steps shown in the flowcharts herein may be changed, and some may be omitted.
  • the earphone when there is a large interference between the earphone and the electronic device (for example, when the earphone is far away from the electronic device), the earphone will request the electronic device to increase the transmission power. However, after some earphones are connected to the electronic device, Regardless of the actual situation, it will always request the electronic device to increase the transmit power until the electronic device increases the transmit power to the maximum transmit power of the electronic device, for example, the maximum transmit power is the power corresponding to Powerlever 10. During the above-mentioned period, the earphone will always send a request to increase the transmission power to the electronic device, and will not stop sending the request to increase the transmission power until the transmission power of the electronic device is increased to the power corresponding to Powerlever 10.
  • the electronic device will increase the transmission power to the highest level based on the request of the earphone, such as increasing the transmission power to the power corresponding to Powerlever 10.
  • the application scenario of the headset does not require such a high transmission power, and the above process and result will inevitably cause waste of power consumption.
  • the embodiment of the present application provides a transmission power adjustment method to avoid continuously increasing the transmission power when the earphone is in a music scene The problem of abnormally increased power consumption is caused. Specifically, the embodiment of the present application can determine whether to increase the transmission power by judging the application scenario when the earphone requests to increase the transmission power, so as to prevent the electronic device from increasing the transmission power due to the unreasonable transmission power increase request put forward by the earphone. Wasted power.
  • the electronic equipment in the present application can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, and Electronic devices such as cellular phones, personal digital assistants (PDAs), artificial intelligence (AI) devices, wearable devices, automotive devices, smart home devices, and/or smart city devices.
  • PDAs personal digital assistants
  • AI artificial intelligence
  • wearable devices wearable devices
  • automotive devices smart home devices
  • smart city devices smart city devices.
  • the embodiment of the present application does not specifically limit the specific form of the device.
  • the earphones in this application can also be other bluetooth playback devices, such as bluetooth speakers.
  • Fig. 2 is a schematic diagram of signaling interaction between an earphone and an electronic device.
  • the earphone can request the electronic device to increase the transmission power by sending LMP-INCR-POWER-REQ signaling to the electronic device.
  • the electronic device will increase the transmission power based on the LMP-INCR-POWER-REQ signaling sent by the earphone.
  • the electronic device increases the transmission power according to the transmission power increase value corresponding to the LMP-INCR-POWER-REQ signaling.
  • LMP-INCR-POWER-REQ signaling may correspond to the same or different transmission power
  • the boost value, the transmit power boost value corresponding to the LMP-INCR-POWER-REQ signaling can be set according to actual conditions, and is not limited here.
  • the electronic device receives the LMP-INCR-POWER-REQ signaling sent by the earphone and determines that the current transmission power is the highest transmission power (for example, the highest transmission power is the power corresponding to Powerlever 10), the electronic device sends the LMP-MAX- The POWER signaling informs the headset that the current transmission power of the electronic device is the highest transmission power, and the power request cannot be increased further.
  • the earphone receives the LMP-MAX-POWER signaling, it will stop sending a power increase request to the electronic device.
  • the electronic device increases the transmission power according to the transmission power increase value corresponding to the LMP-INCR-POWER-REQ signaling. It can be understood that the transmit power increase value corresponding to the LMP-INCR-POWER-REQ signaling can be set according to the actual situation, and two different LMP-INCR-POWER-REQ signaling may correspond to different transmit power increase values. This does not make any restrictions.
  • an embodiment of the present application provides a transmission power adjustment method shown in FIG. 3 .
  • the method is applied to electronic equipment.
  • the electronic device may include a Bluetooth firmware (Blutooth Controller, BTC), and the method may be applied to the BTC of the electronic device.
  • BTC Battery Control Controller
  • the electronic device establishes a Bluetooth connection with the headset, as shown in Figure 3, the method may include:
  • the LMP-INCR-POWER-REQ signaling is used to request the electronic device to increase the transmit power. It can be understood that the LMP-INCR-POWER-REQ signaling here is only an example, and the earphone can also request the electronic device to increase the transmission power by sending other instructions.
  • the electronic device After the electronic device receives the LMP-INCR-POWER-REQ signaling sent by the earphone, the electronic device determines the communication quality with the earphone, and determines whether the communication quality with the earphone meets the preset communication threshold.
  • the communication quality includes a retransmission rate
  • the retransmission rate is used to determine the efficiency of data transmission from the electronic device to the earphone, and may be the probability that the electronic device retransmits a signal to the earphone.
  • the determining whether the communication quality with the earphone meets the preset communication threshold includes: determining whether the retransmission rate with the earphone is less than or equal to the retransmission rate threshold; if it is determined that the retransmission rate with the earphone is less than or equal to the If the retransmission rate threshold is determined, it is determined that the communication quality with the earphone meets the preset communication threshold; if it is determined that the retransmission rate with the earphone is greater than the retransmission rate threshold, it is determined that the communication quality with the earphone does not meet the preset Communication Threshold.
  • the retransmission rate threshold can be set according to the actual situation, for example, set to 50%. If the electronic device determines that the retransmission rate with the earphone is less than or equal to 50%, the electronic device determines that the communication quality with the earphone meets the preset communication threshold. If the electronic device determines that the retransmission rate with the earphone is greater than 50%, the electronic device determines that the communication quality with the earphone does not meet the preset communication threshold.
  • the communication quality includes a received signal strength indicator (Received Signal Strength Indicator, RSSI) of the earphone, and determining whether the communication quality with the earphone satisfies a preset communication threshold includes: determining and Whether the RSSI of the headset is less than or equal to the strength threshold; if the electronic device determines that the RSSI of the headset is less than or equal to the strength threshold, the electronic device determines that the communication quality with the headset does not meet the preset communication threshold. If the electronic device determines that the RSSI of the earphone is greater than the intensity threshold, the electronic device determines that the communication quality with the earphone meets the preset communication threshold.
  • RSSI Received Signal Strength Indicator
  • the communication quality includes a bit error rate of the earphone, and the bit error rate may be a bit error probability of a signal transmitted by the earphone to the electronic device.
  • the determining whether the quality of communication with the earphone meets the preset communication threshold includes: determining whether the bit error rate with the earphone is less than or equal to the bit error rate threshold; if the electronic device determines that the bit error rate of the earphone is less than or equal to the bit error rate threshold , the electronic device determines that the communication quality with the headset meets a preset communication threshold. If the electronic device determines that the bit error rate of the earphone is greater than the bit error rate threshold, the electronic device determines that the communication quality with the earphone does not meet the preset communication threshold.
  • the current transmission power of the electronic device is illustrated by taking the power corresponding to Power Level 7 as an example. If it is determined that the communication quality with the headset meets the preset communication threshold, the transmission power is not increased, that is, the current transmission power is maintained. The power corresponding to Power Level 7; if it is determined that the communication quality with the headset does not meet the preset communication threshold, increase the current transmit power from the power corresponding to Power Level 7 to the power corresponding to Power Level 8. In some embodiments of the present application, at 302 in FIG.
  • the method further includes: after receiving the LMP-INCR-POWER-REQ signaling sent by the earphone, the method does not The number of times to increase the transmission power; if the number of times meets the preset number condition, send LMP-MAX-POWER signaling to the earphone.
  • the LMP-MAX-POWER signaling is used to indicate that the current transmission power of the electronic device is the highest transmission power and cannot continue to increase the transmission power. It can inform the earphone that the electronic device has reached the maximum transmission power and cannot increase the transmission power any more. By sending the LMP-MAX-POWER signaling to the earphone, the earphone can be prevented from continuing to send a transmission power increase request to the electronic device. It can be understood that the LMP-MAX-POWER signaling here is only an example, and the electronic device can also send other instructions to the earphone to set its current transmission power to the highest transmission power, and the transmission power cannot be continuously increased. The earphone is notified, so as to prevent the earphone from continuing to send a transmission power increase request to the electronic device.
  • the number of times the electronic device does not increase the transmission power after receiving the LMP-INCR-POWER-REQ signaling sent by the earphone can be counted.
  • the number of times the transmit power is not increased after receiving the LMP-INCR-POWER-REQ signaling sent by the earphone within a preset period of time may be counted.
  • the preset time period can be set according to actual conditions.
  • the preset time period may include a time period from the last time the electronic device increased the transmission power to the current time.
  • the preset time period may also include the time period from the time when the electronic device establishes the Bluetooth connection with the headset to the current time.
  • the preset quantity condition may include a preset quantity threshold, and whether the above-mentioned judgment times meet the preset quantity condition includes: whether the judgment frequency is greater than or equal to the preset quantity threshold, and the preset quantity threshold can be set according to the actual situation, without any limitation here.
  • the preset number threshold can be set to 1, 2 or 3, etc.
  • the method when the preset quantity threshold is set to 1, includes: determining that the communication quality with the headset meets the preset communication threshold after receiving the LMP-INCR-POWER-REQ signaling sent by the headset , sending LMP-MAX-POWER signaling to the earphone. That is to say, when it is determined that the communication quality with the earphone meets the preset communication threshold after receiving the LMP-INCR-POWER-REQ signaling sent by the earphone for the first time, the LMP-MAX-POWER signaling is directly sent to the earphone to prevent The headset continues to send transmit power increase requests to the electronic device.
  • the earphone When it is found for the first time that the earphone will request the electronic device to increase the transmission power when the communication quality is normal, it can directly send the LMP-MAX-POWER signaling to the earphone, which can prevent the subsequent earphones from continuing to transmit power when the communication quality is normal.
  • the act of requesting an increase in transmit power from an electronic device occurs.
  • the earphone is in the communication quality meeting
  • the communication threshold is preset, there are many requests to the electronic device for increasing the transmit power.
  • the earphone requests the electronic device to increase the transmit power when the communication quality meets the preset communication threshold, the number of times the earphone sends LMP-MAX-POWER signaling can avoid It happens that the electronic device is always requested to increase the transmit power.
  • the earphone when the earphone requests to increase the transmission power, it is determined whether to increase the transmission power according to the communication quality with the earphone, and the transmission power of the electronic device is increased when it is determined that the retransmission rate with the earphone satisfies the preset increase condition, which can prevent the electronic device from The waste of power consumption caused by increasing the transmitting power according to the unreasonable transmitting power increasing request put forward by the earphone.
  • the transmission power of the electronic device may not actually reach The maximum transmit power of an electronic device.
  • the method further includes: determining whether the communication quality with the earphone meets a preset communication threshold according to a preset time interval. If it is determined that the communication quality with the headset does not meet the preset communication threshold, actively increase the transmission power. If it is determined that the communication quality with the headset meets the preset communication threshold, no processing is performed, and the process ends. It can be understood that, the foregoing method may be executed when the current transmission power of the electronic device is not the highest transmission power but notifies the earphone that the current transmission power is the highest transmission power. If the current transmission power of the electronic device is the highest transmission power, the above method will not be executed.
  • the current transmission power of the electronic device is not the highest transmission power but notifies the headset that the current transmission power is the highest transmission power.
  • the current transmission power of the electronic device cannot meet the normal communication with the headset, due to The device will not actively increase the transmission power to cause low transmission efficiency between the electronic device and the earphone, thereby improving the accuracy of the transmission power adjustment.
  • Fig. 4 is a schematic diagram of signaling interaction between the earphone and the electronic device.
  • the earphone can request the electronic device to increase the transmission power by sending LL-POWER-CONTROL-REQ signaling to the electronic device.
  • the electronic device will increase the transmit power based on the LL-POWER-CONTROL-REQ signaling sent by the earphone, and send the LL-POWER-CONTROL-RSP command to the earphone after the transmit power is increased.
  • the LL-POWER-CONTROL-REQ signaling may include three control parameters (Control Data, CtrData): physical channel (physical, PHY), difference (Delta), and transmit power (TxPower).
  • PHY is used to represent a signal used for signaling transmission.
  • Delta is used to indicate a request to change the transmission power value, a positive number indicates a request to increase the transmission power value, and a negative number indicates a request to reduce the transmission power value.
  • Delta 1 indicates a request to increase the transmit power by 1db
  • Delta-1 indicates a request to reduce the transmit power by 1db.
  • TxPower indicates the current transmit power of the local end. If an earphone sends LL-POWER-CONTROL-REQ signaling, TxPower in the command indicates the current transmit power of the earphone.
  • the LL-POWER-CONTROL-RSP signaling can include six control parameters (Control Data, CtrData): minimum value (Min); maximum value (Max); reserved bit (Reserved for future use, RFU ); difference (Delta), transmit power (TxPower), acceptable maximum power reduction value (Acceptable Power Reduction, APR).
  • CtrData Control Data
  • Min is used to indicate whether it is the minimum transmission power at present
  • Min 0 indicates that it is not the minimum transmission power at present
  • Min 1 indicates that it is the minimum transmission power at present
  • Max is used to indicate whether the current transmission power is the maximum
  • Max 0 indicates that the current transmission power is not the maximum
  • Max 1 indicates that the current transmission power is the maximum.
  • Delta is used to represent the changed transmission power value, a positive number represents the current increased transmission power value, and a negative number represents the current reduced transmission power value. For example, Delta 1 means that the transmit power is increased by 1db this time, and Delta-1 means that the transmit power is reduced by 1db this time.
  • TxPower indicates the current transmit power of the local end. If an electronic device sends the LL-POWER-CONTROL-RSP signaling, TxPower in the command indicates the current transmit power of the electronic device.
  • LL-POWER-CONTROL-REQ (Delta 1) is used to indicate that the earphone requests the electronic device to increase the transmission power by 1db.
  • LL-POWER-CONTROL-RSP (Max 0, Delta 1, Txpower 8) indicates that the electronic device has increased the transmit power (Delta1) by 1db according to the LL-POWER-CONTROL-REQ (Delta 1) signaling.
  • the power is the power corresponding to power lever8 (Txpower 8), and the current electron transmission power is not the maximum transmission power (Max 0).
  • the electronic device If the electronic device increases the transmission power and determines that the current transmission power is the highest transmission power (for example, the highest transmission power is the power corresponding to Powerlever 10), the electronic device sends LL-POWER-CONTROL-RSP (Max 1, Delta 1, Txpower 10) signaling, informing the headset that the transmission power has been increased by 1 db (Delta 1) according to the LL-POWER-CONTROL-REQ signaling, and the current transmission power of the electronic device is the power corresponding to Powerlever 10, which is the highest transmission power (Max 1), cannot continue to increase the power request.
  • the earphone receives the LL-POWER-CONTROL-RSP signaling whose Max is 1, it will stop sending a power increase request to the electronic device.
  • an embodiment of the present application provides a transmit power adjustment method shown in FIG. 5 .
  • the method is applied to electronic equipment.
  • the electronic device may include a Bluetooth firmware (Blutooth Controller, BTC), and the method may be applied to the BTC of the electronic device.
  • BTC Battery Control Controller
  • the electronic device establishes a Bluetooth connection with the headset, as shown in Figure 5, the method may include:
  • the LL-POWER-CONTROL-REQ (Delta 1) signaling is used to request the electronic device to increase the transmit power by 1db.
  • the electronic device After receiving the LL-POWER-CONTROL-REQ signaling sent by the earphone, the electronic device determines the communication quality with the earphone, and determines whether the communication quality with the earphone meets the preset communication threshold.
  • the electronic device After the electronic device increases the transmission power based on the LL-POWER-CONTROL-REQ signaling, it can send LL-POWER-CONTROL-RSP signaling to the headset, such as LL-POWER-CONTROL-RSP (Max 0, Delta 1, Txpower 8).
  • LL-POWER-CONTROL-RSP Max 0, Delta 1, Txpower 8
  • the current transmission power of the electronic device is illustrated by taking the power corresponding to Power Level 7 as an example. If it is determined that the communication quality with the headset meets the preset communication threshold, the transmission power is not increased, that is, the current transmission power is maintained. Power The power corresponding to Power Level 7; if it is determined that the communication quality with the headset does not meet the preset communication threshold, increase the current transmit power from the power corresponding to Power Level 7 to the power corresponding to Power Level 8.
  • the earphone when the earphone requests to increase the transmission power, it is determined whether to increase the transmission power according to the communication quality with the earphone, and when it is determined that the retransmission rate with the earphone satisfies the preset increase condition, the transmission power of the electronic device is increased, which can avoid electronic The waste of power consumption caused by the device increasing the transmission power according to the unreasonable transmission power increase request put forward by the earphone.
  • the electronic device after determining whether the communication quality with the headset meets the preset communication threshold, if the electronic device determines that the communication quality with the headset meets the preset communication threshold, go to step 601, and send a rejection signaling to the earphone.
  • the rejection signaling indicates that the transmission power is refused to be increased according to the request for increasing the transmission power, and may be used to inform the Bluetooth playback device that the transmission power has not been increased.
  • the transmission power of the electronic device before receiving the LL-POWER-CONTROL-REQ signaling is the power corresponding to Powerlever 7. After the electronic device determines that the communication quality with the earphone meets the preset communication threshold, it sends LL to the earphone.
  • the electronic device may count whether the The number of times to increase the transmission power; if the number of times satisfies a preset number condition, send an increase signaling to the earphone.
  • the number of rejection signaling sent by the electronic device to the earphone may be determined as the number of times the transmit power is not increased after receiving the LL-POWER-CONTROL-REQ signaling sent by the earphone.
  • Boost signaling is used to tell the headset that the transmit power has been boosted. It can be understood that the increase signaling sent when the transmit power is not increased may be in the same format as the increase signaling sent when the transmit power is increased, or may be different. When the earphone receives the increase signaling sent when the transmit power is increased and the increase signal sent when the transmit power is not increased, it can be determined that the electronic device has increased the transmit power.
  • the transmission power of an electronic device is the power corresponding to Powerlever 7
  • the electronic device receives the LL-POWER-CONTROL-REQ (Delta 1) signaling
  • the transmission power is not increased, and LL-POWER is directly sent to the earphone -CONTROL-RSP (Max 0, Delta 1, Txpower 8), informing the headset that the transmission power has been increased by 1db according to the LL-POWER-CONTROL-REQ (Delta 1) signaling, and the current transmission power of the electronic device is corresponding to power lever8 power, and the current transmission power of the electronic device is not the maximum transmission power. In fact, the transmission power of the electronic device has not been increased, and the current transmission power of the electronic device is still the power corresponding to power lever7.
  • the electronic device does not increase the transmission power and sends an increase signaling to the earphone, if it receives the LL-POWER-CONTROL-REQ signaling again and determines that the communication quality with the earphone meets the preset communication threshold, it still does not Increase the transmit power and continue to send an increase signal to the headset. It can be understood that, when the electronic device does not increase the transmission power, the increase signaling sent by the electronic device at different times may be different.
  • the first signal sent by the electronic device A to the earphone A may be LL-POWER-CONTROL-RSP (Max 0, Delta 1, Txpower 8), and the electronic device A
  • the boost signaling sent to the earphone A for the second time may be LL-POWER-CONTROL-RSP (Max 0, Delta 1, Txpower 9), where the first sending time is earlier than the second sending time. That is to say, in the case that the electronic device does not increase the transmit power, the multiple increase signaling sent by the electronic device to the same earphone may be different. For example, the Txpower value in the boost signaling sent later may be greater than the Txpower value in the boost signaling sent earlier.
  • sending different increase signaling to the earphone can avoid the situation that the earphone reports an error by always sending the same increase signal to the earphone.
  • the highest power signaling is sent to the earphone.
  • the earphone is prevented from requesting the electronic device to increase the transmission power all the time.
  • the highest power signaling is used to tell the headset: the current transmission power of the electronic device is the highest transmission power, and the transmission power cannot be increased further.
  • sending the highest power signaling to the earphone such as sending LL-POWER-CONTROL-REQ signaling
  • the earphone can be prevented from continuing to send a transmission power increase request to the electronic device.
  • the highest power signaling can be LL-POWER-CONTROL-RSP (Max 1, Delta A, Txpower B), Max 1 indicates that the current transmission power of the electronic device is the highest transmission power, A is a number greater than 0, and A is the notification
  • the transmission power value increased by the earphone the actual electronic device may not increase the transmission power
  • the headset can determine the transmission power of the electronic device according to the Txpower B in the command, so the value of B should be greater than the transmission power of the electronic device that the headset knew last time.
  • the highest power signaling sent by the electronic device to the headset this time can be LL-POWER- CONTROL-RSP(Max 1, Delta A, Txpower B), where the value of B should be greater than 7, and the value of B can be equal to the value of A plus 7.
  • the electronic device can count the number of times that the transmission power is not increased after receiving the LL-POWER-CONTROL-REQ signaling sent by the earphone; The headset sends the highest power command directly.
  • the electronic device when the electronic device receives the LL-POWER-CONTROL-REQ signaling sent by the earphone and determines that the communication quality with the earphone satisfies the preset communication threshold, it may directly send the LL-POWER-CONTROL-REQ signaling to the earphone. Highest Power Command.
  • the electronic device may count the number of times the rejection signaling is sent; if the number of times of sending meets the preset Quantity condition, sending an increase signaling or a highest power signaling to the earphone. It can be understood that, in this embodiment, if the number of times of sending satisfies the preset quantity condition, after sending the boost signaling to the earphone, count the number of times of sending the boost signaling; if the number of times of sending the boost signaling to the earphone is greater than the preset Set the number of times to send the highest power signaling to the headset.
  • the communication quality with the earphone after the highest power signaling is sent to the earphone, it may be determined at a preset time interval whether the communication quality with the earphone meets a preset communication threshold. If it is determined that the communication quality with the headset does not meet the preset communication threshold, actively increase the transmission power. If it is determined that the communication quality with the headset meets the preset communication threshold, no processing is performed, and the process ends.
  • the preset time interval may be set according to actual conditions, and is not limited herein. Through this method, it can be avoided that when the current transmission power of the electronic device is not the highest transmission power but notifies the headset that the current transmission power is the highest transmission power. The device will not actively increase the transmission power to cause low transmission efficiency between the electronic device and the earphone, which improves the accuracy of the transmission power adjustment.
  • the electronic device may or may not notify the earphone after actively increasing the transmitting power.
  • the electronic device may notify the earphone that the transmit power has been increased through the LL-POWER-CONTROL-IND signaling, such as power boost signaling.
  • the LL-POWER-CONTROL-IND signaling can include six control parameters (ControlData, CtrData): minimum value (Min); maximum value (Max); reserved bit (Reserved for future use, RFU) ; Difference (Delta), transmit power (TxPower), physical channel (physical, PHY).
  • ControlData, CtrData minimum value
  • Max maximum value
  • RFU reserved bit
  • Difference Difference
  • TxPower transmit power
  • physical channel physical channel
  • the electronic device After the electronic device actively increases the transmission power (the transmission power before the increase is power level 7, and the transmission power after the active increase is power level 8), it sends LL-POWER-CONTROL-IND (Max 0, Delta 1, Txpower 8) signaling to the earphone , to inform the headset that the transmission power has been increased by 1db.
  • the current transmission power of the electronic device is the power corresponding to power level 8, and the current transmission power of the electronic device is not the maximum transmission power. It can be understood that when the headset receives the LL-POWER-CONTROL-IND signaling and determines that the electronic device is not currently at the highest transmit power, it will continue to request the electronic device to increase the transmit power.
  • the method shown in Figure 5 and the The method in the embodiment related to FIG. 5 processes the current situation, such as rejecting an unreasonable transmission power increase request of the earphone or sending an increase signaling or the highest power signaling to the earphone when the earphone makes an unreasonable transmission power request.
  • FIG. 8 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 120, a power management module 141, a battery 142, and an antenna 1.
  • Antenna 2 mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc.
  • the processor 110 may include a processor, and the processor is used to control the smart service module to detect the desktop card on the display interface, and determine whether to send the card based on the card detection result of the smart service module.
  • the intelligent service module sends a display instruction for displaying the guide information.
  • the display instruction is used to instruct the intelligent service module to generate and display guide information.
  • the guide information is used to instruct the user to add a desktop card (travel service card) on the display interface of the electronic device.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I1C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I1C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the I1C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
  • SDA serial data line
  • SCL serial clock line
  • the I2S interface can be used for audio communication.
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is generally used to connect the processor 110 and the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193 , the display screen 194 , the wireless communication module 160 , the audio module 170 , the sensor module 180 and so on.
  • the GPIO interface can also be configured as an I1C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100 , and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices 100, such as AR devices.
  • the interface connection relationship between the modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, convert it into electromagnetic wave and radiate it through the antenna 1 .
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN), bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation on it, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor.
  • the GPU is a microprocessor that serves abnormal reminders, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • AMOLED active matrix organic light emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed
  • quantum dot light emitting diodes quantum dot light emitting diodes (quantum dot light emitting diodes, QLED),
  • the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the internal memory 121 may include one or more random access memories (random access memory, RAM) and one or more non-volatile memories (non-volatile memory, NVM).
  • the internal storage 121 may also be referred to as a memory.
  • the processor (such as CPU) may store in the memory the display time of each display of the guide information and the cumulative number of times of display of the guide information.
  • the external memory interface 120 can be used to connect an external non-volatile memory, so as to expand the storage capacity of the electronic device 100 .
  • the external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and video are stored in an external non-volatile memory.
  • the electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • the audio module 170 may also be used to encode and decode audio signals.
  • Speaker 170A also referred to as a "horn" is used to convert audio electrical signals into sound signals.
  • Electronic device 100 can listen to music through speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the receiver 170B can be placed close to the human ear to receive the voice.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 may be provided with two microphones 170C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.
  • the earphone interface 170D is used for connecting wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface. .
  • the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the electronic device 100 determines the intensity of pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • the gyro sensor 180B can be used to determine the motion posture of the electronic device 100 . In some embodiments, the positioning of the gyro sensor 180B can be used to update the desktop cards displayed on the display interface.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
  • the electronic device 100 when the electronic device 100 is a clamshell machine, the electronic device 100 can detect opening and closing of the clamshell according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of the electronic device 100, and can be applied to applications such as horizontal and vertical screen switching, pedometers, etc.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 may measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F for distance measurement to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100 .
  • the ambient light sensor 180L is used for sensing ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to application locks, take pictures with fingerprints, answer incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect temperature.
  • the touch sensor 180K is also called “touch device”.
  • the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .
  • the bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined into a bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
  • the motor 191 can generate a vibrating reminder.
  • the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations applied to different applications may correspond to different vibration feedback effects.
  • the motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc.
  • the same SIM card interface 195 can insert multi-frame cards at the same time. The types of the multi-frame cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calling and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • This embodiment also provides a computer storage medium, the computer storage medium stores computer instructions, and when the computer instructions are run on the electronic device 100, the electronic device 100 executes the above-mentioned related method steps to realize the transmit power in the above-mentioned embodiment. Adjustment method.
  • This embodiment also provides a computer program product, which, when running on a computer, causes the computer to execute the above related steps, so as to implement the transmission power adjustment method in the above embodiment.
  • an embodiment of the present application also provides a device, which may specifically be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer-executable instructions, and when the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the transmission power adjustment method in the above method embodiments.
  • the electronic device, computer storage medium, computer program product or chip provided in this embodiment is all used to execute the corresponding method provided above, therefore, the beneficial effects it can achieve can refer to the corresponding method provided above The beneficial effects in the method will not be repeated here.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined Or it can be integrated into another device, or some features can be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the unit described as a separate component may or may not be physically separated, and a component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods in various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Transceivers (AREA)

Abstract

本申请提供了一种发射功率调整方法、电子设备及存储介质,涉及智能终端领域。所述方法包括:接收所述蓝牙播放设备发送的提高发射功率请求;当所述电子设备与所述蓝牙播放设备的通信质量满足预设通信阈值时,不提高发射功率。本申请实施例可以在蓝牙播放设备请求提高发射功率时,通过对应用场景进行判断从而确定是否提高发射功率,可以避免电子设备依据蓝牙播放设备提出的不合理发射功率提高请求,提高发射功率,导致功耗浪费的情况发生。

Description

发射功率调整方法、电子设备及存储介质
相关申请的交叉引用
本申请要求在2022-02-24提交中国专利局、申请号为202210174090.0、申请名称为“发射功率调整方法、电子设备及存储介质”的中国专利的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及智能终端技术领域,尤其涉及一种发射功率调整方法、电子设备及存储介质。
背景技术
当耳机与电子设备间的连接出现干扰较大的情况时(如耳机距离电子设备较远时),耳机会请求电子设备提高发射功率,从而保证耳机与电子设备间的通信质量。但是有些耳机为了保证收音的效率,提高用户的听觉体验,不会考虑实际的通信情况,会一直请求电子设备提高发射功率,直至电子设备将发射功率升至最高发射功率时,才会停止发送提高发射功率请求。电子设备也会直接基于耳机的请求,将发射功率升至最高发射功率。然而,耳机的部分应用场景并不需要那么高的发射功率,所以容易导致功耗的浪费。
发明内容
鉴于以上内容,有必要提供一种发射功率调整方法、电子设备及存储介质,在耳机请求提高发射功率时,通过对应用场景进行判断从而确定是否提高发射功率,可以避免电子设备依据蓝牙播放设备提出的不合理发射功率提高请求,提高发射功率,导致功耗浪费的情况发生。
第一方面,本申请实施例提供一种发射功率调整方法,应用于电子设备,所述电子设备与蓝牙播放设备建立连接,所述方法包括:接收所述蓝牙播放设备发送的提高发射功率请求;当所述电子设备与所述蓝牙播放设备的通信质量满足预设通信阈值时,不提高发射功率。通过上述技术方案,可以避免电子设备依据蓝牙播放设备提出的不合理发射功率提高请求,提高发射功率,导致功耗浪费的情况发生。
在一种可能的实现方式中,所述方法还包括:若当所述电子设备与所述蓝牙播放设备的通信质量不满足预设通信阈值,提高发射功率。通过上述技术方案,可以在通信质量不好的情况下提高发射功率,保证电子设备与蓝牙播放设备之间通信的质量。
在一种可能的实现方式中,所述方法还包括:若所述电子设备与所述蓝牙播放设备的通信质量满足预设通信阈值,向所述蓝牙播放设备发送提高信令或最高功率信令,所述提高信令用于在没有提高发射功率时告知所述蓝牙播放设备已提高发射功率;所述最高功率信令用于在没有达到最高发射功率时告知所述蓝牙播放设备已达到最高发射功率。通过上述技术方案,可以拒绝蓝牙播放设备不合理的发射功率提高请求,通过发送最高功率信令可以避免后 续蓝牙播放设备在通信质量正常的情况下继续向电子设备请求提高发射功率的行为出现。
在一种可能的实现方式中,所述若确定与所述蓝牙播放设备的通信质量满足预设通信阈值,向所述蓝牙播放设备发送提高信令包括:计算接收所述蓝牙播放设备发送的提高发射功率请求后确定不提高发射功率的次数;若所述次数满足预设数量条件,向所述蓝牙播放设备发送提高信令或最高功率信令。通过上述技术方案,可以拒绝蓝牙播放设备不合理的发射功率提高请求,通过发送最高功率信令可以避免后续蓝牙播放设备在通信质量正常的情况下继续向电子设备请求提高发射功率的行为出现。
在一种可能的实现方式中,所述向所述蓝牙播放设备发送提高信令后,所述方法还包括:若向所述蓝牙播放设备发送提高信令的次数大于或等于预设次数,向所述蓝牙播放设备发送最高功率信令。通过上述技术方案,可以避免后续蓝牙播放设备在通信质量正常的情况下继续向电子设备请求提高发射功率的行为出现。
在一种可能的实现方式中,所述方法还包括:若确定与所述蓝牙播放设备的通信质量满足预设通信阈值,向所述蓝牙播放设备发送拒绝信令,所述拒绝信令用于告知所述蓝牙播放设备未提高发射功率。通过上述技术方案,可以拒绝蓝牙播放设备不合理的发射功率提高请求。
在一种可能的实现方式中,若确定与所述蓝牙播放设备的通信质量满足预设通信阈值,向所述蓝牙播放设备发送拒绝信令之后,所述方法还包括:若连续发送拒绝信令的次数大于或等于预设拒绝次数,向所述蓝牙播放设备发送提高信令或最高功率信令。通过上述技术方案,可以拒绝蓝牙播放设备不合理的发射功率提高请求,通过发送最高功率信令可以避免后续蓝牙播放设备在通信质量正常的情况下继续向电子设备请求提高发射功率的行为出现。
在一种可能的实现方式中,若连续发送拒绝信令的次数大于或等于预设拒绝次数,向所述蓝牙播放设备发送提高信令之后,所述方法包括:若向所述蓝牙播放设备发送提高信令的次数大于预设次数,向所述蓝牙播放设备发送最高功率信令。通过上述技术方案,可以避免后续蓝牙播放设备在通信质量正常的情况下继续向电子设备请求提高发射功率的行为出现。
在一种可能的实现方式中,向所述蓝牙播放设备发送最高功率信令之后,所述方法包括:确定与所述蓝牙播放设备的通信质量是否满足预设通信阈值;若确定与所述蓝牙播放设备的通信质量不满足预设通信阈值,提高发射功率。通过上述技术方案,可以避免电子设备告知耳机当前发射功率为最高发射功率后,当电子设备的当前发射功率不能满足与耳机的正常通信时,由于电子设备不会主动提高发射功率而导致电子设备与耳机之间的传输效率低的情况发生,提高了发射功率调节的准确率。
在一种可能的实现方式中,所述确定与所述蓝牙播放设备的通信质量是否满足预设通信阈值包括:确定所述电子设备的当前发射功率是否小于所述最高功率信令中的发射功率;若所述电子设备的当前发射功率小于所述最高功率信令中的发射功率,按照预设的时间间隔,确定与所述蓝牙播放设备的通信质量是否满足预设通信阈值。通过上述技术方案,在电子设备的当前发射功率可调的情况下,实现对与所述蓝牙播放设备的通信质量进行检测,可以避免在电子设备的当前发射功率不可调的情况,对与所述蓝牙播放设备的通信质量进行检测导致的浪费。
在一种可能的实现方式中,在所述提高发射功率之后,所述方法还包括:向所述蓝牙播放设备发送功率提升信令。通过上述技术方案,可以通知蓝牙播放设备当前的发射功率。
第二方面,本申请实施例提供一种电子设备,该电子设备包括存储器和处理器;该存储 器,用于存储程序指令;该处理器,用于读取存储器中存储的程序指令,以实现如上述的发射功率调整方法。
第三方面,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机可读指令,该计算机可读指令被处理器执行时实现如上述的发射功率调整方法。
另外,第二方面和第三方面所带来的技术效果可参见上述方法部分各设计的方法相关的描述,此处不再赘述。
附图说明
图1为本申请实施例提供的一种电子设备与耳机的交互示意图。
图2为耳机与电子设备之间进行信令交互的一种示意图。
图3为本申请实施例提供的一种发射功率调整方法的流程图。
图4为耳机与电子设备之间进行信令交互的一种示意图。
图5为本申请实施例提供的一种发射功率调整方法的流程图。
图6为本申请实施例提供的一种发射功率调整方法的流程图。
图7为本申请实施例提供的一种电子设备向耳机发送拒绝信令的示意图。
图8为本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,“示例性”、“或者”、“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性”、“或者”、“例如”等词旨在以具体方式呈现相关概念。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请中的技术领域的技术人员通常理解的含义相同。本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。应理解,本申请中除非另有说明,“/”表示或的意思。例如,A/B可以表示A或B。本申请中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系。例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B三种情况。“至少一个”是指一个或者多个。“多个”是指两个或多于两个。例如,a、b或c中的至少一个,可以表示:a,b,c,a和b,a和c,b和c,a、b和c七种情况。应当理解的是,本文的流程图中所示步骤的顺序可以改变,某些也可以省略。
如图1所示,耳机在与电子设备间的连接出现干扰较大的情况时(如耳机距离电子设备较远时),耳机会请求电子设备提高发射功率,但是有些耳机在连接电子设备后,不会考虑实际的情况,会一直向电子设备请求提高发射功率,直至电子设备将发射功率升至电子设备的最高发射功率,如最高发射功率为Powerlever 10对应的功率。上述期间,耳机会一直向电子设备发送提高发射功率请求,直到电子设备的发射功率提高至Powerlever 10对应的功率,才会停止发送提高发射功率请求。电子设备会基于耳机的请求,将发射功率升至最高,如将发射功率提高至Powerlever 10对应的功率。然而,有时候耳机的应用场景并不需要那么高的发射功率,上述过程和结果必然会造成功耗的浪费。
为了解决上述过程中电子设备根据耳机提高发射功率请求一直提高发射功率,从而造成功耗的浪费行为,本申请实施例提供一种发射功率调整方法,以避免在耳机处于音乐场景时持续提高发射功率而造成的功耗异常提高的问题。具体地,本申请实施例可以在耳机请求提高发射功率时,通过对应用场景进行判断从而确定是否提高发射功率,可以避免电子设备依据耳机提出的不合理发射功率提高请求提高发射功率而提高导致的功耗浪费。
可以理解的是,本申请中的电子设备可以是手机、平板电脑、桌面型计算机、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、人工智能(artificial intelligence,AI)设备、可穿戴式设备、车载设备、智能家居设备和/或智慧城市设备等电子设备。本申请实施例对该设备的具体形态不作特殊限制。本申请中的耳机也可以是其他的蓝牙播放设备,如蓝牙音箱等。
下面结合附图,对本申请提供的发射功率调整方法进行详细介绍。
图2为耳机与电子设备之间进行信令交互的一种示意图。如图2所示,耳机可以通过向电子设备发送LMP-INCR-POWER-REQ信令以请求电子设备提高发射功率。电子设备会基于耳机发送的LMP-INCR-POWER-REQ信令提高发射功率。具体地,电子设备根据LMP-INCR-POWER-REQ信令对应的发射功率提高值对发射功率进行提高,可以理解的是,不同LMP-INCR-POWER-REQ信令可以对应相同或不同的发射功率提高值,LMP-INCR-POWER-REQ信令对应的发射功率提高值可以根据实际情况进行设置,在此不做任何限定。
若电子设备接收到耳机发送的LMP-INCR-POWER-REQ信令且确定当前的发射功率为最高发射功率(如最高发射功率为Powerlever 10对应的功率)时,电子设备向耳机发送LMP-MAX-POWER信令,告知耳机当前电子设备的发射功率为最高发射功率,不能继续提高功率请求。耳机接收到LMP-MAX-POWER信令时,会停止向电子设备发送提高功率请求。
电子设备根据LMP-INCR-POWER-REQ信令对应的发射功率提高值对发射功率进行提高。可以理解的是,LMP-INCR-POWER-REQ信令对应的发射功率提高值可以根据实际情况进行设置,不同的两个LMP-INCR-POWER-REQ信令可能对应不同的发射功率提高值,在此不做任何限定。
在图2所示的信令交互过程中,耳机会一直向电子设备发送LMP-INCR-POWER-REQ信令,以使电子设备的发射功率提高至最高发射功率。为解决上述问题,本申请实施例提供了图3所示的一种发射功率调整方法。该方法应用于电子设备。所述电子设备可以包括蓝牙固件(Blutooth Controller,BTC),该方法可以应用在电子设备的BTC上。电子设备与耳机建立蓝牙连接,如图3所示,该方法可以包括:
301,接收耳机发送的LMP-INCR-POWER-REQ信令。
LMP-INCR-POWER-REQ信令用于请求电子设备提高发射功率。可以理解的是,该处的LMP-INCR-POWER-REQ信令仅做举例说明,耳机还可以通过发送其他的指令,请求电子设备提高发射功率。
302,确定与耳机的通信质量是否满足预设通信阈值。
电子设备接收耳机发送的LMP-INCR-POWER-REQ信令后,电子设备确定与耳机的通信质量,并确定与耳机的通信质量是否满足预设通信阈值。
在本申请的一些实施例中,所述通信质量包括重传率,重传率用于确定电子设备向耳机 进行数据传输的效率,可以为电子设备向耳机重新传输信号的概率。所述确定与耳机之间的通信质量是否满足预设通信阈值包括:确定与耳机的重传率是否小于或等于所述重传率阈值;若确定与耳机之间的重传率小于或等于所述重传率阈值,确定与耳机之间的通信质量满足预设通信阈值;若确定与耳机之间的重传率大于所述重传率阈值,确定与耳机之间的通信质量不满足预设通信阈值。
重传率阈值可以根据实际情况进行设置,如设置为50%。若电子设备确定与耳机之间的重传率小于或等于50%,电子设备确定与耳机之间的通信质量满足预设通信阈值。若电子设备确定与耳机之间的重传率大于50%,电子设备确定与耳机之间的通信质量不满足预设通信阈值。
在本申请的一些实施例中,所述通信质量包括耳机的接收信号的强度指示(Received Signal Strength Indicator,RSSI),所述确定与耳机之间的通信质量是否满足预设通信阈值包括:确定与耳机的RSSI是否小于或等于强度阈值;若电子设备确定耳机的RSSI小于或等于强度阈值,电子设备确定与耳机之间的通信质量不满足预设通信阈值。若电子设备确定耳机的RSSI大于所述强度阈值,电子设备确定与耳机之间的通信质量满足预设通信阈值。
在本申请的一些实施例中,所述通信质量包括耳机的误码率,误码率可以为耳机向电子设备传输信号的误码概率。所述确定与耳机之间的通信质量是否满足预设通信阈值包括:确定与耳机的误码率是否小于或等于误码率阈值;若电子设备确定耳机的误码率小于或等于误码率阈值,电子设备确定与耳机之间的通信质量满足预设通信阈值。若电子设备确定耳机的误码率大于所述误码率阈值,电子设备确定与耳机之间的通信质量不满足预设通信阈值。
若确定与耳机的通信质量满足预设通信阈值,执行303,不提高发射功率。若确定与耳机的通信质量满足预设通信阈值,执行304,提高发射功率。
如图3所示,电子设备当前的发射功率以Power Level 7对应的功率为例进行说明,若确定与耳机的通信质量满足所述预设通信阈值,不提高发射功率,即保持当前的发射功率Power Level 7对应的功率;若确定与耳机的通信质量不满足预设通信阈值,将当前的发射功率从Power Level 7对应的功率提高至Power Level 8对应的功率。在本申请的一些实施例中,图3中302,确定与耳机的通信质量是否满足预设通信阈值之后,所述方法还包括:统计接收耳机发送的LMP-INCR-POWER-REQ信令后不提高发射功率的次数;若所述次数满足预设数量条件,向所述耳机发送LMP-MAX-POWER信令。
LMP-MAX-POWER信令用于表示电子设备当前的发射功率为最高发射功率,不能继续提高发射功率,可以告知耳机:电子设备已为最高发射功率,无法再提高发射功率。通过向耳机发送LMP-MAX-POWER信令,可以阻止耳机继续向电子设备发送发射功率提高请求。可以理解的是,该处的LMP-MAX-POWER信令仅做举例说明,电子设备还可以通过向耳机发送其他的指令,将其当前的发射功率为最高发射功率,不能继续提高发射功率的情况告知耳机,从而避免耳机继续向电子设备发送发射功率提高请求。
可以统计电子设备与耳机连接后,电子设备接收耳机发送的LMP-INCR-POWER-REQ信令后不提高发射功率的次数。或者,可以统计在预设时间段内,接收耳机发送的LMP-INCR-POWER-REQ信令后不提高发射功率的次数。所述预设时间段可以根据实际情况进行设置。例如,预设时间段可以包括电子设备上一次提高发射功率的时间到当前时间的时间段。当电子设备与耳机建立蓝牙连接后并未提高过发射功率时,预设时间段也可以包括电子设备与耳机建立蓝牙连接的时间到当前时间的时间段。
预设数量条件可以包括预设数量阈值,上述判断次数是否满足预设数量条件包括:判断次数是否大于或等于预设数量阈值,预设数量阈值可以根据实际情况进行设置,在此不作任何限定,例如预设数量阈值可以设置为1、2或3等。
在本申请的一些实施例中,将预设数量阈值设置为1时,所述方法包括:若接收耳机发送的LMP-INCR-POWER-REQ信令后确定与耳机的通信质量满足预设通信阈值,向所述耳机发送LMP-MAX-POWER信令。也就说,在第一次接到耳机发送的LMP-INCR-POWER-REQ信令后确定与耳机的通信质量满足预设通信阈值时,直接向耳机发送LMP-MAX-POWER信令,以阻止耳机继续向电子设备发送发射功率提高请求。在第一次发现耳机会在通信质量正常的情况下向电子设备请求提高发射功率这一行为时,直接向耳机发送LMP-MAX-POWER信令,可以避免后续耳机在通信质量正常的情况下继续向电子设备请求提高发射功率的行为出现。
当预设数量阈值的值设置得较大时,若接收耳机发送的LMP-INCR-POWER-REQ信令后不提高发射功率的次数满足预设数量条件,可确定如下情况:耳机在通信质量满足预设通信阈值时向电子设备请求提高发射功率的请求次数较多。当耳机在通信质量满足预设通信阈值时向电子设备请求提高发射功率的请求次数较多的情况下,向耳机发送LMP-MAX-POWER信令,可以避免耳机在通信质量满足预设通信阈值时一直向电子设备请求提高发射功率的情况发生。同时,确定耳机在通信质量满足预设通信阈值时向电子设备请求提高发射功率的请求次数较多的情况下,再通过向耳机发送LMP-MAX-POWER信令以阻止耳机继续发送提高发射功率的请求,可以避免耳机偶然一次在通信质量满足预设通信阈值时向电子设备请求提高发射功率后就直接拒绝耳机向电子设备请求提高发射功率的机会,导致耳机无法正常地向电子设备请求提高发射功率的情况发生。
上述实施例,在耳机请求提高发射功率时,根据与耳机的通信质量确定是否提高发射功率,并在确定与耳机的重传率满足预设提高条件时提高电子设备的发射功率,可以避免电子设备依据耳机提出的不合理发射功率提高请求时进行发射功率提高导致的功耗浪费。
接收耳机发送的LMP-INCR-POWER-REQ信令后不提高发射功率的次数满足预设数量条件,向所述耳机发送LMP-MAX-POWER信令时,电子设备的发射功率实际上可能未达到电子设备的最高发射功率。下面结合实施例,电子设备向耳机发送LMP-MAX-POWER信令后的一些具体实施方式进行说明。
在本申请的一些实施例中,向所述耳机发送LMP-MAX-POWER信令后,所述方法还包括:按照预设的时间间隔,确定与耳机的通信质量是否满足预设通信阈值。若确定与耳机的通信质量不满足预设通信阈值,主动提高发射功率。若确定与耳机的通信质量满足预设通信阈值,不做任何处理,流程结束。可以理解的是,可以在电子设备当前发射功率不是最高发射功率却向耳机通知当前发射功率为最高发射功率时执行上述方法。若电子设备当前发射功率是最高发射功率,则不会执行上述方法。
通过上述方法,可以避免电子设备当前发射功率不是最高发射功率却向耳机通知当前发射功率为最高发射功率时执行上述方法后,当电子设备的当前发射功率不能满足与耳机的正常通信时,由于电子设备不会主动提高发射功率而导致电子设备与耳机之间的传输效率低的情况发生,从而提高了发射功率调节的准确率。
图2所示的耳机与电子设备之间进行信令交互时,电子设备每次接收耳机发送的发射功率提高请求后,会直接根据请求提高发射功率,除当前发射功率为最高发射功率的情形下, 都不会对耳机的发射功率请求进行答复。但是在一些实施例中,电子设备每次接收到耳机发送的发射功率提高请求后,都会对耳机的发射功率提高请求进行答复,如图4所示。图4为耳机与电子设备之间进行信令交互的一种示意图。如图4所示,耳机可以通过向电子设备发送LL-POWER-CONTROL-REQ信令以请求电子设备提高发射功率。电子设备会基于耳机发送的LL-POWER-CONTROL-REQ信令提高发射功率,并在发射功率提高后,向耳机发送LL-POWER-CONTROL-RSP指令。
如表1所示,LL-POWER-CONTROL-REQ信令中可以包括三个控制参数(Control Data,CtrData):物理信道(physical,PHY)、差值(Delta)、发射功率(TxPower)。其中,PHY用于表示信令发送使用的信号。Delta用于表示请求改变的发射功率值,正数表示请求提高的发射功率值,负数表示请求降低的发射功率值。例如,Delta 1表示请求提高1db的发射功率,Delta-1表示请求降低1db的发射功率。TxPower表示本端的当前发射功率。若一个耳机发出了LL-POWER-CONTROL-REQ信令,指令中的TxPower表示该耳机的当前发射功率。
表1
Figure PCTCN2022139107-appb-000001
如表2所示,LL-POWER-CONTROL-RSP信令中可以包括六个控制参数(Control Data,CtrData):最小值(Min);最大值(Max);保留位(Reserved for future use,RFU);差值(Delta)、发射功率(TxPower),可接受的最大功率降低值(Acceptable Power Reduction,APR)。其中,Min用于表示当前是否为最小发射功率,Min 0表示当前不为最小发射功率,Min 1表示当前为最小发射功率。Max用于表示当前是否为最大发射功率,Max 0表示当前不为最大发射功率,Max 1表示当前为最大发射功率。Delta用于表示本次改变的发射功率值,正数表示本次提高的发射功率值,负数表示本次降低的发射功率值。例如,Delta 1表示本次提高1db的发射功率,Delta-1表示本次降低1db的发射功率。TxPower表示本端的当前发射功率。若一个电子设备发出了LL-POWER-CONTROL-RSP信令,指令中的TxPower表示该电子设备的当前发射功率。
表2
Figure PCTCN2022139107-appb-000002
为了方便描述,在图4所示的信令交互中,加入了各个信令中的关键控制参数用于表示每个信令对应的具体内容。例如,LL-POWER-CONTROL-REQ(Delta 1)用于表示耳机向电子设备请求提高1db的发射功率。LL-POWER-CONTROL-RSP(Max 0,Delta 1,Txpower 8)表示电子设备已根据LL-POWER-CONTROL-REQ(Delta 1)信令提高了1db的发射功率(Delta1),当前电子设备的发射功率为power lever8对应的功率(Txpower 8),且当前电子的发射功率不为最大发射功率(Max 0)。
若电子设备提高发射功率后,确定当前的发射功率为最高发射功率(如最高发射功率为Powerlever 10对应的功率)时,电子设备向耳机发送LL-POWER-CONTROL-RSP(Max 1,Delta 1,Txpower 10)信令,告知耳机已根据LL-POWER-CONTROL-REQ信令提高了1 db的发射功率(Delta 1),当前电子设备的发射功率为Powerlever 10对应的功率,是最高发射功率(Max 1),不能继续提高功率请求。耳机接收到Max为1的LL-POWER-CONTROL-RSP 信令时,会停止向电子设备发送提高功率请求。
在图4所示的信令交互过程中,耳机会一直向电子设备发送LL-POWER-CONTROL-REQ信令,以使电子设备的发射功率提高至最高发射功率。为解决上述问题,本申请实施例提供了图5所示的一种发射功率调整方法。该方法应用于电子设备。所述电子设备可以包括蓝牙固件(Blutooth Controller,BTC),该方法可以应用在电子设备的BTC上。电子设备与耳机建立蓝牙连接,如图5所示,该方法可以包括:
501,接收LL-POWER-CONTROL-REQ信令。
例如,LL-POWER-CONTROL-REQ(Delta 1)信令用于请求电子设备提高1db的发射功率。
502,确定与耳机的通信质量是否满足预设通信阈值。
接收耳机发送的LL-POWER-CONTROL-REQ信令后,电子设备确定与耳机的通信质量,并确定与耳机的通信质量是否满足预设通信阈值。
若确定与耳机的通信质量满足预设通信阈值,执行503,不提高发射功率;若确定与耳机的通信质量满足预设通信阈值,执行504,提高发射功率。
电子设备基于LL-POWER-CONTROL-REQ信令提高发射功率后,可以向耳机发送LL-POWER-CONTROL-RSP信令,如LL-POWER-CONTROL-RSP(Max 0,Delta 1,Txpower 8)。如图5所示,电子设备当前的发射功率以Power Level 7对应的功率为例进行说明,若确定与耳机的通信质量满足所述预设通信阈值,不提高发射功率,即,保持当前的发射功率Power Level 7对应的功率;若确定与耳机的通信质量不满足预设通信阈值,将当前的发射功率从Power Level 7对应的功率提高至Power Level 8对应的功率。
上述实施例,在耳机请求提高发射功率时,根据与耳机的通信质量确定是否提高发射功率,并在确定与耳机的重传率满足预设提高条件时,提高电子设备的发射功率,可以避免电子设备依据耳机提出的不合理发射功率提高请求时进行发射功率提高导致的功耗浪费。
在本申请的一些实施例中,如图6所示,图5中502,确定与耳机的通信质量是否满足所述预设通信阈值之后,电子设备若确定与耳机的通信质量满足所述预设通信阈值,执行601,向耳机发送拒绝信令。拒绝信令表示拒绝根据提高发射功率请求对发射功率进行提高,可以用于告知所述蓝牙播放设备未提高发射功率。如图7所示,电子设备接收LL-POWER-CONTROL-REQ信令前的发射功率为Powerlever 7对应的功率,电子设备确定与耳机的通信质量满足所述预设通信阈值之后,向耳机发送LL-POWER-CONTROL-RSP(Max 0,Delta 0,Txpower 7),其中Delta 0表示未根据LL-POWER-CONTROL-REQ信令提高发射功率。可以理解的是,若下一次电子设备再接收LL-POWER-CONTROL-REQ信令且确定与耳机的通信质量仍满足所述预设通信阈值时,电子设备继续向耳机发送拒绝信令,即发送LL-POWER-CONTROL-RSP(Max 0,Delta 0,Txpower 7)。
在本申请的一些实施例中,执行图5中502,确定与耳机的通信质量是否满足所述预设通信阈值之后,电子设备可以统计接收耳机发送的LL-POWER-CONTROL-REQ信令后不提高发射功率的次数;若所述次数满足预设数量条件,向所述耳机发送提高信令。
其中,统计接收耳机发送的LL-POWER-CONTROL-REQ信令后不提高发射功率的次数的一些具体实施方式可以参见对图3中统计接收耳机发送的LMP-INCR-POWER-REQ信令后不提高发射功率的次数的相关描述,预设数量条件也可以参见与图3实施例相关的描述,在此不再赘述。
在本申请的一些实施例中,可以将电子设备向耳机发送的拒绝信令的次数,确定为接收耳机发送的LL-POWER-CONTROL-REQ信令后不提高发射功率的次数。
提高信令用于告诉耳机已提高发射功率。可以理解的是,发射功率未提高时发送的提高信令可以和发射功率提高时发送的提高信令格式一致,也可以有所不同。当耳机接收到发射功率提高时发送的提高信令和发射功率未提高时发送的提高信令时,都能确定电子设备已提高发射功率。例如,一电子设备的发射功率为Powerlever 7对应的功率时,当该电子设备接收到LL-POWER-CONTROL-REQ(Delta 1)信令时,确定在上一次提高发射功率到当前时间的时间段内,与耳机的通信质量符合预设通信阈值的次数满足预设数量条件,如确定拒绝信令的连续发送次数大于或等于预设拒绝次数阈值,不提高发射功率,直接向耳机发送LL-POWER-CONTROL-RSP(Max 0,Delta 1,Txpower 8),告知耳机已根据LL-POWER-CONTROL-REQ(Delta 1)信令提高了1db的发射功率,当前电子设备的发射功率为power lever8对应的功率,且当前电子设备的发射功率不为最大发射功率,实际上电子设备未提高发射功率,电子设备的当前发射功率仍为power lever7对应的功率。
可以理解的是,电子设备不提高发射功率且向耳机发送提高信令后,若再一次收到LL-POWER-CONTROL-REQ信令且确定与耳机的通信质量满足预设通信阈值时,依然不提高发射功率,并继续向耳机发送一次提高信令。可以理解的是,在电子设备不提高发射功率的情况下,电子设备在不同时间内发送的提高信令可以有所不同。例如,在电子设备不提高发射功率的情况下,电子设备A向耳机A第一次发送的提高信令可以为LL-POWER-CONTROL-RSP(Max 0,Delta 1,Txpower 8),电子设备A向耳机A第二次发送的提高信令可以为LL-POWER-CONTROL-RSP(Max 0,Delta 1,Txpower 9),其中,第一次的发送时间早于第二次的发送时间。也就是说,在电子设备不提高发射功率的情况下,该电子设备向同一耳机发送的多次提高信令可以有所不同。例如,发送时间在后的提高信令中的Txpower值可以大于发送时间在前的提高信令中的Txpower值。在电子设备不提高发射功率的情况下,向耳机发送不同的提高信令,可以避免一直向耳机发送相同的提高信令导致耳机报错的情况发生。
进一步地,在本申请的一些实施例中,若在不提高功率的情况下向耳机发送提高信令的次数大于预设次数,向耳机发送最高功率信令。通过向耳机发送最高功率信令,以避免耳机一直向电子设备请求提高发射功率。
最高功率信令用于告诉耳机:电子设备当前的发射功率为最高发射功率,不能继续提高发射功率。通过在电子设备实际发射功率不是最高发射功率时,向耳机发送最高功率信令(如发送LL-POWER-CONTROL-REQ信令),可以阻止耳机继续向电子设备发送发射功率提高请求。例如,最高功率信令可以为LL-POWER-CONTROL-RSP(Max 1,Delta A,Txpower B),Max 1表示电子设备当前的发射功率为最高发射功率,A为大于0的数,A为告知耳机提高的发射功率值(实际电子设备可以未提高发射功率),A的具体值可以根据实际情况进行设置。耳机可以根据指令中的Txpower B确定电子设备的发射功率,所以B的取值应大于耳机上一次知道的电子设备的发射功率。例如,若电子设备上一次向耳机发送的信令为LL-POWER-CONTROL-RSP(Max 0,Delta 1,Txpower 7),电子设备该次向耳机发送的最高功率信令可以为LL-POWER-CONTROL-RSP(Max 1,Delta A,Txpower B),其中B的值应大于7,B的值可以等于A的值加上7。
可以理解的是,在本申请的一些实施例中,电子设备可以统计接收耳机发送的LL-POWER -CONTROL-REQ信令后不提高发射功率的次数;若所述次数满足预设数量条件,向所述耳机直接发送最高功率指令。在本申请的另一些实施例中,当电子设备接收耳机发送的LL-POWER-CONTROL-REQ信令后确定与耳机的通信质量满足所述预设通信阈值时,可以直接向所述耳机直接发送最高功率指令。
在本申请的一些实施例中,执行图5中502,确定与耳机的通信质量是否满足所述预设通信阈值之后,电子设备可以统计拒绝信令的发送次数;若所述发送次数满足预设数量条件,向所述耳机发送提高信令或最高功率信令。可以理解的是,在本实施例中,若所述发送次数满足预设数量条件向所述耳机发送提高信令后,统计发送提高信令的次数;若向耳机发送提高信令的次数大于预设次数,向耳机发送最高功率信令。
在本申请的一些实施例中,若向耳机发送最高功率信令后,可以按照预设的时间间隔,确定与耳机的通信质量是否满足预设通信阈值。若确定与耳机的通信质量不满足预设通信阈值,主动提高发射功率。若确定与耳机的通信质量满足预设通信阈值,不做任何处理,流程结束。预设的时间间隔可以根据实际情况进行设置,在此不做任何限定。通过该方法,可以避免电子设备当前发射功率不是最高发射功率却向耳机通知当前发射功率为最高发射功率时执行上述方法后,当电子设备的当前发射功率不能满足与耳机的正常通信时,由于电子设备不会主动提高发射功率而导致电子设备与耳机之间的传输效率低的情况发生,提高了发射功率调节的准确率。
可以理解的是,电子设备主动提高发射功率后可以通知耳机,也可以不通知耳机。例如,电子设备可以通过LL-POWER-CONTROL-IND信令,通知耳机已提高发射功率,如功率提升信令。如表3所示,LL-POWER-CONTROL-IND信令中可以包括六个控制参数(ControlData,CtrData):最小值(Min);最大值(Max);保留位(Reserved for future use,RFU);差值(Delta)、发射功率(TxPower),物理信道(physical,PHY)。表3中每个控制参数的具体含义可以参见对表1和表2中相关控制参数的介绍,在此不再赘述。
表3
Figure PCTCN2022139107-appb-000003
例如,电子设备主动提高发射功率(提高前发射功率为power lever7,主动提高后发射功率为power lever8)后,向耳机发送LL-POWER-CONTROL-IND(Max 0,Delta 1,Txpower 8)信令,告知耳机提高了1db的发射功率,当前电子设备的发射功率为power lever8对应的功率,且当前电子的发射功率不为最大发射功率。可以理解的是,耳机接收到LL-POWER-CONTROL-IND信令,确定电子设备当前不是最高发射功率时,会继续向电子设备请求提高发射功率,此时可以按照图5所示的方法以及与图5相关的实施例中的方法对当前状况进行处理,如对耳机不合理的发射功率提高请求进行拒绝或者耳机提出不合理发射功率请求时,对耳机发送提高信令或最高功率信令。
图5所述的方法以及与图5相关的实施例中的方法的一些具体实施方式,可以参见对图3所述的方法以及与图3相关的实施例的相关描述,在此不做赘述。
图8为本申请实施例提供的一种电子设备100的结构示意图。参考图8,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块120,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C, 耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。在本申请的一些实施例中,处理器110中可以包括处理器,所述处理器用于控制智能服务模块对显示界面上的桌面卡片进行检测,并基于智能服务模块的卡片检测结果,确定是否向智能服务模块发送展示引导信息的展示指示。所述展示指示用于指示智能服务模块生成并展示引导信息。所述引导信息用于指示用户在电子设备的显示界面上添加桌面卡片(出行服务卡片)。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I1C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I1C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。I2S接口可以用于音频通信。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I1C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备100,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理 器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为服务异常提醒的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。
在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
内部存储器121可以包括一个或多个随机存取存储器(random access memory,RAM)和一个或多个非易失性存储器(non-volatile memory,NVM)。在本申请实施例中,内部存储器121也可以称为内存。在一些实施例中,处理器(如CPU)可以在内存中存储每一次展示引导信息的展示时间以及展示引导信息的累计次数。
外部存储器接口120可以用于连接外部的非易失性存储器,实现扩展电子设备100的存储能力。外部的非易失性存储器通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部的非易失性存储器中。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备100平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以陀螺仪传感器180B的定位,更新显示界面上显示的桌面卡片。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备100姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多帧卡。所述多帧卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备100上运行时,使得电子设备100执行上述相关方法步骤实现上述实施例中的发射功率调整方法。
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的发射功率调整方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的发射功率调整方法。
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行 上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。

Claims (13)

  1. 一种发射功率调整方法,应用于电子设备,所述电子设备与蓝牙播放设备建立连接,其特征在于,所述方法包括:
    接收所述蓝牙播放设备发送的提高发射功率请求;
    当所述电子设备与所述蓝牙播放设备的通信质量满足预设通信阈值时,不提高发射功率。
  2. 根据权利要求1所述的发射功率调整方法,其特征在于,所述方法还包括:若当所述电子设备与所述蓝牙播放设备的通信质量不满足预设通信阈值,提高发射功率。
  3. 根据权利要求1所述的发射功率调整方法,其特征在于,所述方法还包括:
    若所述电子设备与所述蓝牙播放设备的通信质量满足预设通信阈值,向所述蓝牙播放设备发送提高信令或最高功率信令,所述提高信令用于在没有提高发射功率时告知所述蓝牙播放设备已提高发射功率;所述最高功率信令用于在没有达到最高发射功率时告知所述蓝牙播放设备已达到最高发射功率。
  4. 根据权利要求3所述的发射功率调整方法,其特征在于,所述若所述电子设备与所述蓝牙播放设备的通信质量满足预设通信阈值,向所述蓝牙播放设备发送提高信令包括:
    计算接收所述蓝牙播放设备发送的提高发射功率请求后确定不提高发射功率的次数;
    若所述次数满足预设数量条件,向所述蓝牙播放设备发送提高信令或最高功率信令。
  5. 根据权利要求3或4所述的发射功率调整方法,其特征在于,所述向所述蓝牙播放设备发送提高信令后,所述方法还包括:
    若向所述蓝牙播放设备发送提高信令的次数大于或等于预设次数,向所述蓝牙播放设备发送最高功率信令。
  6. 根据权利要求1所述的发射功率调整方法,其特征在于,所述方法还包括:
    若确定与所述蓝牙播放设备的通信质量满足预设通信阈值,向所述蓝牙播放设备发送拒绝信令,所述拒绝信令用于告知所述蓝牙播放设备未提高发射功率。
  7. 根据权利要求6所述的发射功率调整方法,其特征在于,若确定与所述蓝牙播放设备的通信质量满足预设通信阈值,向所述蓝牙播放设备发送拒绝信令之后,所述方法还包括:
    若连续发送拒绝信令的次数大于或等于预设拒绝次数,向所述蓝牙播放设备发送提高信令或最高功率信令。
  8. 根据权利要求7所述的发射功率调整方法,其特征在于,若连续发送拒绝信令的次数大于或等于预设拒绝次数,向所述蓝牙播放设备发送提高信令之后,所述方法包括:
    若向所述蓝牙播放设备发送提高信令的次数大于预设次数,向所述蓝牙播放设备发送最高功率信令。
  9. 根据权利要求3至5或7至8中任意一项所述的发射功率调整方法,其特征在于,向所述蓝牙播放设备发送最高功率信令之后,所述方法包括:
    确定与所述蓝牙播放设备的通信质量是否满足预设通信阈值;
    若确定与所述蓝牙播放设备的通信质量不满足预设通信阈值,提高发射功率。
  10. 根据权利要求9所述的发射功率调整方法,其特征在于,所述确定与所述蓝牙播放设备的通信质量是否满足预设通信阈值包括:
    确定所述电子设备的当前发射功率是否小于所述最高功率信令中的发射功率;
    若所述电子设备的当前发射功率小于所述最高功率信令中的发射功率,按照预设的时间间隔,确定与所述蓝牙播放设备的通信质量是否满足预设通信阈值。
  11. 根据权利要求9所述的发射功率调整方法,其特征在于,在所述提高发射功率之后,所述方法还包括:
    向所述蓝牙播放设备发送功率提升信令。
  12. 一种电子设备,其特征在于,所述电子设备包括存储器和处理器;
    所述存储器,用于存储程序指令;
    所述处理器,用于读取所述存储器中存储的所述程序指令,以实现如权利要求1至11中任意一项所述的发射功率调整方法。
  13. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如权利要求1至11中任意一项所述的发射功率调整方法。
PCT/CN2022/139107 2022-02-24 2022-12-14 发射功率调整方法、电子设备及存储介质 WO2023160144A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210174090.0 2022-02-24
CN202210174090.0A CN114698078B (zh) 2022-02-24 2022-02-24 发射功率调整方法、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2023160144A1 true WO2023160144A1 (zh) 2023-08-31

Family

ID=82137465

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/139107 WO2023160144A1 (zh) 2022-02-24 2022-12-14 发射功率调整方法、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN114698078B (zh)
WO (1) WO2023160144A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114698078B (zh) * 2022-02-24 2023-05-16 荣耀终端有限公司 发射功率调整方法、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040242258A1 (en) * 2003-06-02 2004-12-02 Samsung Electronics Co., Ltd. Method of controlling signal power level and a Bluetooth device for performing the same
CN108199789A (zh) * 2017-12-22 2018-06-22 广东欧珀移动通信有限公司 蓝牙信号调整方法、装置、测试终端、系统及可读介质
CN111757303A (zh) * 2019-03-26 2020-10-09 华为技术有限公司 一种蓝牙发射功率的控制方法以及终端设备
CN114698078A (zh) * 2022-02-24 2022-07-01 荣耀终端有限公司 发射功率调整方法、电子设备及存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340850A (zh) * 2010-07-20 2012-02-01 华为技术有限公司 功率控制方法及设备
CN103037493B (zh) * 2012-12-14 2016-08-03 中兴通讯股份有限公司 动态调整发射功率的方法及装置、智能终端
CN110870352B (zh) * 2018-06-28 2022-03-01 深圳市汇顶科技股份有限公司 射频功率调整方法、ble芯片、ble设备及电子终端
CN110139262B (zh) * 2019-06-10 2022-06-14 Oppo广东移动通信有限公司 蓝牙通信控制方法及相关产品
CN113395685B (zh) * 2020-03-10 2023-07-11 华为技术有限公司 蓝牙通信系统和无线通信系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040242258A1 (en) * 2003-06-02 2004-12-02 Samsung Electronics Co., Ltd. Method of controlling signal power level and a Bluetooth device for performing the same
CN108199789A (zh) * 2017-12-22 2018-06-22 广东欧珀移动通信有限公司 蓝牙信号调整方法、装置、测试终端、系统及可读介质
CN111757303A (zh) * 2019-03-26 2020-10-09 华为技术有限公司 一种蓝牙发射功率的控制方法以及终端设备
CN114698078A (zh) * 2022-02-24 2022-07-01 荣耀终端有限公司 发射功率调整方法、电子设备及存储介质

Also Published As

Publication number Publication date
CN114698078A (zh) 2022-07-01
CN114698078B (zh) 2023-05-16

Similar Documents

Publication Publication Date Title
US20220201113A1 (en) Bluetooth Connection Method, Device, and System
WO2020249062A1 (zh) 一种语音通信方法及相关装置
WO2020124610A1 (zh) 一种传输速率的控制方法及设备
EP3968133A1 (en) Air-mouse mode implementation method and related device
EP4072111A1 (en) Screen-on control method and electronic device
CN112289313A (zh) 一种语音控制方法、电子设备及系统
WO2020124611A1 (zh) 一种速率控制方法及设备
WO2021043219A1 (zh) 一种蓝牙回连方法及相关装置
WO2020221054A1 (zh) 一种触摸方法及电子设备
EP4192058A1 (en) Bluetooth communication method, terminal device, and computer-readable storage medium
EP4053783A1 (en) Energy-efficient display processing method, and apparatus
WO2021190314A1 (zh) 触控屏的滑动响应控制方法及装置、电子设备
WO2021031865A1 (zh) 通话方法及装置
CN112806092B (zh) 一种麦克风mic切换方法及设备
EP4106238A1 (en) Wireless communication system and method
CN113676339B (zh) 组播方法、装置、终端设备及计算机可读存储介质
US20240126224A1 (en) Switch Switching Method and Related Apparatus
WO2022206825A1 (zh) 一种调节音量的方法、系统及电子设备
WO2023160144A1 (zh) 发射功率调整方法、电子设备及存储介质
EP4093001A1 (en) Index display method, electronic device, and computer readable storage medium
CN113126948A (zh) 一种音频播放方法及相关设备
CN114221402A (zh) 终端设备的充电方法、装置和终端设备
WO2020078267A1 (zh) 在线翻译过程中的语音数据处理方法及装置
CN115665632A (zh) 音频电路、相关装置和控制方法
CN113467747B (zh) 音量调节方法、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22928398

Country of ref document: EP

Kind code of ref document: A1