WO2021254160A1 - 蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质 - Google Patents

蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质 Download PDF

Info

Publication number
WO2021254160A1
WO2021254160A1 PCT/CN2021/098059 CN2021098059W WO2021254160A1 WO 2021254160 A1 WO2021254160 A1 WO 2021254160A1 CN 2021098059 W CN2021098059 W CN 2021098059W WO 2021254160 A1 WO2021254160 A1 WO 2021254160A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth
external device
bluetooth module
connection
disconnect
Prior art date
Application number
PCT/CN2021/098059
Other languages
English (en)
French (fr)
Inventor
徐鹏
王鑫
Original Assignee
成都极米科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 成都极米科技股份有限公司 filed Critical 成都极米科技股份有限公司
Publication of WO2021254160A1 publication Critical patent/WO2021254160A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/23Manipulation of direct-mode connections

Definitions

  • This application relates to the field of Bluetooth communication, and in particular to a Bluetooth device, its Bluetooth preemption method and device, and a computer-readable storage medium.
  • Mobile phones and other devices can play music and other audio data through their own audio equipment. However, people’s pursuit of sound effects is getting higher and higher. In order to achieve better audio playback effects, users can connect external Bluetooth audio devices through Bluetooth , Use external Bluetooth audio equipment to play music and other audio data.
  • Bluetooth communication technology is a commonly used short-range wireless communication technology.
  • a Bluetooth device equipped with a Bluetooth module can establish a Bluetooth communication connection with other external devices that support Bluetooth through the Bluetooth module to communicate with external devices. Use external devices. The function of the device or the function of the external device to use the Bluetooth device. Disconnect the currently connected external device and continue the connection of the new external device. This process is called Bluetooth preemption.
  • the new external device can only be paired, and ultimately cannot establish an audio connection, and cannot be preempted. Because Bluetooth communication resources are very limited, if a new external device wants to establish an audio connection, it must artificially disconnect the currently connected external audio device from the Bluetooth device, and then establish a connection to the new external device.
  • this application provides a Bluetooth device, a Bluetooth preemption method and device, and a computer-readable storage medium.
  • this application provides a Bluetooth preemption method for a Bluetooth device, the Bluetooth device includes a Bluetooth module, and the Bluetooth module is used to establish a Bluetooth connection with an external device.
  • the method includes:
  • the Bluetooth module When the active NFC touch message is monitored, if the Bluetooth module currently has an external audio device connected, control the Bluetooth module to disconnect the currently connected external audio device and establish a connection with the new external device, otherwise continue monitor;
  • the Bluetooth module When the message sent by the Bluetooth module is monitored, it is judged whether the device type of the new external device can be obtained from the monitored message. If the device type of the new external device is obtained, and the Bluetooth module currently has an external device connected, then Control the Bluetooth module to disconnect the currently connected external device and establish a connection to the new external device, otherwise continue to monitor.
  • the Bluetooth module is controlled to disconnect the currently connected external device and establish a new external device Connection of equipment, including:
  • the Bluetooth module When the device type of the new external device is the preset type and the Bluetooth module currently has a connected external device, control the Bluetooth module to disconnect the currently connected external device and establish a connection with the new external device;
  • the Bluetooth module when the device type of the new external device is a preset type, and the Bluetooth module currently has a connected external device, the Bluetooth module is controlled to disconnect the currently connected external device and establish the new external device Connection, including:
  • the Bluetooth module Determine the device type of the external device currently connected to the Bluetooth module. If the device type of the currently connected external device is only a non-audio device, continue to monitor; otherwise, control the Bluetooth module to disconnect the currently connected external audio device and establish The connection of the new external device.
  • the Bluetooth module is controlled to disconnect the currently connected external device and establish a new external device.
  • the connection of the set equipment including:
  • controlling the Bluetooth module to disconnect the currently connected external device and establish the connection of the new external device includes: generating a preemption instruction and sending it to the Bluetooth module to make the Bluetooth module disconnect the currently connected external device and establish a new Connection of external devices.
  • controlling the Bluetooth module to disconnect the currently connected external device and establish the connection of the new external device which also includes:
  • the present application provides a Bluetooth preemption device for a Bluetooth device, the Bluetooth device includes a Bluetooth module, the Bluetooth module is used to establish a Bluetooth connection with an external device, and the device includes:
  • Monitoring unit used to monitor Bluetooth devices
  • the preemption unit is used to control the Bluetooth module to disconnect the currently connected external audio device and establish the new external audio device if the Bluetooth module currently has a connected external audio device when the message of the active NFC touch is monitored. Connection; when the message sent by the Bluetooth module is monitored, judge whether the device type of the new external device can be obtained from the monitored message, if the device type of the new external device is obtained, and the Bluetooth module currently has an external device connected , Control the Bluetooth module to disconnect the currently connected external device and establish a connection with the new external device.
  • the Bluetooth module is controlled to disconnect the currently connected external device and establish a new external device Connection of equipment, including:
  • the Bluetooth module When the device type of the new external device is the preset type and the Bluetooth module currently has a connected external device, control the Bluetooth module to disconnect the currently connected external device and establish a connection with the new external device;
  • this application provides a Bluetooth device that includes a Bluetooth module, and also includes a preemption module communicatively connected with the Bluetooth module, the Bluetooth module is used to establish a Bluetooth connection with an external device, and execute according to the control of the preemption module Corresponding operation
  • the preemption module is configured to execute the Bluetooth preemption method according to the first aspect or any one of the possible implementation manners of the first aspect.
  • the present application provides a computer-readable storage medium, including computer instructions, when the computer instructions are executed by a processor, the computer instructions can be implemented as described in the first aspect or any one of the possible implementation manners of the first aspect Bluetooth preemption method.
  • the Bluetooth preemption device described in the second aspect of the application the Bluetooth device described in the third party, and the computer-readable storage medium described in the fourth aspect are used to execute the method provided in the first aspect described above, Therefore, the same beneficial effects as the method described in the first aspect can be achieved, and the embodiments of the present application will not be repeated here.
  • This application realizes Bluetooth preemption.
  • a new external device wants to connect to a Bluetooth device, there is no need to manually disconnect the currently connected external device.
  • the new external device is disconnected, it can be automatically connected
  • An external device does not require human operation in the whole process, which is more convenient and comfortable to use, and the preemption speed of this application is fast enough and the experience is better.
  • Fig. 1 is a flowchart of a Bluetooth preemption method for a Bluetooth device according to an embodiment of the application.
  • remote control used in this application refers to a component of an electronic device (such as the Bluetooth device disclosed in this application), which can generally control the electronic device wirelessly within a short distance.
  • an electronic device such as the Bluetooth device disclosed in this application
  • RF radio frequency
  • Bluetooth is used to connect to electronic devices, and may also include functional modules such as WiFi, wireless USB, Bluetooth, and motion sensors.
  • new external device is only used to distinguish the "currently connected external device”.
  • a Bluetooth device refers to an electronic device that includes a Bluetooth module. Through the Bluetooth module, the Bluetooth device can establish a Bluetooth connection with other external devices that support the Bluetooth function. Since the external device is a device that supports the Bluetooth function, the external device is also a Bluetooth device. In some embodiments, the Bluetooth device may also include a passive NFC tag or an active NFC tag. The Bluetooth MAC address of the Bluetooth device is stored in the NFC tag. After touching the external device with NFC function and supporting Bluetooth function, you can get it. The Bluetooth MAC address can be connected to the Bluetooth device. If the external device and the Bluetooth device have never been connected, the Bluetooth device or the external device will first initiate a scan and pairing. After the pairing is successful, the connection is established. After the connection is successful, the external device can be used The function of the external device or the function of the Bluetooth device.
  • the traditional Bluetooth device After the traditional Bluetooth device is turned on, it usually needs to trigger some buttons again to enter the connectable mode. At this time, the external device can search for the Bluetooth device in the Bluetooth list and perform pairing connection. When it is turned on, you can unilaterally initiate a connection back and continue to use it. Usually, after the Bluetooth device is connected, other external devices cannot be searched, because the Bluetooth device is in an undiscoverable state at this time.
  • a Bluetooth device with a passive NFC tag wants to be connected by an external device, you first need to set the mode to be discoverable. Because the external device touches the passive NFC tag, the Bluetooth device does not know it, so the Bluetooth device needs to be in Can be found status. The Bluetooth device with the source NFC tag only needs to be in the power-on mode, and the external device can be connected by touching the NFC tag.
  • the Bluetooth device After the Bluetooth device is turned on, set the Bluetooth to be discoverable and set the Bluetooth name, so that the external device can connect to the Bluetooth device.
  • the Bluetooth connection process can be divided into:
  • the ACL connection phase that is, the Bluetooth link layer establishes the connection phase. It is connected by an external device for the first time. At this stage, the Bluetooth device cannot obtain any other valid information except for the MAC address of the external device.
  • the Bluetooth device can get the device type of the external device (such as: phone, headset, handle, etc.).
  • the profile is in the connection phase. To establish an audio connection, the profile represents that the external device has a certain type of capability, and the connection is made according to the profile type.
  • the profile is connected. After the connection is successful, the corresponding function can be provided. For example, after the A2dpSinkProfile is connected, the external device will play music on the Bluetooth device.
  • the first connection of the external device will go through all stages 1-5, and the external device that has been paired will be called back to connect again, and it will only go through the three stages 1, 4, and 5.
  • the preemption speed must be fast enough, so the timing of preemption must be as early as possible.
  • This application judges whether the device type of the external device can be obtained, so as to realize preemption in stage 1 or stage 2.
  • the NFC module is connected to the hardware of the Bluetooth device.
  • the Bluetooth device can be notified as soon as possible. Disconnect the currently connected external device within a time and release the Bluetooth bandwidth resources in time. There is no difference other than the other processes, that is, when the Bluetooth device detects the NFC touch of the external device, if there is a connected external device Connect to the new external device directly.
  • Fig. 1 is a flowchart of a Bluetooth preemption method for a Bluetooth device according to an embodiment of the application. As shown in Fig. 1, the Bluetooth preemption method includes:
  • Monitor the Bluetooth device for example, monitor the establishment of the Bluetooth connection of the external device, including:
  • the profile is in the connection stage, and the audio connection is being received and the broadcast is being connected (the audio connection is being established);
  • the audio connection connected broadcast is received (the audio connection has been established).
  • the Bluetooth module When the active NFC touch message is monitored, if the Bluetooth module currently has an external audio device connected, control the Bluetooth module to disconnect the currently connected external audio device and establish a connection with the new external device, otherwise continue Monitoring; When listening to the message sent by the Bluetooth module, judge whether the device type of the new external device can be obtained from the monitored message, if the device type of the new external device is obtained, and the Bluetooth module currently has an external device connected , Control the Bluetooth module to disconnect the currently connected external device and establish a connection with the new external device, otherwise continue to monitor.
  • the Bluetooth device when the external device is a remote control, a keyboard, etc., it is not expected that these devices will grab the limited Bluetooth communication resources. At this time, it is necessary to determine the device type of the new external device that wants to establish a new connection. , When the device type of the new external device is the preset type and the Bluetooth module currently has a connected external device, control the Bluetooth module to disconnect the currently connected external device and establish a connection with the new external device; when the new external device When the device type of the set device is not the preset type, continue to monitor.
  • the Bluetooth device can store a device type table locally, which is not limited in this application.
  • the Bluetooth communication resources occupied by non-audio devices are usually relatively small.
  • the Bluetooth device if the Bluetooth device is currently connected to only non-audio devices (such as remote controls), it is not necessary to disconnect these non-audio devices.
  • the device type of the connected external device is judged. If the device type of the currently connected external device is only a non-audio device, continue to monitor; otherwise, control the Bluetooth module to disconnect the currently connected external audio device and establish a new external device. The connection of the device.
  • the Bluetooth module can be controlled to disconnect the currently connected external device and establish the new external device Connect, otherwise, continue to monitor.
  • a preemption instruction can be generated and sent to the Bluetooth module to make the Bluetooth module disconnect the currently connected external device, such as calling the A2dpSinkProfile disconnect interface. At the same time, it can also monitor the Bluetooth module to disconnect the currently connected external device and establish the connection of a new external device.
  • the process of disconnecting the currently connected external device includes:
  • A2dp Sink Profile is in the disconnection stage, and the audio connection is being disconnected broadcast received
  • An embodiment of the present application also provides a Bluetooth preemption device for a Bluetooth device.
  • the device is used to implement the Bluetooth preemption method involved in any of the embodiments in FIG. 1, which can be implemented by hardware or by hardware executing corresponding software.
  • the hardware or software includes one or more units corresponding to the above functions, for example, a monitoring unit, a preemption unit, and so on.
  • An embodiment of the present application also provides a Bluetooth device, including a Bluetooth module and a preemption module communicatively connected with the Bluetooth module, and the preemption module is configured to execute the method involved in any of the embodiments in FIG. 1.
  • An embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the instructions are executed by a processor to implement the method involved in any of the embodiments in FIG. 1.
  • the Bluetooth device is a projection terminal with a Bluetooth audio function
  • the external device is a mobile phone and an external Bluetooth speaker.
  • the projector needs to enter the audio mode before the mobile phone can search for the projector's Bluetooth speaker and connect.
  • passive NFC cannot give such a trigger condition for projection, so the projection end needs to be specially modified, not only to be able to scan and connect to an external Bluetooth device, but also to be able to be searched and connected by a mobile device.
  • the mobile phone From the perspective of the Bluetooth protocol stack or Bluetooth bandwidth, it is obviously not feasible for the mobile phone to connect to the projection terminal, and the projection terminal is also connected to the external audio at this time. If the projector has been connected to an external Bluetooth speaker or the mobile phone has been connected to the projector speaker, another mobile phone cannot be connected because the entire protocol stack strategy does not support it.
  • the ACL connection stage determines whether the device type can be obtained, if not, ignore it, if the type can be obtained and it is phone Type, disconnect the currently connected Bluetooth device or mobile phone. In the bonding phase, if the type is obtained and the phone type is obtained, the currently connected Bluetooth device or mobile phone is disconnected. If the projection terminal is an active NFC projection terminal, the projection terminal detects the NFC touch of the mobile phone. If there is a mobile phone or Bluetooth speaker connected at this time, it will directly disconnect and continue the connection of the new mobile phone.
  • Bluetooth bandwidth is limited, in order to achieve Bluetooth preemption, Bluetooth bandwidth balance needs to be done.
  • the usage scenarios of Bluetooth bandwidth include:
  • the size of the sequence number of the above-mentioned processes does not mean the order of execution. Some or all of the steps can be executed in parallel or one after the other, and the execution order of the processes should be based on their functions and The internal logic is determined, and should not constitute any limitation to the implementation process of the embodiments of the present application.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, a network device, or a terminal device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.
  • the words “if” or “if” as used herein can be interpreted as “when” or “when” or “in response to determination” or “in response to detection”.
  • the phrase “if determined” or “if detected (statement or event)” can be interpreted as “when determined” or “in response to determination” or “when detected (statement or event) )” or “in response to detection (statement or event)”.
  • the program can be stored in a readable storage medium of a device, and the program can be executed when the program is executed. , Including all or part of the above steps, the storage medium, such as: FLASH, EEPROM, etc.

Landscapes

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

Abstract

本申请公开了一种蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质。蓝牙设备包括蓝牙模块,该方法包括:对蓝牙设备进行监听;当监听到有源NFC触碰的消息时,如果蓝牙模块当前有连接的外置音频设备,则控制蓝牙模块断开当前连接的外置音频设备,并建立新外置设备的连接,否则继续进行监听;当监听到蓝牙模块发送的消息时,判断从监听的消息中是否能获取新外置设备的设备类型,如果获取到新外置设备的设备类型,且蓝牙模块当前有连接的外置设备,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,否则继续进行监听。本申请实现了蓝牙抢占,整个过程不需要人为操作,使用更为便利舒适,且本申请的抢占速度足够快,体验更好。

Description

蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质 技术领域
本申请涉及蓝牙通信领域,尤其涉及一种蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质。
背景技术
手机等设备可通过自带的音响设备播放音乐等音频数据,但是,人们对音响效果的追求越来越高,为了达到更好的音频播放效果,用户可以通过蓝牙来连接外置的蓝牙音响设备,利用外置的蓝牙音响设备播放音乐等音频数据。
蓝牙通信技术是一种常用的短距离无线通信技术,配置有蓝牙模块的蓝牙设备通过蓝牙模块可以与其他支持蓝牙功能的外置设备建立蓝牙通信连接,以与外置设备进行通信,使用外置设备的功能或使外置设备使用蓝牙设备的功能。断开当前连接的外置设备,继续新外置设备的连接,这个过程叫蓝牙抢占。目前的蓝牙设备在已经有外置设备连接的情况下,新的外置设备只能进行配对,最终无法建立音频连接,无法抢占。由于蓝牙通信资源非常有限,如果新的外置设备想要建立音频连接,必须人为地将当前连接的外置音频设备断开与蓝牙设备的蓝牙连接,然后建立新外置设备的连接。
发明内容
有鉴于此,本申请提供一种蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质。
第一方面,本申请提供一种蓝牙设备的蓝牙抢占方法,所述蓝牙设备包括蓝牙模块,所述蓝牙模块用于与外置设备建立蓝牙连接,该方法包括:
对蓝牙设备进行监听;
当监听到有源NFC触碰的消息时,如果蓝牙模块当前有连接的外置音频设备,则控制蓝牙模块断开当前连接的外置音频设备,并建立新外置设备的连接,否则继续进行监听;
当监听到蓝牙模块发送的消息时,判断从监听的消息中是否能获取新外置设备的设备类型,如果获取到新外置设备的设备类型,且蓝牙模块当前有连接的外置设备,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,否则继续进行监听。
在一种可能的设计中,所述如果获取到新外置设备的设备类型,且蓝牙模块当前有连接的外置设备,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,包括:
判断新外置设备的设备类型是否为预设类型;
当新外置设备的设备类型为预设类型,且蓝牙模块当前有连接的外置设备时,控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接;
当新外置设备的设备类型不是预设类型时,继续进行监听。
可选地,所述当新外置设备的设备类型为预设类型,且蓝牙模块当前有连接的外置设备时,控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,包括:
判断蓝牙模块当前连接的外置设备的设备类型,如果当前连接的外置设备的设备类型只有非音频设备,则继续进行监听,否则,控制蓝牙模块断开当前连接的外置音频设备,并建立新外置设备的连接。
在另一种可能的设计中,所述如果获取到新外置设备的设备类型,且蓝牙模块当前有连接的外置设备,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,包括:
判断新外置设备的设备类型与蓝牙模块当前连接的外置设备的设备类型是否相同,如果相同,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,否则,继续进行监听。
示例地,控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,包括:生成抢占指令并发送给蓝牙模块以使蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接。
可选地,控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,还包括:
对蓝牙模块断开当前连接的外置设备和建立新外置设备的连接进行监听。
第二方面,本申请提供一种蓝牙设备的蓝牙抢占装置,所述蓝牙设备包括蓝牙模块,所述蓝牙模块用于与外置设备建立蓝牙连接,该装置包括:
监听单元,用于对蓝牙设备进行监听;
抢占单元,用于当监听到有源NFC触碰的消息时,如果蓝牙模块当前有连接的外置音频设备,则控制蓝牙模块断开当前连接的外置音频设备,并建立新外置设备的连接;当监听到蓝牙模块发送的消息时,判断从监听的消息中是否能获取新外置设备的设备类型,如果获取到新外置设备的设备类型,且蓝牙模块当前有连接的外置设备,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接。
在一种可能的设计中,所述如果获取到新外置设备的设备类型,且蓝牙模块当前有连接的外置设备,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,包 括:
判断新外置设备的设备类型是否为预设类型;
当新外置设备的设备类型为预设类型,且蓝牙模块当前有连接的外置设备时,控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接;
当新外置设备的设备类型不是预设类型时,继续进行监听。
第三方面,本申请提供一种蓝牙设备,包括蓝牙模块,还包括与所述蓝牙模块通信连接的抢占模块,所述蓝牙模块用于与外置设备建立蓝牙连接,并根据抢占模块的控制执行相应操作;
所述抢占模块被配置为执行如第一方面或第一方面的可能的实现方式中任一项所述的蓝牙抢占方法。
第四方面,本申请提供一种计算机可读存储介质,包括计算机指令,所述计算机指令由处理器执行时,可实现如第一方面或第一方面的可能的实现方式中任一项所述的蓝牙抢占方法。
需要说明的是,本申请中第二方面所述的蓝牙抢占装置,第三方所述的蓝牙设备及第四方面所述的计算机可读存储介质,用于执行上述第一方面所提供的方法,因此可以达到与第一方面所述的方法相同的有益效果,本申请实施例在此不再一一赘述。
本申请实现了蓝牙抢占,当有新的外置设备想要连接蓝牙设备时,不需要人为地断开当前连接的外置设备,当这个新的外置设备断开连接后,可自动连接上一个外置设备,整个过程不需要人为操作,使用更为便利舒适,且本申请的抢占速度足够快,体验更好。
附图说明
本申请将通过实施例并参照附图的方式说明,其中:
图1为本申请实施例的蓝牙设备的蓝牙抢占方法流程图。
具体实施方式
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
基于本申请中示出的示例性实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。此外,虽然本申请中公开内容按 照示范性一个或几个实例来介绍,但应理解,可以就这些公开内容的各个方面也可以单独构成一个完整技术方案。
在本申请实施例中,“示例地”、“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。
此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖但不排他的包含,例如,包含了一系列组件的产品或设备不必限于清楚地列出的那些组件,而是可包括没有清楚地列出的或对于这些产品或设备固有的其它组件。
本申请中使用的术语“遥控器”,是指电子设备(如本申请中公开的蓝牙设备)的一个组件,通常可在较短的距离范围内无线控制电子设备。一般使用红外线和/或射频(RF)信号和/或蓝牙与电子设备连接,也可以包括WiFi、无线USB、蓝牙、动作传感器等功能模块。术语“新外置设备”仅用于区分“当前连接的外置设备”。
在以下实施例中,蓝牙设备是指包括蓝牙模块的电子设备,通过该蓝牙模块,蓝牙设备可以与其他支持蓝牙功能的外置设备建立蓝牙连接。由于外置设备是支持蓝牙功能的设备,因此,外置设备也是一种蓝牙设备。在一些实施例中,蓝牙设备还可以包括无源NFC标签或有源NFC标签,NFC标签中储存了蓝牙设备的蓝牙MAC地址,带NFC功能且支持蓝牙功能的外置设备触碰后,拿到蓝牙MAC地址可以连接蓝牙设备,如果外置设备和蓝牙设备之间从未连接过,会先由蓝牙设备或外置设备发起扫描配对,配对成功后建立连接,连接成功后则可以使用外置设备的功能或使外置设备使用蓝牙设备的功能。
传统蓝牙设备开机后,通常需要再次触发某些按键进入可连接模式,此时外置设备可以在蓝牙列表搜索到蓝牙设备,并进行配对连接,在不清除配对的情况下,下次双方都处于开机的情况下,可以单方发起回连继续使用。通常蓝牙设备被连接后,其他外置设备就无法搜索到,就是因为此时蓝牙设备处于不可发现状态。
带无源NFC标签的蓝牙设备想要被外部设备连接,首先需要把模式设置为可被发现,因为外置设备触碰无源NFC标签的动作,蓝牙设备并不知道,所以蓝牙设备需要一直处于可被发现状态。带有源NFC标签的蓝牙设备,只需要处于开机模式,外置设备通过触碰NFC标签即可实现连接。
蓝牙设备开机后将蓝牙设置为可被发现,并且设置蓝牙名称,这样外置设备就可以连接蓝牙设备,方法有两种:
1)打开蓝牙,进入蓝牙设置可搜索到蓝牙设备的蓝牙,点击连接;
2)打开外置设备NFC,外置设备通过触碰蓝牙设备的NFC标签,连接蓝牙。
通常,蓝牙的连接过程可以分为:
1.ACL连接阶段,即蓝牙链路层建立连接阶段。首次被外置设备连接,在该阶段,蓝牙设备除了能获取到外置设备的MAC地址,无法获取其他任何有效信息。
2.配对中阶段。在该阶段蓝牙设备可以拿到外置设备的设备类型(如:phone、耳机、手柄等)。
3.已配对阶段。配对已完成,可以根据外置设备的uuids获取到外置设备支持profile类型列表,为下一步进行profile连接做准备。
4.profile正在连接阶段。建立音频连接,profile代表外置设备具备某类能力,根据profile类型进行连接。
5.profile已连接阶段。连接成功后即可具备相应的功能,如A2dpSinkProfile连接后,外置设备播放音乐就会在蓝牙设备出声了。
外置设备首次连接会经过1-5所有阶段,而已经配对过的外置设备,再次连接叫回连,只会经过1、4和5三个阶段。为了达到更好的体验,抢占速度必须要足够快,因此抢占的时机需尽可能靠前。本申请通过对是否能获取到外置设备的设备类型进行判断,以实现在阶段1或阶段2进行抢占。而对于带有源NFC标签的蓝牙设备,NFC模块是和蓝牙设备硬件连接的,当外置设备触碰蓝牙设备的有源NFC模块时,蓝牙设备可以第一时间被通知到,因此可以在第一时间内断开当前已连接外置设备,及时释放蓝牙带宽资源,除此之外其他的流程并没有什么差别,即在蓝牙设备检测到外置设备NFC触碰时,如果有已连接的外置设备,则直接断开,继续新外置设备的连接。
图1为本申请实施例的蓝牙设备的蓝牙抢占方法流程图,如图1所示,蓝牙抢占方法包括:
对蓝牙设备进行监听,示例地,对建立外置设备的蓝牙连接进行监听,包括:
1)ACL连接阶段,接收到连接通路已建立广播(建立连接通路);
2)配对中阶段,接收到正在配对广播(正在配对);
3)已配对阶段,接收到已配对广播(已经配对);
4)profile正在连接阶段,接收到音频连接正在连接广播(正在建立音频连接);
5)profile已连接阶段,接收到音频连接已连接广播(已建立音频连接)。
当监听到有源NFC触碰的消息时,如果蓝牙模块当前有连接的外置音频设备,则控制蓝牙模块断开当前连接的外置音频设备,并建立新外置设备的连接,否则继续进行监听; 当监听到蓝牙模块发送的消息时,判断从监听的消息中是否能获取新外置设备的设备类型,如果获取到新外置设备的设备类型,且蓝牙模块当前有连接的外置设备,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,否则继续进行监听。
在一些实施例中,当外置设备为遥控器、键盘等设备时,并不希望这些设备去抢占有限的蓝牙通信资源,此时需要对想建立新连接的新外置设备的设备类型进行判断,当新外置设备的设备类型为预设类型,且蓝牙模块当前有连接的外置设备时,控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接;当新外置设备的设备类型不是预设类型时,继续进行监听。示例地,蓝牙设备可在本地存储一个设备类型表,本申请对此不做限制。
而非音频设备占用的蓝牙通信资源通常比较少,在一些实施例中,如果蓝牙设备当前连接的只有非音频设备(如遥控器),并不需要断开这些非音频设备,因此,可以对当前连接的外置设备的设备类型进行判断,如果当前连接的外置设备的设备类型只有非音频设备,则继续进行监听,否则,控制蓝牙模块断开当前连接的外置音频设备,并建立新外置设备的连接。
在一些实施例中,也可以当新外置设备的设备类型与蓝牙模块当前连接的外置设备的设备类型相同时,控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,否则,继续进行监听。
示例地,可以生成抢占指令并发送给蓝牙模块以使蓝牙模块断开当前连接的外置设备,如调用A2dpSinkProfile disconnect接口。同时也可以对蓝牙模块断开当前连接的外置设备和建立新外置设备的连接进行监听。示例地,断开当前连接的外置设备的过程包括:
1)调用A2dpSinkProfile disconnect接口;
2)A2dp Sink Profile正在断开阶段,接收到音频连接正在断开广播;
3)A2dp Sink Profile已断开阶段,接收到音频连接已断开广播;
4)ACL DISCONNECT阶段,接收到连接通路已断开广播。
本申请实施例还提供一种蓝牙设备的蓝牙抢占装置,该装置用于实现如图1中任一实施例涉及的蓝牙抢占方法,可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的单元,例如,监听单元,抢占单元等。
本申请实施例还提供一种蓝牙设备,包括蓝牙模块和与所述蓝牙模块通信连接的抢占模块,该抢占模块被配置为执行如图1中任一实施例涉及的方法。
本申请实施例还提供一种计算机可读存储介质,其中计算机可读存储介质存储有计算机指令,指令被处理器执行时实现如图1中任一实施例涉及的方法。
下面结合一具体实施例对蓝牙抢占方法的应用做进一步的说明。在该具体实施例中,蓝牙设备为具有蓝牙音响功能的投影端,外置设备为手机和外置蓝牙音响。
原本投影端需要进入到音响模式下,手机才可以搜索到投影端蓝牙音响并连接。很明显无源NFC并不能给投影这样的触发条件,因此投影端需要特殊修改,既要能够扫描连接外部蓝牙设备,又需要能够被手机设备搜索连接。从蓝牙协议栈或者蓝牙带宽的情况来看,手机连接上投影端,此时投影端同时也连接上外置音响的场景显然是不可行的。如果投影端已经连接外置蓝牙音响或者手机已连接了投影端音响,另外一部手机是无法连接的,因为整个协议栈的策略都不支持。
此时,如果利用本申请实施例的蓝牙抢占方法,当新手机想要连接上投影端时,ACL连接阶段,判断是否能获取到设备类型,如果不能则忽略,如果可以获取到类型且为phone类型,则断开当前已连接的蓝牙设备或手机。Bonding阶段,获取到类型且为phone类型,则断开当前已连接的蓝牙设备或手机。如果投影端为有源NFC投影端,投影端检测到手机NFC触碰,此时如果有已连接手机或蓝牙音响,则直接断开,继续新手机的连接。
由于蓝牙带宽是有限的,为了实现蓝牙抢占,需要做蓝牙带宽均衡。如,蓝牙带宽的使用场景包括:
1)保持蓝牙遥控器的稳定连接;
2)保证已连接手机的音频稳定传输;
3)响应新手机Page(寻呼)连接请求。
由于已连接手机的音频传输优先级比较高,降低带宽占用会出现音频卡顿,所以从其他两个方向做均衡调节做如下修改,示例地:
1)把蓝牙遥控器的连接参数增加3-5ms,既能满足遥控器需求,又降低了和遥控器保持连接沟通的频率;
2)把Page Scan(寻呼扫描)的interval(间隔时间)缩短500-600ms,从而更快速的响应新手机的Page(寻呼连接)请求。
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,部分或全部步骤可以并行执行或先后执行,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以 对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,网络设备或者终端设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM)磁碟或者光盘等各种可以存储程序代码的介质。
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
取决于语境,如在此所使用的词语“如果”或“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或 “当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关硬件来完成,所述的程序可以存储于一个设备的可读存储介质中,该程序在执行时,包括上述全部或部分步骤,所述的存储介质,如:FLASH、EEPROM等。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (10)

  1. 一种蓝牙设备的蓝牙抢占方法,所述蓝牙设备包括蓝牙模块,所述蓝牙模块用于与外置设备建立蓝牙连接,其特征在于,该方法包括:
    对蓝牙设备进行监听;
    当监听到有源NFC触碰的消息时,如果蓝牙模块当前有连接的外置音频设备,则控制蓝牙模块断开当前连接的外置音频设备,并建立新外置设备的连接,否则继续进行监听;
    当监听到蓝牙模块发送的消息时,判断从监听的消息中是否能获取新外置设备的设备类型,如果获取到新外置设备的设备类型,且蓝牙模块当前有连接的外置设备,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,否则继续进行监听。
  2. 根据权利要求1所述的一种蓝牙设备的蓝牙抢占方法,其特征在于,所述如果获取到新外置设备的设备类型,且蓝牙模块当前有连接的外置设备,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,包括:
    判断新外置设备的设备类型是否为预设类型;
    当新外置设备的设备类型为预设类型,且蓝牙模块当前有连接的外置设备时,控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接;
    当新外置设备的设备类型不是预设类型时,继续进行监听。
  3. 根据权利要求2所述的一种蓝牙设备的蓝牙抢占方法,其特征在于,所述当新外置设备的设备类型为预设类型,且蓝牙模块当前有连接的外置设备时,控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,包括:
    判断蓝牙模块当前连接的外置设备的设备类型,如果当前连接的外置设备的设备类型只有非音频设备,则继续进行监听,否则,控制蓝牙模块断开当前连接的外置音频设备,并建立新外置设备的连接。
  4. 根据权利要求1所述的一种蓝牙设备的蓝牙抢占方法,其特征在于,所述如果获取到新外置设备的设备类型,且蓝牙模块当前有连接的外置设备,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,包括:
    判断新外置设备的设备类型与蓝牙模块当前连接的外置设备的设备类型是否相同,如果相同,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,否则,继续进行监听。
  5. 根据权利要求1-4中任一项所述的一种蓝牙设备的蓝牙抢占方法,其特征在于,控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,包括:
    生成抢占指令并发送给蓝牙模块以使蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接。
  6. 根据权利要求5所述的一种蓝牙设备的蓝牙抢占方法,其特征在于,控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,还包括:
    对蓝牙模块断开当前连接的外置设备和建立新外置设备的连接进行监听。
  7. 一种蓝牙设备的蓝牙抢占装置,所述蓝牙设备包括蓝牙模块,所述蓝牙模块用于与外置设备建立蓝牙连接,其特征在于,该装置包括:
    监听单元,用于对蓝牙设备进行监听;
    抢占单元,用于当监听到有源NFC触碰的消息时,如果蓝牙模块当前有连接的外置音频设备,则控制蓝牙模块断开当前连接的外置音频设备,并建立新外置设备的连接;当监听到蓝牙模块发送的消息时,判断从监听的消息中是否能获取新外置设备的设备类型,如果获取到新外置设备的设备类型,且蓝牙模块当前有连接的外置设备,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接。
  8. 根据权利要求7所述的一种蓝牙设备的蓝牙抢占装置,其特征在于,所述如果获取到新外置设备的设备类型,且蓝牙模块当前有连接的外置设备,则控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接,包括:
    判断新外置设备的设备类型是否为预设类型;
    当新外置设备的设备类型为预设类型,且蓝牙模块当前有连接的外置设备时,控制蓝牙模块断开当前连接的外置设备,并建立新外置设备的连接;
    当新外置设备的设备类型不是预设类型时,继续进行监听。
  9. 一种蓝牙设备,包括蓝牙模块,其特征在于,还包括与所述蓝牙模块通信连接的抢占模块,所述蓝牙模块用于与外置设备建立蓝牙连接,并根据抢占模块的控制执行相应操作;
    所述抢占模块被配置为执行权利要求1-6中任一项所述的蓝牙设备的蓝牙抢占方法。
  10. 一种计算机可读存储介质,其特征在于,包括计算机指令,所述计算机指令由处理器执行时,可实现如权利要求1-6中任一项所述的蓝牙设备的蓝牙抢占方法。
PCT/CN2021/098059 2020-06-17 2021-06-03 蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质 WO2021254160A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010551365.9 2020-06-17
CN202010551365.9A CN111447602B (zh) 2020-06-17 2020-06-17 蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2021254160A1 true WO2021254160A1 (zh) 2021-12-23

Family

ID=71653623

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/098059 WO2021254160A1 (zh) 2020-06-17 2021-06-03 蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN111447602B (zh)
WO (1) WO2021254160A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114173315A (zh) * 2022-02-14 2022-03-11 荣耀终端有限公司 蓝牙回连方法及终端设备

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447602B (zh) * 2020-06-17 2020-09-29 成都极米科技股份有限公司 蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质
CN114173309A (zh) * 2020-09-10 2022-03-11 华为技术有限公司 音频控制系统
CN112911563B (zh) * 2021-01-27 2023-02-03 广州橙行智动汽车科技有限公司 一种基于多终端的蓝牙连接方法和系统
CN115412848A (zh) * 2021-05-27 2022-11-29 Oppo广东移动通信有限公司 音频共享方法、装置、终端、音频设备及存储介质
CN115442643B (zh) * 2021-06-03 2024-09-13 Oppo广东移动通信有限公司 投屏方法、装置、无线终端、投屏设备及存储介质
CN116828588B (zh) * 2023-08-25 2023-11-21 荣耀终端有限公司 通信方法、可读介质和电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2406015A (en) * 2003-09-15 2005-03-16 Small Planet Technology Ltd Telephone with bluetooth interface
CN102801863A (zh) * 2012-08-13 2012-11-28 孙涛 移动智能终端及其车辆管理模块的启动方法
CN104093216A (zh) * 2014-06-16 2014-10-08 小米科技有限责任公司 一种无线数据传输的方法和装置
CN106454697A (zh) * 2016-08-19 2017-02-22 深圳市元征科技股份有限公司 蓝牙的切换方法及装置
CN111107524A (zh) * 2018-10-25 2020-05-05 上海博泰悦臻电子设备制造有限公司 一种蓝牙连接的方法、系统及车载终端
CN111447602A (zh) * 2020-06-17 2020-07-24 成都极米科技股份有限公司 蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202907146U (zh) * 2012-11-09 2013-04-24 深圳市盛天龙视听科技有限公司 一种基于nfc技术的蓝牙音箱
WO2015192310A1 (zh) * 2014-06-17 2015-12-23 华为技术有限公司 无线连接的切换方法,无线终端及其系统
CN204117179U (zh) * 2014-09-26 2015-01-21 深圳市金瑞铭科技有限公司 带稳定触发输出功能nfc标签及电子设备
CN104683003A (zh) * 2015-03-05 2015-06-03 丰唐物联技术(深圳)有限公司 一种蓝牙连接的切换方法及系统
CN104683940A (zh) * 2015-03-05 2015-06-03 丰唐物联技术(深圳)有限公司 一种蓝牙连接的切换方法及系统
CN104967971B (zh) * 2015-06-26 2018-04-27 飞天诚信科技股份有限公司 一种实现Android系统下蓝牙自动回连的方法
CN106850091A (zh) * 2017-02-03 2017-06-13 珠海市杰理科技股份有限公司 蓝牙设备测试方法和系统
US10321406B2 (en) * 2017-02-21 2019-06-11 International Business Machines Corporation Contextually switching from a wireless communication to human body near-field communication for power savings
CN107567009B (zh) * 2017-09-28 2020-04-10 北京地平线机器人技术研发有限公司 蓝牙设备分享请求和控制方法及设备、计算机存储介质
CN109246851A (zh) * 2018-10-30 2019-01-18 歌尔科技有限公司 一种蓝牙连接的处理方法、设备及存储介质
CN113382397B (zh) * 2019-04-18 2023-12-08 华为技术有限公司 一种蓝牙连接方法、设备及系统
CN111246441B (zh) * 2020-02-26 2021-08-24 深圳市岍丞技术有限公司 蓝牙耳机与终端的连接方法、系统及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2406015A (en) * 2003-09-15 2005-03-16 Small Planet Technology Ltd Telephone with bluetooth interface
CN102801863A (zh) * 2012-08-13 2012-11-28 孙涛 移动智能终端及其车辆管理模块的启动方法
CN104093216A (zh) * 2014-06-16 2014-10-08 小米科技有限责任公司 一种无线数据传输的方法和装置
CN106454697A (zh) * 2016-08-19 2017-02-22 深圳市元征科技股份有限公司 蓝牙的切换方法及装置
CN111107524A (zh) * 2018-10-25 2020-05-05 上海博泰悦臻电子设备制造有限公司 一种蓝牙连接的方法、系统及车载终端
CN111447602A (zh) * 2020-06-17 2020-07-24 成都极米科技股份有限公司 蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114173315A (zh) * 2022-02-14 2022-03-11 荣耀终端有限公司 蓝牙回连方法及终端设备

