WO2018000628A1 - Playback control method, device, and electronic apparatus - Google Patents

Playback control method, device, and electronic apparatus Download PDF

Info

Publication number
WO2018000628A1
WO2018000628A1 PCT/CN2016/100354 CN2016100354W WO2018000628A1 WO 2018000628 A1 WO2018000628 A1 WO 2018000628A1 CN 2016100354 W CN2016100354 W CN 2016100354W WO 2018000628 A1 WO2018000628 A1 WO 2018000628A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
time
multimedia
file identifier
playlist
Prior art date
Application number
PCT/CN2016/100354
Other languages
French (fr)
Chinese (zh)
Inventor
许吉
Original Assignee
乐视控股(北京)有限公司
乐视网信息技术(北京)股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视网信息技术(北京)股份有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2018000628A1 publication Critical patent/WO2018000628A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection

Definitions

  • the embodiments of the present invention relate to the field of computer technologies, and in particular, to a playback control method, apparatus, and electronic device.
  • the display interface when a user views a multimedia file, the display interface also displays a playlist, which includes: the names of multiple multimedia files and the upload time, for example, Happy Camp 2015-12-12, Happy Camp 2015-12 -19 and so on.
  • the multimedia file When the user clicks on any multimedia file, the multimedia file is played.
  • the multimedia file When the multimedia file is played, it will automatically jump to the old multimedia file in the playlist, for example, when playing Happy Camp 2015- In the 12-19th period, it will automatically jump to Happy Camp 2015-12-12.
  • the present invention provides a playback control method, apparatus, and electronic device.
  • a playback control method including:
  • the method further includes:
  • the arranged playlists are displayed.
  • the file identifier corresponding to the uploading time adjacent to the reference time is determined to be a file identifier to be played, including:
  • the file identifier corresponding to the target upload time is determined as the target file identifier.
  • the candidate list is the playlist.
  • the obtaining the file identifier that includes the plurality of multimedia files and the playlist corresponding to the upload time of each file identifier further includes:
  • At least one file identifier set is constructed, and the keywords of the file identifiers in each of the file identifier sets are the same;
  • a playlist is generated corresponding to each file identification set.
  • a playback control apparatus includes:
  • An obtaining module configured to acquire a file identifier that includes multiple multimedia files and a playlist corresponding to an upload time corresponding to each file identifier
  • a first determining module configured to determine, when the playback of any one of the multimedia files in the playlist ends, a upload time of the multimedia file that is finished playing as a reference time
  • a second determining module configured to: when there is a multimedia file whose upload time is later than the reference time, in the multimedia file whose upload time is later than the reference time, determine the adjacent to the reference time
  • the file identifier corresponding to the upload time is the file identifier to be played;
  • a playing module configured to play a multimedia file corresponding to the file identifier to be played.
  • the device further includes:
  • An arranging module configured to arrange file identifiers of at least one multimedia file in the playlist in reverse chronological order of upload time
  • a display module configured to display the arranged playlist.
  • the second determining module includes:
  • a first determining submodule configured to determine, in the multimedia file that is located before the reference time in the playlist, an upload time adjacent to the reference time as a target upload time
  • a second determining submodule configured to determine, as the target file identifier, a file identifier corresponding to the target upload time.
  • the obtaining module includes:
  • a receiving submodule configured to receive a candidate list of keywords for recording a file identifier of the at least one multimedia file
  • a determining sub-module configured to determine whether keywords of all file identifiers in the candidate list are the same
  • a third determining submodule configured to determine, when the keywords of all the files are the same, the candidate list is the playlist.
  • the acquiring module further includes:
  • a sub-module configured to: when there are different keywords of the file identifier, construct at least one file identifier set, where the keywords of the file identifiers in each of the file identifier sets are the same;
  • a sub-module is generated for generating a playlist corresponding to each file identification set.
  • an electronic device comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • FIG. 2 is a structural diagram of a playback control apparatus according to an exemplary embodiment
  • the target uploading time is Can be 2015-12-19.
  • a playback control apparatus including: an acquisition module 201, a first determination module 202, a second determination module 203, and a playback module 204.
  • a second determining submodule configured to determine, as the target file identifier, a file identifier corresponding to the target upload time.
  • a third determining submodule configured to determine, when the keywords of all the files are the same, the candidate list is the playlist.
  • FIG. 3 is a block diagram of an electronic device, according to an exemplary embodiment.
  • the electronic device includes:
  • the processor 410, the memory 420, the input device 430, and the output device 440 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the input device 430 can receive the input digital or character information and generate a key signal input related to user settings and function control of the playback control device.
  • Output device 440 can include a display device such as a display screen.
  • the electronic device of the embodiment of the invention exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • electronic devices include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are When executed, the computer is caused to perform any of the above-described method embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiments of the invention provide a playback control method, device, and electronic apparatus. The method comprises: acquiring a playlist comprising file identifiers of a plurality of multimedia files and upload times corresponding thereto; after playback of any of the multimedia files in the playlist is finished, determining an upload time of the finished playback of the multimedia file as a reference time; if a multimedia file having an upload time later than the reference time is present in the playlist, determining, from all multimedia files having upload times later than the reference time, a file identifier corresponding to an upload time adjacent to the reference time as an identifier of a file to be played; and playing a multimedia file corresponding to the identifier of the file to be played. The invention is employed to automatically jump, after finishing playing a present multimedia file, to a latest multimedia file successive to the present multimedia file, preventing a user from manually looking up the latest multimedia file, providing a simple and easy operation, and saving time for the user.

Description

播放控制方法、装置及电子设备Play control method, device and electronic device
本申请要求于2016年6月30日提交中国专利局、申请号为201610507530.4、发明名称为“播放控制方法、装置及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610507530.4, entitled "Playback Control Method, Apparatus, and Terminal" on June 30, 2016, the entire contents of which are incorporated herein by reference. .
技术领域Technical field
本发明实施例涉及计算机技术领域,尤其涉及一种播放控制方法、装置及电子设备。The embodiments of the present invention relate to the field of computer technologies, and in particular, to a playback control method, apparatus, and electronic device.
背景技术Background technique
当前,用户在观看多媒体文件时,显示界面也会显示播放列表,播放列表中包括:多个多媒体文件的名称及上传时间,例如,快乐大本营第2015-12-12期,快乐大本营第2015-12-19期等。Currently, when a user views a multimedia file, the display interface also displays a playlist, which includes: the names of multiple multimedia files and the upload time, for example, Happy Camp 2015-12-12, Happy Camp 2015-12 -19 and so on.
当用户点击任意一个多媒体文件时,即播放该多媒体文件,当该多媒体文件播放结束后,一般会自动跳转到播放列表中的旧一期的多媒体文件,例如,当播放完快乐大本营第2015-12-19期,则自动跳转到快乐大本营第2015-12-12期。When the user clicks on any multimedia file, the multimedia file is played. When the multimedia file is played, it will automatically jump to the old multimedia file in the playlist, for example, when playing Happy Camp 2015- In the 12-19th period, it will automatically jump to Happy Camp 2015-12-12.
发明人在实现本发明实施例的过程中发现,相关技术中的这种方案至少存在如下缺点。The inventors found in the process of implementing the embodiments of the present invention that such a scheme in the related art has at least the following disadvantages.
当用户实际希望观看的是新一期的多媒体文件,例如,播放完快乐大本营第2015-12-19期后,想要观看的是第2015-12-26期,这样,用户需要手动查找到播放列表中,比较哪一个多媒体文件的上传时间是新一期的上传时间,然后再点击播放,操作过程繁琐、复杂,浪费用户时间。 When the user actually wants to watch the new multimedia file, for example, after playing Happy Camp 2015-12-19, I want to watch the 2015-12-26 period, so the user needs to manually find the player. In the list, compare which uploading time of the multimedia file is the uploading time of the new period, and then click to play, the operation process is cumbersome and complicated, and the user time is wasted.
发明内容Summary of the invention
为克服相关技术中存在的问题,本发明提供一种播放控制方法、装置及电子设备。To overcome the problems in the related art, the present invention provides a playback control method, apparatus, and electronic device.
根据本发明实施例的第一方面,提供一种播放控制方法,包括:According to a first aspect of the embodiments of the present invention, a playback control method is provided, including:
获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表;Obtaining a playlist including a file identifier of a plurality of multimedia files and an upload time corresponding to each file identifier;
当所述播放列表中任意一个多媒体文件播放结束时,确定播放结束的多媒体文件的上传时间为参考时间;When the playing of any one of the multimedia files in the playlist ends, determining that the uploading time of the multimedia file after the playing is the reference time;
当所述播放列表中存在上传时间晚于所述参考时间的多媒体文件时,在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识;When there is a multimedia file whose upload time is later than the reference time, in the multimedia file whose upload time is later than the reference time, it is determined that the file identifier corresponding to the upload time adjacent to the reference time is The file identifier to be played;
播放与所述待播放文件标识对应的多媒体文件。Playing a multimedia file corresponding to the file identifier to be played.
可选地,所述方法还包括:Optionally, the method further includes:
按照上传时间的时间顺序倒序,排列所述播放列表中的至少一个多媒体文件的文件标识;Arranging, in reverse order of the uploading time, a file identifier of at least one multimedia file in the playlist;
显示排列后的所述播放列表。The arranged playlists are displayed.
可选地,所述在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识,包括:Optionally, in the multimedia file that is later than the reference time, the file identifier corresponding to the uploading time adjacent to the reference time is determined to be a file identifier to be played, including:
在所述播放列表中位置位于所述参考时间之前的多媒体文件中,确定与所述参考时间相邻的上传时间为目标上传时间;Determining, in the multimedia file in the playlist that the location is before the reference time, an upload time adjacent to the reference time is a target upload time;
将与所述目标上传时间对应的文件标识确定为目标文件标识。 The file identifier corresponding to the target upload time is determined as the target file identifier.
可选地,所述获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表,包括:Optionally, the acquiring a file identifier that includes a plurality of multimedia files and an uploading time corresponding to each file identifier includes:
接收记录至少一个多媒体文件的文件标识的关键字的候选列表;Receiving a candidate list of keywords for recording a file identifier of at least one multimedia file;
判断所述候选列表中所有文件标识的关键字是否相同;Determining whether the keywords identified by all the files in the candidate list are the same;
当所有文件标识的关键字相同时,确定所述候选列表为所述播放列表。When the keywords of all the file identifiers are the same, it is determined that the candidate list is the playlist.
可选地,所述获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表,还包括:Optionally, the obtaining the file identifier that includes the plurality of multimedia files and the playlist corresponding to the upload time of each file identifier further includes:
当存在不同的文件标识的关键字时,构建至少一个文件标识集合,每个所述文件标识集合中的文件标识的关键字相同;When there are different keywords of the file identifier, at least one file identifier set is constructed, and the keywords of the file identifiers in each of the file identifier sets are the same;
将每个文件标识集合对应生成一个播放列表。A playlist is generated corresponding to each file identification set.
根据本发明实施例的第二方面,提供一种播放控制装置,包括:According to a second aspect of the embodiments of the present invention, a playback control apparatus includes:
获取模块,用于获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表;An obtaining module, configured to acquire a file identifier that includes multiple multimedia files and a playlist corresponding to an upload time corresponding to each file identifier;
第一确定模块,用于当所述播放列表中任意一个多媒体文件播放结束时,确定播放结束的多媒体文件的上传时间为参考时间;a first determining module, configured to determine, when the playback of any one of the multimedia files in the playlist ends, a upload time of the multimedia file that is finished playing as a reference time;
第二确定模块,用于当所述播放列表中存在上传时间晚于所述参考时间的多媒体文件时,在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识;a second determining module, configured to: when there is a multimedia file whose upload time is later than the reference time, in the multimedia file whose upload time is later than the reference time, determine the adjacent to the reference time The file identifier corresponding to the upload time is the file identifier to be played;
播放模块,用于播放与所述待播放文件标识对应的多媒体文件。a playing module, configured to play a multimedia file corresponding to the file identifier to be played.
可选地,所述装置还包括: Optionally, the device further includes:
排列模块,用于按照上传时间的时间顺序倒序,排列所述播放列表中的至少一个多媒体文件的文件标识;An arranging module, configured to arrange file identifiers of at least one multimedia file in the playlist in reverse chronological order of upload time;
显示模块,用于显示排列后的所述播放列表。a display module, configured to display the arranged playlist.
可选地,所述第二确定模块包括:Optionally, the second determining module includes:
第一确定子模块,用于在所述播放列表中位置位于所述参考时间之前的多媒体文件中,确定与所述参考时间相邻的上传时间为目标上传时间;a first determining submodule, configured to determine, in the multimedia file that is located before the reference time in the playlist, an upload time adjacent to the reference time as a target upload time;
第二确定子模块,用于将与所述目标上传时间对应的文件标识确定为目标文件标识。And a second determining submodule, configured to determine, as the target file identifier, a file identifier corresponding to the target upload time.
可选地,所述获取模块包括:Optionally, the obtaining module includes:
接收子模块,用于接收记录至少一个多媒体文件的文件标识的关键字的候选列表;a receiving submodule, configured to receive a candidate list of keywords for recording a file identifier of the at least one multimedia file;
判断子模块,用于判断所述候选列表中所有文件标识的关键字是否相同;a determining sub-module, configured to determine whether keywords of all file identifiers in the candidate list are the same;
第三确定子模块,用于当所有文件标识的关键字相同时,确定所述候选列表为所述播放列表。And a third determining submodule, configured to determine, when the keywords of all the files are the same, the candidate list is the playlist.
可选地,所述获取模块,还包括:Optionally, the acquiring module further includes:
构建子模块,用于当存在不同的文件标识的关键字时,构建至少一个文件标识集合,每个所述文件标识集合中的文件标识的关键字相同;a sub-module, configured to: when there are different keywords of the file identifier, construct at least one file identifier set, where the keywords of the file identifiers in each of the file identifier sets are the same;
生成子模块,用于将每个文件标识集合对应生成一个播放列表。A sub-module is generated for generating a playlist corresponding to each file identification set.
根据本发明实施例的第三方面,提供一种电子设备,所述电子设备包括:According to a third aspect of the embodiments of the present invention, an electronic device is provided, the electronic device comprising:
处理器; Processor
用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
其中,所述处理器被配置为:Wherein the processor is configured to:
获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表;Obtaining a playlist including a file identifier of a plurality of multimedia files and an upload time corresponding to each file identifier;
当所述播放列表中任意一个多媒体文件播放结束时,确定播放结束的多媒体文件的上传时间为参考时间;When the playing of any one of the multimedia files in the playlist ends, determining that the uploading time of the multimedia file after the playing is the reference time;
当所述播放列表中存在上传时间晚于所述参考时间的多媒体文件时,在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识;When there is a multimedia file whose upload time is later than the reference time, in the multimedia file whose upload time is later than the reference time, it is determined that the file identifier corresponding to the upload time adjacent to the reference time is The file identifier to be played;
播放与所述待播放文件标识对应的多媒体文件。Playing a multimedia file corresponding to the file identifier to be played.
根据本发明实施例的第四方面,非易失性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为可实现本发明第一方面提供的一种播放控制方法的各实现方式中的部分或全部步骤。According to a fourth aspect of the embodiments of the present invention, a non-transitory computer readable storage medium storing computer-executable instructions configured to implement a playback control method provided by the first aspect of the present invention Some or all of the steps in each implementation.
根据本发明实施例的第五方面,还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行本发明第一方面提供的一种播放控制方法的各实现方式中的部分或全部步骤。According to a fifth aspect of the embodiments of the present invention, there is also provided a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions When the program instructions are executed by a computer, the computer is caused to perform some or all of the steps in various implementations of a playback control method provided by the first aspect of the present invention.
本发明的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:
本发明实施例通过首先获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表;当所述播放列表中任意一个多媒体文件播放结束时,确定播放结束的多媒体文件的上传时间为参考时间;当所述播放列表中存在上传时间晚于所述参考时间的多媒体文件 时,在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识;可以播放与所述待播放文件标识对应的多媒体文件。The embodiment of the present invention first obtains a playlist including a file identifier of a plurality of multimedia files and an upload time corresponding to each file identifier; and when the playback of any one of the multimedia files in the playlist ends, determining a multimedia file that is finished playing. The uploading time is the reference time; when there is a multimedia file in the playlist that the uploading time is later than the reference time And determining, in the multimedia file that is later than the reference time, the file identifier corresponding to the uploading time adjacent to the reference time is a file identifier to be played; and playing the multimedia file corresponding to the file identifier to be played. .
本发明提供的该方法,能够在播放完当前多媒体文件后,自动跳转到当前多媒体后的、最新一期的多媒体文件,避免用户手动查找新一期的多媒体文件,操作简单、方便,节省用户时间。The method provided by the invention can automatically jump to the latest multimedia file after the current multimedia after playing the current multimedia file, so as to avoid the user manually searching for the new multimedia file, the operation is simple and convenient, and the user is saved. time.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。The above general description and the following detailed description are intended to be illustrative and not restrictive.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是根据一示例性实施例示出的一种播放控制方法的流程图;FIG. 1 is a flowchart of a playback control method according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种播放控制装置的结构图;FIG. 2 is a structural diagram of a playback control apparatus according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种电子设备的框图;FIG. 3 is a block diagram of an electronic device according to an exemplary embodiment;
图4为根据一示例性实施例示出的又一种电子设备的框图。FIG. 4 is a block diagram of still another electronic device according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发 明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments are not representative of the present invention. All implementations that are consistent with each other. Instead, they are merely examples of devices and methods consistent with aspects of the invention as detailed in the appended claims.
如图1所示,在本发明的一个实施例中,提供一种播放控制方法,包括以下步骤:As shown in FIG. 1, in an embodiment of the present invention, a playback control method is provided, including the following steps:
在步骤S101中,获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表。In step S101, a playlist including a file identifier of a plurality of multimedia files and an upload time corresponding to each file identifier is acquired.
在本发明实施例中,多媒体文件可以指视频、音频等,多媒体文件的文件标识可以指《快乐大本营》第2015-12-26期,《快乐大本营》第2015-12-19期,《快乐大本营》第2015-12-12期等,多媒体文件的上传时间可以指2015-12-12、2015-12-29等,多媒体文件的文件标识与上传时间均是一一对应的,播放列表可以指包含同一类多媒体文件的文件标识及上传时间的列表,例如:可以指包含预设时间段内每一期《快乐大本营》的文件标识的列表,如下表1所示:In the embodiment of the present invention, the multimedia file may refer to video, audio, etc., and the file identifier of the multimedia file may refer to "Happy Camp" 2015-12-26, "Happy Camp" 2015-12-19, "Happy Camp" 》2015-12-12, etc., the upload time of the multimedia file may refer to 2015-12-12, 2015-12-29, etc., the file identifier of the multimedia file and the upload time are one-to-one correspondence, and the playlist may refer to A list of file identifiers and upload times of the same type of multimedia files, for example, may refer to a list of file identifiers for each period of "Happy Camp" in a preset time period, as shown in Table 1 below:
表1Table 1
《快乐大本营》第2015-12-26期Happy Camp 2015-12-26
《快乐大本营》第2015-12-19期Happy Camp 2015-12-19
《快乐大本营》第2015-12-12期"Happy Camp" 2015-12-12
……......
也可以指包含《甄嬛传》所有剧集的文件标识的列表,这是上传时间可以指视频的ID,例如,第N集等,如下表2所示:It can also refer to a list of file identifiers containing all the episodes of "Biography". This is the ID of the video that can be referred to as the upload time, for example, the Nth episode, as shown in Table 2 below:
表2Table 2
《甄嬛传》第56集Episode 56
《甄嬛传》第55集Episode 55
《甄嬛传》第54集Episode 54 of The Biography
……......
在该步骤中,可以在向服务端发送多媒体播放请求后,获取服务端返回的播放列表,也可以获取本地之前缓存的播放列表等。In this step, after the multimedia play request is sent to the server, the playlist returned by the server may be obtained, or the playlist cached before the local may be obtained.
在步骤S102中,当所述播放列表中任意一个多媒体文件播放结束时,确定播放结束的多媒体文件的上传时间为参考时间。In step S102, when the playback of any one of the multimedia files in the playlist ends, it is determined that the upload time of the multimedia file whose playback ends is the reference time.
在本公开实施例中,播放列表对应的多媒体文件可以指播放列表中包含的至少一个文件标识对应的多媒体文件,这里可以获取播放结束的多媒体文件的文件标识,判断获取的文件标识是否为播放列表中的任意一个文件标识,如果获取的文件标识是播放列表中的任意一个文件标识,则可以确定播放列表对应的任意一个多媒体文件播放结束。In the embodiment of the present disclosure, the multimedia file corresponding to the playlist may refer to the multimedia file corresponding to the at least one file identifier included in the playlist. Here, the file identifier of the multimedia file that is played back may be obtained, and whether the obtained file identifier is a playlist is determined. If any of the file identifiers in the playlist is any file identifier in the playlist, it can be determined that any multimedia file corresponding to the playlist is played.
在该步骤中,可以获取播放结束的多媒体文件的文件标识,然后根据多媒体文件的文件标识查找对应的多媒体文件的上传时间,最后将该上传时间确定为参考时间。In this step, the file identifier of the multimedia file that is played back can be obtained, and then the upload time of the corresponding multimedia file is searched according to the file identifier of the multimedia file, and finally the upload time is determined as the reference time.
在步骤S103中,当所述播放列表中存在上传时间晚于所述参考时间的多媒体文件时,在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识。In step S103, when there is a multimedia file whose upload time is later than the reference time, in the multimedia file whose upload time is later than the reference time, the upload time adjacent to the reference time is determined. The corresponding file identifier is the file identifier to be played.
在本发明实施例中,可以将播放列表中的各个多媒体文件的文件标识进行按照上传时间的时间顺序倒序排序,然后查找在所述参考时间之后的、与参考时间相邻的上传时间,也就是查找晚于参考时间的、且距离参考时间最近的上传时间,例如:当播放列表如表1所示时,当参考时间为2015-12-12时,则最终查找到的晚于参考时间的最近的上传时间为 2015-12-19,最后确定与该上传时间对应的文件标识为目标文件标识,例如:《快乐大本营》第2015-12-19期。In the embodiment of the present invention, the file identifiers of the multimedia files in the playlist may be sorted in reverse order according to the time sequence of the upload time, and then the upload time adjacent to the reference time after the reference time may be searched, that is, Find the upload time that is later than the reference time and is closest to the reference time. For example, when the playlist is as shown in Table 1, when the reference time is 2015-12-12, the last found is later than the reference time. Upload time is 2015-12-19, finally determine the file identifier corresponding to the upload time as the target file identifier, for example: "Happy Camp" 2015-12-19.
在步骤S104中,播放与所述目标文件标识对应的多媒体文件。In step S104, the multimedia file corresponding to the target file identifier is played.
在本发明实施例中,可以首先获取与所述目标文件标识对应的多媒体文件的播放地址,然后播放从该播放地址获取的多媒体文件。In the embodiment of the present invention, the play address of the multimedia file corresponding to the target file identifier may be first acquired, and then the multimedia file acquired from the play address is played.
本发明通过首先获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表;当所述播放列表中任意一个多媒体文件播放结束时,确定播放结束的多媒体文件的上传时间为参考时间;当所述播放列表中存在上传时间晚于所述参考时间的多媒体文件时,在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识;可以播放与所述待播放文件标识对应的多媒体文件。The present invention first obtains a playlist including a file identifier of a plurality of multimedia files and an upload time corresponding to each file identifier; when the playback of any one of the multimedia files in the playlist ends, determining the upload of the multimedia file after the playback ends The time is the reference time; when there is a multimedia file whose upload time is later than the reference time, in the multimedia file whose upload time is later than the reference time, the upload time adjacent to the reference time is determined. The corresponding file identifier is the file identifier to be played; the multimedia file corresponding to the file identifier to be played can be played.
本发明实施例提供的该方法,能够在播放完当前多媒体文件后,自动跳转到当前多媒体文件后的、最新一期的多媒体文件,避免用户手动查找新一期的多媒体文件,操作简单、方便,节省用户时间。The method provided by the embodiment of the invention can automatically jump to the latest multimedia file after the current multimedia file after playing the current multimedia file, thereby preventing the user from manually searching for the new multimedia file, which is simple and convenient to operate. , saving user time.
在本发明的又一实施例中,所述方法还包括以下步骤:In still another embodiment of the present invention, the method further includes the following steps:
在步骤S201中,按照上传时间的时间顺序倒序,排列所述播放列表中的至少一个多媒体文件的文件标识。In step S201, the file identifiers of at least one multimedia file in the playlist are arranged in reverse order according to the time sequence of the upload time.
在本发明实施例中,例如,时间顺序倒序可以指2015-12-26,2015-12-19,2015-12-12的顺序,这样排列后的多媒体文件的文件标识的顺序可以为《快乐大本营》第2015-12-26期,《快乐大本营》第2015-12-19期,《快乐大本营》第2015-12-12期等,排列后的列表可以参见表1。 In the embodiment of the present invention, for example, the chronological order may refer to the order of 2015-12-26, 2015-12-19, 2015-12-12, so that the order of file identifiers of the arranged multimedia files may be "Happy Camp" "2015-12-26, "Happy Camp" 2015-12-19, "Happy Camp" 2015-12-12, etc., the list after the arrangement can be seen in Table 1.
在步骤S202中,显示排列后的所述播放列表。In step S202, the arranged playlists are displayed.
本发明通过按照上传时间的时间顺序倒序,排列所述播放列表中的至少一个多媒体文件的文件标识,然后可以显示排列后的所述播放列表。The present invention arranges the file identifiers of at least one multimedia file in the playlist in reverse order according to the time sequence of the upload time, and then displays the arranged playlists.
本发明实施例提供的该方法,能够自动显示倒序排列的播放列表,便于用户快速从播放列表中查找到新一期的多媒体文件。The method provided by the embodiment of the invention can automatically display the playlists arranged in reverse order, so that the user can quickly find a new multimedia file from the playlist.
在本发明的又一实施例中,所述步骤S103包括以下步骤:In still another embodiment of the present invention, the step S103 includes the following steps:
在步骤S301中,在所述播放列表中位置位于所述参考时间之前的多媒体文件中,确定与所述参考时间相邻的上传时间为目标上传时间。In step S301, in the multimedia file whose position in the playlist is located before the reference time, it is determined that the upload time adjacent to the reference time is the target upload time.
在本发明实施例中,例如,若上传时间的排序为2015-12-26,2015-12-19,2015-12-12,当所述参考时间为2015-12-12时,则目标上传时间可以为2015-12-19。In the embodiment of the present invention, for example, if the uploading time is ranked as 2015-12-26, 2015-12-19, 2015-12-12, when the reference time is 2015-12-12, the target uploading time is Can be 2015-12-19.
在步骤S302中,将与所述目标上传时间对应的文件标识确定为目标文件标识。In step S302, the file identifier corresponding to the target upload time is determined as the target file identifier.
本发明通过将在所述播放列表中位置位于所述参考时间之前的、且与所述参考时间相邻的上传时间确定为目标上传时间,将与所述目标上传时间对应的文件标识确定为目标文件标识。The present invention determines a file identifier corresponding to the target upload time as a target by determining an upload time that is located in the playlist before the reference time and adjacent to the reference time as a target upload time. File identification.
本发明实施例提供的该方法,能够自动确定目标文件标识,进而便于确定待播放的多媒体文件。The method provided by the embodiment of the invention can automatically determine the target file identifier, thereby facilitating determination of the multimedia file to be played.
在实际应用中,为了使用户能够连续的观看一系列同一类的名字,如,在观看完《快乐大本营》第2015-12-12期后,可以自动观看《快乐大本营》第2015-12-19期,而不是自动跳转到观看《甄嬛传》的某一集,为此,在本发明的又一实施例中,所述步骤S101包括以下步骤: In practical applications, in order to enable users to continuously watch a series of names of the same category, for example, after watching the "Happy Camp" 2015-12-12, you can automatically watch "Happy Camp" 2015-12-19 Instead of automatically jumping to a certain episode of "Biography", in a further embodiment of the invention, the step S101 comprises the following steps:
在步骤S401中,接收记录至少一个多媒体文件的文件标识的候选列表。In step S401, a candidate list of file identifiers for recording at least one multimedia file is received.
在本公开实施例中,可以接收服务器发送的候选列表,这个候选列表中可以包括至少一个多媒体文件的文件标识,虽然在服务端存储候选列表时,可能会对其中的文件标识进行分类,将分类后的文件标识存入候选列表,但是也有可能会出现不同列表的内容混淆的状况,例如,《我是歌手》第一季和《我是歌手》第二季应为不同的播放列表,由于其中均包含“我是歌手”几个字,可能会导致《我是歌手》第二季的文件标识混入《我是歌手》第一季的候选列表中。In the embodiment of the present disclosure, a candidate list sent by the server may be received, where the candidate list may include a file identifier of at least one multimedia file, although when the server stores the candidate list, the file identifier may be classified and classified. The file identifiers are added to the candidate list, but there may be cases where the content of different lists is confused. For example, the first season of "I am a singer" and the second season of "I am a singer" should be different playlists, because All of them contain the words "I am a singer", which may lead to the second season of "I am a singer" file logo mixed into the "I am a singer" first quarter candidate list.
在步骤S402中,判断所述候选列表中所有文件标识的关键字是否相同。In step S402, it is determined whether the keywords of all file identifiers in the candidate list are the same.
在本公开实施例中,可以首先提取文件标识的关键字,例如:“我是歌手第一季”“我是歌手第二季”,关键词提取结束后,可以将任意两个关键字进行逐一对比,进而可以判断所有关键字是否相同。In the embodiment of the present disclosure, the keyword of the file identifier may be first extracted, for example, “I am the first season of the singer” and “I am the second season of the singer”. After the keyword extraction is finished, any two keywords may be performed one by one. Contrast, and then you can determine whether all keywords are the same.
在步骤S403中,当所有文件标识的关键字相同时,确定所述候选列表为所述播放列表。In step S403, when the keywords of all the file identifiers are the same, it is determined that the candidate list is the playlist.
本发明通过接收记录至少一个多媒体文件的文件标识的候选列表,判断所述候选列表中所有文件标识的关键字是否相同,当所有文件标识的关键字相同时,可以确定所述候选列表为所述播放列表。The present invention determines whether the keywords of all the file identifiers in the candidate list are the same by receiving a candidate list of the file identifiers of the at least one multimedia file. When the keywords of all the file identifiers are the same, the candidate list may be determined as playlist.
本发明实施例提供的该方法,能够对接收到的候选列表中的文件标识进行筛选,当候选列表中的文件标识全部相同时,可以确定候选列表为播放列表。 The method provided by the embodiment of the present invention can filter the file identifiers in the received candidate list. When the file identifiers in the candidate list are all the same, the candidate list can be determined as the playlist.
在不同列表的内容出现混淆时,例如,《我是歌手》第一季和《我是歌手》第二季应为不同的播放列表,由于其中均包含“我是歌手”几个字,导致《我是歌手》第二季的文件标识混入《我是歌手》第一季的候选列表中等情况,为此,在本公开的又一实施例中,所述步骤S101中还包括以下步骤:When there is confusion in the content of different lists, for example, the first season of "I am a singer" and the second season of "I am a singer" should be different playlists, because they all contain the words "I am a singer", resulting in " I am a singer. The second season's document identification is mixed into the candidate list of the first season of "I am a singer". For this reason, in a further embodiment of the present disclosure, the step S101 further includes the following steps:
当存在不同的文件标识的关键字时,在步骤S501中,构建至少一个文件标识集合。When there are different keywords of the file identification, in step S501, at least one file identification set is constructed.
在本发明实施例中,每个所述文件标识集合中的文件标识的关键字相同,也就是说,可以将具有相同关键字的文件标识划分为一个文件标识集合,例如:《我是歌手》第一季的文件标识划分到一个文件标识集合,将《我是歌手》第二季的文件标识划分到另一个文件标识集合。In the embodiment of the present invention, the keywords of the file identifiers in each of the file identifier sets are the same, that is, the file identifiers having the same keyword may be divided into a file identifier set, for example, “I am a singer”. The file identification of the first season is divided into a file identification set, and the file identification of the second season of "I am a singer" is divided into another file identification set.
在步骤S502中,将每个文件标识集合对应生成一个播放列表。In step S502, each playlist is correspondingly generated to generate a playlist.
在该步骤中,可以根据每个文件标识集合中的文件标识获取对应的上传时间,然后根据文件标识集合生成包含至少一个文件标识及上传时间的播放列表。In this step, a corresponding upload time may be obtained according to the file identifier in each file identifier set, and then a playlist including at least one file identifier and an upload time is generated according to the file identifier set.
本发明通过当所有文件标识中存在不同的文件标识的关键字时,可以构建至少一个文件标识集合,然后可以将每个文件标识集合对应生成一个播放列表。The present invention can construct at least one file identifier set when there are different file identifier keywords in all file identifiers, and then each file identifier set can be correspondingly generated to generate one play list.
本发明实施例提供的该方法,能够将候选列表中存在不同文件标识的关键字时,生成多个播放列表,以使每个播放列表中的文件标识的关键字一致。In the method provided by the embodiment of the present invention, when there are keywords with different file identifiers in the candidate list, multiple playlists are generated, so that the keywords of the file identifiers in each playlist are consistent.
如图2所示,在本发明的又一实施例中,提供一种播放控制装置,包括:获取模块201、第一确定模块202、第二确定模块203和播放模块204。 As shown in FIG. 2, in another embodiment of the present invention, a playback control apparatus is provided, including: an acquisition module 201, a first determination module 202, a second determination module 203, and a playback module 204.
获取模块201,用于获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表;The obtaining module 201 is configured to acquire a file identifier including a plurality of multimedia files and a playlist corresponding to an upload time corresponding to each file identifier;
第一确定模块202,用于当所述播放列表中任意一个多媒体文件播放结束时,确定播放结束的多媒体文件的上传时间为参考时间;The first determining module 202 is configured to determine, when the playback of any one of the multimedia files in the playlist ends, the uploading time of the multimedia file that is finished playing as a reference time;
第二确定模块203,用于当所述播放列表中存在上传时间晚于所述参考时间的多媒体文件时,在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识;The second determining module 203 is configured to: when there is a multimedia file whose upload time is later than the reference time, in the multimedia file whose upload time is later than the reference time, determine to be adjacent to the reference time The file identifier corresponding to the upload time is the file identifier to be played;
播放模块204,用于播放与所述待播放文件标识对应的多媒体文件。The playing module 204 is configured to play a multimedia file corresponding to the file identifier to be played.
在本公开的又一实施例中,所述装置还包括:排列模块和显示模块。In still another embodiment of the present disclosure, the apparatus further includes: an arranging module and a display module.
排列模块,用于按照上传时间的时间顺序倒序,排列所述播放列表中的至少一个多媒体文件的文件标识。The arranging module is configured to arrange the file identifiers of the at least one multimedia file in the playlist in reverse chronological order of the uploading time.
显示模块,用于显示排列后的所述播放列表。a display module, configured to display the arranged playlist.
在本公开的又一实施例中,所述第二确定模块包括:第一确定子模块和第二确定子模块。In still another embodiment of the present disclosure, the second determining module includes: a first determining submodule and a second determining submodule.
第一确定子模块,用于在所述播放列表中位置位于所述参考时间之前的多媒体文件中,确定与所述参考时间相邻的上传时间为目标上传时间。The first determining submodule is configured to determine, in the multimedia file in the playlist that the location is before the reference time, an upload time adjacent to the reference time as a target upload time.
第二确定子模块,用于将与所述目标上传时间对应的文件标识确定为目标文件标识。And a second determining submodule, configured to determine, as the target file identifier, a file identifier corresponding to the target upload time.
在本发明的又一实施例中,所述获取模块包括:接收子模块、判断子模块和第三确定子模块。 In still another embodiment of the present invention, the acquiring module includes: a receiving submodule, a determining submodule, and a third determining submodule.
接收子模块,用于接收记录至少一个多媒体文件的文件标识的关键字的候选列表。And a receiving submodule, configured to receive a candidate list of keywords that record a file identifier of the at least one multimedia file.
判断子模块,用于判断所述候选列表中所有文件标识的关键字是否相同。The determining sub-module is configured to determine whether the keywords of all file identifiers in the candidate list are the same.
第三确定子模块,用于当所有文件标识的关键字相同时,确定所述候选列表为所述播放列表。And a third determining submodule, configured to determine, when the keywords of all the files are the same, the candidate list is the playlist.
在本发明的又一实施例中,所述获取模块,还包括:构建子模块和生成子模块。In still another embodiment of the present invention, the acquiring module further includes: a constructing submodule and a generating submodule.
构建子模块,用于当存在不同的文件标识的关键字时,构建至少一个文件标识集合,每个所述文件标识集合中的文件标识的关键字相同。The sub-module is configured to construct at least one file identifier set when there are different file identifier keywords, and the keywords of the file identifiers in each of the file identifier sets are the same.
生成子模块,用于将每个文件标识集合对应生成一个播放列表。A sub-module is generated for generating a playlist corresponding to each file identification set.
图3是根据一示例性实施例示出的一种电子设备的框图。参照图3,该电子设备包括:FIG. 3 is a block diagram of an electronic device, according to an exemplary embodiment. Referring to FIG. 3, the electronic device includes:
处理器21; Processor 21;
用于存储处理器21可执行指令的存储器22;a memory 22 for storing instructions executable by the processor 21;
其中,所述处理器21被配置为:The processor 21 is configured to:
获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表;Obtaining a playlist including a file identifier of a plurality of multimedia files and an upload time corresponding to each file identifier;
当所述播放列表中任意一个多媒体文件播放结束时,确定播放结束的多媒体文件的上传时间为参考时间;When the playing of any one of the multimedia files in the playlist ends, determining that the uploading time of the multimedia file after the playing is the reference time;
当所述播放列表中存在上传时间晚于所述参考时间的多媒体文件时,在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识; When there is a multimedia file whose upload time is later than the reference time, in the multimedia file whose upload time is later than the reference time, it is determined that the file identifier corresponding to the upload time adjacent to the reference time is The file identifier to be played;
播放与所述待播放文件标识对应的多媒体文件。Playing a multimedia file corresponding to the file identifier to be played.
本申请实施例还提供了一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任一方法实施例提供的播放控制方法的各实现方式中的部分或全部步骤。The embodiment of the present application further provides a non-transitory computer readable storage medium storing computer executable instructions, which can execute any of the foregoing method embodiments Some or all of the various implementations of the provided playback control method.
图4是本申请实施例提供的执行播放控制方法的电子设备的硬件结构示意图,如图4所示,该设备包括:4 is a schematic diagram of a hardware structure of an electronic device for performing a playback control method according to an embodiment of the present disclosure. As shown in FIG. 4, the device includes:
一个或多个处理器410以及存储器420,图4中以一个处理器410为例。One or more processors 410 and memory 420, one processor 410 is exemplified in FIG.
执行播放控制方法的设备还可以包括:输入装置430和输出装置440。The apparatus that performs the playback control method may further include: an input device 430 and an output device 440.
处理器410、存储器420、输入装置430和输出装置440可以通过总线或者其他方式连接,图4中以通过总线连接为例。The processor 410, the memory 420, the input device 430, and the output device 440 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器420作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的播放控制方法对应的程序指令/模块(例如,附图2所示的获取模块201、第一确定模块202、第二确定模块203和播放模块204)。处理器410通过运行存储在存储器420中的非易失性软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例中的播放控制识别方法。The memory 420 is used as a non-volatile computer readable storage medium, and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the playback control method in the embodiment of the present application. / Module (for example, the acquisition module 201, the first determination module 202, the second determination module 203, and the playback module 204 shown in FIG. 2). The processor 410 executes various functional applications and data processing of the electronic device by executing non-volatile software programs, instructions, and modules stored in the memory 420, that is, implementing the playback control identification method in the above method embodiments.
存储器420可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据播放控制装置(如附图2)的使用所创建的数据等。此外,存储器420可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些 实施例中,存储器420可选包括相对于处理器410远程设置的存储器,这些远程存储器可以通过网络连接至播放控制装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 420 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may be stored according to the use of the playback control device (such as FIG. 2). Data, etc. Moreover, memory 420 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some In an embodiment, the memory 420 can optionally include memory remotely located relative to the processor 410, which can be connected to the playback control device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置430可接收输入的数字或字符信息,以及产生与播放控制装置的用户设置以及功能控制有关的键信号输入。输出装置440可包括显示屏等显示设备。The input device 430 can receive the input digital or character information and generate a key signal input related to user settings and function control of the playback control device. Output device 440 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器420中,当被所述一个或者多个处理器410执行时,执行上述任意方法实施例中的播放控制方法。The one or more modules are stored in the memory 420, and when executed by the one or more processors 410, perform a playback control method in any of the above method embodiments.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
本发明实施例的电子设备以多种形式存在,包括但不限于:The electronic device of the embodiment of the invention exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类电子设备包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such electronic devices include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类电子设备包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such electronic devices include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提 供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but For high-reliability services, it is highly demanding in terms of processing power, stability, reliability, security, scalability, and manageability.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction functions.
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述方法实施例中的任一播放控制方法。Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are When executed, the computer is caused to perform any of the above-described method embodiments.
需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。It should be noted that those skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a non-volatile computer. In a readable storage medium, the program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由所附的权利要求指出。Other embodiments of the invention will be apparent to those skilled in the <RTIgt; The present application is intended to cover any variations, uses, or adaptations of the present invention, which are in accordance with the general principles of the present invention and include common general knowledge or conventional technical means in the art that are not disclosed in the present invention. . The specification and examples are to be considered as illustrative only,
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。 It is to be understood that the invention is not limited to the details of the details of The scope of the invention is limited only by the appended claims.

Claims (13)

  1. 一种播放控制方法,其特征在于,应用于电子设备,包括:A playback control method is characterized in that it is applied to an electronic device, including:
    获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表;Obtaining a playlist including a file identifier of a plurality of multimedia files and an upload time corresponding to each file identifier;
    当所述播放列表中任意一个多媒体文件播放结束时,确定播放结束的多媒体文件的上传时间为参考时间;When the playing of any one of the multimedia files in the playlist ends, determining that the uploading time of the multimedia file after the playing is the reference time;
    当所述播放列表中存在上传时间晚于所述参考时间的多媒体文件时,在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识;When there is a multimedia file whose upload time is later than the reference time, in the multimedia file whose upload time is later than the reference time, it is determined that the file identifier corresponding to the upload time adjacent to the reference time is The file identifier to be played;
    播放与所述待播放文件标识对应的多媒体文件。Playing a multimedia file corresponding to the file identifier to be played.
  2. 根据权利要求1所述的播放控制方法,其特征在于,所述方法还包括:The playback control method according to claim 1, wherein the method further comprises:
    按照上传时间的时间顺序倒序,排列所述播放列表中的至少一个多媒体文件的文件标识;Arranging, in reverse order of the uploading time, a file identifier of at least one multimedia file in the playlist;
    显示排列后的所述播放列表。The arranged playlists are displayed.
  3. 根据权利要求2所述的播放控制方法,其特征在于,所述在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识,包括:The playback control method according to claim 2, wherein in the multimedia file whose upload time is later than the reference time, determining that the file identifier corresponding to the upload time adjacent to the reference time is the file to be played Logo, including:
    在所述播放列表中位置位于所述参考时间之前的多媒体文件中,确定与所述参考时间相邻的上传时间为目标上传时间;Determining, in the multimedia file in the playlist that the location is before the reference time, an upload time adjacent to the reference time is a target upload time;
    将与所述目标上传时间对应的文件标识确定为目标文件标识。The file identifier corresponding to the target upload time is determined as the target file identifier.
  4. 根据权利要求1所述的播放控制方法,其特征在于,所述获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表,包括:The playback control method according to claim 1, wherein the acquiring a file identifier including a plurality of multimedia files and an uploading time corresponding to each file identifier comprises:
    接收记录至少一个多媒体文件的文件标识的关键字的候选列表;Receiving a candidate list of keywords for recording a file identifier of at least one multimedia file;
    判断所述候选列表中所有文件标识的关键字是否相同;Determining whether the keywords identified by all the files in the candidate list are the same;
    当所有文件标识的关键字相同时,确定所述候选列表为所述播放 列表。Determining that the candidate list is the play when the keywords of all file identifiers are the same List.
  5. 根据权利要求4所述的播放控制方法,其特征在于,所述获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表,还包括:The playback control method according to claim 4, wherein the acquiring a file identifier including a plurality of multimedia files and an uploading time corresponding to each file identifier further comprises:
    当存在不同的文件标识的关键字时,构建至少一个文件标识集合,每个所述文件标识集合中的文件标识的关键字相同;When there are different keywords of the file identifier, at least one file identifier set is constructed, and the keywords of the file identifiers in each of the file identifier sets are the same;
    将每个文件标识集合对应生成一个播放列表。A playlist is generated corresponding to each file identification set.
  6. 一种播放控制装置,其特征在于,包括:A playback control device, comprising:
    获取模块,用于获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表;An obtaining module, configured to acquire a file identifier that includes multiple multimedia files and a playlist corresponding to an upload time corresponding to each file identifier;
    第一确定模块,用于当所述播放列表中任意一个多媒体文件播放结束时,确定播放结束的多媒体文件的上传时间为参考时间;a first determining module, configured to determine, when the playback of any one of the multimedia files in the playlist ends, a upload time of the multimedia file that is finished playing as a reference time;
    第二确定模块,用于当所述播放列表中存在上传时间晚于所述参考时间的多媒体文件时,在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识;a second determining module, configured to: when there is a multimedia file whose upload time is later than the reference time, in the multimedia file whose upload time is later than the reference time, determine the adjacent to the reference time The file identifier corresponding to the upload time is the file identifier to be played;
    播放模块,用于播放与所述待播放文件标识对应的多媒体文件。a playing module, configured to play a multimedia file corresponding to the file identifier to be played.
  7. 根据权利要求6所述的播放控制装置,其特征在于,所述装置还包括:The playback control device according to claim 6, wherein the device further comprises:
    排列模块,用于按照上传时间的时间顺序倒序,排列所述播放列表中的至少一个多媒体文件的文件标识;An arranging module, configured to arrange file identifiers of at least one multimedia file in the playlist in reverse chronological order of upload time;
    显示模块,用于显示排列后的所述播放列表。a display module, configured to display the arranged playlist.
  8. 根据权利要求7所述的播放控制装置,其特征在于,所述第二确定模块包括:The playback control device according to claim 7, wherein the second determining module comprises:
    第一确定子模块,用于在所述播放列表中位置位于所述参考时间之前的多媒体文件中,确定与所述参考时间相邻的上传时间为目标上传时间;a first determining submodule, configured to determine, in the multimedia file that is located before the reference time in the playlist, an upload time adjacent to the reference time as a target upload time;
    第二确定子模块,用于将与所述目标上传时间对应的文件标识确 定为目标文件标识。a second determining submodule, configured to identify the file corresponding to the target upload time Set as the target file identifier.
  9. 根据权利要求6所述的播放控制装置,其特征在于,所述获取模块包括:The playback control device according to claim 6, wherein the obtaining module comprises:
    接收子模块,用于接收记录至少一个多媒体文件的文件标识的关键字的候选列表;a receiving submodule, configured to receive a candidate list of keywords for recording a file identifier of the at least one multimedia file;
    判断子模块,用于判断所述候选列表中所有文件标识的关键字是否相同;a determining sub-module, configured to determine whether keywords of all file identifiers in the candidate list are the same;
    第三确定子模块,用于当所有文件标识的关键字相同时,确定所述候选列表为所述播放列表。And a third determining submodule, configured to determine, when the keywords of all the files are the same, the candidate list is the playlist.
  10. 根据权利要求9所述的播放控制装置,其特征在于,所述获取模块,还包括:The playback control device according to claim 9, wherein the obtaining module further comprises:
    构建子模块,用于当存在不同的文件标识的关键字时,构建至少一个文件标识集合,每个所述文件标识集合中的文件标识的关键字相同;a sub-module, configured to: when there are different keywords of the file identifier, construct at least one file identifier set, where the keywords of the file identifiers in each of the file identifier sets are the same;
    生成子模块,用于将每个文件标识集合对应生成一个播放列表。A sub-module is generated for generating a playlist corresponding to each file identification set.
  11. 一种电子设备,其特征在于,所述电子设备包括:An electronic device, comprising:
    处理器;processor;
    用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
    其中,所述处理器被配置为:Wherein the processor is configured to:
    获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表;Obtaining a playlist including a file identifier of a plurality of multimedia files and an upload time corresponding to each file identifier;
    当所述播放列表中任意一个多媒体文件播放结束时,确定播放结束的多媒体文件的上传时间为参考时间;When the playing of any one of the multimedia files in the playlist ends, determining that the uploading time of the multimedia file after the playing is the reference time;
    当所述播放列表中存在上传时间晚于所述参考时间的多媒体文件时,在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识;When there is a multimedia file whose upload time is later than the reference time, in the multimedia file whose upload time is later than the reference time, it is determined that the file identifier corresponding to the upload time adjacent to the reference time is The file identifier to be played;
    播放与所述待播放文件标识对应的多媒体文件。 Playing a multimedia file corresponding to the file identifier to be played.
  12. 一种非易失性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:A non-transitory computer readable storage medium storing computer executable instructions, the computer executable instructions being set to:
    获取包含有多个多媒体文件的文件标识及与每个文件标识对应的上传时间的播放列表;Obtaining a playlist including a file identifier of a plurality of multimedia files and an upload time corresponding to each file identifier;
    当所述播放列表中任意一个多媒体文件播放结束时,确定播放结束的多媒体文件的上传时间为参考时间;When the playing of any one of the multimedia files in the playlist ends, determining that the uploading time of the multimedia file after the playing is the reference time;
    当所述播放列表中存在上传时间晚于所述参考时间的多媒体文件时,在上传时间晚于所述参考时间的多媒体文件中,确定与所述参考时间相邻的上传时间对应的文件标识为待播放文件标识;When there is a multimedia file whose upload time is later than the reference time, in the multimedia file whose upload time is later than the reference time, it is determined that the file identifier corresponding to the upload time adjacent to the reference time is The file identifier to be played;
    播放与所述待播放文件标识对应的多媒体文件。Playing a multimedia file corresponding to the file identifier to be played.
  13. 一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1至5任一项所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, causing the computer The method of any one of claims 1 to 5 is performed.
PCT/CN2016/100354 2016-06-30 2016-09-27 Playback control method, device, and electronic apparatus WO2018000628A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610507530.4A CN106131653A (en) 2016-06-30 2016-06-30 Control method for playing back, device and terminal
CN201610507530.4 2016-06-30

Publications (1)

Publication Number Publication Date
WO2018000628A1 true WO2018000628A1 (en) 2018-01-04

Family

ID=57468757

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100354 WO2018000628A1 (en) 2016-06-30 2016-09-27 Playback control method, device, and electronic apparatus

Country Status (2)

Country Link
CN (1) CN106131653A (en)
WO (1) WO2018000628A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836350B (en) * 2021-09-23 2024-02-27 深圳绿米联创科技有限公司 Video retrieval method, system, device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072336A (en) * 2007-03-22 2007-11-14 腾讯科技(深圳)有限公司 Network television programme play method and play system
CN101087390A (en) * 2007-03-08 2007-12-12 中兴通讯股份有限公司 An implementation method of prompt message of mobile multi-media broadcast program
CN103702204A (en) * 2013-12-13 2014-04-02 北京厚睿技术有限公司 Playing control method and system for live program
CN103747349A (en) * 2013-11-28 2014-04-23 乐视致新电子科技(天津)有限公司 Control method and control apparatus for displaying play list in player of intelligent television
US20150189345A1 (en) * 2013-12-31 2015-07-02 Kt Corporation Location based content providing scheme

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087390A (en) * 2007-03-08 2007-12-12 中兴通讯股份有限公司 An implementation method of prompt message of mobile multi-media broadcast program
CN101072336A (en) * 2007-03-22 2007-11-14 腾讯科技(深圳)有限公司 Network television programme play method and play system
CN103747349A (en) * 2013-11-28 2014-04-23 乐视致新电子科技(天津)有限公司 Control method and control apparatus for displaying play list in player of intelligent television
CN103702204A (en) * 2013-12-13 2014-04-02 北京厚睿技术有限公司 Playing control method and system for live program
US20150189345A1 (en) * 2013-12-31 2015-07-02 Kt Corporation Location based content providing scheme

Also Published As

Publication number Publication date
CN106131653A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
US8799300B2 (en) Bookmarking segments of content
WO2017201935A1 (en) Video playing method and apparatus
US8966372B2 (en) Systems and methods for performing geotagging during video playback
WO2017177630A1 (en) Method and device for recommending personalized information
US9674253B2 (en) Method for allocating a specific portion of multimedia file and skipping the specific portion automatically and electronic device thereof
WO2017181597A1 (en) Method and device for video playback
WO2018149176A1 (en) Method and apparatus for automatically recording video, and terminal
WO2019134587A1 (en) Method and device for video data processing, electronic device, and storage medium
WO2022257683A1 (en) Method and apparatus for searching for content, device, and medium
WO2018045893A1 (en) Media file pushing method, media file server, and media file pushing system
WO2019047878A1 (en) Method for controlling terminal by voice, terminal, server and storage medium
EP3203749A1 (en) Method for switching video playing terminal, and terminal device
US11818428B2 (en) Identifying viewing characteristics of an audience of a content channel
US9170712B2 (en) Presenting content related to current media consumption
EP2811399B1 (en) Method and terminal for starting music application
US20170091197A1 (en) Multimedia Display Method, Apparatus, and Device
WO2017113673A1 (en) Picture viewing method and apparatus, and electronic device
WO2023051294A1 (en) Prop processing method and apparatus, and device and medium
US10437830B2 (en) Method and apparatus for identifying media files based upon contextual relationships
CN104010223B (en) Adapter terminal system carries out the method and system of video playback
CN105912586B (en) Information searching method and electronic equipment
TW201624320A (en) System and method for searching video clips of a video file
CN105843865B (en) Media file playing method and device
WO2018000628A1 (en) Playback control method, device, and electronic apparatus
WO2015000433A1 (en) Multimedia search method, terminal, server and system

Legal Events

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

Ref document number: 16907024

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16907024

Country of ref document: EP

Kind code of ref document: A1