WO2015085863A1 - 一种直播流媒体的播放方法及装置 - Google Patents

一种直播流媒体的播放方法及装置 Download PDF

Info

Publication number
WO2015085863A1
WO2015085863A1 PCT/CN2014/092211 CN2014092211W WO2015085863A1 WO 2015085863 A1 WO2015085863 A1 WO 2015085863A1 CN 2014092211 W CN2014092211 W CN 2014092211W WO 2015085863 A1 WO2015085863 A1 WO 2015085863A1
Authority
WO
WIPO (PCT)
Prior art keywords
live streaming
streaming media
search
media
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2014/092211
Other languages
English (en)
French (fr)
Inventor
曹坤波
郑磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing Co Ltd
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 LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to US15/102,058 priority Critical patent/US20160308923A1/en
Publication of WO2015085863A1 publication Critical patent/WO2015085863A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2181Source of audio or video content, e.g. local disk arrays comprising remotely distributed storage units, e.g. when movies are replicated over a plurality of video servers
    • 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
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • 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

Definitions

  • the present invention relates to the field of Internet multimedia, and in particular, to a method and device for playing live streaming media.
  • Most of the existing live webcasts are live video broadcasts.
  • the video viewed by the user is only the live video currently transmitted, and the live video cannot be broadcast live.
  • the electronic device can only display a black screen on the live broadcast interface, which causes the playback performance of the electronic device to be limited.
  • the embodiment of the present invention provides a method and a device for playing a live broadcast media, which can solve the problem that if the playback start time of the live broadcast video has not arrived yet, the electronic device can only display the black screen on the live broadcast interface, and the live broadcast is improved.
  • the flexibility of streaming media playback is improved.
  • the embodiment of the invention provides a method for playing live streaming media, including:
  • the live streaming search request includes search information and a search moment, where the search moment indicates a time when the live streaming search request is generated;
  • Searching for live streaming media that matches the search information according to the search information
  • search time is earlier than the play start time of the live streaming media, playing the on-demand multimedia file corresponding to the search information in the media asset library;
  • the live streaming media is played from the playback start time.
  • the method further includes:
  • the live streaming media is played in the live streaming media playing interface.
  • the step of playing the on-demand multimedia file corresponding to the search information in the media asset library includes:
  • the live streaming media is saved in real time.
  • the step of playing the live streaming media from the playback start time includes:
  • the live streaming media is played from the playback start time.
  • An embodiment of the present invention provides an electronic device, including:
  • An obtaining unit configured to obtain a live streaming media search request, where the live streaming media search request includes search information and a search time, where the search time indicates a time when the live streaming media search request is generated;
  • a search unit searching for a live streaming media that matches the search information according to the search information acquired by the acquiring unit;
  • a playing unit configured to: if the searching time is earlier than a playing start time of the live streaming media searched by the searching unit, playing an on-demand multimedia file corresponding to the search information in the media asset library, and When the search time arrives or is later than the play start time of the live broadcast media searched by the search unit, the live broadcast media searched by the search unit is played from the play start time.
  • the electronic device includes a processing unit
  • the processing unit is configured to: after the playing unit plays the on-demand multimedia file corresponding to the search information in the media asset library, loading the live streaming media playing interface;
  • the playing unit is configured to play the live streaming media in the live streaming media playing interface loaded by the processing unit when the playback start time of the live streaming media searched by the searching unit is reached.
  • the obtaining unit is further configured to: acquire, according to the search information, an on-demand multimedia file that matches the search information from the media asset library;
  • the processing unit is further configured to load an on-demand media playing interface
  • the playing unit is further configured to play the on-demand multimedia file acquired by the acquiring unit in the on-demand media playing interface loaded by the processing unit.
  • the electronic device further includes a storage unit
  • the storage unit is configured to save the live streaming media searched by the search unit in real time.
  • the obtaining unit is further configured to acquire a live streaming media that has been saved by the storage unit;
  • the processing unit is further configured to: after the obtaining unit acquires the saved live streaming media, load the live streaming media playing interface.
  • An embodiment of the present invention provides a method and a device for playing a live streaming media.
  • the electronic device obtains a live streaming media search request, where the live streaming media search request includes search information and a search time, and the search time indicates a time for generating a live streaming media search request. And then, according to the search information, searching for the live streaming media that matches the search information, if the search time is earlier than the playback start time of the live streaming media, playing the on-demand multimedia file corresponding to the search information in the media asset library, if the search time arrives Or later than the playback start time of the live streaming media, the live streaming media is played from the playback start time.
  • the electronic device plays the on-demand multimedia file that matches the live streaming media in the scenario that the search time is earlier than the live broadcast media playback start time, and when the search time reaches the live streaming media playback start time
  • the live streaming media is saved in real time.
  • the live streaming media is played from the playback start time of the live streaming media, and the user is allowed to watch the live streaming media and enhance the live broadcast.
  • the flexibility of streaming media playback is not limited to be played the live streaming media.
  • FIG. 1 is a schematic flowchart 1 of a method for playing a live streaming media according to an embodiment of the present invention
  • FIG. 2 is a second schematic flowchart of a method for playing a live streaming media according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram 1 of an electronic device according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram 2 of an electronic device according to an embodiment of the present invention.
  • the electronic device may be a wireless terminal or a wired terminal, and the wireless terminal may be a device that provides voice and/or data connectivity to the user, a handheld device with wireless connectivity, or other processing device connected to the wireless modem.
  • the wireless terminal can communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and with a mobile terminal Computer.
  • a radio access network eg, RAN, Radio Access Network
  • the present invention provides a method for playing live streaming media. As shown in FIG. 1 , the method includes:
  • the electronic device acquires a live streaming media search request.
  • the live broadcast is an information network publishing method with a two-way circulation process, which simultaneously produces and publishes information along with the occurrence and development of the event.
  • the form can also be divided into live broadcast, studio interview live broadcast, live text picture, live video or audio, or live broadcast by a third party.
  • live video broadcast is a live broadcast service using network resources. It can be uploaded to the network through live video capture. Users can see the live video of the first time on the network at the same time.
  • Streaming media refers to a technology and process of transmitting a series of media data and transmitting data through a network segment to transmit audio and video in real time on the network for viewing. This technology enables data packets to be sent like a stream, if not used. Technology, you must download the entire media file before use.
  • streaming media is a technology that enables audio, video, and other multimedia elements to be played on the Internet and wireless networks in real-time, without download waiting.
  • the streaming mode divides multimedia files such as video and audio into a compressed package through a special compression method, and the server transmits the data to the user computer continuously and in real time.
  • the user does not have to wait for the entire file to be downloaded after the entire file is downloaded, as in non-streaming, but only after a few seconds or tens of seconds of startup delay.
  • the streaming media files such as compressed video or audio are played on the user's computer using the corresponding player, and the remaining portions will continue to be downloaded until the playback is completed.
  • the electronic device acquires a live streaming search request including the search information and the search moment.
  • the search information is used to indicate the live streaming media to be played
  • the search time is the time for generating the live streaming media search request, and is used by the electronic device to determine whether the search time reaches the playback start time of the live streaming media to be played, and then performs Follow-up processing.
  • the electronic device may determine, according to the search moment, whether the search information in the live streaming search request has resources for playing.
  • live broadcast media is a multimedia of any format
  • live broadcast media in the embodiment of the present invention may be a live broadcast video or a live broadcast audio, which is not limited in the embodiment of the present invention.
  • the electronic device searches for live streaming media that matches the search information according to the search information.
  • the electronic device After obtaining the live streaming media search request, the electronic device searches for the live streaming media that matches the search information through the live streaming media server according to the search information in the request.
  • the electronic device searches and compares with the information according to the information of the Chinese Super League. Match live streaming.
  • the electronic device plays the on-demand multimedia file corresponding to the search information in the media asset library.
  • a media asset library refers to a database of media resources owned or controlled by the media, wherein the media resources include materials, programs, or documents.
  • the electronic device obtains a live streaming search request, and searches for the live streaming media that matches the search information according to the search information in the search request, and determines whether the playback start time of the live streaming media has arrived.
  • the electronic device plays the on-demand multimedia file corresponding to the search information in the media asset library in the on-demand media playing interface according to the search information, and simultaneously loads the live streaming media playing interface to wait for the live streaming media. Play.
  • the on-demand multimedia file corresponding to the search information in the media asset library is any multimedia file corresponding to the live broadcast media, and may be a preview multimedia of the live broadcast media, or may be a trailer of the live broadcast media, in the embodiment of the present invention. Not limited.
  • the application scenario that the electronic device is earlier than the playback start time of the live streaming media at the time of searching The electronic device plays the on-demand multimedia file corresponding to the search information in the media asset library, thereby improving the user experience.
  • the playing interface of the live streaming media and the playing interface of the on-demand multimedia files in the media asset library are different interfaces.
  • the electronic device searches for the live streaming media that matches the Chinese Super after obtaining the live streaming search request.
  • the search start time of the live streaming media is 09:30
  • the electronic device obtains the on-demand multimedia file matching the Chinese Super League from the media asset library, loads the on-demand media playing interface, and plays the on-demand multimedia in the on-demand media playing interface.
  • the file, the on-demand multimedia file can be a preview video of the Super League.
  • the electronic device plays the live streaming media from the playback start time.
  • the electronic device obtains a live streaming search request, and searches for the live streaming media that matches the search information according to the search information in the search request, and determines whether the playback start time of the live streaming media has arrived.
  • the electronic device plays the live broadcast media from the broadcast start time of the live streaming media play interface, and saves the live broadcast media during the process of playing the live broadcast media.
  • the live streaming media
  • the electronic device plays the live streaming media in the live streaming media playing interface, and plays the live streaming media from the playback start time of the live streaming media.
  • the electronic device saves the live streaming media in real time, even if the search time is later than the playback start time of the live streaming media, the electronic device can play the live streaming media from the beginning of the live streaming media playback, thereby improving the flexibility of the live streaming media playback. Thereby satisfying the needs of users and improving the user experience.
  • An embodiment of the present invention provides a method for playing a live streaming media.
  • the electronic device obtains a live streaming media search request, where the live streaming media search request includes search information and a search time, and the search time indicates a time for generating a live streaming media search request, and then According to the search information, searching for live streaming media that matches the search information, if the search time is earlier than the playback start time of the live streaming media, then the broadcast
  • the on-demand multimedia file corresponding to the search information in the media asset library if the search time arrives or is later than the playback start time of the live streaming media, the live streaming media is played from the playback start time.
  • the electronic device plays the on-demand multimedia file that matches the live streaming media in the scenario that the search time is earlier than the live broadcast media playback start time, and when the search time reaches the live streaming media playback start time
  • the live streaming media is saved in real time.
  • the live streaming media is played from the playback start time of the live streaming media, and the user is allowed to watch the live streaming media and enhance the live broadcast.
  • the flexibility of streaming media playback is not limited to be played the live streaming media.
  • the present invention provides a method for playing live streaming media. As shown in FIG. 2, the method includes:
  • the electronic device obtains a live streaming media search request.
  • the live streaming search request includes search information and a search time, and the search time indicates a time for generating a live streaming search request.
  • the live broadcast is an information network publishing method with a two-way circulation process, which simultaneously produces and publishes information along with the occurrence and development of the event.
  • the form can also be divided into live broadcast, studio interview live broadcast, live text picture, live video or audio, or live broadcast by a third party.
  • live video broadcast is a live broadcast service using network resources. It can be uploaded to the network through live video capture. Users can see the live video of the first time on the network at the same time.
  • Streaming media refers to a technology and process of transmitting a series of media data and transmitting data through a network segment to transmit audio and video in real time on the network for viewing. This technology enables data packets to be sent like a stream, if not used. Technology, you must download the entire media file before use.
  • streaming media is a technology that enables audio, video, and other multimedia elements to be played on the Internet and wireless networks in real-time, without download waiting.
  • the streaming mode divides multimedia files such as video and audio into a compressed package through a special compression method, and the server transmits the data to the user computer continuously and in real time.
  • the user does not have to wait for the entire file to be downloaded after the entire file is downloaded, as in non-streaming, but only after a few seconds or tens of seconds of startup delay.
  • the streaming media files such as compressed video or audio are played on the user's computer using the corresponding player, and the remaining portions will continue to be downloaded until the playback is completed.
  • the electronic device needs to know the information of the live streaming media to be played, and then play the live streaming media to be played according to the information.
  • the electronic device acquires a live streaming search request including the search information and the search moment.
  • the search information is used to indicate the live streaming media to be played
  • the search time is the time for generating the live streaming media search request, and is used by the electronic device to determine whether the search time reaches the playback start time of the live streaming media to be played, and then performs Follow-up processing.
  • the electronic device may determine, according to the search moment, whether the search information in the live streaming search request has resources for playing.
  • live broadcast media is a multimedia of any format
  • live broadcast media in the embodiment of the present invention may be a live broadcast video or a live broadcast audio, which is not limited in the embodiment of the present invention.
  • the electronic device searches for live streaming media that matches the search information according to the search information.
  • the electronic device After obtaining the live streaming media search request, the electronic device searches for the live streaming media that matches the search information through the live streaming media server according to the search information in the request.
  • the electronic device searches and compares with the information according to the information of the Chinese Super League. Match live streaming.
  • the electronic device acquires the on-demand multimedia file that matches the search information from the media asset library according to the search information.
  • a media asset library refers to a database of media resources owned or controlled by the media, wherein the media resources include materials, programs, or documents.
  • the electronic device obtains a live streaming search request, and searches for the live streaming media that matches the search information according to the search information in the search request, and determines whether the playback start time of the live streaming media has arrived.
  • the electronic device searches the media asset library for the on-demand multimedia file corresponding to the search information according to the search information, in preparation for playing.
  • the on-demand multimedia file corresponding to the search information in the media asset library is any on-demand multimedia file corresponding to the live streaming media, and may be a preview multimedia of the live streaming media, or may be a trailer of the live streaming media, and is implemented by the present invention.
  • the example is not limited.
  • the electronic device searches for the live streaming media that matches the Chinese Super after obtaining the live streaming search request. And the searched live streaming media starts at 09:30, then The electronic device obtains the on-demand multimedia file matching the Chinese Super League from the media asset library for playback.
  • S204 The electronic device loads the on-demand media playing interface, and plays the on-demand multimedia file in the on-demand media playing interface.
  • the electronic device determines that the live streaming media corresponding to the search information is earlier than the start playing time, the on-demand multimedia file matching the search information is obtained from the media asset library, and then the searched on-demand multimedia file is played.
  • the electronic device loads the on-demand media playing interface, and the on-demand multimedia file that matches the search information is obtained from the media asset library in the on-demand media playing interface.
  • the electronic device plays the on-demand multimedia file corresponding to the search information in the media asset library, so that the electronic device plays the on-demand multimedia file corresponding to the search information in the media asset library, so that the user's demand is satisfied to a certain extent. Improve the user experience.
  • the playing interface of the live streaming media and the playing interface of the on-demand multimedia files in the media asset library are different interfaces.
  • the electronic device when searching for Spring Festival Evening at 19:50, and the live broadcast of Spring Festival Evening starts at 20:00, the electronic device obtains the on-demand multimedia file (pre-announce video) matching the Spring Festival Evening from the media asset library, loads the on-demand media playback interface, and The preview video is played in the on-demand media playback interface.
  • the on-demand multimedia file pre-announce video
  • the electronic device loads a live streaming media playing interface.
  • the electronic device loads the live streaming media playing interface when the live streaming media corresponding to the search information is determined to be earlier than the start playing time, and waits for the playing time of the live streaming media corresponding to the search information to arrive to play the live streaming media.
  • the live streaming media playing interface can display a black screen or a preset image, and the present invention is not limited in the process of waiting for the playing time of the live streaming media corresponding to the search information to arrive.
  • the electronic device plays the live streaming media in the live streaming media playing interface.
  • the electronic device loads the live streaming media playing interface.
  • the electronic device plays the live streaming media in the live streaming media playing interface, and saves the live streaming media in real time.
  • the electronic device when searching for Spring Festival Evening at 19:50, and the live broadcast of Spring Festival Evening starts at 20:00, the electronic device obtains the multimedia file (preview video) matching the Spring Festival Evening from the media asset library, and the preview video is on the spot media. Play in the body play interface, and load the live streaming media play interface to prepare for live broadcast of the Spring Festival Evening. When it reaches 20:00, the electronic device plays the Spring Festival Evening in the live streaming media play interface, and saves it in real time.
  • multimedia file preview video
  • the electronic device plays the Spring Festival Evening in the live streaming media play interface, and saves it in real time.
  • the electronic device acquires the saved live streaming media and loads the live streaming media playing interface.
  • the electronic device obtains a live streaming search request, and searches for the live streaming media that matches the search information according to the search information in the search request, and determines whether the playback start time of the live streaming media has arrived.
  • the electronic device obtains the live streaming media through the live streaming media server, and simultaneously loads the live streaming media playing interface to prepare the live streaming media;
  • the electronic device obtains the live streaming media from the cache and loads the live streaming media playing interface to play the live streaming media.
  • the electronic device saves the live streaming media in real time, the electronic device can acquire the live streaming media even if the search time is later than the playback start time of the live streaming media.
  • S208 The electronic device plays the live streaming media in the live streaming media playing interface from the playback start time.
  • the electronic device plays the obtained live streaming media in the live streaming media playing interface, and plays the live streaming media from the playing start time.
  • the electronic device saves the live streaming media in real time, even if the search time is later than the playback start time of the live streaming media, the electronic device can play the live streaming media from the beginning of the live streaming media playback, thereby satisfying the user's needs. Improve the user experience.
  • the live broadcast of Super League starts at 20:00, the electronic device loads the live interface, and the live Super is played from the live broadcast start time.
  • An embodiment of the present invention provides a method for playing a live streaming media.
  • the electronic device obtains a live streaming media search request, where the live streaming media search request includes search information and a search time, and the search time indicates a time for generating a live streaming media search request, and then According to the search information, searching for live streaming media that matches the search information, if the search time is earlier than the playback start time of the live streaming media, then the broadcast
  • the on-demand multimedia file corresponding to the search information in the media asset library if the search time arrives or is later than the playback start time of the live streaming media, the live streaming media is played from the playback start time.
  • the electronic device plays the on-demand multimedia file that matches the live streaming media in the scenario that the search time is earlier than the live broadcast media playback start time, and when the search time reaches the live streaming media playback start time
  • the live streaming media is saved in real time.
  • the live streaming media is played from the playback start time of the live streaming media, and the user is allowed to watch the live streaming media and enhance the live broadcast.
  • the flexibility of streaming media playback is not limited to be played the live streaming media.
  • An embodiment of the present invention provides an electronic device, as shown in FIG. 3, including:
  • the obtaining unit 10 is configured to obtain a live streaming media search request, where the live streaming media search request includes search information and a search time, and the search time indicates a time for generating a live streaming media search request;
  • the search unit 11 searches for the live streaming media that matches the search information according to the search information acquired by the obtaining unit 10;
  • the playing unit 12 is configured to: if the search time is earlier than the playing start time of the live streaming media searched by the searching unit 11, play the on-demand multimedia file corresponding to the search information in the media asset library, and if the search time arrives or is later than When the search unit 11 searches for the playback start time of the live streaming media, the live streaming media searched by the search unit is played from the playback start time.
  • the electronic device includes a processing unit 13;
  • the processing unit 13 is configured to load the live streaming media playing interface after the playing unit 12 plays the on-demand multimedia file corresponding to the search information in the media asset library;
  • the playing unit 12 is specifically configured to play the live streaming media in the live streaming media playing interface loaded by the processing unit 13 when the playback start time of the live streaming media searched by the searching unit 11 is reached.
  • the obtaining unit 10 is configured to obtain, according to the search information, an on-demand multimedia file that matches the search information from the media asset library;
  • the processing unit 13 is further configured to load an on-demand media playing interface.
  • the playing unit 12 is further configured to play the on-demand multimedia file acquired by the obtaining unit 10 in the on-demand media playing interface loaded by the processing unit 13.
  • the electronic device further includes a storage unit 14;
  • the storage unit 14 is configured to save the live streaming media searched by the search unit 11 in real time.
  • the obtaining unit 10 is further configured to acquire a live streaming media that has been saved by the storage unit 14;
  • the processing unit 13 is further configured to load the live streaming media playing interface after the obtaining unit 10 obtains the saved live streaming media.
  • An embodiment of the present invention provides an electronic device, by acquiring a live streaming media search request, where the live streaming media search request includes search information and a search time, and the search time indicates a time for generating a live streaming media search request, and then, according to the search information, Searching for the live streaming media that matches the search information, if the search time is earlier than the playback start time of the live streaming media, playing the on-demand multimedia file corresponding to the search information in the media asset library, if the search time arrives or is later than the live streaming media When the playback start time is played, the live streaming media is played from the playback start time.
  • the electronic device plays the on-demand multimedia file that matches the live streaming media in the scenario that the search time is earlier than the live broadcast media playback start time, and when the search time reaches the live streaming media playback start time
  • the live streaming media is saved in real time.
  • the live streaming media is played from the playback start time of the live streaming media, and the user is allowed to watch the live streaming media and enhance the live broadcast.
  • the flexibility of streaming media playback is not limited to be played the live streaming media.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明实施例提供了一种直播流媒体的播放方法及装置,涉及互联网多媒体领域,能够提升直播流媒体播放的灵活性。该方法包括:获取直播流媒体搜索请求,所述直播流媒体搜索请求包含有搜索信息和搜索时刻,所述搜索时刻指示生成所述直播流媒体搜索请求的时间;根据所述搜索信息,搜索与所述搜索信息匹配的直播流媒体;若所述搜索时刻早于所述直播流媒体的播放起始时刻,则播放媒资库中与所述搜索信息对应的点播多媒体文件;若所述搜索时刻到达或晚于所述直播流媒体的播放起始时刻,则从所述播放起始时刻播放所述直播流媒体。

