WO2017084297A1 - Method and system for playing back multimedia files - Google Patents

Method and system for playing back multimedia files Download PDF

Info

Publication number
WO2017084297A1
WO2017084297A1 PCT/CN2016/084217 CN2016084217W WO2017084297A1 WO 2017084297 A1 WO2017084297 A1 WO 2017084297A1 CN 2016084217 W CN2016084217 W CN 2016084217W WO 2017084297 A1 WO2017084297 A1 WO 2017084297A1
Authority
WO
WIPO (PCT)
Prior art keywords
multimedia file
played
player
file
playing
Prior art date
Application number
PCT/CN2016/084217
Other languages
French (fr)
Chinese (zh)
Inventor
周勇
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017084297A1 publication Critical patent/WO2017084297A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4335Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a method and system for playing multimedia files.
  • the push terminal must first send a stop command to the play terminal before each push to reset the play status of the play terminal.
  • the specific process is as follows: when receiving the picture or video pushed by the user, the play terminal adjusts The player plays the multimedia file such as the picture or video, and then when receiving the stop command pushed by the user, the playing terminal first exits the player (black screen or returns to the user interface before playing), and then receives the picture pushed by the user again or When the video is played, the player is called up again for playback.
  • the playback mode of the existing multimedia file causes the picture or video displayed by the user to be inconsistent, resulting in the inability to continuously play the multimedia file in the same player.
  • the invention provides a method and a system for playing multimedia files, aiming at solving the technical problem that the playing mode of the existing multimedia files cannot continuously play multimedia files in the same player.
  • the present invention provides a method for playing a multimedia file, and the method for playing the multimedia file includes the following steps:
  • the play terminal determines whether a transmission instruction of the multimedia file to be played is received within a preset time period
  • the playback terminal When the playback terminal receives the transmission instruction within a preset time period, acquiring, by the playback terminal, file information of the multimedia file to be played corresponding to the transmission instruction;
  • the play terminal When receiving the play instruction sent by the push terminal, the play terminal acquires the URL of the multimedia file to be played based on the file information;
  • the playing terminal plays the to-be-played multimedia file on the player of the playing terminal based on the obtained URL.
  • the step of playing the multimedia file to be played by the player of the playing terminal comprises:
  • the playback terminal closes the currently running player when the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file;
  • the playing terminal starts the player corresponding to the file type of the multimedia file to be played, and plays the multimedia file to be played by using the currently activated player.
  • the step of playing the multimedia file to be played by the player of the playing terminal comprises:
  • the playback terminal stores the file information in a preset storage space when the player is downloading a multimedia file or the player is playing a multimedia file;
  • the playing terminal plays the multimedia file to be played on the player based on the stored file information, and deletes the file information saved in the preset storage space.
  • the step of storing the file information in the preset storage space comprises:
  • the file information stored in the preset storage space is updated by using the file information.
  • the step of determining whether the transmission instruction of the multimedia file to be played is received within the preset time period comprises:
  • the playback terminal When the playback terminal receives the stop command, it determines whether the player of the play terminal is in an activated state
  • the playing terminal determines whether a transmission instruction of the multimedia file to be played is received within the preset time period.
  • the present invention further provides a method for playing a multimedia file, where the method for playing the multimedia file includes the following steps:
  • the play terminal determines whether a transmission instruction of the multimedia file to be played is received within a preset time period
  • the playback terminal When the playback terminal receives the transmission instruction within a preset time period, acquiring, by the playback terminal, file information of the multimedia file to be played corresponding to the transmission instruction;
  • the play terminal When receiving the play instruction sent by the push terminal, the play terminal plays the multimedia file to be played on the player of the play terminal based on the file information.
  • the playing terminal starts the player corresponding to the file type of the multimedia file to be played, and plays the multimedia file to be played by using the currently activated player.
  • the playing terminal plays the multimedia file to be played on the player based on the stored file information, and deletes the file information saved in the preset storage space.
  • the step of storing the file information in the preset storage space comprises:
  • the step of determining whether the transmission instruction of the multimedia file to be played is received within the preset time period comprises:
  • the playback terminal When the playback terminal receives the stop command, it determines whether the player of the play terminal is in an activated state
  • the playing terminal determines whether a transmission instruction of the multimedia file to be played is received within the preset time period.
  • the present invention further provides a multimedia file playing system, where the multimedia file playing system includes:
  • An acquiring module configured to acquire file information of a multimedia file to be played corresponding to the transmission instruction when the transmission instruction is received within a preset time period
  • a display module configured to: when receiving the play instruction sent by the push terminal, play the multimedia file to be played on the player of the play terminal based on the file information.
  • a closing unit configured to: when the play instruction is received, and the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the currently running player is closed;
  • the first display unit is configured to start a player corresponding to the file type of the multimedia file to be played, and play the multimedia file to be played by using the currently activated player.
  • the display module comprises:
  • a storage unit configured to store the file information in a preset storage space when the playback instruction is received, and the player is downloading the multimedia file or the player is playing the multimedia file;
  • a second display unit configured to: when the multimedia file is played, play the multimedia file to be played on the player based on the stored file information, and delete the file information saved in the preset storage space.
  • the storage unit is further configured to use the file information to update the file information stored in the preset storage space when the player is downloading the multimedia file or the player is playing the multimedia file.
  • the determining module comprises:
  • a playing state determining unit configured to determine, when receiving the stop instruction, whether the player of the playing terminal is in an activated state
  • the receiving information determining unit is configured to determine, when the player is in an activated state, whether a transmission instruction of the multimedia file to be played is received within a preset time period.
  • the present invention acquires the file information of the multimedia file to be played corresponding to the transmission instruction, and then the playback terminal receives the push terminal.
  • the multimedia file to be played is played on the player of the play terminal based on the file information, so that the play terminal does not have to exit the player according to the stop instruction, so that the play terminal continuously plays the multimedia file pushed by the user in the same player, thereby improving The efficiency of the playback terminal playing multimedia files.
  • FIG. 1 is a schematic flow chart of a method for playing a multimedia file according to the present invention
  • FIG. 2 is a schematic flowchart of a refinement of a first embodiment of a step of playing a multimedia file according to the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a step of playing a multimedia file according to the present invention.
  • FIG. 4 is a schematic flowchart showing the steps of determining whether a transmission instruction is received according to the present invention
  • FIG. 5 is a schematic diagram of functional modules of a multimedia file playing system according to the present invention.
  • FIG. 8 is an embodiment of a refinement function module of the determination module in FIG. 5.
  • Step S10 When receiving the stop command sent by the push terminal, the play terminal determines whether a transmission instruction of the multimedia file to be played is received within the preset time period;
  • Step S20 The playback terminal acquires file information of the multimedia file to be played corresponding to the transmission instruction when receiving the transmission instruction within a preset time period;
  • the playback terminal when the playback terminal receives the stop command sent by the push terminal and receives the transfer instruction within the preset time period, the file information of the multimedia file to be played corresponding to the transfer instruction is obtained, and then the play terminal receives the push message.
  • the terminal sends the play command the player plays the multimedia file to be played on the player of the play terminal based on the file information, so that the play terminal does not have to exit the player according to the stop instruction, so that the play terminal continuously plays the multimedia file pushed by the user in the same player.
  • the efficiency of playing multimedia files by the playing terminal is improved, and the user experience is improved.
  • the playback terminal determines, according to the file type of the multimedia file to be played, the player that needs to be played, that is, the file type of the multimedia file to be played by the playback terminal.
  • the corresponding player parses the file of the multimedia file to be played according to the file information of the multimedia file to be played, and downloads the multimedia file to be played according to the URL of the multimedia file to be played, thereby enabling smooth playback of the multimedia file to be played.
  • the URL of the currently pushed picture is stored in the preset storage space, of course, if it is downloaded or played in a certain picture.
  • the URL of the picture may be stored in a preset storage space each time the picture is received, or the currently received picture is used each time the picture is received. The URL replaces the URL of the picture in the preset storage space.
  • step S10 includes:
  • the player of the playing terminal has been activated to realize the continuous display. Therefore, it is first necessary to determine whether the player of the playing terminal has been activated. Of course, in this embodiment, when the player is started, the player may be suspended first. The player controls the player to stop playing.
  • the invention further provides a multimedia file playback system.
  • the playback system of the multimedia file includes:
  • the display module 30 is configured to: when receiving the play instruction sent by the push terminal, play the multimedia file to be played on the player of the play terminal based on the file information.
  • the closing unit 31 is configured to: when the play instruction is received, and the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the currently running player is closed;
  • the type of the multimedia file to be played includes a picture, a video, an audio, and the like.
  • different types of multimedia files to be played are used by different players, for example, the user pushes different types of multimedia files by using the same push terminal, or uses different
  • the push terminal pushes the multimedia file it is determined whether the file type of the multimedia file to be played is consistent with the file type of the currently played multimedia file, and when the inconsistency is determined to be closed, the currently running player is closed to ensure the smooth playback of the received multimedia file. .
  • the multimedia file to be played is directly played on the current player, that is, the multimedia file to be played is downloaded according to the obtained URL, and then played in the playing terminal. The player has downloaded the multimedia file to be played.
  • the closing unit 31 closes the currently running player, and then the first display unit 32 starts the file of the multimedia file to be played.
  • the player corresponding to the type, and playing the multimedia file to be played by using the currently started player thereby avoiding that the current player cannot play the multimedia file to be played due to the inconsistency between the file type of the multimedia file to be played and the currently playing multimedia file.
  • the problem further improves the efficiency of the playback terminal playing multimedia files and improves the user experience.
  • the storage unit 33 is configured to store the file information in a preset storage space when the playback instruction is received, and the player is downloading the multimedia file or the player is playing the multimedia file;
  • the storage unit 33 stores the URL of the currently pushed picture in the preset storage space, of course, if it is in a certain picture.
  • the URL of the image may be stored in the preset storage space each time the image is received, or the current received image is received each time the image is received.
  • the URL of the picture replaces the URL of the picture in the preset storage space.
  • the second display unit 34 plays the multimedia file to be played according to the stored file information, that is, obtains the URL of the multimedia file to be played from the preset storage space, and downloads according to the obtained URL.
  • the multimedia file to be played is then played, and the multimedia file to be played is downloaded in the player of the playing terminal.
  • the obtaining operation is performed according to the time sequence of the URL storage.
  • the storage unit 33 is further configured to use the file information to update the file information stored in the preset storage space when the player is downloading the multimedia file or the player is playing the multimedia file.
  • the storage unit 33 replaces the preset storage space with the URL of the currently received picture every time the picture is received.
  • the URL of the image when the multimedia file is played, the player of the playback terminal only needs to play the last picture, skipping the display process of the middle picture, and when the last picture pushed by the user is an important picture, the playback terminal can display the picture in time. Picture, and can guarantee the normal switching and display of the picture.
  • the storage unit 33 when receiving the play instruction, and the player is downloading the multimedia file or the player is playing the multimedia file, the storage unit 33 stores the file information in the preset storage space, and then when the multimedia file is played, the second display unit The player plays the multimedia file to be played in the player based on the stored file information, and deletes the file information saved in the preset storage space, so that the playing terminal can completely display the user push when the user continuously pushes the multimedia file to be played to the playing terminal.
  • the multimedia file to be played avoids the problem that the playback terminal is blocked due to too many multimedia files to be played, and the player of the playback terminal cannot display the multimedia file, thereby further improving the efficiency of playing the multimedia file by the playback terminal and improving the user experience. .
  • FIG. 8 is an embodiment of a refinement function module of the determining module in FIG. 5.
  • the determining module 10 includes:
  • the playing state determining unit 11 is configured to determine, when the stop command is received, whether the player of the playing terminal is in an activated state
  • the player of the playing terminal has been activated to realize the continuous display. Therefore, it is first necessary to determine whether the player of the playing terminal has been activated. Of course, in this embodiment, when the player is started, the player may be suspended first. The player controls the player to stop playing.
  • the receiving information determining unit 12 is configured to determine, when the player is in an activated state, whether a transmission instruction of the multimedia file to be played is received within a preset time period.
  • the play status determining unit 11 determines whether the player of the play terminal is in the activated state, and when the player is in the activated state, the received information determining unit 12 determines whether to receive within the preset time period.
  • the transmission instruction of the multimedia file to be played can further ensure that the playback terminal performs the subsequent process on the premise that the player has been started, thereby ensuring that the multimedia file pushed by the user is continuously played in the player, thereby further improving the playing terminal playing multimedia.
  • the efficiency of the file improves the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed in the present invention is a method for playing back multimedia files, comprising: a playback terminal determining, when having received a stop instruction sent by a push terminal, whether a transmission instruction for a multimedia file to be played back is received in a preset period of time; acquiring, when the transmission instruction is received in a preset period of time, file information of the multimedia file to be played back that the transmission instruction corresponds to; and playing back, when a playback instruction sent by the push terminal is received, the multimedia file to be played back on a player of the playback terminal on the basis of the file information. Further disclosed in the present invention is a system for playing back multimedia files. According to the present invention, the playback terminal does not need to exit the player in accordance with a stop instruction, enabling the playback terminal to continuously play back the multimedia files pushed by the user on the same player, improving the efficiency of the playback terminal playing back multimedia files.

Description

多媒体文件的播放方法及系统  Multimedia file playing method and system
技术领域Technical field
本发明涉及互联网技术领域,尤其涉及一种多媒体文件的播放方法及系统。The present invention relates to the field of Internet technologies, and in particular, to a method and system for playing multimedia files.
背景技术Background technique
目前,越来越多的用户喜欢把手机或Pad上的照片、视频、音乐等推送到TV等具有大屏幕的终端上播放,供众多亲友一起欣赏。这种分享技术大多基于DLNA(Digital Living Network Alliance,数字生活网络联盟)协议。At present, more and more users like to push photos, videos, music, etc. on mobile phones or tablets to terminals with large screens such as TVs for viewing by many friends and relatives. This sharing technique is mostly based on DLNA (Digital Living Network Alliance, Digital Living Network Alliance) Agreement.
但是,在DLNA协议规定,每次推送之前推送端首先必须发送停止指令给播放终端,以重置播放终端的播放状态,其具体流程如下:在接收到用户推送的图片或视频时,播放终端调出播放器播放该图片或视频等多媒体文件,然后在接收到用户推送的停止指令时,播放终端首先退出播放器(黑屏或退回播放前的用户界面),然后在再次接收到用户推送的图片或视频时再调出播放器进行播放。使得现有多媒体文件的播放方式造成用户推送的图片或视频显示不连贯,导致无法在同一播放器连续播放多媒体文件。However, in the DLNA protocol, the push terminal must first send a stop command to the play terminal before each push to reset the play status of the play terminal. The specific process is as follows: when receiving the picture or video pushed by the user, the play terminal adjusts The player plays the multimedia file such as the picture or video, and then when receiving the stop command pushed by the user, the playing terminal first exits the player (black screen or returns to the user interface before playing), and then receives the picture pushed by the user again or When the video is played, the player is called up again for playback. The playback mode of the existing multimedia file causes the picture or video displayed by the user to be inconsistent, resulting in the inability to continuously play the multimedia file in the same player.
发明内容Summary of the invention
本发明提供一种多媒体文件的播放方法及系统,旨在解决现有多媒体文件的播放方式无法在同一播放器连续播放多媒体文件的技术问题。The invention provides a method and a system for playing multimedia files, aiming at solving the technical problem that the playing mode of the existing multimedia files cannot continuously play multimedia files in the same player.
为实现上述目的,本发明提供的一种多媒体文件的播放方法,所述多媒体文件的播放方法包括以下步骤:To achieve the above objective, the present invention provides a method for playing a multimedia file, and the method for playing the multimedia file includes the following steps:
播放终端在接收到推送终端发送的停止指令时,判断在预设时间段内是否接收到待播放多媒体文件的传输指令;When receiving the stop command sent by the push terminal, the play terminal determines whether a transmission instruction of the multimedia file to be played is received within a preset time period;
播放终端在预设时间段内接收到所述传输指令时,获取所述传输指令对应的待播放多媒体文件的文件信息;When the playback terminal receives the transmission instruction within a preset time period, acquiring, by the playback terminal, file information of the multimedia file to be played corresponding to the transmission instruction;
播放终端在接收到推送终端发送的播放指令时,基于所述文件信息获取待播放多媒体文件的URL;When receiving the play instruction sent by the push terminal, the play terminal acquires the URL of the multimedia file to be played based on the file information;
播放终端基于获取到的URL在所述播放终端的播放器播放所述待播放多媒体文件。The playing terminal plays the to-be-played multimedia file on the player of the playing terminal based on the obtained URL.
优选地,所述在播放终端的播放器播放所述待播放多媒体文件的步骤包括:Preferably, the step of playing the multimedia file to be played by the player of the playing terminal comprises:
播放终端在所述待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭当前运行的播放器;The playback terminal closes the currently running player when the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file;
播放终端启动所述待播放多媒体文件的文件类型对应的播放器,并采用当前启动的所述播放器播放所述待播放多媒体文件。The playing terminal starts the player corresponding to the file type of the multimedia file to be played, and plays the multimedia file to be played by using the currently activated player.
优选地,所述在播放终端的播放器播放所述待播放多媒体文件的步骤包括:Preferably, the step of playing the multimedia file to be played by the player of the playing terminal comprises:
播放终端在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息;The playback terminal stores the file information in a preset storage space when the player is downloading a multimedia file or the player is playing a multimedia file;
播放终端在所述多媒体文件播放结束时,基于存储的文件信息在所述播放器播放所述待播放多媒体文件,并删除所述预设存储空间中保存的所述文件信息。When the multimedia file is played, the playing terminal plays the multimedia file to be played on the player based on the stored file information, and deletes the file information saved in the preset storage space.
优选地,在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息的步骤包括:Preferably, when the player is downloading the multimedia file or the player is playing the multimedia file, the step of storing the file information in the preset storage space comprises:
在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,采用所述文件信息更新预设存储空间存储的文件信息。When the player is downloading a multimedia file or the player is playing a multimedia file, the file information stored in the preset storage space is updated by using the file information.
优选地,播放终端在接收到停止指令时,判断预设时间段内是否接收到待播放多媒体文件的传输指令的步骤包括:Preferably, when the playback terminal receives the stop instruction, the step of determining whether the transmission instruction of the multimedia file to be played is received within the preset time period comprises:
播放终端在接收到停止指令时,确定播放终端的播放器是否处于启动状态;When the playback terminal receives the stop command, it determines whether the player of the play terminal is in an activated state;
播放终端在所述播放器处于启动状态时,确定预设时间段内是否接收到待播放多媒体文件的传输指令。When the player is in the startup state, the playing terminal determines whether a transmission instruction of the multimedia file to be played is received within the preset time period.
此外,为实现上述目的,本发明还提供一种多媒体文件的播放方法,所述多媒体文件的播放方法包括以下步骤:In addition, in order to achieve the above object, the present invention further provides a method for playing a multimedia file, where the method for playing the multimedia file includes the following steps:
播放终端在接收到推送终端发送的停止指令时,判断在预设时间段内是否接收到待播放多媒体文件的传输指令;When receiving the stop command sent by the push terminal, the play terminal determines whether a transmission instruction of the multimedia file to be played is received within a preset time period;
播放终端在预设时间段内接收到所述传输指令时,获取所述传输指令对应的待播放多媒体文件的文件信息;When the playback terminal receives the transmission instruction within a preset time period, acquiring, by the playback terminal, file information of the multimedia file to be played corresponding to the transmission instruction;
播放终端在接收到推送终端发送的播放指令时,基于所述文件信息在播放终端的播放器播放所述待播放多媒体文件。When receiving the play instruction sent by the push terminal, the play terminal plays the multimedia file to be played on the player of the play terminal based on the file information.
优选地,所述播放终端在接收到推送终端发送的播放指令时,基于所述文件信息在播放终端的播放器播放所述待播放多媒体文件的步骤包括:Preferably, when the playback terminal receives the play instruction sent by the push terminal, the step of playing the multimedia file to be played on the player of the play terminal based on the file information includes:
播放终端在接收到播放指令,且所述待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭当前运行的播放器;When the play terminal receives the play instruction, and the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the currently running player is closed;
播放终端启动所述待播放多媒体文件的文件类型对应的播放器,并采用当前启动的所述播放器播放所述待播放多媒体文件。The playing terminal starts the player corresponding to the file type of the multimedia file to be played, and plays the multimedia file to be played by using the currently activated player.
优选地,所述播放终端在接收到推送终端发送的播放指令时,基于所述文件信息在播放终端的播放器播放所述待播放多媒体文件的步骤包括:Preferably, when the playback terminal receives the play instruction sent by the push terminal, the step of playing the multimedia file to be played on the player of the play terminal based on the file information includes:
播放终端在接收到播放指令,且所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息;When the play terminal receives the play instruction, and the player is downloading the multimedia file or the player is playing the multimedia file, storing the file information in the preset storage space;
播放终端在所述多媒体文件播放结束时,基于存储的文件信息在所述播放器播放所述待播放多媒体文件,并删除所述预设存储空间中保存的所述文件信息。When the multimedia file is played, the playing terminal plays the multimedia file to be played on the player based on the stored file information, and deletes the file information saved in the preset storage space.
优选地,在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息的步骤包括:Preferably, when the player is downloading the multimedia file or the player is playing the multimedia file, the step of storing the file information in the preset storage space comprises:
在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,采用所述文件信息更新预设存储空间存储的文件信息。When the player is downloading a multimedia file or the player is playing a multimedia file, the file information stored in the preset storage space is updated by using the file information.
优选地,播放终端在接收到停止指令时,判断预设时间段内是否接收到待播放多媒体文件的传输指令的步骤包括:Preferably, when the playback terminal receives the stop instruction, the step of determining whether the transmission instruction of the multimedia file to be played is received within the preset time period comprises:
播放终端在接收到停止指令时,确定播放终端的播放器是否处于启动状态;When the playback terminal receives the stop command, it determines whether the player of the play terminal is in an activated state;
播放终端在所述播放器处于启动状态时,确定预设时间段内是否接收到待播放多媒体文件的传输指令。When the player is in the startup state, the playing terminal determines whether a transmission instruction of the multimedia file to be played is received within the preset time period.
此外,为实现上述目的,本发明还提供一种多媒体文件的播放系统,所述多媒体文件的播放系统包括:In addition, in order to achieve the above object, the present invention further provides a multimedia file playing system, where the multimedia file playing system includes:
确定模块,用于在接收到推送终端发送的停止指令时,判断播放终端在预设时间段内是否接收到待播放多媒体文件的传输指令;a determining module, configured to: when receiving the stop instruction sent by the push terminal, determine whether the play terminal receives the transmission instruction of the multimedia file to be played within the preset time period;
获取模块,用于在预设时间段内接收到所述传输指令时,获取所述传输指令对应的待播放多媒体文件的文件信息;An acquiring module, configured to acquire file information of a multimedia file to be played corresponding to the transmission instruction when the transmission instruction is received within a preset time period;
显示模块,用于在接收到推送终端发送的播放指令时,基于所述文件信息在播放终端的播放器播放所述待播放多媒体文件。And a display module, configured to: when receiving the play instruction sent by the push terminal, play the multimedia file to be played on the player of the play terminal based on the file information.
优选地,所述显示模块包括:Preferably, the display module comprises:
关闭单元,用于在接收到播放指令,且所述待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭当前运行的播放器;a closing unit, configured to: when the play instruction is received, and the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the currently running player is closed;
第一显示单元,用于启动所述待播放多媒体文件的文件类型对应的播放器,并采用当前启动的所述播放器播放所述待播放多媒体文件。The first display unit is configured to start a player corresponding to the file type of the multimedia file to be played, and play the multimedia file to be played by using the currently activated player.
优选地,所述显示模块包括:Preferably, the display module comprises:
存储单元,用于在接收到播放指令,且所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息;a storage unit, configured to store the file information in a preset storage space when the playback instruction is received, and the player is downloading the multimedia file or the player is playing the multimedia file;
第二显示单元,用于在所述多媒体文件播放结束时,基于存储的文件信息在所述播放器播放所述待播放多媒体文件,并删除所述预设存储空间中保存的所述文件信息。a second display unit, configured to: when the multimedia file is played, play the multimedia file to be played on the player based on the stored file information, and delete the file information saved in the preset storage space.
优选地,所述存储单元还用于在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,采用所述文件信息更新预设存储空间存储的文件信息。Preferably, the storage unit is further configured to use the file information to update the file information stored in the preset storage space when the player is downloading the multimedia file or the player is playing the multimedia file.
优选地,所述确定模块包括:Preferably, the determining module comprises:
播放状态确定单元,用于在接收到停止指令时,确定播放终端的播放器是否处于启动状态;a playing state determining unit, configured to determine, when receiving the stop instruction, whether the player of the playing terminal is in an activated state;
接收信息确定单元,用于在所述播放器处于启动状态时,确定预设时间段内是否接收到待播放多媒体文件的传输指令。The receiving information determining unit is configured to determine, when the player is in an activated state, whether a transmission instruction of the multimedia file to be played is received within a preset time period.
本发明通过播放终端在接收到推送终端发送的停止指令,且在预设时间段内接收到传输指令时,获取该传输指令对应的待播放多媒体文件的文件信息,然后播放终端在接收到推送终端发送的播放指令时,基于该文件信息在播放终端的播放器播放待播放多媒体文件,使得播放终端不必根据停止指令退出播放器,实现了播放终端在同一播放器连续播放用户推送的多媒体文件,提高了播放终端播放多媒体文件的效率。When the receiving terminal receives the stop instruction sent by the push terminal and receives the transmission instruction within the preset time period, the present invention acquires the file information of the multimedia file to be played corresponding to the transmission instruction, and then the playback terminal receives the push terminal. When the play command is sent, the multimedia file to be played is played on the player of the play terminal based on the file information, so that the play terminal does not have to exit the player according to the stop instruction, so that the play terminal continuously plays the multimedia file pushed by the user in the same player, thereby improving The efficiency of the playback terminal playing multimedia files.
附图说明DRAWINGS
图1为本发明多媒体文件的播放方法的流程示意图;1 is a schematic flow chart of a method for playing a multimedia file according to the present invention;
图2为本发明播放多媒体文件的步骤第一实施例的细化流程示意图;2 is a schematic flowchart of a refinement of a first embodiment of a step of playing a multimedia file according to the present invention;
图3为本发明播放多媒体文件的步骤第二实施例的细化流程示意图;3 is a schematic flowchart of a second embodiment of a step of playing a multimedia file according to the present invention;
图4为本发明确定是否接收到传输指令的步骤的细化流程示意图;4 is a schematic flowchart showing the steps of determining whether a transmission instruction is received according to the present invention;
图5为本发明多媒体文件的播放系统的功能模块示意图;5 is a schematic diagram of functional modules of a multimedia file playing system according to the present invention;
图6为图5中显示模块的细化功能模块的第一实施例;6 is a first embodiment of a refinement function module of the display module of FIG. 5;
图7为图5中显示模块的细化功能模块的第二实施例;Figure 7 is a second embodiment of the refinement function module of the display module of Figure 5;
图8为图5中确定模块的细化功能模块实施例。FIG. 8 is an embodiment of a refinement function module of the determination module in FIG. 5. FIG.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种多媒体文件的播放方法。The invention provides a method for playing multimedia files.
参照图1,图1为本发明多媒体文件的播放方法的流程示意图。1 is a schematic flowchart of a method for playing a multimedia file according to the present invention.
在本实施例中,该多媒体文件的播放方法包括:In this embodiment, the method for playing the multimedia file includes:
步骤S10,播放终端在接收到推送终端发送的停止指令时,判断在预设时间段内是否接收到待播放多媒体文件的传输指令;Step S10: When receiving the stop command sent by the push terminal, the play terminal determines whether a transmission instruction of the multimedia file to be played is received within the preset time period;
其中,推送终端包括手机、pad等移动终端,停止指令以及传输指令均是用户采用推送终端发送至播放终端。预设时间段是指播放终端接收到停止指令与接收到传输指令之间预设的最大时间间隔,譬如,预设时间段为2秒。The push terminal includes a mobile terminal such as a mobile phone and a pad, and the stop command and the transmission command are sent by the user to the play terminal by using the push terminal. The preset time period refers to a preset maximum time interval between when the playback terminal receives the stop command and when the transfer command is received, for example, the preset time period is 2 seconds.
步骤S20,播放终端在预设时间段内接收到所述传输指令时,获取所述传输指令对应的待播放多媒体文件的文件信息;Step S20: The playback terminal acquires file information of the multimedia file to be played corresponding to the transmission instruction when receiving the transmission instruction within a preset time period;
其中,待播放多媒体文件的文件信息包括待播放多媒体文件的URL(Uniform Resource Locator,统一资源定位符)、待播放多媒体文件的类型等,待播放多媒体文件的类型包括图片、视频、音频等。该文件信息可以包括在传输指令中,也可以在播放终端接收到传输指令时,发送该文件信息的获取请求至推送终端,推送终端在接收到该获取请求时将文件信息发送至播放终端。The file information of the multimedia file to be played includes the URL of the multimedia file to be played (Uniform Resource) Locator, Uniform Resource Locator, type of multimedia files to be played, etc. The types of multimedia files to be played include pictures, videos, audio, and so on. The file information may be included in the transmission instruction, or when the playback terminal receives the transmission instruction, the acquisition request of the file information is sent to the push terminal, and the push terminal sends the file information to the play terminal when receiving the acquisition request.
步骤S30,播放终端在接收到推送终端发送的播放指令时,基于所述文件信息在所述播放终端的播放器播放所述待播放多媒体文件。Step S30: When receiving the play instruction sent by the push terminal, the play terminal plays the multimedia file to be played on the player of the play terminal based on the file information.
播放终端在接收到推送终端发送的播放指令时,根据待播放多媒体文件的文件信息进行解析获得待播放多媒体文件的URL,并根据获取到的URL下载该待播放多媒体文件,然后在播放终端的播放器播放已下载该待播放多媒体文件,当然,在待播放多媒体文件的数据量较大时可以采用边下边播的方式进行下载以及播放。When receiving the play instruction sent by the push terminal, the play terminal parses the file of the multimedia file to be played according to the file information of the multimedia file to be played, and downloads the multimedia file to be played according to the obtained URL, and then plays the play file at the play terminal. The player plays the multimedia file to be played. Of course, when the amount of data of the multimedia file to be played is large, the user can download and play by using the method of broadcasting.
本实施例通过播放终端在接收到推送终端发送的停止指令,且在预设时间段内接收到传输指令时,获取该传输指令对应的待播放多媒体文件的文件信息,然后播放终端在接收到推送终端发送的播放指令时,基于该文件信息在播放终端的播放器播放待播放多媒体文件,使得播放终端不必根据停止指令退出播放器,实现了播放终端在同一播放器连续播放用户推送的多媒体文件,提高了播放终端播放多媒体文件的效率,提高了用户体验。In this embodiment, when the playback terminal receives the stop command sent by the push terminal and receives the transfer instruction within the preset time period, the file information of the multimedia file to be played corresponding to the transfer instruction is obtained, and then the play terminal receives the push message. When the terminal sends the play command, the player plays the multimedia file to be played on the player of the play terminal based on the file information, so that the play terminal does not have to exit the player according to the stop instruction, so that the play terminal continuously plays the multimedia file pushed by the user in the same player. The efficiency of playing multimedia files by the playing terminal is improved, and the user experience is improved.
参照图2,图2为本发明播放多媒体文件的步骤第一实施例的细化流程示意图。Referring to FIG. 2, FIG. 2 is a schematic diagram of a refinement process of a first embodiment of a step of playing a multimedia file according to the present invention.
基于第一实施例提出本发明播放多媒体文件的步骤的细化流程的第一实施例,在本实施例中,步骤S30包括:A first embodiment of the refinement process of the step of playing the multimedia file of the present invention is proposed based on the first embodiment. In this embodiment, step S30 includes:
步骤S31,播放终端在接收到播放指令,且所述待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭当前运行的播放器;Step S31, when the playback terminal receives the play instruction, and the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the currently running player is closed;
待播放多媒体文件的类型包括图片、视频、音频等,本实施例中,不同类型的待播放多媒体文件采用的播放器不同,譬如,在用户采用同一推送终端推送不同类型的多媒体文件,或者采用不同的推送终端推送多媒体文件时,都需要确定待播放多媒体文件与当前播放的多媒体文件的文件类型是否一致,并在确定在不一致时关闭当前运行的播放器,以保证接收到的多媒体文件顺利的播放。The type of the multimedia file to be played includes a picture, a video, an audio, and the like. In this embodiment, different types of multimedia files to be played are used by different players, for example, the user pushes different types of multimedia files by using the same push terminal, or uses different When the push terminal pushes the multimedia file, it is determined whether the file type of the multimedia file to be played is consistent with the file type of the currently played multimedia file, and when the inconsistency is determined to be closed, the currently running player is closed to ensure the smooth playback of the received multimedia file. .
步骤S32,播放终端启动所述待播放多媒体文件的文件类型对应的播放器,并采用当前启动的所述播放器播放所述待播放多媒体文件。Step S32: The playback terminal starts the player corresponding to the file type of the multimedia file to be played, and plays the multimedia file to be played by using the currently activated player.
本实施例播放终端在待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,根据待播放多媒体文件的文件类型确定播放需要的播放器进行播放,即播放终端启动待播放多媒体文件的文件类型对应的播放器,然后根据待播放多媒体文件的文件信息进行解析获得待播放多媒体文件的URL,并根据待播放多媒体文件的URL下载该待播放多媒体文件,进而能够实现待播放多媒体文件的顺利播放。当然,在待播放多媒体文件与当前播放的多媒体文件的文件类型一致时,直接在当前播放器播放该待播放多媒体文件,即根据获取到的URL下载该待播放多媒体文件,然后在播放终端的播放器播放已下载该待播放多媒体文件。In the embodiment, when the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the playback terminal determines, according to the file type of the multimedia file to be played, the player that needs to be played, that is, the file type of the multimedia file to be played by the playback terminal. The corresponding player then parses the file of the multimedia file to be played according to the file information of the multimedia file to be played, and downloads the multimedia file to be played according to the URL of the multimedia file to be played, thereby enabling smooth playback of the multimedia file to be played. Certainly, when the file type of the multimedia file to be played is consistent with the file type of the currently played multimedia file, the multimedia file to be played is directly played on the current player, that is, the multimedia file to be played is downloaded according to the obtained URL, and then played in the playing terminal. The player has downloaded the multimedia file to be played.
本实施例通过播放终端在接收到播放指令,且待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭当前运行的播放器,接着播放终端启动待播放多媒体文件的文件类型对应的播放器,并采用当前启动的播放器播放该待播放多媒体文件,避免了因待播放多媒体文件与当前播放的多媒体文件的文件类型不一致而造成的当前播放器无法播放待播放多媒体文件的问题,进一步提高了播放终端播放多媒体文件的效率,提高了用户体验。In this embodiment, when the playback terminal receives the play instruction, and the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the currently running player is closed, and then the playback terminal starts the play corresponding to the file type of the multimedia file to be played. And playing the to-be-played multimedia file by using the currently-played player, thereby avoiding the problem that the current player cannot play the multimedia file to be played due to the inconsistency between the file type of the multimedia file to be played and the currently playing multimedia file, further improving The efficiency of playing the multimedia file by the playing terminal improves the user experience.
参照图3,图3为本发明播放多媒体文件的步骤第二实施例的细化流程示意图。Referring to FIG. 3, FIG. 3 is a schematic flowchart of a second embodiment of a step of playing a multimedia file according to the present invention.
基于第一实施例提出本发明播放多媒体文件的步骤的细化流程的第二实施例,在本实施例中,步骤S30包括:A second embodiment of the refinement process of the step of playing the multimedia file of the present invention is proposed based on the first embodiment. In this embodiment, step S30 includes:
步骤S33,播放终端在接收到播放指令,且在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息;Step S33, the playback terminal receives the play instruction, and stores the file information in a preset storage space when the player is downloading the multimedia file or the player is playing the multimedia file;
譬如,在用户连续推送图片时,如果前次或更早推送的图片处于下载或播放中,则将当前推送的图片的URL存储在预设的存储空间,当然,若在某一图片下载或播放过程中,播放终端接收到用户推送的多张图片,则可以在每次接收到图片时将图片的URL存储在预设的存储空间,或者在每次接收到图片时采用当前接收到的图片的URL替换预设的存储空间中的图片的URL。For example, when the user continuously pushes the picture, if the picture pushed before or earlier is in the download or play, the URL of the currently pushed picture is stored in the preset storage space, of course, if it is downloaded or played in a certain picture. In the process, when the playing terminal receives multiple pictures pushed by the user, the URL of the picture may be stored in a preset storage space each time the picture is received, or the currently received picture is used each time the picture is received. The URL replaces the URL of the picture in the preset storage space.
步骤S34,播放终端在所述多媒体文件播放结束时,基于存储的文件信息在所述播放器播放所述待播放多媒体文件,并删除所述预设存储空间中保存的所述文件信息。Step S34: When the multimedia file is played, the playback terminal plays the multimedia file to be played on the player based on the stored file information, and deletes the file information saved in the preset storage space.
在播放器将正在播放的多媒体文件播放完时,根据存储的文件信息播放待播放多媒体文件,即从预设的存储空间获取待播放多媒体文件的URL,根据获取到的URL下载该待播放多媒体文件,然后在播放终端的播放器播放已下载该待播放多媒体文件,当然,在预设的存储空间存在多个待播放多媒体文件的URL时,按照URL存储的时间顺序进行获取操作。After the player plays the multimedia file that is being played, the multimedia file to be played is played according to the stored file information, that is, the URL of the multimedia file to be played is obtained from the preset storage space, and the multimedia file to be played is downloaded according to the obtained URL. And then playing the multimedia file to be played in the player of the playing terminal. Of course, when there are multiple URLs of the multimedia file to be played in the preset storage space, the obtaining operation is performed according to the time sequence of the URL storage.
优选地,在本实施例中,步骤S33包括:在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,采用所述文件信息更新预设存储空间存储的文件信息。Preferably, in this embodiment, step S33 includes: when the player is downloading the multimedia file or the player is playing the multimedia file, using the file information to update the file information stored in the preset storage space.
例如,在某一图片下载或播放过程中,播放终端接收到用户推送的多张图片时,在每次接收到图片时采用当前接收到的图片的URL替换预设的存储空间中的图片的URL。进而在多媒体文件播放结束时,播放终端的播放器只需要播放最后一张图片,跳过了中间图片的显示过程,在用户推送的最后一张图片为重要的图片时,播放终端能够及时显示该图片,且能保证图片的正常切换以及显示。For example, in a certain picture downloading or playing process, when the playing terminal receives a plurality of pictures pushed by the user, the URL of the currently stored picture is replaced with the URL of the picture in the preset storage space every time the picture is received. . Further, when the multimedia file is played, the player of the playback terminal only needs to play the last picture, skipping the display process of the middle picture, and when the last picture pushed by the user is an important picture, the playback terminal can display the picture in time. Picture, and can guarantee the normal switching and display of the picture.
本实施例通过播放终端在接收到播放指令,且播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储文件信息,然后播放终端在多媒体文件播放结束时,基于存储的文件信息在播放器播放待播放多媒体文件,并删除预设存储空间中保存的所述文件信息,使得在用户持续推送待播放多媒体文件至播放终端时,播放终端能够完全显示用户推送的待播放多媒体文件,避免了由于待播放多媒体文件过多而造成播放终端阻塞,进而导致播放终端的播放器无法显示多媒体文件的问题,进一步提高了播放终端播放多媒体文件的效率,提高了用户体验。 In this embodiment, when the playback terminal receives the play instruction, and the player is downloading the multimedia file or the player is playing the multimedia file, storing the file information in the preset storage space, and then the playback terminal is based on the storage when the multimedia file is played. The file information plays the multimedia file to be played in the player, and deletes the file information saved in the preset storage space, so that when the user continuously pushes the multimedia file to be played to the playing terminal, the playing terminal can completely display the multimedia to be played pushed by the user. The file avoids the problem that the playback terminal is blocked due to too many multimedia files to be played, and the player of the playback terminal cannot display the multimedia file, thereby further improving the efficiency of playing the multimedia file by the playback terminal and improving the user experience.
参照图4,图4为本发明确定是否接收到传输指令的步骤的细化流程示意图。Referring to FIG. 4, FIG. 4 is a schematic diagram showing the refinement of the steps of determining whether a transmission instruction is received according to the present invention.
基于上述实施例提出本发明步骤S10的细化流程实施例,在本实施例中,步骤S10包括:An embodiment of the refinement process of the step S10 of the present invention is proposed based on the foregoing embodiment. In this embodiment, step S10 includes:
步骤S11,播放终端在接收到停止指令时,确定播放终端的播放器是否处于启动状态;Step S11, when the playback terminal receives the stop instruction, it determines whether the player of the play terminal is in an activated state;
容易理解,播放终端的播放器已启动是实现连续显示的基础,因此,首先需要确定播放终端的播放器是否已经启动;当然,本实施例中,在播放器已启动时,也可以先暂停该播放器即控制所述播放器停止播放。It is easy to understand that the player of the playing terminal has been activated to realize the continuous display. Therefore, it is first necessary to determine whether the player of the playing terminal has been activated. Of course, in this embodiment, when the player is started, the player may be suspended first. The player controls the player to stop playing.
步骤S12,播放终端在所述播放器处于启动状态时,确定预设时间段内是否接收到待播放多媒体文件的传输指令。Step S12: When the player is in the startup state, the playing terminal determines whether a transmission instruction of the multimedia file to be played is received within the preset time period.
本实施例通过播放终端在接收到停止指令时,确定播放终端的播放器是否处于启动状态,接着播放终端在所述播放器处于启动状态时,确定预设时间段内是否接收到待播放多媒体文件的传输指令,进而能够保证该播放终端在播放器已启动的前提下进行后续的流程,进而能够保证在该播放器连续播放用户推送的多媒体文件,进一步提高了播放终端播放多媒体文件的效率。In this embodiment, when the playback terminal receives the stop command, it determines whether the player of the play terminal is in an activated state, and then the play terminal determines whether the multimedia file to be played is received within the preset time period when the player is in the startup state. The transmission instruction can ensure that the playback terminal performs the subsequent process on the premise that the player has been started, thereby ensuring that the multimedia file pushed by the user is continuously played in the player, thereby further improving the efficiency of playing the multimedia file by the playback terminal.
本发明进一步提供一种多媒体文件的播放系统。The invention further provides a multimedia file playback system.
参照图5,图5为本发明多媒体文件的播放系统的功能模块示意图。Referring to FIG. 5, FIG. 5 is a schematic diagram of functional modules of a multimedia file playing system according to the present invention.
在本实施例中,该多媒体文件的播放系统包括:In this embodiment, the playback system of the multimedia file includes:
确定模块10,用于在接收到推送终端发送的停止指令时,判断播放终端在预设时间段内是否接收到待播放多媒体文件的传输指令;The determining module 10 is configured to: when receiving the stop instruction sent by the push terminal, determine whether the play terminal receives the transmission instruction of the multimedia file to be played within the preset time period;
其中,推送终端包括手机、pad等移动终端,停止指令以及传输指令均是用户采用推送终端发送至播放终端。预设时间段是指播放终端接收到停止指令与接收到传输指令之间预设的最大时间间隔,譬如,预设时间段为2秒。The push terminal includes a mobile terminal such as a mobile phone and a pad, and the stop command and the transmission command are sent by the user to the play terminal by using the push terminal. The preset time period refers to a preset maximum time interval between when the playback terminal receives the stop command and when the transfer command is received, for example, the preset time period is 2 seconds.
获取模块20,用于在预设时间段内接收到所述传输指令时,获取所述传输指令对应的待播放多媒体文件的文件信息;The obtaining module 20 is configured to acquire file information of the multimedia file to be played corresponding to the transmission instruction when the transmission instruction is received within a preset time period;
其中,待播放多媒体文件的文件信息包括待播放多媒体文件的URL(Uniform Resource Locator,统一资源定位符)、待播放多媒体文件的类型等,待播放多媒体文件的类型包括图片、视频、音频等。该文件信息可以包括在传输指令中,也可以在播放终端接收到传输指令时,发送该文件信息的获取请求至推送终端,推送终端在接收到该获取请求时将文件信息发送至播放终端。The file information of the multimedia file to be played includes the URL of the multimedia file to be played (Uniform Resource) Locator, Uniform Resource Locator, type of multimedia files to be played, etc. The types of multimedia files to be played include pictures, videos, audio, and so on. The file information may be included in the transmission instruction, or when the playback terminal receives the transmission instruction, the acquisition request of the file information is sent to the push terminal, and the push terminal sends the file information to the play terminal when receiving the acquisition request.
显示模块30,用于在接收到推送终端发送的播放指令时,基于所述文件信息在播放终端的播放器播放所述待播放多媒体文件。The display module 30 is configured to: when receiving the play instruction sent by the push terminal, play the multimedia file to be played on the player of the play terminal based on the file information.
在接收到推送终端发送的播放指令时,显示模块30根据待播放多媒体文件的文件信息进行解析获得待播放多媒体文件的URL,并根据获取到的URL下载该待播放多媒体文件,然后在播放终端的播放器播放已下载该待播放多媒体文件,当然,在待播放多媒体文件的数据量较大时可以采用边下边播的方式进行下载以及播放。Upon receiving the play instruction sent by the push terminal, the display module 30 parses the file of the multimedia file to be played according to the file information of the multimedia file to be played, and downloads the multimedia file to be played according to the obtained URL, and then plays the multimedia file at the play terminal. The player plays the multimedia file to be played. Of course, when the amount of data of the multimedia file to be played is large, the user can download and play by using the method of broadcasting.
本实施例通过在接收到推送终端发送的停止指令,且在确定模块10确定预设时间段内接收到传输指令时,获取模块20获取该传输指令对应的待播放多媒体文件的文件信息,然后在接收到推送终端发送的播放指令时,显示模块30基于该文件信息在播放终端的播放器播放待播放多媒体文件,使得播放终端不必根据停止指令退出播放器,实现了播放终端在同一播放器连续播放用户推送的多媒体文件,提高了播放终端播放多媒体文件的效率,提高了用户体验。In this embodiment, when receiving the stop instruction sent by the push terminal, and when the determining module 10 determines that the transfer instruction is received within the preset time period, the obtaining module 20 acquires the file information of the multimedia file to be played corresponding to the transfer instruction, and then Upon receiving the play command sent by the push terminal, the display module 30 plays the multimedia file to be played on the player of the play terminal based on the file information, so that the play terminal does not have to exit the player according to the stop instruction, so that the play terminal continuously plays in the same player. The multimedia file pushed by the user improves the efficiency of playing the multimedia file by the playing terminal and improves the user experience.
参照图6,图6为图5中显示模块的细化功能模块的第一实施例。Referring to FIG. 6, FIG. 6 is a first embodiment of a refinement function module of the display module of FIG. 5.
基于第一实施例提出本发明显示模块30细化功能模块的第一实施例,在本实施例中,显示模块30包括:A first embodiment of the display module 30 refinement function module of the present invention is provided based on the first embodiment. In this embodiment, the display module 30 includes:
关闭单元31,用于在接收到播放指令,且所述待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭当前运行的播放器;The closing unit 31 is configured to: when the play instruction is received, and the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the currently running player is closed;
待播放多媒体文件的类型包括图片、视频、音频等,本实施例中,不同类型的待播放多媒体文件采用的播放器不同,譬如,在用户采用同一推送终端推送不同类型的多媒体文件,或者采用不同的推送终端推送多媒体文件时,都需要确定待播放多媒体文件与当前播放的多媒体文件的文件类型是否一致,并在确定在不一致时关闭当前运行的播放器,以保证接收到的多媒体文件顺利的播放。The type of the multimedia file to be played includes a picture, a video, an audio, and the like. In this embodiment, different types of multimedia files to be played are used by different players, for example, the user pushes different types of multimedia files by using the same push terminal, or uses different When the push terminal pushes the multimedia file, it is determined whether the file type of the multimedia file to be played is consistent with the file type of the currently played multimedia file, and when the inconsistency is determined to be closed, the currently running player is closed to ensure the smooth playback of the received multimedia file. .
第一显示单元32,用于启动所述待播放多媒体文件的文件类型对应的播放器,并采用当前启动的所述播放器播放所述待播放多媒体文件。The first display unit 32 is configured to start a player corresponding to the file type of the multimedia file to be played, and play the multimedia file to be played by using the currently activated player.
本实施例在待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,根据待播放多媒体文件的文件类型确定播放需要的播放器进行播放,即启动待播放多媒体文件的文件类型对应的播放器,然后根据待播放多媒体文件的文件信息进行解析获得待播放多媒体文件的URL,并根据待播放多媒体文件的URL下载该待播放多媒体文件,进而能够实现待播放多媒体文件的顺利播放。当然,在待播放多媒体文件与当前播放的多媒体文件的文件类型一致时,直接在当前播放器播放该待播放多媒体文件,即根据获取到的URL下载该待播放多媒体文件,然后在播放终端的播放器播放已下载该待播放多媒体文件。In this embodiment, when the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the player that needs to be played is determined to play according to the file type of the multimedia file to be played, that is, the player corresponding to the file type of the multimedia file to be played is started. Then, the URL of the multimedia file to be played is obtained according to the file information of the multimedia file to be played, and the multimedia file to be played is downloaded according to the URL of the multimedia file to be played, thereby enabling smooth playback of the multimedia file to be played. Certainly, when the file type of the multimedia file to be played is consistent with the file type of the currently played multimedia file, the multimedia file to be played is directly played on the current player, that is, the multimedia file to be played is downloaded according to the obtained URL, and then played in the playing terminal. The player has downloaded the multimedia file to be played.
本实施例通过在接收到播放指令,且待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭单元31关闭当前运行的播放器,接着第一显示单元32启动待播放多媒体文件的文件类型对应的播放器,并采用当前启动的播放器播放该待播放多媒体文件,避免了因待播放多媒体文件与当前播放的多媒体文件的文件类型不一致而造成的当前播放器无法播放待播放多媒体文件的问题,进一步提高了播放终端播放多媒体文件的效率,提高了用户体验In this embodiment, when the playback command is received, and the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the closing unit 31 closes the currently running player, and then the first display unit 32 starts the file of the multimedia file to be played. The player corresponding to the type, and playing the multimedia file to be played by using the currently started player, thereby avoiding that the current player cannot play the multimedia file to be played due to the inconsistency between the file type of the multimedia file to be played and the currently playing multimedia file. The problem further improves the efficiency of the playback terminal playing multimedia files and improves the user experience.
参照图7,图7为图5中显示模块的细化功能模块的第二实施例。Referring to FIG. 7, FIG. 7 is a second embodiment of the refinement function module of the display module of FIG. 5.
基于第一实施例提出本发明显示模块30的细化功能模块的第二实施例,在本实施例中,显示模块30包括:A second embodiment of the refinement function module of the display module 30 of the present invention is provided based on the first embodiment. In this embodiment, the display module 30 includes:
存储单元33,用于在接收到播放指令,且所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息;The storage unit 33 is configured to store the file information in a preset storage space when the playback instruction is received, and the player is downloading the multimedia file or the player is playing the multimedia file;
譬如,在用户连续推送图片时,如果前次或更早推送的图片处于下载或播放中,则存储单元33将当前推送的图片的URL存储在预设的存储空间,当然,若在某一图片下载或播放过程中,播放终端接收到用户推送的多张图片,则可以在每次接收到图片时将图片的URL存储在预设的存储空间,或者在每次接收到图片时采用当前接收到的图片的URL替换预设的存储空间中的图片的URL。For example, when the user continuously pushes the picture, if the picture pushed in the previous or earlier is in the download or play, the storage unit 33 stores the URL of the currently pushed picture in the preset storage space, of course, if it is in a certain picture. During the download or playback process, when the playback terminal receives multiple images pushed by the user, the URL of the image may be stored in the preset storage space each time the image is received, or the current received image is received each time the image is received. The URL of the picture replaces the URL of the picture in the preset storage space.
第二显示单元34,用于在所述多媒体文件播放结束时,基于存储的文件信息在所述播放器播放所述待播放多媒体文件,并删除所述预设存储空间中保存的所述文件信息。The second display unit 34 is configured to: when the multimedia file is played, play the multimedia file to be played on the player based on the stored file information, and delete the file information saved in the preset storage space. .
在播放器将正在播放的多媒体文件播放完时,第二显示单元34根据存储的文件信息播放待播放多媒体文件,即从预设的存储空间获取待播放多媒体文件的URL,根据获取到的URL下载该待播放多媒体文件,然后在播放终端的播放器播放已下载该待播放多媒体文件,在预设的存储空间存在多个待播放多媒体文件的URL时,按照URL存储的时间顺序进行获取操作。When the player plays the multimedia file that is being played, the second display unit 34 plays the multimedia file to be played according to the stored file information, that is, obtains the URL of the multimedia file to be played from the preset storage space, and downloads according to the obtained URL. The multimedia file to be played is then played, and the multimedia file to be played is downloaded in the player of the playing terminal. When there are multiple URLs of the multimedia file to be played in the preset storage space, the obtaining operation is performed according to the time sequence of the URL storage.
优选地,在本实施例中,所述存储单元33还用于在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,采用所述文件信息更新预设存储空间存储的文件信息。Preferably, in the embodiment, the storage unit 33 is further configured to use the file information to update the file information stored in the preset storage space when the player is downloading the multimedia file or the player is playing the multimedia file.
例如,在某一图片下载或播放过程中,播放终端接收到用户推送的多张图片时,在每次接收到图片时存储单元33采用当前接收到的图片的URL替换预设的存储空间中的图片的URL。进而在多媒体文件播放结束时,播放终端的播放器只需要播放最后一张图片,跳过了中间图片的显示过程,在用户推送的最后一张图片为重要的图片时,播放终端能够及时显示该图片,且能保证图片的正常切换以及显示。For example, in a certain picture downloading or playing process, when the playing terminal receives a plurality of pictures pushed by the user, the storage unit 33 replaces the preset storage space with the URL of the currently received picture every time the picture is received. The URL of the image. Further, when the multimedia file is played, the player of the playback terminal only needs to play the last picture, skipping the display process of the middle picture, and when the last picture pushed by the user is an important picture, the playback terminal can display the picture in time. Picture, and can guarantee the normal switching and display of the picture.
本实施例通过在接收到播放指令,且播放器正在下载多媒体文件或播放器正在播放多媒体文件时,存储单元33在预设存储空间存储文件信息,然后在多媒体文件播放结束时,第二显示单元34基于存储的文件信息在播放器播放待播放多媒体文件,并删除预设存储空间中保存的所述文件信息,使得在用户持续推送待播放多媒体文件至播放终端时,播放终端能够完全显示用户推送的待播放多媒体文件,避免了由于待播放多媒体文件过多而造成播放终端阻塞,进而导致播放终端的播放器无法显示多媒体文件的问题,进一步提高了播放终端播放多媒体文件的效率,提高了用户体验。In this embodiment, when receiving the play instruction, and the player is downloading the multimedia file or the player is playing the multimedia file, the storage unit 33 stores the file information in the preset storage space, and then when the multimedia file is played, the second display unit The player plays the multimedia file to be played in the player based on the stored file information, and deletes the file information saved in the preset storage space, so that the playing terminal can completely display the user push when the user continuously pushes the multimedia file to be played to the playing terminal. The multimedia file to be played avoids the problem that the playback terminal is blocked due to too many multimedia files to be played, and the player of the playback terminal cannot display the multimedia file, thereby further improving the efficiency of playing the multimedia file by the playback terminal and improving the user experience. .
参照图8,图8为图5中确定模块的细化功能模块实施例。Referring to FIG. 8, FIG. 8 is an embodiment of a refinement function module of the determining module in FIG. 5.
基于第一实施例提出本发明确定模块10的细化功能模块实施例,在本实施例中,确定模块10包括:An embodiment of the refinement function module of the determining module 10 of the present invention is provided based on the first embodiment. In this embodiment, the determining module 10 includes:
播放状态确定单元11,用于在接收到停止指令时,确定播放终端的播放器是否处于启动状态;The playing state determining unit 11 is configured to determine, when the stop command is received, whether the player of the playing terminal is in an activated state;
容易理解,播放终端的播放器已启动是实现连续显示的基础,因此,首先需要确定播放终端的播放器是否已经启动;当然,本实施例中,在播放器已启动时,也可以先暂停该播放器即控制所述播放器停止播放。It is easy to understand that the player of the playing terminal has been activated to realize the continuous display. Therefore, it is first necessary to determine whether the player of the playing terminal has been activated. Of course, in this embodiment, when the player is started, the player may be suspended first. The player controls the player to stop playing.
接收信息确定单元12,用于在所述播放器处于启动状态时,确定预设时间段内是否接收到待播放多媒体文件的传输指令。The receiving information determining unit 12 is configured to determine, when the player is in an activated state, whether a transmission instruction of the multimedia file to be played is received within a preset time period.
本实施例通过在接收到停止指令时,播放状态确定单元11确定播放终端的播放器是否处于启动状态,在所述播放器处于启动状态时,接收信息确定单元12确定预设时间段内是否接收到待播放多媒体文件的传输指令,进而能够保证该播放终端在播放器已启动的前提下进行后续的流程,进而能够保证在该播放器连续播放用户推送的多媒体文件,进一步提高了播放终端播放多媒体文件的效率,提高了用户体验。In the embodiment, when the stop instruction is received, the play status determining unit 11 determines whether the player of the play terminal is in the activated state, and when the player is in the activated state, the received information determining unit 12 determines whether to receive within the preset time period. The transmission instruction of the multimedia file to be played can further ensure that the playback terminal performs the subsequent process on the premise that the player has been started, thereby ensuring that the multimedia file pushed by the user is continuously played in the player, thereby further improving the playing terminal playing multimedia. The efficiency of the file improves the user experience.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种多媒体文件的播放方法,其特征在于,所述多媒体文件的播放方法包括以下步骤:A method for playing a multimedia file, characterized in that the method for playing the multimedia file comprises the following steps:
    播放终端在接收到推送终端发送的停止指令时,判断在预设时间段内是否接收到待播放多媒体文件的传输指令;When receiving the stop command sent by the push terminal, the play terminal determines whether a transmission instruction of the multimedia file to be played is received within a preset time period;
    播放终端在预设时间段内接收到所述传输指令时,获取所述传输指令对应的待播放多媒体文件的文件信息;When the playback terminal receives the transmission instruction within a preset time period, acquiring, by the playback terminal, file information of the multimedia file to be played corresponding to the transmission instruction;
    播放终端在接收到推送终端发送的播放指令时,基于所述文件信息获取待播放多媒体文件的URL;When receiving the play instruction sent by the push terminal, the play terminal acquires the URL of the multimedia file to be played based on the file information;
    播放终端基于获取到的URL在所述播放终端的播放器播放所述待播放多媒体文件。The playing terminal plays the to-be-played multimedia file on the player of the playing terminal based on the obtained URL.
  2. 如权利要求1所述的多媒体文件的播放方法,其特征在于,所述在所述播放终端的播放器播放所述待播放多媒体文件的步骤包括: The method for playing a multimedia file according to claim 1, wherein the step of playing the multimedia file to be played by the player of the playing terminal comprises:
    播放终端在所述待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭当前运行的播放器;The playback terminal closes the currently running player when the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file;
    播放终端启动所述待播放多媒体文件的文件类型对应的播放器,并采用当前启动的所述播放器播放所述待播放多媒体文件。The playing terminal starts the player corresponding to the file type of the multimedia file to be played, and plays the multimedia file to be played by using the currently activated player.
  3. 如权利要求1所述的多媒体文件的播放方法,其特征在于,所述在所述播放终端的播放器播放所述待播放多媒体文件的步骤包括:The method for playing a multimedia file according to claim 1, wherein the step of playing the multimedia file to be played by the player of the playing terminal comprises:
    播放终端在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息;The playback terminal stores the file information in a preset storage space when the player is downloading a multimedia file or the player is playing a multimedia file;
    播放终端在所述多媒体文件播放结束时,基于存储的文件信息在所述播放器播放所述待播放多媒体文件,并删除所述预设存储空间中保存的所述文件信息。When the multimedia file is played, the playing terminal plays the multimedia file to be played on the player based on the stored file information, and deletes the file information saved in the preset storage space.
  4. 如权利要求3所述的多媒体文件的播放方法,其特征在于,在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息的步骤包括:The method for playing a multimedia file according to claim 3, wherein when the player is downloading the multimedia file or the player is playing the multimedia file, the step of storing the file information in the preset storage space comprises:
    在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,采用所述文件信息更新预设存储空间存储的文件信息。When the player is downloading a multimedia file or the player is playing a multimedia file, the file information stored in the preset storage space is updated by using the file information.
  5. 如权利要求1所述的多媒体文件的播放方法,其特征在于,播放终端在接收到推送终端发送的停止指令时,判断在预设时间段内是否接收到待播放多媒体文件的传输指令的步骤包括:The method for playing a multimedia file according to claim 1, wherein when the playback terminal receives the stop command sent by the push terminal, the step of determining whether the transfer command of the multimedia file to be played is received within the preset time period comprises: :
    播放终端在接收到停止指令时,确定播放终端的播放器是否处于启动状态;When the playback terminal receives the stop command, it determines whether the player of the play terminal is in an activated state;
    播放终端在所述播放器处于启动状态时,确定预设时间段内是否接收到待播放多媒体文件的传输指令。When the player is in the startup state, the playing terminal determines whether a transmission instruction of the multimedia file to be played is received within the preset time period.
  6. 如权利要求5所述的多媒体文件的播放方法,其特征在于,在所述播放终端的播放器播放所述待播放多媒体文件的步骤包括:The method for playing a multimedia file according to claim 5, wherein the step of playing the multimedia file to be played by the player of the playing terminal comprises:
    播放终端在所述待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭当前运行的播放器;The playback terminal closes the currently running player when the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file;
    播放终端启动所述待播放多媒体文件的文件类型对应的播放器,并采用当前启动的所述播放器播放所述待播放多媒体文件。The playing terminal starts the player corresponding to the file type of the multimedia file to be played, and plays the multimedia file to be played by using the currently activated player.
  7. 一种多媒体文件的播放方法,其特征在于,所述多媒体文件的播放方法包括以下步骤:A method for playing a multimedia file, characterized in that the method for playing the multimedia file comprises the following steps:
    播放终端在接收到推送终端发送的停止指令时,判断在预设时间段内是否接收到待播放多媒体文件的传输指令;When receiving the stop command sent by the push terminal, the play terminal determines whether a transmission instruction of the multimedia file to be played is received within a preset time period;
    播放终端在预设时间段内接收到所述传输指令时,获取所述传输指令对应的待播放多媒体文件的文件信息;When the playback terminal receives the transmission instruction within a preset time period, acquiring, by the playback terminal, file information of the multimedia file to be played corresponding to the transmission instruction;
    播放终端在接收到推送终端发送的播放指令时,基于所述文件信息在所述播放终端的播放器播放所述待播放多媒体文件。When receiving the play instruction sent by the push terminal, the play terminal plays the to-be-played multimedia file on the player of the play terminal based on the file information.
  8. 如权利要求7所述的多媒体文件的播放方法,其特征在于,所述播放终端在接收到推送终端发送的播放指令时,基于所述文件信息在播放终端的播放器播放所述待播放多媒体文件的步骤包括:The method for playing a multimedia file according to claim 7, wherein the playback terminal plays the multimedia file to be played on the player of the playback terminal based on the file information when receiving the play command sent by the push terminal. The steps include:
    播放终端在接收到播放指令,且所述待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭当前运行的播放器;When the play terminal receives the play instruction, and the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the currently running player is closed;
    播放终端启动所述待播放多媒体文件的文件类型对应的播放器,并采用当前启动的所述播放器播放所述待播放多媒体文件。The playing terminal starts the player corresponding to the file type of the multimedia file to be played, and plays the multimedia file to be played by using the currently activated player.
  9. 如权利要求7所述的多媒体文件的播放方法,其特征在于,所述播放终端在接收到推送终端发送的播放指令时,基于所述文件信息在播放终端的播放器播放所述待播放多媒体文件的步骤包括:The method for playing a multimedia file according to claim 7, wherein the playback terminal plays the multimedia file to be played on the player of the playback terminal based on the file information when receiving the play command sent by the push terminal. The steps include:
    播放终端在接收到播放指令,且所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息;When the play terminal receives the play instruction, and the player is downloading the multimedia file or the player is playing the multimedia file, storing the file information in the preset storage space;
    播放终端在所述多媒体文件播放结束时,基于存储的文件信息在所述播放器播放所述待播放多媒体文件,并删除所述预设存储空间中保存的所述文件信息。When the multimedia file is played, the playing terminal plays the multimedia file to be played on the player based on the stored file information, and deletes the file information saved in the preset storage space.
  10. 如权利要求9所述的多媒体文件的播放方法,其特征在于,在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息的步骤包括:The method for playing a multimedia file according to claim 9, wherein when the player is downloading a multimedia file or the player is playing a multimedia file, the step of storing the file information in a preset storage space comprises:
    在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,采用所述文件信息更新预设存储空间存储的文件信息。When the player is downloading a multimedia file or the player is playing a multimedia file, the file information stored in the preset storage space is updated by using the file information.
  11. 如权利要求7所述的多媒体文件的播放方法,其特征在于,播放终端在接收到停止指令时,判断预设时间段内是否接收到待播放多媒体文件的传输指令的步骤包括:The method for playing a multimedia file according to claim 7, wherein the step of determining, by the playback terminal, whether the transmission instruction of the multimedia file to be played is received within the preset time period is:
    播放终端在接收到停止指令时,确定播放终端的播放器是否处于启动状态;When the playback terminal receives the stop command, it determines whether the player of the play terminal is in an activated state;
    播放终端在所述播放器处于启动状态时,确定预设时间段内是否接收到待播放多媒体文件的传输指令。When the player is in the startup state, the playing terminal determines whether a transmission instruction of the multimedia file to be played is received within the preset time period.
  12. 如权利要求11所述的多媒体文件的播放方法,其特征在于,所述在所述播放器播放所述待播放多媒体文件的步骤包括:The method for playing a multimedia file according to claim 11, wherein the step of playing the multimedia file to be played on the player comprises:
    播放终端在所述待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭当前运行的播放器;The playback terminal closes the currently running player when the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file;
    播放终端启动所述待播放多媒体文件的文件类型对应的播放器,并采用当前启动的所述播放器播放所述待播放多媒体文件。The playing terminal starts the player corresponding to the file type of the multimedia file to be played, and plays the multimedia file to be played by using the currently activated player.
  13. 如权利要求11所述的多媒体文件的播放方法,其特征在于,所述在所述播放终端的播放器播放所述待播放多媒体文件的步骤包括:The method for playing a multimedia file according to claim 11, wherein the step of playing the multimedia file to be played by the player of the playing terminal comprises:
    播放终端在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息;The playback terminal stores the file information in a preset storage space when the player is downloading a multimedia file or the player is playing a multimedia file;
    播放终端在所述多媒体文件播放结束时,基于存储的文件信息在所述播放器播放所述待播放多媒体文件,并删除所述预设存储空间中保存的所述文件信息。When the multimedia file is played, the playing terminal plays the multimedia file to be played on the player based on the stored file information, and deletes the file information saved in the preset storage space.
  14. 一种多媒体文件的播放系统,其特征在于,所述多媒体文件的播放系统包括:A multimedia file playing system, wherein the multimedia file playing system comprises:
    确定模块,用于在接收到推送终端发送的停止指令时,判断所述播放终端在预设时间段内是否接收到待播放多媒体文件的传输指令;a determining module, configured to: when receiving a stop command sent by the push terminal, determine whether the play terminal receives a transmission instruction of the multimedia file to be played within a preset time period;
    获取模块,用于在预设时间段内接收到所述传输指令时,获取所述传输指令对应的待播放多媒体文件的文件信息;An acquiring module, configured to acquire file information of a multimedia file to be played corresponding to the transmission instruction when the transmission instruction is received within a preset time period;
    显示模块,用于在接收到推送终端发送的播放指令时,基于所述文件信息在播放终端的播放器播放所述待播放多媒体文件。And a display module, configured to: when receiving the play instruction sent by the push terminal, play the multimedia file to be played on the player of the play terminal based on the file information.
  15. 如权利要求14所述的多媒体文件的播放系统,其特征在于,所述显示模块包括:The system for playing a multimedia file according to claim 14, wherein the display module comprises:
    关闭单元,用于在接收到播放指令,且所述待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭当前运行的播放器;a closing unit, configured to: when the play instruction is received, and the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the currently running player is closed;
    第一显示单元,用于启动所述待播放多媒体文件的文件类型对应的播放器,并采用当前启动的所述播放器播放所述待播放多媒体文件。The first display unit is configured to start a player corresponding to the file type of the multimedia file to be played, and play the multimedia file to be played by using the currently activated player.
  16. 如权利要求14所述的多媒体文件的播放系统,其特征在于,所述显示模块包括:The system for playing a multimedia file according to claim 14, wherein the display module comprises:
    存储单元,用于在接收到播放指令,且所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息;a storage unit, configured to store the file information in a preset storage space when the playback instruction is received, and the player is downloading the multimedia file or the player is playing the multimedia file;
    第二显示单元,用于在所述多媒体文件播放结束时,基于存储的文件信息在所述播放器播放所述待播放多媒体文件,并删除所述预设存储空间中保存的所述文件信息。a second display unit, configured to: when the multimedia file is played, play the multimedia file to be played on the player based on the stored file information, and delete the file information saved in the preset storage space.
  17. 如权利要求16所述的多媒体文件的播放系统,其特征在于,所述存储单元还用于在所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,采用所述文件信息更新预设存储空间存储的文件信息。The multimedia file playing system according to claim 16, wherein the storage unit is further configured to: when the player is downloading a multimedia file or the player is playing a multimedia file, update the preset by using the file information; File information stored in the storage space.
  18. 如权利要求14所述的多媒体文件的播放系统,其特征在于,所述确定模块包括:The system for playing multimedia files according to claim 14, wherein the determining module comprises:
    播放状态确定单元,用于在接收到停止指令时,确定播放终端的播放器是否处于启动状态;a playing state determining unit, configured to determine, when receiving the stop instruction, whether the player of the playing terminal is in an activated state;
    接收信息确定单元,用于在所述播放器处于启动状态时,确定预设时间段内是否接收到待播放多媒体文件的传输指令。The receiving information determining unit is configured to determine, when the player is in an activated state, whether a transmission instruction of the multimedia file to be played is received within a preset time period.
  19. 如权利要求16所述的多媒体文件的播放系统,其特征在于,所述显示模块包括:The system for playing a multimedia file according to claim 16, wherein the display module comprises:
    关闭单元,用于在接收到播放指令,且所述待播放多媒体文件与当前播放的多媒体文件的文件类型不一致时,关闭当前运行的播放器;a closing unit, configured to: when the play instruction is received, and the file type of the multimedia file to be played is inconsistent with the file type of the currently played multimedia file, the currently running player is closed;
    第一显示单元,用于启动所述待播放多媒体文件的文件类型对应的播放器,并采用当前启动的所述播放器播放所述待播放多媒体文件。The first display unit is configured to start a player corresponding to the file type of the multimedia file to be played, and play the multimedia file to be played by using the currently activated player.
  20. 如权利要求17所述的多媒体文件的播放系统,其特征在于,所述显示模块包括:The system for playing a multimedia file according to claim 17, wherein the display module comprises:
    存储单元,用于在接收到播放指令,且所述播放器正在下载多媒体文件或播放器正在播放多媒体文件时,在预设存储空间存储所述文件信息;a storage unit, configured to store the file information in a preset storage space when the playback instruction is received, and the player is downloading the multimedia file or the player is playing the multimedia file;
    第二显示单元,用于在所述多媒体文件播放结束时,基于存储的文件信息在所述播放器播放所述待播放多媒体文件,并删除所述预设存储空间中保存的所述文件信息。a second display unit, configured to: when the multimedia file is played, play the multimedia file to be played on the player based on the stored file information, and delete the file information saved in the preset storage space.
PCT/CN2016/084217 2015-11-16 2016-06-01 Method and system for playing back multimedia files WO2017084297A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510791006.X 2015-11-16
CN201510791006.XA CN105338401B (en) 2015-11-16 2015-11-16 The playback method and system of multimedia file

Publications (1)

Publication Number Publication Date
WO2017084297A1 true WO2017084297A1 (en) 2017-05-26

Family

ID=55288624

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084217 WO2017084297A1 (en) 2015-11-16 2016-06-01 Method and system for playing back multimedia files

Country Status (2)

Country Link
CN (1) CN105338401B (en)
WO (1) WO2017084297A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338401B (en) * 2015-11-16 2019-08-27 深圳Tcl数字技术有限公司 The playback method and system of multimedia file
CN108965927B (en) * 2018-07-25 2021-05-04 广州市迪士普音响科技有限公司 Broadcast control method and system
CN113747232B (en) * 2019-03-28 2022-10-28 海信视像科技股份有限公司 Method for pushing media file to display device by mobile terminal and display device
CN114189750A (en) * 2021-12-16 2022-03-15 中国建设银行股份有限公司 Playing method of multi-format file and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111647A (en) * 2009-12-28 2011-06-29 索尼公司 Reproducing apparatus, reproducing control method, and program
CN103237249A (en) * 2013-04-09 2013-08-07 青岛海信移动通信技术股份有限公司 Method, device and system for play control in digital living network alliance system
US20140003790A1 (en) * 2011-03-15 2014-01-02 Panasonic Corporation Content playback device, content playback system, and content playback method
CN103747326A (en) * 2014-01-14 2014-04-23 华为技术有限公司 Continuous playing method and device for multimedia file
CN104270666A (en) * 2014-10-24 2015-01-07 广东欧珀移动通信有限公司 Multimedia file playing method and system and DMR (digital multimedia renderer)
CN105338401A (en) * 2015-11-16 2016-02-17 深圳Tcl数字技术有限公司 Playing method and system of multimedia file

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9195775B2 (en) * 2009-06-26 2015-11-24 Iii Holdings 2, Llc System and method for managing and/or rendering internet multimedia content in a network
CN104243469B (en) * 2014-09-10 2017-10-31 广东欧珀移动通信有限公司 A kind of method for controlling to play, apparatus and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111647A (en) * 2009-12-28 2011-06-29 索尼公司 Reproducing apparatus, reproducing control method, and program
US20140003790A1 (en) * 2011-03-15 2014-01-02 Panasonic Corporation Content playback device, content playback system, and content playback method
CN103237249A (en) * 2013-04-09 2013-08-07 青岛海信移动通信技术股份有限公司 Method, device and system for play control in digital living network alliance system
CN103747326A (en) * 2014-01-14 2014-04-23 华为技术有限公司 Continuous playing method and device for multimedia file
CN104270666A (en) * 2014-10-24 2015-01-07 广东欧珀移动通信有限公司 Multimedia file playing method and system and DMR (digital multimedia renderer)
CN105338401A (en) * 2015-11-16 2016-02-17 深圳Tcl数字技术有限公司 Playing method and system of multimedia file

