CN106303616B - Play control method, device and terminal - Google Patents
Play control method, device and terminal Download PDFInfo
- Publication number
- CN106303616B CN106303616B CN201610676589.6A CN201610676589A CN106303616B CN 106303616 B CN106303616 B CN 106303616B CN 201610676589 A CN201610676589 A CN 201610676589A CN 106303616 B CN106303616 B CN 106303616B
- Authority
- CN
- China
- Prior art keywords
- playback device
- playback
- playlist
- storage address
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26258—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1069—Session establishment or de-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/637—Control signals issued by the client directed to the server or network components
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明涉及终端技术领域,具体涉及一种播放控制方法、装置及终端。The present invention relates to the technical field of terminals, and in particular, to a playback control method, device and terminal.
背景技术Background technique
随着终端技术的发展,通过终端控制影音播放设备播放多媒体(例如,音乐、视频)以进行娱乐体验,已经成为越来越多用户的选择。With the development of terminal technology, it has become the choice of more and more users to play multimedia (eg, music, video) through a terminal to control an audio and video playback device for entertainment experience.
当前,通过终端控制播放设备播放多媒体时,在播放设备中创建有播放列表,用来存储待播放的多媒体信息。终端可以控制播放设备播放多媒体、暂停播放多媒体,还可以对存储在播放设备的播放列表中的多媒体信息进行增加、删除、调整顺序等修改操作。Currently, when a terminal controls a playback device to play multimedia, a playlist is created in the playback device to store multimedia information to be played. The terminal can control the playback device to play the multimedia, pause the playback of the multimedia, and can also perform modification operations such as adding, deleting, and adjusting the order of the multimedia information stored in the playlist of the playback device.
然而,现有技术中,终端对存储在播放设备的播放列表中的多媒体信息进行修改时,需要先从播放设备获取播放列表,然后对播放列表进行修改,随后将修改后的播放列表发送给播放设备,最后播放设备将存储在播放设备中的播放列表更新为修改后的播放列表。这种控制方式中,终端与播放设备之间通信频繁、通信数据量大,使得控制效率低。However, in the prior art, when the terminal modifies the multimedia information stored in the playlist of the playback device, it needs to obtain the playlist from the playback device first, then modify the playlist, and then send the modified playlist to the player. device, and finally the playback device updates the playlist stored in the playback device to the modified playlist. In this control mode, frequent communication between the terminal and the playback device and a large amount of communication data make the control efficiency low.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种播放控制方法、装置及终端,可以解决现有技术中播放控制方法控制效率低的技术问题。Embodiments of the present invention provide a playback control method, device and terminal, which can solve the technical problem of low control efficiency of the playback control method in the prior art.
本发明实施例提供一种播放控制方法,包括:An embodiment of the present invention provides a playback control method, including:
创建播放列表,所述播放列表用于存储待播放的多媒体信息;Create a playlist, the playlist is used to store multimedia information to be played;
向播放设备发送播放请求;Send a playback request to the playback device;
接收所述播放设备发送的获取请求,所述获取请求指示获取所述播放列表中存储的多媒体信息;receiving an acquisition request sent by the playback device, where the acquisition request indicates acquiring multimedia information stored in the playlist;
根据所述获取请求向所述播放设备发送所述多媒体信息。Send the multimedia information to the playback device according to the acquisition request.
相应的,本发明实施例还提供一种播放控制装置,包括:Correspondingly, an embodiment of the present invention also provides a playback control device, including:
创建模块,用于创建播放列表,所述播放列表用于存储待播放的多媒体信息;A creation module is used to create a playlist, and the playlist is used to store multimedia information to be played;
请求模块,用于向播放设备发送播放请求;A request module, used to send a playback request to the playback device;
接收模块,用于接收所述播放设备发送的获取请求,所述获取请求指示获取所述播放列表中存储的多媒体信息;a receiving module, configured to receive an acquisition request sent by the playback device, where the acquisition request indicates acquiring the multimedia information stored in the playlist;
发送模块,用于根据所述获取请求向所述播放设备发送所述多媒体信息。A sending module, configured to send the multimedia information to the playback device according to the acquisition request.
相应的,本发明实施例还提供一种终端,包括上述播放控制装置。Correspondingly, an embodiment of the present invention further provides a terminal, including the above-mentioned playback control apparatus.
本发明实施例采用创建播放列表,该播放列表用于存储待播放的多媒体信息;向播放设备发送播放请求;接收该播放设备发送的获取请求,该获取请求指示获取该播放列表中存储的多媒体信息;根据该获取请求向该播放设备发送该多媒体信息。该方案在向播放设备发送播放请求后,接收播放设备发送的获取请求,根据该获取请求向该播放设备发送多媒体信息。终端只将播放设备需要的信息发送给播放设备,使得终端与播放设备之间的通信数据量小,与现有技术相比,提高了播放控制的控制效率。The embodiment of the present invention adopts creating a playlist, the playlist is used to store the multimedia information to be played; sending a play request to the playing device; ; Send the multimedia information to the playback device according to the acquisition request. In this solution, after sending a playback request to a playback device, an acquisition request sent by the playback device is received, and multimedia information is sent to the playback device according to the acquisition request. The terminal only sends the information required by the playback device to the playback device, so that the amount of communication data between the terminal and the playback device is small, and compared with the prior art, the control efficiency of playback control is improved.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本发明实施例一提供的播放控制方法的流程示意图。FIG. 1 is a schematic flowchart of a playback control method provided by Embodiment 1 of the present invention.
图2是本发明实施例二提供的播放控制方法的流程示意图。FIG. 2 is a schematic flowchart of a playback control method provided by Embodiment 2 of the present invention.
图3是本发明实施例三提供的第一种播放控制装置的结构示意图。FIG. 3 is a schematic structural diagram of a first playback control apparatus provided in Embodiment 3 of the present invention.
图4是本发明实施例三提供的第二种播放控制装置的结构示意图。FIG. 4 is a schematic structural diagram of a second playback control apparatus provided in Embodiment 3 of the present invention.
图5是本发明实施例三提供的第三种播放控制装置的结构示意图。FIG. 5 is a schematic structural diagram of a third playback control apparatus provided in Embodiment 3 of the present invention.
图6是本发明实施例四提供的第一种终端的结构示意图。FIG. 6 is a schematic structural diagram of a first terminal according to Embodiment 4 of the present invention.
图7是本发明实施例四提供的第二种终端的结构示意图。FIG. 7 is a schematic structural diagram of a second terminal according to Embodiment 4 of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.
本发明的说明书和权利要求书以及上述附图中的术语“第一”、“第二”、“第三”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应当理解,这样描述的对象在适当情况下可以互换。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。例如,包含了一系列步骤的过程、方法或包含了一系列模块或单元的装置、终端、系统不必限于清楚地列出的那些步骤或模块或单元,还可以包括没有清楚地列出的步骤或模块或单元,也可以包括对于这些过程、方法、装置、终端或系统固有的其它步骤或模块或单元。The terms "first", "second", "third", etc. (if present) in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It is to be understood that the objects so described are interchangeable under appropriate circumstances. Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method comprising a series of steps or an apparatus, terminal or system comprising a series of modules or units is not necessarily limited to those steps or modules or units that are clearly listed, and may also include steps that are not clearly listed or Modules or units may also include other steps or modules or units inherent to these processes, methods, apparatuses, terminals or systems.
本发明实施例提供一种播放控制方法、装置及终端,以下将分别进行详细说明。Embodiments of the present invention provide a playback control method, device, and terminal, which will be described in detail below.
实施例一Example 1
本实施例将从播放控制装置的角度进行描述,该装置具体可以集成在终端中,该终端可以是智能手机、平板电脑等设备。This embodiment will be described from the perspective of a playback control apparatus. The apparatus may be specifically integrated in a terminal, and the terminal may be a device such as a smart phone or a tablet computer.
一种播放控制方法,包括:创建播放列表,该播放列表用于存储待播放的多媒体信息;向播放设备发送播放请求;接收该播放设备发送的获取请求,该获取请求指示获取该播放列表中存储的多媒体信息;根据该播放请求向该播放设备发送该多媒体信息。A playback control method, comprising: creating a playlist, where the playlist is used to store multimedia information to be played; sending a playback request to a playback device; the multimedia information; send the multimedia information to the playback device according to the playback request.
如图1所示,该播放控制方法,具体流程可以包括:As shown in Figure 1, the playback control method, the specific process may include:
S101,创建播放列表,该播放列表用于存储待播放的多媒体信息。S101. Create a playlist, where the playlist is used to store multimedia information to be played.
具体地,多媒体可以包括歌曲、视频等,多媒体信息可以包括歌曲或视频的名称、存储地址,还可以包括歌曲或视频的长度、文件大小、歌手(或视频演员)等信息。在终端上创建播放列表,该播放列表用于存储待播放的多媒体信息。创建播放列表具体可以包括以下步骤:Specifically, the multimedia may include songs, videos, etc., and the multimedia information may include the name and storage address of the song or video, and may also include information such as the length, file size, singer (or video actor) of the song or video. Create a playlist on the terminal, where the playlist is used to store multimedia information to be played. Creating a playlist can include the following steps:
接收编辑指令,该编辑指令携带待播放的多媒体的名称;receiving an editing instruction, the editing instruction carrying the name of the multimedia to be played;
根据该编辑指令获取该多媒体的存储地址;Obtain the storage address of the multimedia according to the editing instruction;
根据该名称和该存储地址创建播放列表。Create a playlist based on this name and this storage address.
具体地,终端接收用户的操作,根据该操作生成编辑指令,并将该编辑指令发送给播放控制装置。该编辑指令携带待播放的多媒体的名称。具体应用中,用户的操作可以是添加歌曲的操作,用户在添加歌曲时指定歌曲的名称。播放控制装置接收的编辑指令携带该歌曲的名称。随后播放控制装置根据该编辑指令中携带的歌曲名称查找该歌曲的存储地址。该存储地址可以是终端上的存储位置,也可以是其他设备上的存储位置或者网络上的存储位置。编辑指令中也可以携带多媒体的存储地址,则播放控制装置提取该编辑指令中的存储地址。获取到歌曲的存储地址后,根据该歌曲的名称和存储地址创建播放列表,并将该播放列表存储到终端的相应存储区域中。播放列表可以是歌曲的名称与歌曲的存储地址之间的对应关系所形成的列表。Specifically, the terminal receives the user's operation, generates an editing instruction according to the operation, and sends the editing instruction to the playback control device. The editing instruction carries the name of the multimedia to be played. In a specific application, the user's operation may be an operation of adding a song, and the user specifies the name of the song when adding a song. The editing instruction received by the playback control device carries the name of the song. Then, the playback control device searches for the storage address of the song according to the song name carried in the editing instruction. The storage address may be a storage location on the terminal, or a storage location on other devices or a storage location on the network. The editing instruction may also carry the storage address of the multimedia, and the playback control device extracts the storage address in the editing instruction. After the storage address of the song is acquired, a playlist is created according to the name and storage address of the song, and the playlist is stored in the corresponding storage area of the terminal. The playlist may be a list formed by the correspondence between the names of the songs and the storage addresses of the songs.
S102,向播放设备发送播放请求。S102: Send a playback request to a playback device.
具体地,播放设备具有多媒体播放功能。例如,播放设备可以是蓝牙音箱。在终端上创建播放列表后,向播放设备发送播放请求。具体应用中,用户启动终端上的播放控制功能后,终端向播放设备发送播放请求,以控制播放设备播放多媒体。Specifically, the playback device has a multimedia playback function. For example, the playback device may be a Bluetooth speaker. After the playlist is created on the terminal, a playback request is sent to the playback device. In a specific application, after the user activates the playback control function on the terminal, the terminal sends a playback request to the playback device to control the playback device to play multimedia.
向播放设备发送播放请求时,终端与播放设备之间处于可通信状态。因此,在向播放设备发送播放请求之前,播放控制方法还包括以下步骤:When a playback request is sent to the playback device, the terminal and the playback device are in a communicable state. Therefore, before sending a playback request to the playback device, the playback control method further includes the following steps:
搜索可连接的播放设备;Search for connectable playback devices;
与该播放设备建立连接。Establish a connection with the playback device.
具体地,终端可通过多种方式搜索可连接的播放设备。例如,终端可以通过蓝牙模块搜索可通过蓝牙连接的播放设备。终端还可以通过WiFi(无线保真)模块搜索可通过WiFi连接的播放设备。搜索到可连接的播放设备后,与该播放设备建立连接。当搜索到多个可连接的播放设备时,可以自动连接信号最稳定的播放设备,也可以接收用户的选择,与用户选择的播放设备建立连接。与播放设备建立连接可以具体包括以下步骤:Specifically, the terminal can search for connectable playback devices in various ways. For example, the terminal can search for playback devices that can be connected through Bluetooth through the Bluetooth module. The terminal can also search for playback devices that can be connected through WiFi through a WiFi (Wireless Fidelity) module. After searching for a connectable playback device, establish a connection with the playback device. When multiple connectable playback devices are found, it can automatically connect to the playback device with the most stable signal, or receive the user's selection and establish a connection with the playback device selected by the user. Establishing a connection with a playback device may specifically include the following steps:
向该播放设备发送连接请求;Send a connection request to the playback device;
接收该播放设备的响应信息;Receive the response information of the playback device;
根据该响应信息与该播放设备建立连接。Establish a connection with the playback device according to the response information.
具体地,终端搜索到可连接的播放设备后,向该播放设备发送连接请求。连接请求中可以包括终端的网络地址(IP,Internet Protocol)或物理地址(MAC,Medium/MediaAccess Control)。播放设备接收到终端发送的连接请求后,向终端返回一个响应信息。响应信息中可以包括配对信息,该配对信息用于在终端和播放设备之间进行身份验证。终端接收该播放设备返回的响应信息,并根据该响应信息与该播放设备建立连接。建立连接时,终端可以根据该响应信息生成一个验证信息,向播放设备发送该验证信息,以完成与播放设备的连接。该验证信息可以与配对信息相同。Specifically, after searching for a connectable playback device, the terminal sends a connection request to the playback device. The connection request may include a network address (IP, Internet Protocol) or a physical address (MAC, Medium/Media Access Control) of the terminal. After receiving the connection request sent by the terminal, the playback device returns a response message to the terminal. The response information may include pairing information, where the pairing information is used for authentication between the terminal and the playback device. The terminal receives the response information returned by the playback device, and establishes a connection with the playback device according to the response information. When the connection is established, the terminal can generate verification information according to the response information, and send the verification information to the playback device to complete the connection with the playback device. The authentication information may be the same as the pairing information.
S103,接收该播放设备发送的获取请求,该获取请求指示获取该播放列表中存储的多媒体信息。S103: Receive an acquisition request sent by the playback device, where the acquisition request indicates acquiring the multimedia information stored in the playlist.
具体应用中,播放设备接收到终端发送的播放请求后,生成获取请求,并向终端发送该获取请求。终端接收该获取请求。获取请求指示获取播放列表中存储的多媒体信息。例如,获取请求指示获取待播放的歌曲的名称和存储地址。只有在获取到多媒体信息后,播放设备才能开始播放。In a specific application, after receiving the playback request sent by the terminal, the playback device generates an acquisition request, and sends the acquisition request to the terminal. The terminal receives the acquisition request. The acquisition request instructs to acquire the multimedia information stored in the playlist. For example, the acquisition request indicates to acquire the name and storage address of the song to be played. The playback device can start playing only after acquiring the multimedia information.
S104,根据该获取请求向该播放设备发送该多媒体信息。S104: Send the multimedia information to the playback device according to the acquisition request.
具体地,终端接收到播放设备发送的获取请求后,向播放设备发送播放列表中存储的多媒体信息。例如,获取请求指示获取待播放的歌曲的名称和存储地址时,终端向播放设备发送待播放的歌曲的名称和存储地址。Specifically, after receiving the acquisition request sent by the playback device, the terminal sends the multimedia information stored in the playlist to the playback device. For example, when the acquisition request indicates to acquire the name and storage address of the song to be played, the terminal sends the name and storage address of the song to be played to the playback device.
在一个优选的实施方式中,播放设备发送的获取请求指示获取播放列表中存储的第一条多媒体信息。根据该获取请求向该播放设备发送该多媒体信息具体包括以下步骤:In a preferred embodiment, the acquisition request sent by the playback device indicates to acquire the first piece of multimedia information stored in the playlist. Sending the multimedia information to the playback device according to the acquisition request specifically includes the following steps:
根据该获取请求获取该播放列表中存储的第一条多媒体信息;Acquire the first piece of multimedia information stored in the playlist according to the acquisition request;
向该播放设备发送该第一条多媒体信息。Send the first piece of multimedia information to the playback device.
具体地,终端接收到播放设备发送的获取请求后,根据该获取请求获取播放列表中存储的第一条多媒体信息,并向播放设备发送该第一条多媒体信息。优选地,终端向播放设备发送该第一条多媒体信息后,删除播放列表中的该第一条多媒体信息。例如,终端接收到获取请求后,根据该获取请求提取存储在播放列表中的第一首歌曲的名称和存储地址,向播放设备发送该歌曲的名称和存储地址,并删除该歌曲对应的信息。播放设备接收到终端发送的歌曲名称和存储地址后,从该存储地址获取歌曲数据,然后开始播放该歌曲。实际应用中,该存储地址可以是网络服务器上的存储地址。播放设备具有网络功能,即播放设备可以与网络服务器进行通信。播放设备获取到该存储地址后,访问网络服务器,从位于网络服务器的该存储地址获取歌曲数据,然后开始播放。Specifically, after receiving the acquisition request sent by the playback device, the terminal acquires the first piece of multimedia information stored in the playlist according to the acquisition request, and sends the first piece of multimedia information to the playback device. Preferably, after the terminal sends the first piece of multimedia information to the playback device, the terminal deletes the first piece of multimedia information in the playlist. For example, after receiving the acquisition request, the terminal extracts the name and storage address of the first song stored in the playlist according to the acquisition request, sends the name and storage address of the song to the playback device, and deletes the information corresponding to the song. After receiving the song name and storage address sent by the terminal, the playback device obtains song data from the storage address, and then starts to play the song. In practical applications, the storage address may be a storage address on a network server. The playback device has a network function, that is, the playback device can communicate with a network server. After obtaining the storage address, the playback device accesses the network server, obtains song data from the storage address located on the network server, and starts playing.
具体实施时,本发明不受所描述的各个步骤的执行顺序的限制,在不产生冲突的情况下,某些步骤还可以采用其它顺序进行或者同时进行。During specific implementation, the present invention is not limited by the execution order of the described steps, and certain steps can also be performed in other sequences or simultaneously under the condition of no conflict.
由上可知,本发明实施例提供的播放控制方法,采用创建播放列表,该播放列表用于存储待播放的多媒体信息;向播放设备发送播放请求;接收该播放设备发送的获取请求,该获取请求指示获取该播放列表中存储的多媒体信息;根据该获取请求向该播放设备发送该多媒体信息。该方案在向播放设备发送播放请求后,接收播放设备发送的获取请求,根据该获取请求向该播放设备发送多媒体信息。终端只将播放设备需要的信息发送给播放设备,使得终端与播放设备之间的通信数据量小,与现有技术相比,提高了播放控制的控制效率。As can be seen from the above, in the playback control method provided by the embodiment of the present invention, a playlist is created, and the playlist is used to store multimedia information to be played; a playback request is sent to a playback device; and an acquisition request sent by the playback device is received, and the acquisition request Instruct to acquire the multimedia information stored in the playlist; send the multimedia information to the playback device according to the acquisition request. In this solution, after sending a playback request to a playback device, an acquisition request sent by the playback device is received, and multimedia information is sent to the playback device according to the acquisition request. The terminal only sends the information required by the playback device to the playback device, so that the amount of communication data between the terminal and the playback device is small, and compared with the prior art, the control efficiency of playback control is improved.
实施例二Embodiment 2
根据实施例一所描述的播放控制方法,以下将举例作进一步详细说明。According to the playback control method described in the first embodiment, the following examples will be used for further detailed description.
在本实施例中,将以播放控制方法具体集成在智能手机中,以智能手机中的播放控制方法为例进行详细描述。In this embodiment, the playback control method is specifically integrated in the smart phone, and the playback control method in the smart phone is taken as an example for detailed description.
如图2所示,播放控制方法,具体流程可以如下:As shown in Figure 2, the playback control method, the specific process can be as follows:
S201,接收编辑指令,该编辑指令携带待播放的多媒体的名称。S201: Receive an editing instruction, where the editing instruction carries the name of the multimedia to be played.
具体地,智能手机接收用户的操作,根据该操作生成编辑指令,并将该编辑指令发送给集成在智能手机中的播放控制装置。该编辑指令携带待播放的多媒体的名称。具体应用中,用户的操作可以是添加或删除歌曲的操作,用户在添加或删除歌曲时指定歌曲的名称。播放控制装置接收的编辑指令携带该歌曲的名称。Specifically, the smartphone receives the user's operation, generates an editing instruction according to the operation, and sends the editing instruction to the playback control device integrated in the smartphone. The editing instruction carries the name of the multimedia to be played. In a specific application, the user's operation may be an operation of adding or deleting a song, and the user specifies the name of the song when adding or deleting a song. The editing instruction received by the playback control device carries the name of the song.
S202,根据该编辑指令获取该多媒体的存储地址。S202: Acquire the storage address of the multimedia according to the editing instruction.
具体地,智能手机中的播放控制装置接收到编辑指令后,根据该编辑指令中携带的歌曲名称查找该歌曲的存储地址。该存储地址可以是智能手机上的存储位置,也可以是其他设备上的存储位置或者网络上的存储位置。编辑指令中也可以携带待播放的多媒体的存储地址,则播放控制装置提取该编辑指令中的存储地址。Specifically, after receiving the editing instruction, the playback control device in the smart phone searches for the storage address of the song according to the song name carried in the editing instruction. The storage address may be a storage location on a smartphone, a storage location on other devices, or a storage location on a network. The editing instruction may also carry the storage address of the multimedia to be played, and the playback control device extracts the storage address in the editing instruction.
S203,根据该名称和该存储地址创建播放列表,并存储该播放列表。S203, create a playlist according to the name and the storage address, and store the playlist.
具体地,智能手机获取到歌曲的存储地址后,根据该歌曲的名称和存储地址创建播放列表,并将该播放列表存储到智能手机的内置存储区域或外置存储区域中。播放列表可以是歌曲的名称与歌曲的存储地址之间的对应关系所形成的列表。Specifically, after acquiring the storage address of the song, the smartphone creates a playlist according to the name and storage address of the song, and stores the playlist in the built-in storage area or the external storage area of the smartphone. The playlist may be a list formed by the correspondence between the names of the songs and the storage addresses of the songs.
S204,搜索可连接的播放设备。S204, search for a connectable playback device.
具体地,创建播放列表后,智能手机搜索可连接的播放设备。智能手机可通过多种方式搜索可连接的播放设备。例如,可以通过蓝牙模块搜索可通过蓝牙连接的播放设备。可以通过WiFi(无线保真)模块搜索可通过WiFi连接的播放设备。智能手机还可以搜索与智能手机处于同一个局域网中的播放设备。例如,智能手机可以搜索与智能手机连接到同一个路由器的播放设备。Specifically, after creating a playlist, the smartphone searches for connectable playback devices. Smartphones can search for connectable playback devices in various ways. For example, the Bluetooth module can search for playback devices that can be connected via Bluetooth. Playback devices that can be connected via WiFi can be searched through the WiFi (Wireless Fidelity) module. The smartphone can also search for playback devices that are in the same local area network as the smartphone. For example, a smartphone can search for playback devices that are connected to the same router as the smartphone.
S205,向该播放设备发送连接请求。S205: Send a connection request to the playback device.
具体地,智能手机搜索到可连接的播放设备后,向该播放设备发送连接请求。当搜索到多个可连接的播放设备时,可以向信号最稳定的播放设备发送连接请求,或者向用户选择的播放设备发送连接请求。Specifically, after searching for a connectable playback device, the smartphone sends a connection request to the playback device. When multiple connectable playback devices are found, a connection request may be sent to the playback device with the most stable signal, or a connection request may be sent to the playback device selected by the user.
S206,接收该播放设备的响应信息。S206: Receive response information from the playback device.
具体地,播放设备接收到终智能手机发送的连接请求后,向智能手机返回一个响应信息。响应信息中可以包括配对信息,该配对信息用于在智能手机和播放设备之间进行身份验证。例如,响应信息中可以包括与智能手机进行身份验证的验证码。Specifically, after receiving the connection request sent by the final smartphone, the playback device returns a response message to the smartphone. The response information may include pairing information, which is used for authentication between the smartphone and the playback device. For example, the response message may include a verification code for authenticating with the smartphone.
S207,根据该响应信息与该播放设备建立连接。S207, establish a connection with the playback device according to the response information.
具体地,智能手机接收播放设备返回的响应信息,并根据该响应信息与该播放设备建立连接。建立连接时,智能手机可以根据该响应信息生成一个验证信息,向播放设备发送该验证信息,以完成与播放设备的连接。该验证信息可以与配对信息相同。例如,验证信息可以是播放设备发送的响应信息中所包括的验证码。Specifically, the smart phone receives the response information returned by the playback device, and establishes a connection with the playback device according to the response information. When the connection is established, the smart phone can generate verification information according to the response information, and send the verification information to the playback device to complete the connection with the playback device. The authentication information may be the same as the pairing information. For example, the verification information may be the verification code included in the response information sent by the playback device.
S208,向播放设备发送播放请求。S208: Send a playback request to the playback device.
具体地,智能手机与播放设备建立连接后,向播放设备发送播放请求,以控制播放设备播放多媒体。实际应用中,播放设备可以同时与多部智能手机建立连接,该多部智能手机也可以同时向播放设备发送播放请求。播放设备可以为与播放设备连接的智能手机设立一个标识位。将与播放设备建立了连接的智能手机的标识位设置为0,当智能手机向播放设备发送播放请求时,播放设备将该智能手机的标识位设置为1。Specifically, after establishing a connection with the playback device, the smartphone sends a playback request to the playback device to control the playback device to play multimedia. In practical applications, the playback device can establish connections with multiple smart phones at the same time, and the multiple smart phones can also send playback requests to the playback device at the same time. The playback device can set up an identification bit for the smartphone connected to the playback device. The identification bit of the smart phone that has established a connection with the playback device is set to 0, and when the smart phone sends a playback request to the playback device, the playback device sets the identification bit of the smart phone to 1.
S209,接收该播放设备发送的获取请求,该获取请求指示获取该播放列表中存储的第一条多媒体信息。S209: Receive an acquisition request sent by the playback device, where the acquisition request indicates acquiring the first piece of multimedia information stored in the playlist.
具体地,播放设备接收到智能手机发送的播放请求后,向该智能手机发送获取请求。该获取请求指示获取该智能手机创建的播放列表中的第一条多媒体信息。例如,该获取请求指示获取播放列表中的第一首歌曲的名称和存储地址。当存在多部智能手机都向播放设备发送了播放请求时,播放设备逐个向标识位为1的智能手机发送获取请求。Specifically, after receiving the playback request sent by the smart phone, the playback device sends an acquisition request to the smart phone. The obtaining request indicates obtaining the first piece of multimedia information in the playlist created by the smartphone. For example, the obtaining request indicates obtaining the name and storage address of the first song in the playlist. When there are multiple smart phones that all send playback requests to the playback device, the playback device sends acquisition requests to the smart phones whose identification bit is 1 one by one.
S210,根据该获取请求获取该播放列表中存储的第一条多媒体信息。S210: Acquire the first piece of multimedia information stored in the playlist according to the acquisition request.
S211,向该播放设备发送该第一条多媒体信息。S211: Send the first piece of multimedia information to the playback device.
具体地,智能手机接收到播放设备发送的获取请求后,根据该获取请求获取播放列表中存储的第一条多媒体信息,并向播放设备发送该第一条多媒体信息。例如,智能手机接收到获取请求后,根据该获取请求提取存储在播放列表中的第一首歌曲的名称和存储地址,并向播放设备发送该歌曲的名称和存储地址。播放设备接收到智能手机发送的歌曲名称和存储地址后,从该存储地址获取歌曲数据,然后开始播放该歌曲。优选地,智能手机向播放设备发送该第一条多媒体信息后,删除播放列表中的该第一条多媒体信息。Specifically, after receiving the acquisition request sent by the playback device, the smart phone acquires the first piece of multimedia information stored in the playlist according to the acquisition request, and sends the first piece of multimedia information to the playback device. For example, after receiving the acquisition request, the smartphone extracts the name and storage address of the first song stored in the playlist according to the acquisition request, and sends the name and storage address of the song to the playback device. After the playback device receives the song name and storage address sent by the smartphone, it obtains the song data from the storage address, and then starts to play the song. Preferably, after the smart phone sends the first piece of multimedia information to the playback device, the first piece of multimedia information in the playlist is deleted.
实际应用中,该存储地址可以是网络服务器上的存储地址。播放设备具有网络功能,即播放设备可以与网络服务器进行通信。播放设备获取到该存储地址后,访问网络服务器,从位于网络服务器的该存储地址获取歌曲数据,然后开始播放。In practical applications, the storage address may be a storage address on a network server. The playback device has a network function, that is, the playback device can communicate with a network server. After obtaining the storage address, the playback device accesses the network server, obtains song data from the storage address located on the network server, and starts playing.
当存在多部智能手机都向播放设备发送了多媒体信息时,播放设备根据接收到的多媒体信息的时间顺序,依次播放多媒体信息对应的多媒体。例如,存在三部智能手机A、B、C都向播放设备发送了多媒体信息,播放设备播放完智能手机A发送的多媒体信息对应的歌曲a后,继续播放智能手机B发送的多媒体信息对应的歌曲b,然后播放智能手机C发送的多媒体信息对应的歌曲c。当播放设备接收到的多媒体信息对应的歌曲都播放完后,播放设备再次逐个向智能手机A、B、C发送获取请求,以分别获取智能手机A、B、C各自创建的播放列表中的当前第一条多媒体信息,并继续播放。When there are multiple smart phones that have sent multimedia information to the playback device, the playback device sequentially plays the multimedia corresponding to the multimedia information according to the time sequence of the received multimedia information. For example, there are three smartphones A, B, and C that all send multimedia information to the playback device. After the playback device finishes playing the song a corresponding to the multimedia information sent by smartphone A, it continues to play the song corresponding to the multimedia information sent by smartphone B. b, and then play the song c corresponding to the multimedia information sent by the smart phone C. When the songs corresponding to the multimedia information received by the playback device are all played, the playback device sends acquisition requests to smartphones A, B, and C one by one to acquire the current content in the playlists created by smartphones A, B, and C, respectively. The first multimedia message and continue playing.
具体实施时,本发明不受所描述的各个步骤的执行顺序的限制,在不产生冲突的情况下,某些步骤还可以采用其它顺序进行或者同时进行。During specific implementation, the present invention is not limited by the execution order of the described steps, and certain steps can also be performed in other sequences or simultaneously under the condition of no conflict.
由上可知,本发明实施例提供的播放控制方法,采用接收编辑指令,创建播放列表,与播放设备建立连接,向播放设备发送播放请求,接收播放设备发送的获取请求,根据该获取请求获取播放列表中存储的第一条多媒体信息,向该播放设备发送该第一条多媒体信息。该方案在向播放设备发送播放请求后,接收播放设备发送的获取请求,根据该获取请求向该播放设备发送第一条多媒体信息。智能手机只将播放设备需要的信息发送给播放设备,使得智能手机与播放设备之间的通信数据量小,与现有技术相比,提高了播放控制的控制效率。As can be seen from the above, the playback control method provided by the embodiment of the present invention adopts the method of receiving an editing instruction, creating a playlist, establishing a connection with a playback device, sending a playback request to the playback device, receiving an acquisition request sent by the playback device, and acquiring playback according to the acquisition request. The first piece of multimedia information stored in the list is sent to the playback device. In this solution, after sending a playback request to a playback device, an acquisition request sent by the playback device is received, and the first piece of multimedia information is sent to the playback device according to the acquisition request. The smart phone only sends the information required by the playback device to the playback device, so that the amount of communication data between the smart phone and the playback device is small, and compared with the prior art, the control efficiency of playback control is improved.
实施例三Embodiment 3
为了更好地实施以上方法,本发明实施例还提供一种播放控制装置,该装置可以集成在终端中,该终端可以是智能手机、平板电脑等设备。In order to better implement the above method, an embodiment of the present invention further provides a playback control apparatus, which may be integrated in a terminal, and the terminal may be a device such as a smart phone or a tablet computer.
如图3所示,播放控制装置可以包括:创建模块301、请求模块302、接收模块303、发送模块304,具体描述如下:As shown in FIG. 3 , the playback control apparatus may include: a
该创建模块301,用于创建播放列表,该播放列表用于存储待播放的多媒体信息;The
该请求模块302,用于向播放设备发送播放请求;The
该接收模块303,用于接收该播放设备发送的获取请求,该获取请求指示获取该播放列表中存储的多媒体信息;The receiving
该发送模块304,用于根据该获取请求向该播放设备发送该多媒体信息。The sending
优选地,该获取请求指示获取该播放列表中存储的第一条多媒体信息,如图4所示,该发送模块304包括:获取子模块3041、发送子模块3042,具体如下:Preferably, the obtaining request indicates obtaining the first piece of multimedia information stored in the playlist. As shown in FIG. 4 , the sending
该获取子模块3041,用于根据该获取请求获取该播放列表中存储的第一条多媒体信息;The acquisition submodule 3041 is used to acquire the first piece of multimedia information stored in the playlist according to the acquisition request;
该发送子模块3042,用于向该播放设备发送该第一条多媒体信息。The sending
优选地,该创建模块301具体用于:Preferably, the
接收编辑指令,该编辑指令携带待播放的多媒体的名称;receiving an editing instruction, the editing instruction carrying the name of the multimedia to be played;
根据该编辑指令获取该多媒体的存储地址;Obtain the storage address of the multimedia according to the editing instruction;
根据该名称和该存储地址创建播放列表,并存储该播放列表。Create a playlist based on the name and the storage address, and store the playlist.
优选地,如图5所示,该播放控制装置还包括:搜索模块305、连接模块306,具体如下:Preferably, as shown in FIG. 5 , the playback control device further includes: a
该搜索模块305,用于搜索可连接的播放设备;The
该连接模块306,用于与该播放设备建立连接。The
优选地,该连接模块306具体用于:Preferably, the
向该播放设备发送连接请求;Send a connection request to the playback device;
接收该播放设备的响应信息;Receive the response information of the playback device;
根据该响应信息与该播放设备建立连接。Establish a connection with the playback device according to the response information.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现。以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities. For the specific implementation of the above modules, reference may be made to the foregoing method embodiments, which will not be repeated here.
由上可知,本发明实施例提供的播放控制装置,通过创建模块301创建播放列表,该播放列表用于存储待播放的多媒体信息;请求模块302向播放设备发送播放请求;接收模块303接收该播放设备发送的获取请求,该获取请求指示获取该播放列表中存储的多媒体信息;发送模块304根据该获取请求向该播放设备发送该多媒体信息。该方案在向播放设备发送播放请求后,接收播放设备发送的获取请求,根据该获取请求向该播放设备发送多媒体信息。终端只将播放设备需要的信息发送给播放设备,使得终端与播放设备之间的通信数据量小,与现有技术相比,提高了播放控制的控制效率。As can be seen from the above, in the playback control device provided by the embodiment of the present invention, a playlist is created by the
实施例四Embodiment 4
本发明实施例还提供一种终端,该终端可以是智能手机、平板电脑等设备。An embodiment of the present invention further provides a terminal, where the terminal may be a device such as a smart phone or a tablet computer.
如图6所示,终端400可以包括:创建模块401、请求模块402、接收模块403、发送模块404,具体描述如下:As shown in FIG. 6 , the terminal 400 may include: a
该创建模块401,用于创建播放列表,该播放列表用于存储待播放的多媒体信息;The
该请求模块402,用于向播放设备发送播放请求;The
该接收模块403,用于接收该播放设备发送的获取请求,该获取请求指示获取该播放列表中存储的多媒体信息;The receiving
该发送模块404,用于根据该获取请求向该播放设备发送该多媒体信息。The sending
优选地,该获取请求指示获取该播放列表中存储的第一条多媒体信息,该发送模块404包括:获取子模块、发送子模块,具体如下:Preferably, the obtaining request indicates obtaining the first piece of multimedia information stored in the playlist, and the sending
该获取子模块,用于根据该获取请求获取该播放列表中存储的第一条多媒体信息;The acquisition submodule is used to acquire the first piece of multimedia information stored in the playlist according to the acquisition request;
该发送子模块,用于向该播放设备发送该第一条多媒体信息。The sending submodule is used for sending the first piece of multimedia information to the playback device.
优选地,该创建模块401具体用于:Preferably, the
接收编辑指令,该编辑指令携带待播放的多媒体的名称;receiving an editing instruction, the editing instruction carrying the name of the multimedia to be played;
根据该编辑指令获取该多媒体的存储地址;Obtain the storage address of the multimedia according to the editing instruction;
根据该名称和该存储地址创建播放列表,并存储该播放列表。Create a playlist based on the name and the storage address, and store the playlist.
优选地,终端400还包括:搜索模块、连接模块,具体如下:Preferably, the terminal 400 further includes: a search module and a connection module, the details are as follows:
该搜索模块,用于搜索可连接的播放设备;The search module is used to search for connectable playback devices;
该连接模块,用于与该播放设备建立连接。The connection module is used to establish a connection with the playback device.
优选地,该连接模块具体用于:Preferably, the connection module is specifically used for:
向该播放设备发送连接请求;Send a connection request to the playback device;
接收该播放设备的响应信息;Receive the response information of the playback device;
根据该响应信息与该播放设备建立连接。Establish a connection with the playback device according to the response information.
上述操作具体可参见前面的方法实施例,在此不再赘述。For details of the foregoing operations, reference may be made to the foregoing method embodiments, and details are not described herein again.
本发明实施例还提供另一种终端,如图7所示,该终端500可以包括射频(RF,RadioFrequency)电路501、包括有一个或一个以上计算机可读存储介质的存储器502、输入单元503、显示单元504、传感器505、音频电路506、无线保真(WiFi,Wireless Fidelity)模块507、包括有一个或者一个以上处理核心的处理器508、以及电源509等部件。本领域技术人员可以理解,图7中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。An embodiment of the present invention further provides another terminal. As shown in FIG. 7 , the terminal 500 may include a radio frequency (RF, Radio Frequency)
射频电路501可用于收发信息,或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器508处理;另外,将涉及上行的数据发送给基站。通常,射频电路501包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,射频电路501还可以通过无线通信与网络和其他设备通信。该无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GSM,Global System of Mobile communication)、通用分组无线服务(GPRS,GeneralPacket Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long TermEvolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。The
存储器502可用于存储软件程序以及模块。处理器508通过运行存储在存储器502的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器508和输入单元503对存储器502的访问。
输入单元503可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元503可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器508,并能接收处理器508发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入单元503还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The
显示单元504可用于显示由用户输入的信息或提供给用户的信息以及终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元504可包括显示面板,可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器508以确定触摸事件的类型,随后处理器508根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图7中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。The
终端还可包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在终端移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The terminal may also include at least one
音频电路506可通过扬声器、传声器提供用户与终端之间的音频接口。音频电路506可将接收到的音频数据转换成电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路506接收后转换为音频数据,再将音频数据输出处理器508处理后,经射频电路501以发送给比如另一终端,或者将音频数据输出至存储器502以便进一步处理。音频电路506还可能包括耳塞插孔,以提供外设耳机与终端的通信。The
无线保真(WiFi)属于短距离无线传输技术,终端通过无线保真模块507可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了无线保真模块507,但是可以理解的是,其并不属于终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wireless Fidelity (WiFi) is a short-distance wireless transmission technology, and the terminal can help users to send and receive emails, browse web pages, and access streaming media through the Wi-
处理器508是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器502内的软件程序和/或模块,以及调用存储在存储器502内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。可选的,处理器508可包括一个或多个处理核心;优选的,处理器508可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器508中。The
终端还包括给各个部件供电的电源509(比如电池)。优选的,电源可以通过电源管理系统与处理器508逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源509还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal also includes a power source 509 (such as a battery) to power the various components. Preferably, the power supply can be logically connected to the
尽管图7中未示出,终端还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 7 , the terminal may further include a camera, a Bluetooth module, and the like, which will not be repeated here.
具体在本实施例中,终端中的处理器508会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器502中,并由处理器508来运行存储在存储器502中的应用程序,从而实现各种功能:Specifically in this embodiment, the
创建播放列表,该播放列表用于存储待播放的多媒体信息;向播放设备发送播放请求;接收该播放设备发送的获取请求,该获取请求指示获取该播放列表中存储的多媒体信息;根据该播放请求向该播放设备发送该多媒体信息。Create a playlist, which is used to store multimedia information to be played; send a playback request to the playback device; receive an acquisition request sent by the playback device, the acquisition request instructing to acquire the multimedia information stored in the playlist; according to the playback request Send the multimedia information to the playback device.
优选地,处理器508具有创建模块、请求模块、接收模块、发送模块,具体描述如下:Preferably, the
处理器508用于通过创建模块创建播放列表,该播放列表用于存储待播放的多媒体信息;The
处理器508用于通过请求模块向播放设备发送播放请求;The
处理器508用于通过接收模块接收该播放设备发送的获取请求,该获取请求指示获取该播放列表中存储的多媒体信息;The
处理器508用于通过发送模块根据该播放请求向该播放设备发送该多媒体信息。The
上述操作具体可参见前面的方法实施例,在此不再赘述。For details of the foregoing operations, reference may be made to the foregoing method embodiments, and details are not described herein again.
由上可知,本发明实施例提供了一种终端,通过创建播放列表,该播放列表用于存储待播放的多媒体信息;向播放设备发送播放请求;接收该播放设备发送的获取请求,该获取请求指示获取该播放列表中存储的多媒体信息;根据该获取请求向该播放设备发送该多媒体信息。该方案在向播放设备发送播放请求后,接收播放设备发送的获取请求,根据该获取请求向该播放设备发送多媒体信息。终端只将播放设备需要的信息发送给播放设备,使得终端与播放设备之间的通信数据量小,与现有技术相比,提高了播放控制的控制效率。As can be seen from the above, an embodiment of the present invention provides a terminal that, by creating a playlist, the playlist is used to store multimedia information to be played; sending a playback request to a playback device; and receiving an acquisition request sent by the playback device, the acquisition request Instruct to acquire the multimedia information stored in the playlist; send the multimedia information to the playback device according to the acquisition request. In this solution, after sending a playback request to a playback device, an acquisition request sent by the playback device is received, and multimedia information is sent to the playback device according to the acquisition request. The terminal only sends the information required by the playback device to the playback device, so that the amount of communication data between the terminal and the playback device is small, and compared with the prior art, the control efficiency of playback control is improved.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The medium may include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk, and the like.
以上对本发明实施例所提供的一种播放控制方法、装置及终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A playback control method, device, and terminal provided by the embodiments of the present invention are described above in detail. The principles and implementations of the present invention are described with specific examples in this paper. The descriptions of the above embodiments are only used to help understanding The method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this description should not be understood to limit the present invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610676589.6A CN106303616B (en) | 2016-08-16 | 2016-08-16 | Play control method, device and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610676589.6A CN106303616B (en) | 2016-08-16 | 2016-08-16 | Play control method, device and terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106303616A CN106303616A (en) | 2017-01-04 |
| CN106303616B true CN106303616B (en) | 2020-01-14 |
Family
ID=57679262
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610676589.6A Active CN106303616B (en) | 2016-08-16 | 2016-08-16 | Play control method, device and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106303616B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107943877B (en) * | 2017-11-14 | 2022-02-18 | 百度在线网络技术(北京)有限公司 | Method and device for generating multimedia content to be played |
| CN108924585A (en) * | 2018-06-07 | 2018-11-30 | 北京中科视维文化科技有限公司 | Playing method and device in image playing system |
| CN111046200B (en) * | 2019-12-06 | 2023-12-05 | 北京同邦卓益科技有限公司 | Data processing method, device and equipment |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103458064A (en) * | 2013-09-02 | 2013-12-18 | 小米科技有限责任公司 | Method, device and terminal equipment for transmitting address information of multimedia information |
| CN103581759A (en) * | 2013-10-14 | 2014-02-12 | 青岛海信传媒网络技术有限公司 | Intelligent terminal and method and system for transmitting and displaying multimedia files |
| CN105681444A (en) * | 2016-02-02 | 2016-06-15 | 优听无限传媒科技(北京)有限责任公司 | Method for remotely controlling target wifi loudspeaker box by intelligent terminal |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7925244B2 (en) * | 2006-05-30 | 2011-04-12 | Sony Ericsson Mobile Communications Ab | Mobile wireless communication terminals, systems, methods, and computer program products for publishing, sharing and accessing media files |
| US20140380146A1 (en) * | 2013-06-25 | 2014-12-25 | Microsoft Corporation | Creating playlist from web page |
-
2016
- 2016-08-16 CN CN201610676589.6A patent/CN106303616B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103458064A (en) * | 2013-09-02 | 2013-12-18 | 小米科技有限责任公司 | Method, device and terminal equipment for transmitting address information of multimedia information |
| CN103581759A (en) * | 2013-10-14 | 2014-02-12 | 青岛海信传媒网络技术有限公司 | Intelligent terminal and method and system for transmitting and displaying multimedia files |
| CN105681444A (en) * | 2016-02-02 | 2016-06-15 | 优听无限传媒科技(北京)有限责任公司 | Method for remotely controlling target wifi loudspeaker box by intelligent terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106303616A (en) | 2017-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20160105418A1 (en) | Method, system, device, and terminal for network initialization of multimedia playback device | |
| CN107863095A (en) | Acoustic signal processing method, device and storage medium | |
| CN107040610B (en) | Data synchronization method, device, storage medium, terminal and server | |
| WO2017202348A1 (en) | Video playing method and device, and computer storage medium | |
| CN105208056B (en) | Information interaction method and terminal | |
| CN103559731B (en) | Method and terminal for displaying lyrics under screen locking state | |
| CN106411447B (en) | playing control method, device and terminal | |
| CN106452643B (en) | playing control method, device, terminal and playing system | |
| CN106411448A (en) | Play control method, device and terminal | |
| CN105959482B (en) | A kind of scene sound effect control method, and electronic device | |
| CN106303616B (en) | Play control method, device and terminal | |
| WO2018161788A1 (en) | Multimedia data sharing method and device | |
| KR101876394B1 (en) | Method and device for playing media data on a terminal | |
| CN106572163A (en) | Data migration method and terminal | |
| CN105159655B (en) | Behavior event playing method and device | |
| CN106445458B (en) | Playing control method, device and terminal | |
| CN106454728B (en) | A network control method, device and terminal for terminal application | |
| CN106658615B (en) | Method and device for switching communication network | |
| CN106210325B (en) | A method, device and terminal for setting ringtones for social applications | |
| WO2015067206A1 (en) | File searching method and terminal | |
| CN103561119B (en) | Obtain method, device and the equipment of Media Access Control address | |
| CN110582079B (en) | Bluetooth connection setting method and device, computer readable storage medium and terminal | |
| CN106372186B (en) | Playlist synchronization method and device and playing terminal | |
| CN106557688A (en) | Method and device for managing default applications | |
| CN111954193A (en) | A Bluetooth device connection detection method, device and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong Opel Mobile Communications Co., Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |