[go: up one dir, main page]

CN105681886B - Bluetooth connection control method, device and the playback equipment of playback equipment - Google Patents

Bluetooth connection control method, device and the playback equipment of playback equipment Download PDF

Info

Publication number
CN105681886B
CN105681886B CN201610164919.3A CN201610164919A CN105681886B CN 105681886 B CN105681886 B CN 105681886B CN 201610164919 A CN201610164919 A CN 201610164919A CN 105681886 B CN105681886 B CN 105681886B
Authority
CN
China
Prior art keywords
playback equipment
bluetooth
playback
audio
playback device
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
Application number
CN201610164919.3A
Other languages
Chinese (zh)
Other versions
CN105681886A (en
Inventor
林尚波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610164919.3A priority Critical patent/CN105681886B/en
Publication of CN105681886A publication Critical patent/CN105681886A/en
Application granted granted Critical
Publication of CN105681886B publication Critical patent/CN105681886B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种音视频播放系统中播放设备的蓝牙连接控制方法、装置及播放设备。该方法包括:音视频播放系统的主播放设备接收第一播放设备的蓝牙状态改变的通知,其中,所述第一播放设备在通过蓝牙接收到音视频数据后将蓝牙状态由可见状态改变为隐藏状态;所述主播放设备从除所述第一播放设备以外的播放设备中选取一个播放设备,作为第二播放设备;所述主播放设备发送第一蓝牙开启命令给所述第二播放设备,以指示所述第二播放设备开启蓝牙,并将蓝牙状态设置为可见状态。本发明可以避免第一播放设备被其他音源设备连接以中断播放正在播放的音视频数据,同时保证其他音源设备也可以连接到该音视频播放系统。

The invention discloses a bluetooth connection control method and device for playing equipment in an audio and video playing system, and the playing equipment. The method includes: the main playback device of the audio and video playback system receives the notification of the bluetooth state change of the first playback device, wherein the first playback device changes the bluetooth state from a visible state to a hidden state after receiving audio and video data through bluetooth State; the main playback device selects a playback device from playback devices other than the first playback device as the second playback device; the main playback device sends the first Bluetooth start command to the second playback device, To instruct the second playback device to turn on Bluetooth, and set the Bluetooth state to a visible state. The present invention can prevent the first playback device from being connected to other audio source devices to interrupt playing the audio and video data being played, and at the same time ensure that other audio source devices can also be connected to the audio and video playback system.

Description

播放设备的蓝牙连接控制方法、装置及播放设备Bluetooth connection control method and device for playback device and playback device

技术领域technical field

本发明实施例涉及音视频播放系统技术,尤其涉及一种音视频播放系统中播放设备的蓝牙连接控制方法、装置及播放设备。Embodiments of the present invention relate to audio and video playback system technology, and in particular to a Bluetooth connection control method, device and playback device for a playback device in an audio and video playback system.

背景技术Background technique

音视频播放系统由多台播放设备组成,该多台播放设备会自组成一个私有网络,多台播放设备可以通过该私有网络交换控制信息和音视频数据。在音视频播放系统的私有网络中,至少有一台播放设备连接到路由器,比如,通过图1所示的有线方式连接到路由器,或者通过图2所示的无线方式连接到路由器,该播放设备是音视频播放系统的主播放设备,其他播放设备是从播放设备。主播放设备是音视频播放系统与外界网络连接的桥梁,也是整个音视频播放系统的控制核心。The audio and video playback system is composed of multiple playback devices, and the multiple playback devices will form a private network, and multiple playback devices can exchange control information and audio and video data through the private network. In the private network of the audio and video playback system, at least one playback device is connected to the router, for example, connected to the router through the wired method shown in Figure 1, or connected to the router through the wireless method shown in Figure 2, the playback device is The main playback device of the audio and video playback system, and other playback devices are slave playback devices. The main playback device is the bridge between the audio and video playback system and the external network, and is also the control core of the entire audio and video playback system.

用户通过音源设备与音视频播放系统中的一台播放设备建立蓝牙连接后,通过蓝牙将音源设备中的音视频数据发送到一台或多台播放设备进行播放的过程中,如果有其它用户连接到该用户正在使用的播放设备,会导致该用户的音乐播放被中断,给该用户造成打扰。After the user establishes a Bluetooth connection with a playback device in the audio and video playback system through the audio source device, the audio and video data in the audio source device is sent to one or more playback devices through Bluetooth for playback. The playback device that the user is using will cause the user's music playback to be interrupted, causing disturbance to the user.

发明内容Contents of the invention

有鉴于此,本发明实施例提供一种音视频播放系统中播放设备的蓝牙连接控制方法、装置及播放设备,以避免播放设备中断播放正在播放的音视频数据。In view of this, an embodiment of the present invention provides a Bluetooth connection control method and device for a playback device in an audio and video playback system, and a playback device, so as to prevent the playback device from interrupting the playback of audio and video data being played.

第一方面,本发明实施例提供了一种音视频播放系统中播放设备的蓝牙连接控制方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a Bluetooth connection control method for a playback device in an audio and video playback system, the method comprising:

音视频播放系统的主播放设备接收第一播放设备的蓝牙状态改变的通知,其中,所述第一播放设备在通过蓝牙接收到音视频数据后将蓝牙状态由可见状态改变为隐藏状态;The main playback device of the audio and video playback system receives the notification of the bluetooth state change of the first playback device, wherein the first playback device changes the bluetooth state from a visible state to a hidden state after receiving audio and video data through bluetooth;

所述主播放设备从除所述第一播放设备以外的播放设备中选取一个播放设备,作为第二播放设备;The main playback device selects a playback device from the playback devices other than the first playback device as the second playback device;

所述主播放设备发送第一蓝牙开启命令给所述第二播放设备,以指示所述第二播放设备开启蓝牙,并将蓝牙状态设置为可见状态。The main playback device sends a first Bluetooth enable command to the second playback device to instruct the second playback device to turn on Bluetooth and set the Bluetooth state to a visible state.

第二方面,本发明实施例还提供了一种音视频播放系统中播放设备的蓝牙连接控制装置,所述装置包括:In the second aspect, the embodiment of the present invention also provides a Bluetooth connection control device for a playback device in an audio and video playback system, the device comprising:

通知接收模块,配置于音视频播放系统的主播放设备中,用于接收第一播放设备的蓝牙状态改变的通知,其中,所述第一播放设备在通过蓝牙接收到音视频数据后将蓝牙状态由可见状态改变为隐藏状态;The notification receiving module is configured in the main playback device of the audio and video playback system, and is used to receive the notification of the bluetooth state change of the first playback device, wherein, after the first playback device receives the audio and video data through bluetooth, the bluetooth state Change from visible state to hidden state;

第二播放设备选取模块,用于从除所述第一播放设备以外的播放设备中选取一个播放设备,作为第二播放设备;The second playback device selection module is used to select a playback device from playback devices other than the first playback device as the second playback device;

开启命令发送模块,用于发送第一蓝牙开启命令给所述第二播放设备,以指示所述第二播放设备开启蓝牙,并将蓝牙状态设置为可见状态。The start command sending module is used to send the first bluetooth start command to the second playback device to instruct the second play device to turn on the bluetooth and set the bluetooth state to a visible state.

第三方面,本发明实施例还提供了一种播放设备,该播放设备集成了本发明任一实施例所述的音视频播放系统中播放设备的蓝牙连接控制装置。In the third aspect, the embodiment of the present invention also provides a playback device, which integrates the Bluetooth connection control device of the playback device in the audio and video playback system described in any embodiment of the present invention.

本发明实施例的技术方案,通过第一播放设备在通过蓝牙接收到音视频数据后将蓝牙状态由可见状态改变为隐藏状态,可以避免第一播放设备被其他音源设备连接以中断播放正在播放的音视频数据,而开启第二播放设备的蓝牙可以接收其他音源设备的音视频数据并进行播放,使得其他音源设备也可以连接到该音视频播放系统。According to the technical scheme of the embodiment of the present invention, after the first playback device receives the audio and video data through Bluetooth, the Bluetooth state is changed from the visible state to the hidden state, which can prevent the first playback device from being connected by other audio source devices to interrupt the playback of the currently playing audio. Audio and video data, and the Bluetooth of the second playback device can receive and play the audio and video data of other audio source devices, so that other audio source devices can also be connected to the audio and video playback system.

附图说明Description of drawings

图1是现有技术中的音视频播放系统的主播放设备与路由器有线连接的示意图;Fig. 1 is the schematic diagram of the wired connection between the main playback device and the router of the audio and video playback system in the prior art;

图2是现有技术中的音视频播放系统的主播放设备与路由器无线连接的示意图;Fig. 2 is the schematic diagram of the wireless connection between the main playback device and the router of the audio and video playback system in the prior art;

图3是本发明实施例提供的音视频播放系统中播放设备的蓝牙连接控制方法中的播放设备的结构示意图;3 is a schematic structural diagram of a playback device in a Bluetooth connection control method for a playback device in an audio and video playback system provided by an embodiment of the present invention;

图4是本发明实施例一提供的一种音视频播放系统中播放设备的蓝牙连接控制方法的流程图;4 is a flowchart of a Bluetooth connection control method for a playback device in an audio and video playback system provided by Embodiment 1 of the present invention;

图5是本发明实施例二提供的一种音视频播放系统中播放设备的蓝牙连接控制方法的流程图;5 is a flowchart of a Bluetooth connection control method for a playback device in an audio and video playback system provided by Embodiment 2 of the present invention;

图6是本发明实施例三提供的一种音视频播放系统中播放设备的蓝牙连接控制方法的流程图;6 is a flowchart of a Bluetooth connection control method for a playback device in an audio and video playback system provided by Embodiment 3 of the present invention;

图7是本发明实施例四提供的一种音视频播放系统中播放设备的蓝牙连接控制装置的结构示意图。FIG. 7 is a schematic structural diagram of a Bluetooth connection control device for a playback device in an audio and video playback system according to Embodiment 4 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。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 parts related to the present invention are shown in the drawings but not all content.

在本发明实施例中,音视频播放系统内的播放设备通过自组成的私有网络将分布在不同区域的播放设备连接起来。该音视频播放系统可以与互联网连接,获取互联网音乐资源。此外,该音视频播放系统一般是由智能手机等控制终端来控制,智能手机通过WIFI(WIreless-Fidelity,无线保真)等无线通信技术与音视频播放系统连接;安装了专用的控制软件后,智能手机等控制终端可以访问和控制音视频播放系统,并能够把互联网上的音乐或者视频推送到音视频播放系统播放。除了播放互联网上的音乐或者视频,音视频播放系统也可以播放存储在本地的音乐或者视频,如存储在播放设备的内部存储器或外部存储器(如U盘)上的音乐文件或者视频文件,如播放存储在智能终端上的音乐或者视频,还有就是局域网内其它可访问的设备(如NAS服务器)上的音乐文件或者视频文件,等等。其中,NAS(Network Attached Storage,网络附属存储)是一种将分布、独立的数据整合为大型、集中化管理的数据中心,以便于对不同主机和应用服务器进行访问的技术。In the embodiment of the present invention, the playback devices in the audio and video playback system connect the playback devices distributed in different regions through a self-organized private network. The audio and video playback system can be connected to the Internet to obtain Internet music resources. In addition, the audio and video playback system is generally controlled by control terminals such as smart phones, and the smart phone is connected to the audio and video playback system through wireless communication technologies such as WIFI (WIreless-Fidelity, wireless fidelity); after installing special control software, Control terminals such as smart phones can access and control the audio and video playback system, and can push music or video on the Internet to the audio and video playback system for playback. In addition to playing music or video on the Internet, the audio and video playback system can also play music or video stored locally, such as music files or video files stored in the internal storage of the playback device or external storage (such as U disk), such as playing Music or video stored on the smart terminal, and music files or video files on other accessible devices (such as NAS servers) in the local area network, and so on. Among them, NAS (Network Attached Storage, Network Attached Storage) is a technology that integrates distributed and independent data into a large-scale, centralized management data center, so as to facilitate access to different hosts and application servers.

音视频播放系统包括主播放设备和从播放设备,通过主播放设备访问互联网或局域网,从而从互联网或局域网获取音视频数据或音视频文件,并下发给从播放设备进行播放。另外,各个控制终端(如智能手机)连接到音视频播放系统时,实际上是连接到音视频播放系统的主播放设备,主播放设备接收来自控制终端的控制命令,从而协调和控制整个音视频播放系统的工作,并将音视频播放系统和各个播放设备的状态信息返回给控制终端。主播放设备与音视频播放系统内的其它从播放设备通过私有网络交换控制命令和状态信息,主播放设备通过这些控制命令和状态信息,可以实现多台播放设备的同步播放。The audio and video playback system includes a master playback device and a slave playback device. The master playback device accesses the Internet or a local area network, thereby obtaining audio and video data or audio and video files from the Internet or a local area network, and sends them to the slave playback devices for playback. In addition, when each control terminal (such as a smart phone) is connected to the audio and video playback system, it is actually the main playback device connected to the audio and video playback system. The main playback device receives control commands from the control terminal to coordinate and control the entire audio and video playback system. The work of the playback system, and return the status information of the audio and video playback system and each playback device to the control terminal. The master playback device exchanges control commands and status information with other slave playback devices in the audio and video playback system through a private network. The master playback device can realize synchronous playback of multiple playback devices through these control commands and status information.

图1是一种网络组建方式。如图1所示,播放设备1、播放设备2、播放设备3和播放设备4组成一个音视频播放系统,它们之间通过无线方式建立通信连接(通常使用MESH网络技术)。其中,播放设备1与无线路由器建立有线连接,无线路由器与互联网或者局域网建立连接。与无线路由器建立有线连接的播放设备1是音视频播放系统的主播放设备,其它播放设备是从播放设备。安装了专用应用软件的智能终端(如智能手机、平板电脑或计算机)连接到该无线路由器后,可以访问和控制音视频播放系统的私有网络内的播放设备。用户在智能终端选择想要播放的歌曲,智能终端会把这首歌曲的信息(如歌曲名、歌曲存放在的网络音乐服务器和相应的同一资源定位符)发送给播放设备1;播放设备1根据这些歌曲信息,连接到网络音乐服务器,下载歌曲的音视频数据。播放设备1解码上述下载的音乐数据,自身播放外,还将解码后的音视频数据,发送给私有网络内的播放设备2、播放设备3和播放设备4,使4台播放设备同步播放同一首歌曲。图2中,主播放设备与无线路由器之间的连接方式是无线连接,其他功能均和图1相同。Figure 1 is a network construction method. As shown in Figure 1, playback device 1, playback device 2, playback device 3, and playback device 4 form an audio and video playback system, and communication connections are established between them in a wireless manner (usually using MESH network technology). Wherein, the playback device 1 establishes a wired connection with the wireless router, and the wireless router establishes a connection with the Internet or a local area network. The playback device 1 that establishes a wired connection with the wireless router is the master playback device of the audio and video playback system, and the other playback devices are slave playback devices. After an intelligent terminal (such as a smart phone, a tablet computer or a computer) installed with special application software is connected to the wireless router, it can access and control the playback equipment in the private network of the audio and video playback system. The user selects the song that wants to play at smart terminal, and smart terminal can send the information of this song (such as the network music server that song title, song deposits and corresponding same resource locator) to playback device 1; The song information is connected to the network music server to download the audio and video data of the song. Playback device 1 decodes the downloaded music data and plays it by itself. It also sends the decoded audio and video data to playback device 2, playback device 3, and playback device 4 in the private network, so that the four playback devices can play the same song synchronously. song. In Figure 2, the connection mode between the main playback device and the wireless router is a wireless connection, and other functions are the same as those in Figure 1.

图3是本发明实施例提供的音视频播放系统中播放设备的蓝牙连接控制方法中的播放设备的结构示意图。如图3所示,音视频播放系统的播放设备包括处理器310、蓝牙模块320、网络接口330、音视频放大模块340、扬声器350和存储器360。Fig. 3 is a schematic structural diagram of the playback device in the method for controlling the Bluetooth connection of the playback device in the audio and video playback system provided by an embodiment of the present invention. As shown in FIG. 3 , the playback device of the audio and video playback system includes a processor 310 , a Bluetooth module 320 , a network interface 330 , an audio and video amplification module 340 , a speaker 350 and a memory 360 .

其中,处理器310是播放设备的核心,执行控制程序,与周边各功能模块通信,协调和控制各个功能模块的工作。如,处理器310将获得的音视频数据,经过解码或数字/模拟转换后,发送给音视频放大模块340。Wherein, the processor 310 is the core of the playback device, executes the control program, communicates with the surrounding functional modules, and coordinates and controls the work of each functional module. For example, the processor 310 sends the obtained audio and video data to the audio and video amplification module 340 after decoding or digital/analog conversion.

蓝牙模块320用于实现蓝牙通信,使播放设备可以通过蓝牙技术与同样具备蓝牙功能的设备(如智能手机)建立连接,获取音视频数据或控制数据。蓝牙模块将获取得到的音视频数据和控制数据传输给处理器310,也将处理器310传输过来的音视频数据和控制数据发送给其它蓝牙设备。The bluetooth module 320 is used to implement 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 and video data or control data. The Bluetooth module transmits the obtained audio and video data and control data to the processor 310, and also sends the audio and video data and control data transmitted by the processor 310 to other Bluetooth devices.

网络接口330可以是有线网络接口,也可以是符合802.11规范的无线网络接口。处理器310通过网络接口330可以连接到互联网,获取网络流媒体音乐数据。通过网络接口330,特别是无线网络的形式,多个播放设备可以组成一个无线音视频播放系统,实现音乐的同步播放。通常情况下,各个控制终端也是通过无线网络(如WIFI)连接入音视频播放系统,对音视频播放系统及系统内的播放设备进行操作控制。The network interface 330 may be a wired network interface, or a wireless network interface conforming to the 802.11 specification. The processor 310 can be connected to the Internet through the network interface 330 to obtain network streaming music data. Through the network interface 330, especially in the form of a wireless network, multiple playback devices can form a wireless audio and video playback system to realize synchronous playback of music. Usually, each control terminal is also connected to the audio and video playback system through a wireless network (such as WIFI), and operates and controls the audio and video playback system and playback devices in the system.

音视频放大模块340用于将处理器310发送来的模拟音视频信号进行功率放大,以驱动扬声器350发声。The audio and video amplification module 340 is used to amplify the power of the analog audio and video signals sent by the processor 310 to drive the speaker 350 to produce sound.

扬声器350是声音还原部件,扬声器350的数量可以是一个或多个。The speaker 350 is a sound restoration component, and the number of the speaker 350 can be one or more.

储存器360用于存储处理器310执行的程序,以及音视频播放系统的一些配置数据,如网络连接数据、音量信息、分组信息以及播放的歌曲列表等。The storage 360 is used to store programs executed by the processor 310 and some configuration data of the audio and video playback system, such as network connection data, volume information, group information, and a list of played songs.

其中,播放设备通过播放设备中集成的蓝牙模块可以与具有蓝牙功能的各种音源设备建立蓝牙连接,接收音源设备传输来的音视频数据。这已广泛应用在各种蓝牙音箱和蓝牙耳机上。在音视频播放系统中,接收来自音源设备的音视频数据的播放设备,不仅自身可以播放这些音视频数据,还可以将这些接收到的音视频数据,通过音视频播放系统的私有网络,传输给音视频播放系统内的其它播放设备,从而实现多个播放设备同步播放音乐。比如,用户将自己的智能手机,与音视频播放系统内的一台播放设备的蓝牙模块配对连接上,并设置音视频播放系统内的多台播放设备(如3台播放设备)共同播放音乐或者视频,当用户打开智能手机上的音乐播放器(如QQ音乐)播放歌曲时,上述音视频播放系统内的多台播放设备将同步播放音乐播放器上选择播放的歌曲。Wherein, the playback device can establish a Bluetooth connection with various audio source devices with Bluetooth function through the Bluetooth module integrated in the playback device, and receive audio and video data transmitted by the audio source device. This has been widely used in various bluetooth speakers and bluetooth headsets. In the audio and video playback system, the playback device that receives the audio and video data from the audio source device can not only play the audio and video data itself, but also transmit the received audio and video data through the private network of the audio and video playback system to the Other playback devices in the audio and video playback system, so that multiple playback devices can play music synchronously. For example, the user pairs and connects his smart phone with the Bluetooth module of a playback device in the audio and video playback system, and sets multiple playback devices (such as 3 playback devices) in the audio and video playback system to play music together or Video, when the user turns on the music player (such as QQ music) on the smart phone to play songs, multiple playback devices in the above-mentioned audio and video playback system will synchronously play the songs selected to play on the music player.

实施例一Embodiment one

图4是本发明实施例一提供的一种音视频播放系统中播放设备的蓝牙连接控制方法的流程图,本实施例可适用于控制音视频播放系统中播放设备的蓝牙连接的情况,该方法可以由音视频播放系统中播放设备的蓝牙连接控制装置来执行,该音视频播放系统中播放设备的蓝牙连接控制装置配置于音视频播放系统的主播放设备中。该方法具体包括如下步骤:Fig. 4 is a flow chart of a Bluetooth connection control method of a playback device in an audio and video playback system provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of controlling the Bluetooth connection of a playback device in an audio and video playback system. It can be executed by the bluetooth connection control device of the playback device in the audio and video playback system, and the bluetooth connection control device of the playback device in the audio and video playback system is configured in the main playback device of the audio and video playback system. The method specifically includes the following steps:

步骤410,音视频播放系统的主播放设备接收第一播放设备的蓝牙状态改变的通知,其中,所述第一播放设备在通过蓝牙接收到音视频数据后将蓝牙状态由可见状态改变为隐藏状态。Step 410, the main playback device of the audio and video playback system receives the notification of the bluetooth state change of the first playback device, wherein the first playback device changes the bluetooth state from the visible state to the hidden state after receiving the audio and video data through bluetooth .

其中,所述第一播放设备开启蓝牙后,蓝牙状态保持为可见状态。当用户的音源设备(如MP3播放器或者手机)开启蓝牙后,搜索周围的播放设备时,可搜索到蓝牙状态处于可见状态的第一播放设备,与第一播放设备建立蓝牙连接,并将音视频数据传输给所述第一播放设备。所述第一播放设备通过蓝牙连接接收到音源设备的音视频数据后,播放所述音视频数据,还可以将所述音视频数据发送给所述第一播放设备所属播放组的其他播放设备,该播放组内的播放设备同步播放所述音视频数据,同时所述第一播放设备将蓝牙状态由可见状态改变为隐藏状态(不可见状态),但仍保持与该音源设备的蓝牙连接,从而可以避免其他用户的音源设备通过蓝牙连接到该第一播放设备以打断该用户的音乐播放。所述第一播放设备的蓝牙状态改变为隐藏状态后,将蓝牙状态改变的通知发送给音视频播放系统的主播放设备。其中,所述第一播放设备可以为主播放设备。Wherein, after the first playback device turns on the bluetooth, the bluetooth state remains in the visible state. When the user's audio source device (such as an MP3 player or a mobile phone) turns on Bluetooth and searches for the surrounding playback devices, the first playback device whose Bluetooth status is in the visible state can be found, establishes a Bluetooth connection with the first playback device, and sends the audio to the first playback device. The video data is transmitted to the first playback device. After the first playback device receives the audio and video data of the audio source device through the Bluetooth connection, it plays the audio and video data, and can also send the audio and video data to other playback devices in the playback group to which the first playback device belongs, The playing equipment in this playing group synchronously plays described audio-video data, and simultaneously described first playing equipment changes bluetooth state from visible state to hidden state (invisible state), but still keeps the bluetooth connection with this sound source equipment, thereby It can prevent other users' audio source devices from being connected to the first playback device via bluetooth to interrupt the user's music playing. After the bluetooth state of the first playback device changes to the hidden state, a notification of the change of the bluetooth state is sent to the main playback device of the audio and video playback system. Wherein, the first playback device may be a main playback device.

其中,音视频播放系统是由多台播放设备组成的,整个音视频播放系统可以作为一个整体工作,即音视频播放系统内的所有播放设备同步播放相同的歌曲。此外,音视频播放系统内的播放设备,还可以组成若干个播放组,每个播放组分别播放不同的音乐。例如,一个音视频播放系统中有播放设备A、播放设备B、播放设备C、播放设备D、播放设备E和播放设备F共6台播放设备,其中,播放设备A和播放设备B组成一个播放组1,播放设备C和播放设备D组成一个播放组2,播放设备E和播放设备F组成一个播放组3。播放组1中的播放设备A和B同步播放相同的歌曲或者视频,播放组2中的播放设备C和D同步播放相同的歌曲或者视频,播放组3中的播放设备E和F同步播放相同的歌曲或者视频,但播放组1、播放组2和播放组3是相互独立的,可以播放相同的歌曲或者视频,也可以分别播放不同的歌曲或者视频。各个播放组可以接受不同用户的控制,也可以接受相同用户的控制。Wherein, the audio and video playback system is composed of multiple playback devices, and the entire audio and video playback system can work as a whole, that is, all playback devices in the audio and video playback system play the same song synchronously. In addition, the playback devices in the audio and video playback system can also form several playback groups, and each playback group plays different music. For example, there are 6 playback devices in an audio and video playback system, including playback device A, playback device B, playback device C, playback device D, playback device E, and playback device F. Among them, playback device A and playback device B form a playback device Group 1, playback device C and playback device D form a playback group 2, and playback device E and playback device F form a playback group 3. Playback devices A and B in Playgroup 1 play the same song or video synchronously, Playback Devices C and D in Playgroup 2 play the same song or video synchronously, and Playback Devices E and F in Playgroup 3 play the same song or video synchronously. songs or videos, but play group 1, play group 2 and play group 3 are independent of each other, they can play the same song or video, or play different songs or videos respectively. Each playback group can be controlled by different users or by the same user.

步骤420,所述主播放设备从除所述第一播放设备以外的播放设备中选取一个播放设备,作为第二播放设备。Step 420, the main playback device selects a playback device from the playback devices other than the first playback device as the second playback device.

所述主播放设备接收到第一播放设备的蓝牙状态改变的通知后,需要从第一播放设备以外的播放设备中选取一个播放设备开启蓝牙,该播放设备作为第二播放设备,从而使该音视频播放系统可以接收其他用户的音源设备的音视频数据的传输。After the main playback device receives the notification of the bluetooth state change of the first playback device, it needs to select a playback device from the playback devices other than the first playback device to turn on the bluetooth, and this playback device is used as the second playback device, so that the audio The video playback system can receive the transmission of audio and video data from other users' audio source devices.

步骤430,所述主播放设备发送第一蓝牙开启命令给所述第二播放设备,以指示所述第二播放设备开启蓝牙,并将蓝牙状态设置为可见状态。Step 430, the main playback device sends a first Bluetooth enable command to the second playback device to instruct the second playback device to turn on Bluetooth and set the Bluetooth state to a visible state.

所述主播放设备选取第二播放设备后,向所述第二播放设备发送第一蓝牙开启命令,以指示所述第二播放设备开启蓝牙并将蓝牙状态设置为可见状态。所述第二播放设备接收到所述第一蓝牙开启命令后,打开自身的蓝牙模块从而开启蓝牙,并将蓝牙状态设置为可见状态,以便于在被其他用户的音源设备搜索到时显示该第二播放设备,从而通过蓝牙接收其他用户的音源设备的音视频数据。其中,所述第二播放设备可以为主播放设备,但是,所述第一播放设备和所述第二播放设备不同时是主播放设备。After the main playback device selects the second playback device, it sends a first Bluetooth enable command to the second playback device to instruct the second playback device to turn on Bluetooth and set the Bluetooth state to a visible state. After the second playback device receives the first bluetooth start command, it turns on its own bluetooth module to turn on the bluetooth, and sets the bluetooth state to a visible state, so as to display the first bluetooth when it is searched by other user's sound source devices. Two playback devices, so as to receive audio and video data of other users' audio source devices through Bluetooth. Wherein, the second playback device may be the main playback device, but the first playback device and the second playback device are not the main playback device at the same time.

在音视频播放系统中,随时保持有一个播放设备的蓝牙状态为可见状态,从而可以通过蓝牙接收用户的音源设备传输来的音视频数据。In the audio and video playback system, the Bluetooth status of a playback device is kept visible at any time, so that the audio and video data transmitted by the user's audio source device can be received through Bluetooth.

本实施例的技术方案,通过第一播放设备在通过蓝牙接收到音视频数据后将蓝牙状态由可见状态改变为隐藏状态,音视频播放系统中的主播放设备从所述第一播放设备以外的播放设备中选取一个播放设备作为第二播放设备,并向所述第二播放设备发送第一蓝牙开启命令,以指示所述第二播放设备开启蓝牙并将蓝牙状态设置为可见状态。通过将第一播放设备的蓝牙状态改变为隐藏状态后,可以避免第一播放设备被其他音源设备连接以中断播放正在播放的音视频数据,而开启第二播放设备的蓝牙可以接收其他音源设备的音视频数据并进行播放,使得其他音源设备也可以连接到该音视频播放系统。In the technical solution of this embodiment, after the first playback device receives the audio and video data through Bluetooth, the Bluetooth state is changed from the visible state to the hidden state, and the main playback device in the audio and video playback system receives audio and video data from other than the first playback device. One of the playback devices is selected as the second playback device, and a first Bluetooth start command is sent to the second playback device to instruct the second playback device to turn on Bluetooth and set the Bluetooth status to a visible state. By changing the Bluetooth state of the first playback device to a hidden state, it can prevent the first playback device from being connected by other audio source devices to interrupt the playback of the audio and video data being played, and turn on the Bluetooth of the second playback device to receive other audio source devices. Audio and video data and play, so that other audio source equipment can also be connected to the audio and video playback system.

在上述技术方案的基础上,所述主播放设备从除所述第一播放设备以外的播放设备中随机选取一个播放设备,作为第二播放设备优选包括:On the basis of the above technical solution, the main playback device randomly selects a playback device from playback devices other than the first playback device, and preferably includes as the second playback device:

所述主播放设备从除所述第一播放设备以外的处于非播放状态的播放设备中随机选取一个播放设备,作为第二播放设备。The main playback device randomly selects a playback device from the playback devices in the non-playing state except the first playback device as the second playback device.

由于第一播放设备接收到音视频数据会播放所述音视频数据,因此,为了避免中断该播放设备的音视频数据的播放,需要优先从所述第一播放设备以外的处于非播放状态的播放设备中选取一个播放设备,作为第二播放设备。从处于非播放状态的播放设备中选取第二播放设备,可以避免对播放设备正在播放的音视频数据的中断。Since the first playback device receives the audio and video data and will play the audio and video data, therefore, in order to avoid interrupting the playback of the audio and video data of the playback device, it is necessary to prioritize the playback from the non-playing state other than the first playback device. Select a playback device from Devices as the second playback device. Selecting the second playback device from the playback devices in the non-playing state can avoid interruption of the audio and video data being played by the playback device.

在上述技术方案的基础上,所述主播放设备从除所述第一播放设备以外的播放设备中随机选取一个播放设备,作为第二播放设备优选包括:On the basis of the above technical solution, the main playback device randomly selects a playback device from playback devices other than the first playback device, and preferably includes as the second playback device:

所述主播放设备发送信号检测命令给所述第一播放设备以外的播放设备,以指示所述第一播放设备以外的播放设备检测设定音源设备的蓝牙信号强度;The main playback device sends a signal detection command to a playback device other than the first playback device to instruct the playback device other than the first playback device to detect and set the bluetooth signal strength of the audio source device;

所述主播放设备从所述第一播放设备以外的播放设备中获取所述蓝牙信号强度,确定检测的蓝牙信号强度大于信号强度阈值的播放设备;The main playback device acquires the Bluetooth signal strength from playback devices other than the first playback device, and determines the playback device whose detected Bluetooth signal strength is greater than the signal strength threshold;

所述主播放设备从所述检测的蓝牙信号强度大于信号强度阈值的播放设备中随机选取一个播放设备,作为第二播放设备。The main playback device randomly selects a playback device from the playback devices whose detected Bluetooth signal strength is greater than the signal strength threshold as the second playback device.

通过第一播放设备以外的每个播放设备对设定音源设备的蓝牙信号强度进行检测,由主设备综合比较,确定检测的蓝牙信号强度大于信号强度阈值的播放设备,并从该检测的蓝牙信号强度大于信号强度阈值的播放设备中随机选取一个播放设备作为第二播放设备,以便于以较快的速度收到设定音源设备传输的音视频数据。The Bluetooth signal strength of the set audio source device is detected by each playback device other than the first playback device, and the main device comprehensively compares to determine the playback device whose detected Bluetooth signal strength is greater than the signal strength threshold, and from the detected Bluetooth signal Randomly select a playback device from the playback devices whose strength is greater than the signal strength threshold as the second playback device, so as to receive the audio and video data transmitted by the set audio source device at a faster speed.

实施例二Embodiment two

图5是本发明实施例二提供的一种音视频播放系统中播放设备的蓝牙连接控制方法的流程图,本实施例在实施例一的基础上,增加了开启第一播放设备的蓝牙的特征,具体包括如下步骤:Fig. 5 is a flow chart of a Bluetooth connection control method for playback devices in an audio and video playback system provided by Embodiment 2 of the present invention. On the basis of Embodiment 1, this embodiment adds the feature of enabling the Bluetooth of the first playback device , including the following steps:

步骤510,当所述音视频播放系统中的播放设备没有与音源设备建立蓝牙连接时,所述主播放设备从所述音视频播放系统中选取一个播放设备,作为第一播放设备。Step 510, when the playback device in the audio and video playback system has not established a Bluetooth connection with the audio source device, the main playback device selects a playback device from the audio and video playback system as the first playback device.

在由多台播放设备组成的音视频播放系统中,如果没有音源设备通过蓝牙连接到该音视频播放系统的任一台播放设备时,音视频播放系统中可以只有一台播放设备的蓝牙模块保持开启状态,其他播放设备的蓝牙模块保持关闭状态,以便于通过该开启蓝牙的播放设备可以接收音源设备传输来的音视频数据。因此,主播放设备只需在音视频播放系统中随机选取一个播放设备作为第一播放设备即可。In an audio and video playback system composed of multiple playback devices, if no audio source device is connected to any playback device of the audio and video playback system through Bluetooth, only one Bluetooth module of the playback device in the audio and video playback system can maintain In the open state, the Bluetooth modules of other playback devices remain closed, so that the audio and video data transmitted by the audio source device can be received by the Bluetooth-enabled playback device. Therefore, the main playback device only needs to randomly select a playback device in the audio and video playback system as the first playback device.

步骤520,所述主播放设备发送第二蓝牙开启命令给所述第一播放设备,以指示所述第一播放设备开启蓝牙并将蓝牙状态设置为可见状态;同时发送蓝牙关闭命令给音视频播放系统中的其他播放设备,以指示所述其他播放设备关闭蓝牙。Step 520, the main playback device sends a second Bluetooth enable command to the first playback device to instruct the first playback device to turn on Bluetooth and set the Bluetooth status to a visible state; at the same time, send a Bluetooth shutdown command to the audio and video player other playback devices in the system to instruct the other playback devices to turn off bluetooth.

在选取了第一播放设备后,主播放设备要向第一播放设备发送第二蓝牙开启命令,以指示所述第一播放设备开启蓝牙并将蓝牙状态设置为可见状态;同时要向音视频播放系统中第一播放设备以外的播放设备发送蓝牙关闭命令,以指示第一播放设备以外的播放设备关闭蓝牙。其中,第一蓝牙开启命令和第二蓝牙开启命令均为蓝牙开启命令,只是主播放设备发送的对象不同,为了进行区分才在命名上有所区别,实际上,蓝牙开启命令的内容都相同,都包括开启蓝牙并将蓝牙状态设置为可见状态。After selecting the first playback device, the main playback device will send a second bluetooth start command to the first playback device to instruct the first playback device to turn on bluetooth and set the bluetooth state to a visible state; The playback devices other than the first playback device in the system send the Bluetooth off command to instruct the playback devices other than the first playback device to turn off the Bluetooth. Wherein, the first bluetooth opening command and the second bluetooth opening command are both bluetooth opening commands, but the objects sent by the main playback device are different, and the names are different in order to distinguish them. In fact, the contents of the bluetooth opening commands are the same. Both include turning on bluetooth and setting the bluetooth state to visible.

步骤530,音视频播放系统的主播放设备接收第一播放设备的蓝牙状态改变的通知,其中,所述第一播放设备在通过蓝牙接收到音视频数据后将蓝牙状态由可见状态改变为隐藏状态。Step 530, the main playback device of the audio and video playback system receives the notification of the bluetooth state change of the first playback device, wherein the first playback device changes the bluetooth state from the visible state to the hidden state after receiving the audio and video data through bluetooth .

步骤540,所述主播放设备从除所述第一播放设备以外的播放设备中选取一个播放设备,作为第二播放设备。Step 540, the main playback device selects a playback device from the playback devices other than the first playback device as the second playback device.

步骤550,所述主播放设备发送第一蓝牙开启命令给所述第二播放设备,以指示所述第二播放设备开启蓝牙,并将蓝牙状态设置为可见状态。Step 550, the main playback device sends a first Bluetooth enable command to the second playback device to instruct the second playback device to turn on Bluetooth and set the Bluetooth state to a visible state.

本实施例的技术方案,在实施例一的基础上,通过当所述音视频播放系统中的播放设备没有与音源设备建立蓝牙连接时,所述主播放设备从所述音视频播放系统中选取一个播放设备,作为第一播放设备,发送第二蓝牙开启命令给所述第一播放设备,以指示所述第一播放设备开启蓝牙并将蓝牙状态设置为可见状态;同时发送蓝牙关闭命令给音视频播放系统中的其他播放设备,以指示所述其他播放设备关闭蓝牙,保持音视频播放系统中的有一台播放设备的蓝牙是开启的并且蓝牙状态为可见状态,便于用户通过蓝牙将音源设备的音视频数据传输到音视频播放系统中播放,保持音视频播放系统的蓝牙可用性。In the technical solution of this embodiment, on the basis of Embodiment 1, when the playback device in the audio and video playback system does not establish a Bluetooth connection with the audio source device, the main playback device selects the audio from the audio and video playback system. A playback device, as the first playback device, sends a second bluetooth opening command to the first playback device to instruct the first playback device to turn on bluetooth and set the bluetooth state to a visible state; Other playback devices in the video playback system to instruct the other playback devices to turn off bluetooth, keep the bluetooth of one playback device in the audio and video playback system to be turned on and the bluetooth state to be visible, so that users can connect the audio source device through bluetooth The audio and video data is transmitted to the audio and video playback system for playback, and the Bluetooth availability of the audio and video playback system is maintained.

实施例三Embodiment three

图6是本发明实施例三提供的一种音视频播放系统中播放设备的蓝牙连接控制方法的流程图,本实施例在上述实施例的基础上,增加了广播第一播放设备的SSID(ServiceSet Identifier,服务集标识)和密码的特征,具体包括如下步骤:6 is a flow chart of a Bluetooth connection control method for playback devices in an audio and video playback system provided by Embodiment 3 of the present invention. On the basis of the above-mentioned embodiments, this embodiment adds the SSID (ServiceSet Identifier, service set identifier) and password characteristics, specifically include the following steps:

步骤610,音视频播放系统的主播放设备接收第一播放设备的蓝牙状态改变的通知,其中,所述第一播放设备在通过蓝牙接收到音视频数据后将蓝牙状态由可见状态改变为隐藏状态。Step 610, the main playback device of the audio and video playback system receives the notification of the bluetooth state change of the first playback device, wherein the first playback device changes the bluetooth state from the visible state to the hidden state after receiving the audio and video data through bluetooth .

步骤620,所述主播放设备从除所述第一播放设备以外的播放设备中选取一个播放设备,作为第二播放设备。Step 620, the main playback device selects a playback device from the playback devices other than the first playback device as the second playback device.

步骤630,所述主播放设备发送第一蓝牙开启命令给所述第二播放设备,以指示所述第二播放设备开启蓝牙,并将蓝牙状态设置为可见状态。Step 630, the main playback device sends a first Bluetooth enable command to the second playback device to instruct the second playback device to turn on Bluetooth and set the Bluetooth state to a visible state.

步骤640,所述主播放设备在接收到音源设备发送的第一播放设备的SSID和密码后,在所述音视频播放系统内广播,并在接收到具有所述SSID和密码的第一播放设备的应答后,将所述应答返回给所述音源设备。Step 640, after the main playback device receives the SSID and password of the first playback device sent by the audio source device, it broadcasts in the audio and video playback system, and receives the first playback device with the SSID and password After the response, return the response to the audio source device.

当用户知道蓝牙状态处于隐藏状态的第一播放设备的SSID和密码,而想继续使用所述第一播放设备时,可以在音源设备上输入第一播放设备的SSID和密码,音源设备可以通过无线网络将所述第一播放设备的SSID和密码发送给音视频播放系统的主播放设备。所述主播放设备在接收到音源设备发送的第一播放设备的SSID和密码后,在音视频播放系统内广播所述SSID和密码,音视频播放系统内的播放设备接收到广播后,与自身的SSID和密码进行匹配,匹配成功的第一播放设备进行应答,主播放设备可以确定所述SSID和密码为第一播放设备的SSID和密码,进而返回给音源设备,音源设备可以直接与该第一播放设备建立蓝牙连接。When the user knows the SSID and password of the first playback device whose bluetooth status is hidden, and wants to continue using the first playback device, he can input the SSID and password of the first playback device on the audio source device, and the audio source device can pass wireless The network sends the SSID and password of the first playback device to the main playback device of the audio and video playback system. After the main playback device receives the SSID and password of the first playback device sent by the audio source device, it broadcasts the SSID and password in the audio and video playback system. After the playback device in the audio and video playback system receives the broadcast, it communicates with itself The SSID and password are matched, and the first playback device that matches successfully responds. The main playback device can determine that the SSID and password are the SSID and password of the first playback device, and then return it to the audio source device. The audio source device can directly communicate with the first playback device. A playback device establishes a Bluetooth connection.

本实施例的技术方案,在实施例一的基础上,主播放设备接收到音源设备发送的第一播放设备的SSID和密码后,在音视频播放系统内广播,第一播放设备应答,主播放设备将该应答返回给所述音源设备,所述音源设备可以直接与蓝牙状态处于隐藏状态的第一播放设备建立蓝牙连接,从而用户可以使用该第一播放设备。In the technical solution of this embodiment, on the basis of Embodiment 1, after the main playback device receives the SSID and password of the first playback device sent by the audio source device, it broadcasts in the audio and video playback system, the first playback device responds, and the main playback device The device returns the response to the sound source device, and the sound source device can directly establish a Bluetooth connection with the first playback device whose Bluetooth status is hidden, so that the user can use the first playback device.

实施例四Embodiment four

图7是本发明实施例四提供的一种音视频播放系统中播放设备的蓝牙连接控制装置的结构示意图,如图7所示,本实施例所述的音视频播放系统中播放设备的蓝牙连接控制装置包括:通知接收模块710、第二播放设备选取模块720和蓝牙开启命令发送模块730。Fig. 7 is a schematic structural diagram of a Bluetooth connection control device for a playback device in an audio and video playback system provided in Embodiment 4 of the present invention. As shown in Fig. 7, the Bluetooth connection of the playback device in the audio and video playback system described in this embodiment The control device includes: a notification receiving module 710 , a second playback device selecting module 720 and a Bluetooth start command sending module 730 .

其中,通知接收模块,配置于音视频播放系统的主播放设备中,用于接收第一播放设备的蓝牙状态改变的通知,其中,所述第一播放设备在通过蓝牙接收到音视频数据后将蓝牙状态由可见状态改变为隐藏状态;Wherein, the notification receiving module is configured in the main playback device of the audio and video playback system, and is used to receive the notification of the bluetooth state change of the first playback device, wherein, after the first playback device receives the audio and video data through bluetooth, it will The bluetooth state changes from the visible state to the hidden state;

第二播放设备选取模块,用于从除所述第一播放设备以外的播放设备中选取一个播放设备,作为第二播放设备;The second playback device selection module is used to select a playback device from playback devices other than the first playback device as the second playback device;

蓝牙开启命令发送模块,用于发送第一蓝牙开启命令给所述第二播放设备,以指示所述第二播放设备开启蓝牙,并将蓝牙状态设置为可见状态。The bluetooth start command sending module is used to send the first bluetooth start command to the second playback device to instruct the second play device to turn on the bluetooth and set the bluetooth state to a visible state.

优选的,该装置还包括:Preferably, the device also includes:

第一播放设备选取模块,用于在音视频播放系统的主播放设备接收第一播放设备的蓝牙状态改变的通知之前,当所述音视频播放系统中的播放设备没有与音源设备建立蓝牙连接时,从所述音视频播放系统中选取一个播放设备,作为第一播放设备;The first playback device selection module is used for when the playback device in the audio and video playback system does not establish a Bluetooth connection with the audio source device before the main playback device of the audio and video playback system receives the notification of the bluetooth state change of the first playback device , selecting a playback device from the audio and video playback system as the first playback device;

开启关闭命令发送模块,用于发送第二蓝牙开启命令给所述第一播放设备,以指示所述第一播放设备开启蓝牙并将蓝牙状态设置为可见状态;同时发送蓝牙关闭命令给音视频播放系统中的其他播放设备,以指示所述其他播放设备关闭蓝牙。Turn on and off the command sending module, for sending the second bluetooth open order to the first playback device, to instruct the first play device to turn on the bluetooth and set the bluetooth state to the visible state; simultaneously send the bluetooth off order to the audio and video player other playback devices in the system to instruct the other playback devices to turn off bluetooth.

优选的,所述第二播放设备选取模块具体用于:Preferably, the second playback device selection module is specifically used for:

从除所述第一播放设备以外的处于非播放状态的播放设备中随机选取一个播放设备,作为第二播放设备。A playback device is randomly selected from the playback devices in the non-play state except the first playback device as the second playback device.

优选的,所述第二播放设备选取模块包括:Preferably, the second playback device selection module includes:

信号检测命令发送单元,用于发送信号检测命令给所述第一播放设备以外的播放设备,以指示所述第一播放设备以外的播放设备检测设定音源设备的蓝牙信号强度;A signal detection command sending unit, configured to send a signal detection command to a playback device other than the first playback device, to instruct the playback device other than the first playback device to detect and set the Bluetooth signal strength of the audio source device;

播放设备确定单元,用于从所述第一播放设备以外的播放设备中获取所述蓝牙信号强度,确定检测的蓝牙信号强度大于信号强度阈值的播放设备;A playback device determining unit, configured to obtain the Bluetooth signal strength from playback devices other than the first playback device, and determine the playback device whose detected Bluetooth signal strength is greater than the signal strength threshold;

第二播放设备选取单元,用于从所述检测的蓝牙信号强度大于信号强度阈值的播放设备中随机选取一个播放设备,作为第二播放设备。The second playback device selection unit is configured to randomly select a playback device from the playback devices whose detected Bluetooth signal strength is greater than the signal strength threshold as the second playback device.

优选的,该装置还包括:Preferably, the device also includes:

SSID和密码获知模块,用于在接收到音源设备发送的第一播放设备的SSID和密码后,在所述音视频播放系统内广播,并在接收到具有所述SSID和密码的第一播放设备的应答后,将所述应答返回给所述音源设备。SSID and password acquisition module, used for broadcasting in the audio and video playback system after receiving the SSID and password of the first playback device sent by the audio source device, and receiving the first playback device with the SSID and password After the response, return the response to the audio source device.

本发明实施例还提供了一种播放设备,该播放设备集成了本发明任一实施例提供的音视频播放系统中播放设备的蓝牙连接控制装置。The embodiment of the present invention also provides a playback device, which integrates the Bluetooth connection control device of the playback device in the audio and video playback system provided by any embodiment of the present invention.

上述产品可执行本发明任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。The above-mentioned product can execute the method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。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 (11)

1. the Bluetooth connection control method of playback equipment in a kind of audio-video frequency playing system, which is characterized in that the method includes:
The main playback equipment of audio-video frequency playing system receives the notice that the bluetooth state of the first playback equipment changes, wherein described Bluetooth state is changed into hidden state by visible state after receiving audio, video data by bluetooth by the first playback equipment;
The main playback equipment chooses a playback equipment from the playback equipment in addition to first playback equipment, as Two playback equipments;
The main playback equipment sends the first bluetooth open command to second playback equipment, to indicate that second broadcasting is set It is standby to open bluetooth, and visible state is set by bluetooth state.
2. the method according to claim 1, wherein the main playback equipment in audio-video frequency playing system receives first Before the notice that the bluetooth state of playback equipment changes, further include:
When the playback equipment in the audio-video frequency playing system does not establish bluetooth connection with audiogenic device, the main broadcaster, which is put, to be set It is standby that a playback equipment is chosen from the audio-video frequency playing system, as the first playback equipment;
The main playback equipment sends the second bluetooth open command to first playback equipment, to indicate that first broadcasting is set It is standby to open bluetooth and set visible state for bluetooth state;Bluetooth shutdown command is sent in audio-video frequency playing system simultaneously Other playback equipments, to indicate that other described playback equipments close bluetooth.
3. method according to claim 1 or 2, which is characterized in that the main playback equipment is set from except first broadcasting A playback equipment is randomly selected in playback equipment other than standby, includes as the second playback equipment:
The main playback equipment selects at random from the playback equipment in non-broadcast state in addition to first playback equipment A playback equipment is taken, as the second playback equipment.
4. method according to claim 1 or 2, which is characterized in that the main playback equipment is set from except first broadcasting A playback equipment is randomly selected in playback equipment other than standby, includes as the second playback equipment:
The main playback equipment sends signal detection order to the playback equipment other than first playback equipment, described in instruction The bluetooth signal intensity of playback equipment detection setting audiogenic device other than first playback equipment;
The main playback equipment obtains the bluetooth signal intensity from the playback equipment other than first playback equipment, determines The bluetooth signal intensity of detection is greater than the playback equipment of signal strength threshold;
The main playback equipment selects at random from the playback equipment that the bluetooth signal intensity of the detection is greater than signal strength threshold A playback equipment is taken, as the second playback equipment.
5. method according to claim 1 or 2, which is characterized in that further include:
The main playback equipment receive audiogenic device transmission the first playback equipment service set SSID and password after, It is broadcasted in the audio-video frequency playing system, and in the response for receiving the first playback equipment with the SSID and password Afterwards, the response is returned into the audiogenic device.
6. the bluetooth connection control device of playback equipment in a kind of audio-video frequency playing system, which is characterized in that described device includes:
It notifies receiving module, is configured in the main playback equipment of audio-video frequency playing system, for receiving the indigo plant of the first playback equipment The notice that dental phenomenon changes, wherein first playback equipment is after receiving audio, video data by bluetooth by bluetooth state Hidden state is changed by visible state;
Second playback equipment chooses module, for choosing a broadcasting from the playback equipment in addition to first playback equipment Equipment, as the second playback equipment;
Bluetooth open command sending module, for sending the first bluetooth open command to second playback equipment, to indicate It states the second playback equipment and opens bluetooth, and set visible state for bluetooth state.
7. device according to claim 6, which is characterized in that further include:
First playback equipment chooses module, and the indigo plant of the first playback equipment is received for the main playback equipment in audio-video frequency playing system Before the notice that dental phenomenon changes, bluetooth is not established with audiogenic device when the playback equipment in the audio-video frequency playing system and is connected When connecing, a playback equipment is chosen from the audio-video frequency playing system, as the first playback equipment;
Open and close command sending module, for sending the second bluetooth open command to first playback equipment, to indicate The first playback equipment is stated to open bluetooth and set visible state for bluetooth state;Bluetooth shutdown command is sent to audio-video simultaneously Other playback equipments in play system, to indicate that other described playback equipments close bluetooth.
8. device according to claim 6 or 7, which is characterized in that second playback equipment is chosen module and is specifically used for:
A playback equipment is randomly selected from the playback equipment in non-broadcast state in addition to first playback equipment, As the second playback equipment.
9. device according to claim 6 or 7, which is characterized in that second playback equipment chooses module and includes:
Signal detection command sending unit is set for sending signal detection order to the broadcasting other than first playback equipment It is standby, to indicate the bluetooth signal intensity of the playback equipment detection setting audiogenic device other than first playback equipment;
Playback equipment determination unit is strong for obtaining the Bluetooth signal from the playback equipment other than first playback equipment Degree determines that the bluetooth signal intensity of detection is greater than the playback equipment of signal strength threshold;
Second playback equipment selection unit, the broadcasting for being greater than signal strength threshold from the bluetooth signal intensity of the detection are set A playback equipment is randomly selected in standby, as the second playback equipment.
10. device according to claim 6 or 7, which is characterized in that further include:
SSID and password know module, for receive audiogenic device transmission the first playback equipment SSID and password after, It is broadcasted in the audio-video frequency playing system, and in the response for receiving the first playback equipment with the SSID and password Afterwards, the response is returned into the audiogenic device.
11. a kind of playback equipment, which is characterized in that the playback equipment is integrated with the audio-video as described in claim 6-10 is any The bluetooth connection control device of playback equipment in play system.
CN201610164919.3A 2016-03-22 2016-03-22 Bluetooth connection control method, device and the playback equipment of playback equipment Active CN105681886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610164919.3A CN105681886B (en) 2016-03-22 2016-03-22 Bluetooth connection control method, device and the playback equipment of playback equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610164919.3A CN105681886B (en) 2016-03-22 2016-03-22 Bluetooth connection control method, device and the playback equipment of playback equipment

Publications (2)

Publication Number Publication Date
CN105681886A CN105681886A (en) 2016-06-15
CN105681886B true CN105681886B (en) 2018-11-16

Family

ID=56311442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610164919.3A Active CN105681886B (en) 2016-03-22 2016-03-22 Bluetooth connection control method, device and the playback equipment of playback equipment

Country Status (1)

Country Link
CN (1) CN105681886B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107323355A (en) * 2017-02-10 2017-11-07 问众智能信息科技(北京)有限公司 A kind of intelligent back vision mirror that bluetooth connection is carried out based on NFC and attaching method thereof
CN108769794A (en) * 2018-05-31 2018-11-06 北京橙鑫数据科技有限公司 Radio play system and playback method
CN113518331B (en) * 2020-03-27 2024-04-12 华为技术有限公司 Communication method and device
CN117461318A (en) * 2021-07-13 2024-01-26 海信视像科技股份有限公司 Display devices and control methods
CN117278788A (en) * 2021-08-13 2023-12-22 海信视像科技股份有限公司 Method for preventing interference of Bluetooth equipment and display equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101511066A (en) * 2009-03-19 2009-08-19 李海 Shortcut method and system for interacting information with Bluetooth equipment
CN101631156A (en) * 2009-08-13 2010-01-20 中兴通讯股份有限公司 Method and system for controlling orderly connection of Bluetooth earphones by terminal
CN104527567A (en) * 2014-12-12 2015-04-22 深圳楼兰辉煌科技有限公司 Automobile intelligent key system and using method thereof on basis of bluetooth low energy (BLE)
EP2887624A1 (en) * 2013-12-19 2015-06-24 EchoStar Technologies L.L.C. Smartphone bluetooth headset receiver
CN105072564A (en) * 2015-07-30 2015-11-18 广东欧珀移动通信有限公司 A kind of audio playing method and device based on bluetooth connection
CN105101048A (en) * 2014-05-09 2015-11-25 黑莓有限公司 System and method for indicating pairing availability between devices
CN105338470A (en) * 2015-09-28 2016-02-17 联想(北京)有限公司 Electronic equipment and information processing method thereof
CN105472776A (en) * 2015-11-17 2016-04-06 飞天诚信科技股份有限公司 Method for establishing Bluetooth connection and Bluetooth smart key device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101511066A (en) * 2009-03-19 2009-08-19 李海 Shortcut method and system for interacting information with Bluetooth equipment
CN101631156A (en) * 2009-08-13 2010-01-20 中兴通讯股份有限公司 Method and system for controlling orderly connection of Bluetooth earphones by terminal
EP2887624A1 (en) * 2013-12-19 2015-06-24 EchoStar Technologies L.L.C. Smartphone bluetooth headset receiver
CN105101048A (en) * 2014-05-09 2015-11-25 黑莓有限公司 System and method for indicating pairing availability between devices
CN104527567A (en) * 2014-12-12 2015-04-22 深圳楼兰辉煌科技有限公司 Automobile intelligent key system and using method thereof on basis of bluetooth low energy (BLE)
CN105072564A (en) * 2015-07-30 2015-11-18 广东欧珀移动通信有限公司 A kind of audio playing method and device based on bluetooth connection
CN105338470A (en) * 2015-09-28 2016-02-17 联想(北京)有限公司 Electronic equipment and information processing method thereof
CN105472776A (en) * 2015-11-17 2016-04-06 飞天诚信科技股份有限公司 Method for establishing Bluetooth connection and Bluetooth smart key device

Also Published As

Publication number Publication date
CN105681886A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
US12047635B2 (en) Systems and methods for networked music playback
JP6785923B2 (en) Associating a playback device with a playback queue
JP6542419B2 (en) Media system access via cellular network
JP6290394B2 (en) System and method for playing / pausing content
JP6290265B2 (en) How to prepare audio content in advance
US12164362B2 (en) Synchronous playback with battery-powered playback device
JP2019022232A (en) Support of multi-house hold
JP2016523017A (en) Media playback system playback queue transfer
JP6148737B2 (en) Access to mobile source media content
CN105142010A (en) Bluetooth connection selection method of multi-play device and main play device
JP2016525805A (en) Private queue for media playback system
JP2016514280A (en) Automatic setting of household playback device
CN105681886B (en) Bluetooth connection control method, device and the playback equipment of playback equipment
CN104507005A (en) Grouping control method and system of wireless loudspeaker box
CN105812905B (en) Playing control method and device in audio and video playing system
JP6215459B2 (en) Controlling playback queues via playlists on mobile devices
CN105812185A (en) A communication connection method for a playback device
CN105703987B (en) Audio and video playing system control method and device
CN105704535B (en) A kind of audio-video frequency playing system control method, device and audio-video frequency playing system
CN105682010A (en) Bluetooth connection control method and device in audio playing system, and player
CN105828129A (en) An audio and video playback system control method, device and audio and video playback system
CN105847905A (en) A control method and device for an audio and video playback system
CN105812913A (en) Bluetooth name display method, device and terminal of playback device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder