CN110139262B - Bluetooth communication control method and related product - Google Patents
Bluetooth communication control method and related product Download PDFInfo
- Publication number
- CN110139262B CN110139262B CN201910497650.4A CN201910497650A CN110139262B CN 110139262 B CN110139262 B CN 110139262B CN 201910497650 A CN201910497650 A CN 201910497650A CN 110139262 B CN110139262 B CN 110139262B
- Authority
- CN
- China
- Prior art keywords
- target
- bluetooth
- electronic device
- transmission power
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 70
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000005540 biological transmission Effects 0.000 claims description 178
- 210000003462 vein Anatomy 0.000 claims description 62
- 238000013441 quality evaluation Methods 0.000 claims description 37
- 238000013507 mapping Methods 0.000 claims description 35
- 238000005457 optimization Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 17
- 230000007613 environmental effect Effects 0.000 claims description 9
- 238000003709 image segmentation Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 17
- 238000012545 processing Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 230000003287 optical effect Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003321 amplification Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003631 expected effect Effects 0.000 description 1
- AMGQUBHHOARCQH-UHFFFAOYSA-N indium;oxotin Chemical compound [In].[Sn]=O AMGQUBHHOARCQH-UHFFFAOYSA-N 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/318—Received signal strength
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/382—Monitoring; Testing of propagation channels for resource allocation, admission control or handover
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/04—Transmission power control [TPC]
- H04W52/06—TPC algorithms
- H04W52/14—Separate analysis of uplink or downlink
- H04W52/146—Uplink power control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/04—Transmission power control [TPC]
- H04W52/18—TPC being performed according to specific parameters
- H04W52/24—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
- H04W52/245—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本申请涉及通信技术领域,具体涉及一种蓝牙通信控制方法及相关产品。The present application relates to the field of communication technologies, in particular to a Bluetooth communication control method and related products.
背景技术Background technique
随着电子设备(如手机、平板电脑等等)的大量普及应用,电子设备能够支持的应用越来越多,功能越来越强大,电子设备向着多样化、个性化的方向发展,成为用户生活中不可缺少的电子用品。With the widespread application of electronic devices (such as mobile phones, tablet computers, etc.), electronic devices can support more and more applications, and their functions are becoming more and more powerful. Electronic devices are developing in the direction of diversification and personalization. Indispensable electronic supplies.
对于电子设备来说,蓝牙模块为电子设备的标配模块,蓝牙模块发射功率越大,则电子设备功耗越大,蓝牙模块发射功率小,则传输距离越短,因此,如何智能调节电子设备的蓝牙发射功率的问题亟待解决。For electronic devices, the Bluetooth module is the standard module of electronic devices. The greater the transmission power of the Bluetooth module, the greater the power consumption of the electronic device, and the smaller the transmission power of the Bluetooth module, the shorter the transmission distance. Therefore, how to intelligently adjust the electronic device The problem of high Bluetooth transmit power needs to be solved urgently.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种蓝牙通信控制方法及相关产品,能够智能调节电子设备的蓝牙发射功率。The embodiments of the present application provide a Bluetooth communication control method and related products, which can intelligently adjust the Bluetooth transmit power of an electronic device.
第一方面,本申请实施例提供一种蓝牙通信控制方法,应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present application provides a Bluetooth communication control method, which is applied to an electronic device, and the method includes:
接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,所述电子设备与所述终端设备处于蓝牙连接状态;receiving the received signal strength indication value RSSI of the Bluetooth signal of the terminal device, the electronic device and the terminal device are in a Bluetooth connection state;
在所述RSSI低于第一预设阈值时,增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制所述电子设备以所述第一目标蓝牙发射功率进行工作;When the RSSI is lower than the first preset threshold, increase the Bluetooth transmission power of the electronic device to obtain a first target Bluetooth transmission power, and control the electronic device to work at the first target Bluetooth transmission power;
在所述RSSI大于第二预设阈值时,降低所述电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制所述电子设备以所述第二目标蓝牙发射功率进行工作,其中,所述第一预设阈值小于所述第二预设阈值。When the RSSI is greater than the second preset threshold, the Bluetooth transmission power of the electronic device is reduced to obtain a second target Bluetooth transmission power, and the electronic device is controlled to work at the second target Bluetooth transmission power, wherein, The first preset threshold is smaller than the second preset threshold.
第二方面,本申请实施例提供一种蓝牙通信控制装置,应用于电子设备,所述装置包括:In a second aspect, an embodiment of the present application provides a Bluetooth communication control device, which is applied to an electronic device, and the device includes:
通信单元,用于接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,所述电子设备与所述终端设备处于蓝牙连接状态;a communication unit, configured to receive a received signal strength indication value RSSI of a Bluetooth signal of a terminal device, where the electronic device and the terminal device are in a Bluetooth connection state;
调整单元,用于在所述RSSI低于第一预设阈值时,增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制所述电子设备以所述第一目标蓝牙发射功率进行工作;An adjustment unit, configured to increase the Bluetooth transmit power of the electronic device when the RSSI is lower than a first preset threshold to obtain a first target Bluetooth transmit power, and control the electronic device to transmit with the first target Bluetooth power to work;
所述调整单元,还具体用于在所述RSSI大于第二预设阈值时,降低所述电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制所述电子设备以所述第二目标蓝牙发射功率进行工作,其中,所述第一预设阈值小于所述第二预设阈值。The adjustment unit is also specifically configured to reduce the Bluetooth transmit power of the electronic device when the RSSI is greater than the second preset threshold to obtain a second target Bluetooth transmit power, and control the electronic device to use the second target Bluetooth transmit power. The target Bluetooth transmit power works, wherein the first preset threshold is smaller than the second preset threshold.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面中的步骤的指令。In a third aspect, embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above-mentioned processing The above program includes instructions for executing the steps in the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the computer program as described in the first embodiment of the present application. Some or all of the steps described in an aspect.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. Examples include some or all of the steps described in the first aspect. The computer program product may be a software installation package.
可以看出,本申请实施例中所描述的蓝牙通信控制方法及相关产品,应用于电子设备,接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,电子设备与终端设备处于蓝牙连接状态,在RSSI低于第一预设阈值时,增加电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制电子设备以第一目标蓝牙发射功率进行工作,在RSSI大于第二预设阈值时,降低电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制电子设备以第二目标蓝牙发射功率进行工作,其中,第一预设阈值小于第二预设阈值,如此,能够依据终端设备的RSSI,动态调节蓝牙发射功率,提升了蓝牙发射功率调节的智能性。It can be seen that the Bluetooth communication control method and related products described in the embodiments of the present application are applied to electronic equipment, and the received signal strength indication value RSSI of the Bluetooth signal of the terminal equipment is received, and the electronic equipment and the terminal equipment are in a Bluetooth connection state, When the RSSI is lower than the first preset threshold, increase the Bluetooth transmit power of the electronic device to obtain the first target Bluetooth transmit power, and control the electronic device to work with the first target Bluetooth transmit power, and when the RSSI is greater than the second preset threshold , reduce the Bluetooth transmission power of the electronic device, obtain the second target Bluetooth transmission power, and control the electronic device to work with the second target Bluetooth transmission power, wherein the first preset threshold is smaller than the second preset threshold, so that it can be determined according to the terminal The RSSI of the device dynamically adjusts the Bluetooth transmission power, which improves the intelligence of Bluetooth transmission power adjustment.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1A是本申请实施例提供的一种电子设备的结构示意图;FIG. 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图1B是本申请实施例提供的一种用于实现蓝牙通信控制方法的网络架构示意图;1B is a schematic diagram of a network architecture for implementing a Bluetooth communication control method provided by an embodiment of the present application;
图1C是本申请实施例提供的一种蓝牙通信控制方法的流程示意图;1C is a schematic flowchart of a Bluetooth communication control method provided by an embodiment of the present application;
图2是本申请实施例提供的另一种蓝牙通信控制方法的流程示意图;2 is a schematic flowchart of another Bluetooth communication control method provided by an embodiment of the present application;
图3是本申请实施例提供的另一种蓝牙通信控制方法的流程示意图;3 is a schematic flowchart of another Bluetooth communication control method provided by an embodiment of the present application;
图4是本申请实施例提供的另一种电子设备的结构示意图;4 is a schematic structural diagram of another electronic device provided by an embodiment of the present application;
图5A是本申请实施例提供的一种蓝牙通信控制装置的功能单元组成框图;FIG. 5A is a block diagram of functional units of a Bluetooth communication control device provided by an embodiment of the present application;
图5B是本申请实施例提供的另一种蓝牙通信控制装置的功能单元组成框图;5B is a block diagram of functional units of another Bluetooth communication control device provided by an embodiment of the present application;
图5C是本申请实施例提供的另一种蓝牙通信控制装置的功能单元组成框图。FIG. 5C is a block diagram of functional units of another Bluetooth communication control device provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
本申请实施例所涉及到的电子设备、终端设备均可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备(智能手表、智能手环、无线耳机、增强现实/虚拟现实设备、智能眼镜)、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(user equipment,UE),移动台(mobile station,MS),智能家居设备(智能冰箱、智能台灯、智能饮水机、智能洗衣机、智能电视机、智能烤箱、智能按摩椅、智能电饭煲、智能摄像头、智能路由器等等)等等。The electronic devices and terminal devices involved in the embodiments of this application may include various handheld devices, vehicle-mounted devices, and wearable devices (smart watches, smart bracelets, wireless headsets, augmented reality/virtual reality devices, smart glasses), computing devices or other processing devices connected to wireless modems, and various forms of user equipment (UE), mobile stations (MS), smart home devices (smart refrigerators, smart desk lamps, smart Water dispenser, smart washing machine, smart TV, smart oven, smart massage chair, smart rice cooker, smart camera, smart router, etc.) and so on.
另外,本申请实施例中,第一预设阈值、第二预设阈值均可以由用户自行设置或者系统默认,其中,第一预设阈值小于第二预设阈值。In addition, in this embodiment of the present application, both the first preset threshold and the second preset threshold may be set by the user or the system defaults, wherein the first preset threshold is smaller than the second preset threshold.
下面对本申请实施例进行详细介绍。The embodiments of the present application will be described in detail below.
请参阅图1A,图1A是本申请实施例公开的一种电子设备的结构示意图,电子设备100包括存储和处理电路110,以及与所述存储和处理电路110连接的传感器170,传感器170包括摄像头,其中:Please refer to FIG. 1A . FIG. 1A is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application. The
电子设备100可以包括控制电路,该控制电路可以包括存储和处理电路110。该存储和处理电路110可以存储器,例如硬盘驱动存储器,非易失性存储器(例如闪存或用于形成固态驱动器的其它电子可编程只读存储器等),易失性存储器(例如静态或动态随机存取存储器等)等,本申请实施例不作限制。存储和处理电路110中的处理电路可以用于控制电子设备100的运转。该处理电路可以基于一个或多个微处理器,微控制器,数字信号处理器,基带处理器,功率管理单元,音频编解码器芯片,专用集成电路,显示驱动器集成电路等来实现。
存储和处理电路110可用于运行电子设备100中的软件,例如互联网浏览应用程序,互联网协议语音(Voice over Internet Protocol,VOIP)电话呼叫应用程序,电子邮件应用程序,媒体播放应用程序,操作系统功能等。这些软件可以用于执行一些控制操作,例如,基于照相机的图像采集,基于环境光传感器的环境光测量,基于接近传感器的接近传感器测量,基于诸如发光二极管的状态指示灯等状态指示器实现的信息显示功能,基于触摸传感器的触摸事件检测,与在多个(例如分层的)显示屏上显示信息相关联的功能,与执行无线通信功能相关联的操作,与收集和产生音频信号相关联的操作,与收集和处理按钮按压事件数据相关联的控制操作,以及电子设备100中的其它功能等,本申请实施例不作限制。Storage and
电子设备100可以包括输入-输出电路150。输入-输出电路150可用于使电子设备100实现数据的输入和输出,即允许电子设备100从外部设备接收数据和也允许电子设备100将数据从电子设备100输出至外部设备。输入-输出电路150可以进一步包括传感器170。传感器170可以包括环境光传感器,基于光和电容的接近传感器,指纹识别模组,静脉识别模组、触摸传感器(例如,基于光触摸传感器和/或电容式触摸传感器,其中,触摸传感器可以是触控显示屏的一部分,也可以作为一个触摸传感器结构独立使用),加速度传感器,摄像头,和其它传感器等,摄像头可以为前置摄像头或者后置摄像头,指纹识别模组可集成于显示屏下方,用于采集指纹图像,指纹识别模组可以为以下至少一种:光学指纹识别模组、或者超声波指纹识别模组等等,在此不作限定。
输入-输出电路150还可以包括一个或多个显示屏,例如显示屏130。显示屏130可以包括液晶显示屏,有机发光二极管显示屏,电子墨水显示屏,等离子显示屏,使用其它显示技术的显示屏中一种或者几种的组合。显示屏130可以包括触摸传感器阵列(即,显示屏130可以是触控显示屏)。触摸传感器可以是由透明的触摸传感器电极(例如氧化铟锡(ITO)电极)阵列形成的电容式触摸传感器,或者可以是使用其它触摸技术形成的触摸传感器,例如音波触控,压敏触摸,电阻触摸,光学触摸等,本申请实施例不作限制。Input-
电子设备100还可以包括音频组件140。音频组件140可以用于为电子设备100提供音频输入和输出功能。电子设备100中的音频组件140可以包括扬声器,麦克风,蜂鸣器,音调发生器以及其它用于产生和检测声音的组件。The
通信电路120可以用于为电子设备100提供与外部设备通信的能力。通信电路120可以包括模拟和数字输入-输出接口电路,和基于射频信号和/或光信号的无线通信电路。通信电路120中的无线通信电路可以包括射频收发器电路、功率放大器电路、低噪声放大器、开关、滤波器和天线。举例来说,通信电路120中的无线通信电路可以包括用于通过发射和接收近场耦合电磁信号来支持近场通信(Near Field Communication,NFC)的电路。例如,通信电路120可以包括近场通信天线和近场通信收发器。通信电路120还可以包括蜂窝电话收发器和天线,无线局域网收发器电路和天线等,通信电路120还可以包括蓝牙模块和天线。
电子设备100还可以进一步包括电池,电力管理电路和其它输入-输出单元160。输入-输出单元160可以包括按钮,操纵杆,点击轮,滚动轮,触摸板,小键盘,键盘,照相机,发光二极管和其它状态指示器等。The
用户可以通过输入-输出电路150输入命令来控制电子设备100的操作,并且可以使用输入-输出电路150的输出数据以实现接收来自电子设备100的状态信息和其它输出。A user may input commands through the input-
基于上述图1A所描述的电子设备,请参阅图1B,图1B为用于实现蓝牙通信控制方法的网络架构示意图,其中,电子设备与终端设备之间建立连接通信连接,基于上述图1A、图1B,可以用于实现如下功能:Based on the electronic device described in FIG. 1A, please refer to FIG. 1B. FIG. 1B is a schematic diagram of a network architecture for implementing a Bluetooth communication control method, wherein a connection communication connection is established between the electronic device and the terminal device. 1B, can be used to achieve the following functions:
接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,所述电子设备与所述终端设备处于蓝牙连接状态;receiving the received signal strength indication value RSSI of the Bluetooth signal of the terminal device, the electronic device and the terminal device are in a Bluetooth connection state;
在所述RSSI低于第一预设阈值时,增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制所述电子设备以所述第一目标蓝牙发射功率进行工作;When the RSSI is lower than the first preset threshold, increase the Bluetooth transmission power of the electronic device to obtain a first target Bluetooth transmission power, and control the electronic device to work at the first target Bluetooth transmission power;
在所述RSSI大于第二预设阈值时,降低所述电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制所述电子设备以所述第二目标蓝牙发射功率进行工作,其中,所述第一预设阈值小于所述第二预设阈值。When the RSSI is greater than the second preset threshold, the Bluetooth transmission power of the electronic device is reduced to obtain a second target Bluetooth transmission power, and the electronic device is controlled to work at the second target Bluetooth transmission power, wherein, The first preset threshold is smaller than the second preset threshold.
可以看出,本申请实施例中所描述的电子设备,接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,电子设备与终端设备处于蓝牙连接状态,在RSSI低于第一预设阈值时,增加电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制电子设备以第一目标蓝牙发射功率进行工作,在RSSI大于第二预设阈值时,降低电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制电子设备以第二目标蓝牙发射功率进行工作,其中,第一预设阈值小于第二预设阈值,如此,能够依据终端设备的RSSI,动态调节蓝牙发射功率,提升了蓝牙发射功率调节的智能性。It can be seen that the electronic device described in the embodiment of the present application receives the received signal strength indicator RSSI of the Bluetooth signal of the terminal device, and the electronic device and the terminal device are in a Bluetooth connection state. When the RSSI is lower than the first preset threshold , increase the Bluetooth transmission power of the electronic device, obtain the first target Bluetooth transmission power, and control the electronic device to work with the first target Bluetooth transmission power, when the RSSI is greater than the second preset threshold, reduce the Bluetooth transmission power of the electronic device, get The second target Bluetooth transmission power is controlled, and the electronic device is controlled to work with the second target Bluetooth transmission power, wherein the first preset threshold is smaller than the second preset threshold, so that the Bluetooth transmission power can be dynamically adjusted according to the RSSI of the terminal device, Improves the intelligence of Bluetooth transmit power adjustment.
请参阅图1C,图1C是本申请实施例提供的一种蓝牙通信控制方法的流程示意图,如图所示,应用于如图1A所示的电子设备以及图1B所示的网络架构,本蓝牙通信控制方法包括:Please refer to FIG. 1C . FIG. 1C is a schematic flowchart of a Bluetooth communication control method provided by an embodiment of the present application. As shown in the figure, it is applied to the electronic device shown in FIG. 1A and the network architecture shown in FIG. 1B . Communication control methods include:
101、接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,所述电子设备与所述终端设备处于蓝牙连接状态。101. Receive a received signal strength indication value RSSI of a Bluetooth signal of a terminal device, where the electronic device and the terminal device are in a Bluetooth connection state.
其中,本申请实施例中,电子设备与终端设备均包括蓝牙模块,电子设备与终端设备处于蓝牙连接状态,电子设备与终端设备之间可以通过蓝牙通信信道进行数据传输。具体实现中,电子设备可以接收终端设备的蓝牙信号的接收的信号强度指示值(receivedsignal strength indication,RSSI)。In the embodiment of the present application, both the electronic device and the terminal device include a Bluetooth module, the electronic device and the terminal device are in a Bluetooth connection state, and data transmission can be performed between the electronic device and the terminal device through a Bluetooth communication channel. In a specific implementation, the electronic device may receive a received signal strength indication (received signal strength indication, RSSI) of the Bluetooth signal of the terminal device.
102、在所述RSSI低于第一预设阈值时,增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制所述电子设备以所述第一目标蓝牙发射功率进行工作。102. When the RSSI is lower than a first preset threshold, increase the Bluetooth transmit power of the electronic device to obtain a first target Bluetooth transmit power, and control the electronic device to work at the first target Bluetooth transmit power .
其中,具体实现中,在RSSI低于第一预设阈值时,则可以增加电子设备的蓝牙发射功率,具体地,可以增加电子设备的蓝牙模块的工作电流,或者,增加电子设备的蓝牙模块的工作电压,或者,同时增加电子设备的蓝牙模块的工作电流和工作电压,等等,在增加电子设备的蓝牙发射功率之后,可以得到第一目标蓝牙发射功率,可以控制电子设备以第一目标蓝牙发射功率进行工作。另外,上述步骤102的具体实现,可以参照下述步骤103中所描述的方法,其原理类似,在此不再赘述。Wherein, in the specific implementation, when the RSSI is lower than the first preset threshold, the Bluetooth transmit power of the electronic device can be increased, specifically, the working current of the Bluetooth module of the electronic device can be increased, or the Bluetooth module of the electronic device can be increased. The working voltage, or simultaneously increase the working current and working voltage of the Bluetooth module of the electronic device, etc. After increasing the Bluetooth transmission power of the electronic device, the first target Bluetooth transmission power can be obtained, and the electronic device can be controlled to use the first target Bluetooth transmit power to work. In addition, for the specific implementation of the
在一个可能的示例中,上述步骤102,增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,可以包括如下步骤:In a possible example, in the
21、获取参考信号强度值,所述参考信号强度值为所述第一预设阈值与所述第二预设阈值之间的任意值;21. Obtain a reference signal strength value, where the reference signal strength value is any value between the first preset threshold and the second preset threshold;
22、确定所述参考信号强度值与所述RSSI之间的第一目标差值;22. Determine a first target difference between the reference signal strength value and the RSSI;
23、按照预设的差值与第一调整参数之间的映射关系,确定所述第一目标差值对应的目标第一调整参数;23. Determine the target first adjustment parameter corresponding to the first target difference according to the mapping relationship between the preset difference and the first adjustment parameter;
24、依据所述目标第一调整参数调整所述电子设备的蓝牙发射功率,得到所述第一目标蓝牙发射功率。24. Adjust the Bluetooth transmit power of the electronic device according to the target first adjustment parameter to obtain the first target Bluetooth transmit power.
其中,上述第一调整参数可以为以下至少一种:电流调整参数、电压调整参数、信号放大器的放大系数(蓝牙模块可能包括信号放大器)等等,当然,第一调整参数还可以为具体值,在此不作限定,例如,将当前蓝牙发射功率放大指定倍数。假设当前电子设备的蓝牙发射功率为P1,第一调整参数为A(A>1),则第一目标蓝牙发射功率可以为P1+A,或者,P1*A,具体依据实际情况而定,在此不作限定。The first adjustment parameter may be at least one of the following: a current adjustment parameter, a voltage adjustment parameter, an amplification factor of a signal amplifier (the Bluetooth module may include a signal amplifier), etc. Of course, the first adjustment parameter may also be a specific value, It is not limited here, for example, the current Bluetooth transmit power is amplified by a specified multiple. Assuming that the current Bluetooth transmit power of the electronic device is P1, and the first adjustment parameter is A (A>1), the first target Bluetooth transmit power can be P1+A, or P1*A, depending on the actual situation, in This is not limited.
具体实现中,电子设备可以选取一个参考信号强度值,该参考信号强度值为第一预设阈值与第二预设阈值之间的任意值,例如,参考信号强度值=(第一预设阈值+第二预设阈值)/2,进一步地,确定参考信号强度值与RSSI之间的第一目标差值,第一目标差值=参考信号强度值-RSSI,电子设备中可以预先存储预设的差值与第一调整参数之间的映射关系,进而,根据该映射关系确定第一目标差值对应的目标第一调整参数,依据目标第一调整参数调整电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率。In specific implementation, the electronic device may select a reference signal strength value, the reference signal strength value is any value between the first preset threshold and the second preset threshold, for example, the reference signal strength value=(the first preset threshold + second preset threshold)/2, further, determine the first target difference between the reference signal strength value and the RSSI, the first target difference=reference signal strength value-RSSI, the electronic device may store a preset value in advance The mapping relationship between the difference value and the first adjustment parameter, and then determine the target first adjustment parameter corresponding to the first target difference value according to the mapping relationship, and adjust the Bluetooth transmission power of the electronic device according to the target first adjustment parameter to obtain the first target adjustment parameter. A target Bluetooth transmit power.
在一个可能的示例中,上述步骤23与步骤24之间,还可以包括如下步骤:In a possible example, between the above steps 23 and 24, the following steps may also be included:
A1、获取目标环境参数;A1. Obtain the target environment parameters;
A2、按照预设的环境参数与优化系数之间的映射关系,确定所述目标环境参数对应的目标优化系数,所述优化系数的取值范围为0~1;A2. Determine the target optimization coefficient corresponding to the target environment parameter according to the mapping relationship between the preset environmental parameters and the optimization coefficient, and the value range of the optimization coefficient is 0-1;
则上述步骤24,依据所述目标调整参数调整所述电子设备的蓝牙发射功率,得到所述第一目标蓝牙发射功率,可以按照如下方式实施:In the above step 24, the Bluetooth transmission power of the electronic device is adjusted according to the target adjustment parameter to obtain the first target Bluetooth transmission power, which can be implemented as follows:
241、依据所述目标优化参数对所述目标调整参数进行优化,得到优化后的所述目标第一调整参数;241. Optimizing the target adjustment parameter according to the target optimization parameter, to obtain the optimized first target adjustment parameter;
242、依据优化后的所述目标第一调整参数调整所述电子设备的蓝牙发射功率,得到所述第一目标蓝牙发射功率。242. Adjust the Bluetooth transmit power of the electronic device according to the optimized target first adjustment parameter to obtain the first target Bluetooth transmit power.
其中,环境参数可以为以下至少一种:电磁干扰强度、距离、障碍物数量、障碍物面积、障碍物类型(如墙壁、树木等等)、环境类型(如:沙漠、大海、雪地、森林等等)、地理位置等等,在此不作限定。电子设备中可以预先存储预设的环境参数与优化系数之间的映射关系,进而,依据该映射关系确定目标环境参数对应的目标优化系数,优化系数的取值范围为0~1,进一步地,依据目标优化参数对目标第一调整参数进行优化,得到优化后的目标第一调整参数,优化后的目标第一调整参数=目标优化参数*目标第一调整参数,进而,依据该优化后的目标第一调整参数调整电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率。具体实现中,例如,电子设备可以依据障碍物数量或者障碍物面积等,来优化蓝牙发射功率调节,如此,一方面实现了功率自动控制,保证可靠连接的同时节省功耗,另一方面,能够智能判别环境因素(如距离、障碍物、干扰等等)和蓝牙信号强度(RSSI)直连,按需调节电子设备的发射功率,实现在远距离和有障碍物的环境下的不卡顿蓝牙连接。Among them, the environmental parameters can be at least one of the following: electromagnetic interference intensity, distance, number of obstacles, obstacle area, obstacle type (such as walls, trees, etc.), environment type (such as: desert, sea, snow, forest, etc.) etc.), geographic location, etc., which are not limited here. The electronic device may pre-store the mapping relationship between the preset environmental parameters and the optimization coefficients, and then determine the target optimization coefficient corresponding to the target environmental parameter according to the mapping relationship, and the value range of the optimization coefficient is 0 to 1. Further, The target first adjustment parameter is optimized according to the target optimization parameter, and the optimized target first adjustment parameter is obtained, and the optimized target first adjustment parameter=target optimization parameter*target first adjustment parameter, and then, according to the optimized target The first adjustment parameter adjusts the Bluetooth transmission power of the electronic device to obtain the first target Bluetooth transmission power. In the specific implementation, for example, the electronic device can optimize the Bluetooth transmission power adjustment according to the number of obstacles or the area of the obstacles, etc. In this way, on the one hand, automatic power control is realized to ensure reliable connection while saving power consumption, on the other hand, it can Intelligently discriminate environmental factors (such as distance, obstacles, interference, etc.) and directly connect with Bluetooth signal strength (RSSI), adjust the transmit power of electronic devices as needed, and achieve non-jamming Bluetooth in long-distance and obstacle-free environments connect.
103、在所述RSSI大于第二预设阈值时,降低所述电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制所述电子设备以所述第二目标蓝牙发射功率进行工作,其中,所述第一预设阈值小于所述第二预设阈值。103. When the RSSI is greater than a second preset threshold, reduce the Bluetooth transmit power of the electronic device to obtain a second target Bluetooth transmit power, and control the electronic device to work at the second target Bluetooth transmit power, Wherein, the first preset threshold is smaller than the second preset threshold.
其中,在RSSI大于第二预设阈值时,则说明终端设备与电子设备之间的通信质量可能超过预期效果,因此,可以适当降低电子设备的蓝牙发射功率,这样也降低电子设备的功耗。具体地,电子设备可以在RSSI大于第二预设阈值时,降低电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制电子设备以第二目标蓝牙发射功率进行工作,这样在一定程度上不仅保证了通信质量,还可以降低电子设备的功耗。当然,在RSSI处于第一预设阈值与第二预设阈值之间时,则可以保持当前的蓝牙发射功率进行工作。另外,上述步骤103的具体实现,可以参照上述步骤102中所描述的方法,其原理类似,在此不再赘述。Wherein, when the RSSI is greater than the second preset threshold, it means that the communication quality between the terminal device and the electronic device may exceed the expected effect. Therefore, the Bluetooth transmit power of the electronic device can be appropriately reduced, which also reduces the power consumption of the electronic device. Specifically, when the RSSI is greater than the second preset threshold, the electronic device can reduce the Bluetooth transmission power of the electronic device to obtain the second target Bluetooth transmission power, and control the electronic device to work with the second target Bluetooth transmission power, so that to a certain extent It not only ensures the quality of communication, but also reduces the power consumption of electronic devices. Of course, when the RSSI is between the first preset threshold and the second preset threshold, the current Bluetooth transmit power can be maintained to work. In addition, for the specific implementation of the foregoing
在一个可能的示例中,上述步骤103,降低所述电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,可以包括如下步骤:In a possible example, the
31、确定所述电子设备与所述终端设备之间的目标信道质量评价值。31. Determine a target channel quality evaluation value between the electronic device and the terminal device.
32、在所述目标信道质量评价值大于预设信道质量评价值时,确定所述目标信道质量评价值与所述预设信道质量评价值之间的差值,得到第二目标差值。32. When the target channel quality evaluation value is greater than the preset channel quality evaluation value, determine the difference between the target channel quality evaluation value and the preset channel quality evaluation value to obtain a second target difference value.
33、按照预设的差值与第二调整参数之间的映射关系,确定所述第二目标差值对应的目标第二调整参数。33. Determine the target second adjustment parameter corresponding to the second target difference according to the mapping relationship between the preset difference and the second adjustment parameter.
34、依据所述目标第二调整参数调整所述电子设备的蓝牙发射功率,得到所述第二目标蓝牙发射功率。34. Adjust the Bluetooth transmission power of the electronic device according to the target second adjustment parameter to obtain the second target Bluetooth transmission power.
其中,上述预设信道质量评价值可以由用户自行设置或者系统默认。本申请实施例中,信道质量评价值可以通过信噪比实现或者其他评价公式实现,在此不再赘述。目标第二调整参数可以为以下至少一种:电流调整参数、电压调整参数、信号放大器的放大系数(蓝牙模块可能包括信号放大器)等等,当然,第二调整参数还可以为具体值,在此不作限定。The above-mentioned preset channel quality evaluation value may be set by the user or the system defaults. In this embodiment of the present application, the channel quality evaluation value may be realized by using a signal-to-noise ratio or other evaluation formula, and details are not described herein again. The target second adjustment parameter can be at least one of the following: a current adjustment parameter, a voltage adjustment parameter, an amplification factor of a signal amplifier (the Bluetooth module may include a signal amplifier), etc. Of course, the second adjustment parameter can also be a specific value, here Not limited.
具体实现中,电子设备可以确定该电子设备与终端设备之间的目标信道质量评价值,在该目标信道质量评价值大于预设信道质量评价值时,确定目标信道质量评价值与预设信道质量评价值之间的差值,得到第二目标差值,电子设备中还可以预先存储预设的差值与第二调整参数之间的映射关系,进而,依据该映射关系确定第二目标差值对应的目标第二调整参数,进而,依据该目标第二调整参数调整电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,进而,实现了依据信道质量调整蓝牙发射功率。In a specific implementation, the electronic device can determine the target channel quality evaluation value between the electronic device and the terminal device, and when the target channel quality evaluation value is greater than the preset channel quality evaluation value, determine the target channel quality evaluation value and the preset channel quality evaluation value The difference between the evaluation values is used to obtain the second target difference. The electronic device may also store a mapping relationship between the preset difference and the second adjustment parameter in advance, and then determine the second target difference according to the mapping relationship. The corresponding target second adjustment parameter, and then, the Bluetooth transmission power of the electronic device is adjusted according to the target second adjustment parameter to obtain the second target Bluetooth transmission power, and further, the Bluetooth transmission power is adjusted according to the channel quality.
在一个可能的示例中,上述步骤31之后,还可以包括如下步骤:In a possible example, after the above step 31, the following steps may also be included:
B1、在所述目标信道质量评价值小于或等于所述预设信道质量评价值时,获取所述电子设备与所述终端设备之间的第一目标距离;B1. When the target channel quality evaluation value is less than or equal to the preset channel quality evaluation value, obtain a first target distance between the electronic device and the terminal device;
B2、按照预设的距离与蓝牙发射功率范围之间的映射关系,确定所述第一目标距离对应的目标蓝牙功率发射范围;B2. Determine the target Bluetooth power transmission range corresponding to the first target distance according to the mapping relationship between the preset distance and the Bluetooth transmission power range;
B3、将所述电子设备的蓝牙发射功率调整为所述目标蓝牙功率发射范围中的任一蓝牙发射功率,得到所述第二目标蓝牙发射功率,所述任一蓝牙发射功率小于所述电子设备的当前蓝牙发射功率。B3. Adjust the Bluetooth transmission power of the electronic device to any Bluetooth transmission power in the target Bluetooth power transmission range to obtain the second target Bluetooth transmission power, and the any Bluetooth transmission power is smaller than the electronic device The current Bluetooth transmit power.
具体实现中,电子设备可以包括测距传感器,通过测距传感器可以检测电子设备与终端设备之间的第一目标距离。电子设备可以在目标信道质量评价值小于或等于预设信道质量评价值时,获取电子设备与终端设备之间的第一目标距离,电子设备中还可以预先存储预设的距离与蓝牙发射功率范围之间的映射关系,进而,依据该映射关系确定第一目标距离对应的目标蓝牙发射功率范围,将该目标蓝牙发射功率范围中的任一小于当前蓝牙发射功率的蓝牙发射功率作为第二目标蓝牙发射功率。In a specific implementation, the electronic device may include a ranging sensor, and the first target distance between the electronic device and the terminal device may be detected by the ranging sensor. The electronic device can obtain the first target distance between the electronic device and the terminal device when the target channel quality evaluation value is less than or equal to the preset channel quality evaluation value, and the electronic device can also pre-store the preset distance and the Bluetooth transmit power range. The mapping relationship between the two, and further, according to the mapping relationship, determine the target Bluetooth transmission power range corresponding to the first target distance, and use any Bluetooth transmission power in the target Bluetooth transmission power range that is less than the current Bluetooth transmission power as the second target Bluetooth transmit power.
在一个可能的示例中,上述步骤101-步骤103任一步骤之前或者之后,还可以包括如下步骤:In a possible example, before or after any of the
C1、检测所述电子设备与所述终端设备之间的第二目标距离;C1. Detect the second target distance between the electronic device and the terminal device;
C2、按照预设的距离与蓝牙带宽之间的映射关系,确定所述第二目标距离对应的目标蓝牙带宽;C2. Determine the target Bluetooth bandwidth corresponding to the second target distance according to the mapping relationship between the preset distance and the Bluetooth bandwidth;
C3、将所述电子设备的蓝牙带宽调整为所述目标蓝牙带宽,并控制所述电子设备以所述目标蓝牙带宽进行通信。C3. Adjust the Bluetooth bandwidth of the electronic device to the target Bluetooth bandwidth, and control the electronic device to communicate with the target Bluetooth bandwidth.
其中,电子设备可以包括测距传感器,通过测距传感器可以检测电子设备与终端设备之间的第二目标距离,电子设备中还可以预先存储预设的距离与蓝牙带宽之间的映射关系,进而,依据该映射关系确定第二目标距离对应的目标蓝牙带宽,并且将电子设备的蓝牙带宽调整为目标蓝牙带宽,并控制电子设备以目标蓝牙带宽进行通信。例如,具体实现中,可以根据通信距离和信号强度自动调节蓝牙5协议中的带宽,比如,远距离选择125kbps模式,近距离选择2Mbps模式,这样可以在保证在一定距离范围内通信不卡顿,又例如,可以根据通信距离和信号强度调节蓝牙的耳机模式,如近距离可以打开蓝牙高音质耳机功能,远距离只保证最基本的语音通信不保证音质。The electronic device may include a ranging sensor, through which the second target distance between the electronic device and the terminal device can be detected, and the electronic device can also pre-store a mapping relationship between the preset distance and the Bluetooth bandwidth, and then , determine the target Bluetooth bandwidth corresponding to the second target distance according to the mapping relationship, adjust the Bluetooth bandwidth of the electronic device to the target Bluetooth bandwidth, and control the electronic device to communicate with the target Bluetooth bandwidth. For example, in the specific implementation, the bandwidth in the Bluetooth 5 protocol can be automatically adjusted according to the communication distance and signal strength. For example, the 125kbps mode is selected for a long distance, and the 2Mbps mode is selected for a short distance, which can ensure that the communication will not be stuck within a certain distance. For another example, the Bluetooth headset mode can be adjusted according to the communication distance and signal strength. For example, the Bluetooth high-quality headset function can be turned on at a short distance, and only the most basic voice communication is guaranteed at a long distance, but the sound quality is not guaranteed.
当然,上述本申请实施例所描述的蓝牙通信控制方法不仅可以用于电子设备侧,还可以应用于终端设备侧,具体实现方式可以依照上述步骤101-步骤103,以此类推。Of course, the Bluetooth communication control method described in the above embodiments of the present application can be applied not only to the electronic device side, but also to the terminal device side, and the specific implementation can follow
在一个可能的示例中,在所述增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率之前,还可以包括如下步骤:In a possible example, before the increasing the Bluetooth transmission power of the electronic device to obtain the first target Bluetooth transmission power, the following steps may be further included:
D1、获取所述终端设备的目标身份信息;D1. Obtain the target identity information of the terminal device;
D2、将所述目标身份信息与预设身份信息进行匹配;D2, matching the target identity information with the preset identity information;
D3、在所述目标身份信息与所述预设身份信息匹配成功时,执行所述增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率的步骤。D3. When the target identity information is successfully matched with the preset identity information, execute the step of increasing the Bluetooth transmit power of the electronic device to obtain a first target Bluetooth transmit power.
其中,预设身份信息可以预先保存在电子设备,本申请实施例中,身份信息可以为以下至少一种:指纹图像、人脸图像、虹膜图像、字符串、图案、声纹信息等等,在此不作限定,具体实现中,电子设备可以获取终端设备的目标身份信息,进而,将该目标身份信息与预设身份信息进行匹配,在目标身份信息与预设身份信息匹配成功时,执行所述增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率的步骤,否则,则可以继续保持当前的蓝牙发射功率进行工作。The preset identity information may be pre-stored in an electronic device. In this embodiment of the present application, the identity information may be at least one of the following: a fingerprint image, a face image, an iris image, a character string, a pattern, voiceprint information, etc. This is not limited. In the specific implementation, the electronic device can obtain the target identity information of the terminal device, and then match the target identity information with the preset identity information. When the target identity information and the preset identity information are successfully matched, execute the The step of increasing the Bluetooth transmission power of the electronic device to obtain the first target Bluetooth transmission power, otherwise, the current Bluetooth transmission power can be maintained for work.
在一个可能的示例中,在目标身份信息为目标静脉图像,预设身份信息为预设静脉模板时,上述步骤D2,将所述目标身份信息与预设身份信息进行匹配,可以包括如下步骤:In a possible example, when the target identity information is a target vein image and the preset identity information is a preset vein template, the above step D2, matching the target identity information with the preset identity information may include the following steps:
D21、对所述目标静脉图像进行图像分割,得到目标静脉区域图像;D21. Perform image segmentation on the target vein image to obtain a target vein region image;
D22、分析所述目标静脉区域图像的特征点分布;D22, analyzing the feature point distribution of the image of the target vein region;
D23、按照M个不同圆心对所述目标静脉区域图像进行圆形图像截取,得到M个圆形静脉区域图像,所述M为大于3的整数;D23, performing circular image interception on the target vein region images according to M different circle centers, to obtain M circular vein region images, where M is an integer greater than 3;
D24、从所述M个圆形静脉区域图像中选出目标圆形静脉区域图像,所述目标圆形静脉区域图像所包含的特征点的数量大于所述M个圆形静脉区域图像中的其他圆形静脉区域图像;D24. Select a target circular vein area image from the M circular vein area images, where the number of feature points included in the target circular vein area image is larger than other images in the M circular vein area images Circular vein area image;
D25,将所述目标圆形静脉区域图像划分得到N个圆环,所述N个圆环的环宽相同;D25, dividing the image of the target circular vein region to obtain N rings, and the ring widths of the N rings are the same;
D26、从所述N个圆环中半径最小的圆环开始,将所述N个圆环依次与预设静脉模板进行特征点匹配,并累计已匹配圆环的匹配值;D26, starting from the ring with the smallest radius among the N rings, performing feature point matching on the N rings with the preset vein template in turn, and accumulating the matching values of the matched rings;
D27,当累计的匹配值大于预设匹配阈值时立即停止进行特征点匹配,并输出身份识别成功的提示消息。D27, when the accumulated matching value is greater than the preset matching threshold, immediately stop the feature point matching, and output a prompt message that the identity recognition is successful.
其中,电子设备可以对目标静脉图像进行图像分割,得到目标静脉区域图像,进而,分析该目标静脉区域图像的特征点分布,按照M个不同圆心对该目标静脉区域图像进行圆形图像截取,得到M个圆形静脉区域图像,M为大于3的整数,从M个圆形静脉区域图像中选出目标圆形静脉区域图像,目标圆形静脉区域图像所包含的特征点的数量大于M个圆形静脉区域图像中的其他圆形静脉区域图像,将目标圆形静脉区域图像划分得到N个圆环,N个圆环的环宽相同,从N个圆环中半径最小的圆环开始,将N个圆环依次与预设静脉模板进行特征点匹配,并累计已匹配圆环的匹配值,如此,在静脉识别过程中,可以将不同位置或者不同静脉的特征点用于匹配,相当于对整个静脉图像进行采样,且该采样能够覆盖整个静脉区域,从而,从每个区域中均可以找到相应的达标性特征以用于匹配,当累计的匹配值大于预设匹配阈值时立即停止进行特征点匹配,并输出身份识别成功的提示消息,如此,能够快速且精准识别静脉识别。The electronic device can perform image segmentation on the target vein image to obtain the target vein region image, and then analyze the feature point distribution of the target vein region image, and perform circular image interception on the target vein region image according to M different circle centers to obtain M circular vein area images, where M is an integer greater than 3, select the target circular vein area image from the M circular vein area images, and the number of feature points contained in the target circular vein area image is greater than M circles For other circular vein area images in the image of the shaped vein area, divide the target circular vein area image to obtain N rings, the ring widths of the N rings are the same, starting from the ring with the smallest radius among the N rings, the The N rings are matched with the preset vein template in turn, and the matching values of the matched rings are accumulated. In this way, in the process of vein recognition, the feature points of different positions or different veins can be used for matching, which is equivalent to matching The entire vein image is sampled, and the sampling can cover the entire vein area, so that the corresponding up-to-standard features can be found from each area for matching. When the accumulated matching value is greater than the preset matching threshold, the feature will be stopped immediately. Point matching, and output a prompt message that the identification is successful, so that the vein identification can be quickly and accurately identified.
基于上述本申请所描述的方法,本申请实施例中,为了智能控制蓝牙模块的功耗,其工作功率可以尽量维持稳定通信链路时的最小等级上。功率控制的调整依据为其RSSI(接收信号强度指示器)值。如果RSSI值降低某一阀值,功率控制机制可向对方发送增大输出信号强度的请求,以便通信能够顺利进行。反之,则可向对方发送减小输出信号强度的请求,在保证通信正常进行的同时降低功耗。Based on the method described in the present application, in the embodiment of the present application, in order to intelligently control the power consumption of the Bluetooth module, the working power of the Bluetooth module can be maintained at the minimum level when the communication link is stable. The power control is adjusted based on its RSSI (Received Signal Strength Indicator) value. If the RSSI value decreases by a certain threshold, the power control mechanism can send a request to the other party to increase the output signal strength so that the communication can proceed smoothly. On the contrary, a request for reducing the output signal strength can be sent to the other party, so as to reduce power consumption while ensuring normal communication.
可以看出,本申请实施例中所描述的蓝牙通信控制方法,应用于电子设备,接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,电子设备与终端设备处于蓝牙连接状态,在RSSI低于第一预设阈值时,增加电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制电子设备以第一目标蓝牙发射功率进行工作,在RSSI大于第二预设阈值时,降低电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制电子设备以第二目标蓝牙发射功率进行工作,其中,第一预设阈值小于第二预设阈值,如此,能够依据终端设备的RSSI,动态调节蓝牙发射功率,提升了蓝牙发射功率调节的智能性。It can be seen that the Bluetooth communication control method described in the embodiments of the present application is applied to an electronic device, and the received signal strength indicator RSSI of the Bluetooth signal of the terminal device is received, and the electronic device and the terminal device are in a Bluetooth connection state. At the first preset threshold, increase the Bluetooth transmission power of the electronic device to obtain the first target Bluetooth transmission power, and control the electronic device to work with the first target Bluetooth transmission power, and reduce the electronic device when the RSSI is greater than the second preset threshold. The Bluetooth transmission power of the device is obtained, and the second target Bluetooth transmission power is obtained, and the electronic device is controlled to work with the second target Bluetooth transmission power, wherein the first preset threshold is smaller than the second preset threshold. , dynamically adjust the Bluetooth transmission power, and improve the intelligence of Bluetooth transmission power adjustment.
与上述图1C所示的实施例一致地,请参阅图2,图2是本申请实施例提供的一种蓝牙通信控制方法的流程示意图,如图所示,应用于如图1A所示的电子设备以及图1B所示的网络架构,本蓝牙通信控制方法包括:Consistent with the embodiment shown in FIG. 1C, please refer to FIG. 2. FIG. 2 is a schematic flowchart of a Bluetooth communication control method provided by an embodiment of the present application. As shown in the figure, it is applied to the electronic device shown in FIG. 1A. The device and the network architecture shown in Figure 1B, the Bluetooth communication control method includes:
201、接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,所述电子设备与所述终端设备处于蓝牙连接状态。201. Receive a received signal strength indication value RSSI of a Bluetooth signal of a terminal device, where the electronic device and the terminal device are in a Bluetooth connection state.
202、在所述RSSI低于第一预设阈值时,增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制所述电子设备以所述第一目标蓝牙发射功率进行工作。202. When the RSSI is lower than a first preset threshold, increase the Bluetooth transmit power of the electronic device to obtain a first target Bluetooth transmit power, and control the electronic device to work at the first target Bluetooth transmit power .
203、在所述RSSI大于第二预设阈值时,降低所述电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制所述电子设备以所述第二目标蓝牙发射功率进行工作,其中,所述第一预设阈值小于所述第二预设阈值。203. When the RSSI is greater than a second preset threshold, reduce the Bluetooth transmit power of the electronic device to obtain a second target Bluetooth transmit power, and control the electronic device to work with the second target Bluetooth transmit power, Wherein, the first preset threshold is smaller than the second preset threshold.
204、检测所述电子设备与所述终端设备之间的第二目标距离。204. Detect a second target distance between the electronic device and the terminal device.
205、按照预设的距离与蓝牙带宽之间的映射关系,确定所述第二目标距离对应的目标蓝牙带宽。205. Determine a target Bluetooth bandwidth corresponding to the second target distance according to a preset mapping relationship between the distance and the Bluetooth bandwidth.
206、将所述电子设备的蓝牙带宽调整为所述目标蓝牙带宽,并控制所述电子设备以所述目标蓝牙带宽进行通信。206. Adjust the Bluetooth bandwidth of the electronic device to the target Bluetooth bandwidth, and control the electronic device to communicate using the target Bluetooth bandwidth.
其中,上述步骤201-步骤206的具体描述可以参照上述图1C所描述的蓝牙通信控制方法的相应步骤,在此不再赘述。For the specific description of the
可以看出,本申请实施例中所描述的蓝牙通信控制方法,应用于电子设备,接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,电子设备与终端设备处于蓝牙连接状态,在RSSI低于第一预设阈值时,增加电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制电子设备以第一目标蓝牙发射功率进行工作,在RSSI大于第二预设阈值时,降低电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制电子设备以第二目标蓝牙发射功率进行工作,其中,第一预设阈值小于第二预设阈值,检测电子设备与终端设备之间的第二目标距离,按照预设的距离与蓝牙带宽之间的映射关系,确定第二目标距离对应的目标蓝牙带宽,将电子设备的蓝牙带宽调整为目标蓝牙带宽,并控制电子设备以目标蓝牙带宽进行通信,如此,能够依据终端设备的RSSI,动态调节蓝牙发射功率,还可以依据距离调节带宽,提升了蓝牙发射功率调节的智能性,也提升了通信体验。It can be seen that the Bluetooth communication control method described in the embodiments of the present application is applied to an electronic device, and the received signal strength indicator RSSI of the Bluetooth signal of the terminal device is received, and the electronic device and the terminal device are in a Bluetooth connection state. At the first preset threshold, increase the Bluetooth transmission power of the electronic device to obtain the first target Bluetooth transmission power, and control the electronic device to work with the first target Bluetooth transmission power, and reduce the electronic device when the RSSI is greater than the second preset threshold. The Bluetooth transmission power of the device is obtained, the second target Bluetooth transmission power is obtained, and the electronic device is controlled to work with the second target Bluetooth transmission power, wherein the first preset threshold is smaller than the second preset threshold, and the detection between the electronic device and the terminal device is performed. the second target distance, according to the mapping relationship between the preset distance and the Bluetooth bandwidth, determine the target Bluetooth bandwidth corresponding to the second target distance, adjust the Bluetooth bandwidth of the electronic device to the target Bluetooth bandwidth, and control the electronic device to use the target Bluetooth bandwidth In this way, the Bluetooth transmission power can be dynamically adjusted according to the RSSI of the terminal device, and the bandwidth can also be adjusted according to the distance, which improves the intelligence of Bluetooth transmission power adjustment and improves the communication experience.
与上述图1C所示的实施例一致地,请参阅图3,图3是本申请实施例提供的一种蓝牙通信控制方法的流程示意图,如图所示,应用于如图1A所示的电子设备以及图1B所示的网络架构,本蓝牙通信控制方法包括:Consistent with the embodiment shown in FIG. 1C above, please refer to FIG. 3 , which is a schematic flowchart of a Bluetooth communication control method provided by an embodiment of the present application. As shown in the figure, it is applied to the electronic device shown in FIG. 1A . The device and the network architecture shown in Figure 1B, the Bluetooth communication control method includes:
301、接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,所述电子设备与所述终端设备处于蓝牙连接状态。301. Receive a received signal strength indication value RSSI of a Bluetooth signal of a terminal device, where the electronic device and the terminal device are in a Bluetooth connection state.
302、在所述RSSI低于第一预设阈值时,获取参考信号强度值,所述参考信号强度值为所述第一预设阈值与所述第二预设阈值之间的任意值。302. When the RSSI is lower than a first preset threshold, obtain a reference signal strength value, where the reference signal strength value is any value between the first preset threshold and the second preset threshold.
303、确定所述参考信号强度值与所述RSSI之间的第一目标差值。303. Determine a first target difference between the reference signal strength value and the RSSI.
304、按照预设的差值与第一调整参数之间的映射关系,确定所述第一目标差值对应的目标第一调整参数。304. Determine the target first adjustment parameter corresponding to the first target difference according to the mapping relationship between the preset difference and the first adjustment parameter.
305、获取目标环境参数。305. Obtain target environment parameters.
306、按照预设的环境参数与优化系数之间的映射关系,确定所述目标环境参数对应的目标优化系数,所述优化系数的取值范围为0~1。306 . Determine a target optimization coefficient corresponding to the target environment parameter according to a preset mapping relationship between the environment parameter and the optimization coefficient, where the value of the optimization coefficient ranges from 0 to 1.
307、依据所述目标优化参数对所述目标第一调整参数进行优化,得到优化后的所述目标第一调整参数。307. Optimize the target first adjustment parameter according to the target optimization parameter, to obtain the optimized target first adjustment parameter.
308、依据优化后的所述目标第一调整参数调整所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制所述电子设备以所述第一目标蓝牙发射功率进行工作;308. Adjust the Bluetooth transmit power of the electronic device according to the optimized first target adjustment parameter, obtain a first target Bluetooth transmit power, and control the electronic device to work with the first target Bluetooth transmit power;
309、在所述RSSI大于第二预设阈值时,降低所述电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制所述电子设备以所述第二目标蓝牙发射功率进行工作,其中,所述第一预设阈值小于所述第二预设阈值。309. When the RSSI is greater than a second preset threshold, reduce the Bluetooth transmit power of the electronic device to obtain a second target Bluetooth transmit power, and control the electronic device to work at the second target Bluetooth transmit power, Wherein, the first preset threshold is smaller than the second preset threshold.
其中,上述步骤301-步骤309的具体描述可以参照上述图1C所描述的蓝牙通信控制方法的相应步骤,在此不再赘述。For the specific description of the
可以看出,本申请实施例中所描述的蓝牙通信控制方法,应用于电子设备,接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,电子设备与终端设备处于蓝牙连接状态,在RSSI低于第一预设阈值时,可以依据环境参数以及参考信号强度确定第一目标蓝牙发射功率,并控制电子设备以第一目标蓝牙发射功率进行工作,在RSSI大于第二预设阈值时,降低电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制电子设备以第二目标蓝牙发射功率进行工作,其中,第一预设阈值小于第二预设阈值,如此,能够依据终端设备的RSSI,动态调节蓝牙发射功率,即能够依据环境参数以及RSSI进行调节,提升了蓝牙发射功率调节的智能性。It can be seen that the Bluetooth communication control method described in the embodiments of the present application is applied to an electronic device, and the received signal strength indicator RSSI of the Bluetooth signal of the terminal device is received, and the electronic device and the terminal device are in a Bluetooth connection state. At the first preset threshold, the first target Bluetooth transmission power can be determined according to the environmental parameters and the reference signal strength, and the electronic device is controlled to work with the first target Bluetooth transmission power, and when the RSSI is greater than the second preset threshold, the electronic device is reduced. The Bluetooth transmission power of the device is obtained, and the second target Bluetooth transmission power is obtained, and the electronic device is controlled to work with the second target Bluetooth transmission power, wherein the first preset threshold is smaller than the second preset threshold. , Dynamically adjust the Bluetooth transmission power, that is, it can be adjusted according to environmental parameters and RSSI, which improves the intelligence of Bluetooth transmission power adjustment.
与上述实施例一致地,请参阅图4,图4是本申请实施例提供的一种电子设备的结构示意图,如图所示,该电子设备包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,本申请实施例中,上述程序包括用于执行以下步骤的指令:Consistent with the above-mentioned embodiments, please refer to FIG. 4 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface, and one or more A program, wherein the above-mentioned one or more programs are stored in the above-mentioned memory and are configured to be executed by the above-mentioned processor. In the embodiment of the present application, the above-mentioned program includes instructions for executing the following steps:
接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,所述电子设备与所述终端设备处于蓝牙连接状态;receiving the received signal strength indication value RSSI of the Bluetooth signal of the terminal device, the electronic device and the terminal device are in a Bluetooth connection state;
在所述RSSI低于第一预设阈值时,增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制所述电子设备以所述第一目标蓝牙发射功率进行工作;When the RSSI is lower than the first preset threshold, increase the Bluetooth transmission power of the electronic device to obtain a first target Bluetooth transmission power, and control the electronic device to work at the first target Bluetooth transmission power;
在所述RSSI大于第二预设阈值时,降低所述电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制所述电子设备以所述第二目标蓝牙发射功率进行工作,其中,所述第一预设阈值小于所述第二预设阈值。When the RSSI is greater than the second preset threshold, the Bluetooth transmission power of the electronic device is reduced to obtain a second target Bluetooth transmission power, and the electronic device is controlled to work at the second target Bluetooth transmission power, wherein, The first preset threshold is smaller than the second preset threshold.
可以看出,本申请实施例中所描述的电子设备,接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,电子设备与终端设备处于蓝牙连接状态,在RSSI低于第一预设阈值时,增加电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制电子设备以第一目标蓝牙发射功率进行工作,在RSSI大于第二预设阈值时,降低电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制电子设备以第二目标蓝牙发射功率进行工作,其中,第一预设阈值小于第二预设阈值,如此,能够依据终端设备的RSSI,动态调节蓝牙发射功率,提升了蓝牙发射功率调节的智能性。It can be seen that the electronic device described in the embodiment of the present application receives the received signal strength indicator RSSI of the Bluetooth signal of the terminal device, and the electronic device and the terminal device are in a Bluetooth connection state. When the RSSI is lower than the first preset threshold , increase the Bluetooth transmission power of the electronic device, obtain the first target Bluetooth transmission power, and control the electronic device to work with the first target Bluetooth transmission power, when the RSSI is greater than the second preset threshold, reduce the Bluetooth transmission power of the electronic device, get The second target Bluetooth transmission power is controlled, and the electronic device is controlled to work with the second target Bluetooth transmission power, wherein the first preset threshold is smaller than the second preset threshold, so that the Bluetooth transmission power can be dynamically adjusted according to the RSSI of the terminal device, Improves the intelligence of Bluetooth transmit power adjustment.
在一个可能的示例中,在所述增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率方面,上述程序包括用于执行以下步骤的指令:In a possible example, in the aspect of increasing the Bluetooth transmission power of the electronic device to obtain the first target Bluetooth transmission power, the above program includes instructions for executing the following steps:
获取参考信号强度值,所述参考信号强度值为所述第一预设阈值与所述第二预设阈值之间的任意值;acquiring a reference signal strength value, where the reference signal strength value is any value between the first preset threshold and the second preset threshold;
确定所述参考信号强度值与所述RSSI之间的第一目标差值;determining a first target difference between the reference signal strength value and the RSSI;
按照预设的差值与第一调整参数之间的映射关系,确定所述第一目标差值对应的目标第一调整参数;determining the target first adjustment parameter corresponding to the first target difference according to the mapping relationship between the preset difference and the first adjustment parameter;
依据所述目标第一调整参数调整所述电子设备的蓝牙发射功率,得到所述第一目标蓝牙发射功率。The Bluetooth transmission power of the electronic device is adjusted according to the target first adjustment parameter to obtain the first target Bluetooth transmission power.
在一个可能的示例中,上述程序还包括用于执行以下步骤的指令:In one possible example, the above program further includes instructions for performing the following steps:
获取目标环境参数;Get the target environment parameters;
按照预设的环境参数与优化系数之间的映射关系,确定所述目标环境参数对应的目标优化系数,所述优化系数的取值范围为0~1;According to the mapping relationship between the preset environmental parameters and the optimization coefficients, the target optimization coefficient corresponding to the target environment parameter is determined, and the value range of the optimization coefficient is 0-1;
所述依据所述目标第一调整参数调整所述电子设备的蓝牙发射功率,得到所述第一目标蓝牙发射功率;The Bluetooth transmission power of the electronic device is adjusted according to the target first adjustment parameter to obtain the first target Bluetooth transmission power;
依据所述目标优化参数对所述目标第一调整参数进行优化,得到优化后的所述目标第一调整参数;Optimizing the target first adjustment parameter according to the target optimization parameter to obtain the optimized target first adjustment parameter;
依据优化后的所述目标第一调整参数调整所述电子设备的蓝牙发射功率,得到所述第一目标蓝牙发射功率。The Bluetooth transmission power of the electronic device is adjusted according to the optimized target first adjustment parameter to obtain the first target Bluetooth transmission power.
在一个可能的示例中,在所述降低所述电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率方面,上述程序包括用于执行以下步骤的指令:In a possible example, in the aspect of reducing the Bluetooth transmission power of the electronic device to obtain the second target Bluetooth transmission power, the above program includes instructions for executing the following steps:
确定所述电子设备与所述终端设备之间的目标信道质量评价值;determining a target channel quality evaluation value between the electronic device and the terminal device;
在所述目标信道质量评价值大于预设信道质量评价值时,确定所述目标信道质量评价值与所述预设信道质量评价值之间的差值,得到第二目标差值;When the target channel quality evaluation value is greater than the preset channel quality evaluation value, determining the difference between the target channel quality evaluation value and the preset channel quality evaluation value to obtain a second target difference value;
按照预设的差值与第二调整参数之间的映射关系,确定所述第二目标差值对应的目标第二调整参数;determining the target second adjustment parameter corresponding to the second target difference according to the mapping relationship between the preset difference and the second adjustment parameter;
依据所述目标第二调整参数调整所述电子设备的蓝牙发射功率,得到所述第二目标蓝牙发射功率。The Bluetooth transmission power of the electronic device is adjusted according to the target second adjustment parameter to obtain the second target Bluetooth transmission power.
在一个可能的示例中,上述程序还包括用于执行以下步骤的指令:In one possible example, the above program further includes instructions for performing the following steps:
在所述目标信道质量评价值小于或等于预设信道质量评价值时,获取所述电子设备与所述终端设备之间的第一目标距离;When the target channel quality evaluation value is less than or equal to a preset channel quality evaluation value, acquiring a first target distance between the electronic device and the terminal device;
按照预设的距离与蓝牙发射功率范围之间的映射关系,确定所述第一目标距离对应的目标蓝牙功率发射范围;According to the mapping relationship between the preset distance and the Bluetooth transmission power range, determine the target Bluetooth power transmission range corresponding to the first target distance;
将所述电子设备的蓝牙发射功率调整为所述目标蓝牙功率发射范围中的任一蓝牙发射功率,得到所述第二目标蓝牙发射功率,所述任一蓝牙发射功率小于所述电子设备的当前蓝牙发射功率。Adjust the Bluetooth transmission power of the electronic device to any Bluetooth transmission power in the target Bluetooth power transmission range to obtain the second target Bluetooth transmission power, and the any Bluetooth transmission power is smaller than the current Bluetooth transmission power of the electronic device. Bluetooth transmit power.
在一个可能的示例中,上述程序还包括用于执行以下步骤的指令In a possible example, the above program further includes instructions for performing the following steps
检测所述电子设备与所述终端设备之间的第二目标距离;detecting a second target distance between the electronic device and the terminal device;
按照预设的距离与蓝牙带宽之间的映射关系,确定所述第二目标距离对应的目标蓝牙带宽;According to the mapping relationship between the preset distance and the Bluetooth bandwidth, determine the target Bluetooth bandwidth corresponding to the second target distance;
将所述电子设备的蓝牙带宽调整为所述目标蓝牙带宽,并控制所述电子设备以所述目标蓝牙带宽进行通信。The Bluetooth bandwidth of the electronic device is adjusted to the target Bluetooth bandwidth, and the electronic device is controlled to communicate with the target Bluetooth bandwidth.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of the method-side execution process. It can be understood that, in order to realize the above-mentioned functions, the electronic device includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in combination with the units and algorithm steps of each example described in the embodiments provided herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the electronic device may be divided into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and other division methods may be used in actual implementation.
图5A是本申请实施例中所涉及的蓝牙通信控制装置500的功能单元组成框图。该蓝牙通信控制装置500,应用于电子设备,所述装置500包括:通信单元501和切换单元502,其中,FIG. 5A is a block diagram of functional units of the Bluetooth
通信单元501,用于接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,所述电子设备与所述终端设备处于蓝牙连接状态;A
调整单元502,用于在所述RSSI低于第一预设阈值时,增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制所述电子设备以所述第一目标蓝牙发射功率进行工作;An
所述调整单元502,还具体用于在所述RSSI大于第二预设阈值时,降低所述电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制所述电子设备以所述第二目标蓝牙发射功率进行工作,其中,所述第一预设阈值小于所述第二预设阈值。The adjusting
可以看出,本申请实施例中所描述的蓝牙通信控制装置,应用于电子设备,接收终端设备的蓝牙信号的接收的信号强度指示值RSSI,电子设备与终端设备处于蓝牙连接状态,在RSSI低于第一预设阈值时,增加电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率,并控制电子设备以第一目标蓝牙发射功率进行工作,在RSSI大于第二预设阈值时,降低电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率,并控制电子设备以第二目标蓝牙发射功率进行工作,其中,第一预设阈值小于第二预设阈值,如此,能够依据终端设备的RSSI,动态调节蓝牙发射功率,提升了蓝牙发射功率调节的智能性。It can be seen that the Bluetooth communication control device described in the embodiments of the present application is applied to electronic equipment, and receives the received signal strength indicator RSSI of the Bluetooth signal of the terminal equipment. The electronic equipment and the terminal equipment are in a Bluetooth connection state, and when the RSSI is low At the first preset threshold, increase the Bluetooth transmission power of the electronic device to obtain the first target Bluetooth transmission power, and control the electronic device to work with the first target Bluetooth transmission power, and reduce the electronic device when the RSSI is greater than the second preset threshold. The Bluetooth transmission power of the device is obtained, and the second target Bluetooth transmission power is obtained, and the electronic device is controlled to work with the second target Bluetooth transmission power, wherein the first preset threshold is smaller than the second preset threshold. , dynamically adjust the Bluetooth transmission power, and improve the intelligence of Bluetooth transmission power adjustment.
在一个可能的示例中,在所述增加所述电子设备的蓝牙发射功率,得到第一目标蓝牙发射功率方面,所述调整单元502具体用于:In a possible example, in the aspect of increasing the Bluetooth transmit power of the electronic device to obtain the first target Bluetooth transmit power, the adjusting
获取参考信号强度值,所述参考信号强度值为所述第一预设阈值与所述第二预设阈值之间的任意值;acquiring a reference signal strength value, where the reference signal strength value is any value between the first preset threshold and the second preset threshold;
确定所述参考信号强度值与所述RSSI之间的第一目标差值;determining a first target difference between the reference signal strength value and the RSSI;
按照预设的差值与第一调整参数之间的映射关系,确定所述第一目标差值对应的目标第一调整参数;determining the target first adjustment parameter corresponding to the first target difference according to the mapping relationship between the preset difference and the first adjustment parameter;
依据所述目标第一调整参数调整所述电子设备的蓝牙发射功率,得到所述第一目标蓝牙发射功率。The Bluetooth transmission power of the electronic device is adjusted according to the target first adjustment parameter to obtain the first target Bluetooth transmission power.
在一个可能的示例中,如图5B,图5B为图5A所描述的蓝牙通信控制装置的又一变型结构,其与图5A相比较,还可以包括获取单元503和第一确定单元504,其中,In a possible example, as shown in FIG. 5B , FIG. 5B is another modified structure of the Bluetooth communication control device described in FIG. 5A . Compared with FIG. 5A , it may further include an
获取单元503,用于获取目标环境参数;an obtaining
第一确定单元504,用于按照预设的环境参数与优化系数之间的映射关系,确定所述目标环境参数对应的目标优化系数,所述优化系数的取值范围为0~1;The first determining
在所述依据所述目标第一调整参数调整所述电子设备的蓝牙发射功率,得到所述第一目标蓝牙发射功率方面,所述调整单元502具体用于:In the aspect of adjusting the Bluetooth transmission power of the electronic device according to the target first adjustment parameter to obtain the first target Bluetooth transmission power, the
依据所述目标优化参数对所述目标第一调整参数进行优化,得到优化后的所述目标第一调整参数;Optimizing the target first adjustment parameter according to the target optimization parameter to obtain the optimized target first adjustment parameter;
依据优化后的所述目标第一调整参数调整所述电子设备的蓝牙发射功率,得到所述第一目标蓝牙发射功率。The Bluetooth transmission power of the electronic device is adjusted according to the optimized target first adjustment parameter to obtain the first target Bluetooth transmission power.
在一个可能的示例中,在所述降低所述电子设备的蓝牙发射功率,得到第二目标蓝牙发射功率方面,所述调整单元502具体用于:In a possible example, in the aspect of reducing the Bluetooth transmit power of the electronic device to obtain the second target Bluetooth transmit power, the adjusting
确定所述电子设备与所述终端设备之间的目标信道质量评价值;determining a target channel quality evaluation value between the electronic device and the terminal device;
在所述目标信道质量评价值大于预设信道质量评价值时,确定所述目标信道质量评价值与所述预设信道质量评价值之间的差值,得到第二目标差值;When the target channel quality evaluation value is greater than the preset channel quality evaluation value, determining the difference between the target channel quality evaluation value and the preset channel quality evaluation value to obtain a second target difference value;
按照预设的差值与第二调整参数之间的映射关系,确定所述第二目标差值对应的目标第二调整参数;determining the target second adjustment parameter corresponding to the second target difference according to the mapping relationship between the preset difference and the second adjustment parameter;
依据所述目标第二调整参数调整所述电子设备的蓝牙发射功率,得到所述第二目标蓝牙发射功率。The Bluetooth transmission power of the electronic device is adjusted according to the target second adjustment parameter to obtain the second target Bluetooth transmission power.
进一步地,在一个可能的示例中,所述调整单元502还具体用于:Further, in a possible example, the
在所述目标信道质量评价值小于或等于预设信道质量评价值时,获取所述电子设备与所述终端设备之间的第一目标距离;When the target channel quality evaluation value is less than or equal to a preset channel quality evaluation value, acquiring a first target distance between the electronic device and the terminal device;
按照预设的距离与蓝牙发射功率范围之间的映射关系,确定所述第一目标距离对应的目标蓝牙功率发射范围;According to the mapping relationship between the preset distance and the Bluetooth transmission power range, determine the target Bluetooth power transmission range corresponding to the first target distance;
将所述电子设备的蓝牙发射功率调整为所述目标蓝牙功率发射范围中的任一蓝牙发射功率,得到所述第二目标蓝牙发射功率,所述任一蓝牙发射功率小于所述电子设备的当前蓝牙发射功率。Adjust the Bluetooth transmission power of the electronic device to any Bluetooth transmission power in the target Bluetooth power transmission range to obtain the second target Bluetooth transmission power, and the any Bluetooth transmission power is smaller than the current Bluetooth transmission power of the electronic device. Bluetooth transmit power.
在一个可能的示例中,如图5C,图5C为图5A所描述的蓝牙通信控制装置的又一变型结构,其与图5A相比较,还可以包括检测单元505和第二确定单元506,其中,In a possible example, as shown in FIG. 5C , FIG. 5C is another modified structure of the Bluetooth communication control device described in FIG. 5A . Compared with FIG. 5A , it may further include a
检测单元505,用于检测所述电子设备与所述终端设备之间的第二目标距离;a
第二确定单元506,用于按照预设的距离与蓝牙带宽之间的映射关系,确定所述第二目标距离对应的目标蓝牙带宽;A second determining
所述调整单元502,还具体用于将所述电子设备的蓝牙带宽调整为所述目标蓝牙带宽,并控制所述电子设备以所述目标蓝牙带宽进行通信。The adjusting
可以理解的是,本实施例的蓝牙通信控制装置的各程序模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that, the functions of each program module of the Bluetooth communication control device in this embodiment can be specifically implemented according to the methods in the above method embodiments, and the specific implementation process can refer to the relevant descriptions of the above method embodiments, which will not be repeated here. .
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。Embodiments of the present application further provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute part or all of the steps of any method described in the above method embodiments , the above computer includes electronic equipment.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。Embodiments of the present application further provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the method embodiments described above. some or all of the steps of the method. The computer program product may be a software installation package, and the computer includes an electronic device.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or concurrently. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution, and the computer software product is stored in a memory, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above-mentioned methods of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and the principles and implementations of the present application are described in this paper by using specific examples. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Persons of ordinary skill in the art, based on the idea of the present application, will have changes in the specific implementation manner and application scope. In summary, the contents of this specification should not be construed as limitations on the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910497650.4A CN110139262B (en) | 2019-06-10 | 2019-06-10 | Bluetooth communication control method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910497650.4A CN110139262B (en) | 2019-06-10 | 2019-06-10 | Bluetooth communication control method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110139262A CN110139262A (en) | 2019-08-16 |
CN110139262B true CN110139262B (en) | 2022-06-14 |
Family
ID=67580971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910497650.4A Active CN110139262B (en) | 2019-06-10 | 2019-06-10 | Bluetooth communication control method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110139262B (en) |
Families Citing this family (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112566224B (en) * | 2019-09-26 | 2024-04-12 | 中兴通讯股份有限公司 | Data transmission control method, terminal and storage medium |
CN110784696B (en) * | 2019-09-30 | 2021-04-30 | 深圳市火乐科技发展有限公司 | White balance correction method and related device |
CN113014284B (en) * | 2019-12-19 | 2023-03-28 | 深圳市万普拉斯科技有限公司 | Transmission power adjusting method, device, terminal equipment and readable storage medium |
CN111025277B (en) * | 2019-12-25 | 2023-05-30 | 青岛海信电子设备股份有限公司 | UWB ranging system and control method thereof |
CN111818495B (en) * | 2020-06-23 | 2023-05-23 | 敖冬兵 | Control method, system, device and medium of wireless communication terminal |
CN116018857A (en) * | 2020-07-16 | 2023-04-25 | 高通股份有限公司 | Adaptive transmit power control for Bluetooth |
CN112235856A (en) * | 2020-10-15 | 2021-01-15 | 惠州Tcl移动通信有限公司 | Method and device for adjusting transmission power of Bluetooth signal, storage medium and mobile terminal |
CN112261712B (en) * | 2020-10-19 | 2023-04-25 | 维沃移动通信(深圳)有限公司 | Power adjustment method and device |
CN112261636B (en) * | 2020-10-23 | 2023-07-11 | 展讯通信(上海)有限公司 | Communication method, apparatus, and storage medium |
CN112489412A (en) * | 2020-11-16 | 2021-03-12 | 广东电网有限责任公司 | Intelligent meter reading system and method |
CN114630408A (en) * | 2020-12-11 | 2022-06-14 | 无锡中感微电子股份有限公司 | Wireless transmission power control method, system and device |
CN112616141B (en) * | 2020-12-18 | 2022-02-11 | 珠海格力电器股份有限公司 | Bluetooth network distribution method and intelligent device |
CN112770379B (en) * | 2021-01-04 | 2022-06-14 | 珠海格力电器股份有限公司 | Power adjustment method and device, electronic equipment and storage medium |
CN112804743A (en) * | 2021-01-05 | 2021-05-14 | 上海艾策通讯科技股份有限公司 | Self-adaptive adjusting method for gateway AP transmitting power, storage medium and gateway equipment |
CN115206003B (en) * | 2021-03-24 | 2025-02-25 | 华为技术有限公司 | Bluetooth-based non-sensing unlocking method, terminal device, smart lock and storage medium |
CN113115439B (en) * | 2021-04-20 | 2023-06-13 | Oppo广东移动通信有限公司 | Positioning method and related equipment |
CN113286282B (en) * | 2021-05-18 | 2023-06-09 | Oppo广东移动通信有限公司 | Prompting method, prompting device, electronic equipment, target equipment, connection system and medium |
CN113438635A (en) * | 2021-06-29 | 2021-09-24 | 展讯通信(上海)有限公司 | Bluetooth communication method and device |
CN113692038B (en) * | 2021-10-26 | 2022-02-15 | 翱捷科技(深圳)有限公司 | Wireless earphone power saving method and system, earphone and electronic equipment |
CN114141005B (en) * | 2021-12-03 | 2023-05-12 | 维沃移动通信有限公司 | Power control method and device, control circuit and electronic equipment |
CN114339686A (en) * | 2021-12-27 | 2022-04-12 | Oppo广东移动通信有限公司 | Communication method, apparatus and system, computer equipment, readable storage medium |
CN114698078B (en) * | 2022-02-24 | 2023-05-16 | 荣耀终端有限公司 | Transmission power adjustment method, electronic device, and storage medium |
CN114679681A (en) * | 2022-03-23 | 2022-06-28 | Oppo广东移动通信有限公司 | Device control method, device, electronic device and storage medium |
CN115226194A (en) * | 2022-06-24 | 2022-10-21 | 珠海格力电器股份有限公司 | BLE-based communication control method and device, control terminal and storage medium |
CN116782191B (en) * | 2023-06-30 | 2024-09-06 | 深圳市品声科技有限公司 | Bluetooth communication method, wearable device and system |
CN119316918B (en) * | 2024-12-16 | 2025-03-04 | 深圳市飞易通科技有限公司 | Method for adjusting transmitting power, method for triggering operation and electronic equipment |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651475A (en) * | 2008-08-11 | 2010-02-17 | 中国移动通信集团广西有限公司 | Method and equipment for transmitting data at carrier frequency of broadcast control channel |
CN101902316A (en) * | 2010-06-22 | 2010-12-01 | 中兴通讯股份有限公司 | A method and system for improving data retransmission quality |
CN102781080A (en) * | 2012-07-05 | 2012-11-14 | 上海大学 | Power self-adaptive method of network access and operation of nodes of wireless sensor network |
CN103220763A (en) * | 2012-01-20 | 2013-07-24 | 电信科学技术研究院 | Method and device of power control |
CN103684550A (en) * | 2013-12-20 | 2014-03-26 | 上海斐讯数据通信技术有限公司 | Bluetooth signal transmission power adjusting system and mobile terminal |
CN103916166A (en) * | 2014-03-31 | 2014-07-09 | 尚奇浩康(北京)科技有限公司 | Bluetooth data transmission method and bluetooth device |
CN104349355A (en) * | 2013-08-02 | 2015-02-11 | 电信科学技术研究院 | Method, system and device for carrying out data communication |
CN105009528A (en) * | 2013-01-07 | 2015-10-28 | 脸谱公司 | Distance-dependent or user-dependent data exchange between wireless communication devices |
CN105848273A (en) * | 2016-01-20 | 2016-08-10 | 深圳迈瑞生物医疗电子股份有限公司 | Electronic device, wireless sensor and power adjusting method of the wireless sensor |
CN107222912A (en) * | 2017-06-08 | 2017-09-29 | 西安蜂语信息科技有限公司 | A kind of method of adjust automatically transmission power, apparatus and system |
CN109544894A (en) * | 2017-01-23 | 2019-03-29 | 深圳市大疆创新科技有限公司 | Control method, unmanned plane and remote control equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8599709B2 (en) * | 2011-02-10 | 2013-12-03 | Apple Inc. | Methods and apparatus for wireless coexistence based on transceiver chain emphasis |
CA2974518C (en) * | 2015-01-21 | 2022-08-16 | CloudLeaf, Inc. | Systems, methods and devices for asset status determination |
CN109068383A (en) * | 2018-08-24 | 2018-12-21 | 维沃移动通信有限公司 | A kind of method and terminal device adjusting antenna transmission power |
-
2019
- 2019-06-10 CN CN201910497650.4A patent/CN110139262B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651475A (en) * | 2008-08-11 | 2010-02-17 | 中国移动通信集团广西有限公司 | Method and equipment for transmitting data at carrier frequency of broadcast control channel |
CN101902316A (en) * | 2010-06-22 | 2010-12-01 | 中兴通讯股份有限公司 | A method and system for improving data retransmission quality |
CN103220763A (en) * | 2012-01-20 | 2013-07-24 | 电信科学技术研究院 | Method and device of power control |
CN102781080A (en) * | 2012-07-05 | 2012-11-14 | 上海大学 | Power self-adaptive method of network access and operation of nodes of wireless sensor network |
CN105009528A (en) * | 2013-01-07 | 2015-10-28 | 脸谱公司 | Distance-dependent or user-dependent data exchange between wireless communication devices |
CN104349355A (en) * | 2013-08-02 | 2015-02-11 | 电信科学技术研究院 | Method, system and device for carrying out data communication |
CN103684550A (en) * | 2013-12-20 | 2014-03-26 | 上海斐讯数据通信技术有限公司 | Bluetooth signal transmission power adjusting system and mobile terminal |
CN103916166A (en) * | 2014-03-31 | 2014-07-09 | 尚奇浩康(北京)科技有限公司 | Bluetooth data transmission method and bluetooth device |
CN105848273A (en) * | 2016-01-20 | 2016-08-10 | 深圳迈瑞生物医疗电子股份有限公司 | Electronic device, wireless sensor and power adjusting method of the wireless sensor |
CN109544894A (en) * | 2017-01-23 | 2019-03-29 | 深圳市大疆创新科技有限公司 | Control method, unmanned plane and remote control equipment |
CN107222912A (en) * | 2017-06-08 | 2017-09-29 | 西安蜂语信息科技有限公司 | A kind of method of adjust automatically transmission power, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN110139262A (en) | 2019-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110139262B (en) | Bluetooth communication control method and related product | |
CN108900231B (en) | Dynamic antenna adjustment method and related products | |
CN111970672A (en) | Searching and positioning method and device, electronic equipment and storage medium | |
US9019131B2 (en) | Terminal and method for executing function using human body communication | |
CN110299943B (en) | Data transmission control method and related product | |
CN106131345B (en) | Control method and device of proximity sensor and mobile terminal | |
CN108600059A (en) | Equipment control method and related product | |
CN108833683B (en) | Dynamic antenna adjustment implementation method and related product | |
CN109240551B (en) | Method for controlling electronic device by using gestures and related product | |
WO2022033176A1 (en) | Audio play control method and apparatus, and electronic device and storage medium | |
CN105469775A (en) | Method for adjusting brightness of display screen and terminal equipment | |
WO2020119230A1 (en) | Electromagnetic interference control method and related product | |
CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
CN109639863B (en) | Voice processing method and device | |
WO2020073852A1 (en) | Display control method and related product | |
WO2018120240A1 (en) | Apparatus and method for adjusting electromagnetic wave radiation parameter, and storage medium | |
CN107483735A (en) | Volume control method, device and storage medium of mobile terminal and mobile terminal | |
CN112997471B (en) | Audio channel switching method and device, readable storage medium and electronic equipment | |
CN108769401B (en) | Signal detection method and related product | |
CN111371705B (en) | Download task execution method and electronic device | |
CN110505014A (en) | data transmission control method and related product | |
CN112995410B (en) | Proximity detection method and related equipment | |
CN108810261B (en) | Antenna switching method in call and related product | |
CN110427149B (en) | Terminal operation method and terminal | |
CN108668018B (en) | Mobile terminal, volume control method and related products |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |