WO2017031864A1 - 一种多媒体播放设备的播放控制方法及装置 - Google Patents

一种多媒体播放设备的播放控制方法及装置 Download PDF

Info

Publication number
WO2017031864A1
WO2017031864A1 PCT/CN2015/096864 CN2015096864W WO2017031864A1 WO 2017031864 A1 WO2017031864 A1 WO 2017031864A1 CN 2015096864 W CN2015096864 W CN 2015096864W WO 2017031864 A1 WO2017031864 A1 WO 2017031864A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication connection
play
played
playing
multimedia
Prior art date
Application number
PCT/CN2015/096864
Other languages
English (en)
French (fr)
Inventor
林尚波
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2017031864A1 publication Critical patent/WO2017031864A1/zh

Links

Images

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/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • 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
    • 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]

Definitions

  • the embodiments of the present invention belong to the field of multimedia playback technologies, and in particular, to a playback control method and apparatus for a multimedia playback system.
  • multimedia playback devices generally integrate network communication functions, and multiple multimedia playback devices in different regions can form a multimedia playback system through a connection network.
  • multiple playback devices in a multimedia playback system form a private network by wireless.
  • a wireless mesh network technology can be used to form a private network, and each playback device can exchange information and data through the private network. .
  • Multiple multimedia playback devices in the multimedia playback system can play multimedia files separately or simultaneously.
  • the plurality of multimedia playing devices can also be divided into a plurality of play groups, so that each play group can play different multimedia files separately.
  • each multimedia playback device or play group can accept the control of the same user, and can also control the different users, bringing a new user experience.
  • a mobile terminal such as a smart phone can be used as a control terminal to connect with a multimedia playback system through a wireless communication technology to control the multimedia playback system.
  • a common connection method is that the mobile terminal establishes a connection with the multimedia playing system through the Wireless Fidelity (WIFI) technology, and can browse and select the multimedia file on the control software or application software of the control terminal, and push it to the multimedia playing system.
  • WIFI Wireless Fidelity
  • Another connection mode is that the mobile terminal establishes a Bluetooth connection with a multimedia playing device in the multimedia playing system, and can directly send the multimedia data stored in the mobile terminal to the multimedia playing device and control the playing thereof, and the multimedia playing device The received multimedia data can also be sent to other multimedia playback devices in the system via a private network.
  • the above two methods may coexist, that is, at some time, there may be one mobile terminal connected to the multimedia playing system through the WIFI wireless network, and another mobile terminal connected to a playing device in the multimedia playing system through Bluetooth.
  • a conflict occurs when both users control the playback device through the control terminal in the hand, or when a user controls the playback device using a different control terminal.
  • a certain user uses a control terminal to connect to a multimedia playing system through WIFI, and controls one of the playing groups to synchronously play music.
  • another user uses another control terminal and the above playing group.
  • a certain playback device establishes a Bluetooth connection and sends audio and playback control information to the playback device to control its playback.
  • the playback device cannot determine whether the original music should be played or not, based on the existing playback control scheme.
  • the new music is easy to cause system errors and affect the normal use of the user.
  • the object of the embodiments of the present invention is to provide a playback control method and apparatus for a multimedia playback device in a multimedia playback system, so as to solve the problem that conflicts may occur due to conflicts when different control terminals simultaneously perform playback control on a playback device in a multimedia playback system. System error.
  • an embodiment of the present invention provides a playback control method for a multimedia playback device in a multimedia playback system, including:
  • an embodiment of the present invention provides a playback control apparatus for a multimedia playback device in a multimedia playback system, including:
  • a first communication connection establishing module configured to establish a first communication connection with the first control terminal
  • a second communication connection establishing module configured to establish a second communication connection with the second control terminal, where the second communication connection is different from the first communication connection
  • a play control module configured to compare priorities of the first communication connection and the second communication connection when receiving the multimedia data to be played and the play control information sent by the second control terminal, and according to the comparison result and The play control information determines whether to play the multimedia file to be played corresponding to the multimedia data to be played.
  • the playback control scheme of the multimedia playback device in the multimedia playback system establishes a first communication connection with the first control terminal after the multimedia playback device establishes a first communication connection with the second control terminal.
  • the second communication connection when receiving the multimedia data to be played and the playback control information sent by the second control terminal, comparing the priorities of the first communication connection and the second communication connection, and determining whether to play according to the comparison result and the play control information
  • the multimedia playback device can handle the control conflicts by itself, thereby avoiding system errors caused by conflicts in the playback control, thereby solving user troubles. , improved user experience.
  • FIG. 1 is a schematic flowchart of a playback control method of a multimedia playback device in a multimedia playback system according to Embodiment 1 of the present invention
  • FIG. 2 is a structural block diagram of a multimedia playing device in a multimedia playing system according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic diagram of networking of a multimedia playing system according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic flowchart of a playback control method of a multimedia playback device in a multimedia playback system according to Embodiment 2 of the present invention
  • FIG. 5 is a schematic flowchart of a play control method of a music playing device in a music playing system according to Embodiment 3 of the present invention.
  • FIG. 6 is a structural block diagram of a playback control apparatus for a multimedia playback device in a multimedia playback system according to Embodiment 4 of the present invention.
  • FIG. 1 is a schematic flowchart of a playback control method of a multimedia playback device in a multimedia playback system according to Embodiment 1 of the present invention, where the method may be performed by a playback control device of a multimedia playback device in a multimedia playback system, where the device may be Software and/or hardware implementations that can be integrated into multimedia playback devices in multimedia playback systems. As shown in Figure 1, the method includes:
  • Step 101 Establish a first communication connection with the first control terminal.
  • Step 102 Establish a second communication connection with the second control terminal.
  • the second communication connection is different from the first communication connection.
  • the first communication connection or the second communication connection may specifically be a Wireless Fidelity (WIFI) communication connection or a Bluetooth communication connection. Since the second communication connection is different from the first communication connection, the first communication connection may be a WIFI communication connection, and the second communication connection may be a Bluetooth communication connection; or the first communication connection may be a Bluetooth communication connection, and the The second communication connection can be a WIFI communication connection.
  • WIFI Wireless Fidelity
  • FIG. 2 is a structural block diagram of a multimedia playing device in a multimedia playing system according to Embodiment 1 of the present invention.
  • a multimedia playing device may include the following main functional modules: a processor 201, a core of a playing device, executing a control program, communicating with peripheral functional modules, coordinating and controlling the work of each functional module; 202, implementing Bluetooth communication, so that the playback device can establish a connection with the same Bluetooth-enabled device (such as a smart phone as a control terminal) through Bluetooth technology to obtain multimedia data or control data, and the Bluetooth module 202 can obtain the obtained multimedia data and
  • the control data is transmitted to the processor 201, and the multimedia data and control data transmitted by the processor 201 can also be transmitted to other Bluetooth devices.
  • the network interface 203 may be a wired network interface or a wireless network interface conforming to the 802.11 specification.
  • the processor 201 may be connected to the Internet through the network interface 203 to obtain network streaming media data, through the network interface 203, especially in the form of a wireless network.
  • Multiple playback devices can form a wireless multimedia playback system, that is, a private network, enabling simultaneous multimedia playback.
  • Each control terminal can also be connected to a multimedia playback system via a wireless network (such as WIFI) for playback in a multimedia playback system and system.
  • the device performs operational control.
  • the audio amplifying module 204 transmits the obtained audio data to the audio amplifying module 204 after being decoded or digital/analog converted, and the audio amplifying module 204 mainly performs power amplification on the analog audio signal sent by the processor 201.
  • the sound is driven by the speaker; the speaker 205, the sound restoring component, the number of which may be one or more; the storage 206, the program executed by the storage processor 201, and some configuration data of the multimedia playing system, such as network connection data, volume information, Group information and a list of multimedia played.
  • the function module is included in both the master device and the slave device.
  • a multimedia playback device in a multimedia playback system When a multimedia playback device in a multimedia playback system directly establishes a wired or wireless connection with the router through the network interface 203, it is called a master device.
  • Other multimedia playback devices in the multimedia playback system are referred to as slave devices and together with the master device form a network through the network interface 203.
  • the multimedia playing device in this embodiment may be a master device or a slave device.
  • FIG. 3 is a schematic diagram of networking of a multimedia playing system according to Embodiment 1 of the present invention.
  • the master device 301 in the multimedia playing system can communicate with the router 304 by wire or wirelessly, and the slave device 302 and the master device 301 in the multimedia playing system establish a private network through the WIFI (as shown in the circle).
  • the control terminal 303 can connect to the router 304 via WIFI to communicate with the multimedia playback system and control the playback device therein.
  • the first control terminal or the second control terminal may specifically be a smart phone, a tablet computer, and a notebook computer.
  • a mobile terminal such as a brain can establish a connection with a private network of a multimedia playback system through WIFI.
  • the WIFI is connected to a router connected to the main device in the multimedia playing system, and can access and control the playing device in the private network of the multimedia playing system; or can be established through a multimedia playing device in the Bluetooth and multimedia playing system. connection.
  • Step 103 When receiving the multimedia data to be played and the play control information sent by the second control terminal, compare the priorities of the first communication connection and the second communication connection, and determine whether to play the multimedia to be played according to the comparison result and the play control information. The data corresponding to the multimedia file to be played.
  • the priority of different communication connections may be set in advance in the playback device, which may be set by the system by default, or may be set by the user according to personal habits.
  • the Bluetooth communication connection has a higher priority than the wireless fidelity communication connection.
  • the multimedia data to be played may be multimedia file data such as audio data and video data stored in the control terminal, or multimedia file information such as a multimedia file name, a web server storing the multimedia file, and a web address.
  • the playing device can directly play the multimedia file corresponding to the multimedia file data, and can also obtain the corresponding multimedia resource and play according to the multimedia file information to the network server or the Internet.
  • the play control information may include playback control parameters such as a play command, a volume, and the like, and information such as a play mode (such as individual play or play group play).
  • the playback device may be controlled to play the multimedia file to be played corresponding to the multimedia data to be played.
  • the step may specifically include: determining whether the playback device is currently in a play state; if the playback device is currently in the play state, comparing the priorities of the first communication connection and the second communication connection, and determining according to the comparison result and the play control information Whether to switch to playing the multimedia file to be played corresponding to the multimedia data to be played; if the playback device is not currently playing, directly playing the multimedia file to be played corresponding to the multimedia data to be played according to the playback control information.
  • the advantage of this is that when the multimedia data to be played and the playback control information sent by the second control terminal are received, if the playback device is not currently in the playing state, that is, in the idle state, the priority of the two communication connections is not required. By making judgments and playing directly, the playback response time of the playback device can be shortened, and the user experience can be further improved.
  • the playback control method of the multimedia playback device in the multimedia playback system provided by the first embodiment of the present invention establishes a first communication connection with the first control terminal after the multimedia playback device establishes a first communication connection with the second control terminal, and establishes a different communication connection with the second control terminal.
  • the second communication connection when receiving the multimedia data to be played and the playback control information sent by the second control terminal, comparing the priorities of the first communication connection and the second communication connection, and determining whether to play according to the comparison result and the play control information The multimedia file to be played corresponding to the multimedia data to be played.
  • the multimedia playback device can handle the control conflicts by itself, thereby avoiding system errors caused by conflicts in the playback control, thereby solving user troubles. , improved user experience.
  • the method may further include: stopping the playing when detecting that the playback device is in the playing state. That is to say, after establishing the second communication connection with the second control terminal, if the playback device is currently in the playing state, the playback can be stopped immediately, waiting for the second control terminal to send the multimedia data to be played and the playback control information; The playing is stopped, and the second control terminal receives the multimedia data to be played and the playing control information, and then stops playing.
  • FIG. 4 is a schematic flowchart of a playback control method of a multimedia playback device in a multimedia playback system according to Embodiment 2 of the present invention. This embodiment is optimized based on the foregoing embodiment. In this embodiment, the steps are compared.
  • the priority of the first communication connection and the second communication connection, and determining whether to play the multimedia file to be played corresponding to the multimedia data to be played according to the comparison result and the playback control information is optimized to: when determining that the playback device is currently playing in the playback group In the state, comparing the priorities of the first communication connection and the second communication connection; when the comparison result is that the priority of the second communication connection is higher than the priority of the first communication connection, switching to playing the to-be-played multimedia data according to the playback control information Corresponding multimedia files to be played.
  • the method of this embodiment includes the following steps:
  • Step 401 Establish a first communication connection with the first control terminal.
  • Step 402 Establish a second communication connection with the second control terminal.
  • Step 403 Receive multimedia data to be played and play control information sent by the second control terminal.
  • Step 404 Compare the priorities of the first communication connection and the second communication connection when determining that the playback device is currently in the synchronized play state in the play group.
  • a plurality of multimedia playing devices in the multimedia playing system can play multimedia files separately, and can also play multimedia files synchronously.
  • the plurality of multimedia playing devices can also be divided into a plurality of play groups, so that each play group can play different multimedia files separately.
  • a play group includes a play device A, a play device B, and a play device C.
  • the control terminal a is connected to the multimedia play system through the WIFI, and controls the play device A, the play device B, and the play device C in the play group to play synchronously.
  • the control terminal b During the playing of the song E, the control terminal b establishes a communication connection with the playing device A through Bluetooth, and transmits the audio data of the song F and the corresponding playing control information to the playing device A, and then the priority of the Bluetooth connection and the WIFI connection is performed. Comparison.
  • Step 404 When the comparison result is that the priority of the second communication connection is higher than the priority of the first communication connection, switch to play the multimedia file to be played corresponding to the multimedia data to be played according to the playback control information.
  • step 403 if the priority of the Bluetooth connection is higher than the priority of the WIFI connection, the playback device A switches to play the song F according to the play control information; if the priority of the Bluetooth connection is lower than the WIFI connection At the priority, the playback device A continues to play the song E in synchronization with the playback device B and the playback device C.
  • the out-of-group message may be sent to the remaining playback devices in the play group, so that the remaining playback devices in the play group continue to play the original multimedia file according to the off-group message.
  • the out-of-group message includes the original multimedia data source corresponding to the original multimedia file, and the remaining playback devices in the play group continue to obtain the original multimedia corresponding to the original multimedia file according to the original multimedia data source corresponding to the original multimedia file in the out-of-group information. Data and play the original multimedia files synchronously.
  • the play device B and the play device C may send an out-of-group message to inform them that the play device A will leave the play group, play the device B, and play.
  • Device C will continue to play song E synchronously according to the out-of-group message. If the previous play group is playing the song E synchronously, the multimedia data corresponding to the song E is acquired by the playback device A and sent to the playback device B and the playback device C through the private network, and the escape message may also include the song E corresponding to the playback message.
  • the source of the audio data is such that the playback device B and the playback device C continue to acquire the audio data corresponding to the song E according to the source of the audio data corresponding to the song E, and play the song E synchronously.
  • the playback device A can continue to transmit the audio data corresponding to the song E to the playback device B and the playback device C through the private network while playing the song F.
  • the method further includes: when detecting that the second communication connection is disconnected from the second control device, re-joining the play group, and playing the remaining play devices in synchronization with the remaining play devices in the play group. Multimedia files.
  • the playback device A is disconnected from the play group, if it is detected that the playback device A and the control device b are disconnected from the Bluetooth connection, the playback device A can rejoin the play group, if the playback device B and the playback device C are currently playing synchronously.
  • the playback device A plays the song G in synchronization with the playback device B and the playback device C.
  • the second embodiment of the present invention optimizes the playback control method of the playback device in the play group, and does not affect other playback devices in the play group during the process of switching the multimedia file. To further enhance the user experience.
  • FIG. 5 is a schematic flowchart of a playback control method of a music playing device in a music playing system according to Embodiment 3 of the present invention.
  • the embodiment of the present invention optimizes on the basis of the foregoing embodiment, and takes a music playing system as an example. Further explanation.
  • the priority of the Bluetooth communication connection is higher than the priority of the WIFI communication connection.
  • the method includes:
  • Step 501 The music playing device establishes a WIFI communication connection with the first control terminal.
  • Step 502 The music playing device establishes a Bluetooth communication connection with the second control terminal.
  • Step 503 Determine whether the music playing device is currently in the playing state, and if yes, execute step 504; otherwise, perform step 505.
  • Step 504 Continue to play the current music, and detect whether the audio data to be played and the play control information sent by the second control terminal are received. If yes, go to step 506; otherwise, continue to step 504.
  • Step 505 Detect whether the audio data to be played and the play control information sent by the second control terminal are received, and if yes, execute step 508; otherwise, continue to step 505.
  • Step 506 Determine whether the music playing device is currently playing in the playing group synchronously. If yes, execute step 507; otherwise, perform step 508.
  • Step 507 Switch to play the music file to be played corresponding to the audio data to be played according to the play control information, and send an out-of-group message to the remaining music playing devices in the play group, so that the remaining music playing devices in the play group continue to synchronize according to the group message.
  • Step 509 Switch to play the music file to be played corresponding to the audio data to be played according to the play control information, and send an out-of-group message to the remaining music playing devices in the play group, so that the remaining music playing devices in the play group continue to synchronize according to the group message.
  • Step 508 Switch to play the music file to be played corresponding to the audio data to be played according to the play control information, and end the process.
  • the music play device may continue to forward the received audio data to be played and the play control information to other music in the play group. Play the device.
  • Step 509 Detect whether the communication connection is disconnected from the second control device, and if yes, execute step 510; otherwise, continue to step 509.
  • Step 510 Re-join the play group, and play the music files currently played by the remaining play devices in synchronization with the remaining music play devices in the play group, and the process ends.
  • Step 511 Play a music file to be played corresponding to the audio data to be played according to the play control information, and end the process.
  • the music play device may continue to forward the received audio data to be played and the play control information to other music in the play group. Play the device.
  • a playback control method for a music playing device in a music playing system when playing control of a playing device in a music playing system by using different control terminals at the same time, the music playing device can reasonably handle the control by itself Conflicts can avoid system errors caused by conflicts in playback control, and when the music playback device in the playback group performs the switching of the music files, it will not affect other music playback devices in the playback group. Solve user troubles and enhance user experience.
  • FIG. 6 is a structural block diagram of a playback control apparatus for a multimedia playback device in a multimedia playback system according to Embodiment 4 of the present invention.
  • the device may be implemented by software and/or hardware, and may be integrated into a multimedia playback device in a multimedia playback system.
  • the apparatus includes a first communication connection establishing module 601, a second communication connection establishing module 602, and a playback control module 603.
  • the first communication connection establishing module 601 is configured to establish a first communication connection with the first control terminal; a communication connection establishing module 602, configured to establish a second communication connection with the second control terminal, where the second communication connection is different from the first communication connection; and the play control module 603 is configured to receive the second Controlling the priority of the first communication connection and the second communication connection when controlling the to-be-played multimedia data and the playback control information sent by the terminal, and determining whether to play the to-be-played multimedia according to the comparison result and the play control information The data corresponding to the multimedia file to be played.
  • the play control module may include a state determination unit and a first play control unit.
  • the state determining unit is configured to determine whether the playback device is currently in a playing state
  • the first playing control unit is configured to compare the first communication connection and when the state determining unit determines that the playing device is currently in a playing state. a priority of the second communication connection, and determining, according to the comparison result and the play control information, whether to switch to play the multimedia file to be played corresponding to the multimedia data to be played; when the state determining unit determines that the playback device is currently
  • the multimedia file to be played corresponding to the multimedia data to be played is directly played according to the playing control information.
  • the play control module may include a comparison unit and a second play control unit.
  • the comparing unit is configured to compare the priorities of the first communication connection and the second communication connection when determining that the playback device is currently in the synchronized play state in the play group;
  • the second play control unit is configured to compare When the comparison result obtained by the unit is that the priority of the second communication connection is higher than the priority of the first communication connection, switching to play the multimedia file to be played corresponding to the multimedia data to be played according to the play control information .
  • the apparatus may further include an out-of-group message sending module, configured to: after switching to play the multimedia file to be played corresponding to the multimedia data to be played according to the play control information, to the play group The remaining playback devices send the out-of-group message, so that the remaining playback devices in the play group continue to play the original multimedia file synchronously according to the out-of-group message.
  • an out-of-group message sending module configured to: after switching to play the multimedia file to be played corresponding to the multimedia data to be played according to the play control information, to the play group The remaining playback devices send the out-of-group message, so that the remaining playback devices in the play group continue to play the original multimedia file synchronously according to the out-of-group message.
  • the out-of-group message may include the original multimedia data source corresponding to the original multimedia file; the out-of-group message sending module may be specifically configured to: switch to the play station according to the play control information. After the multimedia file to be played corresponding to the multimedia data is played, the out-of-group message is sent to the remaining playback devices in the play group, so that the remaining playback devices in the play group are based on the original multimedia file in the out-of-group information.
  • the corresponding original multimedia data source continues to acquire the original multimedia data corresponding to the original multimedia file, and simultaneously plays the original multimedia file.
  • the play control module may be further configured to: send an out-of-group message to the remaining playback devices in the play group, so that the remaining play devices in the play group continue to synchronize according to the out-of-group message.
  • the play control module is further configured to: establish a second with the second control terminal After the communication connection, when it is detected that the playback device is in the playing state, the playback is stopped.
  • the first communication connection is a wireless fidelity communication connection
  • the second communication connection is a Bluetooth communication connection
  • the first communication connection is a Bluetooth communication connection
  • the second communication is The connection is a wireless fidelity communication connection.
  • the priority of the Bluetooth communication connection is higher than the priority of the wireless fidelity communication connection.
  • the above product can perform the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

Landscapes

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

Abstract

一种多媒体播放系统中的多媒体播放设备的播放控制方法及装置。该方法包括:建立与第一控制终端的第一通信连接;建立与第二控制终端的第二通信连接,第二通信连接与第一通信连接不相同;当接收到第二控制终端发送的待播放多媒体数据和播放控制信息时,比较第一通信连接和第二通信连接的优先级,并根据比较结果和播放控制信息确定是否播放待播放多媒体数据对应的待播放多媒体文件。通过采用上述技术方案,当不同控制终端同时对多媒体播放系统中的播放设备进行播放控制时,多媒体播放设备能够自行处理控制冲突,可避免因播放控制发生冲突而导致的系统出错,从而解决用户烦恼,提升了用户体验。

Description

一种多媒体播放设备的播放控制方法及装置 技术领域
本发明实施例属于多媒体播放技术领域,尤其涉及一种多媒体播放系统的播放控制方法及装置。
背景技术
目前,多媒体播放设备一般都集成了网络通信功能,不同区域的多个多媒体播放设备可通过连接网络组成一个多媒体播放系统。通常情况下,多媒体播放系统中的多台播放设备会通过无线方式自组成一个私有网络,例如可使用无线网格(mesh)网络技术组成私有网络,各个播放设备可以通过该私有网络交换信息和数据。
多媒体播放系统内的多个多媒体播放设备可单独播放多媒体文件,也可同步播放多媒体文件。多个多媒体播放设备还可被划分为多个播放组,实现每个播放组分别播放不同的多媒体文件。此外,每个多媒体播放设备或者播放组可接受相同用户的控制,也可接受不同用户的控制,为用户带来全新的使用体验。
智能手机等移动终端可作为控制终端通过无线通信技术与多媒体播放系统连接,对多媒体播放系统进行控制。常见的一种连接方式是,移动终端通过无线保真(Wireless Fidelity,WIFI)技术与多媒体播放系统建立连接,可在控制终端的控制软件或应用软件上浏览选择多媒体文件,推送到多媒体播放系统进行播放;另一种连接方式是,移动终端与多媒体播放系统中的一个多媒体播放设备建立蓝牙连接,可将移动终端中存储的多媒体数据直接发送至该多媒体播放设备并控制其播放,该多媒体播放设备还可通过私有网络将接收到的多媒体数据发送至系统中的其他多媒体播放设备。上述两种方式可能是共存的,即某个时候,可能存在一个移动终端通过WIFI无线网络连接到多媒体播放系统,而另一个移动终端通过蓝牙连接多媒体播放系统中的一个播放设备。当两个用户均通过手中的控制终端控制该播放设备时,或者一个用户使用不同的控制终端控制该播放设备时,就会发生冲突。例如,某个用户使用控制终端通过WIFI连接到多媒体播放系统,并控制其中的一个播放组同步播放音乐,在该播放组播放音乐的过程中,另一个用户使用另外的控制终端与上述播放组中的某个播放设备建立蓝牙连接,并发送音频和播放控制信息到该播放设备想要控制其播放,该播放设备基于现有的播放控制方案无法判断应该继续播放原来的音乐,还是播放通过蓝牙传输的新的音乐,容易导致出现系统错误,影响用户的正常使用。
发明内容
本发明实施例的目的是提供一种多媒体播放系统中的多媒体播放设备的播放控制方法及装置,以解决不同控制终端同时对多媒体播放系统中的播放设备进行播放控制时,容易因发生冲突而导致系统出错的问题。
一方面,本发明实施例提供了一种多媒体播放系统中的多媒体播放设备的播放控制方法,包括:
建立与第一控制终端的第一通信连接;
建立与第二控制终端的第二通信连接,所述第二通信连接与所述第一通信连接不相同;
当接收到所述第二控制终端发送的待播放多媒体数据和播放控制信息时,比较所述第一通信连接和所述第二通信连接的优先级,并根据比较结果和所述播放控制信息确定是否播放所述待播放多媒体数据对应的待播放多媒体文件。
另一方面,本发明实施例提供了一种多媒体播放系统中的多媒体播放设备的播放控制装置,包括:
第一通信连接建立模块,用于建立与第一控制终端的第一通信连接;
第二通信连接建立模块,用于建立与第二控制终端的第二通信连接,所述第二通信连接与所述第一通信连接不相同;
播放控制模块,用于当接收到所述第二控制终端发送的待播放多媒体数据和播放控制信息时,比较所述第一通信连接和所述第二通信连接的优先级,并根据比较结果和所述播放控制信息确定是否播放所述待播放多媒体数据对应的待播放多媒体文件。
本发明实施例中提供的多媒体播放系统中的多媒体播放设备的播放控制方案,在多媒体播放设备与第一控制终端建立第一通信连接后,又与第二控制终端建立了不同于第一通信连接的第二通信连接,当接收到第二控制终端发送的待播放多媒体数据和播放控制信息时,比较第一通信连接和第二通信连接的优先级,并根据比较结果和播放控制信息确定是否播放待播放多媒体数据对应的待播放多媒体文件。通过采用上述技术方案,当不同控制终端同时对多媒体播放系统中的播放设备进行播放控制时,多媒体播放设备能够自行处理控制冲突,可避免因播放控制发生冲突而导致的系统出错,从而解决用户烦恼,提升了用户体验。
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。
附图说明
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为本发明实施例一提供的一种多媒体播放系统中的多媒体播放设备的播放控制方法的流程示意图;
图2为本发明实施例一提供的一种多媒体播放系统中的多媒体播放设备的结构框图;
图3为本发明实施例一提供的一种多媒体播放系统的组网示意图;
图4为本发明实施例二提供的一种多媒体播放系统中的多媒体播放设备的播放控制方法的流程示意图;
图5为本发明实施例三提供的一种音乐播放系统中的音乐播放设备的播放控制方法的流程示意图;
图6为本发明实施例四提供的一种多媒体播放系统中的多媒体播放设备的播放控制装置的结构框图。
具体实施方式
下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各项步骤的顺序可以被重新安排。当其步骤完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
实施例一
图1为本发明实施例一提供的一种多媒体播放系统中的多媒体播放设备的播放控制方法的流程示意图,该方法可以由多媒体播放系统中的多媒体播放设备的播放控制装置执行,其中该装置可由软件和/或硬件实现,可集成在多媒体播放系统中的多媒体播放设备中。如图1所示,该方法包括:
步骤101、建立与第一控制终端的第一通信连接。
步骤102、建立与第二控制终端的第二通信连接。
其中,第二通信连接与第一通信连接不相同。
示例性的,第一通信连接或第二通信连接具体可以为无线保真(Wireless Fidelity,WIFI)通信连接或蓝牙通信连接。由于第二通信连接与第一通信连接不相同,所以,第一通信连接可为WIFI通信连接,而第二通信连接可为蓝牙通信连接;或者,第一通信连接可为蓝牙通信连接,而第二通信连接可为WIFI通信连接。
示例性的,多媒体播放设备具体可用于播放音乐、视频以及图片等多媒体文件。图2为本发明实施例一提供的一种多媒体播放系统中的多媒体播放设备的结构框图。如图2所示,一个多媒体播放设备可包括以下几个主要功能模块:处理器201,播放设备的核心,执行控制程序,与周边各功能模块通信,协调和控制各个功能模块的工作;蓝牙模块202,实现蓝牙通信,使播放设备可以通过蓝牙技术与同样具备蓝牙功能的设备(如作为控制终端的智能手机)建立连接,获取多媒体数据或控制数据,蓝牙模块202可将获取得到的多媒体数据和控制数据传输给处理器201,也可将处理器201传输过来的多媒体数据和控制数据发送给其它蓝牙设备。网络接口203,可以是有线网络接口,也可以是符合802.11规范的无线网络接口,处理器201通过网络接口203可以连接到互联网,获取网络流媒体数据,通过网络接口203,特别是无线网络的形式,多个播放设备可以组成一个无线多媒体播放系统,即私有网络,实现多媒体的同步播放,各个控制终端也可通过无线网络(如WIFI)连接入多媒体播放系统,对多媒体播放系统及系统内的播放设备进行操作控制。音频放大模块204,处理器201将获得的音频数据,经过解码或数字/模拟转换后,发送给音频放大模块204,音频放大模块204主要是将处理器201发送过来的模拟音频信号进行功率放大,以驱动扬声器发声;扬声器205,声音还原部件,其数量可以是一个或多个;储存器206,存储处理器201执行的程序,以及多媒体播放系统的一些配置数据,如网络连接数据、音量信息、分组信息以及播放的多媒体列表等。示例性的,主设备和从设备中均包含上述功能模块,当一个多媒体播放系统中的某个多媒体播放设备通过网络接口203直接与路由器建立有线或无线连接时,被称之为主设备,而该多媒体播放系统中的其他多媒体播放设备被称之为从设备,并与主设备一起通过网络接口203共同组成所述私有网络。本实施例中的多媒体播放设备可以是主设备也可以是从设备。
图3为本发明实施例一提供的一种多媒体播放系统的组网示意图。如图3所示,多媒体播放系统中的主设备301可通过有线或无线的方式与路由器304进行通信,多媒体播放系统中的从设备302和主设备301通过WIFI组建私有网络(如图中圆圈内所示),控制终端303可通过WIFI连接路由器304,从而与多媒体播放系统进行通信并对其中的播放设备进行控制。
示例性的,第一控制终端或第二控制终端具体可为智能手机、平板电脑以及笔记本电 脑等移动终端,可通过WIFI与多媒体播放系统的私有网络建立连接。例如,通过WIFI与多媒体播放系统中的主设备所连接的路由器进行连接,并可访问和控制多媒体播放系统私有网络中的播放设备;也可通过蓝牙与多媒体播放系统中的某个多媒体播放设备建立连接。
步骤103、当接收到第二控制终端发送的待播放多媒体数据和播放控制信息时,比较第一通信连接和第二通信连接的优先级,并根据比较结果和播放控制信息确定是否播放待播放多媒体数据对应的待播放多媒体文件。
示例性的,可预先在播放设备中设置不同通信连接的优先级,具体可由系统默认设置,也可由用户根据个人习惯自主设置。优选的,蓝牙通信连接的优先级高于无线保真通信连接的优先级。
示例性的,所述待播放多媒体数据具体可为控制终端中存储的音频数据和视频数据等多媒体文件数据,也可为多媒体文件名称、存放多媒体文件的网络服务器以及网址等多媒体文件信息。播放设备可直接播放多媒体文件数据对应的多媒体文件,也可根据多媒体文件信息到网络服务器或者互联网上获取相应的多媒体资源并进行播放。所述播放控制信息可包括播放指令、音量等播放控制参数以及播放模式(如单独播放还是播放组播放)等信息。
示例性的,当比较结果为第二通信连接的优先级高于第一通信连接的优先级时,可控制播放设备播放待播放多媒体数据对应的待播放多媒体文件。
进一步的,本步骤具体可包括:判断播放设备当前是否处于播放状态;若播放设备当前处于播放状态,则比较第一通信连接和第二通信连接的优先级,并根据比较结果和播放控制信息确定是否切换至播放所述待播放多媒体数据对应的待播放多媒体文件;若播放设备当前未处于播放状态,直接根据播放控制信息播放待播放多媒体数据对应的待播放多媒体文件。这样做的好处在于:在接收到第二控制终端发送的待播放多媒体数据和播放控制信息时,若播放设备当前未处于播放状态,即处于空闲状态,则不需要对两种通信连接的优先级进行判断而直接进行播放,可缩短播放设备的播放响应时间,进一步提升用户体验。
本发明实施例一提供的多媒体播放系统中的多媒体播放设备的播放控制方法,在多媒体播放设备与第一控制终端建立第一通信连接后,又与第二控制终端建立了不同于第一通信连接的第二通信连接,当接收到第二控制终端发送的待播放多媒体数据和播放控制信息时,比较第一通信连接和第二通信连接的优先级,并根据比较结果和播放控制信息确定是否播放待播放多媒体数据对应的待播放多媒体文件。通过采用上述技术方案,当不同控制终端同时对多媒体播放系统中的播放设备进行播放控制时,多媒体播放设备能够自行处理控制冲突,可避免因播放控制发生冲突而导致的系统出错,从而解决用户烦恼,提升了用户体验。
在上述实施例的基础上,在建立与第二控制终端的第二通信连接之后,还可包括:当检测到播放设备处于播放状态时,停止播放。也就是说,在与第二控制终端建立第二通信连接后,如果播放设备当前正处于播放状态,可立即停止播放,等待第二控制终端发送待播放多媒体数据和播放控制信息;也可先不停止播放,而等接收到第二控制终端发送待播放多媒体数据和播放控制信息之后再停止播放。
实施例二
图4为本发明实施例二提供的一种多媒体播放系统中的多媒体播放设备的播放控制方法的流程示意图,本实施例以上述实施例为基础进行优化,在本实施例中,将步骤“比较第一通信连接和第二通信连接的优先级,并根据比较结果和播放控制信息确定是否播放待播放多媒体数据对应的待播放多媒体文件”,优化为:当判断播放设备当前处于播放组内同步播放状态时,比较第一通信连接和第二通信连接的优先级;当比较结果为第二通信连接的优先级高于第一通信连接的优先级时,根据播放控制信息切换至播放待播放多媒体数据对应的待播放多媒体文件。
相应的,本实施例的方法包括如下步骤:
步骤401、建立与第一控制终端的第一通信连接。
步骤402、建立与第二控制终端的第二通信连接。
步骤403、接收第二控制终端发送的待播放多媒体数据和播放控制信息。
步骤404、当判断播放设备当前处于播放组内同步播放状态时,比较所述第一通信连接和所述第二通信连接的优先级。
示例性的,多媒体播放系统内的多个多媒体播放设备可单独播放多媒体文件,也可同步播放多媒体文件。多个多媒体播放设备还可被划分为多个播放组,实现每个播放组分别播放不同的多媒体文件。例如,一个播放组内包括播放设备A、播放设备B和播放设备C,控制终端a通过WIFI连接到多媒体播放系统,并控制该播放组中的播放设备A、播放设备B和播放设备C同步播放歌曲E。在歌曲E的播放过程中,控制终端b通过蓝牙与播放设备A建立通信连接,并向播放设备A发送歌曲F的音频数据以及相应的播放控制信息,则对蓝牙连接和WIFI连接的优先级进行比较。
步骤404、当比较结果为第二通信连接的优先级高于第一通信连接的优先级时,根据播放控制信息切换至播放待播放多媒体数据对应的待播放多媒体文件。
示例性的,如步骤403中的举例,若蓝牙连接的优先级高于WIFI连接的优先级时,则播放设备A根据播放控制信息切换至播放歌曲F;若蓝牙连接的优先级低于WIFI连接的优先级时,则播放设备A继续与播放设备B和播放设备C一起同步播放歌曲E。
进一步的,在执行完本步骤之后,还可向播放组内其余播放设备发送离组消息,以使播放组内其余播放设备根据离组消息继续同步播放原多媒体文件。示例性的,离组消息中包含原多媒体文件对应的原多媒体数据来源,播放组内其余播放设备根据离组信息中的原多媒体文件对应的原多媒体数据来源,继续获取原多媒体文件对应的原多媒体数据,并同步播放原多媒体文件。例如,如上述举例,播放设备A根据播放控制信息切换至播放歌曲F之后,可向播放设备B和播放设备C发送离组消息,告知它们播放设备A将脱离该播放组,播放设备B和播放设备C将根据离组消息继续同步播放歌曲E。如果之前的播放组在同步播放歌曲E时,歌曲E对应的多媒体数据是由播放设备A进行获取并通过私有网络发送给播放设备B和播放设备C时,离组消息中还可包括歌曲E对应的音频数据的来源,使播放设备B和播放设备C根据歌曲E对应的音频数据的来源继续获取歌曲E对应的音频数据,并同步播放歌曲E。当然,如果网络足够畅通的话,也可使播放设备A在播放歌曲F的同时继续通过私有网络向播放设备B和播放设备C发送歌曲E对应的音频数据。
进一步的,在执行完步骤404之后,还可包括:当检测到与第二控制设备断开第二通信连接时,重新加入播放组,并与播放组内其余播放设备同步播放其余播放设备当前播放的多媒体文件。如上述举例,当播放设备A脱离播放组后,如果检测到播放设备A与控制设备b断开蓝牙连接,则播放设备A可重新加入播放组,如果播放设备B和播放设备C当前正在同步播放歌曲G,则播放设备A与播放设备B和播放设备C同步播放歌曲G。
本发明实施例二在实施例一的基础上,对处于播放组内的播放设备的播放控制方法进行优化,在进行多媒体文件的切换播放过程中,不会对播放组内其他的播放设备造成影响,进一步提升用户体验。
实施例三
图5为本发明实施例三提供的一种音乐播放系统中的音乐播放设备的播放控制方法的流程示意图,本发明实施例在上述实施例的基础上进行优化,并以音乐播放系统为例进行进一步的说明。在本实施例中,蓝牙通信连接的优先级高于WIFI通信连接的优先级。如图5所示,该方法包括:
步骤501、音乐播放设备建立与第一控制终端的WIFI通信连接。
步骤502、音乐播放设备建立与第二控制终端的蓝牙通信连接。
步骤503、判断音乐播放设备当前是否处于播放状态,若是,则执行步骤504;否则执行步骤505。
步骤504、继续播放当前音乐,并检测是否接收到第二控制终端发送的待播放音频数据和播放控制信息,若是,则执行步骤506;否则,继续执行步骤504。
步骤505、检测是否接收到第二控制终端发送的待播放音频数据和播放控制信息,若是,则执行步骤508;否则,继续执行步骤505。
步骤506、判断音乐播放设备当前是否为处于播放组内同步播放,若是,则执行步骤507;否则,执行步骤508。
步骤507、根据播放控制信息切换至播放待播放音频数据对应的待播放音乐文件,并向播放组内其余音乐播放设备发送离组消息,以使播放组内其余音乐播放设备根据离组消息继续同步播放原音乐文件,执行步骤509。
步骤508、根据播放控制信息切换至播放待播放音频数据对应的待播放音乐文件,结束流程。
示例性的,如果第二控制终端发送的播放控制信息中包含了播放组播放的控制信息,则可由该音乐播放设备继续转发接收到的待播放音频数据和播放控制信息到播放组内的其他音乐播放设备。
步骤509、检测是否与第二控制设备断开通信连接,若是,则执行步骤510;否则继续执行步骤509。
步骤510、重新加入播放组,并与播放组内其余音乐播放设备同步播放其余播放设备当前播放的音乐文件,结束流程。
步骤511、根据播放控制信息播放待播放音频数据对应的待播放音乐文件,结束流程。
示例性的,如果第二控制终端发送的播放控制信息中包含了播放组播放的控制信息,则可由该音乐播放设备继续转发接收到的待播放音频数据和播放控制信息到播放组内的其他音乐播放设备。
本发明实施例三提供的一种音乐播放系统中的音乐播放设备的播放控制方法,当使用不同控制终端同时对音乐播放系统中的播放设备进行播放控制时,音乐播放设备能够自行合理地处理控制冲突,可避免因播放控制发生冲突而导致的系统出错,且当处于播放组内的音乐播放设备进行音乐文件的切换播放过程中,不会对播放组内其他的音乐播放设备造成影响,可而解决用户烦恼,提升用户体验。
实施例四
图6为本发明实施例四提供的一种多媒体播放系统中的多媒体播放设备的播放控制装置的结构框图,该装置可由软件和/或硬件实现,可集成在多媒体播放系统中的多媒体播放设备中。如图6所示,该装置包括第一通信连接建立模块601、第二通信连接建立模块602和播放控制模块603。
其中,第一通信连接建立模块601,用于建立与第一控制终端的第一通信连接;第二 通信连接建立模块602,用于建立与第二控制终端的第二通信连接,所述第二通信连接与所述第一通信连接不相同;播放控制模块603,用于当接收到所述第二控制终端发送的待播放多媒体数据和播放控制信息时,比较所述第一通信连接和所述第二通信连接的优先级,并根据比较结果和所述播放控制信息确定是否播放所述待播放多媒体数据对应的待播放多媒体文件。
在上述实施例的基础上,所述播放控制模块可包括状态判断单元和第一播放控制单元。其中,状态判断单元,用于判断播放设备当前是否处于播放状态;第一播放控制单元,用于当所述状态判断单元判断所述播放设备当前处于播放状态时,比较所述第一通信连接和所述第二通信连接的优先级,并根据比较结果和所述播放控制信息确定是否切换至播放所述待播放多媒体数据对应的待播放多媒体文件;当所述状态判断单元判断所述播放设备当前未处于播放状态时,直接根据所述播放控制信息播放所述待播放多媒体数据对应的待播放多媒体文件。
在上述实施例的基础上,所述播放控制模块可包括比较单元和第二播放控制单元。其中,比较单元,用于当判断播放设备当前处于播放组内同步播放状态时,比较所述第一通信连接和所述第二通信连接的优先级;第二播放控制单元,用于所述比较单元得出的比较结果为所述第二通信连接的优先级高于所述第一通信连接的优先级时,根据所述播放控制信息切换至播放所述待播放多媒体数据对应的待播放多媒体文件。
在上述实施例的基础上,该装置还可包括离组消息发送模块,用于在根据所述播放控制信息切换至播放所述待播放多媒体数据对应的待播放多媒体文件之后,向所述播放组内其余播放设备发送离组消息,以使所述播放组内其余播放设备根据所述离组消息继续同步播放原多媒体文件。
在上述实施例的基础上,所述离组消息中可包含所述原多媒体文件对应的原多媒体数据来源;所述离组消息发送模块具体可用于:在根据所述播放控制信息切换至播放所述待播放多媒体数据对应的待播放多媒体文件之后,向所述播放组内其余播放设备发送离组消息,以使所述播放组内其余播放设备根据所述离组信息中的所述原多媒体文件对应的原多媒体数据来源,继续获取所述原多媒体文件对应的原多媒体数据,并同步播放所述原多媒体文件。
在上述实施例的基础上,所述播放控制模块还可用于:在向所述播放组内剩余播放设备发送离组消息,以使所述播放组内剩余播放设备根据所述离组消息继续同步播放原多媒体文件之后,当检测到与所述第二控制设备断开所述第二通信连接时,重新加入所述播放组,并与所述播放组内其余播放设备同步播放所述其余播放设备当前播放的多媒体文件。
在上述实施例的基础上,所述播放控制模块还可用于:在建立与第二控制终端的第二 通信连接之后,当检测到播放设备处于播放状态时,停止播放。
在上述实施例的基础上,所述第一通信连接为无线保真通信连接,所述第二通信连接为蓝牙通信连接;或者,所述第一通信连接为蓝牙通信连接,所述第二通信连接为无线保真通信连接。其中,所述蓝牙通信连接的优先级高于所述无线保真通信连接的优先级。
上述产品可执行本发明任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的方法。
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。

Claims (16)

  1. 一种多媒体播放系统中的多媒体播放设备的播放控制方法,其特征在于,包括:
    建立与第一控制终端的第一通信连接;
    建立与第二控制终端的第二通信连接,所述第二通信连接与所述第一通信连接不相同;
    当接收到所述第二控制终端发送的待播放多媒体数据和播放控制信息时,比较所述第一通信连接和所述第二通信连接的优先级,并根据比较结果和所述播放控制信息确定是否播放所述待播放多媒体数据对应的待播放多媒体文件。
  2. 根据权利要求1所述的方法,其特征在于,比较所述第一通信连接和所述第二通信连接的优先级,并根据比较结果和所述播放控制信息确定是否播放所述待播放多媒体数据对应的待播放多媒体文件,包括:
    判断播放设备当前是否处于播放状态;
    若所述播放设备当前处于播放状态,则比较所述第一通信连接和所述第二通信连接的优先级,并根据比较结果和所述播放控制信息确定是否切换至播放所述待播放多媒体数据对应的待播放多媒体文件;
    若所述播放设备当前未处于播放状态,直接根据所述播放控制信息播放所述待播放多媒体数据对应的待播放多媒体文件。
  3. 根据权利要求1所述的方法,其特征在于,比较所述第一通信连接和所述第二通信连接的优先级,并根据比较结果和所述播放控制信息确定是否播放所述待播放多媒体数据对应的待播放多媒体文件,包括:
    当判断播放设备当前处于播放组内同步播放状态时,比较所述第一通信连接和所述第二通信连接的优先级;
    当比较结果为所述第二通信连接的优先级高于所述第一通信连接的优先级时,根据所述播放控制信息切换至播放所述待播放多媒体数据对应的待播放多媒体文件。
  4. 根据权利要求3所述的方法,其特征在于,在根据所述播放控制信息切换至播放所述待播放多媒体数据对应的待播放多媒体文件之后,还包括:
    向所述播放组内其余播放设备发送离组消息,以使所述播放组内其余播放设备根据所述离组消息继续同步播放原多媒体文件。
  5. 根据权利要求4所述的方法,其特征在于,所述离组消息中包含所述原多媒体文件对应的原多媒体数据来源;
    向所述播放组内其余播放设备发送离组消息,以使所述播放组内其余播放设备根据所述离组信息继续同步播放原多媒体文件,包括:
    向所述播放组内其余播放设备发送离组消息,以使所述播放组内其余播放设备根据所述离组信息中的所述原多媒体文件对应的原多媒体数据来源,继续获取所述原多媒体文件对应的原多媒体数据,并同步播放所述原多媒体文件。
  6. 根据权利要求4所述的方法,其特征在于,在向所述播放组内剩余播放设备发送离组消息,以使所述播放组内剩余播放设备根据所述离组消息继续同步播放原多媒体文件之后,还包括:
    当检测到与所述第二控制设备断开所述第二通信连接时,重新加入所述播放组,并与所述播放组内其余播放设备同步播放所述其余播放设备当前播放的多媒体文件。
  7. 根据权利要求1所述的方法,其特征在于,在建立与第二控制终端的第二通信连接之后,还包括:
    当检测到播放设备处于播放状态时,停止播放。
  8. 根据权利要求1-7中任一所述的方法,其特征在于,所述第一通信连接为无线保真通信连接,所述第二通信连接为蓝牙通信连接;或者,
    所述第一通信连接为蓝牙通信连接,所述第二通信连接为无线保真通信连接;
    其中,所述蓝牙通信连接的优先级高于所述无线保真通信连接的优先级。
  9. 一种多媒体播放系统中的多媒体播放设备的播放控制装置,其特征在于,包括:
    第一通信连接建立模块,用于建立与第一控制终端的第一通信连接;
    第二通信连接建立模块,用于建立与第二控制终端的第二通信连接,所述第二通信连接与所述第一通信连接不相同;
    播放控制模块,用于当接收到所述第二控制终端发送的待播放多媒体数据和播放控制信息时,比较所述第一通信连接和所述第二通信连接的优先级,并根据比较结果和所述播放控制信息确定是否播放所述待播放多媒体数据对应的待播放多媒体文件。
  10. 根据权利要求9所述的装置,其特征在于,所述播放控制模块包括:
    状态判断单元,用于判断播放设备当前是否处于播放状态;
    第一播放控制单元,用于当所述状态判断单元判断所述播放设备当前处于播放状态时,比较所述第一通信连接和所述第二通信连接的优先级,并根据比较结果和所述播放控制信息确定是否切换至播放所述待播放多媒体数据对应的待播放多媒体文件;当所述状态判断单元判断所述播放设备当前未处于播放状态时,直接根据所述播放控制信息播放所述待播放多媒体数据对应的待播放多媒体文件。
  11. 根据权利要求9所述的装置,其特征在于,所述播放控制模块包括:
    比较单元,用于当判断播放设备当前处于播放组内同步播放状态时,比较所述第一通信连接和所述第二通信连接的优先级;
    第二播放控制单元,用于所述比较单元得出的比较结果为所述第二通信连接的优先级高于所述第一通信连接的优先级时,根据所述播放控制信息切换至播放所述待播放多媒体数据对应的待播放多媒体文件。
  12. 根据权利要求11所述的装置,其特征在于,还包括:
    离组消息发送模块,用于在根据所述播放控制信息切换至播放所述待播放多媒体数据对应的待播放多媒体文件之后,向所述播放组内其余播放设备发送离组消息,以使所述播放组内其余播放设备根据所述离组消息继续同步播放原多媒体文件。
  13. 根据权利要求12所述的装置,其特征在于,所述离组消息中包含所述原多媒体文件对应的原多媒体数据来源;
    所述离组消息发送模块,具体用于:
    在根据所述播放控制信息切换至播放所述待播放多媒体数据对应的待播放多媒体文件之后,向所述播放组内其余播放设备发送离组消息,以使所述播放组内其余播放设备根据所述离组信息中的所述原多媒体文件对应的原多媒体数据来源,继续获取所述原多媒体文件对应的原多媒体数据,并同步播放所述原多媒体文件。
  14. 根据权利要求12所述的装置,其特征在于,所述播放控制模块还用于:
    在向所述播放组内剩余播放设备发送离组消息,以使所述播放组内剩余播放设备根据所述离组消息继续同步播放原多媒体文件之后,当检测到与所述第二控制设备断开所述第二通信连接时,重新加入所述播放组,并与所述播放组内其余播放设备同步播放所述其余播放设备当前播放的多媒体文件。
  15. 根据权利要求9所述的装置,其特征在于,所述播放控制模块还用于:在建立与第二控制终端的第二通信连接之后,当检测到播放设备处于播放状态时,停止播放。
  16. 根据权利要求9-15中任一所述的装置,其特征在于,所述第一通信连接为无线保真通信连接,所述第二通信连接为蓝牙通信连接;或者,
    所述第一通信连接为蓝牙通信连接,所述第二通信连接为无线保真通信连接;
    其中,所述蓝牙通信连接的优先级高于所述无线保真通信连接的优先级。
PCT/CN2015/096864 2015-08-25 2015-12-09 一种多媒体播放设备的播放控制方法及装置 WO2017031864A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510526957.4 2015-08-25
CN201510526957.4A CN105072482B (zh) 2015-08-25 2015-08-25 一种多媒体播放设备的播放控制方法及装置

Publications (1)

Publication Number Publication Date
WO2017031864A1 true WO2017031864A1 (zh) 2017-03-02

Family

ID=54501742

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096864 WO2017031864A1 (zh) 2015-08-25 2015-12-09 一种多媒体播放设备的播放控制方法及装置

Country Status (2)

Country Link
CN (1) CN105072482B (zh)
WO (1) WO2017031864A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590079A (zh) * 2021-08-05 2021-11-02 广州飞傲电子科技有限公司 一种音乐播放控制方法、装置和计算机可读存储介质
CN113905085A (zh) * 2021-09-30 2022-01-07 联想(北京)有限公司 一种控制方法、装置及电子设备
CN116321089A (zh) * 2023-02-28 2023-06-23 荣耀终端有限公司 基于蓝牙播放音频时的调整方法、设备以及存储介质

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072482B (zh) * 2015-08-25 2018-01-26 广东欧珀移动通信有限公司 一种多媒体播放设备的播放控制方法及装置
CN105430459B (zh) * 2015-11-16 2019-09-06 深圳Tcl数字技术有限公司 音频数据播放方法、装置及智能电视机
CN105703806B (zh) * 2016-03-22 2018-01-19 广东欧珀移动通信有限公司 播放设备的蓝牙模块控制方法、装置及音视频播放系统
CN105828133B (zh) * 2016-03-22 2019-07-02 Oppo广东移动通信有限公司 一种音视频播放系统中的播放控制方法及装置
CN105845156A (zh) * 2016-03-22 2016-08-10 广东欧珀移动通信有限公司 音乐播放系统的控制方法、装置及系统
CN105744288B (zh) * 2016-03-22 2019-02-19 Oppo广东移动通信有限公司 一种音视频播放系统中的播放控制方法及装置
CN105828134B (zh) * 2016-03-22 2019-07-02 Oppo广东移动通信有限公司 一种音视频播放系统中的播放控制方法及装置
CN105915973B (zh) * 2016-04-18 2019-10-15 深圳Tcl数字技术有限公司 智能电视机及其动态连接从设备的系统与方法
CN106331821B (zh) * 2016-08-23 2020-01-14 Oppo广东移动通信有限公司 音视频播放系统中的数据同步方法和装置
CN107146609B (zh) * 2017-04-10 2020-05-15 北京猎户星空科技有限公司 一种播放资源的切换方法、装置及智能设备
CN107277132B (zh) * 2017-06-15 2021-07-06 深圳Tcl新技术有限公司 Dlna推送处理方法、多媒体接收端及存储介质
CN107943447A (zh) * 2017-10-16 2018-04-20 深圳市艾特智能科技有限公司 音乐播放方法、系统、可读存储介质及智能终端设备
JP7289617B2 (ja) * 2018-07-31 2023-06-12 キヤノン株式会社 通信装置、制御方法、およびプログラム
CN110166899A (zh) * 2019-06-06 2019-08-23 惠州市璧玉音响有限公司 一种高保真5.1声道无线音响系统
CN113037929B (zh) * 2019-12-24 2022-04-15 腾讯科技(深圳)有限公司 一种信息接力输出方法、装置、电子设备及存储介质
CN112162838B (zh) * 2020-09-25 2023-06-20 维沃移动通信有限公司 多媒体文件播放方法、装置和电子设备
CN114584822B (zh) * 2022-03-03 2023-09-15 北京字跳网络技术有限公司 一种同步播放方法、装置、终端设备和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090158222A1 (en) * 2007-12-14 2009-06-18 Apple Inc. Interactive and dynamic screen saver for use in a media system
CN102981758A (zh) * 2012-11-05 2013-03-20 福州瑞芯微电子有限公司 电子设备之间的连接方法
CN104581999A (zh) * 2014-12-11 2015-04-29 惠州Tcl移动通信有限公司 一种连接策略选择方法及其终端
CN104575539A (zh) * 2014-12-29 2015-04-29 广东欧珀移动通信有限公司 一种音乐播放控制方法及装置
CN104796500A (zh) * 2015-03-20 2015-07-22 广东欧珀移动通信有限公司 一种终端与智能化设备的连接方法及装置
CN105072482A (zh) * 2015-08-25 2015-11-18 广东欧珀移动通信有限公司 一种多媒体播放设备的播放控制方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951368A (zh) * 2010-09-10 2011-01-19 深圳市同洲电子股份有限公司 基于子网络的服务权限控制方法、终端及系统
WO2012054872A2 (en) * 2010-10-22 2012-04-26 Phorus Llc Media distribution architecture
EP2579608B1 (en) * 2011-10-07 2019-06-19 Nokia Solutions and Networks Oy Conflict processing accessing a personal TV functionality by a plurality of users
CN104780415B (zh) * 2015-03-27 2018-09-04 广州酷酷软件科技有限公司 多媒体文件播放方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090158222A1 (en) * 2007-12-14 2009-06-18 Apple Inc. Interactive and dynamic screen saver for use in a media system
CN102981758A (zh) * 2012-11-05 2013-03-20 福州瑞芯微电子有限公司 电子设备之间的连接方法
CN104581999A (zh) * 2014-12-11 2015-04-29 惠州Tcl移动通信有限公司 一种连接策略选择方法及其终端
CN104575539A (zh) * 2014-12-29 2015-04-29 广东欧珀移动通信有限公司 一种音乐播放控制方法及装置
CN104796500A (zh) * 2015-03-20 2015-07-22 广东欧珀移动通信有限公司 一种终端与智能化设备的连接方法及装置
CN105072482A (zh) * 2015-08-25 2015-11-18 广东欧珀移动通信有限公司 一种多媒体播放设备的播放控制方法及装置

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590079A (zh) * 2021-08-05 2021-11-02 广州飞傲电子科技有限公司 一种音乐播放控制方法、装置和计算机可读存储介质
CN113590079B (zh) * 2021-08-05 2024-03-22 广州飞傲电子科技有限公司 一种音乐播放控制方法、装置和计算机可读存储介质
CN113905085A (zh) * 2021-09-30 2022-01-07 联想(北京)有限公司 一种控制方法、装置及电子设备
CN113905085B (zh) * 2021-09-30 2024-02-27 联想(北京)有限公司 一种控制方法、装置及电子设备
CN116321089A (zh) * 2023-02-28 2023-06-23 荣耀终端有限公司 基于蓝牙播放音频时的调整方法、设备以及存储介质
CN116321089B (zh) * 2023-02-28 2023-11-21 荣耀终端有限公司 基于蓝牙播放音频时的调整方法、设备以及存储介质