Description

一种直播流媒体的播放方法及装置
本申请要求于2013年12月9日提交中国专利局、申请号为2013106648583,发明名称为“一种直播流媒体的播放方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及互联网多媒体领域,尤其涉及一种直播流媒体的播放方法及装置。
背景技术
随着互联网络技术的发展,越来越多的人关注网络直播,特别是网络视频直播更受关注。通过网络信号,在线收看球赛、体育赛事、重大活动和新闻等,让人们有了广阔且自由的选择空间。
现有的网络视频直播大部分是实时的播放视频,用户观看到的视频仅仅是当前传输过来的直播视频,而不能对直播视频进行直播时移。进一步地,在现有技术中,如果直播视频的播放起始时刻还未到达,电子设备只能在直播界面显示黑屏,导致电子设备的播放性能受到限制。
发明内容
本发明的实施例提供一种直播流媒体的播放方法及装置,能够解决现有技术中如果直播视频的播放起始时刻还未到达,电子设备只能在直播界面显示黑屏的问题,提升了直播流媒体播放的灵活性。
为达到上述目的,本发明的实施例采用如下技术方案:
本发明实施例提供一种直播流媒体的播放方法,包括:
获取直播流媒体搜索请求,所述直播流媒体搜索请求包含有搜索信息和搜索时刻,所述搜索时刻指示生成所述直播流媒体搜索请求的时间;
根据所述搜索信息,搜索与所述搜索信息匹配的直播流媒体;
若所述搜索时刻早于所述直播流媒体的播放起始时刻,则播放媒资库中与所述搜索信息对应的点播多媒体文件;
若所述搜索时刻到达或晚于所述直播流媒体的播放起始时刻,则从所述播放起始时刻播放所述直播流媒体。
所述播放媒资库中与所述搜索信息对应的点播多媒体文件之后,所述方法还包括:
加载直播流媒体播放界面;
当到达所述直播流媒体的播放起始时刻时,在所述直播流媒体播放界面中播放所述直播流媒体。
所述播放媒资库中与所述搜索信息对应的点播多媒体文件的步骤包括:
根据所述搜索信息,从所述媒资库中获取与所述搜索信息匹配的点播多媒体文件;
加载点播媒体播放界面,并在所述点播媒体播放界面中播放所述点播多媒体文件。
实时保存所述直播流媒体。
从所述播放起始时刻播放所述直播流媒体的步骤包括:
获取已保存的直播流媒体,并加载直播流媒体播放界面;
在所述直播流媒体播放界面中,从所述播放起始时刻开始,播放所述直播流媒体。
本发明实施例提供一种电子设备,包括:
获取单元,用于获取直播流媒体搜索请求,所述直播流媒体搜索请求包含有搜索信息和搜索时刻,所述搜索时刻指示生成所述直播流媒体搜索请求的时间;
搜索单元,根据所述获取单元获取的所述搜索信息,搜索与所述搜索信息匹配的直播流媒体;
播放单元,用于若所述搜索时刻早于所述搜索单元搜索的所述直播流媒体的播放起始时刻,则播放媒资库中与所述搜索信息对应的点播多媒体文件,以及用于若所述搜索时刻到达或晚于所述搜索单元搜索的所述直播流媒体的播放起始时刻,则从所述播放起始时刻播放所述搜索单元搜索的所述直播流媒体。
所述电子设备包括处理单元;
所述处理单元,用于在所述播放单元播放媒资库中与所述搜索信息对应的点播多媒体文件之后,加载直播流媒体播放界面;
所述播放单元,具体用于当到达所述搜索单元搜索的所述直播流媒体的播放起始时刻时,在所述处理单元加载的所述直播流媒体播放界面中播放所述直播流媒体。
所述获取单元,还用于根据所述搜索信息,从所述媒资库中获取与所述搜索信息匹配的点播多媒体文件;
所述处理单元,还用于加载点播媒体播放界面;
所述播放单元,还用于在所述处理单元加载的所述点播媒体播放界面中播放所述获取单元获取的所述点播多媒体文件。
所述电子设备还包括存储单元;
所述存储单元,用于实时保存所述搜索单元搜索的所述直播流媒体。
所述获取单元,还用于获取所述存储单元已保存的直播流媒体;
所述处理单元,还用于当所述获取单元获取已保存的直播流媒体后,加载直播流媒体播放界面。
本发明实施例提供一种直播流媒体的播放方法及装置,电子设备获取直播流媒体搜索请求,其中直播流媒体搜索请求包含有搜索信息和搜索时刻,搜索时刻指示生成直播流媒体搜索请求的时间,然后,根据搜索信息,搜索与搜索信息匹配的直播流媒体,若搜索时刻早于直播流媒体的播放起始时刻,则播放媒资库中与搜索信息对应的点播多媒体文件,若搜索时刻到达或晚于直播流媒体的播放起始时刻,则从播放起始时刻播放直播流媒体。通过该方案,电子设备在搜索时刻早于直播流媒体播放起始时刻的这一场景中,电子设备播放与直播流媒体匹配的点播多媒体文件,并且当搜索时刻到达直播流媒体播放起始时刻时,实时保存直播流媒体,在搜索时刻晚于直播流媒体播放起始时刻的这一场景中,从直播流媒体的播放起始时刻播放直播流媒体,支持用户回看直播流媒体,提升了直播流媒体播放的灵活性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例的直播流媒体的播放方法的流程示意图一;
图2为本发明实施例的直播流媒体的播放方法的流程示意图二;
图3为本发明实施例的电子设备的结构示意图一;
图4为本发明实施例的电子设备的结构示意图二。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
电子设备,可以是无线终端也可以是有线终端,无线终端可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(例如,RAN,Radio Access Network)与一个或多个核心网进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机。
实施例一
本发明提供一种直播流媒体的播放方法,如图1所示,该方法包括:
S101、电子设备获取直播流媒体搜索请求。
直播是现场随着事件的发生、发展进程同步制作和发布信息,具有双向流通过程的信息网络发布方式。其形式也可分为现场直播、演播室访谈式直播、文字图片直播、视音频直播或由第三方提供信源的直播。例如,在线视频直播就是利用网络资源进行的现场直播服务,通过现场的视频拍摄同步上传到网络上,用户可以同一时间在网络上看到第一时间的现场视频。
流媒体是指将一连串的媒体数据压缩后,经过网络分段传送数据,在网络上实时传输影音以供观赏的一种技术与过程,此技术使得数据分组得以像流水一样发送,如果不使用此技术,就必须在使用前下载整个媒体文件。
具体的,流媒体是一种使音频、视频和其他多媒体元素在因特网及无线网络上以实时的、无需下载等待的方式进行播放的技术。流式传输方式是将视频和音频等多媒体文件经过特殊的压缩方式分成一个个压缩包,由服务器向用户计算机连续、实时传送。在采用流式传输方式的系统中,用户不必像非流式播放那样等到整个文件全部下载完毕后才能看到当中的内容,而是只需要经过几秒钟或几十秒的启动延时即可在用户计算机上利用相应的播放器对压缩的视频或音频等流式媒体文件进行播放,剩余的部分将继续进行下载,直至播放完毕。
电子设备实现直播流媒体的播放,首先需要获知待播放直播流媒体的信 息,然后根据该待播放直播流媒体的信息将待播放的直播流媒体播放。
具体的,电子设备获取包含有搜索信息和搜索时刻的直播流媒体搜索请求。其中,搜索信息用于指示待播放的直播流媒体,搜索时刻为生成直播流媒体搜索请求的时间,用于电子设备判断该搜索时刻是否到达待播放的直播流媒体的播放起始时刻,进而进行后续处理。
进一步地,电子设备根据该搜索时刻,可以确定直播流媒体搜索请求中的搜索信息是否有资源以供播放。
需要说明的是,直播流媒体为任意一种格式的多媒体,本发明实施例中的直播流媒体可以为直播视频,也可以为直播音频,本发明实施例不做限定。
S102、电子设备根据搜索信息,搜索与搜索信息匹配的直播流媒体。
电子设备获取到直播流媒体搜索请求后,根据该请求中的搜索信息,通过直播流媒体服务器搜索与搜索信息匹配的直播流媒体。
例如,若直播流媒体搜索请求中搜索的直播流媒体的信息为中超,生成该请求的时间为9:00,电子设备在获取到该直播流媒体搜索请求后,根据中超这一信息搜索与中超匹配的直播流媒体。
S103、若搜索时刻早于直播流媒体的播放起始时刻,电子设备则播放媒资库中与搜索信息对应的点播多媒体文件。
媒资库是指媒体拥有或控制的媒体资源数据库,其中,媒体资源包括素材、节目或文稿等。
电子设备获取直播流媒体搜索请求,并根据该搜索请求中的搜索信息,搜索与搜索信息匹配的直播流媒体后,判断该直播流媒体的播放起始时刻是否已经到达。
具体的,若搜索时刻早于直播流媒体的播放起始时刻,则没有该直播流媒体的资源供电子设备播放。在这一应用场景中,电子设备则根据搜索信息将媒资库中与该搜索信息对应的点播多媒体文件在点播媒体播放界面中播放,并同时加载直播流媒体播放界面,以待直播流媒体的播放。
其中,媒资库中与该搜索信息对应的点播多媒体文件为与直播流媒体的对应的任一多媒体文件,可以为直播流媒体的预告多媒体,也可以为直播流媒体的花絮,本发明实施例不做限定。
由于电子设备在搜索时刻早于直播流媒体的播放起始时刻这一应用场景 中,电子设备播放了媒资库中与搜索信息对应的点播多媒体文件,从而提高了用户体验感。
需要说明的是,直播流媒体的播放界面与媒资库中的点播多媒体文件的播放界面是不同的界面。
例如,若直播流媒体搜索请求中搜索的直播流媒体的信息为中超,生成该请求的时间为9:00,电子设备在获取到该直播流媒体搜索请求后,搜索与中超匹配的直播流媒体,且搜索到的直播流媒体的播放开始时刻为09:30,则电子设备从媒资库中获取与中超匹配的点播多媒体文件,并加载点播媒体播放界面,在点播媒体播放界面中播放点播多媒体文件,该点播多媒体文件可以为中超的预告视频。
S104、若搜索时刻到达或晚于直播流媒体的播放起始时刻,电子设备则从播放起始时刻播放直播流媒体。
电子设备获取直播流媒体搜索请求,并根据该搜索请求中的搜索信息,搜索与搜索信息匹配的直播流媒体后,判断该直播流媒体的播放起始时刻是否已经到达。
具体的,若搜索时刻到达直播流媒体的播放起始时刻,电子设备则在直播流媒体播放界面从直播流媒体的播放开始时刻播放该直播流媒体,并在播放直播流媒体的过程中实时保存该直播流媒体;
或者,
若搜索时刻晚于直播流媒体的播放起始时刻,电子设备则在直播流媒体播放界面中播放直播流媒体,并且从该直播流媒体的播放开始时刻播放该直播流媒体。
由于电子设备实时保存直播流媒体,因此即使搜索时刻晚于直播流媒体的播放起始时刻,电子设备也可以从直播流媒体播放开始时刻播放直播流媒体,提升了直播流媒体播放的灵活性,从而满足了用户的需求,提高了用户体验感。
本发明实施例提供一种直播流媒体的播放方法,电子设备获取直播流媒体搜索请求,其中直播流媒体搜索请求包含有搜索信息和搜索时刻,搜索时刻指示生成直播流媒体搜索请求的时间,然后,根据搜索信息,搜索与搜索信息匹配的直播流媒体,若搜索时刻早于直播流媒体的播放起始时刻,则播 放媒资库中与搜索信息对应的点播多媒体文件,若搜索时刻到达或晚于直播流媒体的播放起始时刻,则从播放起始时刻播放直播流媒体。通过该方案,电子设备在搜索时刻早于直播流媒体播放起始时刻的这一场景中,电子设备播放与直播流媒体匹配的点播多媒体文件,并且当搜索时刻到达直播流媒体播放起始时刻时,实时保存直播流媒体,在搜索时刻晚于直播流媒体播放起始时刻的这一场景中,从直播流媒体的播放起始时刻播放直播流媒体,支持用户回看直播流媒体,提升了直播流媒体播放的灵活性。
实施例二
本发明提供一种直播流媒体的播放方法,如图2所示,该方法包括:
S201、电子设备获取直播流媒体搜索请求。
其中,直播流媒体搜索请求包含有搜索信息和搜索时刻,搜索时刻指示生成直播流媒体搜索请求的时间。
直播是现场随着事件的发生、发展进程同步制作和发布信息,具有双向流通过程的信息网络发布方式。其形式也可分为现场直播、演播室访谈式直播、文字图片直播、视音频直播或由第三方提供信源的直播。例如,在线视频直播就是利用网络资源进行的现场直播服务,通过现场的视频拍摄同步上传到网络上,用户可以同一时间在网络上看到第一时间的现场视频。
流媒体是指将一连串的媒体数据压缩后,经过网络分段传送数据,在网络上实时传输影音以供观赏的一种技术与过程,此技术使得数据分组得以像流水一样发送,如果不使用此技术,就必须在使用前下载整个媒体文件。
具体的,流媒体是一种使音频、视频和其他多媒体元素在因特网及无线网络上以实时的、无需下载等待的方式进行播放的技术。流式传输方式是将视频和音频等多媒体文件经过特殊的压缩方式分成一个个压缩包,由服务器向用户计算机连续、实时传送。在采用流式传输方式的系统中,用户不必像非流式播放那样等到整个文件全部下载完毕后才能看到当中的内容,而是只需要经过几秒钟或几十秒的启动延时即可在用户计算机上利用相应的播放器对压缩的视频或音频等流式媒体文件进行播放,剩余的部分将继续进行下载,直至播放完毕。
电子设备实现直播流媒体的播放,需要获知待播放直播流媒体的信息,然后,根据该信息将待播放的直播流媒体播放。
具体的,电子设备获取包含有搜索信息和搜索时刻的直播流媒体搜索请求。其中,搜索信息用于指示待播放的直播流媒体,搜索时刻为生成直播流媒体搜索请求的时间,用于电子设备判断该搜索时刻是否到达待播放的直播流媒体的播放起始时刻,进而进行后续处理。
进一步地,电子设备根据该搜索时刻,可以确定直播流媒体搜索请求中的搜索信息是否有资源以供播放。
需要说明的是,直播流媒体为任意一种格式的多媒体,本发明实施例中的直播流媒体可以为直播视频,也可以为直播音频,本发明实施例不做限定。
S202、电子设备根据搜索信息,搜索与搜索信息匹配的直播流媒体。
电子设备获取到直播流媒体搜索请求后,根据该请求中的搜索信息,通过直播流媒体服务器搜索与搜索信息匹配的直播流媒体。
例如,若直播流媒体搜索请求中搜索的直播流媒体的信息为中超,生成该请求的时间为09:00,电子设备在获取到该直播流媒体搜索请求后,根据中超这一信息搜索与中超匹配的直播流媒体。
S203、若搜索时刻早于直播流媒体的播放起始时刻,电子设备根据搜索信息,从媒资库中获取与搜索信息匹配的点播多媒体文件。
媒资库是指媒体拥有或控制的媒体资源数据库,其中,媒体资源包括素材、节目或文稿等。
电子设备获取直播流媒体搜索请求,并根据该搜索请求中的搜索信息,搜索与搜索信息匹配的直播流媒体后,判断该直播流媒体的播放起始时刻是否已经到达。
具体的,若搜索时刻早于直播流媒体的播放起始时刻,则没有该直播流媒体的资源供电子设备播放。在这一应用场景中,电子设备根据搜索信息从媒资库中搜索与该搜索信息对应的点播多媒体文件,以备播放。
其中,媒资库中与该搜索信息对应的点播多媒体文件为与直播流媒体的对应的任一点播多媒体文件,可以为直播流媒体的预告多媒体,也可以为直播流媒体的花絮,本发明实施例不做限定。
例如,若直播流媒体搜索请求中搜索的直播流媒体的信息为中超,生成该请求的时间为09:00,电子设备在获取到该直播流媒体搜索请求后,搜索与中超匹配的直播流媒体,且搜索到的直播流媒体的播放开始时刻为09:30,则 电子设备从媒资库中获取与中超匹配的点播多媒体文件,以备播放。
S204、电子设备加载点播媒体播放界面,并在点播媒体播放界面中播放点播多媒体文件。
在电子设备确定与搜索信息对应的直播流媒体还早于开始播放时刻时,从媒资库中获取到与搜索信息匹配的点播多媒体文件,然后,将搜索到的点播多媒体文件播放。
具体的,电子设备加载点播媒体播放界面,并在该点播媒体播放界面中将从媒资库中获取到与搜索信息匹配的点播多媒体文件播放。
由于电子设备在搜索时刻早于直播流媒体的播放起始时刻这一应用场景中,电子设备播放了媒资库中与搜索信息对应的点播多媒体文件,因此在一定程度上满足了用户的需求,提高了用户体验感。
需要说明的是,直播流媒体的播放界面与媒资库中的点播多媒体文件的播放界面是不同的界面。
例如,19:50时搜索春晚,而直播的春晚开始播放时刻为20:00,电子设备则从媒资库中获取与春晚匹配的点播多媒体文件(预告视频),加载点播媒体播放界面,并将预告视频在点播媒体播放界面中播放。
S205、电子设备加载直播流媒体播放界面。
电子设备在确定与搜索信息对应的直播流媒体还早于开始播放时刻时,加载直播流媒体播放界面,等待与搜索信息对应的直播流媒体的播放时刻到达,以播放该直播流媒体。
具体的,电子设备在等待与搜索信息对应的直播流媒体的播放时刻到达的过程中,直播流媒体播放界面可以显示黑屏,也可以显示预设图片,本发明不做限定。
S206、当到达直播流媒体的播放起始时刻时,电子设备在直播流媒体播放界面中播放直播流媒体。
具体的,在搜索时刻早于直播流媒体的播放起始时刻时,电子设备加载直播流媒体播放界面。当到达直播流媒体的播放起始时刻时,电子设备在直播流媒体播放界面中播放直播流媒体,并将直播流媒体进行实时保存。
例如,19:50时搜索春晚,而春晚直播开始播放时刻为20:00,电子设备从媒资库中获取与春晚匹配的多媒体文件(预告视频),将预告视频在点播媒 体播放界面中播放,并将直播流媒体播放界面加载以备直播的春晚播放,当到达20:00时,电子设备在直播流媒体播放界面中播放春晚,并将其实时保存。
S207、若搜索时刻到达或晚于直播流媒体的播放起始时刻,电子设备获取已保存的直播流媒体,并加载直播流媒体播放界面。
电子设备获取直播流媒体搜索请求,并根据该搜索请求中的搜索信息,搜索与搜索信息匹配的直播流媒体后,判断该直播流媒体的播放起始时刻是否已经到达。
具体的,若搜索时刻到达直播流媒体的播放起始时刻,电子设备则通过直播流媒体服务器获取直播流媒体,同时加载直播流媒体播放界面,以备播放直播流媒体;
或者,
若搜索时刻晚于直播流媒体的播放起始时刻,电子设备则从缓存中获取直播流媒体,同时加载直播流媒体播放界面,以备播放直播流媒体。
进一步地,由于电子设备实时保存直播流媒体,因此即使搜索时刻晚于直播流媒体的播放起始时刻,电子设备也可以获取直播流媒体。
S208、电子设备在直播流媒体播放界面中,从播放起始时刻开始,播放直播流媒体。
具体的,若搜索时刻到达或晚于直播流媒体的播放起始时刻,电子设备将获取的直播流媒体在直播流媒体播放界面中播放,并且从播放起始时刻起播放直播流媒体。
进一步地,由于电子设备实时保存直播流媒体,因此,即使搜索时刻晚于直播流媒体的播放起始时刻,电子设备也可以从直播流媒体播放开始时刻播放直播流媒体,满足了用户的需求,提高了用户体验感。
例如,21:00时搜索中超,而直播的中超开始播放时刻为20:00,电子设备则加载直播界面,并将直播的中超从直播起始时刻播放。
本发明实施例提供一种直播流媒体的播放方法,电子设备获取直播流媒体搜索请求,其中直播流媒体搜索请求包含有搜索信息和搜索时刻,搜索时刻指示生成直播流媒体搜索请求的时间,然后,根据搜索信息,搜索与搜索信息匹配的直播流媒体,若搜索时刻早于直播流媒体的播放起始时刻,则播 放媒资库中与搜索信息对应的点播多媒体文件,若搜索时刻到达或晚于直播流媒体的播放起始时刻,则从播放起始时刻播放直播流媒体。通过该方案,电子设备在搜索时刻早于直播流媒体播放起始时刻的这一场景中,电子设备播放与直播流媒体匹配的点播多媒体文件,并且当搜索时刻到达直播流媒体播放起始时刻时,实时保存直播流媒体,在搜索时刻晚于直播流媒体播放起始时刻的这一场景中,从直播流媒体的播放起始时刻播放直播流媒体,支持用户回看直播流媒体,提升了直播流媒体播放的灵活性。
实施例三
本发明实施例提供一种电子设备,如图3所示,包括:
获取单元10,用于获取直播流媒体搜索请求,直播流媒体搜索请求包含有搜索信息和搜索时刻,搜索时刻指示生成直播流媒体搜索请求的时间;
搜索单元11,根据获取单元10获取的搜索信息,搜索与搜索信息匹配的直播流媒体;
播放单元12,用于若搜索时刻早于搜索单元11搜索的直播流媒体的播放起始时刻,则播放媒资库中与搜索信息对应的点播多媒体文件,以及用于若搜索时刻到达或晚于搜索单元11搜索的直播流媒体的播放起始时刻,则从播放起始时刻播放搜索单元搜索的直播流媒体。
进一步地,如图4所示,电子设备包括处理单元13;
处理单元13,用于在播放单元12播放媒资库中与搜索信息对应的点播多媒体文件之后,加载直播流媒体播放界面;
播放单元12,具体用于当到达搜索单元11搜索的直播流媒体的播放起始时刻时,在处理单元13加载的直播流媒体播放界面中播放直播流媒体。
进一步地,获取单元10,用于根据搜索信息,从媒资库中获取与搜索信息匹配的点播多媒体文件;
处理单元13,还用于加载点播媒体播放界面;
播放单元12,还用于在处理单元13加载的点播媒体播放界面中播放获取单元10获取的点播多媒体文件。
进一步地,如图4所示,电子设备还包括存储单元14;
存储单元14,用于实时保存搜索单元11搜索的直播流媒体。
进一步地,获取单元10,还用于获取存储单元14已保存的直播流媒体;
处理单元13,还用于当获取单元10获取已保存的直播流媒体后,加载直播流媒体播放界面。
本发明实施例提供一种电子设备,通过获取直播流媒体搜索请求,其中直播流媒体搜索请求包含有搜索信息和搜索时刻,搜索时刻指示生成直播流媒体搜索请求的时间,然后,根据搜索信息,搜索与搜索信息匹配的直播流媒体,若搜索时刻早于直播流媒体的播放起始时刻,则播放媒资库中与搜索信息对应的点播多媒体文件,若搜索时刻到达或晚于直播流媒体的播放起始时刻,则从播放起始时刻播放直播流媒体。通过该方案,电子设备在搜索时刻早于直播流媒体播放起始时刻的这一场景中,电子设备播放与直播流媒体匹配的点播多媒体文件,并且当搜索时刻到达直播流媒体播放起始时刻时,实时保存直播流媒体,在搜索时刻晚于直播流媒体播放起始时刻的这一场景中,从直播流媒体的播放起始时刻播放直播流媒体,支持用户回看直播流媒体,提升了直播流媒体播放的灵活性。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (10)

  1. 一种直播流媒体的播放方法,其特征在于,包括:
    获取直播流媒体搜索请求,所述直播流媒体搜索请求包含有搜索信息和搜索时刻,所述搜索时刻指示生成所述直播流媒体搜索请求的时间;
    根据所述搜索信息,搜索与所述搜索信息匹配的直播流媒体;
    若所述搜索时刻早于所述直播流媒体的播放起始时刻,则播放媒资库中与所述搜索信息匹配的点播多媒体文件;
    若所述搜索时刻到达或晚于所述直播流媒体的播放起始时刻,则从所述播放起始时刻播放所述直播流媒体。
  2. 根据权利要求1所述的方法,其特征在于,所述播放媒资库中与所述搜索信息匹配的点播多媒体文件之后,所述方法还包括:
    加载直播流媒体播放界面;
    当到达所述直播流媒体的播放起始时刻时,在所述直播流媒体播放界面中播放所述直播流媒体。
  3. 根据权利要求1所述的方法,其特征在于,所述播放媒资库中与所述搜索信息对应的点播多媒体文件的步骤包括:
    根据所述搜索信息,从所述媒资库中获取与所述搜索信息匹配的点播多媒体文件;
    加载点播媒体播放界面,并在所述点播媒体播放界面中播放所述点播多媒体文件。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,还包括:
    实时保存所述直播流媒体。
  5. 根据权利要求4所述的方法,其特征在于,从所述播放起始时刻播放所述直播流媒体的步骤包括:
    获取已保存的直播流媒体,并加载直播流媒体播放界面;
    在所述直播流媒体播放界面中,从所述播放起始时刻开始,播放所述直播流媒体。
  6. 一种电子设备,其特征在于,包括:
    获取单元,用于获取直播流媒体搜索请求,所述直播流媒体搜索请求包含有搜索信息和搜索时刻,所述搜索时刻指示生成所述直播流媒体搜索请求 的时间;
    搜索单元,根据所述获取单元获取的所述搜索信息,搜索与所述搜索信息匹配的直播流媒体;
    播放单元,用于若所述搜索时刻早于所述搜索单元搜索的所述直播流媒体的播放起始时刻,则播放媒资库中与所述搜索信息对应的点播多媒体文件,以及用于若所述搜索时刻到达或晚于所述搜索单元搜索的所述直播流媒体的播放起始时刻,则从所述播放起始时刻播放所述搜索单元搜索的所述直播流媒体。
  7. 根据权利要求6所述的电子设备,其特征在于,所述电子设备还包括处理单元;
    所述处理单元,用于在所述播放单元播放媒资库中与所述搜索信息对应的点播多媒体文件之后,加载直播流媒体播放界面;
    所述播放单元,具体用于当到达所述搜索单元搜索的所述直播流媒体的播放起始时刻时,在所述处理单元加载的所述直播流媒体播放界面中播放所述直播流媒体。
  8. 根据权利要求7所述的电子设备,其特征在于,包括:
    所述获取单元,还用于根据所述搜索信息,从所述媒资库中获取与所述搜索信息匹配的点播多媒体文件;
    所述处理单元,还用于加载点播媒体播放界面;
    所述播放单元,还用于在所述处理单元加载的所述点播媒体播放界面中播放所述获取单元获取的所述点播多媒体文件。
  9. 根据权利要求6-8中任一项所述的电子设备,其特征在于,所述电子设备还包括存储单元;
    所述存储单元,用于实时保存所述搜索单元搜索的所述直播流媒体。
  10. 根据权利要求8所述的电子设备,其特征在于,
    所述获取单元,还用于获取所述存储单元已保存的直播流媒体;
    所述处理单元,还用于当所述获取单元获取已保存的直播流媒体后,加载直播流媒体播放界面。
PCT/CN2014/092211 2013-12-09 2014-11-25 一种直播流媒体的播放方法及装置 Ceased WO2015085863A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/102,058 US20160308923A1 (en) 2013-12-09 2014-11-25 Method and system for playing live broadcast streaming media

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310664858.3 2013-12-09
CN201310664858.3A CN103729407A (zh) 2013-12-09 2013-12-09 一种直播流媒体的播放方法及装置

Publications (1)

Publication Number Publication Date
WO2015085863A1 true WO2015085863A1 (zh) 2015-06-18

Family

ID=50453481

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092211 Ceased WO2015085863A1 (zh) 2013-12-09 2014-11-25 一种直播流媒体的播放方法及装置

Country Status (3)

Country Link
US (1) US20160308923A1 (zh)
CN (1) CN103729407A (zh)
WO (1) WO2015085863A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111954017A (zh) * 2020-08-14 2020-11-17 北京达佳互联信息技术有限公司 直播间搜索方法、装置、服务器及存储介质

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729407A (zh) * 2013-12-09 2014-04-16 乐视网信息技术(北京)股份有限公司 一种直播流媒体的播放方法及装置
CN105898372A (zh) * 2015-12-15 2016-08-24 乐视云计算有限公司 视频直播转点播方法及系统
CN105872801A (zh) * 2015-12-29 2016-08-17 乐视网信息技术(北京)股份有限公司 视频切换方法和装置
CN106375859B (zh) * 2016-09-26 2019-01-15 腾讯科技(深圳)有限公司 一种媒体处理方法、装置及终端
CN109729372B (zh) * 2018-12-24 2020-12-25 北京达佳互联信息技术有限公司 直播间切换方法、装置、终端、服务器及存储介质
CN112291585B (zh) * 2019-07-25 2023-01-31 百度在线网络技术(北京)有限公司 多媒体资源的搜索方法、装置、电子设备及存储介质
CN112565813B (zh) * 2020-12-10 2022-09-06 阿波罗智联(北京)科技有限公司 多媒体资源加载的方法、装置、电子设备及存储介质
CN113242444B (zh) * 2021-06-10 2023-07-14 聚好看科技股份有限公司 一种显示设备、服务器及媒资播放方法
JP7272571B1 (ja) 2022-08-16 2023-05-12 17Live株式会社 データ検索のためのシステム、方法、及びコンピュータ可読媒体

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039404A (zh) * 2006-03-15 2007-09-19 中兴通讯股份有限公司 一种实现网络直播中无缝插播的系统及方法
CN201365313Y (zh) * 2008-12-22 2009-12-16 范志刚 一种网上即时直播和点播系统
CN101742158A (zh) * 2008-11-14 2010-06-16 中兴通讯股份有限公司 一种在网络电视系统中实现节目提醒功能的方法和系统
CN101917390A (zh) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 一种多功能网络播放器
CN102333243A (zh) * 2010-07-14 2012-01-25 北京泓润光谷数字媒体技术有限责任公司 一种流媒体直播时移点播装置
CN103729407A (zh) * 2013-12-09 2014-04-16 乐视网信息技术(北京)股份有限公司 一种直播流媒体的播放方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8423071B1 (en) * 2008-11-25 2013-04-16 Sprint Communications Company L.P. Resuming media objects delivered via live streaming services upon data reduction events
US8650603B2 (en) * 2009-04-02 2014-02-11 Koninklijke Kpn N.V. Playing out interludes based on predicted duration of channel-switching delay or of invoked pause

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039404A (zh) * 2006-03-15 2007-09-19 中兴通讯股份有限公司 一种实现网络直播中无缝插播的系统及方法
CN101742158A (zh) * 2008-11-14 2010-06-16 中兴通讯股份有限公司 一种在网络电视系统中实现节目提醒功能的方法和系统
CN201365313Y (zh) * 2008-12-22 2009-12-16 范志刚 一种网上即时直播和点播系统
CN101917390A (zh) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 一种多功能网络播放器
CN102333243A (zh) * 2010-07-14 2012-01-25 北京泓润光谷数字媒体技术有限责任公司 一种流媒体直播时移点播装置
CN103729407A (zh) * 2013-12-09 2014-04-16 乐视网信息技术(北京)股份有限公司 一种直播流媒体的播放方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111954017A (zh) * 2020-08-14 2020-11-17 北京达佳互联信息技术有限公司 直播间搜索方法、装置、服务器及存储介质
CN111954017B (zh) * 2020-08-14 2022-03-25 北京达佳互联信息技术有限公司 直播间搜索方法、装置、服务器及存储介质

