CN105682010A - Bluetooth connection control method and device in audio playing system, and player - Google Patents
Bluetooth connection control method and device in audio playing system, and player Download PDFInfo
- Publication number
- CN105682010A CN105682010A CN201610164793.XA CN201610164793A CN105682010A CN 105682010 A CN105682010 A CN 105682010A CN 201610164793 A CN201610164793 A CN 201610164793A CN 105682010 A CN105682010 A CN 105682010A
- Authority
- CN
- China
- Prior art keywords
- bluetooth connection
- playing
- equipment
- bluetooth
- sound source
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例公开了一种音频播放系统中的蓝牙连接控制方法、装置及播放设备。该方法包括:在音频播放系统中当前播放设备接收到音源设备的蓝牙连接请求时,依据预置的蓝牙连接权限信息,确定所述音源设备是否具备所述当前播放设备的蓝牙连接权限;依据确定结果,控制所述当前播放设备或所述音频播放系统中的其它播放设备响应所述蓝牙连接请求。本发明实施例中若音源设备请求接入不具备蓝牙连接权限的当前播放设备,那么音源设备能够通过具备蓝牙连接权限的其它播放设备接入音频播放系统,提升了用户体验的满意度。
The embodiment of the invention discloses a bluetooth connection control method, device and playback equipment in an audio playback system. The method includes: when the current playback device in the audio playback system receives the Bluetooth connection request of the audio source device, determining whether the audio source device has the Bluetooth connection authorization of the current playback device according to the preset Bluetooth connection authorization information; As a result, the current playback device or other playback devices in the audio playback system are controlled to respond to the Bluetooth connection request. In the embodiment of the present invention, if the audio source device requests to access the current playback device that does not have the Bluetooth connection permission, then the audio source device can access the audio playback system through other playback devices that have the Bluetooth connection permission, which improves the satisfaction of the user experience.
Description
技术领域technical field
本发明涉及音频播放技术领域,尤其是一种音频播放系统中的蓝牙连接控制方法、装置及播放设备。The invention relates to the technical field of audio playback, in particular to a Bluetooth connection control method, device and playback device in an audio playback system.
背景技术Background technique
随着移动互联应用的不断发展,由智能网络音箱、蓝牙耳机等播放设备组成的音频播放系统正越来越普及。这些智能网络音箱集成了处理器、网络接口和蓝牙模块,除了播放互联网上的音乐,音频播放系统也可以播放存储在本地的音乐,如存储在音频播放系统中某台播放设备的内部存储器、外部存储器(如U盘)、智能终端或局域网内NAS(NetworkAttachedStorage,网络附属存储)等其它可访问的音源设备上的音乐文件。With the continuous development of mobile Internet applications, audio playback systems composed of playback devices such as smart network speakers and Bluetooth headsets are becoming more and more popular. These intelligent network speakers integrate processors, network interfaces and Bluetooth modules. In addition to playing music on the Internet, the audio playback system can also play music stored locally, such as stored in the internal memory of a playback device in the audio playback system, external Music files on other accessible audio source devices such as storage (such as U disk), smart terminals or NAS (Network Attached Storage, Network Attached Storage) in the local area network.
若音源设备与音频播放系统中的某台播放设备建立蓝牙连接,该播放设备通过蓝牙连接能够接收并播放音源设备发送过来的音频数据。然而,目前音源设备与播放设备之间建立蓝牙连接的方式较单一,无法满足用户需求。If the audio source device establishes a Bluetooth connection with a playback device in the audio playback system, the playback device can receive and play the audio data sent by the audio source device through the Bluetooth connection. However, currently, the method of establishing a Bluetooth connection between the audio source device and the playback device is relatively simple, which cannot meet the needs of users.
发明内容Contents of the invention
本发明实施例的目的在于提供一种多播放设备的蓝牙连接控制方法、装置及播放设备,以丰富音源设备与播放设备之间建立蓝牙连接的方式,提升用户体验的满意度。The purpose of the embodiments of the present invention is to provide a Bluetooth connection control method and device for multiple playback devices, and a playback device, to enrich the way of establishing Bluetooth connections between audio source devices and playback devices, and improve user experience satisfaction.
第一方面,本发明实施例提供了一种音频播放系统中的蓝牙连接控制方法,包括:In a first aspect, an embodiment of the present invention provides a Bluetooth connection control method in an audio playback system, including:
在音频播放系统中当前播放设备接收到音源设备的蓝牙连接请求时,依据预置的蓝牙连接权限信息,确定所述音源设备是否具备所述当前播放设备的蓝牙连接权限;When the current playback device in the audio playback system receives the Bluetooth connection request of the audio source device, determine whether the audio source device has the Bluetooth connection authorization of the current playback device according to the preset Bluetooth connection authorization information;
依据确定结果,控制所述当前播放设备或所述音频播放系统中的其它播放设备响应所述蓝牙连接请求。According to the determination result, control the current playback device or other playback devices in the audio playback system to respond to the Bluetooth connection request.
第二方面,本发明实施例提供了一种音频播放系统中的蓝牙连接控制装置,包括:In a second aspect, an embodiment of the present invention provides a Bluetooth connection control device in an audio playback system, including:
蓝牙权限确定模块,用于在音频播放系统中当前播放设备接收到音源设备的蓝牙连接请求时,依据预置的蓝牙连接权限信息,确定所述音源设备是否具备所述当前播放设备的蓝牙连接权限;The bluetooth permission determination module is used to determine whether the sound source device has the bluetooth connection permission of the current playback device according to the preset bluetooth connection permission information when the current playback device receives the bluetooth connection request of the audio source device in the audio playback system ;
蓝牙连接模块,用于依据确定结果,控制所述当前播放设备或所述音频播放系统中的其它播放设备响应所述蓝牙连接请求。The Bluetooth connection module is configured to control the current playback device or other playback devices in the audio playback system to respond to the Bluetooth connection request according to the determination result.
第三方面,本发明实施例提供了一种播放设备,包括本发明任意实施例提供的音频播放系统中的蓝牙连接控制装置。In a third aspect, an embodiment of the present invention provides a playback device, including the Bluetooth connection control device in the audio playback system provided in any embodiment of the present invention.
本发明实施例提供的技术方案,通过在当前播放设备接收到音源设备的蓝牙连接请求时,依据蓝牙连接权限信息确定音源设备是否具备当前播放设备的蓝牙连接权限,若是,则控制当前播放设备响应音源设备的蓝牙连接请求;否则,控制其它播放设备响应音源设备的蓝牙连接请求,即,若音源设备请求接入不具备蓝牙连接权限的当前播放设备,那么音源设备能够通过具备蓝牙连接权限的其它播放设备接入音频播放系统,提升了用户体验的满意度。In the technical solution provided by the embodiment of the present invention, when the current playback device receives the Bluetooth connection request of the audio source device, it is determined whether the audio source device has the Bluetooth connection permission of the current playback device according to the Bluetooth connection authority information, and if so, the current playback device is controlled to respond. The Bluetooth connection request of the audio source device; otherwise, control other playback devices to respond to the Bluetooth connection request of the audio source device. The playback device is connected to the audio playback system, which improves the satisfaction of the user experience.
附图说明Description of drawings
图1a为本发明实施例一提供的一种音频播放系统中的蓝牙连接控制方法的流程示意图;FIG. 1a is a schematic flowchart of a Bluetooth connection control method in an audio playback system provided by Embodiment 1 of the present invention;
图1b是本发明实施例一提供的一种音频播放系统结构图;Fig. 1b is a structural diagram of an audio playback system provided by Embodiment 1 of the present invention;
图1c是本发明实施例一提供的一种音频播放系统结构图;Fig. 1c is a structural diagram of an audio playback system provided by Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种音频播放系统中的蓝牙连接控制方法的流程示意图;2 is a schematic flowchart of a Bluetooth connection control method in an audio playback system provided in Embodiment 2 of the present invention;
图3a为本发明实施例三提供的一种音频播放系统中的蓝牙连接控制装置的结构示意图;3a is a schematic structural diagram of a Bluetooth connection control device in an audio playback system provided by Embodiment 3 of the present invention;
图3b是本发明实施例三提供的一种音频播放系统中播放设备的结构图。Fig. 3b is a structural diagram of a playback device in an audio playback system provided by Embodiment 3 of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.
实施例一Embodiment one
图1a为本发明实施例一提供的一种音频播放系统中的蓝牙连接控制方法的流程示意图,该方法可以由音频播放系统中的蓝牙连接控制装置执行,其中该装置可以由软件和/或硬件实现,可作为播放设备的一部分被内置在播放设备内部。如图1a所示,该实现流程包括:Figure 1a is a schematic flowchart of a Bluetooth connection control method in an audio playback system provided by Embodiment 1 of the present invention, the method can be executed by a Bluetooth connection control device in the audio playback system, wherein the device can be implemented by software and/or hardware It can be implemented as a part of the playback device and be built inside the playback device. As shown in Figure 1a, the implementation process includes:
步骤11、在音频播放系统中当前播放设备接收到音源设备的蓝牙连接请求时,依据预置的蓝牙连接权限信息,确定所述音源设备是否具备所述当前播放设备的蓝牙连接权限。Step 11. When the current playback device in the audio playback system receives the Bluetooth connection request of the audio source device, determine whether the audio source device has the Bluetooth connection authorization of the current playback device according to the preset Bluetooth connection authorization information.
结合图1b和图1c所示,音频播放系统包含多台播放设备,播放设备之间通过网格(MESH)或点对点(Ad-hoc)等无线私有网络进行通讯,其中音频播放系统中的主播放设备可以与路由器建立有线连接(参考图1b),主播放设备也可以与路由器建立无线连接(参考图1c)。音频播放系统中每台播放设备集成有蓝牙模块。具有蓝牙功能的音源设备可以与播放设备通过蓝牙连接,将音源设备的音频数据传输给播放设备,播放设备接收来自音源设备的音频数据后,不仅自身可以播放接收的音频数据,还可以将接收的音频数据通过私有网络传输给音频播放系统中的其它播放设备进行播放。As shown in Figure 1b and Figure 1c, the audio playback system includes multiple playback devices, and the playback devices communicate through wireless private networks such as mesh (MESH) or point-to-point (Ad-hoc), wherein the main player in the audio playback system The device can establish a wired connection with the router (refer to FIG. 1b ), and the main playback device can also establish a wireless connection with the router (refer to FIG. 1c ). Each playback device in the audio playback system is integrated with a Bluetooth module. The audio source device with Bluetooth function can be connected with the playback device via Bluetooth, and transmit the audio data of the audio source device to the playback device. After the playback device receives the audio data from the audio source device, it can not only play the received audio data itself, but also send the The audio data is transmitted to other playback devices in the audio playback system through the private network for playback.
其中,当前播放设备指的是音频播放系统中任一台播放设备,其它播放设备指的是音频播放系统中除该播放设备外的播放设备。具体的,音频播放系统中每台播放设备均存储有该系统关联的蓝牙连接权限信息,或者主播放设备存储有该系统关联的蓝牙连接权限信息,其中蓝牙连接权限信息记录有音频播放系统中每台播放设备的蓝牙访问权限,如播放设备允许与之建立蓝牙连接的音源设备信息,或者播放设备不允许与之建立蓝牙连接的音源设备信息,或者播放设备允许与任意音源设备建立蓝牙连接等。Wherein, the current playback device refers to any playback device in the audio playback system, and other playback devices refer to playback devices in the audio playback system other than the playback device. Specifically, each playback device in the audio playback system stores the Bluetooth connection permission information associated with the system, or the main playback device stores the Bluetooth connection permission information associated with the system, where the Bluetooth connection permission information is recorded. The Bluetooth access rights of the playback device, such as the information of the audio source device that the playback device is allowed to establish a Bluetooth connection with, or the information of the audio source device that the playback device is not allowed to establish a Bluetooth connection with, or the playback device allows the establishment of a Bluetooth connection with any audio source device, etc.
步骤12、依据确定结果,控制所述当前播放设备或所述音频播放系统中的其它播放设备响应所述蓝牙连接请求。Step 12. According to the determination result, control the current playback device or other playback devices in the audio playback system to respond to the Bluetooth connection request.
具体的,若音源设备具备当前播放设备的蓝牙连接权限,则控制当前播放设备与音源设备建立蓝牙连接,否则,控制音源设备具备蓝牙连接权限的其它播放设备响应蓝牙连接请求。Specifically, if the audio source device has the Bluetooth connection authority of the current playback device, control the current playback device to establish a Bluetooth connection with the audio source device; otherwise, control other playback devices that have the Bluetooth connection permission of the audio source device to respond to the Bluetooth connection request.
本发明实施例提供的技术方案,通过在当前播放设备接收到音源设备的蓝牙连接请求时,依据蓝牙连接权限信息确定音源设备是否具备当前播放设备的蓝牙连接权限,若是,则控制当前播放设备响应音源设备的蓝牙连接请求;否则,控制其它播放设备响应音源设备的蓝牙连接请求,即,若音源设备请求接入不具备蓝牙连接权限的当前播放设备,那么音源设备能够通过具备蓝牙连接权限的其它播放设备接入音频播放系统,提升了用户体验的满意度。In the technical solution provided by the embodiment of the present invention, when the current playback device receives the Bluetooth connection request of the audio source device, it is determined whether the audio source device has the Bluetooth connection permission of the current playback device according to the Bluetooth connection authority information, and if so, the current playback device is controlled to respond. The Bluetooth connection request of the audio source device; otherwise, control other playback devices to respond to the Bluetooth connection request of the audio source device. The playback device is connected to the audio playback system, which improves the satisfaction of the user experience.
示例性的,蓝牙连接权限信息可以通过如下方式配置:依据音源设备与所述音频播放系统之间的蓝牙连接历史行为,确定并存储音源设备对所述音频播放系统中各播放设备的蓝牙连接权限信息。Exemplarily, the bluetooth connection permission information can be configured in the following manner: according to the Bluetooth connection history behavior between the sound source device and the audio playback system, determine and store the bluetooth connection permission of the sound source device to each playback device in the audio playback system information.
其中,蓝牙连接历史行为指的是音源设备通过蓝牙接入音频播放系统的历史行为。具体的,在任一音源设备与音源播放系统中的任一播放设备建立蓝牙连接后,该播放设备或主播放设备可以确定并存储该音源设备具备该播放设备的蓝牙连接权限。Wherein, the Bluetooth connection historical behavior refers to the historical behavior of the audio source device connecting to the audio playback system through Bluetooth. Specifically, after any audio source device establishes a Bluetooth connection with any playback device in the audio source playback system, the playback device or the main playback device may determine and store that the audio source device has the Bluetooth connection authority of the playback device.
示例性的,蓝牙连接权限信息也可以通过如下方式配置:从控制终端获取并存储音源设备对所述音频播放系统中各播放设备的蓝牙连接权限信息,所述蓝牙连接权限信息由所述控制终端依据用户操作生成的。Exemplarily, the bluetooth connection authority information can also be configured in the following manner: acquire and store the bluetooth connection authority information of the sound source device to each playback device in the audio playback system from the control terminal, and the bluetooth connection authority information is determined by the control terminal Generated based on user actions.
具体的,在任一音源设备与音源播放系统中的任一播放设备建立蓝牙连接后,该播放设备或主播放设备也可以记录该音源设备的蓝牙模块信息,如该音源设备的蓝牙名称和MAC(MediaAccessControl,媒体访问控制)地址,用户也可以在连接到音频播放系统的控制终端上手动输入音源设备的蓝牙模块信息。该播放设备或主播放设备获取音源设备的蓝牙模块信息后,用户可以通过控制终端设置每台播放设备的蓝牙访问权限,控制终端依据用户设置操作生成音源设备的蓝牙连接权限信息。Specifically, after any audio source device establishes a Bluetooth connection with any playback device in the audio source playback system, the playback device or the main playback device can also record the Bluetooth module information of the audio source device, such as the Bluetooth name and MAC ( MediaAccessControl, Media Access Control) address, the user can also manually input the Bluetooth module information of the audio source device on the control terminal connected to the audio playback system. After the playback device or the main playback device obtains the Bluetooth module information of the audio source device, the user can set the Bluetooth access permission of each playback device through the control terminal, and the control terminal generates the Bluetooth connection permission information of the audio source device according to the user setting operation.
实施例二Embodiment two
本实施例在上述实施例一的基础上提供了一种新的音频播放系统中的蓝牙连接控制方法。图2为本发明实施例二提供的一种音频播放系统中的蓝牙连接控制方法的流程示意图,该方法可以由音频播放系统中的蓝牙连接控制装置执行,其中该装置可以由软件和/或硬件实现,可作为当前播放设备一部分被内置在当前播放设备内部。如图2所示,该实现流程包括:This embodiment provides a new Bluetooth connection control method in an audio playback system on the basis of the first embodiment above. Fig. 2 is a schematic flowchart of a Bluetooth connection control method in an audio playback system provided in Embodiment 2 of the present invention, the method can be executed by a Bluetooth connection control device in the audio playback system, wherein the device can be implemented by software and/or hardware Realized, it can be built into the current playback device as a part of the current playback device. As shown in Figure 2, the implementation process includes:
步骤21、在音频播放系统中当前播放设备接收到音源设备的蓝牙连接请求时,依据预置的蓝牙连接权限信息,确定所述音源设备是否具备所述当前播放设备的蓝牙连接权限。Step 21. When the current playback device in the audio playback system receives the Bluetooth connection request of the audio source device, determine whether the audio source device has the Bluetooth connection authorization of the current playback device according to the preset Bluetooth connection authorization information.
在本实施例中,当前播放设备指的是音频播放系统中任一台播放设备。若当前播放设备中预置有蓝牙连接权限信息,即音频播放系统中每台播放设备均预置有蓝牙连接权限信息,则当前播放设备依据自己内部的蓝牙连接权限信息确定音源设备是否具备当前播放设备的蓝牙连接权限。若音源设备具备当前播放设备的蓝牙连接权限,则当前播放设备依据蓝牙连接请求包含的音源设备的蓝牙模块信息建立与音源设备之间的蓝牙连接。In this embodiment, the current playback device refers to any playback device in the audio playback system. If the current playback device has Bluetooth connection permission information preset, that is, each playback device in the audio playback system has Bluetooth connection permission information preset, then the current playback device determines whether the audio source device has the current playback permission information based on its own internal Bluetooth connection permission information. The Bluetooth connection permission of the device. If the audio source device has the Bluetooth connection authority of the current playback device, the current playback device establishes a Bluetooth connection with the audio source device according to the Bluetooth module information of the audio source device included in the Bluetooth connection request.
需要说明的是,若音频播放系统中仅主播放设备中预置有蓝牙连接权限信息,而当前播放设备中未预置有蓝牙连接权限信息,则当前播放设备通过音频播放系统的私有网络控制主播放设备确定音源设备是否具备当前播放设备的蓝牙连接权限,如当前播放将音源设备的蓝牙模块信息发送给主播放设备,主播放设备依据预置的蓝牙连接权限信息和音源设备的蓝牙模块信息,确定音源设备是否具备当前播放设备的蓝牙连接权限,且主播放设备将确定结果返回给当前播放设备。It should be noted that if only the main playback device has Bluetooth connection permission information preset in the audio playback system, but the current playback device does not have Bluetooth connection permission information preset, the current playback device controls the main playback device through the private network of the audio playback system. The playback device determines whether the audio source device has the Bluetooth connection permission of the current playback device. If the current playback sends the Bluetooth module information of the audio source device to the main playback device, the main playback device is based on the preset Bluetooth connection permission information and the Bluetooth module information of the audio source device. Determine whether the audio source device has the Bluetooth connection permission of the current playback device, and the main playback device returns the confirmation result to the current playback device.
步骤22、若所述音源设备不具备所述当前播放设备的蓝牙连接权限,则依据所述蓝牙连接权限信息,将所述音源设备具备蓝牙连接权限的其它播放设备确定为目标播放设备。Step 22: If the audio source device does not have the Bluetooth connection authority of the current playback device, then according to the Bluetooth connection authority information, determine other playback devices that have the Bluetooth connection authority of the audio source device as target playback devices.
具体的,若音源设备不具备当前播放设备的蓝牙连接权限,则当前播放设备依据蓝牙连接权限信息,查找音源设备具备蓝牙连接权限的其它播放设备,并将查找到的其它播放设备确定为目标播放设备。Specifically, if the audio source device does not have the Bluetooth connection permission of the current playback device, the current playback device searches for other playback devices that have the Bluetooth connection permission of the audio source device according to the Bluetooth connection permission information, and determines the found other playback devices as the target playback device. equipment.
示例性的,依据所述蓝牙连接权限信息,将所述音源设备具备蓝牙连接权限的其它播放设备确定为目标播放设备,可以包括:Exemplarily, according to the bluetooth connection permission information, determining other playback devices with bluetooth connection permission of the audio source device as the target playback device may include:
A、将所述音源设备具备蓝牙连接权限的其它播放设备确定为候选播放设备。A. Determine other playback devices that the audio source device has Bluetooth connection authority as candidate playback devices.
若音源设备具备至少两个其它播放设备的蓝牙连接权限,则当前播放设备将至少两个其它播放设备确定为候选播放设备。If the audio source device has the Bluetooth connection authority of at least two other playback devices, the current playback device determines at least two other playback devices as candidate playback devices.
B、依据所述候选播放设备的工作负荷信息,或所述候选播放设备检测到的音源设备中蓝牙模块的蓝牙信号强度,从所述候选播放设备中选择目标播放设备。B. Select a target playback device from the candidate playback devices according to the workload information of the candidate playback devices, or the Bluetooth signal strength of the Bluetooth module in the audio source device detected by the candidate playback devices.
为了进一步提高目标播放设备与音源设备的通信质量,示例性的,将所述工作负荷信息最小的候选播放设备确定为候选播放设备;或者,将检测到的音源设备中蓝牙模块的蓝牙信号强度最强的候选播放设备,确定为目标播放设备。当前播放设备确定候选播放设备后,获取候选播放设备的工作负荷信息或者候选播放设备检测到的音源设备中蓝牙模块的蓝牙信号强度,并将工作负荷信息最小候选播放设备确定为候选播放设备;或者,将检测到的音源设备中蓝牙模块的蓝牙信号强度最强的候选播放设备。In order to further improve the communication quality between the target playback device and the audio source device, for example, the candidate playback device with the smallest workload information is determined as the candidate playback device; or, the Bluetooth signal strength of the Bluetooth module in the detected audio source device is the highest The strong candidate playback device is determined as the target playback device. After the current playback device determines the candidate playback device, obtain the workload information of the candidate playback device or the Bluetooth signal strength of the Bluetooth module in the audio source device detected by the candidate playback device, and determine the candidate playback device with the smallest workload information as the candidate playback device; or , the candidate playback device with the strongest Bluetooth signal strength of the Bluetooth module among the detected audio source devices.
步骤23、将确定的目标播放设备的蓝牙模块信息发送给所述音源设备,使所述音源设备依据接收的蓝牙模块信息建立与所述目标播放设备的蓝牙连接。Step 23: Send the determined Bluetooth module information of the target playback device to the audio source device, so that the audio source device establishes a Bluetooth connection with the target playback device according to the received Bluetooth module information.
示例性的,将确定的目标播放设备的蓝牙模块信息发送给所述音源设备,可以包括:通过无线路由器将确定的目标播放设备的蓝牙模块信息发送给所述音源设备,其中所述音源设备与所述音频播放系统的主播放设备均接入所述无线路由器;或者,控制建立所述音源设备与所述当前播放设备之间的临时蓝牙连接,通过所述临时蓝牙连接将确定的目标播放设备的蓝牙模块信息发送给所述音源设备。Exemplarily, sending the Bluetooth module information of the determined target playback device to the sound source device may include: sending the determined Bluetooth module information of the target playback device to the sound source device through a wireless router, wherein the sound source device and The main playback devices of the audio playback system are all connected to the wireless router; or, control the establishment of a temporary Bluetooth connection between the audio source device and the current playback device, and the target playback device will be determined through the temporary Bluetooth connection The bluetooth module information is sent to the audio source device.
具体的,若音源设备已通过WIFI(WirelessFidelity,无线保真网络)接入音频播放系统,则当前播放设备通过WIFI将目标播放设备的蓝牙模块信息发送给音源设备,即当前播放设备通过主播放设备和无线路由器将目标播放设备的蓝牙模块信息发送给音源设备。若音源设备未通过WIFI接入音频播放系统,则当前播放设备建立与音源设备的临时蓝牙连接,通过临时蓝牙连接将目标播放设备的蓝牙模块信息发送给音源设备,随后断开临时蓝牙连接。Specifically, if the audio source device has been connected to the audio playback system through WIFI (Wireless Fidelity, wireless fidelity network), the current playback device sends the Bluetooth module information of the target playback device to the audio source device through WIFI, that is, the current playback device passes the main playback device Send the bluetooth module information of the target playback device to the audio source device with the wireless router. If the audio source device is not connected to the audio playback system through WIFI, the current playback device establishes a temporary Bluetooth connection with the audio source device, sends the Bluetooth module information of the target playback device to the audio source device through the temporary Bluetooth connection, and then disconnects the temporary Bluetooth connection.
第三实施例third embodiment
图3a为本发明实施例三提供的一种音频播放系统中的蓝牙连接控制装置的结构示意图,该装置可以配置于播放设备中。如图3a所示,该音频播放系统中的蓝牙连接控制装置的具体结构可以包括:Fig. 3a is a schematic structural diagram of a Bluetooth connection control device in an audio playback system provided by Embodiment 3 of the present invention, and the device can be configured in a playback device. As shown in Figure 3a, the specific structure of the Bluetooth connection control device in the audio playback system may include:
蓝牙权限确定模块31,用于在音频播放系统中当前播放设备接收到音源设备的蓝牙连接请求时,依据预置的蓝牙连接权限信息,确定所述音源设备是否具备所述当前播放设备的蓝牙连接权限;Bluetooth authority determination module 31, for when the current playback device receives the Bluetooth connection request of the audio source device in the audio playback system, determine whether the audio source device has the Bluetooth connection of the current playback device according to the preset Bluetooth connection authority information authority;
蓝牙连接模块32,用于依据确定结果,控制所述当前播放设备或所述音频播放系统中的其它播放设备响应所述蓝牙连接请求。The Bluetooth connection module 32 is configured to control the current playback device or other playback devices in the audio playback system to respond to the Bluetooth connection request according to the determination result.
进一步地,该装置还可以包括蓝牙权限配置模块,用于:Further, the device may also include a bluetooth permission configuration module for:
依据音源设备与所述音频播放系统之间的蓝牙连接历史行为,确定并存储音源设备对所述音频播放系统中各播放设备的蓝牙连接权限信息;或者,According to the Bluetooth connection history behavior between the audio source device and the audio playback system, determine and store the Bluetooth connection permission information of the audio source device to each playback device in the audio playback system; or,
从控制终端获取并存储音源设备对所述音频播放系统中各播放设备的蓝牙连接权限信息,所述蓝牙连接权限信息由所述控制终端依据用户操作生成的。Obtain and store the Bluetooth connection authority information of the audio source device to each playback device in the audio playback system from the control terminal, and the Bluetooth connection permission information is generated by the control terminal according to user operations.
进一步地,蓝牙连接模块32可以包括:Further, the bluetooth connection module 32 may include:
目标设备确定单元,用于若所述音源设备不具备所述当前播放设备的蓝牙连接权限,则依据所述蓝牙连接权限信息,将所述音源设备具备蓝牙连接权限的其它播放设备确定为目标播放设备;A target device determination unit, configured to determine, according to the Bluetooth connection permission information, other playback devices that the sound source device has Bluetooth connection permission as the target playback device if the sound source device does not have the Bluetooth connection permission of the current playback device equipment;
信息发送单元,用于将确定的目标播放设备的蓝牙模块信息发送给所述音源设备,使所述音源设备依据接收的蓝牙模块信息建立与所述目标播放设备的蓝牙连接。The information sending unit is used to send the Bluetooth module information of the determined target playback device to the sound source device, so that the sound source device can establish a Bluetooth connection with the target playback device according to the received Bluetooth module information.
进一步地,目标设备确定单元可以包括:Further, the target device determining unit may include:
候选设备确定子单元,用于若所述音源设备不具备所述当前播放设备的蓝牙连接权限,则将所述音源设备具备蓝牙连接权限的其它播放设备确定为候选播放设备;A candidate device determining subunit, configured to determine other playback devices that the audio source device has Bluetooth connection permission as candidate playback devices if the sound source device does not have the Bluetooth connection permission of the current playback device;
目标设备选择子单元,用于依据所述候选播放设备的工作负荷信息,或所述候选播放设备检测到的音源设备中蓝牙模块的蓝牙信号强度,从所述候选播放设备中选择目标播放设备。The target device selection subunit is configured to select a target playback device from the candidate playback devices according to the workload information of the candidate playback devices, or the Bluetooth signal strength of the Bluetooth module in the sound source device detected by the candidate playback devices.
进一步地,候选设备确定子单元具体可以用于:Further, the candidate device determination subunit can be specifically used for:
将所述工作负荷信息最小的候选播放设备确定为候选播放设备;或者,determining the candidate playback device with the smallest workload information as the candidate playback device; or,
将检测到的音源设备中蓝牙模块的蓝牙信号强度最强的候选播放设备,确定为目标播放设备。The candidate playback device with the strongest Bluetooth signal strength of the Bluetooth module among the detected audio source devices is determined as the target playback device.
进一步地,信息发送单元具体可以用于:Further, the information sending unit can specifically be used for:
通过无线路由器将确定的目标播放设备的蓝牙模块信息发送给所述音源设备,其中所述音源设备与所述音频播放系统的主播放设备均接入所述无线路由器;或者,Send the Bluetooth module information of the determined target playback device to the audio source device through a wireless router, wherein both the audio source device and the main playback device of the audio playback system are connected to the wireless router; or,
控制建立所述音源设备与所述当前播放设备之间的临时蓝牙连接,通过所述临时蓝牙连接将确定的目标播放设备的蓝牙模块信息发送给所述音源设备。Controlling the establishment of a temporary bluetooth connection between the sound source device and the current playing device, and sending the determined bluetooth module information of the target playing device to the sound source device through the temporary bluetooth connection.
本实施例提供的音频播放系统中的蓝牙连接控制装置,与本发明任意实施例所提供的蓝牙连接控制方法属于同一发明构思,可执行本发明任意实施例所提供的蓝牙连接控制方法,具备执行蓝牙连接控制方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明任意实施例提供的由蓝牙连接控制方法。The Bluetooth connection control device in the audio playback system provided by this embodiment belongs to the same inventive concept as the Bluetooth connection control method provided by any embodiment of the present invention, and can execute the Bluetooth connection control method provided by any embodiment of the present invention. Corresponding functional modules and beneficial effects of the bluetooth connection control method. For technical details not described in detail in this embodiment, refer to the Bluetooth connection control method provided by any embodiment of the present invention.
另外,本发明实施例还提供了一种播放设备,包括本发明任意实施例提供的音频播放系统中的蓝牙连接控制装置。In addition, an embodiment of the present invention also provides a playback device, including the Bluetooth connection control device in the audio playback system provided by any embodiment of the present invention.
图3b是本发明实施例三提供的一种音频播放系统中播放设备的结构图。如图3b所示,播放设备主要包括:处理器、蓝牙模块、网络接口、音频放大模块、扬声器和存储器;Fig. 3b is a structural diagram of a playback device in an audio playback system provided by Embodiment 3 of the present invention. As shown in Figure 3b, the playback device mainly includes: a processor, a Bluetooth module, a network interface, an audio amplification module, a speaker and a memory;
所述处理器为播放设备的核心,用于执行控制程序,与周边各功能模块通信,协调和控制各个功能模块的工作。The processor is the core of the playback device, and is used to execute the control program, communicate with the surrounding functional modules, and coordinate and control the work of each functional module.
所述蓝牙模块用于实现蓝牙通信,使播放设备可以通过蓝牙技术与同样具备蓝牙功能的设备(如智能手机)建立连接,获取音频数据或控制数据。蓝牙模块将获取得到的音频数据和控制数据传输给处理器,也将处理器传输过来的音频数据和控制数据发送给其它蓝牙设备。The bluetooth module is used to realize bluetooth communication, so that the playback device can establish a connection with a bluetooth-enabled device (such as a smart phone) through bluetooth technology to obtain audio data or control data. The Bluetooth module transmits the obtained audio data and control data to the processor, and also sends the audio data and control data transmitted by the processor to other Bluetooth devices.
所述网络接口可以使有线网络接口,也可以使符合802.11规范的无线网络接口,所述处理器通过网络接口可以连接到互联网,获取网络流媒体音视频数据。通过网络接口,特别是无线网络的形式,多台播放设备可以组成一个无线音视频系统,实现音视频的同步播放。通常情况下,各个控制终端也是通过无线网络(如WIFI)连接入音视频系统,对音视频系统及系统内的播放设备进行操作控制。The network interface can be a wired network interface, or a wireless network interface conforming to the 802.11 standard, and the processor can be connected to the Internet through the network interface to obtain network streaming audio and video data. Through a network interface, especially in the form of a wireless network, multiple playback devices can form a wireless audio and video system to achieve synchronous playback of audio and video. Usually, each control terminal is also connected to the audio and video system through a wireless network (such as WIFI), and operates and controls the audio and video system and the playback equipment in the system.
所述音频放大模块用于将处理器发送过来的模拟音频信号进行功率放大,以驱动扬声器发声。The audio amplification module is used to amplify the power of the analog audio signal sent by the processor to drive the speaker to produce sound.
所述扬声器为声音还原部件,其数量可以是一个或多个。The loudspeaker is a sound restoration component, and its quantity can be one or more.
所述储存器用于存储处理器执行的程序,以及音视频系统的一些配置数据,如网络连接数据,音量信息,分组信息、以及播放的歌曲列表等。The storage is used to store programs executed by the processor, and some configuration data of the audio and video system, such as network connection data, volume information, group information, and a list of played songs.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610164793.XA CN105682010B (en) | 2016-03-22 | 2016-03-22 | Bluetooth connection control method and device in audio playing system and playing equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610164793.XA CN105682010B (en) | 2016-03-22 | 2016-03-22 | Bluetooth connection control method and device in audio playing system and playing equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105682010A true CN105682010A (en) | 2016-06-15 |
| CN105682010B CN105682010B (en) | 2019-02-19 |
Family
ID=56311298
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610164793.XA Active CN105682010B (en) | 2016-03-22 | 2016-03-22 | Bluetooth connection control method and device in audio playing system and playing equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105682010B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106341715A (en) * | 2016-08-29 | 2017-01-18 | 红河凯丰科技有限公司 | Novel TV set and multimedia play system |
| CN112423053A (en) * | 2020-11-06 | 2021-02-26 | 歌尔科技有限公司 | Audio sharing method, system, remote controller and computer readable storage medium |
| CN114550744A (en) * | 2022-02-28 | 2022-05-27 | 长沙朗源电子科技有限公司 | Multi-device interactive audio noise reduction method, system, device and storage medium |
| CN116137094A (en) * | 2021-11-18 | 2023-05-19 | 中兴通讯股份有限公司 | Management method, device, storage medium and terminal equipment of bluetooth equipment |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103299649A (en) * | 2010-10-22 | 2013-09-11 | Dts(英属维尔京群岛)有限公司 | Media distribution architecture |
| CN104468971A (en) * | 2014-10-30 | 2015-03-25 | 小米科技有限责任公司 | Method and device for connecting playing source |
| CN105072176A (en) * | 2015-07-30 | 2015-11-18 | 广东欧珀移动通信有限公司 | A wireless connection method and device for a playback system |
| CN105072564A (en) * | 2015-07-30 | 2015-11-18 | 广东欧珀移动通信有限公司 | A kind of audio playing method and device based on bluetooth connection |
| CN105142010A (en) * | 2015-07-30 | 2015-12-09 | 广东欧珀移动通信有限公司 | Bluetooth connection selection method of multi-play device and main play device |
-
2016
- 2016-03-22 CN CN201610164793.XA patent/CN105682010B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103299649A (en) * | 2010-10-22 | 2013-09-11 | Dts(英属维尔京群岛)有限公司 | Media distribution architecture |
| CN104468971A (en) * | 2014-10-30 | 2015-03-25 | 小米科技有限责任公司 | Method and device for connecting playing source |
| CN105072176A (en) * | 2015-07-30 | 2015-11-18 | 广东欧珀移动通信有限公司 | A wireless connection method and device for a playback system |
| CN105072564A (en) * | 2015-07-30 | 2015-11-18 | 广东欧珀移动通信有限公司 | A kind of audio playing method and device based on bluetooth connection |
| CN105142010A (en) * | 2015-07-30 | 2015-12-09 | 广东欧珀移动通信有限公司 | Bluetooth connection selection method of multi-play device and main play device |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106341715A (en) * | 2016-08-29 | 2017-01-18 | 红河凯丰科技有限公司 | Novel TV set and multimedia play system |
| CN112423053A (en) * | 2020-11-06 | 2021-02-26 | 歌尔科技有限公司 | Audio sharing method, system, remote controller and computer readable storage medium |
| CN112423053B (en) * | 2020-11-06 | 2024-04-09 | 歌尔科技有限公司 | Audio sharing method, system, remote controller and computer readable storage medium |
| CN116137094A (en) * | 2021-11-18 | 2023-05-19 | 中兴通讯股份有限公司 | Management method, device, storage medium and terminal equipment of bluetooth equipment |
| CN114550744A (en) * | 2022-02-28 | 2022-05-27 | 长沙朗源电子科技有限公司 | Multi-device interactive audio noise reduction method, system, device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105682010B (en) | 2019-02-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20170086233A1 (en) | Connection method for multimedia playing device, main device, and control terminal | |
| EP3166343A1 (en) | Audio playing method and apparatus for multiple playing devices | |
| WO2019090902A1 (en) | Screen sharing method and apparatus, electronic device, and storage medium | |
| WO2017029946A1 (en) | Audio system, audio device, and audio device setting method | |
| CN105812906B (en) | A kind of communication control method and device of playback equipment | |
| CN105142010A (en) | Bluetooth connection selection method of multi-play device and main play device | |
| WO2017031864A1 (en) | Playing control method and apparatus for multimedia playing device | |
| CN107211212A (en) | For the system and method for the output for controlling multiple audio output apparatus | |
| CN105516897A (en) | Method and device for one-key establishment of communication connection between Bluetooth devices | |
| CN105848225A (en) | Wireless connection switching method and device applied to audio playing system | |
| CN105682011A (en) | Bluetooth module control method and device of playback device, and audio and video playback system | |
| CN105682010B (en) | Bluetooth connection control method and device in audio playing system and playing equipment | |
| CN105681886B (en) | Bluetooth connection control method, device and the playback equipment of playback equipment | |
| CN105828253B (en) | Wireless connection control method and device in audio frequency broadcast system | |
| CN105812185A (en) | A communication connection method for a playback device | |
| CN105703806B (en) | Bluetooth module control method, device and the audio-video frequency playing system of playback equipment | |
| CN111049709B (en) | Bluetooth-based interconnected loudspeaker box control method, equipment and storage medium | |
| CN105703987B (en) | Audio and video playing system control method and device | |
| CN113518297A (en) | Sound box interaction method, device and system and sound box | |
| CN105680914B (en) | Bluetooth module control method, device and the audio-video frequency playing system of playback equipment | |
| CN105847943A (en) | A method and device for playing audio and video by a playback device, and a playback device | |
| WO2016125826A1 (en) | Content playback apparatus, content playback system, content information program, and content playback method | |
| CN105656520B (en) | Bluetooth module control method, device and the audio-video frequency playing system of playback equipment | |
| CN105812903A (en) | Bluetooth module control method and device of playback device, and audio and video playback system | |
| CN105828132B (en) | The control method and audio-video frequency playing system of broadcasting group in audio-video frequency playing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |