WO2020000307A1 - 射频功率调整方法、ble芯片、ble设备及电子终端 - Google Patents

射频功率调整方法、ble芯片、ble设备及电子终端 Download PDF

Info

Publication number
WO2020000307A1
WO2020000307A1 PCT/CN2018/093345 CN2018093345W WO2020000307A1 WO 2020000307 A1 WO2020000307 A1 WO 2020000307A1 CN 2018093345 W CN2018093345 W CN 2018093345W WO 2020000307 A1 WO2020000307 A1 WO 2020000307A1
Authority
WO
WIPO (PCT)
Prior art keywords
ble
ble device
peer
power adjustment
information
Prior art date
Application number
PCT/CN2018/093345
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 深圳市汇顶科技股份有限公司
Priority to PCT/CN2018/093345 priority Critical patent/WO2020000307A1/zh
Priority to CN201880000914.4A priority patent/CN110870352B/zh
Publication of WO2020000307A1 publication Critical patent/WO2020000307A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Definitions

  • Embodiments of the present invention relate to the technical field of Bluetooth, and in particular, to a radio frequency power adjustment method, a BLE chip, a BLE device, and an electronic terminal.
  • Bluetooth technology is widely used in various devices, such as mobile terminal devices, Internet of Things devices, and so on.
  • low-power data transmission between these devices to which Bluetooth technology is applied is receiving more and more attention.
  • BLE Bluetooth Low Energy
  • the BLE technology introduced by the Bluetooth Technology Alliance is based on low power consumption.
  • the BLE protocol has evolved from V4.0, V4.1 and V4.2 to V5.0, and related low-power technologies have gradually increased.
  • the maximum transmission power of Bluetooth is increased to 100mW (+ 20dBm)
  • the maximum transmission power of Bluetooth is only 10mW.
  • the increase of the transmission power can increase the communication distance of Bluetooth, at the same time, it will also affect the power consumption of BLE devices using BLE technology, and it will also affect the data transmission quality and stability of the BLE link, causing link quality problems. .
  • the maximum transmission power of BLE devices is divided into 4 levels in the BLEV5.0 protocol, as shown in the following table.
  • Power level Output power P max ) Minimum output power 1 100mW (+ 20dBm) 10mW (+ 10dBm) 1.5 10mW (+ 10dBm) 0.01mW (-20dBm) 2 2.5mW (+ 4dBm) 0.01mW (-20dBm) 3 1mW (0dBm) 0.01mW (-20dBm)
  • the maximum transmit power is 100mW (+ 20dBm), and the corresponding minimum transmit power is 10mW (+ 10dBm). If the power level of a BLE device changes from level 1 to level 1.5, and when the distance between two BLE devices becomes slightly larger, it may be because the transmit power becomes smaller, and the two cannot notify each other to adjust the transmit power. As a result, the power conditions for normal operation of the BLE device are not met, and the link between the two BLE devices is disconnected.
  • Embodiments of the present invention provide a radio frequency power adjustment method, a BLE chip, a BLE device, and an electronic terminal to solve the foregoing problems.
  • a radio frequency power adjustment method which includes: obtaining a signal quality of a BLE link with a peer BLE device; comparing the signal quality with a set threshold to obtain A difference between the signal quality and the set threshold; according to the difference, sending a radio frequency power adjustment request to the peer BLE device to instruct the peer BLE device to adjust the pair according to the radio frequency power adjustment request The transmitting power of the remote BLE device.
  • a BLE chip including: a first acquisition module for acquiring a signal quality of a BLE link with a peer BLE device; and a second acquisition module for Comparing the signal quality with a set threshold to obtain a difference between the signal quality and the set threshold; a requesting module is configured to send a radio frequency power adjustment request to the peer BLE device according to the difference, so as to Instruct the peer BLE device to adjust the transmit power of the peer BLE device according to the radio frequency power adjustment request.
  • a BLE device including: a memory, a communication interface, a communication bus, and the BLE chip according to the second aspect, the BLE chip, the memory, and the communication.
  • the interface communicates with each other through the communication bus; the memory is used to store at least one executable instruction that causes the BLE chip to perform an operation corresponding to the radio frequency power adjustment method according to the first aspect.
  • an electronic terminal including the BLE chip according to the second aspect; or, including a BLE device according to the third aspect.
  • a radio frequency power adjustment request is sent to the opposite BLE device, Instructs the peer BLE device to adjust its transmit power.
  • a scheme for transmitting and adjusting transmission power of two BLE devices during Bluetooth communication is provided.
  • the difference between the signal quality and the set threshold can be used to determine the current use of the BLE link to a certain extent. Whether the transmit power is appropriate.
  • the RF power adjustment request between two BLE devices can be adjusted in time through the RF power adjustment request without increasing hardware costs.
  • the BLE chain can be guaranteed when the power level of the BLE device changes. The validity of the circuit prevents the BLE link from being disconnected to ensure normal data transmission between BLE devices.
  • the existing BLE devices lack a method of transmitting power levels interactively. Therefore, when the BLE devices are relatively close, if the BLE devices are still working at the maximum power, it will inevitably cause battery loss and shorten the battery life of the BLE devices.
  • a comparison can be made between the signal quality and a set threshold, and the difference between the two can be obtained according to the comparison result to request power from the opposite BLE device. Adjustment. Therefore, the RF power can be flexibly adjusted according to the actual conditions of the two BLE devices, thereby reducing battery loss and extending battery life.
  • FIG. 1 is a flowchart of steps of a radio frequency power adjustment method according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of steps in a method for adjusting radio frequency power according to a second embodiment of the present invention
  • FIG. 3 is a structural block diagram of a BLE chip according to a third embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a BLE chip according to a fourth embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a BLE device according to Embodiment 5 of the present invention.
  • FIG. 1 a flowchart of steps of a method for adjusting radio frequency power according to Embodiment 1 of the present invention is shown.
  • Step S102 Obtain the signal quality of the BLE link with the peer BLE device.
  • BLE device For two BLE devices performing Bluetooth communication, from the perspective of one BLE device, if the BLE device is the local BLE device, the other BLE device is the peer BLE device. Low energy Bluetooth communication is performed between two BLE devices through a BLE link.
  • the signal quality of the BLE link can be characterized by those skilled in the art using any appropriate index according to actual needs, such as signal strength, link quality, packet loss rate, and so on.
  • Step S104 Compare the signal quality with a set threshold to obtain a difference between the signal quality and the set threshold.
  • the setting threshold is correspondingly set according to the used signal quality index, and the specific threshold can be appropriately set by a person skilled in the art according to the actual situation, for example, according to the statistical analysis result of historical data, or the simulation experiment result, or Manual experience settings, etc.
  • the set threshold can be set to any value between "-60dbm to -80dbm".
  • Step S106 Send a radio frequency power adjustment request to the peer BLE device according to the difference, to instruct the peer BLE device to adjust the transmit power of the peer BLE device according to the radio frequency power adjustment request.
  • the RF power adjustment request carries information that instructs the peer BLE device to adjust the transmit power, and the peer BLE device can adjust the transmit power according to the information.
  • the RF power adjustment request may be used to instruct the opposite-end BLE device to reduce the transmit power; and when the difference indicates that the transmit power of the opposite-end BLE device is too high, Hours, you can use the RF power adjustment request to instruct the peer BLE device to increase the transmit power.
  • a radio frequency power adjustment request is sent to the opposite BLE device to instruct the opposite BLE device to transmit.
  • Power adjustment a scheme for transmitting and adjusting transmission power of two BLE devices during Bluetooth communication is provided.
  • the transmission currently used by the BLE link can be determined to a certain extent. Whether the power is appropriate.
  • the RF power adjustment request between the two BLE devices can be adjusted in time through the RF power adjustment request without increasing hardware costs.
  • the BLE link can also be guaranteed when the power level of the BLE device changes. Effectiveness to avoid disconnection of the BLE link to ensure normal data transmission between BLE devices.
  • the existing BLE devices lack a method of transmitting power levels interactively. Therefore, when the BLE devices are relatively close, if the BLE devices are still working at the maximum power, it will inevitably cause battery loss and shorten the battery life of the BLE devices.
  • a comparison can be made between the signal quality and a set threshold, and the difference between the two is obtained according to the comparison result to request power adjustment of the opposite BLE device. . Therefore, the RF power can be flexibly adjusted according to the actual conditions of the two BLE devices, thereby reducing battery loss and extending battery life.
  • the radio frequency power adjustment method of this embodiment may be implemented by any appropriate device or device that applies BLE technology, including, but not limited to, a mobile terminal, a desktop computer, and an industrial control device.
  • FIG. 2 a flowchart of steps of a method for adjusting radio frequency power according to Embodiment 2 of the present invention is shown.
  • Step S202 The local BLE device acquires the signal quality of the BLE link with the opposite BLE device.
  • the signal quality can be characterized by those skilled in the art using any appropriate indicators such as signal strength, link quality, and packet loss rate.
  • signal strength is used to characterize the signal quality of the BLE link.
  • Step S204 The local BLE device compares the signal quality with a set threshold to obtain a difference between the signal quality and the set threshold.
  • the peer BLE device When two BLE devices are connected, one role is the master and the other is the slave. Specifically in this embodiment, when the local BLE device is a master device, the peer BLE device is a slave device; and when the local BLE device is a slave device, the peer BLE device is a master device. That is, in this embodiment, the roles of the local BLE device and the peer BLE device are not limited.
  • both the master device and the slave device preset a signal quality threshold, that is, a preset threshold value for the BLE link, such as A master corresponding to the master device and A slave corresponding to the slave device.
  • a signal quality threshold that is, a preset threshold value for the BLE link
  • the application program of the BLE chip of the master device and the slave device establishes a link, it can set a preset signal quality threshold value to the firmware of the BLE chip through the corresponding interface function. Any value between.
  • the difference between the acquired signal quality and the set threshold may be an absolute value of the difference between the two; in another feasible manner, the acquired signal quality and the set
  • the difference in the threshold may be: a difference between the signal quality minus the set threshold (in this case, the difference may be positive or negative).
  • a difference threshold may also be set for the difference to evaluate the difference level.
  • a difference threshold may be set for the difference; and when the latter difference method is used, a first set difference threshold and a second set difference threshold may be set for the difference , Wherein the first set difference threshold and the second set difference threshold are opposite numbers to each other.
  • the master device and the slave device can set thresholds ⁇ master and ⁇ slave for signal quality comparison respectively according to the usage scenario, for example, set both ⁇ master and ⁇ slave to 10dbm.
  • the master device or the slave device calculates the signal quality of the received signal B master or B slave through the relevant radio frequency algorithm. On the master side, compare B master and A master , and on the slave side, compare B slave and A slave .
  • Step S206 The local BLE device sends a radio frequency power adjustment request to the peer BLE device according to the difference, to instruct the peer BLE device to adjust the transmit power of the peer BLE device according to the radio frequency power adjustment request.
  • the RF power adjustment request sent by the local BLE device to the peer BLE device may carry power adjustment policy information and / or transmit power information of the local BLE device.
  • the power adjustment policy information may include one of the following: information for instructing the peer BLE device to gradually increase the transmit power, information for instructing the peer BLE device to gradually reduce the transmit power, and information for instructing the peer BLE Information that the device increases the transmission power to the maximum transmission power, and information that is used to indicate that the peer BLE device does not adjust the transmission power.
  • the power level of BLE V5.0 is adjusted according to the gradual increase or decrease, for example, from power level 1 to power level 1.5, or from power level 1.5 to power level 1 .
  • the power level of BLE V5.0 is adjusted according to the gradual increase or decrease, for example, from power level 1 to power level 1.5, or from power level 1.5 to power level 1 .
  • the power level of BLE V5.0 is adjusted according to the gradual increase or decrease, for example, from power level 1 to power level 1.5, or from power level 1.5 to power level 1 .
  • the power level of BLE V5.0 is adjusted according to the gradual increase or decrease, for example, from power level 1 to power level 1.5, or from power level 1.5 to
  • the transmit power information of the local BLE device includes: information about the current transmit power of the local BLE device and information about the PHY (physical layer) type of the local BLE device.
  • the power adjustment strategy information can clearly indicate the transmit power adjustment method of the peer BLE device.
  • the transmit power information of the local BLE device can inform the peer BLE device of the current communication method and current transmit power of the local BLE device, so that the peer BLE The device is ready for subsequent Bluetooth communication and further RF power adjustment.
  • the above-mentioned power adjustment policy information and / or transmission power information of the local BLE device may be carried in a PDU (Protocol Data Unit) and sent. That is, in this step, a radio frequency power adjustment request may be sent to the peer BLE device through a PDU according to the difference.
  • the PDU carries the above information, on the one hand, the above information can be efficiently and reliably transmitted at the corresponding physical link layer, and on the other hand, the peer BLE device can quickly obtain the above information without additional processing.
  • a link-layer PDU may be used to carry the foregoing power adjustment policy information and / or the transmit power information of the local BLE device.
  • the RF power adjustment request sent by the local BLE device to the peer BLE device carries power adjustment policy information, and the peer BLE device can directly adjust the transmit power according to the power adjustment policy information.
  • the RF power adjustment request sent by the local BLE device to the peer BLE device carries the transmit power information of the local BLE device, and the peer BLE device needs to transmit the information according to the transmit power information and the peer end. After comparing the transmission power information of the BLE device itself, a power adjustment strategy is determined according to the comparison result, and then the transmission power is adjusted.
  • the RF power adjustment request sent by the local BLE device to the peer BLE device carries both the power adjustment policy information and the transmit power information of the local BLE device.
  • the power adjustment strategy information can also be used to obtain specific power information of the requesting sender while adjusting the transmit power, so as to provide a basis for subsequent communication and further power adjustment.
  • the local BLE device also needs to determine the signal quality and the preset threshold. Relationship to determine specific power adjustment strategy information. If the difference includes a first set difference threshold and a second set difference threshold, if the difference is greater than or equal to the first set difference threshold, a radio frequency power adjustment request is sent to the peer BLE device to indicate the The peer BLE device reduces the transmit power of the peer BLE device according to the RF power adjustment request; if the difference is less than or equal to the second set difference threshold, it sends an RF power adjustment request to the peer BLE device to instruct the peer BLE device Increase the transmit power of the peer BLE device according to the RF power adjustment request; wherein the first set difference threshold and the second set difference threshold are opposite numbers to each other, and the first set difference threshold is a positive number and the second setting The difference threshold is negative.
  • B master -A master > ⁇ master
  • the master device requires the slave device to reduce the RF power of the BLE link
  • B master -A master ⁇ ⁇ master
  • the master device requires the slave device to increase RF power of the BLE link.
  • B slave -A slave > ⁇ slave
  • the slave device requires the master device to reduce the radio frequency power of the BLE link
  • B slave -A slave ⁇ ⁇ ⁇ slave
  • the slave device requires the master device to increase RF power for large BLE links.
  • the local BLE device needs to send a power adjustment request packet PDU.
  • the request data packet PDU includes the following information: power adjustment policy information and transmission power information of the local BLE device.
  • the power adjustment strategy information includes one of the following: 1: stepwise increase, 2: stepwise decrease, 3: increase to maximum power, 4: no adjustment
  • the transmit power information of the local BLE device includes the following: 1: current transmission Power, 2: current PHY type, where PHY type includes: 1M PHY, 2M PHY, Coded PHY.
  • different types represent different current Bluetooth application methods, such as currently using Bluetooth for phone communication, mail communication, or text message communication, etc., each communication method uses different transmission power.
  • the PDU is used to carry the above-mentioned power adjustment policy information and the transmission power information of the local BLE device to achieve adjustment of the transmission power.
  • the reserved information of the PDU, or other unoccupied fields, or unoccupied numbers in bytes, etc. may be used to carry the foregoing information. For example, 0 in the first byte of the PDU indicates that the link parameters are updated. , 1 indicates the encryption key, 2 indicates the version information, but 3 (unoccupied number) can be used to indicate power adjustment policy information, and so on.
  • the peer BLE device will adjust and adapt according to the received PDU request packet and then combine its own physical link transmit power. For example, when the opposite-end BLE device receives a request data packet PDU for transmission power adjustment, it will parse each field of the PDU.
  • the power adjustment strategy information indicates that the transmit power is increased step by step on a PHY
  • the transmit power of the PHY is not the maximum value
  • the transmit power is increased step by step
  • the power adjustment policy information indicates that the transmit power is decreased step by step on a PHY
  • the transmit power will be gradually reduced
  • the power adjustment strategy information indicates that the maximum transmit power is increased on a PHY, it will increase to the maximum transmit power
  • the power adjustment strategy The information indicates that when no modification is made on a PHY, the transmit power will not be adjusted.
  • Step S208 The local BLE device receives feedback information corresponding to the RF power adjustment request sent by the peer BLE device.
  • the feedback information carries: adjustment result information of the opposite-end BLE device and / or transmission power information of the opposite-end BLE device.
  • the PDU data packet includes the following information: information indicating an adjustment result and / or transmission power information of an adjustment-side BLE device (the opposite-end BLE device in this embodiment).
  • the information indicating the adjustment result contained in the PDU data packet may include, for example, a field indicating the adjustment result, where 1 indicates that the transmission power has been adjusted by one level, 2 indicates that the transmission power adjustment is not supported, and 3 indicates that the transmission is adjusted.
  • Power to maximum power, 4 means adjust transmit power to minimum power or no adjustment.
  • the transmission power indicated by 1 indicates that the transmission power has been adjusted. Only when the peer BLE device is not at the maximum transmission power is used.
  • the transmit power information includes: 1, the current transmit power of the current BLE device (the peer BLE device), 2, the current PHY type of the current BLE device (the peer BLE device), the PHY type includes: 1M PHY, 2M PHY Coded PHY.
  • the BLE device that sends the RF power adjustment request (the local BLE device in this embodiment) can know the transmit power adjustment of the peer BLE device, and then provide reference and preparation operations for subsequent operations. For example, the adjusted radio frequency power is used for Bluetooth communication, or the radio frequency power adjustment is performed again, etc. This embodiment of the present invention does not limit this.
  • a radio frequency power adjustment request is sent to the opposite BLE device to instruct the opposite BLE device to transmit.
  • Power adjustment a scheme for transmitting and adjusting transmission power of two BLE devices during Bluetooth communication is provided.
  • the transmission currently used by the BLE link can be determined to a certain extent. Whether the power is appropriate.
  • the RF power adjustment request between the two BLE devices can be adjusted in time through the RF power adjustment request without increasing hardware costs.
  • the BLE link can also be guaranteed when the power level of the BLE device changes. The effectiveness of the method prevents the BLE link from being disconnected to ensure normal data transmission between BLE devices, which improves the reliability and low power consumption of data transmission.
  • the existing BLE devices lack a method of transmitting power levels interactively. Therefore, when the BLE devices are relatively close, if the BLE devices are still working at the maximum power, it will inevitably cause battery loss and shorten the battery life of the BLE devices.
  • a comparison can be made between the signal quality and a set threshold, and the difference between the two is obtained according to the comparison result to request power adjustment of the opposite BLE device. . Therefore, the RF power can be flexibly adjusted according to the actual conditions of the two BLE devices, thereby reducing battery loss and extending battery life.
  • the radio frequency power adjustment method of this embodiment may be implemented by any appropriate device or device that applies BLE technology, including, but not limited to, a mobile terminal, a desktop computer, and an industrial control device.
  • FIG. 3 a structural block diagram of a BLE chip according to a third embodiment of the present invention is shown.
  • the BLE chip in this embodiment includes: a first acquisition module 302, configured to acquire a signal quality of a BLE link with a peer BLE device; and a second acquisition module 304, configured to perform the signal quality with a set threshold By comparison, obtaining a difference between the signal quality and the set threshold; a requesting module 306 is configured to send a radio frequency power adjustment request to the peer BLE device according to the difference, to instruct the peer BLE device to adjust according to the radio frequency power adjustment request The transmit power of the peer BLE device.
  • the BLE chip in this embodiment is used to implement the corresponding radio frequency power adjustment method in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again.
  • FIG. 4 a structural block diagram of a BLE chip according to a fourth embodiment of the present invention is shown.
  • the BLE chip in this embodiment includes: a first acquisition module 402, configured to acquire a signal quality of a BLE link with a peer BLE device; and a second acquisition module 404, configured to perform the signal quality with a set threshold By comparison, obtaining a difference between the signal quality and the set threshold; a requesting module 406 is configured to send a radio frequency power adjustment request to a peer BLE device according to the difference, to instruct the peer BLE device to adjust according to the radio frequency power adjustment request The transmit power of the peer BLE device.
  • the RF power adjustment request includes: power adjustment policy information and / or transmission power information of the local BLE device.
  • the power adjustment policy information includes one of the following: information for instructing the peer BLE device to gradually increase the transmit power, information for instructing the peer BLE device to gradually reduce the transmit power, and information for instructing the peer BLE device Information for increasing the transmission power to the maximum transmission power, and information for instructing the peer BLE device not to perform transmission power adjustment.
  • the transmit power information of the local BLE device includes: information about the current transmit power of the local BLE device and information about the PHY type of the local BLE device.
  • the requesting module 406 is configured to send a radio frequency power adjustment request to the peer BLE device through a PDU according to the difference, to instruct the peer BLE device to adjust the transmit power of the peer BLE device according to the radio frequency power adjustment request.
  • the requesting module 406 is configured to: if the difference is greater than or equal to the first set difference threshold, send a radio frequency power adjustment request to the peer BLE device to instruct the peer BLE device to reduce the radio frequency adjustment request according to the radio frequency power adjustment request. Transmit power of the remote BLE device; if the difference is less than or equal to the second set difference threshold, send a radio frequency power adjustment request to the remote BLE device to instruct the remote BLE device to increase the remote BLE device according to the radio frequency power adjustment request Transmission power; wherein the first set difference threshold and the second set difference threshold are opposite numbers to each other, and the first set difference threshold is a positive number and the second set difference threshold is a negative number.
  • the BLE chip in this embodiment further includes: a receiving module 408, configured to receive feedback information corresponding to the RF power adjustment request sent by the peer BLE device, where the feedback information carries: peer BLE The adjustment result information of the device and / or the transmit power information of the opposite BLE device.
  • a receiving module 408 configured to receive feedback information corresponding to the RF power adjustment request sent by the peer BLE device, where the feedback information carries: peer BLE The adjustment result information of the device and / or the transmit power information of the opposite BLE device.
  • the BLE chip in this embodiment is used to implement the corresponding radio frequency power adjustment method in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again.
  • FIG. 5 a schematic structural diagram of a BLE device according to Embodiment 5 of the present invention is shown.
  • the specific embodiment of the present invention does not limit the specific implementation of the BLE device.
  • the BLE device may include: a BLE chip 502, a communications interface 504, a memory 506, and a communication bus 508.
  • the BLE chip 502, the communication interface 504, and the memory 506 complete communication with each other through a communication bus 508.
  • the communication interface 504 is configured to communicate with other elements or other BLE devices.
  • the BLE chip 502 is configured to execute a program 510. Specifically, the BLE chip 502 can perform related steps in the foregoing embodiment of the radio frequency power adjustment method.
  • the program 510 may include program code, where the program code includes a computer operation instruction.
  • the BLE chip 502 may be a microprocessor MPU, or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement an embodiment of the present invention.
  • ASIC application specific integrated circuit
  • the memory 506 is configured to store a program 510.
  • the memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory).
  • the program 510 may be specifically configured to cause the BLE chip 502 to perform the following operations: acquiring the signal quality of the BLE link with the peer BLE device; comparing the signal quality with a set threshold to acquire the signal quality and the The difference in the threshold is set; according to the difference, a radio frequency power adjustment request is sent to the opposite BLE device to instruct the opposite BLE device to adjust the transmission power of the opposite BLE device according to the radio frequency power adjustment request.
  • the RF power adjustment request includes: power adjustment policy information and / or transmission power information of the local BLE device.
  • the power adjustment policy information includes one of the following: information for instructing the peer BLE device to gradually increase the transmission power, information for instructing the peer BLE device to gradually reduce the transmission power, and The information for instructing the opposite-end BLE device to increase the transmission power to the maximum transmission power, and the information for indicating that the opposite-end BLE device does not adjust the transmission power.
  • the transmit power information of the local BLE device includes: information about the current transmit power of the local BLE device and information about the physical layer PHY type of the local BLE device.
  • the program 510 is further configured to cause the BLE chip 502 to send a radio frequency power adjustment request to the peer BLE device according to the difference, and send the request to the peer BLE device through a PDU according to the difference. RF power adjustment request.
  • the program 510 is further configured to cause the BLE chip 502 to send a radio frequency power adjustment request to the peer BLE device according to the difference, to instruct the peer BLE device to adjust the peer end according to the radio frequency power adjustment request.
  • a radio frequency power adjustment request is sent to the opposite BLE device to instruct the opposite BLE device to reduce the opposite BLE device according to the radio frequency power adjustment request.
  • the difference is less than or equal to the second set difference threshold, sending a radio frequency power adjustment request to the peer BLE device to instruct the peer BLE device to increase the transmit power of the peer BLE device according to the radio frequency power adjustment request
  • the first set difference threshold and the second set difference threshold are opposite numbers to each other, and the first set difference threshold is a positive number and the second set difference threshold is a negative number.
  • the program 510 is further configured to cause the BLE chip 502 to receive the feedback information corresponding to the RF power adjustment request sent by the peer BLE device, where the feedback information carries: the peer BLE The adjustment result information of the device and / or the transmit power information of the opposite BLE device.
  • a radio frequency power adjustment request is sent to the peer BLE device to instruct the peer BLE.
  • the device performs transmit power adjustment.
  • a scheme for transmitting and adjusting transmission power of two BLE devices during Bluetooth communication is provided.
  • the transmission currently used by the BLE link can be determined to a certain extent. Whether the power is appropriate.
  • the RF power adjustment request between the two BLE devices can be adjusted in time through the RF power adjustment request without increasing hardware costs.
  • the BLE link can also be guaranteed when the power level of the BLE device changes. Effectiveness to avoid disconnection of the BLE link to ensure normal data transmission between BLE devices.
  • the existing BLE devices lack a method of transmitting power levels interactively. Therefore, when the BLE devices are relatively close, if the BLE devices are still working at the maximum power, it will inevitably cause battery loss and shorten the battery life of the BLE devices.
  • a comparison can be made between the signal quality and a set threshold, and the difference between the two is obtained according to the comparison result to request power adjustment of the opposite BLE device. . Therefore, the RF power can be flexibly adjusted according to the actual conditions of the two BLE devices, thereby reducing battery loss and extending battery life.
  • An embodiment of the present invention further provides an electronic terminal including the BLE chip as described in the third or fourth embodiment; or, it includes the BLE device as described in the fifth embodiment.
  • radio frequency power adjustment scheme provided by the embodiment of the present invention can be implemented based on the existing BLEV5.0 protocol, but is not limited thereto, and other similar low-power Bluetooth communication scenarios are also applicable.
  • the device embodiments described above are only schematic, and the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, may be located in One place, or can be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the objective of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without creative labor.
  • the embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, they can also be implemented by hardware. Based on such an understanding, the above-mentioned technical solution that is essentially or contributes to the existing technology may be embodied in the form of a software product.
  • the computer software product may be stored in a computer-readable storage medium.
  • the computer-readable record Media includes any mechanism for storing or transmitting information in a form readable by a computer (eg, a computer).
  • machine-readable media include read-only memory (ROM), random-access memory (RAM), magnetic disk storage media, optical storage media, flash storage media, electrical, optical, acoustic, or other forms of propagation signals (e.g., carrier waves , Infrared signal, digital signal, etc.), the computer software product includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute each embodiment or some parts of the embodiment Methods.