Also Published As

Publication number Publication date
CN105338401B (en) 2019-08-27
CN105338401A (en) 2016-02-17

Similar Documents

Publication Publication Date Title
WO2018036057A1 (en) Method and device for background adaptive upgrading of software
WO2017107378A1 (en) Accelerated video data downloading method and device based on hls stream media
WO2017206377A1 (en) Method and device for synchronous playback of program
WO2016165556A1 (en) Data processing method, device and system for video stream
WO2018166224A1 (en) Target tracking display method and apparatus for panoramic video, and storage medium
WO2016101698A1 (en) Dlna technology-based screen push method and system
WO2017084297A1 (en) Method and system for playing back multimedia files
WO2017084302A1 (en) Method for playing boot video of a display terminal and display terminal
WO2016091011A1 (en) Subtitle switching method and device
WO2018018681A1 (en) Video programme previewing method and device
WO2014187158A1 (en) Method, server, and terminal for controlling cloud sharing of terminal data
WO2017005066A1 (en) Method and apparatus for recording audio and video synchronization timestamp
WO2017121066A1 (en) Application program display method and system
WO2017020649A1 (en) Audio/video playback control method and device thereof
WO2018126888A1 (en) Method and apparatus for configuring a shortcut for a television function
WO2017088427A1 (en) Audio output control method and device
WO2018023926A1 (en) Interaction method and system for television and mobile terminal
WO2017190451A1 (en) Picture pushing method and apparatus
WO2017063368A1 (en) Method and device for intercutting video advertisement
WO2017045441A1 (en) Smart television-based audio playback method and apparatus
WO2017045435A1 (en) Method and device for controlling television playing
WO2018032679A1 (en) Setting method and device for timed startup and shutoff of television
WO2016090991A1 (en) Method and apparatus for downloading streaming media data
WO2017005062A1 (en) Image frame playing method and device
WO2018006581A1 (en) Smart-television playback method and apparatus

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: 16865478

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 10.09.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16865478

Country of ref document: EP

Kind code of ref document: A1