WO2015135403A1 - 一种播放视频的方法、装置及应用服务器 - Google Patents

一种播放视频的方法、装置及应用服务器 Download PDF

Info

Publication number
WO2015135403A1
WO2015135403A1 PCT/CN2015/072323 CN2015072323W WO2015135403A1 WO 2015135403 A1 WO2015135403 A1 WO 2015135403A1 CN 2015072323 W CN2015072323 W CN 2015072323W WO 2015135403 A1 WO2015135403 A1 WO 2015135403A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
webpage
playlist
user
playing
Prior art date
Application number
PCT/CN2015/072323
Other languages
English (en)
French (fr)
Inventor
张琦
曾崴
唐龙
石淼磊
Original Assignee
可牛网络技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 可牛网络技术(北京)有限公司 filed Critical 可牛网络技术(北京)有限公司
Publication of WO2015135403A1 publication Critical patent/WO2015135403A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4622Retrieving content or additional data from different sources, e.g. from a broadcast channel and the Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/4722End-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 additional data associated with the content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a method, an apparatus, and an application server for playing video.
  • each video website can provide a video program with the same theme content, but the video programs provided by each video website may have different content reduction degree, resolution, updated episode, etc., wherein the theme content may be a video program.
  • a playlist of the video may be obtained from a web server end of the video website, where the playlist includes all the content of the video website that is consistent with the theme content of the video.
  • the above playlist can only provide the identification information of the video in the video website, and cannot provide the identifier of the video of the same subject content in the video website. If users want to switch to other video sites to watch videos of the same subject content, they can only visit other video sites, find videos of the corresponding topic content, and then watch.
  • the embodiment of the present invention discloses a method, a device, and an application server for playing a video, which are used to provide a user with a playlist of video programs in a plurality of video websites that are consistent with the theme content of the video to be played, so as to simplify the user to switch video across the website. Operation to enhance the user experience.
  • the embodiment of the present application discloses a method for playing a video, including:
  • the query response carries a playlist of the video, the playlist including at least link information of the first webpage and a second of the video in a second website Link information of the webpage;
  • the playlist is presented to the user so that the user can view the video through the playlist selection source.
  • the step of playing the video on the first webpage in the first website according to the operation of the user includes:
  • the video is played according to the source code of the first webpage.
  • the step of playing the video according to the source code of the first webpage includes:
  • the method further includes:
  • the step of playing the video according to the source code of the first webpage includes:
  • the method further includes:
  • the step of displaying the multi-site playlist to the user includes:
  • the preset player is called to display the received playlist to the user.
  • the step of displaying the playlist to a user includes:
  • the playlist is presented to the user as a floating window, a webpage embedded list, or in a preset player.
  • an embodiment of the present application discloses an apparatus for playing a video, where the apparatus includes:
  • a video playing module configured to play a video on the first webpage in the first website according to a user operation
  • a query request sending module configured to send a query request to the application server, where the query request carries link information of the first webpage
  • a query response receiving module configured to receive a query response returned by the application server, where the query response carries a playlist of the video, where the playlist includes at least link information of the first webpage and the video is Link information of the second webpage in the second website;
  • the playlist display module is configured to display the playlist to the user, so that the user selects the play source to view the video through the playlist.
  • the video playing module includes:
  • a play request sending submodule configured to send, to the server of the first webpage, a request to play the video according to an operation of the user
  • a source code receiving submodule configured to receive a source code of the first webpage sent by a server of the first webpage
  • a video playing submodule configured to play the video according to a source code of the first webpage.
  • the video playing submodule includes:
  • a first player loading unit configured to load a default player of the first webpage
  • a first video playing unit configured to play the video in the default player according to a source code of the first webpage.
  • the first player loading unit is further configured to: after the playlist display module displays the playlist to the user, if the user passes the playlist, select to view the second webpage in the second website. In the case of the video on, loading a preset player;
  • the play request sending submodule is further configured to send a request for playing the video to a server of the second webpage;
  • the source code receiving submodule is further configured to receive a source code of the second webpage sent by a server of the second webpage;
  • the first video playing unit is further configured to play the video in the preset player according to a source code of the second webpage.
  • the video playing submodule includes:
  • a second player loading unit for loading a preset player
  • a second video playing unit configured to play the video in the preset player according to the source code of the first webpage.
  • the play request sending sub-module is further configured to: after the playlist display module displays the playlist to the user, if the user passes the playlist, select to view the second webpage in the second website.
  • a request to play the video is sent to a server of the second webpage;
  • the source code receiving submodule is further configured to receive a source code of the second webpage sent by a server of the second webpage;
  • the second video playing unit is further configured to play the video in the preset player according to the source code of the second webpage.
  • the playlist display module includes:
  • a playlist sending submodule configured to send the playlist to the preset player
  • the playlist display submodule is configured to invoke the preset player to display the received playlist to the user.
  • the playlist display module is specifically configured to display the playlist as a floating window, a webpage embedded list, or display the user in a preset player.
  • an application server including:
  • the query request receiving module is configured to receive a query request sent by the client, where the query request carries the link information of the first webpage;
  • a playlist determining module configured to determine, according to the link information of the first webpage, a playlist of the video on the first webpage, where the playlist includes at least link information of the first webpage and the video is Link information of the second webpage in the second website;
  • a playlist sending module configured to send the playlist to a client.
  • the playlist determining module includes:
  • a first video identifier determining submodule configured to determine an identifier of the video on the first webpage according to the link information of the first webpage
  • the first playlist determining submodule is configured to determine, according to the identifier of the video, a playlist of the video in a preset video information library.
  • the playlist determining module includes:
  • a video information sub-library determining sub-module configured to determine, according to the link information of the first webpage, a video information sub-library corresponding to the link information in a preset video information database, where the preset video information database Including at least one video information sub-library;
  • a second video identifier determining submodule configured to determine, in the determined video information sub-library, an identifier of the video on the first webpage
  • the second playlist determining submodule is configured to determine, in the respective video information sub-libraries, a playlist of the video according to the identifier of the video.
  • the identifier of the video includes: a name of the video, a keyword of a name of the video, or an index value of the video.
  • the embodiment of the present application further discloses a terminal, where the terminal includes:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the memory stores executable program code
  • the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for:
  • the query response carries a playlist of the video, the playlist including at least link information of the first webpage and a second of the video in a second website Link information of the webpage;
  • the playlist is presented to the user so that the user can view the video through the playlist selection source.
  • the embodiment of the present application further discloses an application program for executing a method for playing a video according to an embodiment of the present application at runtime.
  • the embodiment of the present application further discloses a storage medium for storing an application, and the application is used to execute the method for playing a video according to the embodiment of the present application.
  • the multi-site playlist information when browsing a video to be played, receiving The multi-site playlist information corresponding to the to-be-played video determined by the application server according to the query request, provides video link information for the user's cross-site switching video operation.
  • the cross-site video switching can be implemented through the multi-site playlist information in the current page, without transferring to other video websites to determine the to-be-switched video. Simple operation and improved user experience.
  • FIG. 1 is a schematic flowchart of a method for playing a video according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another method for playing a video according to an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of an apparatus for playing a video according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of another apparatus for playing video according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an application server according to an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a method for playing a video according to an embodiment of the present disclosure, where the method includes:
  • S101 Play a video on the first webpage in the first website according to the operation of the user.
  • the browser or the browser function can open a website to play the video that the user requested to watch.
  • the operation of the user may be that the user clicks the “play” button/icon on the first webpage, or the user opens the first webpage by using a browser or an application having a browser function.
  • S102 Send a query request to an application server.
  • the query request carries the link information of the first webpage.
  • S103 Receive a query response returned by the application server, where the query response carries a playlist of the video, where the playlist includes at least link information of the first webpage and a link of the second webpage of the video in the second website. information.
  • the application server may be a server corresponding to a browser or a server corresponding to an application having a browser function.
  • the application server may include a preset database.
  • the link information of the webpage where the video is located in different video websites may be stored according to the identifier of the video.
  • the identifier of the video may be a video name or a keyword of a video name, and the like.
  • the name of the video is: "Homeland Security”
  • three video sites A, B, and C provide three episodes of the TV series respectively.
  • the logo of the video is "Homeland Security”
  • the video is in A.
  • the link information of the webpage is:
  • the identifier of the video may also be an index value of the video.
  • the index of the video named Homeland Security is 123. According to the index value, the link information of the webpage where the corresponding video is located can be queried.
  • the application server After receiving the query request, the application server parses the link information of the first webpage where the video viewed by the user is located from the query request, and according to the link information of the first webpage in the preset database. Searching for the identifier of the corresponding video; performing the query in the preset database again according to the obtained video identifier, querying the identifier consistent with the identifier of the video, and integrating the link information of the webpage corresponding to the identifier to generate a playlist .
  • the preset database may include at least one sub-database, and different sub-databases, respectively storing link information of web pages of different video websites.
  • the link information of the webpage where the video is located may be stored according to the identifier of the video.
  • the link information of the first webpage may be parsed first, and the video corresponding to the link information of the first webpage is searched in the sub-database of the first webpage according to the link information of the first webpage. Identification; then according to the video identification, query in each sub-database to get the link information of the corresponding webpage.
  • the link information obtained by parsing the first webpage is: www.A.com/1.html
  • the query is performed in the sub-database corresponding to the A website, and the link information of the first webpage is obtained.
  • the video identifier is then queried according to the video identifier, and the link information of the corresponding webpage is queried in each sub-database, and a playlist is generated.
  • the application server may not include a preset database.
  • the application server obtains the link information of the first website by parsing the query request, and further obtains the link information of the first website from the network side.
  • the identifier of the video viewed by the user is searched in each video website according to the identifier of the video, the link information of the webpage where the video is located in different video websites is obtained, and the playlist is generated according to the link information.
  • S104 Display the playlist to the user, so that the user selects the play source through the playlist to view the video.
  • the foregoing S101 may include:
  • S101A Send a request for playing the video to a server of the first webpage according to an operation of the user.
  • S101B Receive source code of the first webpage sent by the server of the first webpage.
  • Each video site can provide a large amount of video to users, and these videos need to be stored in different servers due to limitations of hard disk storage space, server performance, user geographic location, and the like. In the actual application process, if the server storing a certain video fails, the video can be transferred to another server for storage.
  • S101C Play the video according to the source code of the first webpage.
  • the source code of the first webpage when the video is played, the source code of the first webpage may be parsed first, the link information of the video is obtained, and the video is played in the player according to the link information.
  • the video is played in the player, which can be:
  • the browser or the browser-enabled application first sends the link information of the video to the player, and the player obtains the data of the video from the server of the first webpage according to the link information of the video, and performs decoding and playing;
  • the browser or the browser-enabled application first obtains the data of the video from the server of the first webpage according to the link information of the video, and then sends the data of the video to the player, and the video data received by the player. Perform decoding playback.
  • the player may be a default player of the first webpage, or the player is a preset player.
  • the source code of the first webpage may further include information related to the default player of the webpage, for example, link information of the default player, etc., therefore, according to the first The source code of the webpage, when playing the video, you can first load the default player of the first webpage, and then play the video in the default player according to the source code.
  • the video when playing a video in a preset player, it is not necessary to load the default player of the first webpage, but directly load the preset player.
  • the video When the video is played according to the source code of the first webpage, the video may be played in the preset player according to the source code of the first webpage.
  • the user After displaying the multi-site playlist to the user, the user can select to watch the video on the second webpage in the second website through the playlist.
  • the user selects to watch the video on the second webpage, and the preset playback is first loaded, and the video in the first webpage is played as described above.
  • the preset playback is first loaded, and the video in the first webpage is played as described above.
  • the playing the video in the second webpage in the preset player may include: first sending a request to play the video to the server of the second webpage; after receiving the source code of the second webpage sent by the server of the second webpage According to the source code, the video is played in a preset player.
  • the playlist is displayed to the user in S104, and the playlist may be displayed to the user in the form of a floating window, a webpage embedded list, or in a preset player.
  • the specific implementation manner of displaying the playlist to the user in the actual application may be determined according to the specific situation.
  • the browser or the browser-enabled application first sends the playlist to the preset player, and then calls the preset player to display the received message to the user. Playlist.
  • the playlist may be sent by the browser or the browser-enabled application to the preset player, or may be sent directly by the application server to the preset player.
  • the user when the user views the video, the user may send the query request to the application server to obtain the link information of the webpage where the video is located in multiple websites, so that the user selects the play source through the playlist to view the video.
  • the video switching is performed by using the foregoing solution, the video switching of the cross-site can be realized through the playlist, without transferring the page to other video websites, the operation is simple, and the user experience is improved.
  • FIG. 3 is a schematic structural diagram of an apparatus for playing a video according to an embodiment of the present disclosure.
  • the apparatus includes: a video playing module 301, a query request sending module 302, a query response receiving module 303, and a playlist displaying module 304.
  • the video playing module 301 is configured to play a video on the first webpage in the first website according to an operation of the user;
  • the query request sending module 302 is configured to send a query request to the application server, where the query request carries the link information of the first webpage;
  • the query response receiving module 303 is configured to receive a query response returned by the application server, where the query response carries a playlist of the video, where the playlist includes at least link information of the first webpage and the video Link information of the second webpage in the second website;
  • the playlist display module 304 is configured to display the playlist to the user, so that the user selects the play source through the playlist to view the video.
  • the video playing module 301 may include: a play request sending submodule 3011, a source code receiving submodule 3012, and a video playing submodule 3013.
  • the play request sending submodule 3011 is configured to send, according to an operation of the user, a request for playing the video to a server of the first webpage;
  • the source code receiving submodule 3012 is configured to receive a source code of the first webpage sent by a server of the first webpage;
  • the video playing sub-module 3013 is configured to play the video according to the source code of the first webpage.
  • the video playing submodule 3013 may include: a first player loading unit and a first video playing unit (not shown).
  • the first player loading unit is configured to load a default player of the first webpage
  • a first video playing unit configured to play the video in the default player according to a source code of the first webpage.
  • the first player loading unit is further configured to: after the playlist display module displays the playlist to the user, if the user passes the playlist, select to view the second webpage in the second website. In the case of the video, the preset player is loaded;
  • the play request sending submodule is further configured to send a request for playing the video to a server of the second webpage;
  • the source code receiving submodule is further configured to receive a source code of the second webpage sent by a server of the second webpage;
  • the first video playing unit is further configured to: according to the source code of the second webpage, in the pre Let the video play in the player.
  • the video playing sub-module 3013 may include: a second player loading unit and a second video playing unit (not shown).
  • the second player loading unit is configured to load the preset player
  • a second video playing unit configured to play the video in the preset player according to the source code of the first webpage.
  • the play request sending sub-module is further configured to: after the playlist display module displays the playlist to the user, if the user passes the playlist, select to view the second webpage in the second website.
  • a request to play the video is sent to a server of the second webpage;
  • the source code receiving submodule is further configured to receive a source code of the second webpage sent by a server of the second webpage;
  • the second video playing unit is further configured to play the video in the preset player according to the source code of the second webpage.
  • the playlist display module 304 may include: a playlist sending submodule and a playlist displaying submodule (not shown).
  • the playlist sending submodule is configured to send the playlist to the preset player.
  • the playlist display submodule is configured to invoke the preset player to display the received playlist to the user.
  • the playlist display module is specifically configured to display the playlist as a floating window, a webpage embedded list, or display the user in a preset player.
  • the user when the user views the video, the user may send the query request to the application server to obtain the link information of the webpage where the video is located in multiple websites, so that the user selects the play source through the playlist to view the video.
  • the video switching is performed by using the foregoing solution, the video switching of the cross-site can be realized through the playlist, without transferring the page to other video websites, the operation is simple, and the user experience is improved.
  • FIG. 5 is a schematic structural diagram of an application server according to an embodiment of the present disclosure, including: a query request receiving module 501, a playlist determining module 502, and a playlist sending module 503.
  • the query request receiving module 501 is configured to receive a query request sent by the client, where the query request carries link information of the first webpage;
  • the playlist determining module 502 is configured to determine, according to the link information of the first webpage, a playlist of the video on the first webpage, where the playlist includes at least link information of the first webpage and the video Link information of the second webpage in the second website;
  • the playlist sending module 503 is configured to send the playlist to the client.
  • the playlist determining module 502 may include: a first video identifier determining submodule and a first playlist determining submodule (not shown).
  • the first video identifier determining sub-module is configured to determine, according to the link information of the first webpage, an identifier of the video on the first webpage, where the first playlist determining sub-module is configured to use, according to the identifier of the video, In the preset video information library, a playlist of the video is determined.
  • the playlist determining module 502 may include: a video information sub-library determining sub-module, a second video identifier determining sub-module, and a second playlist determining sub-module (not shown).
  • the video information sub-library determining sub-module is configured to determine, according to the link information of the first webpage, a video information sub-library corresponding to the link information in a preset video information library, where the preset video is
  • the information base includes at least one video information sub-library;
  • a second video identifier determining submodule configured to determine, in the determined video information sub-library, an identifier of the video on the first webpage
  • the second playlist determining submodule is configured to determine, in the respective video information sub-libraries, a playlist of the video according to the identifier of the video.
  • the identifier of the video includes: a name of the video, a keyword of a name of the video, or an index value of the video.
  • the application server obtains a playlist of the video on the first webpage according to the link information of the first webpage, where the playlist provides link information of the video on multiple websites, and the user can use the playlist. Switch between different websites without having to page Moving to other video sites, the operation is simple and enhances the user experience.
  • the embodiment of the present application provides a terminal, where the terminal includes:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the memory stores executable program code
  • the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for:
  • the query response carries a playlist of the video, the playlist including at least link information of the first webpage and a second of the video in a second website Link information of the webpage;
  • the playlist is presented to the user so that the user can view the video through the playlist selection source.
  • the embodiment of the present application provides an application program for executing a method for playing a video provided by an embodiment of the present application at runtime.
  • the method for playing a video includes:
  • the query response carries a playlist of the video, the playlist including at least link information of the first webpage and a second of the video in a second website Link information of the webpage;
  • the playlist is presented to the user so that the user can view the video through the playlist selection source.
  • the embodiment of the present application provides a storage medium for storing an application, and the application is used to execute a method for playing a video provided by an embodiment of the present application.
  • the method for playing a video includes:
  • the query response carries a playlist of the video, the playlist including at least link information of the first webpage and a second of the video in a second website Link information of the webpage;
  • the playlist is presented to the user so that the user can view the video through the playlist selection source.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.

Abstract

本申请实施例公开了一种播放视频的方法、装置及应用服务器,涉及互联网技术领域,包括:根据用户的操作,播放第一网站中的第一网页上的视频;向应用服务器发送查询请求,其中,查询请求携带所述第一网页的链接信息;接收所述应用服务器返回的查询响应,其中,查询响应携带所述视频的播放列表,所述播放列表至少包括所述第一网页的链接信息以及所述视频在第二网站中的第二网页的链接信息;向用户展示所述播放列表,以便用户通过播放列表选择播放源观看所述视频。应用本申请实施例提供的方案进行视频切换时,在当前页面中通过多网站播放列表信息即可实现跨网站视频切换,而无需转移到其他视频网站确定待切换视频,操作简单,提升了用户体验。

Description

一种播放视频的方法、装置及应用服务器
本申请要求于2014年03月14日提交中国专利局、申请号为201410097634.3发明名称为“一种播放视频的方法、装置及应用服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及互联网技术领域,特别涉及一种播放视频的方法、装置及应用服务器。
背景技术
随着视频网站的快速发展,越来越多的用户通过网络观看视频节目,例如,电视剧、电影、综艺节目、动漫、新闻等等。
实际应用中,各个视频网站可提供主题内容一致的视频节目,但是各个视频网站所提供的视频节目可能存在内容删减程度、分辨率、更新剧集等等不同,其中,主题内容可以是视频节目的名称、视频节目名称的关键字等等。
现有技术中,用户通过某一视频网站浏览某视频时,可以从该视频网站的网页服务器端获得该视频的播放列表,该播放列表中包括该视频网站中与该视频的主题内容一致的所有视频的标识信息,用户可通过该播放列表,在上述主题内容一致的各个视频间切换。
但是,上述的播放列表只能提供该视频网站内的视频的标识信息,而无法提供他视频网站内相同主题内容为的视频的标识。若用户想切换到其他视频网站观看相同主题内容的视频,只能访问其他视频网站,找到相应主题内容的视频,再进行观看。
可见,现有技术中,跨网站切换视频时,操作复杂,用户体验差。
发明内容
本申请实施例公开了一种播放视频的方法、装置及应用服务器,用于为用户提供多个视频网站中与待播放视频的主题内容一致的视频节目的播放列表,以简化用户跨网站切换视频的操作,提升用户体验。
为达到上述目的,本申请实施例公开了一种播放视频的方法,包括:
根据用户的操作,播放第一网站中的第一网页上的视频;
向应用服务器发送查询请求,其中,所述查询请求携带所述第一网页的链接信息;
接收所述应用服务器返回的查询响应,其中,所述查询响应携带所述视频的播放列表,所述播放列表至少包括所述第一网页的链接信息以及所述视频在第二网站中的第二网页的链接信息;
向用户展示所述播放列表,以便用户通过播放列表选择播放源观看所述视频。
可选的,所述根据用户的操作,播放第一网站中的第一网页上的视频的步骤,包括:
根据用户的操作,向第一网页的服务器发送播放所述视频的请求;
接收所述第一网页的服务器发送的所述第一网页的源代码;
根据所述第一网页的源代码,播放所述视频。
可选的,所述根据所述第一网页的源代码,播放所述视频的步骤,包括:
加载所述第一网页的默认播放器;
根据所述第一网页的源代码,在所述默认播放器中播放所述视频。
可选的,在所述向用户展示所述播放列表的步骤之后,如果用户通过所述播放列表,选择观看第二网站中的第二网页上的所述视频,所述方法还包括:
加载预设播放器;
向第二网页的服务器发送播放所述视频的请求;
接收所述第二网页的服务器发送的所述第二网页的源代码;
根据所述第二网页的源代码,在所述预设播放器中播放所述视频。
可选的,所述根据所述第一网页的源代码,播放所述视频的步骤,包括:
加载预设播放器;
根据所述第一网页的源代码,在所述预设播放器中播放所述视频。
可选的的,在所述向用户展示所述播放列表的步骤之后,如果用户通过所述播放列表,选择观看第二网站中的第二网页上的所述视频,所述方法还包括:
向第二网页的服务器发送播放所述视频的请求;
接收所述第二网页的服务器发送的所述第二网页的源代码;
根据所述第二网页的源代码,在所述预设播放器中播放所述视频。
可选的,所述向用户展示所述多网站播放列表的步骤,包括:
向所述预设播放器发送所述播放列表;
调用所述预设播放器,向用户展示所接收的所述播放列表。
可选的,所述向用户展示所述播放列表的步骤,包括:
将所述播放列表以浮动窗,网页嵌入式列表,或者在预设播放器中向用户展示。
为达到上述目的,本申请实施例公开了一种播放视频的装置,所述装置包括:
视频播放模块,用于根据用户的操作,播放第一网站中的第一网页上的视频;
查询请求发送模块,用于向应用服务器发送查询请求,其中,所述查询请求携带所述第一网页的链接信息;
查询响应接收模块,用于接收所述应用服务器返回的查询响应,其中,所述查询响应携带所述视频的播放列表,所述播放列表至少包括所述第一网页的链接信息以及所述视频在第二网站中的第二网页的链接信息;
播放列表展示模块,用于向用户展示所述播放列表,以便用户通过播放列表选择播放源观看所述视频。
可选的,所述视频播放模块,包括:
播放请求发送子模块,用于根据用户的操作,向第一网页的服务器发送播放所述视频的请求;
源代码接收子模块,用于接收所述第一网页的服务器发送的所述第一网页的源代码;
视频播放子模块,用于根据所述第一网页的源代码,播放所述视频。
可选的,所述视频播放子模块,包括:
第一播放器加载单元,用于加载所述第一网页的默认播放器;
第一视频播放单元,用于根据所述第一网页的源代码,在所述默认播放器中播放所述视频。
可选的,所述第一播放器加载单元,还用于在所述播放列表展示模块向用户展示所述播放列表之后,如果用户通过所述播放列表,选择观看第二网站中的第二网页上的所述视频的情况下,加载预设播放器;
所述播放请求发送子模块,还用于向第二网页的服务器发送播放所述视频的请求;
所述源代码接收子模块,还用于接收所述第二网页的服务器发送的所述第二网页的源代码;
所述第一视频播放单元,还用于根据所述第二网页的源代码,在所述预设播放器中播放所述视频。
可选的,所述视频播放子模块,包括:
第二播放器加载单元,用于加载预设播放器;
第二视频播放单元,用于根据所述第一网页的源代码,在所述预设播放器中播放所述视频。
可选的,所述播放请求发送子模块,还用于在所述播放列表展示模块向用户展示所述播放列表之后,如果用户通过所述播放列表,选择观看第二网站中的第二网页上的所述视频的情况下,向第二网页的服务器发送播放所述视频的请求;
所述源代码接收子模块,还用于接收所述第二网页的服务器发送的所述第二网页的源代码;
所述第二视频播放单元,还用于根据所述第二网页的源代码,在所述预设播放器中播放所述视频。
可选的,所述播放列表展示模块,包括:
播放列表发送子模块,用于向所述预设播放器发送所述播放列表;
播放列表展示子模块,用于调用所述预设播放器,向用户展示所接收的所述播放列表。
可选的,所述播放列表展示模块,具体用于将所述播放列表以浮动窗,网页嵌入式列表,或者在预设播放器中向用户展示。
为达到上述目的,本申请实施例公开了一种应用服务器,包括:
查询请求接收模块,用于接收客户端发送的查询请求,其中,所述查询请求携带第一网页的链接信息;
播放列表确定模块,用于根据所述第一网页的链接信息,确定所述第一网页上视频的播放列表,其中,所述播放列表至少包括所述第一网页的链接信息以及所述视频在第二网站中的第二网页的链接信息;
播放列表发送模块,用于向客户端发送所述播放列表。
可选的,所述播放列表确定模块,包括:
第一视频标识确定子模块,用于根据所述第一网页的链接信息,确定所述第一网页上视频的标识;
第一播放列表确定子模块,用于根据所述视频的标识,在预设的视频信息库中,确定所述视频的播放列表。
可选的,所述播放列表确定模块,包括:
视频信息子库确定子模块,用于根据所述第一网页的链接信息,在预设的视频信息库中,确定该链接信息对应的视频信息子库,其中,所述预设的视频信息库中,至少包括一个视频信息子库;
第二视频标识确定子模块,用于在所确定的视频信息子库中,确定所述第一网页上的视频的标识;
第二播放列表确定子模块,用于根据所述视频的标识,在各个视频信息子库中,确定所述视频的播放列表。
可选的,所述视频的标识,包括:所述视频的名称,所述视频的名称的关键字,或者所述视频的索引值。
为达到上述目的,本申请实施例还公开了一种终端,所述终端包括:
处理器、存储器、通信接口和总线;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
所述存储器存储可执行程序代码;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:
根据用户的操作,播放第一网站中的第一网页上的视频;
向应用服务器发送查询请求,其中,所述查询请求携带所述第一网页的链接信息;
接收所述应用服务器返回的查询响应,其中,所述查询响应携带所述视频的播放列表,所述播放列表至少包括所述第一网页的链接信息以及所述视频在第二网站中的第二网页的链接信息;
向用户展示所述播放列表,以便用户通过播放列表选择播放源观看所述视频。
本申请实施例还公开了一种应用程序,该应用程序用于在运行时执行本申请实施例所述的播放视频的方法。
本申请实施例还公开了一种存储介质,用于存储应用程序,所述应用程序用于执行本申请实施例所述的播放视频的方法。
由以上可见,本申请实施例提供的方案中,在浏览待播放视频时,接收 应用服务器根据查询请求确定的待播放视频对应的多网站播放列表信息,该多网站播放列表信息,为用户的跨网站切换视频操作提供视频链接信息。与现有技术相比,应用本申请实施例提供的方案进行视频切换时,在当前页面中通过多网站播放列表信息即可实现跨网站视频切换,而无需转移到其他视频网站确定待切换视频,操作简单,提升了用户体验。
附图说明
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的一种播放视频的方法的流程示意图;
图2为本申请实施例提供的另一种播放视频的方法的流程示意图;
图3为本申请实施例提供的一种播放视频的装置的结构示意图;
图4为本申请实施例提供的另一种播放视频的装置的结构示意图;
图5为本申请实施例提供的一种应用服务器的结构示意图。
具体实施方式
为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
图1为本申请实施例提供的一种播放视频的方法的流程示意图,该方法包括:
S101:根据用户的操作,播放第一网站中的第一网页上的视频。
随着视频网站的迅速发展,用户可以通过浏览器或者具有浏览器功能的应用访问视频网站,观看视频。
在本申请的实施例中,基于用户的操作,浏览器或者具有浏览器功能的 应用可以打开某一个网站,播放用户请求观看的视频。
可选的,上述用户的操作,可以是用户在上述第一网页上点击“播放”按钮/图标,也可以是用户通过浏览器或者具有浏览器功能的应用打开上述第一网页。
S102:向应用服务器发送查询请求。
其中,查询请求携带上述第一网页的链接信息。
S103:接收所述应用服务器返回的查询响应,其中,该查询响应携带上述视频的播放列表,上述播放列表至少包括上述第一网页的链接信息以及上述视频在第二网站中的第二网页的链接信息。
在本申请的实施例中,应用服务器可以是浏览器对应的服务器或者具有浏览器功能的应用对应的服务器。
实际应用中,应用服务器可以包含一个预设的数据库,该预设的数据库中,可以按照视频的标识,存储该视频在不同视频网站中所在网页的链接信息。
可选的,视频的标识可以是视频名称或者视频名称的关键字等等。例如,视频的名称为:《国土安全》,A、B、C三个视频网站分别提供了3集该电视剧,则预设的数据库中,该视频的标识为《国土安全》,该视频在A、B、C三个视频网站中,所在网页的链接信息分别为:
www.A.com/1.html、www.A.com/2.html、www.A.com/3.html、
www.B.com/1.html、www.B.com/2.html、www.B.com/3.html、
www.C.com/1.html、www.C.com/2.html、www.C.com/3.html。
可选的,所述视频的标识,还可以是视频的索引值,例如,名称为《国土安全》的视频的索引值为:123。根据该索引值,可以查询对应的视频所在网页的链接信息。
应用服务器接收到查询请求后,从该查询请求中解析出用户观看的视频所在的第一网页的链接信息,并根据该第一网页的链接信息在预设的数据库 中查找对应的视频的标识;根据得到的视频标识,再次在预设的数据库中进行查询,查询到与视频的标识一致的标识,并将该标识所对应的网页的链接信息整合,生成播放列表。
在本申请的一个较佳实施例中,上述预设的数据库可以包括至少一个子数据库,不同的子数据库,分别存储不同视频网站的网页的链接信息。在每一个子数据库中,可以按照视频的标识,存储该视频所在网页的链接信息。在这种实现中,如果接收到查询请求,可以先将第一网页的链接信息解析出来,根据第一网页的链接信息,在第一网站的子数据库中查找第一网页的链接信息对应的视频标识;然后再根据视频标识,在各个子数据库中进行查询得到对应的网页的链接信息。
例如,应用服务器接收到查询请求后,经解析得到第一网页的链接信息为:www.A.com/1.html,在A网站对应的子数据库中进行查询,得到第一网页的链接信息对应的视频标识,然后再根据该视频标识,在各个子数据库中查询对应的网页的链接信息,并生成播放列表。
另外,应用服务器中也可以不包含预设的数据库,当应用服务器接收到查询请求后,通过解析查询请求获得第一网站的链接信息,并进一步根据该第一网站的链接信息,从网络侧获得用户观看的视频的标识,再根据该视频的标识在各个视频网站中进行搜索,获得该视频在不同的视频网站中所在网页的链接信息,并根据这些链接信息生成播放列表。
S104:向用户展示所述播放列表,以便用户通过播放列表选择播放源观看上述视频。
可选的,如图2所示,在本申请的一个具体实施例中,上述S101可以包括:
S101A:根据用户的操作,向第一网页的服务器发送播放所述视频的请求。
S101B:接收所述第一网页的服务器发送的第一网页的源代码。
各个视频网站可向用户提供大量视频,而由于硬盘存储空间、服务器性能、用户地理位置等等条件的限制,这些视频需分别存储在不同的服务器中。在实际应用过程中,如果存储某一视频的服务器故障了,可以将该视频转移到其他服务器中存储。
鉴于上述情况,通常会针对不同视频生成不同的网页,并将其视频的链接信息包含在网页的源代码中,向用户呈现的是该视频所在网页的链接信息,且该链接信息一般是不变的,而当视频的链接信息发生变化时,只在该网页的源代码中改变该视频的链接信息即可,用户通过该网页的链接信息仍然可以继续访问该网页观看视频,这样一定程度上提高了用户的体验。
S101C:根据所述第一网页的源代码,播放所述视频。
实际应用中,根据第一网页的源代码,播放视频时,可以先解析该第一网页的源代码,获得视频的链接信息,并根据该链接信息在播放器中进行视频播放。
其中,根据链接信息在播放器中进行视频播放,可以是:
浏览器或者具有浏览器功能的应用先将视频的链接信息发送给播放器,播放器根据该视频的链接信息,从第一网页的服务器获得该视频的数据并进行解码播放;
也可以是:浏览器或者具有浏览器功能的应用先根据视频的链接信息从第一网页的服务器获得该视频的数据,再把该视频的数据发送给播放器,播放器将接收到的视频数据进行解码播放。
可选的,上述播放器可以是第一网页的默认播放器,或者,上述播放器是预设播放器。
具体的,第一网页的源代码中除了包含视频的链接信息之外,还可以包含与该网页的默认播放器相关的信息,例如,默认播放器的链接信息等等,因此,在根据第一网页的源代码,播放视频时,可以先加载第一网页的默认播放器,再根据该源代码,在默认播放器中播放视频。
另外,在预设播放器中播放视频时,无需加载第一网页的默认播放器,而直接加载预设播放器。在根据第一网页的源代码,播放视频时,根据第一网页的源代码,在预设播放器中播放视频即可。
在向用户展示多网站播放列表之后,用户可以通过播放列表,选择观看第二网站中的第二网页上的该视频。
当上述播放第一网页中的视频为在第一网页的默认播放器中播放时,用户选择观看第二网页上的该视频,需先加载预设播放,而上述播放第一网页中的视频为在预设播放器中播放时,此时无需再重新加载预设播放器,直接在预设播放器中播放第二网页中的该视频即可。
在预设播放器中播放第二网页中的该视频,具体可以包括:先向第二网页的服务器发送播放该视频的请求;在接收到第二网页的服务器发送的第二网页的源代码之后,根据该源代码,在预设播放器中播放该视频。
可选的,S104中向用户展示播放列表,可以是将播放列表以浮动窗形式、网页嵌入式列表形式或者在预设播放器中向用户展示。当然,实际应用中向用户展示播放列表的具体实现方式可以根据具体情况确定。
具体的,在预设播放器中向用户展示播放列表时,可以包括:浏览器或者具有浏览器功能的应用先向预设播放器发送播放列表,再调用预设播放器,向用户展示所接收的播放列表。
该播放列表可以是浏览器或者具有浏览器功能的应用向预设播放器发送的,也可以是应用服务器直接向预设播放器发送的。
采用本申请实施例的技术方案,在用户观看视频时,可以通过向应用服务器发送查询请求,得到该视频在多个网站中所在网页的链接信息,以便用户通过播放列表选择播放源观看上述视频。与现有技术相比,应用上述方案进行视频切换时,通过播放列表即可实现跨网站的视频切换,而无需将页面转移到其他视频网站,操作简单,提升了用户体验。
图3为本申请实施例提供的一种播放视频的装置的结构示意图,该装置包括:视频播放模块301、查询请求发送模块302、查询响应接收模块303和播放列表展示模块304。
其中,视频播放模块301,用于根据用户的操作,播放第一网站中的第一网页上的视频;
查询请求发送模块302,用于向应用服务器发送查询请求,其中,所述查询请求携带所述第一网页的链接信息;
查询响应接收模块303,用于接收所述应用服务器返回的查询响应,其中,所述查询响应携带所述视频的播放列表,所述播放列表至少包括所述第一网页的链接信息以及所述视频在第二网站中的第二网页的链接信息;
播放列表展示模块304,用于向用户展示所述播放列表,以便用户通过播放列表选择播放源观看所述视频。
可选的,如图4所示,在本申请的一个具体实施例中,上述的视频播放模块301,可以包括:播放请求发送子模块3011、源代码接收子模块3012和视频播放子模块3013。
其中,播放请求发送子模块3011,用于根据用户的操作,向第一网页的服务器发送播放所述视频的请求;
源代码接收子模块3012,用于接收所述第一网页的服务器发送的所述第一网页的源代码;
视频播放子模块3013,用于根据所述第一网页的源代码,播放所述视频。
具体的,所述视频播放子模块3013可以包括:第一播放器加载单元和第一视频播放单元(图中未示出)。
其中,第一播放器加载单元,用于加载所述第一网页的默认播放器;
第一视频播放单元,用于根据所述第一网页的源代码,在所述默认播放器中播放所述视频。
具体的,所述第一播放器加载单元,还用于在所述播放列表展示模块向用户展示所述播放列表之后,如果用户通过所述播放列表,选择观看第二网站中的第二网页上的所述视频的情况下,加载预设播放器;
所述播放请求发送子模块,还用于向第二网页的服务器发送播放所述视频的请求;
所述源代码接收子模块,还用于接收所述第二网页的服务器发送的所述第二网页的源代码;
所述第一视频播放单元,还用于根据所述第二网页的源代码,在所述预 设播放器中播放所述视频。
具体的,所述视频播放子模块3013可以包括:第二播放器加载单元和第二视频播放单元(图中未示出)。
其中,第二播放器加载单元,用于加载预设播放器;
第二视频播放单元,用于根据所述第一网页的源代码,在所述预设播放器中播放所述视频。
具体的,所述播放请求发送子模块,还用于在所述播放列表展示模块向用户展示所述播放列表之后,如果用户通过所述播放列表,选择观看第二网站中的第二网页上的所述视频的情况下,向第二网页的服务器发送播放所述视频的请求;
所述源代码接收子模块,还用于接收所述第二网页的服务器发送的所述第二网页的源代码;
所述第二视频播放单元,还用于根据所述第二网页的源代码,在所述预设播放器中播放所述视频。
具体的,所述播放列表展示模块304,可以包括:播放列表发送子模块和播放列表展示子模块(图中未示出)。
其中,播放列表发送子模块,用于向所述预设播放器发送所述播放列表;
播放列表展示子模块,用于调用所述预设播放器,向用户展示所接收的所述播放列表。
具体的,所述播放列表展示模块,具体用于将所述播放列表以浮动窗,网页嵌入式列表,或者在预设播放器中向用户展示。
采用本申请实施例的技术方案,在用户观看视频时,可以通过向应用服务器发送查询请求,得到该视频在多个网站中所在网页的链接信息,以便用户通过播放列表选择播放源观看上述视频。与现有技术相比,应用上述方案进行视频切换时,通过播放列表即可实现跨网站的视频切换,而无需将页面转移到其他视频网站,操作简单,提升了用户体验。
图5为本申请实施例提供的一种应用服务器的结构示意图,包括:查询请求接收模块501、播放列表确定模块502和播放列表发送模块503。
其中,查询请求接收模块501,用于接收客户端发送的查询请求,其中,所述查询请求携带第一网页的链接信息;
播放列表确定模块502,用于根据所述第一网页的链接信息,确定所述第一网页上视频的播放列表,其中,所述播放列表至少包括所述第一网页的链接信息以及所述视频在第二网站中的第二网页的链接信息;
播放列表发送模块503,用于向客户端发送所述播放列表。
具体的,所述播放列表确定模块502,可以包括:第一视频标识确定子模块和第一播放列表确定子模块(图中未示出)。
其中,第一视频标识确定子模块,用于根据所述第一网页的链接信息,确定所述第一网页上视频的标识;第一播放列表确定子模块,用于根据所述视频的标识,在预设的视频信息库中,确定所述视频的播放列表。
具体的,所述播放列表确定模块502,可以包括:视频信息子库确定子模块、第二视频标识确定子模块和第二播放列表确定子模块(图中未示出)。
其中,视频信息子库确定子模块,用于根据所述第一网页的链接信息,在预设的视频信息库中,确定该链接信息对应的视频信息子库,其中,所述预设的视频信息库中,至少包括一个视频信息子库;
第二视频标识确定子模块,用于在所确定的视频信息子库中,确定所述第一网页上的视频的标识;
第二播放列表确定子模块,用于根据所述视频的标识,在各个视频信息子库中,确定所述视频的播放列表。
具体的,所述视频的标识,包括:所述视频的名称,所述视频的名称的关键字,或者所述视频的索引值。
采用本申请实施例的技术方案,应用服务器根据第一网页的链接信息获得第一网页上视频的播放列表,该播放列表提供了该视频在多个网站的链接信息,用户通过该播放列表即可在不同网站之间进行视频切换,而无需将页 面转移到其他视频网站,操作简单,提升了用户体验。
另外,本申请实施例提供了一种终端,该终端包括:
处理器、存储器、通信接口和总线;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
所述存储器存储可执行程序代码;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:
根据用户的操作,播放第一网站中的第一网页上的视频;
向应用服务器发送查询请求,其中,所述查询请求携带所述第一网页的链接信息;
接收所述应用服务器返回的查询响应,其中,所述查询响应携带所述视频的播放列表,所述播放列表至少包括所述第一网页的链接信息以及所述视频在第二网站中的第二网页的链接信息;
向用户展示所述播放列表,以便用户通过播放列表选择播放源观看所述视频。
本申请实施例提供了一种应用程序,该应用程序用于在运行时执行本申请实施例提供的播放视频的方法。其中,播放视频的方法,包括:
根据用户的操作,播放第一网站中的第一网页上的视频;
向应用服务器发送查询请求,其中,所述查询请求携带所述第一网页的链接信息;
接收所述应用服务器返回的查询响应,其中,所述查询响应携带所述视频的播放列表,所述播放列表至少包括所述第一网页的链接信息以及所述视频在第二网站中的第二网页的链接信息;
向用户展示所述播放列表,以便用户通过播放列表选择播放源观看所述视频。
本申请实施例提供了一种存储介质,用于存储应用程序,该应用程序用于执行本申请实施例提供的播放视频的方法。其中,播放视频的方法,包括:
根据用户的操作,播放第一网站中的第一网页上的视频;
向应用服务器发送查询请求,其中,所述查询请求携带所述第一网页的链接信息;
接收所述应用服务器返回的查询响应,其中,所述查询响应携带所述视频的播放列表,所述播放列表至少包括所述第一网页的链接信息以及所述视频在第二网站中的第二网页的链接信息;
向用户展示所述播放列表,以便用户通过播放列表选择播放源观看所述视频。
对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本领域普通技术人员可以理解实现上述方法实施方式中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于计算机可读取存储介质中,这里所称得的存储介质,如:ROM/RAM、磁碟、光盘等。
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。

Claims (20)

  1. 一种播放视频的方法,其特征在于,包括:
    根据用户的操作,播放第一网站中的第一网页上的视频;
    向应用服务器发送查询请求,其中,所述查询请求携带所述第一网页的链接信息;
    接收所述应用服务器返回的查询响应,其中,所述查询响应携带所述视频的播放列表,所述播放列表至少包括所述第一网页的链接信息以及所述视频在第二网站中的第二网页的链接信息;
    向用户展示所述播放列表,以便用户通过播放列表选择播放源观看所述视频。
  2. 根据权利要求1所述的方法,其特征在于,所述根据用户的操作,播放第一网站中的第一网页上的视频的步骤,包括:
    根据用户的操作,向第一网页的服务器发送播放所述视频的请求;
    接收所述第一网页的服务器发送的所述第一网页的源代码;
    根据所述第一网页的源代码,播放所述视频。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述第一网页的源代码,播放所述视频的步骤,包括:
    加载所述第一网页的默认播放器;
    根据所述第一网页的源代码,在所述默认播放器中播放所述视频。
  4. 根据权利要求3所述的方法,其特征在于,在所述向用户展示所述播放列表的步骤之后,如果用户通过所述播放列表,选择观看第二网站中的第二网页上的所述视频,所述方法还包括:
    加载预设播放器;
    向第二网页的服务器发送播放所述视频的请求;
    接收所述第二网页的服务器发送的所述第二网页的源代码;
    根据所述第二网页的源代码,在所述预设播放器中播放所述视频。
  5. 根据权利要求2所述的方法,其特征在于,所述根据所述第一网页的源代码,播放所述视频的步骤,包括:
    加载预设播放器;
    根据所述第一网页的源代码,在所述预设播放器中播放所述视频。
  6. 根据权利要求5所述的方法,其特征在于,在所述向用户展示所述播放列表的步骤之后,如果用户通过所述播放列表,选择观看第二网站中的第二网页上的所述视频,所述方法还包括:
    向第二网页的服务器发送播放所述视频的请求;
    接收所述第二网页的服务器发送的所述第二网页的源代码;
    根据所述第二网页的源代码,在所述预设播放器中播放所述视频。
  7. 根据权利要求5或6所述的方法,其特征在于,所述向用户展示所述播放列表的步骤,包括:
    向所述预设播放器发送所述播放列表;
    调用所述预设播放器,向用户展示所接收的所述播放列表。
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述向用户展示所述播放列表的步骤,包括:
    将所述播放列表以浮动窗形式、网页嵌入式列表形式或者在预设播放器中向用户展示。
  9. 一种播放视频的装置,其特征在于,所述装置包括:
    视频播放模块,用于根据用户的操作,播放第一网站中的第一网页上的视频;
    查询请求发送模块,用于向应用服务器发送查询请求,其中,所述查询请求携带所述第一网页的链接信息;
    查询响应接收模块,用于接收所述应用服务器返回的查询响应,其中, 所述查询响应携带所述视频的播放列表,所述播放列表至少包括所述第一网页的链接信息以及所述视频在第二网站中的第二网页的链接信息;
    播放列表展示模块,用于向用户展示所述播放列表,以便用户通过播放列表选择播放源观看所述视频。
  10. 根据权利要求9所述的装置,其特征在于,所述视频播放模块,包括:
    播放请求发送子模块,用于根据用户的操作,向第一网页的服务器发送播放所述视频的请求;
    源代码接收子模块,用于接收所述第一网页的服务器发送的所述第一网页的源代码;
    视频播放子模块,用于根据所述第一网页的源代码,播放所述视频。
  11. 根据权利要求10所述的装置,其特征在于,所述视频播放子模块,包括:
    第一播放器加载单元,用于加载所述第一网页的默认播放器;
    第一视频播放单元,用于根据所述第一网页的源代码,在所述默认播放器中播放所述视频。
  12. 根据权利要求11所述的装置,其特征在于,
    所述第一播放器加载单元,还用于在所述播放列表展示模块向用户展示所述播放列表之后,如果用户通过所述播放列表,选择观看第二网站中的第二网页上的所述视频的情况下,加载预设播放器;
    所述播放请求发送子模块,还用于向第二网页的服务器发送播放所述视频的请求;
    所述源代码接收子模块,还用于接收所述第二网页的服务器发送的所述第二网页的源代码;
    所述第一视频播放单元,还用于根据所述第二网页的源代码,在所述预设播放器中播放所述视频。
  13. 根据权利要求10所述的装置,其特征在于,所述视频播放子模块, 包括:
    第二播放器加载单元,用于加载预设播放器;
    第二视频播放单元,用于根据所述第一网页的源代码,在所述预设播放器中播放所述视频。
  14. 根据权利要求13所述的装置,其特征在于,
    所述播放请求发送子模块,还用于在所述播放列表展示模块向用户展示所述播放列表之后,如果用户通过所述播放列表,选择观看第二网站中的第二网页上的所述视频的情况下,向第二网页的服务器发送播放所述视频的请求;
    所述源代码接收子模块,还用于接收所述第二网页的服务器发送的所述第二网页的源代码;
    所述第二视频播放单元,还用于根据所述第二网页的源代码,在所述预设播放器中播放所述视频。
  15. 根据权利要求13或14所述的装置,其特征在于,所述播放列表展示模块,包括:
    播放列表发送子模块,用于向所述预设播放器发送所述播放列表;
    播放列表展示子模块,用于调用所述预设播放器,向用户展示所接收的所述播放列表。
  16. 根据权利要求9-15中任一项所述的装置,其特征在于,所述播放列表展示模块,具体用于将所述播放列表以浮动窗形式、网页嵌入式列表形式或者在预设播放器中向用户展示。
  17. 一种应用服务器,其特征在于,包括:
    查询请求接收模块,用于接收客户端发送的查询请求,其中,所述查询请求携带第一网页的链接信息;
    播放列表确定模块,用于根据所述第一网页的链接信息,确定所述第一网页上视频的播放列表,其中,所述播放列表至少包括所述第一网页的链接 信息以及所述视频在第二网站中的第二网页的链接信息;
    播放列表发送模块,用于向客户端发送所述播放列表。
  18. 根据权利要求17所述的应用服务器,其特征在于,所述播放列表确定模块,包括:
    第一视频标识确定子模块,用于根据所述第一网页的链接信息,确定所述第一网页上视频的标识;
    第一播放列表确定子模块,用于根据所述视频的标识,在预设的视频信息库中,确定所述视频的播放列表。
  19. 根据权利要求17所述的应用服务器,其特征在于,所述播放列表确定模块,包括:
    视频信息子库确定子模块,用于根据所述第一网页的链接信息,在预设的视频信息库中,确定该链接信息对应的视频信息子库,其中,所述预设的视频信息库中,至少包括一个视频信息子库;
    第二视频标识确定子模块,用于在所确定的视频信息子库中,确定所述第一网页上的视频的标识;
    第二播放列表确定子模块,用于根据所述视频的标识,在各个视频信息子库中,确定所述视频的播放列表。
  20. 根据权利要求18或19所述的应用服务器,其特征在于,所述视频的标识,包括:所述视频的名称、所述视频的名称的关键字或者所述视频的索引值。
