CN106598432A - Multimedia playing method and device - Google Patents
Multimedia playing method and device Download PDFInfo
- Publication number
- CN106598432A CN106598432A CN201611094961.9A CN201611094961A CN106598432A CN 106598432 A CN106598432 A CN 106598432A CN 201611094961 A CN201611094961 A CN 201611094961A CN 106598432 A CN106598432 A CN 106598432A
- Authority
- CN
- China
- Prior art keywords
- multimedia
- record
- target
- player
- destination
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本公开是关于一种多媒体播放的方法和装置,应用于终端,该方法包括:接收用户在预设多媒体控制界面上触发的多媒体播放指令,其中,预设多媒体控制界面用于展示终端中安装的全部播放器的播放记录;多媒体播放指令用于指示播放用户从展示的播放记录中选定的目标播放记录对应的目标多媒体;确定多媒体播放指令指示播放的目标多媒体对应的目标播放器;通过目标播放器播放目标多媒体。
The present disclosure relates to a method and device for playing multimedia, which are applied to a terminal. The method includes: receiving a multimedia playing instruction triggered by a user on a preset multimedia control interface, wherein the preset multimedia control interface is used to display the The playback records of all players; the multimedia playback instruction is used to instruct to play the target multimedia corresponding to the target playback record selected by the user from the displayed playback records; determine the target player corresponding to the target multimedia playback indicated by the multimedia playback instruction; through the target playback player to play the target multimedia.
Description
技术领域technical field
本公开涉及多媒体技术领域,尤其涉及一种多媒体播放的方法和装置。The present disclosure relates to the field of multimedia technologies, in particular to a method and device for playing multimedia.
背景技术Background technique
随着终端中已安装的各种播放器的使用率不断提高,通常情况下,可以通过在播放器展示的音乐控制界面上设置播放、暂停、播放上一首和播放下一首等控制按钮,用户通过音乐控制界面中的控制按钮对播放的音乐进行控制。该音乐控制界面可以呈现在终端的锁屏界面上,也可以呈现在终端的通知栏中。As the utilization rate of various players installed in the terminal continues to increase, usually, control buttons such as play, pause, play the previous song, and play the next song can be set on the music control interface displayed by the player, The user controls the played music through the control buttons in the music control interface. The music control interface can be presented on the lock screen interface of the terminal, or can be presented in the notification bar of the terminal.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种多媒体播放的方法和装置。In order to overcome the problems existing in related technologies, the present disclosure provides a method and device for playing multimedia.
根据本公开实施例的第一方面,提供一种多媒体播放的方法,应用于终端,所述方法包括:接收用户在预设多媒体控制界面上触发的多媒体播放指令,其中,所述预设多媒体控制界面用于展示终端中安装的全部播放器的播放记录;所述多媒体播放指令用于指示播放所述用户从展示的播放记录中选定的目标播放记录对应的目标多媒体;确定所述多媒体播放指令指示播放的目标多媒体对应的目标播放器;通过所述目标播放器播放所述目标多媒体。According to the first aspect of the embodiments of the present disclosure, there is provided a method for playing multimedia, which is applied to a terminal, and the method includes: receiving a multimedia playing instruction triggered by a user on a preset multimedia control interface, wherein the preset multimedia control The interface is used to display the play records of all players installed in the terminal; the multimedia play instruction is used to instruct to play the target multimedia corresponding to the target play record selected by the user from the displayed play records; determine the multimedia play instruction A target player corresponding to the target multimedia to be played is indicated; and the target multimedia is played by the target player.
可选地,所述方法还包括:获取所述终端中安装的全部播放器的播放记录;存储获取的播放记录;生成所述预设多媒体控制界面,并通过所述预设多媒体控制界面展示所述播放记录。Optionally, the method further includes: acquiring play records of all players installed in the terminal; storing the acquired play records; generating the preset multimedia control interface, and displaying the preset multimedia control interface Play records described above.
可选地,所述播放记录包括播放器标识信息;所述确定所述多媒体播放指令指示播放的目标多媒体对应的目标播放器包括:根据所述播放记录中包括的播放器标识信息确定所述目标播放器。Optionally, the playing record includes player identification information; the determining the target player corresponding to the target multimedia indicated by the multimedia playing instruction includes: determining the target player according to the player identification information included in the playing record player.
可选地,所述通过所述目标播放器播放所述目标多媒体包括:调用所述目标播放器的播放端口,并通过所述播放端口播放所述目标多媒体。Optionally, playing the target multimedia through the target player includes: calling a playback port of the target player, and playing the target multimedia through the playback port.
可选地,所述目标播放记录包括播放进度;所述通过所述目标播放器播放所述目标多媒体包括:按照所述播放进度接续播放所述目标多媒体。Optionally, the target playing record includes a playing progress; and playing the target multimedia through the target player includes: continuing to play the target multimedia according to the playing progress.
可选地,所述方法还包括:在通过所述获取目标播放器播放所述目标多媒体后,获取所述目标播放器的第一播放记录;将所述第一播放记录添加至所述预设多媒体控制界面。Optionally, the method further includes: after playing the target multimedia by the acquired target player, acquiring a first playback record of the target player; adding the first playback record to the preset Multimedia control interface.
可选地,所述方法还包括:确定所述第一播放记录对应的当前多媒体是否为目标多媒体;所述将所述第一播放记录添加至所述预设多媒体控制界面包括:在所述第一播放记录对应的当前多媒体为目标多媒体时,根据所述第一播放记录更新所述预设多媒体控制界面中展示的所述目标播放记录。Optionally, the method further includes: determining whether the current multimedia corresponding to the first playback record is target multimedia; adding the first playback record to the preset multimedia control interface includes: When the current multimedia corresponding to a play record is the target multimedia, update the target play record displayed in the preset multimedia control interface according to the first play record.
可选地,所述方法还包括:接收用户对所述目标播放器的卸载指令;在接收到所述卸载指令后,删除所述预设多媒体控制界面中展示的与所述目标播放器相关的播放记录。Optionally, the method further includes: receiving an uninstall instruction from the user for the target player; after receiving the uninstall instruction, deleting the preset multimedia control interface related to the target player. Play the record.
可选地,所述方法还包括:确定所述预设多媒体控制界面展示的目标播放记录的展示时长;在所述展示时长大于或者等于预设时长时,从所述预设多媒体控制界面中删除所述目标播放记录。Optionally, the method further includes: determining the display duration of the target playback record displayed on the preset multimedia control interface; when the display duration is greater than or equal to the preset duration, deleting the The target plays the record.
根据本公开实施例的第二方面,提供一种多媒体播放的装置,应用于终端,所述装置包括:第一接收模块,被配置为接收用户在预设多媒体控制界面上触发的多媒体播放指令,其中,所述预设多媒体控制界面用于展示终端中安装的全部播放器的播放记录;所述多媒体播放指令用于指示播放所述用户从展示的播放记录中选定的目标播放记录对应的目标多媒体;第一确定模块,被配置为确定所述多媒体播放指令指示播放的目标多媒体对应的目标播放器;播放模块,被配置为通过所述目标播放器播放所述目标多媒体。According to a second aspect of an embodiment of the present disclosure, there is provided a device for playing multimedia, which is applied to a terminal, and the device includes: a first receiving module configured to receive a multimedia play instruction triggered by a user on a preset multimedia control interface, Wherein, the preset multimedia control interface is used to display the play records of all players installed in the terminal; the multimedia play instruction is used to instruct to play the target corresponding to the target play record selected by the user from the displayed play records Multimedia; a first determining module configured to determine a target player corresponding to the target multimedia indicated by the multimedia playing instruction; a playing module configured to play the target multimedia through the target player.
可选地,所述装置还包括:第一获取模块,被配置为获取所述终端中安装的全部播放器的播放记录;存储模块,被配置为存储获取的播放记录;生成模块,被配置为生成所述预设多媒体控制界面;展示模块,被配置为通过所述预设多媒体控制界面展示所述播放记录。Optionally, the device further includes: a first acquiring module, configured to acquire playback records of all players installed in the terminal; a storage module, configured to store the acquired playback records; a generation module, configured to The preset multimedia control interface is generated; a display module is configured to display the playback record through the preset multimedia control interface.
可选地,所述目标播放记录包括播放器标识信息;所述第一确定模块,被配置为根据所述目标播放记录中包括的播放器信息确定所述目标播放器。Optionally, the target play record includes player identification information; the first determination module is configured to determine the target player according to the player information included in the target play record.
可选地,所述播放模块包括:调用子模块,被配置为调用所述目标播放器的播放端口;播放子模块,被配置为通过所述播放端口播放所述目标多媒体。Optionally, the playing module includes: a call sub-module configured to call a play port of the target player; a play sub-module configured to play the target multimedia through the play port.
可选地,所述目标播放记录包括播放进度;所述播放模块,被配置为按照所述播放进度接续播放所述目标多媒体。Optionally, the target playback record includes a playback progress; the playback module is configured to continuously play the target multimedia according to the playback progress.
可选地,所述装置还包括:第二获取模块,被配置为在通过所述获取目标播放器播放所述目标多媒体后,获取所述目标播放器的第一播放记录;添加模块,被配置为将所述第一播放记录添加至所述预设多媒体控制界面。Optionally, the device further includes: a second acquisition module configured to acquire the first play record of the target player after the target multimedia player is played through the acquisition target player; an adding module configured to To add the first playback record to the preset multimedia control interface.
可选地,所述装置还包括:第二确定模块,被配置为确定所述第一播放记录对应的多媒体是否为目标多媒体;所述添加模块,被配置为在所述第一播放记录对应的多媒体为目标多媒体时,根据所述第一播放记录更新所述预设多媒体控制界面中展示的所述目标播放记录。Optionally, the device further includes: a second determination module, configured to determine whether the multimedia corresponding to the first playback record is the target multimedia; When the multimedia is the target multimedia, updating the target playback record displayed on the preset multimedia control interface according to the first playback record.
可选地,所述装置还包括:第二接收模块,被配置为接收用户对所述目标播放器的卸载指令;第一删除模块,被配置为在接收到所述卸载指令后,删除所述预设多媒体控制界面中展示的与所述目标播放器相关的播放记录。Optionally, the device further includes: a second receiving module configured to receive a user's uninstall instruction for the target player; a first deleting module configured to delete the target player after receiving the uninstall instruction. The playback records related to the target player displayed in the preset multimedia control interface.
可选地,所述装置还包括:第三确定模块,被配置为确定所述预设多媒体控制界面展示的目标播放记录的展示时长;第二删除模块,被配置为在所述展示时长大于或者等于预设时长时,从所述预设多媒体控制界面中删除所述目标播放记录。Optionally, the device further includes: a third determining module, configured to determine the display duration of the target playback record displayed on the preset multimedia control interface; a second deletion module, configured to determine when the display duration is longer than or When equal to the preset duration, delete the target play record from the preset multimedia control interface.
根据本公开实施例的第三方面,提供一种多媒体播放的装置,所述装置包括处理器被配置为接收用户在预设多媒体控制界面上触发的多媒体播放指令,其中,所述预设多媒体控制界面用于展示终端中安装的全部播放器的播放记录;所述多媒体播放指令用于指示播放所述用户从展示的播放记录中选定的目标播放记录对应的目标多媒体;确定所述多媒体播放指令指示播放的目标多媒体对应的目标播放器;通过所述目标播放器播放所述目标多媒体。According to a third aspect of an embodiment of the present disclosure, there is provided a multimedia playback device, the device includes a processor configured to receive a multimedia playback instruction triggered by a user on a preset multimedia control interface, wherein the preset multimedia control The interface is used to display the play records of all players installed in the terminal; the multimedia play instruction is used to instruct to play the target multimedia corresponding to the target play record selected by the user from the displayed play records; determine the multimedia play instruction A target player corresponding to the target multimedia to be played is indicated; and the target multimedia is played by the target player.
根据本公开实施例的第四方面,提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种多媒体播放的方法,所述方法包括:接收用户在预设多媒体控制界面上触发的多媒体播放指令,其中,所述预设多媒体控制界面用于展示终端中安装的全部播放器的播放记录;所述多媒体播放指令用于指示播放所述用户从展示的播放记录中选定的目标播放记录对应的目标多媒体;确定所述多媒体播放指令指示播放的目标多媒体对应的目标播放器;通过所述目标播放器播放所述目标多媒体。According to the fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can execute a multimedia playback method , the method includes: receiving a multimedia playback instruction triggered by a user on a preset multimedia control interface, wherein the preset multimedia control interface is used to display playback records of all players installed in the terminal; the multimedia playback instruction uses Instructing to play the target multimedia corresponding to the target playback record selected by the user from the displayed playback records; determining the target player corresponding to the target multimedia played by the multimedia playback instruction; playing the target through the target player multimedia.
本公开的实施例提供的技术方案可以包括以下有益效果:接收用户在预设多媒体控制界面上触发的多媒体播放指令,其中,该预设多媒体控制界面用于展示终端中安装的全部播放器的播放记录;该多媒体播放指令用于指示播放该用户从展示的播放记录中选定的目标播放记录对应的目标多媒体;确定该多媒体播放指令指示播放的目标多媒体对应的目标播放器;通过该目标播放器播放该目标多媒体,这样,即使在播放器退出后,用户仍然可以根据预设多媒体控制界面中展示的播放记录对多媒体进行播放操作,从而避免了用户在该终端关机重启或者在该播放器退出后,需要再次启动播放器时的启动操作,提高了用户体验,另外,在终端安装有多个播放器的情况下,可以通过该预设多媒体控制界面对全部播放器进行播放控制,用户无需再打开多个播放器,从而实现了通过该预设多媒体控制界面对多个播放器的集中控制,减少了用户操作,提升了用户体验。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: receiving a multimedia playback instruction triggered by the user on the preset multimedia control interface, wherein the preset multimedia control interface is used to display the playback of all players installed in the terminal record; the multimedia play instruction is used to instruct to play the target multimedia corresponding to the target playback record selected by the user from the displayed play records; determine the target player corresponding to the target multimedia played by the multimedia play instruction; through the target player Play the target multimedia, so that even after the player exits, the user can still play the multimedia according to the playback records displayed in the preset multimedia control interface, thereby preventing the user from restarting the terminal or after the player exits. , the start-up operation when the player needs to be started again improves the user experience. In addition, when multiple players are installed on the terminal, the playback control of all players can be performed through the preset multimedia control interface, and the user does not need to open the multiple players, thereby realizing the centralized control of multiple players through the preset multimedia control interface, reducing user operations and improving user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种多媒体播放的方法的流程图;Fig. 1 is a flow chart of a method for playing multimedia according to an exemplary embodiment;
图2是根据一示例性实施例示出的又一种多媒体播放的方法的流程图;Fig. 2 is a flow chart showing another method for playing multimedia according to an exemplary embodiment;
图3是根据一示例性实施例示出的第一种多媒体播放的装置的框图;Fig. 3 is a block diagram of a first device for playing multimedia according to an exemplary embodiment;
图4是根据一示例性实施例示出的第二种多媒体播放的装置的框图;Fig. 4 is a block diagram of a second multimedia playing device according to an exemplary embodiment;
图5是根据一示例性实施例示出的第三种多媒体播放的装置的框图;Fig. 5 is a block diagram of a third device for playing multimedia according to an exemplary embodiment;
图6是根据一示例性实施例示出的第四种多媒体播放的装置的框图;Fig. 6 is a block diagram of a fourth device for playing multimedia according to an exemplary embodiment;
图7是根据一示例性实施例示出的第五种多媒体播放的装置的框图;Fig. 7 is a block diagram of a fifth multimedia playing device according to an exemplary embodiment;
图8是根据一示例性实施例示出的第六种多媒体播放的装置的框图;Fig. 8 is a block diagram of a sixth multimedia playing device according to an exemplary embodiment;
图9是根据一示例性实施例示出的第七种多媒体播放的装置的框图;Fig. 9 is a block diagram of a seventh multimedia playing device according to an exemplary embodiment;
图10是根据一示例性实施例示出的第八种多媒体播放的装置的框图。Fig. 10 is a block diagram of an eighth multimedia playing device according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
本公开可以应用于多媒体播放的场景,该多媒体可以是视频或者音频,以该多媒体为音乐为例,终端中可以安装用来播放音乐的播放器,播放器提供有音乐控制界面,该音乐控制界面设置有多个控制按钮,如用于播放、暂停、播放上一首和播放下一首等控制按钮,用户可以通过点击该音乐控制界面中的控制按钮,对播放的音乐进行如播放、暂停、播放上一首和播放下一首等操作,其中,该音乐控制界面可以呈现在终端的锁屏界面上,也可以呈现在终端的通知栏中。但是,当终端中安装的播放器退出(如终端重启或者关机)后,呈现的音乐控制界面也会退出,此时,用户无法在该音乐控制界面中对音乐进行播放控制,也无法看到之前播放的音乐的相关信息,若用户后续需要继续播放音乐并对音乐进行播放控制,用户需要再次启动该播放器,并在该播放器展示的音乐播放列表中查找到用户需要播放的音乐后,播放该音乐,并通过启动后展示的音乐控制界面对音乐的播放进行控制,从而使得用户的操作过于繁琐,降低了用户体验。The present disclosure can be applied to the scenario of playing multimedia. The multimedia can be video or audio. Taking the multimedia as music as an example, a player for playing music can be installed in the terminal, and the player is provided with a music control interface. The music control interface There are multiple control buttons, such as control buttons for playing, pausing, playing the previous song, and playing the next song. The user can click the control buttons in the music control interface to play, pause, and play the music played. Operations such as playing the previous song and playing the next song, wherein the music control interface can be presented on the lock screen interface of the terminal, or in the notification bar of the terminal. However, when the player installed in the terminal exits (for example, the terminal is restarted or shut down), the music control interface presented will also exit. Information about the music played. If the user needs to continue playing music and control the playback of the music, the user needs to start the player again, and find the music that the user needs to play in the music playlist displayed on the player, and then play it. The music, and the playback of the music is controlled through the music control interface displayed after startup, which makes the user's operation too cumbersome and reduces the user experience.
为了解决上述问题,本发明提出了一种多媒体播放的方法和装置,该方法包括在接收到用户在预设多媒体控制界面上触发的多媒体播放指令后,终端可以根据该多媒体触发指令确定目标多媒体对应的目标播放器,并通过该目标播放器播放该目标多媒体,这样,即使在播放器退出后,用户仍然可以根据预设多媒体控制界面中展示的播放记录对多媒体进行播放操作,从而避免了用户在该播放器退出后,需要再次启动播放器时的启动操作,提高了用户体验,另外,在终端安装有多个播放器的情况下,可以通过该预设多媒体控制界面对全部播放器进行播放控制,用户无需再打开多个播放器,从而实现了通过该预设多媒体控制界面对多个播放器的集中控制,减少了用户操作,提升了用户体验。In order to solve the above problems, the present invention proposes a method and device for multimedia playback. The method includes that after receiving the multimedia playback instruction triggered by the user on the preset multimedia control interface, the terminal can determine the target multimedia corresponding The target player, and play the target multimedia through the target player, so that even after the player exits, the user can still play the multimedia according to the playback record displayed in the preset multimedia control interface, thus avoiding the user After the player exits, the start-up operation when the player needs to be started again improves the user experience. In addition, when multiple players are installed on the terminal, all players can be played and controlled through the preset multimedia control interface , the user does not need to open multiple players, thereby realizing the centralized control of multiple players through the preset multimedia control interface, reducing user operations and improving user experience.
下面通过具体实施例对本公开进行详细说明。The present disclosure will be described in detail below through specific embodiments.
图1是根据一示例性实施例示出的一种多媒体播放的方法的流程图,如图1所示,应用于终端中,该方法包括以下步骤:Fig. 1 is a flow chart of a method for multimedia playback according to an exemplary embodiment. As shown in Fig. 1, it is applied in a terminal, and the method includes the following steps:
在步骤101中,接收用户在预设多媒体控制界面上触发的多媒体播放指令。In step 101, a multimedia playing instruction triggered by a user on a preset multimedia control interface is received.
其中,该预设多媒体控制界面用于展示终端中安装的全部播放器的播放记录;该多媒体播放指令用于指示播放该用户从展示的播放记录中选定的目标播放记录对应的目标多媒体,该播放记录可以包括媒体信息和播放进度,该媒体信息可以是多媒体的名称,多媒体表演者,多媒体所属的专辑以及播放该多媒体的播放器标识信息(如播放器名称等)等标示该多媒体的信息,该多媒体可以是视频或者音频等多媒体,本公开对此不作限定。Wherein, the preset multimedia control interface is used to display the play records of all players installed in the terminal; the multimedia play instruction is used to instruct to play the target multimedia corresponding to the target play record selected by the user from the displayed play records, the The playback record can include media information and playback progress, and the media information can be the name of the multimedia, the multimedia performer, the album to which the multimedia belongs, and the player identification information (such as player name, etc.) that plays the multimedia, etc. to indicate the multimedia, The multimedia may be multimedia such as video or audio, which is not limited in the present disclosure.
在步骤102中,确定该多媒体播放指令指示播放的目标多媒体对应的目标播放器。In step 102, a target player corresponding to the target multimedia to be played indicated by the multimedia play instruction is determined.
在步骤103中,通过该目标播放器播放该目标多媒体。In step 103, the target multimedia is played by the target player.
采用上述方法,即使在播放器退出后,用户仍然可以根据预设多媒体控制界面中展示的播放记录对多媒体进行播放操作,从而避免了用户在该播放器退出后,需要再次启动播放器时的启动操作,提高了用户体验,另外,在终端安装有多个播放器的情况下,可以通过该预设多媒体控制界面对全部播放器进行播放控制,用户无需再打开多个播放器,从而实现了通过该预设多媒体控制界面对多个播放器的集中控制,减少了用户操作,提升了用户体验。With the above method, even after the player exits, the user can still play the multimedia according to the playback record displayed in the preset multimedia control interface, thus avoiding the need for the user to start the player again after the player exits operation, which improves the user experience. In addition, when multiple players are installed on the terminal, all players can be controlled through the preset multimedia control interface, and the user does not need to open multiple players. The centralized control of multiple players by the preset multimedia control interface reduces user operations and improves user experience.
图2是根据一示例性实施例示出的一种多媒体播放的方法的流程图,如图2所示,应用于终端中,该多媒体可以是音频或者视频,该方法包括以下步骤:Fig. 2 is a flowchart of a method for playing multimedia according to an exemplary embodiment. As shown in Fig. 2, it is applied in a terminal, the multimedia can be audio or video, and the method includes the following steps:
在步骤201中,获取终端中安装的全部播放器的播放记录。In step 201, play records of all players installed in the terminal are acquired.
其中,该播放器可以是音乐播放器(如小米音乐播放器或者酷狗音乐播放器等),本公开对此不作限定。Wherein, the player may be a music player (such as Xiaomi music player or Kugou music player, etc.), which is not limited in the present disclosure.
在本步骤中,可以通过多媒体端口获取终端中安装的全部播放器的播放记录,其中,该多媒体端口为对播放器的播放记录进行监听的端口,终端通过该多媒体端口能够及时获取播放器的播放记录,该播放记录可以包括媒体信息和播放进度,该媒体信息可以是多媒体的名称,多媒体表演者,多媒体该的专辑等标示该多媒体的信息,In this step, the playback records of all the players installed in the terminal can be obtained through the multimedia port, wherein the multimedia port is a port for monitoring the playback records of the players, and the terminal can obtain the playback records of the players in time through the multimedia port. record, the playback record can include media information and playback progress, the media information can be the name of the multimedia, the multimedia performer, the album of the multimedia, etc. to mark the multimedia,
其中,若该多媒体为音乐,则对应的播放记录可以包括歌曲名称、歌手名称、该歌曲的专辑、该歌曲的播放进度以及播放该歌曲的音乐播放器标识(如音乐播放器名称)等信息,本公开对此不作限定。例如,当该多媒体为歌曲“稻香”时,则可以获取到该歌曲“稻香”的播放记录为歌曲名称“稻香”、歌手名称“周杰伦”、歌曲专辑“魔杰座”、歌曲播放进度“1分10秒”和播放该歌曲的音乐播放器名称“小米音乐播放器”等信息。Wherein, if the multimedia is music, the corresponding play record can include information such as song name, singer name, album of the song, play progress of the song, and the music player identification (such as the name of the music player) playing the song, This disclosure does not limit it. For example, when the multimedia is the song "Daoxiang", the playback record of the song "Daoxiang" can be obtained as the song name "Daoxiang", singer name "Jay Chou", song album "Capricorn", song playback Information such as the progress "1 minute and 10 seconds" and the name of the music player playing the song "Xiaomi Music Player".
在步骤202中,存储获取的播放记录。In step 202, the acquired playback records are stored.
这样,能够在后续用户在该预设多媒体控制界面上进行控制操作后,通过存储的播放记录快速找到关注的音乐,并播放该音乐。In this way, after the subsequent user performs a control operation on the preset multimedia control interface, the music of interest can be quickly found through the stored playback records, and the music can be played.
在步骤203中,生成预设多媒体控制界面,并通过该预设多媒体控制界面展示该播放记录。In step 203, a preset multimedia control interface is generated, and the playback record is displayed through the preset multimedia control interface.
其中,该预设多媒体控制界面用于展示终端中安装的全部播放器的播放记录,示例地,当该多媒体是音乐时,该预设多媒体控制界面可以展示音乐的名称、歌手、所属的专辑、播放进度以及播放该歌曲的播放器的名称等,且该预设多媒体控制界面中还展示有控制按钮(如播放按钮,暂停按钮、上一曲和下一曲按钮等),这样,用户可以直接在该预设多媒体控制界面中对选定的音乐进行播放操作。Wherein, the preset multimedia control interface is used to display the playback records of all players installed in the terminal. For example, when the multimedia is music, the preset multimedia control interface can display the name of the music, the singer, the album it belongs to, Playing progress and the name of the player playing the song, etc., and control buttons (such as play button, pause button, previous and next button, etc.) are also displayed in the preset multimedia control interface, so that the user can directly The selected music is played in the preset multimedia control interface.
需要说明的是,在终端中安装有多个播放器时,由于该预设多媒体控制界面上展示全部播放器的播放记录,从而避免了在各个播放器中查找用户选定的多媒体,减少了用户操作,提升了用户体验。例如,当终端中安装有小米音乐播放器和酷狗音乐播放器时,则终端通过多媒体端口获取小米音乐播放器和酷狗音乐播放器各自的播放记录,并通过该预设多媒体控制界面展示获取的播放记录。It should be noted that when multiple players are installed in the terminal, since the playback records of all players are displayed on the preset multimedia control interface, it is avoided to search for the multimedia selected by the user in each player, reducing the user's operation, improving the user experience. For example, when Xiaomi Music Player and Kugou Music Player are installed in the terminal, the terminal obtains the respective playback records of Xiaomi Music Player and Kugou Music Player through the multimedia port, and displays and obtains them through the preset multimedia control interface. playback history.
在步骤204中,接收用户在该预设多媒体控制界面上触发的多媒体播放指令。In step 204, a multimedia playing instruction triggered by the user on the preset multimedia control interface is received.
其中,该多媒体播放指令用于指示播放该用户从展示的播放记录中选定的目标播放记录对应的目标多媒体。Wherein, the multimedia play instruction is used to instruct to play the target multimedia corresponding to the target play record selected by the user from the displayed play records.
在步骤205中,根据该目标播放记录中包括的播放器标识信息确定该目标播放器。In step 205, the target player is determined according to the player identification information included in the target play record.
继续以上述歌曲“稻香”为例,当用户在该预设多媒体控制界面中选定的目标多媒体为歌曲“稻香”时,确定该歌曲“稻香”的媒体信息为:歌曲名称“稻香”、歌手名称“周杰伦”、歌曲专辑“魔杰座”和音乐播放器名称“小米音乐播放器”(相当于播放器标识信息)等信息,从而根据该媒体信息确定该歌曲“稻香”对应的目标播放器为“小米音乐播放器”。Continuing to take the above-mentioned song "Daoxiang" as an example, when the target multimedia selected by the user in the preset multimedia control interface is the song "Daoxiang", the media information of the song "Daoxiang" is determined to be: song name "Daoxiang" "Xiang", singer name "Jay Chou", song album "Capricorn", and music player name "Xiaomi Music Player" (equivalent to player identification information), so as to determine the song "Daoxiang" according to the media information The corresponding target player is "Xiaomi Music Player".
在步骤206中,通过该目标播放器播放该目标多媒体。In step 206, the target multimedia is played by the target player.
在一种可能的实现方式中,终端可以调用该目标播放器的播放端口,并通过该播放端口播放该目标多媒体。这样,终端通过调用目标播放器的播放端口,从而调用目标播放器的播放服务,而无需打开该目标播放器。In a possible implementation manner, the terminal may invoke a playback port of the target player, and play the target multimedia through the playback port. In this way, the terminal invokes the playback service of the target player by calling the playback port of the target player without opening the target player.
在另一种可能的实现方式中,终端可以直接启动该目标播放器,并在启动的目标播放器中播放目标多媒体,此时,用户也可以在启动的目标播放器中对该目标多媒体的播放进行控制。In another possible implementation, the terminal can directly start the target player, and play the target multimedia in the started target player. At this time, the user can also play the target multimedia in the started target player Take control.
需要说明的是,在进行多媒体播放时,该目标播放器可以按照播放记录中的播放进度接续播放该目标多媒体,继续以上述歌曲“稻香”为例,该目标播放器之前播放该歌曲“稻香”的播放进度为“1分10秒”,则在播放该歌曲时,该目标播放器可以从“1分10秒”继续播放该歌曲。It should be noted that, during multimedia playback, the target player can continue to play the target multimedia according to the playback progress in the playback record. Continuing to take the above-mentioned song "Daoxiang" as an example, the target player played the song "Daoxiang" before. If the playback progress of "Scent" is "1 minute and 10 seconds", then when playing the song, the target player can continue to play the song from "1 minute and 10 seconds".
在步骤207中,在通过目标播放器播放该目标多媒体后,获取该目标播放器的第一播放记录。In step 207, after the target multimedia is played by the target player, the first play record of the target player is acquired.
在步骤208中,确定该第一播放记录对应的多媒体是否为目标多媒体。In step 208, it is determined whether the multimedia corresponding to the first playback record is the target multimedia.
在本步骤中,可以将该第一播放记录中包括的媒体信息与目标播放记录中的目标多媒体的媒体信息进行匹配,在匹配成功时,确定该第一播放记录对应的多媒体是目标多媒体;在匹配不成功时,确定该第一播放记录对应的多媒体不是目标多媒体。In this step, the media information included in the first play record can be matched with the media information of the target multimedia in the target play record, and when the matching is successful, it is determined that the multimedia corresponding to the first play record is the target multimedia; When the matching is unsuccessful, it is determined that the multimedia corresponding to the first play record is not the target multimedia.
例如,第一播放记录包括的歌曲名称为“平凡之路”,而目标播放记录包括的歌曲名称为“稻香”,则可以确定该第一播放记录对应的多媒体不是该目标多媒体。For example, if the song name included in the first playback record is "Ordinary Road", and the song name included in the target playback record is "Daoxiang", it can be determined that the multimedia corresponding to the first playback record is not the target multimedia.
又如,第一播放记录包括的歌曲名称为“淘汰”,歌手为“陈奕迅”,而目标播放记录包括的歌曲名称为“淘汰”,而歌手为“周杰伦”,则可以确定该第一播放记录对应的多媒体不是该目标多媒体。For another example, if the song name included in the first playback record is "Elimination" and the singer is "Eason Chan", and the song name included in the target playback record is "Elimination" and the singer is "Jay Chou", then the first playback record can be determined The corresponding multimedia is not the target multimedia.
再如,第一播放记录包括的歌曲名称为“淘汰”,歌手为“陈奕迅”,所属的专辑为“认了吧”,而目标播放记录包括的歌曲名称为“淘汰”,歌手为“陈奕迅”,而该歌曲所属的专辑为“陈奕迅演唱会全记录”,则仍然可以确定该第一播放记录对应的多媒体不是该目标多媒体。For another example, the name of the song included in the first playback record is "Elimination", the singer is "Eason Chan", and the album it belongs to is "Recognized", while the name of the song included in the target playback record is "Elimination" and the singer is "Eason Chan" , and the album to which the song belongs is "Eason Chan Concert Full Record", it can still be determined that the multimedia corresponding to the first play record is not the target multimedia.
在确定该第一播放记录对应的多媒体是目标多媒体时,执行步骤209;When it is determined that the multimedia corresponding to the first play record is the target multimedia, step 209 is performed;
在确定该第一播放记录对应的多媒体不是目标多媒体时,执行步骤210。When it is determined that the multimedia corresponding to the first playback record is not the target multimedia, step 210 is executed.
在步骤209中,根据该第一播放记录更新该预设多媒体控制界面中展示的该目标播放记录。In step 209, the target playback record displayed on the preset multimedia control interface is updated according to the first playback record.
在本步骤中,由于在当前多媒体和目标多媒体相同时,该播放记录中的媒体信息也相同,因此,只需要更新播放进度即可,从而无需另外存储新的播放记录,节约了系统资源。In this step, since the media information in the playing record is the same when the current multimedia and the target multimedia are the same, it is only necessary to update the playing progress, thereby saving system resources without additionally storing a new playing record.
例如,继续以上述歌曲“稻香”为例,当该目标多媒体和当前多媒体都为歌曲“稻香”时,获取当前多媒体的播放进度“1分30秒”,而存储的目标多媒体的播放进度为“1分10秒”,则将预设多媒体控制界面中的播放进度“1分10秒”更新为“1分30秒”,这样,当用户后续继续播放该目标多媒体时,则可以从“1分30秒”开始播放该目标多媒体。For example, continue taking the above-mentioned song "Taoxiang" as an example, when both the target multimedia and the current multimedia are the song "Daoxiang", the playback progress of the current multimedia is "1 minute and 30 seconds", and the stored target multimedia playback progress is "1 minute and 10 seconds", update the playback progress "1 minute and 10 seconds" in the preset multimedia control interface to "1 minute and 30 seconds". 1 minute 30 seconds" to start playing the target multimedia.
在步骤210中,将该第一播放记录添加至该预设多媒体控制界面。In step 210, the first play record is added to the preset multimedia control interface.
这样,可以在该预设多媒体控制界面中生成新的播放记录。In this way, a new playback record can be generated in the preset multimedia control interface.
需要说明的是,终端还可以接收用户对该目标播放器的卸载指令,并在终端接收到该卸载指令后,可以根据该卸载指令卸载该目标播放器,此时,在本公开另一实施例中,可以删除该预设多媒体控制界面中展示的与该目标播放器相关的媒体信息,这样,在该预设多媒体控制界面中将不再展示与该目标播放器相关的媒体信息,例如,当用户卸载小米音乐播放器后,终端将相应地删除与小米音乐播放器有关的播放记录。It should be noted that the terminal may also receive an uninstallation instruction from the user for the target player, and after receiving the uninstallation instruction, the terminal may uninstall the target player according to the uninstallation instruction. At this time, in another embodiment of the present disclosure , the media information related to the target player displayed in the preset multimedia control interface can be deleted, so that the media information related to the target player will no longer be displayed in the preset multimedia control interface, for example, when After the user uninstalls Mi Music Player, the terminal will delete the playback records related to Mi Music Player accordingly.
另外,对于在该预设多媒体控制界面中展示的播放记录,用户可能长时间内都不对其进行访问,为了合理利用该预设多媒体控制界面,在一种可能实现的方式中,可以获取该预设多媒体控制界面展示的目标播放记录的展示时长,并在确定该展示时长大于或者等于预设时长时,从该预设多媒体控制界面中删除该目标播放记录,这样,可以将该预设多媒体控制界面中的用户长时间不进行访问的播放记录删除,从而提高用户的体验,示例地,当该预设时间为3天时,若该预设多媒体控制界面已经展示“稻香”这首歌曲三天,并且用户在这三天内没有对“稻香”这首歌进行访问,在这种情况下,终端可以在该预设多媒体控制界面中删除该“稻香”这首歌的播放记录。In addition, the user may not access the playback records displayed in the preset multimedia control interface for a long time. In order to make reasonable use of the preset multimedia control interface, in a possible implementation manner, the preset Set the display duration of the target playback record displayed on the multimedia control interface, and when it is determined that the display duration is greater than or equal to the preset duration, delete the target playback record from the preset multimedia control interface, so that the preset multimedia control can be In the interface, the playback record that the user has not accessed for a long time is deleted, thereby improving the user experience. For example, when the preset time is 3 days, if the preset multimedia control interface has displayed the song "Daoxiang" for three days , and the user has not accessed the song "Daoxiang" within these three days, in this case, the terminal can delete the playback record of the song "Daoxiang" in the preset multimedia control interface.
需要说明的是,对于上述方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
采用上述方法,即使在播放器退出后,用户仍然可以根据预设多媒体控制界面中展示的播放记录对多媒体进行播放操作,从而避免了用户在该播放器退出后,需要再次启动播放器的启动操作,提高了用户体验,另外,在终端安装有多个播放器的情况下,可以通过该预设多媒体控制界面对全部播放器进行播放控制,用户无需再打开多个播放器,从而实现了通过该预设多媒体控制界面对多个播放器的集中控制,减少了用户操作,提升了用户体验。With the above method, even after the player exits, the user can still play the multimedia according to the playback records displayed in the preset multimedia control interface, thus avoiding the need for the user to start the player again after the player exits. , which improves the user experience. In addition, when multiple players are installed on the terminal, all players can be controlled through the preset multimedia control interface, and the user does not need to open multiple players. The centralized control of multiple players by the preset multimedia control interface reduces user operations and improves user experience.
图3是根据一示例性实施例示出的一种多媒体播放的装置的框图。参照图3,该装置包括第一接收模块301,第一确定模块302和播放模块303。Fig. 3 is a block diagram of a device for playing multimedia according to an exemplary embodiment. Referring to FIG. 3 , the device includes a first receiving module 301 , a first determining module 302 and a playing module 303 .
该第一接收模块301,被配置为接收用户在预设多媒体控制界面上触发的多媒体播放指令,其中,该预设多媒体控制界面用于展示终端中安装的全部播放器的播放记录;该多媒体播放指令用于指示播放该用户从展示的播放记录中选定的目标播放记录对应的目标多媒体;The first receiving module 301 is configured to receive a multimedia play instruction triggered by the user on a preset multimedia control interface, wherein the preset multimedia control interface is used to display the play records of all players installed in the terminal; the multimedia play The instruction is used to instruct to play the target multimedia corresponding to the target play record selected by the user from the displayed play records;
该第一确定模块302,被配置为确定该多媒体播放指令指示播放的目标多媒体对应的目标播放器;The first determination module 302 is configured to determine a target player corresponding to the target multimedia indicated by the multimedia play instruction;
该播放模块303,被配置为通过该目标播放器播放该目标多媒体。The playing module 303 is configured to play the target multimedia through the target player.
可选地,图4是图3所示实施例示出的一种多媒体播放的装置的框图,该装置还包括:Optionally, FIG. 4 is a block diagram of a device for multimedia playback shown in the embodiment shown in FIG. 3, and the device further includes:
第一获取模块304,被配置为获取该终端中安装的全部播放器的播放记录;The first obtaining module 304 is configured to obtain the playback records of all players installed in the terminal;
存储模块305,被配置为存储获取的播放记录;The storage module 305 is configured to store the acquired playback records;
生成模块306,被配置为生成该预设多媒体控制界面;The generating module 306 is configured to generate the preset multimedia control interface;
展示模块307,被配置为通过该预设多媒体控制界面展示该播放记录。The display module 307 is configured to display the playback record through the preset multimedia control interface.
可选地,该播放记录包括播放器标识信息;该第一确定模块,被配置为根据该播放记录中包括的播放器标识信息确定该目标播放器。Optionally, the play record includes player identification information; the first determining module is configured to determine the target player according to the player identification information included in the play record.
可选地,图5是图3所示实施例示出的一种多媒体播放的装置的框图,该播放模块303包括:Optionally, FIG. 5 is a block diagram of a device for multimedia playback shown in the embodiment shown in FIG. 3 , and the playback module 303 includes:
调用子模块3031,被配置为调用该目标播放器的播放端口;Call submodule 3031, configured to call the playback port of the target player;
播放子模块3032,被配置为通过该播放端口播放该目标多媒体。The playing submodule 3032 is configured to play the target multimedia through the playing port.
可选地,该目标播放记录包括播放进度;该播放模块303,被配置为按照该播放进度接续播放该目标多媒体。Optionally, the target playing record includes a playing progress; the playing module 303 is configured to continuously play the target multimedia according to the playing progress.
可选地,图6是图3所示实施例示出的一种多媒体播放的装置的框图,该装置还包括:Optionally, FIG. 6 is a block diagram of a device for multimedia playback shown in the embodiment shown in FIG. 3, and the device further includes:
第二获取模块308,被配置为在通过该目标播放器播放该目标多媒体后,获取该目标播放器的第一播放记录;The second obtaining module 308 is configured to obtain the first play record of the target player after the target multimedia is played by the target player;
添加模块309,被配置为将该第一播放记录添加至该预设多媒体控制界面。The adding module 309 is configured to add the first playing record to the preset multimedia control interface.
可选地,图7是图6所示实施例示出的一种多媒体播放的装置的框图,该装置还包括:Optionally, FIG. 7 is a block diagram of a device for multimedia playback shown in the embodiment shown in FIG. 6, and the device further includes:
第二确定模块310,被配置为确定该第一播放记录对应的多媒体是否为目标多媒体;The second determination module 310 is configured to determine whether the multimedia corresponding to the first playback record is the target multimedia;
该添加模块309,被配置为在该第一播放记录对应的多媒体为目标多媒体时,根据该第一播放记录更新该预设多媒体控制界面中展示的该目标播放记录。The adding module 309 is configured to update the target playback record displayed in the preset multimedia control interface according to the first playback record when the multimedia corresponding to the first playback record is target multimedia.
可选地,图8是图3所示实施例示出的一种多媒体播放的装置的框图,该装置还包括:Optionally, FIG. 8 is a block diagram of a device for multimedia playback shown in the embodiment shown in FIG. 3, and the device further includes:
第二接收模块311,被配置为接收用户对该目标播放器的卸载指令;The second receiving module 311 is configured to receive an uninstall instruction from the user on the target player;
第一删除模块312,被配置为在接收到该卸载指令后,删除该预设多媒体控制界面中展示的与该目标播放器相关的播放记录。The first deletion module 312 is configured to delete the playback records related to the target player displayed in the preset multimedia control interface after receiving the uninstallation instruction.
可选地,图9是图3所示实施例示出的一种多媒体播放的的装置的框图,该装置还包括:Optionally, FIG. 9 is a block diagram of a device for multimedia playback shown in the embodiment shown in FIG. 3, and the device further includes:
第三确定模块313,被配置为确定该预设多媒体控制界面展示的目标播放记录的展示时长;The third determination module 313 is configured to determine the display duration of the target playback record displayed on the preset multimedia control interface;
第二删除模块314,被配置为在该展示时长大于或者等于预设时长时,从该预设多媒体控制界面中删除该目标播放记录。The second deletion module 314 is configured to delete the target playback record from the preset multimedia control interface when the display duration is greater than or equal to a preset duration.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
采用上述装置,即使在播放器退出后,用户仍然可以根据预设多媒体控制界面中展示的播放记录对多媒体进行播放操作,从而避免了用户在该播放器退出后,需要再次启动播放器的启动操作,提高了用户体验,另外,在终端安装有多个播放器的情况下,可以通过该预设多媒体控制界面对全部播放器进行播放控制,用户无需再打开多个播放器,从而实现了通过该预设多媒体控制界面对多个播放器的集中控制,减少了用户操作,提升了用户体验。With the above device, even after the player exits, the user can still play the multimedia according to the playback records displayed in the preset multimedia control interface, thereby avoiding the need for the user to start the player again after the player exits. , which improves the user experience. In addition, when multiple players are installed on the terminal, all players can be controlled through the preset multimedia control interface, and the user does not need to open multiple players. The centralized control of multiple players by the preset multimedia control interface reduces user operations and improves user experience.
图10是根据一示例性实施例示出的一种用于多媒体播放的装置1000的框图。例如,装置1000可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 10 is a block diagram of an apparatus 1000 for playing multimedia according to an exemplary embodiment. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图10,装置1000可以包括以下一个或多个组件:处理组件1002,存储器1004,电力组件1006,多媒体组件1008,音频组件1010,输入/输出(I/O)的接口1012,传感器组件1014,以及通信组件1016。10, device 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communication component 1016.
处理组件1002通常控制装置1000的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1002可以包括一个或多个处理器1020来执行指令,以完成上述多媒体播放的方法的全部或部分步骤。此外,处理组件1002可以包括一个或多个模块,便于处理组件1002和其他组件之间的交互。例如,处理组件1002可以包括多媒体模块,以方便多媒体组件1008和处理组件1002之间的交互。The processing component 1002 generally controls the overall operations of the device 1000, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the above multimedia playing method. Additionally, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, processing component 1002 may include a multimedia module to facilitate interaction between multimedia component 1008 and processing component 1002 .
存储器1004被配置为存储各种类型的数据以支持在装置1000的操作。这些数据的示例包括用于在装置1000上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1004可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1004 is configured to store various types of data to support operations at the device 1000 . Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1004 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电力组件1006为装置1000的各种组件提供电力。电力组件1006可以包括电源管理系统,一个或多个电源,及其他与为装置1000生成、管理和分配电力相关联的组件。Power component 1006 provides power to various components of device 1000 . Power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1000 .
多媒体组件1008包括在该装置1000和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。该触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与该触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1008包括一个前置摄像头和/或后置摄像头。当装置1000处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1008 includes a front camera and/or a rear camera. When the device 1000 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1010被配置为输出和/或输入音频信号。例如,音频组件1010包括一个麦克风(MIC),当装置1000处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1004或经由通信组件1016发送。在一些实施例中,音频组件1010还包括一个扬声器,用于输出音频信号。The audio component 1010 is configured to output and/or input audio signals. For example, the audio component 1010 includes a microphone (MIC), which is configured to receive external audio signals when the device 1000 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1004 or sent via communication component 1016 . In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.
I/O接口1012为处理组件1002和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1012 provides an interface between the processing component 1002 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件1014包括一个或多个传感器,用于为装置1000提供各个方面的状态评估。例如,传感器组件1014可以检测到装置1000的打开/关闭状态,组件的相对定位,例如该组件为装置1000的显示器和小键盘,传感器组件1014还可以检测装置1000或装置1000一个组件的位置改变,用户与装置1000接触的存在或不存在,装置1000方位或加速/减速和装置1000的温度变化。传感器组件1014可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1014还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1014还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1014 includes one or more sensors for providing status assessments of various aspects of device 1000 . For example, the sensor component 1014 can detect the open/closed state of the device 1000, the relative positioning of components, such as the display and keypad of the device 1000, the sensor component 1014 can also detect a change in the position of the device 1000 or a component of the device 1000, Presence or absence of user contact with device 1000 , device 1000 orientation or acceleration/deceleration and temperature changes of device 1000 . The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件1016被配置为便于装置1000和其他设备之间有线或无线方式的通信。装置1000可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1016经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,该通信组件1016还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1016 is configured to facilitate wired or wireless communication between the apparatus 1000 and other devices. The device 1000 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1000可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述多媒体播放的方法。In an exemplary embodiment, apparatus 1000 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Realized by a gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, it is used to execute the above multimedia playing method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1004,上述指令可由装置1000的处理器1020执行以完成上述多媒体播放的方法。例如,该非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1004 including instructions, which can be executed by the processor 1020 of the device 1000 to complete the above multimedia playing method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
当该存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种多媒体播放的方法,该方法包括:接收用户在预设多媒体控制界面上触发的多媒体播放指令,其中,该预设多媒体控制界面用于展示终端中安装的全部播放器的播放记录;该多媒体播放指令用于指示播放该用户从展示的播放记录中选定的目标播放记录对应的目标多媒体;确定该多媒体播放指令指示播放的目标多媒体对应的目标播放器;通过该目标播放器播放该目标多媒体。When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal is enabled to execute a multimedia playback method, the method includes: receiving a multimedia playback instruction triggered by a user on a preset multimedia control interface, wherein the The preset multimedia control interface is used to display the play records of all players installed in the terminal; the multimedia play instruction is used to instruct to play the target multimedia corresponding to the target play record selected by the user from the displayed play records; determine the multimedia play The instruction indicates the target player corresponding to the target multimedia to be played; the target multimedia is played by the target player.
本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (19)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611094961.9A CN106598432A (en) | 2016-11-30 | 2016-11-30 | Multimedia playing method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611094961.9A CN106598432A (en) | 2016-11-30 | 2016-11-30 | Multimedia playing method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106598432A true CN106598432A (en) | 2017-04-26 |
Family
ID=58596184
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611094961.9A Pending CN106598432A (en) | 2016-11-30 | 2016-11-30 | Multimedia playing method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106598432A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108683931A (en) * | 2018-05-21 | 2018-10-19 | 瞪羚实训(北京)科技有限公司 | A kind of multi-medium play method and system, storage medium |
| CN108882043A (en) * | 2018-05-31 | 2018-11-23 | 维沃移动通信有限公司 | A kind of control method for playing back and mobile terminal |
| CN109857300A (en) * | 2019-02-22 | 2019-06-07 | 维沃移动通信有限公司 | Method and device for providing multimedia services |
| CN110221749A (en) * | 2019-05-31 | 2019-09-10 | 掌阅科技股份有限公司 | The display methods of e-book overall situation player entrance calculates equipment and storage medium |
| CN113641839A (en) * | 2021-07-13 | 2021-11-12 | 维沃移动通信(杭州)有限公司 | Multimedia file searching method and device |
| CN114757688A (en) * | 2021-01-11 | 2022-07-15 | 腾讯科技(深圳)有限公司 | Media resource broadcasting method and device, electronic equipment and readable storage medium |
| CN114860131A (en) * | 2022-05-26 | 2022-08-05 | 中国第一汽车股份有限公司 | Control method, device, equipment, medium and product for vehicle-mounted multimedia application |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101023426A (en) * | 2004-07-23 | 2007-08-22 | 联邦科学和工业研究组织 | Method and system for integrating browsing histories with media playlists |
| CN102779544A (en) * | 2012-07-25 | 2012-11-14 | Tcl集团股份有限公司 | Method and device for generating media information list |
| CN103475939A (en) * | 2013-09-02 | 2013-12-25 | 小米科技有限责任公司 | Method, device and server for processing play record |
| CN103634684A (en) * | 2013-12-02 | 2014-03-12 | 乐视致新电子科技(天津)有限公司 | Television and processing method and device of play records therein |
-
2016
- 2016-11-30 CN CN201611094961.9A patent/CN106598432A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101023426A (en) * | 2004-07-23 | 2007-08-22 | 联邦科学和工业研究组织 | Method and system for integrating browsing histories with media playlists |
| CN102779544A (en) * | 2012-07-25 | 2012-11-14 | Tcl集团股份有限公司 | Method and device for generating media information list |
| CN103475939A (en) * | 2013-09-02 | 2013-12-25 | 小米科技有限责任公司 | Method, device and server for processing play record |
| CN103634684A (en) * | 2013-12-02 | 2014-03-12 | 乐视致新电子科技(天津)有限公司 | Television and processing method and device of play records therein |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108683931A (en) * | 2018-05-21 | 2018-10-19 | 瞪羚实训(北京)科技有限公司 | A kind of multi-medium play method and system, storage medium |
| CN108882043A (en) * | 2018-05-31 | 2018-11-23 | 维沃移动通信有限公司 | A kind of control method for playing back and mobile terminal |
| CN109857300A (en) * | 2019-02-22 | 2019-06-07 | 维沃移动通信有限公司 | Method and device for providing multimedia services |
| CN110221749A (en) * | 2019-05-31 | 2019-09-10 | 掌阅科技股份有限公司 | The display methods of e-book overall situation player entrance calculates equipment and storage medium |
| CN110221749B (en) * | 2019-05-31 | 2020-09-11 | 掌阅科技股份有限公司 | Display method, computing device and storage medium of e-book global player entrance |
| CN114757688A (en) * | 2021-01-11 | 2022-07-15 | 腾讯科技(深圳)有限公司 | Media resource broadcasting method and device, electronic equipment and readable storage medium |
| CN114757688B (en) * | 2021-01-11 | 2025-10-17 | 腾讯科技(深圳)有限公司 | Method and device for playing media resources, electronic equipment and readable storage medium |
| CN113641839A (en) * | 2021-07-13 | 2021-11-12 | 维沃移动通信(杭州)有限公司 | Multimedia file searching method and device |
| WO2023284750A1 (en) * | 2021-07-13 | 2023-01-19 | 维沃移动通信(杭州)有限公司 | Multimedia file searching method and apparatus |
| CN113641839B (en) * | 2021-07-13 | 2025-02-14 | 维沃移动通信(杭州)有限公司 | Multimedia file search method and device |
| CN114860131A (en) * | 2022-05-26 | 2022-08-05 | 中国第一汽车股份有限公司 | Control method, device, equipment, medium and product for vehicle-mounted multimedia application |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106598432A (en) | Multimedia playing method and device | |
| CN105955579A (en) | Music playing control method and device | |
| CN107122158A (en) | The method and device of broadcast information prompting audio, electronic equipment | |
| CN105430487A (en) | A method, device and system for playing multimedia data | |
| CN106559712B (en) | Video playback processing method, device and terminal device | |
| CN105635254B (en) | multimedia resource downloading method and device | |
| WO2016029685A1 (en) | Method and device for compatibility between router management application and router firmware | |
| CN108966025A (en) | Video broadcasting method, device and computer readable storage medium | |
| CN106020634A (en) | Screen capture method and device | |
| CN106792173A (en) | Video broadcasting method and device | |
| CN107333182A (en) | The player method and device of multimedia file | |
| CN107147957B (en) | Video broadcasting method and device | |
| CN105843853A (en) | Clearing method and apparatus for intelligent device | |
| CN107743244A (en) | Live video method and device | |
| CN106534963A (en) | Direct broadcast processing method, direct broadcast processing device and terminal | |
| CN106792118A (en) | The player method and device of multimedia file | |
| CN106128440A (en) | A kind of lyrics display processing method, device, terminal unit and system | |
| CN106453032B (en) | Information-pushing method and device, system | |
| CN106547597A (en) | The control method and device of application program update | |
| CN106503234A (en) | Multimedia file processing method, device and electronic equipment | |
| CN106528442B (en) | Cache cleaning method and device | |
| CN108769769A (en) | Playback method, device and the computer readable storage medium of video | |
| CN107943370A (en) | Advertisement display method, device and storage medium | |
| CN106535007A (en) | Video play method, device and equipment | |
| CN107368280A (en) | Method for controlling volume, device and the interactive voice equipment of interactive voice |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170426 |