Also Published As

Publication number Publication date
CN111447602B (zh) 2020-09-29
CN111447602A (zh) 2020-07-24

Similar Documents

Publication Publication Date Title
WO2021254160A1 (zh) 蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质
EP3893109B1 (en) Method and device for connecting bluetooth devices
US11350200B2 (en) Wireless audio source switching
WO2019090726A1 (zh) 选择蓝牙设备的方法、终端和系统
US11381948B2 (en) Connection switching for Bluetooth headsets
WO2018000290A1 (zh) 管理蓝牙连接的方法、蓝牙主设备和装置
US9301087B1 (en) Method and apparatus for connecting a bluetooth device
JP2017147767A (ja) Bluetoothネットワークでデータ通信を中継するための方法および装置
US20170199501A1 (en) Supporting Virtually Simultaneous Operation of Dual Wireless Protocols in a Single Device
WO2012142794A1 (zh) 蓝牙配件配对蓝牙设备的方法及蓝牙配件
WO2011017875A1 (zh) 一种终端控制蓝牙耳机有序连接的方法及系统
US9973607B2 (en) Headset adapter and a headset system
WO2024055494A1 (zh) 基于蓝牙耳机的通话方法、装置及存储介质
EP3068150B1 (en) Method and device for controlling device
WO2023087793A1 (zh) 音频业务处理方法、装置、电子设备及存储介质
CN103379448A (zh) 在取消连接时减少等待时间的方法和电子设备
WO2021239032A1 (zh) 蓝牙协议连接方法、装置、存储介质及相关设备
CN111741456A (zh) 蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质
TW202218449A (zh) 無縫交接通訊之方法、行動裝置及配件
CN109314738B (zh) 无线音频源切换
WO2024041189A1 (zh) 一种无线音频/视频装置和无线通信方法
WO2023103732A1 (zh) 耳机设备的状态控制方法、装置、耳机设备及存储介质
WO2023151423A1 (zh) 设备连接方法、装置、设备及存储介质
JP2017041761A (ja) オーディオ機器の接続方法およびオーディオ機器
WO2024031458A1 (zh) 资源配置方法、装置、存储介质以及终端

Legal Events

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

Ref document number: 21825791

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21825791

Country of ref document: EP

Kind code of ref document: A1