PCT/CN2015/072323 2014-03-14 2015-02-05 一种播放视频的方法、装置及应用服务器 WO2015135403A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410097634.3A CN103873928B (zh) 2014-03-14 2014-03-14 一种播放视频的方法、装置及应用服务器
CN201410097634.3 2014-03-14

Publications (1)

Publication Number Publication Date
WO2015135403A1 true WO2015135403A1 (zh) 2015-09-17

Family

ID=50911994

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/072323 WO2015135403A1 (zh) 2014-03-14 2015-02-05 一种播放视频的方法、装置及应用服务器

Country Status (2)

Country Link
CN (1) CN103873928B (zh)
WO (1) WO2015135403A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278339A (zh) * 2022-08-02 2022-11-01 上海哔哩哔哩科技有限公司 混播处理方法及系统

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873928B (zh) * 2014-03-14 2017-07-21 可牛网络技术(北京)有限公司 一种播放视频的方法、装置及应用服务器
CN104135685B (zh) * 2014-07-18 2017-12-19 北京奇虎科技有限公司 网页视频的播放信息的显示方法和显示装置
CN104135692B (zh) * 2014-07-18 2017-11-10 北京奇虎科技有限公司 视频信息的加载显示方法和加载显示装置
CN104333813A (zh) * 2014-08-28 2015-02-04 无锡天脉聚源传媒科技有限公司 一种视频播放方法、装置及系统
CN104244099A (zh) * 2014-09-28 2014-12-24 北京金山安全软件有限公司 一种媒体内容推荐方法和装置
CN104270647B (zh) * 2014-10-20 2018-12-25 珠海豹趣科技有限公司 一种媒体内容推荐方法和装置
CN104836854A (zh) * 2015-04-22 2015-08-12 中国建设银行股份有限公司 一种业务资讯的展示方法及装置
CN104811817B (zh) * 2015-04-30 2018-04-13 北京奇艺世纪科技有限公司 利用视频客户端软件播放视频的方法及装置
CN105898396A (zh) * 2015-11-13 2016-08-24 乐视云计算有限公司 第三方视频推送方法和系统
CN105898570A (zh) * 2016-04-13 2016-08-24 乐视控股(北京)有限公司 一种调用媒体播放器的方法、装置及设备
CN106383728A (zh) * 2016-09-05 2017-02-08 微梦创科网络科技(中国)有限公司 一种移动应用中异步加载超链接的方法及装置
CN106254908B (zh) * 2016-09-18 2019-08-27 合一网络技术(北京)有限公司 多媒体资源播放方法和装置
CN106358082A (zh) * 2016-11-01 2017-01-25 合网络技术(北京)有限公司 视频播放方法及装置
CN106658092A (zh) * 2016-12-12 2017-05-10 暴风集团股份有限公司 视频聚合播放的方法和系统
CN109803158A (zh) * 2017-11-17 2019-05-24 上海全土豆文化传播有限公司 视频播放方法及装置
CN108319708B (zh) * 2018-02-06 2020-01-14 Oppo广东移动通信有限公司 视频播放方法、装置、存储介质及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257498A (zh) * 2008-04-08 2008-09-03 深圳市迅雷网络技术有限公司 提供和在线播放多媒体文件方法、系统、服务器及客户端
CN103024535A (zh) * 2012-12-25 2013-04-03 北京奇虎科技有限公司 一种视频的播放方法、服务器及视频的播放系统
CN103491452A (zh) * 2013-09-25 2014-01-01 北京奇虎科技有限公司 播放网页中视频的方法及装置
CN103873928A (zh) * 2014-03-14 2014-06-18 可牛网络技术(北京)有限公司 一种播放视频的方法、装置及应用服务器

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8510555B2 (en) * 2011-04-27 2013-08-13 Morega Systems Inc Streaming video server with virtual file system and methods for use therewith
CN103458305B (zh) * 2013-08-28 2017-03-01 小米科技有限责任公司 视频播放方法、装置、终端设备和服务器
CN103517098B (zh) * 2013-08-29 2017-04-05 小米科技有限责任公司 基于视频聚合服务的视频播放方法、装置及终端设备
CN103605696B (zh) * 2013-11-04 2017-05-24 北京奇虎科技有限公司 一种获取影音文件地址的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257498A (zh) * 2008-04-08 2008-09-03 深圳市迅雷网络技术有限公司 提供和在线播放多媒体文件方法、系统、服务器及客户端
CN103024535A (zh) * 2012-12-25 2013-04-03 北京奇虎科技有限公司 一种视频的播放方法、服务器及视频的播放系统
CN103491452A (zh) * 2013-09-25 2014-01-01 北京奇虎科技有限公司 播放网页中视频的方法及装置
CN103873928A (zh) * 2014-03-14 2014-06-18 可牛网络技术(北京)有限公司 一种播放视频的方法、装置及应用服务器

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278339A (zh) * 2022-08-02 2022-11-01 上海哔哩哔哩科技有限公司 混播处理方法及系统
CN115278339B (zh) * 2022-08-02 2024-03-15 上海哔哩哔哩科技有限公司 混播处理方法及系统

Also Published As

Publication number Publication date
CN103873928A (zh) 2014-06-18
CN103873928B (zh) 2017-07-21

Similar Documents

Publication Publication Date Title
WO2015135403A1 (zh) 一种播放视频的方法、装置及应用服务器
US11907360B2 (en) Systems and methods for deploying countermeasures against unauthorized scripts interfering with the rendering of content elements on information resources
US10871881B2 (en) Dynamically picking content from social shares to display in a user interface
TWI705337B (zh) 一種資訊搜尋導航方法及裝置
US9813479B2 (en) Browser with video display history
WO2015172490A1 (zh) 一种提供扩展搜索项的方法与装置
CN103699674B (zh) 网页保存、网页打开方法及装置和网页浏览系统
US10205678B2 (en) Systems and methods for client-side dynamic information resource activation and deactivation
EP3039581A1 (en) A system and method for displaying of most relevant vertical search results
TW201723897A (zh) 資訊顯示方法、裝置及智能終端
JP2013520868A (ja) 強化されたコンテンツ検索
US20140280482A1 (en) Determining appropriate browsing applications for selected network resources
US11947377B2 (en) Systems and methods for dynamically restricting the rendering of unauthorized content included in information resources
US20160357865A1 (en) System and method for locating data feeds
US20170272793A1 (en) Media content recommendation method and device
CA2734821A1 (en) Digital living network alliance (dlna) client device with thumbnail creation
US20200128086A1 (en) Maintaining session identifiers across multiple webpages for content selection
US20210058446A1 (en) Passing of data via deep links for application components
US20150293919A1 (en) Obtaining desired web content for a mobile device
JP2012230487A (ja) 表示装置、表示制限方法およびプログラム

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

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 1205A DATED 03.01.2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15762193

Country of ref document: EP

Kind code of ref document: A1