Landscapes

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

Abstract

本发明实施例提供了一种射频功率调整方法、BLE芯片、BLE设备及电子终端,其中,所述射频功率调整方法包括:获取与对端BLE设备之间的BLE链路的信号质量;将所述信号质量与设定阈值进行比较,获取所述信号质量与所述设定阈值的差异;根据所述差异,向所述对端BLE设备发送射频功率调整请求,以指示所述对端BLE设备根据所述射频功率调整请求调整所述对端BLE设备的发射功率。通过本发明实施例,能够在BLE设备功率等级变化时也可保证BLE链路的有效性,避免BLE链路断开,以保证BLE设备间的正常数据传输。

Description

射频功率调整方法、BLE芯片、BLE设备及电子终端 技术领域
本发明实施例涉及蓝牙技术领域,尤其涉及一种射频功率调整方法、BLE芯片、BLE设备及电子终端。
背景技术
随着通信和终端技术的发展,蓝牙技术被广泛应用于各种设备中,如,移动终端设备、物联网设备,等等。与此同时,这些应用了蓝牙技术的设备之间的低功耗数据传输也越来越受重视,由此,BLE(Bluetooth Low Energy,蓝牙低功耗)技术应运而生。
蓝牙技术联盟推出的BLE技术以低功耗为出发点,BLE协议从V4.0版本,V4.1版本、V4.2版本已经发展到V5.0版本,相关的低功耗技术也逐渐增加。但是,在BLEV5.0协议中,蓝牙的最大发射功率增大到100mW(+20dBm),而之前的BLEV4.0协议、BLEV4.1协议和BLEV4.2协议中,蓝牙的最大发射功率只有10mW。发射功率的增大虽然可以增加蓝牙的通信距离,但同时,也势必影响使用了BLE技术的BLE设备的功耗,同样也会影响BLE链路的数据传输质量和稳定性,导致链路质量问题。
为了避免最大发射功率导致的上述链路质量问题,在BLEV5.0协议中,将BLE设备的最大发射功率分为了4个等级,如下表。
功率等级 最大输出功率(P max) 最小输出功率
1 100mW(+20dBm) 10mW(+10dBm)
1.5 10mW(+10dBm) 0.01mW(-20dBm)
2 2.5mW(+4dBm) 0.01mW(-20dBm)
3 1mW(0dBm) 0.01mW(-20dBm)
从上表中可以看出,在BLE设备的第1个功率等级中,最大发射功率为100mW(+20dBm),相对应的最小发射功率为10mW(+10dBm)。如果BLE设备的功率等级从第1等级变成第1.5等级,且当两个BLE设备距离稍微变大 时,可能因为发射功率变小,两者之间又无法相互通知对方调整发射功率,由此导致不满足BLE设备正常工作的功率条件,造成两个BLE设备之间的链路断开。
因此,如何避免上述现象的发生,成为亟待解决的问题。
发明内容
本发明实施例提供一种射频功率调整方法、BLE芯片、BLE设备及电子终端,以解决上述问题。
根据本发明实施例的第一方面,提供了一种射频功率调整方法,包括:获取与对端BLE设备之间的BLE链路的信号质量;将所述信号质量与设定阈值进行比较,获取所述信号质量与所述设定阈值的差异;根据所述差异,向所述对端BLE设备发送射频功率调整请求,以指示所述对端BLE设备根据所述射频功率调整请求调整所述对端BLE设备的发射功率。
根据本发明实施例的第二方面,还提供了一种BLE芯片,包括:第一获取模块,用于获取与对端BLE设备之间的BLE链路的信号质量;第二获取模块,用于将所述信号质量与设定阈值进行比较,获取所述信号质量与所述设定阈值的差异;请求模块,用于根据所述差异,向所述对端BLE设备发送射频功率调整请求,以指示所述对端BLE设备根据所述射频功率调整请求调整所述对端BLE设备的发射功率。
根据本发明实施例的第三方面,还提供了一种BLE设备,包括:存储器、通信接口、通信总线和如第二方面所述的BLE芯片,所述BLE芯片、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;所述存储器用于存放至少一可执行指令,所述可执行指令使所述BLE芯片执行如第一方面所述的射频功率调整方法对应的操作。
根据本发明实施例的第四方面,还提供了一种电子终端,包括如第二方面所述的BLE芯片;或者,包括如第三方面所述的BLE设备。
通过本发明实施例提供的射频功率调整方案,根据本端BLE设备和对端BLE设备之间的BLE链路的信号质量与一设定阈值的差异,向对端BLE设备发送射频功率调整请求,指示对端BLE设备进行发射功率调整。通过本发明实施例,提供了一种两个BLE设备在蓝牙通信过程中进行发射功率交互和 调整的方案,通过信号质量与设定阈值的差异,可以在一定程度上确定BLE链路当前使用的发射功率是否适当,进而,以此为依据,通过射频功率调整请求及时实现对两个BLE设备之间的射频功率的调整,无需增加硬件成本,能够在BLE设备功率等级变化时也可保证BLE链路的有效性,避免BLE链路断开,以保证BLE设备间的正常数据传输。
此外,现有的BLE设备之间缺少交互发射功率等级的方式,所以当BLE设备距离较近时,如果BLE设备仍然以最大功率进行工作,势必造成BLE设备的电池损耗,缩短电池寿命。而通过本发明实施例提供的方案,对于进行通信的两个BLE设备中的任何一个都可以进行信号质量与设定阈值的比较,根据比较结果获得两者的差异进而请求对端BLE设备进行功率调整。由此,可以根据两个BLE设备的实际情况灵活调整射频功率,进而减少电池损耗,延长电池寿命。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为根据本发明实施例一的一种射频功率调整方法的步骤流程图;
图2为根据本发明实施例二的一种射频功率调整方法的步骤流程图;
图3为根据本发明实施例三的一种BLE芯片的结构框图;
图4为根据本发明实施例四的一种BLE芯片的结构框图;
图5为根据本发明实施例五的一种BLE设备的结构示意图。
具体实施方式
为使得本发明实施例的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明实施例一部分实施例,而非全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明实施例保护的范围。
实施例一
参照图1,示出了根据本发明实施例一的一种射频功率调整方法的步骤流程图。
本实施例的射频功率调整方法包括以下步骤:
步骤S102:获取与对端BLE设备之间的BLE链路的信号质量。
对于进行蓝牙通信的两个BLE设备来说,站在一个BLE设备的角度,以该BLE设备为本端BLE设备,则另一BLE设备即为对端BLE设备。两个BLE设备之间通过BLE链路进行低功耗蓝牙通信。
本实施例中,BLE链路的信号质量可以由本领域技术人员根据实际需求采用任意适当的指标进行表征,如,信号强度、链路质量、丢包率,等等。
步骤S104:将所述信号质量与设定阈值进行比较,获取所述信号质量与所述设定阈值的差异。
其中,所述设定阈值根据采用的信号质量的指标进行对应设置,具体阈值可以由本领域技术人员根据实际情况适当设置,例如,根据历史数据统计分析结果设置,或者根据仿真实验结果设置,或者根据人工经验设置等。可选地,当信号质量采用信号强度表征时,该设定阈值可以设置为“-60dbm~-80dbm”之间的任意数值。
步骤S106:根据所述差异,向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求调整对端BLE设备的发射功率。
其中,射频功率调整请求中携带有指示对端BLE设备进行发射功率调整的信息,对端BLE设备可以根据该信息进行发射功率的调整。
例如,当所述差异指示对端BLE设备的发射功率过大时,则可以通过射频功率调整请求,指示对端BLE设备减小发射功率;而当所述差异指示对端BLE设备的发射功率过小时,则可以通过射频功率调整请求,指示对端BLE设备增大发射功率。
通过本实施例,根据本端BLE设备和对端BLE设备之间的BLE链路的信号质量与一设定阈值的差异,向对端BLE设备发送射频功率调整请求,指示对端BLE设备进行发射功率调整。通过本实施例,提供了一种两个BLE设备在蓝牙通信过程中进行发射功率交互和调整的方案,通过信号质量与设定 阈值的差异,可以在一定程度上确定BLE链路当前使用的发射功率是否适当,进而,以此为依据,通过射频功率调整请求及时实现对两个BLE设备之间的射频功率的调整,无需增加硬件成本,能够在BLE设备功率等级变化时也可保证BLE链路的有效性,避免BLE链路断开,以保证BLE设备间的正常数据传输。
此外,现有的BLE设备之间缺少交互发射功率等级的方式,所以当BLE设备距离较近时,如果BLE设备仍然以最大功率进行工作,势必造成BLE设备的电池损耗,缩短电池寿命。而通过本实施例提供的方案,对于进行通信的两个BLE设备中的任何一个都可以进行信号质量与设定阈值的比较,根据比较结果获得两者的差异进而请求对端BLE设备进行功率调整。由此,可以根据两个BLE设备的实际情况灵活调整射频功率,进而减少电池损耗,延长电池寿命。
本实施例的射频功率调整方法可以由任意适当的应用BLE技术的设备或装置实现,包括但不限于:移动终端、台式机、工控设备等。
实施例二
参照图2,示出了根据本发明实施例二的一种射频功率调整方法的步骤流程图。
本实施例的射频功率调整方法包括以下步骤:
步骤S202:本端BLE设备获取与对端BLE设备之间的BLE链路的信号质量。
如前所述,信号质量可以由本领域技术人员采用诸如信号强度、链路质量、丢包率等任意适当的指标表征,本实施例中,使用信号强度表征BLE链路的信号质量。
步骤S204:本端BLE设备将所述信号质量与设定阈值进行比较,获取所述信号质量与所述设定阈值的差异。
当两个BLE设备建立连接后,一个角色是主设备,另一个角色是从设备。具体到本实施例中,当本端BLE设备为主设备时,对端BLE设备则为从设备;而当本端BLE设备为从设备时,对端BLE设备则为主设备。也即,本实施例中,不对本端BLE设备和对端BLE设备的角色进行限定。
两个BLE设备建立连接后,主设备和从设备都会针对BLE链路预设一个信号质量阈值即预设阈值,如与主设备对应的A master,与从设备对应的A slave。例如,主设备和从设备的BLE芯片的应用程序在建立链接时,可以通过相应的接口函数,设置一个预设信号质量阈值到BLE芯片的固件中,该信号质量阈值可以选择-60dbm~-80dbm之间的任意数值。
一种可行方式中,获取到的所述信号质量与所述设定阈值的差异可以为两者之差的绝对值;另一种可行方式中,获取到的所述信号质量与所述设定阈值的差异可以为:所述信号质量减去所述设定阈值的差值(此种情况下,该差值可能为正,也可能-为负)。采用绝对值的方式,简化了对所述差异的处理;而采用差值的方式,则可以分别针对不同的情况进行更有针对性的处理,便于后续的射频功率调整的具体调整策略的确定。
可选地,还可以为所述差异设置差异阈值,以评价差异水平。当采用前一种绝对值方式时,可以为所述差异设置一个差异阈值;而当采用后一种差值方式时,可以为所述差异设置第一设定差异阈值和第二设定差异阈值,其中,第一设定差异阈值和第二设定差异阈值互为相反数。通过设置差异阈值,可以准确评价BLE链路当前的信号质量与预设阈值的差异程度,进而为后进行射频功率调整提供依据。
例如,主设备和从设备可以根据使用场景,分别设置用于信号质量比较的阈值π master和π slave,如,将π master和π slave均设置为10dbm。主设备或者从设备通过相关的射频算法计算得到接收信号的信号质量B master或者B slave。在主设备端,比较B master和A master,在从设备端,比较B slave和A slave
步骤S206:本端BLE设备根据所述差异,向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求调整对端BLE设备的发射功率。
其中,本端BLE设备向对端BLE设备发送的射频功率调整请求中,可以携带功率调整策略信息和/或本端BLE设备的发射功率信息。
可选地,功率调整策略信息可以包括以下之一:用于指示对端BLE设备逐级增加发射功率的信息、用于指示对端BLE设备逐级减少发射功率的信息、用于指示对端BLE设备将发射功率增大到最大发射功率的信息、用于指示对端BLE设备不进行发射功率调整的信息。其中,针对BLE V5.0,逐级增加或 逐级减少时根据BLE V5.0的功率等级进行调整,如,从功率等级1调整为功率等级1.5,或者,从功率等级1.5调整到功率等级1。当然,不限于此,在非BLEV5.0情况下或其它实际应用中,本领域技术人员可以根据实际需求适当设置逐级增加或逐级减少的发射功率的具体数值,本发明实施例对此不作限制。
可选地,本端BLE设备的发射功率信息包括:本端BLE设备的当前发射功率的信息和本端BLE设备的PHY(物理层)类型的信息。
通过功率调整策略信息,可以明确指示对端BLE设备的发射功率调整方式;通过本端BLE设备的发射功率信息,可以告知对端BLE设备本端的当前通信方式及当前发射功率,以使对端BLE设备可以为后续蓝牙通信和进一步射频功率调整做好准备。
可选地,上述功率调整策略信息和/或本端BLE设备的发射功率信息可以携带在PDU(协议数据单元)中发送。也即,本步骤中,可以根据所述差异,通过PDU向对端BLE设备发送射频功率调整请求。通过PDU携带上述信息,一方面使得上述信息可以在相应的物理链路层进行有效和可靠地传输,另一方面也使得对端BLE设备可以无需额外处理即可快速地获取上述信息。在一种可行方式中,可以采用链路层的PDU来携带上述功率调整策略信息和/或本端BLE设备的发射功率信息。
在一种可行方式中,本端BLE设备向对端BLE设备发送的射频功率调整请求中携带功率调整策略信息,则对端BLE设备可以直接根据该功率调整策略信息进行发射功率的调整。
在另一种可行方式中,本端BLE设备向对端BLE设备发送的射频功率调整请求中携带本端BLE设备的发射功率信息,则对端BLE设备需要根据该发射功率信息以及所述对端BLE设备自身的发射功率信息进行比较后,根据比较结果确定功率调整策略,进而进行发射功率调整。
在再一种可行方式中,本端BLE设备向对端BLE设备发送的射频功率调整请求中既携带有功率调整策略信息又携带有本端BLE设备的发射功率信息,则对端BLE设备在根据功率调整策略信息进行发射功率调整的同时,还可以获知请求发送端的具体功率信息,以为后续的通信和进一步的功率调整提供依据。
此外,针对所述信号质量与所述预设阈值之间的差异,需要说明的是,若所述差异为差异绝对值,则本端BLE设备还需要确定所述信号质量与所述预设阈值的关系,进而确定具体的功率调整策略信息。而若所述差异包括第一设定差异阈值和第二设定差异阈值,则若所述差异大于或等于第一设定差异阈值,则向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求减小对端BLE设备的发射功率;若所述差异小于或等于第二设定差异阈值,则向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求增大对端BLE设备的发射功率;其中,第一设定差异阈值和第二设定差异阈值互为相反数,且第一设定差异阈值为正数,第二设定差异阈值为负数。
以下,以一个实例过程对上述过程进行说明。
例如,若B master-A master>=π master时,主设备就要求从设备减小BLE链路的射频功率;若B master-A master<=―π master时,主设备就要求从设备增大BLE链路的射频功率。类似地,若B slave-A slave>=π slave时,从设备就要求主设备减小BLE链路的射频功率;若B slave-A slave<=―π slave时,从设备就要求主设备增大BLE链路的射频功率。
而当B master和A master的差异的绝对值小于π master,或者,当0<=B master-A master<=π master,或者,0>=B master-A master>=―π master时,结束本次判断;当B slave和A slave的差异的绝对值小于π slave,或者,当0<=B slave-A slave<=π slave,或者,0>=B slave-A slave>=―π slave时,从设备就结束本次判断。
为了适配调整对端BLE设备的发射功率,本端BLE设备需要发送功率调整的请求数据包PDU。本实施例中,该请求数据包PDU中包含以下信息:功率调整策略信息和本端BLE设备的发射功率信息。其中,功率调整策略信息包含以下之一:1:逐级增加,2:逐级减少,3:增加到最大功率,4:不调整;本端BLE设备的发射功率信息包含以下:1:当前发射功率,2:当前PHY类型,其中,PHY类型包含:1M PHY,2M PHY,Coded PHY。其中,不同的类型表示不同的当前蓝牙应用方式,如,当前正在使用蓝牙进行电话沟通、或者邮件沟通、或者短信沟通等等,每个沟通方式使用不同的发射功率。与传统的使用PDU进行诸如更新链接参数、加密秘钥和版本信息等功能不同,本实施例中使用PDU携带上述功率调整策略信息和本端BLE设备的发射功 率信息,以实现发射功率的调整,具体地,本实施例中可以使用PDU的保留字段,或其它未被占用字段,或字节中未被占用的数字等携带上述信息,例如,PDU第一个字节中0表示更新链路参数,1表示加密秘钥,2表示版本信息,但可以使用3(未被占用的数字)表示功率调整策略信息,等等。
对端BLE设备会根据接收的PDU请求包,然后结合自身物理链路发射功率,进行调整适配。例如,当对端BLE设备接收到发射功率调整的请求数据包PDU后,会对该PDU的每个字段进行解析。当功率调整策略信息指示在某PHY上逐级增加发射功率时,如果该PHY的发射功率不是最大值,就会逐级增加发射功率;当功率调整策略信息指示在某PHY上逐级减少发射功率时,如果目前该PHY的发射功率不是最小值,则会逐级减少发射功率;当功率调整策略信息指示在某PHY上增加到最大发射功率时,则会增加到最大发射功率;当功率调整策略信息指示在某PHY上不修改时,则不会调整发射功率。
步骤S208:本端BLE设备接收对端BLE设备发送的、与射频功率调整请求对应的反馈信息。
其中,反馈信息中携带有:对端BLE设备的调整结果信息和/或对端BLE设备的发射功率信息。
例如,对端BLE设备对BLE链路的发射功率调整成功后,会回复发送射频功率调整请求的BLE设备一个PDU数据包,以表示功率调整的结果。该PDU数据包中包含以下信息:表示调整结果的信息和/或调整端BLE设备(本实施例中为所述对端BLE设备)的发射功率信息。其中,该PDU数据包中包含的一个表示调整结果的信息可以如,包含一个表示调整结果的字段,其中,1表示发射功率已经调整了一级,2表示不支持发射功率调整,3表示调整发射功率到最大功率,4表示调整发射功率到最小功率或者没有调整。其中1表示的发射功率已经调整了一级只有对端BLE设备没有处于最大发射功率时才使用。发射功率信息包含:1,当前BLE设备(所述对端BLE设备)的当前发射功率,2,当前BLE设备(所述对端BLE设备)的当前PHY类型,PHY类型包含:1M PHY,2M PHY,Coded PHY。
发送射频功率调整请求的BLE设备(本实施例中为所述本端BLE设备)接收到该反馈信息后,即可获知对端BLE设备的发射功率调整情况,进而为 后续操作提供参考和准备操作,如,使用调整后的射频功率进行蓝牙通信,或者,再次进行射频功率调整等等,本发明实施例对此不作限制。
通过本实施例,根据本端BLE设备和对端BLE设备之间的BLE链路的信号质量与一设定阈值的差异,向对端BLE设备发送射频功率调整请求,指示对端BLE设备进行发射功率调整。通过本实施例,提供了一种两个BLE设备在蓝牙通信过程中进行发射功率交互和调整的方案,通过信号质量与设定阈值的差异,可以在一定程度上确定BLE链路当前使用的发射功率是否适当,进而,以此为依据,通过射频功率调整请求及时实现对两个BLE设备之间的射频功率的调整,无需增加硬件成本,能够在BLE设备功率等级变化时也可保证BLE链路的有效性,避免BLE链路断开,以保证BLE设备间的正常数据传输,提升了数据传输的可靠性和低功耗性能。
此外,现有的BLE设备之间缺少交互发射功率等级的方式,所以当BLE设备距离较近时,如果BLE设备仍然以最大功率进行工作,势必造成BLE设备的电池损耗,缩短电池寿命。而通过本实施例提供的方案,对于进行通信的两个BLE设备中的任何一个都可以进行信号质量与设定阈值的比较,根据比较结果获得两者的差异进而请求对端BLE设备进行功率调整。由此,可以根据两个BLE设备的实际情况灵活调整射频功率,进而减少电池损耗,延长电池寿命。
本实施例的射频功率调整方法可以由任意适当的应用BLE技术的设备或装置实现,包括但不限于:移动终端、台式机、工控设备等。
实施例三
参照图3,示出了根据本发明实施例三的一种BLE芯片的结构框图。
本实施例的BLE芯片包括:第一获取模块302,用于获取与对端BLE设备之间的BLE链路的信号质量;第二获取模块304,用于将所述信号质量与设定阈值进行比较,获取所述信号质量与所述设定阈值的差异;请求模块306,用于根据所述差异,向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求调整对端BLE设备的发射功率。
本实施例的BLE芯片用于实现前述多个方法实施例中相应的射频功率调整方法,并具有相应的方法实施例的有益效果,在此不再赘述。
实施例四
参照图4,示出了根据本发明实施例四的一种BLE芯片的结构框图。
本实施例的BLE芯片包括:第一获取模块402,用于获取与对端BLE设备之间的BLE链路的信号质量;第二获取模块404,用于将所述信号质量与设定阈值进行比较,获取所述信号质量与所述设定阈值的差异;请求模块406,用于根据所述差异,向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求调整对端BLE设备的发射功率。
可选地,射频功率调整请求中包含有:功率调整策略信息和/或本端BLE设备的发射功率信息。
可选地,功率调整策略信息包括以下之一:用于指示对端BLE设备逐级增加发射功率的信息、用于指示对端BLE设备逐级减少发射功率的信息、用于指示对端BLE设备将发射功率增大到最大发射功率的信息、用于指示对端BLE设备不进行发射功率调整的信息。
可选地,本端BLE设备的发射功率信息包括:本端BLE设备的当前发射功率的信息和本端BLE设备的PHY类型的信息。
可选地,请求模块406用于根据所述差异,通过PDU向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求调整对端BLE设备的发射功率。
可选地,请求模块406用于:若所述差异大于或等于第一设定差异阈值,则向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求减小对端BLE设备的发射功率;若所述差异小于或等于第二设定差异阈值,则向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求增大对端BLE设备的发射功率;其中,第一设定差异阈值和第二设定差异阈值互为相反数,且,第一设定差异阈值为正数,第二设定差异阈值为负数。
可选地,本实施例的BLE芯片还包括:接收模块408,用于接收对端BLE设备发送的、与射频功率调整请求对应的反馈信息,其中,所述反馈信息中携带有:对端BLE设备的调整结果信息和/或对端BLE设备的发射功率信息。
本实施例的BLE芯片用于实现前述多个方法实施例中相应的射频功率调整方法,并具有相应的方法实施例的有益效果,在此不再赘述。
实施例五
参照图5,示出了根据本发明实施例五的一种BLE设备的结构示意图,本发明具体实施例并不对BLE设备的具体实现做限定。
如图5所示,该BLE设备可以包括:BLE芯片502、通信接口(Communications Interface)504、存储器(memory)506、以及通信总线508。
其中:
BLE芯片502、通信接口504、以及存储器506通过通信总线508完成相互间的通信。
通信接口504,用于与其它元件或其它BLE设备进行通信。
BLE芯片502,用于执行程序510,具体可以执行上述射频功率调整方法实施例中的相关步骤。
具体地,程序510可以包括程序代码,该程序代码包括计算机操作指令。
BLE芯片502可能是微处理器MPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。
存储器506,用于存放程序510。存储器506可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory)。
程序510具体可以用于使得BLE芯片502执行以下操作:获取与对端BLE设备之间的BLE链路的信号质量;将所述信号质量与设定阈值进行比较,获取所述信号质量与所述设定阈值的差异;根据所述差异,向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求调整对端BLE设备的发射功率。
在一种可选的实施方式中,射频功率调整请求中包含有:功率调整策略信息和/或本端BLE设备的发射功率信息。
在一种可选的实施方式中,功率调整策略信息包括以下之一:用于指示 对端BLE设备逐级增加发射功率的信息、用于指示对端BLE设备逐级减少发射功率的信息、用于指示对端BLE设备将发射功率增大到最大发射功率的信息、用于指示对端BLE设备不进行发射功率调整的信息。
在一种可选的实施方式中,本端BLE设备的发射功率信息包括:本端BLE设备的当前发射功率的信息和本端BLE设备的物理层PHY类型的信息。
在一种可选的实施方式中,程序510还用于使得BLE芯片502在根据所述差异,向对端BLE设备发送射频功率调整请求时,根据所述差异,通过PDU向对端BLE设备发送射频功率调整请求。
在一种可选的实施方式中,程序510还用于使得BLE芯片502在根据所述差异,向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求调整对端BLE设备的发射功率时,若所述差异大于或等于第一设定差异阈值,则向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求减小对端BLE设备的发射功率;若所述差异小于或等于第二设定差异阈值,则向对端BLE设备发送射频功率调整请求,以指示对端BLE设备根据射频功率调整请求增大对端BLE设备的发射功率;其中,第一设定差异阈值和第二设定差异阈值互为相反数,且,第一设定差异阈值为正数,第二设定差异阈值为负数。
在一种可选的实施方式中,程序510还用于使得BLE芯片502接收对端BLE设备发送的、与射频功率调整请求对应的反馈信息,其中,所述反馈信息中携带有:对端BLE设备的调整结果信息和/或对端BLE设备的发射功率信息。
程序510中各步骤的具体实现可以参见上述射频功率调整方法实施例中的相应步骤和单元中对应的描述,在此不赘述。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的设备和模块的具体工作过程,可以参考前述方法实施例中的对应过程描述,在此不再赘述。
通过本实施例的BLE设备,根据本端BLE设备和对端BLE设备之间的BLE链路的信号质量与一设定阈值的差异,向对端BLE设备发送射频功率调整请求,指示对端BLE设备进行发射功率调整。通过本实施例,提供了一种两个BLE设备在蓝牙通信过程中进行发射功率交互和调整的方案,通过信号质量与设定阈值的差异,可以在一定程度上确定BLE链路当前使用的发射功 率是否适当,进而,以此为依据,通过射频功率调整请求及时实现对两个BLE设备之间的射频功率的调整,无需增加硬件成本,能够在BLE设备功率等级变化时也可保证BLE链路的有效性,避免BLE链路断开,以保证BLE设备间的正常数据传输。
此外,现有的BLE设备之间缺少交互发射功率等级的方式,所以当BLE设备距离较近时,如果BLE设备仍然以最大功率进行工作,势必造成BLE设备的电池损耗,缩短电池寿命。而通过本实施例提供的方案,对于进行通信的两个BLE设备中的任何一个都可以进行信号质量与设定阈值的比较,根据比较结果获得两者的差异进而请求对端BLE设备进行功率调整。由此,可以根据两个BLE设备的实际情况灵活调整射频功率,进而减少电池损耗,延长电池寿命。
本发明实施例还提供了一种电子终端,其包括如上述实施例三或四中所述的BLE芯片;或者,其包括如上述实施例五中所述的BLE设备。
此外,需要说明的是,本发明实施例提供的射频功率调整方案可以基于现有的BLEV5.0协议实现,但不限于此,其它类似的低功耗蓝牙通信场景也同样适用。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,所述计算机可读记录介质包括用于以计算机(例如计算机) 可读的形式存储或传送信息的任何机制。例如,机器可读介质包括只读存储器(ROM)、随机存取存储器(RAM)、磁盘存储介质、光存储介质、闪速存储介质、电、光、声或其他形式的传播信号(例如,载波、红外信号、数字信号等)等,该计算机软件产品包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本发明实施例的技术方案,而非对其限制;尽管参照前述实施例对本发明实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (16)

  1. 一种射频功率调整方法,包括:
    获取与对端BLE设备之间的BLE链路的信号质量;
    将所述信号质量与设定阈值进行比较,获取所述信号质量与所述设定阈值的差异;
    根据所述差异,向所述对端BLE设备发送射频功率调整请求,以指示所述对端BLE设备根据所述射频功率调整请求调整所述对端BLE设备的发射功率。
  2. 如权利要求1所述的方法,其中,所述射频功率调整请求中包含有:功率调整策略信息和/或本端BLE设备的发射功率信息。
  3. 如权利要求2所述的方法,其中,所述功率调整策略信息包括以下之一:用于指示对端BLE设备逐级增加发射功率的信息、用于指示对端BLE设备逐级减少发射功率的信息、用于指示对端BLE设备将发射功率增大到最大发射功率的信息、用于指示对端BLE设备不进行发射功率调整的信息。
  4. 如权利要求2所述的方法,其中,所述本端BLE设备的发射功率信息包括:本端BLE设备的当前发射功率的信息和本端BLE设备的物理层PHY类型的信息。
  5. 如权利要求1-4任一项所述的方法,其中,所述根据所述差异,向所述对端BLE设备发送射频功率调整请求,包括:
    根据所述差异,通过协议数据单元PDU向所述对端BLE设备发送射频功率调整请求。
  6. 如权利要求1-5任一项所述的方法,其中,所述根据所述差异,向所述对端BLE设备发送射频功率调整请求,以指示所述对端BLE设备根据所述射频功率调整请求调整所述对端BLE设备的发射功率,包括:
    若所述差异大于或等于第一设定差异阈值,则向所述对端BLE设备发送射频功率调整请求,以指示所述对端BLE设备根据所述射频功率调整请求减小所述对端BLE设备的发射功率;
    若所述差异小于或等于第二设定差异阈值,则向所述对端BLE设备发送射频功率调整请求,以指示所述对端BLE设备根据所述射频功率调整请求增大所述对端BLE设备的发射功率;
    其中,所述第一设定差异阈值和所述第二设定差异阈值互为相反数,且,所述第一设定差异阈值为正数,所述第二设定差异阈值为负数。
  7. 如权利要求1-6任一项所述的方法,其中,所述方法还包括:
    接收所述对端BLE设备发送的、与所述射频功率调整请求对应的反馈信息,其中,所述反馈信息中携带有:所述对端BLE设备的调整结果信息和/或所述对端BLE设备的发射功率信息。
  8. 一种BLE芯片,包括:
    第一获取模块,用于获取与对端BLE设备之间的BLE链路的信号质量;
    第二获取模块,用于将所述信号质量与设定阈值进行比较,获取所述信号质量与所述设定阈值的差异;
    请求模块,用于根据所述差异,向所述对端BLE设备发送射频功率调整请求,以指示所述对端BLE设备根据所述射频功率调整请求调整所述对端BLE设备的发射功率。
  9. 如权利要求8所述的BLE芯片,其中,所述射频功率调整请求中包含有:功率调整策略信息和/或本端BLE设备的发射功率信息。
  10. 如权利要求9所述的BLE芯片,其中,所述功率调整策略信息包括以下之一:用于指示对端BLE设备逐级增加发射功率的信息、用于指示对端BLE设备逐级减少发射功率的信息、用于指示对端BLE设备将发射功率增大到最大发射功率的信息、用于指示对端BLE设备不进行发射功率调整的信息。
  11. 如权利要求9所述的BLE芯片,其中,所述本端BLE设备的发射功率信息包括:本端BLE设备的当前发射功率的信息和本端BLE设备的物理层PHY类型的信息。
  12. 如权利要求8-11任一项所述的BLE芯片,其中,所述请求模块,用于根据所述差异,通过协议数据单元PDU向所述对端BLE设备发送射频功率调整请求,以指示所述对端BLE设备根据所述射频功率调整请求调整所述对端BLE设备的发射功率。
  13. 如权利要求8-12任一项所述的BLE芯片,其中,所述请求模块,用于:
    若所述差异大于或等于第一设定差异阈值,则向所述对端BLE设备 发送射频功率调整请求,以指示所述对端BLE设备根据所述射频功率调整请求减小所述对端BLE设备的发射功率;
    若所述差异小于或等于第二设定差异阈值,则向所述对端BLE设备发送射频功率调整请求,以指示所述对端BLE设备根据所述射频功率调整请求增大所述对端BLE设备的发射功率;
    其中,所述第一设定差异阈值和所述第二设定差异阈值互为相反数,且,所述第一设定差异阈值为正数,所述第二设定差异阈值为负数。
  14. 如权利要求8-13任一项所述的BLE芯片,其中,所述BLE芯片还包括:
    接收模块,用于接收所述对端BLE设备发送的、与所述射频功率调整请求对应的反馈信息,其中,所述反馈信息中携带有:所述对端BLE设备的调整结果信息和/或所述对端BLE设备的发射功率信息。
  15. 一种BLE设备,包括:存储器、通信接口、通信总线和如权利要求8-14中任一项所述的BLE芯片,所述BLE芯片、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;
    所述存储器用于存放至少一可执行指令,所述可执行指令使所述BLE芯片执行如权利要求8-14任一项所述的射频功率调整方法对应的操作。
  16. 一种电子终端,包括如权利要求15所述的BLE设备;或者,包括如权利要求8-14任一项所述的BLE芯片。
PCT/CN2018/093345 2018-06-28 2018-06-28 射频功率调整方法、ble芯片、ble设备及电子终端 WO2020000307A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/093345 WO2020000307A1 (zh) 2018-06-28 2018-06-28 射频功率调整方法、ble芯片、ble设备及电子终端
CN201880000914.4A CN110870352B (zh) 2018-06-28 2018-06-28 射频功率调整方法、ble芯片、ble设备及电子终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/093345 WO2020000307A1 (zh) 2018-06-28 2018-06-28 射频功率调整方法、ble芯片、ble设备及电子终端

Publications (1)

Publication Number Publication Date
WO2020000307A1 true WO2020000307A1 (zh) 2020-01-02

Family

ID=68985712

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/093345 WO2020000307A1 (zh) 2018-06-28 2018-06-28 射频功率调整方法、ble芯片、ble设备及电子终端

Country Status (2)

Country Link
CN (1) CN110870352B (zh)
WO (1) WO2020000307A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114386A (zh) * 2021-03-31 2021-07-13 北京万集科技股份有限公司 路侧单元的射频参数监控预警方法及装置
CN114630349A (zh) * 2022-03-18 2022-06-14 深圳绿米联创科技有限公司 控制方法、装置、系统、电子设备和存储介质
WO2023225336A1 (en) 2022-05-20 2023-11-23 Novartis Ag Met bcl-xl inhibitor antibody-drug conjugates and methods of use thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114158016A (zh) * 2021-10-21 2022-03-08 中山市澳多电子科技有限公司 一种高效的蓝牙连接方法、本端蓝牙设备及蓝牙连接系统
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
CN101043236A (zh) * 2006-05-10 2007-09-26 华为技术有限公司 控制网状网络节点发射功率的方法及网状网络节点
CN101841883A (zh) * 2006-05-10 2010-09-22 华为技术有限公司 控制网状网络节点发射功率的方法及装置
EP2464177A1 (en) * 2010-12-10 2012-06-13 HTC Corporation Electronic apparatus and power adjustment method thereof
CN103037493A (zh) * 2012-12-14 2013-04-10 中兴通讯股份有限公司 动态调整发射功率的方法及装置、智能终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043236A (zh) * 2006-05-10 2007-09-26 华为技术有限公司 控制网状网络节点发射功率的方法及网状网络节点
CN101841883A (zh) * 2006-05-10 2010-09-22 华为技术有限公司 控制网状网络节点发射功率的方法及装置
EP2464177A1 (en) * 2010-12-10 2012-06-13 HTC Corporation Electronic apparatus and power adjustment method thereof
CN103037493A (zh) * 2012-12-14 2013-04-10 中兴通讯股份有限公司 动态调整发射功率的方法及装置、智能终端

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114386A (zh) * 2021-03-31 2021-07-13 北京万集科技股份有限公司 路侧单元的射频参数监控预警方法及装置
CN114630349A (zh) * 2022-03-18 2022-06-14 深圳绿米联创科技有限公司 控制方法、装置、系统、电子设备和存储介质
CN114630349B (zh) * 2022-03-18 2024-04-09 深圳绿米联创科技有限公司 控制方法、装置、系统、电子设备和存储介质
WO2023225336A1 (en) 2022-05-20 2023-11-23 Novartis Ag Met bcl-xl inhibitor antibody-drug conjugates and methods of use thereof