Also Published As

Publication number Publication date
CN105072482A (zh) 2015-11-18
CN105072482B (zh) 2018-01-26

Similar Documents

Publication Publication Date Title
WO2017031864A1 (zh) 一种多媒体播放设备的播放控制方法及装置
US11212808B2 (en) Coordinated control of media playback
US8799495B2 (en) Multiple devices multimedia control
US9904508B1 (en) Method for changing type of streamed content for an audio system
USRE48946E1 (en) Systems and methods for providing a media playback in a networked environment
EP3169086B1 (en) Connection method for multimedia playing device, master device, control terminal, and system
US8141115B2 (en) Systems and methods for multiple media coordination
US10694307B2 (en) Dynamically changing master audio playback device
WO2017035968A1 (zh) 一种多播放设备的音频播放方法及装置
JP2016523485A (ja) アンプのインテリジェントなアクティブ化
CN105262911B (zh) 语音通话中系统电话的处理方法、系统和装置
US11271770B2 (en) Information processing method, information processing apparatus, and information processing system
KR20180046766A (ko) 컨텐츠 출력 장치 및 그 제어 방법
EP3298698B1 (en) Transferring playback of media content between mobile device and vehicle
WO2016000528A1 (zh) 一种音频输出方法及设备
JP2019525235A (ja) 同期オーディオ再生装置
US10013232B2 (en) Wireless speaker connection management
JP2017041756A (ja) オーディオシステムおよびオーディオ機器
CN111049709B (zh) 一种基于蓝牙的互联音箱控制方法、设备及存储介质
CN106506646B (zh) 播放设备的控制方法、装置、移动终端及播放系统
JP2014131143A (ja) 送信装置、送信方法、及びプログラム
JP5571807B2 (ja) 電子機器、音声出力機器、通信システムおよび電子機器の通信制御方法
WO2024119947A1 (zh) 蓝牙通信方法、装置、电子设备及计算机可读介质
US20210084089A1 (en) Audio streaming from host bluetooth device to multiple receiving bluetooth devices
CN114885261A (zh) 耳机组件、无线音频播放系统及其通信方法

Legal Events

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

Ref document number: 15902133

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15902133

Country of ref document: EP

Kind code of ref document: A1