Also Published As

Publication number Publication date
US20160308923A1 (en) 2016-10-20
CN103729407A (zh) 2014-04-16

Similar Documents

Publication Publication Date Title
WO2015085863A1 (zh) 一种直播流媒体的播放方法及装置
CN102571726B (zh) 多媒体数据共享的方法、系统及状态判定服务器
CN103647991A (zh) 智能电视中的视频分享方法及系统
US11006164B2 (en) TV and electronic device with external tuner and memory for personal video recording
CN103716719B (zh) 一种多媒体文件的下载方法及用户终端
WO2014172976A1 (zh) 一种视频共享的方法及数字电视终端
CN106921873A (zh) 直播控制方法及装置
CN106254951B (zh) 一种视频直播创建方法及其系统、接入设备、管理设备
CN104125229B (zh) 流媒体的播放方法与播放装置
CN102204219A (zh) 视频切换播放方法、装置和系统
CN103731721B (zh) 一种视频播放方法及用户终端
TWI616097B (zh) 串流裝置及方法、串流服務系統及記錄介質
WO2016049987A1 (zh) 一种数据处理方法、装置及相关服务器
EP3996355A1 (en) Method for transferring media stream and user equipment
US20120203859A1 (en) System and method for interaction between e-mail/web browser and communication devices
CN106231355A (zh) 电视与移动终端的互动方法及系统
CN109788301B (zh) 一种流媒体的直播方法、终端设备、直播系统及计算机可读存储介质
CN106302362B (zh) 多媒体内容发送方法、分享方法、接收方法及对应装置
CN105898395A (zh) 一种网络视频播放方法、装置及系统
US20160029053A1 (en) Method for transmitting media data and virtual desktop server
CN104185040A (zh) 应用同步方法、应用服务器及终端
US20140317669A1 (en) Method and apparatus for transmitting and receiving additional information in a broadcast communication system
CN104618805A (zh) 一种视频点播方法和设备
CN103702178A (zh) 一种播放方法及电子设备
CN103179190A (zh) 一种图片传输方法、装置和系统

Legal Events

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

Ref document number: 14870183

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15102058

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14870183

Country of ref document: EP

Kind code of ref document: A1