Also Published As

Publication number Publication date
CN110870352A (zh) 2020-03-06
CN110870352B (zh) 2022-03-01

Similar Documents

Publication Publication Date Title
WO2020000307A1 (zh) 射频功率调整方法、ble芯片、ble设备及电子终端
JP6342493B2 (ja) 高次変調及び低次変調に対応している伝送方法、並びに装置
EP2924904B1 (en) Method and system for managing modulation and coding scheme
EP3082367B1 (en) Method and device for reducing power consumption
US9832776B2 (en) Method, network device, and system for transmit power control during device to-device communication
CN106255183B (zh) 调整Wi-Fi发射功率的方法、装置及终端
WO2018040258A1 (zh) 基站信号发射功率的调整方法、装置、设备及存储介质
US20160219532A1 (en) Power control method, base station, and user equipment
US20200229105A1 (en) Power Control Method, Terminal, and Network Device
WO2018102964A1 (zh) 传输信息的方法和设备
CN104602334A (zh) 一种点对多点通信系统的功率控制优化方法
WO2014176735A1 (zh) 通信控制方法、用户设备、网络服务器和系统
CN104202716B (zh) 一种基于异构网络的d2d高能效功率优化方法
US20150124695A1 (en) Systems, methods and devices for modifying relay operation of a wireless device
US20240073034A1 (en) Certificate chain compression to extend node operational lifetime
CN107809791A (zh) 无线局域网的通信方法、接收机、接入点和站点
EP2904857A2 (en) Uplink power control for machine type communication devices
CN113534939A (zh) 一种数据接口的休眠和唤醒方法,相关装置以及系统
CN105245258A (zh) 基于蓝牙的开箱方法及装置
CN112738780B (zh) 测量参数的上报方法及装置、存储介质、电子装置
CN104066072A (zh) 一种确定待入网新节点的父节点的方法
CN111669811A (zh) 一种低功耗无线发射机及其发射功率控制方法
US20230269672A1 (en) Self-adaptive transmit power control for bluetooth
CN110858995B (zh) 数据发射功率的控制方法、装置、存储介质及用户设备
TWI722590B (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: 18924824

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18924824

Country of ref document: EP

Kind code of ref document: A1