WO2017101379A1 - 播放视频的方法以及视频客户端、本地播放器和智能设备 - Google Patents

播放视频的方法以及视频客户端、本地播放器和智能设备 Download PDF

Info

Publication number
WO2017101379A1
WO2017101379A1 PCT/CN2016/088959 CN2016088959W WO2017101379A1 WO 2017101379 A1 WO2017101379 A1 WO 2017101379A1 CN 2016088959 W CN2016088959 W CN 2016088959W WO 2017101379 A1 WO2017101379 A1 WO 2017101379A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
network
local
player
play
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/CN2016/088959
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.)
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin 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 Le Holdings Beijing Co Ltd, Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Le Holdings Beijing Co Ltd
Priority to US15/247,868 priority Critical patent/US20170171572A1/en
Publication of WO2017101379A1 publication Critical patent/WO2017101379A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/222Secondary servers, e.g. proxy server, cable television Head-end
    • H04N21/2225Local VOD servers
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface

Definitions

  • the present invention relates to the field of smart device technologies, and more particularly, to a method for a network video client to play a video, a method for a local video player to play a video, a network video client, a local video player, and a smart device.
  • smart devices such as smart TVs are now very popular. It is a very common way for users to play video through smart devices.
  • One way is through smart
  • the device's network video client obtains video from the network video server.
  • the other way is to use the smart device's local video player to play the video in the local storage space (such as the storage space inside the smart device, U disk, mobile hard disk). Resources.
  • the inventor of the present invention found in the process of implementing the invention that the two ways of playing video are isolated and irrelevant, the network video client only searches for online video, and the local video player only looks for local video, and the two cannot Combined, this leads to the following problems:
  • An object of the embodiments of the present invention is to provide a new technical solution for playing video by a smart device.
  • a method for playing video by another network video client including the steps of: receiving an instruction to play a video, obtaining a video name from the instruction; respectively, to a network video server and The local video player sends a request for searching for the video, where the request carries the video name; receiving a search result returned by the network video server and the local video player, the search result is “no video” or The video identification information of the video, the video identification information includes the video name, the video duration, and the video clarity; if only the network video server finds the video, the network video server obtains Playing the video for playing; if only the local video player finds the video, calling the local video player to play the video; if both the network video server and the local video player are looking for Comparing to the video, comparing the returned by the network video server and the local video player Frequency duration and video clarity: if the video duration returned by the local video player is greater than or equal to the video duration returned by the network video server and the
  • a method for playing a video by a local video player includes the following steps: receiving a request for finding a video sent by a network video client, where the request carries the video name; Searching for the video in a local storage space according to the video name; returning a search result to the network video client; playing the video when receiving a call play command of the network video client.
  • a network video client including the following a module: a play instruction receiving module, configured to receive an instruction to play a video, obtain a video name from the instruction, and a search request sending module, configured to send a request for searching the video to the network video server and the local video player, respectively, The request carries the video name; the search result receiving module is configured to receive a search result returned by the network video server and the local video player; and the play control module is configured to: if only the network video server finds the location Video, the video is obtained from the network video server for playing; if only the local video player finds the video, the local video player is called to play the video; if the network When the video server and the local video player both find the video, a mode selection window is provided for the user to select "network video client play mode" or "local video player play mode".
  • another network video client including the following module: a play instruction receiving module, configured to receive an instruction to play a video, obtain a video name from the instruction, and search for a request sending module. And a request for searching the video to the network video server and the local video player, where the request carries the video name; the search result receiving module is configured to receive the network video server and the local video player.
  • a smart device equipped with a network video client as described above and a local video player as described above.
  • the smart device is a smart TV.
  • the technical solution provided by the embodiment of the invention enables the network video client to play video and the local player to play the video, thereby fully utilizing the video resources in the network video server and the local storage space.
  • the inventors of the present invention have found that in the prior art, there is no technical solution combining a video video client playing video and a local player playing video. Therefore, the technical task to be implemented by the present invention or the technical problem to be solved is not thought of or expected by those skilled in the art, so the embodiment of the present invention provides a new technical solution.
  • FIG. 1 is a flowchart of an implementation of a method for playing video by a network video client according to an embodiment of the present invention
  • FIG. 2 is a flowchart of an implementation of a method for playing video by another network video client according to an embodiment of the present invention
  • FIG. 3 is a flowchart of an implementation of a method for playing a video by a local video player according to an embodiment of the present invention
  • FIG. 4 is a block schematic diagram showing an implementation structure of a network video client, a local video player, and a smart device according to an embodiment of the present invention.
  • FIG. 1 A method for playing video by a network video client according to an embodiment of the present invention is described with reference to FIG. 1 , which may include the following steps:
  • the network video client receives an instruction to play a video, and obtains a video name from the instruction.
  • the network video client sends a request for searching for the video to the network video server and the local video player, where the request carries the video name.
  • the network video client receives the search result returned by the network video server and the local video player.
  • S104 can be divided into several cases:
  • the network video client acquires video from the network video server for playback.
  • the network video client calls the local video player to play the video.
  • the network video client If both the network video server and the local video player find the video, the network video client provides a mode selection window for the user to select "network video client play mode” or "local video player play mode”.
  • the network video client If neither the network video server nor the local video player finds the video, the network video client prompts the user that the video is not available.
  • the network video client play video and the local player play video can be combined, so that the video resources in the network video server and the local storage space can be fully utilized to provide users with richer video resources.
  • the network video client receives an instruction to play a video, and obtains a video name from the instruction.
  • the network video client receives the search result returned by the network video server and the local video player, and the search result is “no such video” or video identification information of the video, and the video identification information includes the video name, the duration of the video, and the video is clear. degree.
  • the network video client acquires video from the network video server for playback.
  • the network video client compares the video duration and video clarity returned by the network video server and the local video player:
  • the network video client provides the user for selection.
  • the "network video client play mode” is also the mode selection window of the "local video player play mode” or directly calls the local video player to play the video; otherwise the network video client obtains the video from the network video server for playback.
  • the network video client If neither the network video server nor the local video player finds the video, the network video client prompts the user that the video is not available.
  • the user can select “local” if the video stored by the local video player is complete and has high definition.
  • the video player play mode or directly call the local video player to play the video otherwise the network video client obtains the video from the network video server for playing, so the network resources can be saved as much as possible to avoid the network congestion. , does not reduce the quality of the playback video, to ensure the user's viewing experience.
  • S301 Receive a request for finding a video sent by a network video client, where the request carries a video name.
  • the search result is returned to the network video client. If the video is not found in step S302, the search result is “the video is not found.” If the video is found in step S302, the search result is video identification information and video.
  • the identification information includes the video name, video duration, and video clarity.
  • the local player play video can be combined with the network video client play video, so that the video resources in the network video server and the local storage space can be fully utilized to provide users with richer video resources.
  • a smart device according to an embodiment of the present invention is described with reference to FIG. 4:
  • the smart device 3 can be equipped with a network video client 1 and a local video player 2.
  • the network video client 1 may include a play instruction receiving module 11, a lookup request sending module 12, a lookup result receiving module 13, and a play control module 14.
  • the local video player 2 may include a lookup request receiving module 21, a local video lookup module 22, a lookup result sending module 23, and a call play command execution module 24.
  • the smart device 3 can be, for example, a smart TV.
  • the play instruction receiving module 11 of the network video client 1 is configured to receive an instruction to play a video, and obtain a video name from the instruction.
  • the lookup request sending module 12 of the network video client 1 is configured to send a request for searching for the video to the network video server and the local video player 2, respectively, where the request carries the video name.
  • the network video server is configured to, after receiving the request for finding a video sent by the network video client 1, search for the video on the network video server, and return the search result to the network video client 1.
  • the lookup request receiving module 21 of the local video player 2 is configured to receive a request for finding a video sent by the network video client 1.
  • the local video search module 22 of the local video player 2 is configured to search for the video in the local storage space according to the video name.
  • the search result receiving module 13 of the network video client 1 is configured to receive the search result returned by the network video server and the local video player 2.
  • the play control module 14 of the network video client 1 is configured to check if only the network video server is available If the video is found, the video is obtained from the network video server for playing; if only the local video player 2 finds the video, the local video player 2 is called to play the video; if the network video server and When the local video player 2 finds the video, it provides a mode selection window for the user to select "network video client play mode" or "local video player play mode".
  • the call of the local video player 2 is a play command execution module 24 for playing the video when the call play command of the network video client 1 is received.
  • the smart device can combine the network video client play video and the local player play video, so that the video resources in the network video server and the local storage space can be fully utilized to provide users with richer video resources.
  • the play instruction receiving module 11 of the network video client 1 is configured to receive an instruction to play a video, and obtain a video name from the instruction.
  • the lookup request sending module 12 of the network video client 1 is configured to send a request for searching for the video to the network video server and the local video player 2, respectively, where the request carries the video name.
  • the network video server is configured to, after receiving the request for finding a video sent by the network video client 1, search for the video on the network video server, and return the search result to the network video client 1.
  • the lookup request receiving module 21 of the local video player 2 is configured to receive a request for finding a video sent by the network video client 1.
  • the local video search module 22 of the local video player 2 is configured to search for the video in the local storage space according to the video name.
  • the search result sending module 23 of the local video player 2 is configured to return the search result to the network video client 1.
  • the video duration and video resolution returned by the player 2 if the video duration returned by the local video player 2 is greater than or equal to the video duration returned by the network video server and the video resolution returned by the local video player 2 is greater than or equal to the network video server returns
  • the video definition provides a mode selection window for the user to select "network video client play mode” or "local video player play mode” or directly call the local video player 2 to play the video, otherwise the network video client 1 The video is obtained from the network video server for playback.
  • the play instruction receiving module 11 is configured to receive an instruction to play a video, and obtain a video name from the instruction.
  • the play control module 14 is configured to: if only the network video server finds the video, acquire the video from the network video server for playing; if only the local video player finds the video, call the local video play The device plays the video; if both the network video server and the local video player find the video, a mode selection window is provided for the user to select "network video client play mode" or "local video player play mode".
  • the user can select “local video playback” if the video stored by the local video player is complete and has high definition. "player mode" or directly call the local video player to play the video, otherwise the network video client obtains the video from the network video server for playing, so the network resources can be saved as much as possible to avoid the network congestion , does not reduce the quality of the playback video, to ensure the user's viewing experience.
  • the request request receiving module 21 is configured to receive a request for finding a video sent by a network video client, where the request carries the video name.
  • the local video search module 22 is configured to search for the video in the local storage space according to the video name.
  • the two methods of the video playback by the smart device in the prior art have their own advantages and disadvantages.
  • the embodiments of the present invention can combine the two playback modes to fully utilize the advantages of the two playback modes, so that the user can fully utilize the network video server and Video resources in local storage.
  • embodiments of the present invention enable a user to easily find higher quality video resources.
  • embodiments of the present invention are also capable of saving network bandwidth resources.
  • the embodiment of the present invention can save the user's operation and greatly improve the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明实施例公开了网络视频客户端播放视频的方法、本地视频播放器播放视频的方法、网络视频客户端、本地视频播放器、以及智能设备,网络视频客户端可接收播放视频的指令,并分别向网络视频服务端和本地视频播放器发送查找视频的请求并接收相应的查找结果;如果只有网络视频服务端查找到视频,则从网络视频服务端获取视频以进行播放;如果只有本地视频播放器查找到视频,则调用本地视频播放器播放视频;如果网络视频服务端和本地视频播放器都查找到视频,则提供供用户选择"网络视频客户端播放模式"还是"本地视频播放器播放模式"的模式选择窗口,因此,可以充分利用网络视频服务端和本地存储空间中的视频资源。

Description

播放视频的方法以及视频客户端、本地播放器和智能设备
本申请要求在2015年12月15日提交中国专利局、申请号为201510953134.X、发明名称为“播放视频的方法以及视频客户端、本地播放器和智能设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及智能设备技术领域,更具体地,涉及网络视频客户端播放视频的方法、本地视频播放器播放视频的方法、网络视频客户端、本地视频播放器、以及智能设备。
背景技术
随着宽带及电子技术的发展,智能电视等智能设备现在已经非常普及,用户通过智能设备来播放视频是一种非常普遍的方式,智能设备播放视频一般有两种方式,一种方式是通过智能设备的网络视频客户端从网络视频服务端上获取视频,另一种方式是使用智能设备的本地视频播放器播放本地存储空间(例如智能设备内部的存储空间、U盘、移动硬盘)中的视频资源。本发明的发明人在实现发明的过程中发现,这两种播放视频的方式是隔离、互不相干的,网络视频客户端只是查找在线视频,而本地视频播放器只是查找本地视频,两者不能结合起来,这就导致了以下问题:
用户通过网络视频客户端从网络视频服务端上获取视频时,此时即使本地存储空间中已有该视频资源也会被忽略,白白浪费宽带资源,甚至会出现网络拥堵卡顿,影响了用户的视频观赏体验;如果网络视频服务端上没有该视频,用户也无法及时得知本地存储空间中有该视频,可能仍会浪费时间通过浏览器等方式在互联网上查找该视频。如果用户使用本地视频播放器播放本地存储空间中的视频资源,用户能够查找播放的视频资源是固定并且有限的,只局限于本地存储空间。
发明内容
本发明实施例的一个目的是提供一种智能设备播放视频的新技术方案。
根据本发明实施例的第一方面,提供了一种网络视频客户端播放视频的方法,包括以下步骤:接收播放视频的指令,从所述指令中取得视频名称;分别向网络视频服务端和本地视频播放器发送查找所述视频的请求,所述请求中携带有所述视频名称;接收网络视频服务端和本地视频播放器返回的查找结果;如果只有所述网络视频服务端查找到所述视频,则从所述网络视频服务端获取所述视频以进行播放;如果只有所述本地视频播放器查找到所述视频,则调用所述本地视频播放器播放所述视频;如果所述网络视频服务端和所述本地视频播放器都查找到所述视频,则提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口。
根据本发明实施例的第二方面,提供了另一种网络视频客户端播放视频的方法,包括以下步骤:接收播放视频的指令,从所述指令中取得视频名称;分别向网络视频服务端和本地视频播放器发送查找所述视频的请求,所述请求中携带有所述视频名称;接收网络视频服务端和本地视频播放器返回的查找结果,所述查找结果为“没有该视频”或者为所述视频的视频标识信息,所述视频标识信息包括所述视频名称、视频时长、以及视频清晰度;如果只有所述网络视频服务端查找到所述视频,则从所述网络视频服务端获取所述视频以进行播放;如果只有所述本地视频播放器查找到所述视频,则调用所述本地视频播放器播放所述视频;如果所述网络视频服务端和所述本地视频播放器都查找到所述视频,则比较所述网络视频服务端和所述本地视频播放器返回的视频时长和视频清晰度:如果所述本地视频播放器返回的视频时长大于等于所述网络视频服务端返回的视频时长并且所述本地视频播放器返回的视频清晰度大于等于所述网络视频服务端返回的视频清晰度,则提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口或者直接调用所述本地视频播放器播放所述视频,否则从所述网络视频服务端获取所述视频以进行播放。
根据本发明实施例的第三方面,提供了一种本地视频播放器播放视频的方法,包括以下步骤:接收网络视频客户端发送的查找视频的请求,所述请求中携带有所述视频名称;根据所述视频名称在本地存储空间中查找所述视频;向所述网络视频客户端返回查找结果;在接收到所述网络视频客户端的调用播放命令时播放所述视频。
根据本发明实施例的第四方面,提供了一种网络视频客户端,包括以下 模块:播放指令接收模块,用于接收播放视频的指令,从所述指令中取得视频名称;查找请求发送模块,用于分别向网络视频服务端和本地视频播放器发送查找所述视频的请求,所述请求中携带有所述视频名称;查找结果接收模块,用于接收网络视频服务端和本地视频播放器返回的查找结果;播放控制模块,用于如果只有所述网络视频服务端查找到所述视频,则从所述网络视频服务端获取所述视频以进行播放;如果只有所述本地视频播放器查找到所述视频,则调用所述本地视频播放器播放所述视频;如果所述网络视频服务端和所述本地视频播放器都查找到所述视频,则提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口。
根据本发明实施例的第五方面,提供了另一种网络视频客户端,包括以下模块:播放指令接收模块,用于接收播放视频的指令,从所述指令中取得视频名称;查找请求发送模块,用于分别向网络视频服务端和本地视频播放器发送查找所述视频的请求,所述请求中携带有所述视频名称;查找结果接收模块,用于接收网络视频服务端和本地视频播放器返回的查找结果,所述查找结果为“没有该视频”或者为所述视频的视频标识信息,所述视频标识信息包括所述视频名称、视频时长、以及视频清晰度;播放控制模块,用于如果只有所述网络视频服务端查找到所述视频,则从所述网络视频服务端获取所述视频以进行播放;如果只有所述本地视频播放器查找到所述视频,则调用所述本地视频播放器播放所述视频;如果所述网络视频服务端和所述本地视频播放器都查找到所述视频,则比较所述网络视频服务端和所述本地视频播放器返回的视频时长和视频清晰度:如果所述本地视频播放器返回的视频时长大于等于所述网络视频服务端返回的视频时长并且所述本地视频播放器返回的视频清晰度大于等于所述网络视频服务端返回的视频清晰度,则提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口或者直接调用所述本地视频播放器播放所述视频,否则从所述网络视频服务端获取所述视频以进行播放。
根据本发明实施例的第六方面,提供了一种本地视频播放器,包括以下模块:查找请求接收模块,用于接收网络视频客户端发送的查找视频的请求,所述请求中携带有所述视频名称;本地视频查找模块,用于根据所述视频名称在本地存储空间中查找所述视频;查找结果发送模块,用于向所述网络视频客户端返回查找结果;调用播放命令执行模块,用于在接收到所述网络视 频客户端的调用播放命令时播放所述视频。
根据本发明实施例的第七方面,提供了一种智能设备,搭载有如前所述的网络视频客户端和如前所述的本地视频播放器。
优选地,所述智能设备为智能电视。
本发明实施例提供的技术方案,使得网络视频客户端播放视频可以和本地播放器播放视频结合起来,从而充分利用网络视频服务端和本地存储空间中的视频资源。
本发明的发明人发现,在现有技术中,还没有将网络视频客户端播放视频和本地播放器播放视频结合起来的技术方案。因此,本发明所要实现的技术任务或者所要解决的技术问题是本领域技术人员从未想到的或者没有预期到的,故本发明实施例提供的是一种新的技术方案。
通过以下参照附图对本发明的示例性实施例的详细描述,本发明的其它特征及其优点将会变得清楚。
附图说明
被结合在说明书中并构成说明书的一部分的附图示出了本发明的实施例,并且连同其说明一起用于解释本发明的原理。
图1所示为本发明实施例中的一种网络视频客户端播放视频的方法的实施流程图;
图2所示为本发明实施例中的另一种网络视频客户端播放视频的方法的实施流程图;
图3所示为本发明实施例中的一种本地视频播放器播放视频的方法的实施流程图;
图4所示为本发明实施例中的网络视频客户端、本地视频播放器、智能设备的一种实施结构的方框原理图。
具体实施方式
现在将参照附图来详细描述本发明的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本发明的范围。
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为 对本发明及其应用或使用的任何限制。
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。
在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。
参考图1介绍本发明实施例提供的一种网络视频客户端播放视频的方法,可包括以下步骤:
S101、网络视频客户端接收播放视频的指令,从指令中取得视频名称。
S102、网络视频客户端分别向网络视频服务端和本地视频播放器发送查找所述视频的请求,请求中携带有所述视频名称。
S103、网络视频客户端接收网络视频服务端和本地视频播放器返回的查找结果。
S104、可以分为几种情况:
A1)如果只有网络视频服务端查找到所述视频,则网络视频客户端从网络视频服务端获取视频以进行播放。
B1)如果只有本地视频播放器查找到所述视频,则网络视频客户端调用本地视频播放器播放视频。
C1)如果网络视频服务端和本地视频播放器都查找到所述视频,则网络视频客户端提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口。
D1)如果网络视频服务端和本地视频播放器都没有查找到所述视频,则网络视频客户端提示用户没有该视频。
也就是说,可将网络视频客户端播放视频和本地播放器播放视频结合起来,从而可充分利用网络视频服务端和本地存储空间中的视频资源,为用户提供更丰富的视频资源。
参考图2介绍本发明实施例提供的另一种网络视频客户端播放视频的方法,可包括以下步骤:
S201、网络视频客户端接收播放视频的指令,从指令中取得视频名称。
S202、网络视频客户端分别向网络视频服务端和本地视频播放器发送查 找所述视频的请求,请求中携带有所述视频名称。
S203、网络视频客户端接收网络视频服务端和本地视频播放器返回的查找结果,查找结果为“没有该视频”或者为视频的视频标识信息,视频标识信息包括视频名称、视频时长、以及视频清晰度。
S204、可以分为几种情况:
A2)如果只有网络视频服务端查找到所述视频,则网络视频客户端从网络视频服务端获取视频以进行播放。
B2)如果只有本地视频播放器查找到所述视频,则网络视频客户端调用本地视频播放器播放视频。
C2)如果网络视频服务端和本地视频播放器都查找到视频,则网络视频客户端比较网络视频服务端和本地视频播放器返回的视频时长和视频清晰度:
如果本地视频播放器返回的视频时长大于等于网络视频服务端返回的视频时长并且本地视频播放器返回的视频清晰度大于等于网络视频服务端返回的视频清晰度,则网络视频客户端提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口或者直接调用本地视频播放器播放视频;否则网络视频客户端从网络视频服务端获取视频以进行播放。
D2)如果网络视频服务端和本地视频播放器都没有查找到所述视频,则网络视频客户端提示用户没有该视频。
也就是说,当网络视频服务端和本地视频播放器都存储有所述视频时,可在所述本地视频播放器存储的所述视频完整且清晰度较高的情况下,供用户选择“本地视频播放器播放模式”或直接调用本地视频播放器播放视频,否则网络视频客户端从网络视频服务端获取视频以进行播放,因此,可在尽可能地节约网络资源,避免网络拥堵卡顿的同时,不降低播放视频的质量,保障用户的观赏体验度。
参考图3介绍本发明实施例提供的一种本地视频播放器播放视频的方法,可包括以下步骤:
S301、接收网络视频客户端发送的查找视频的请求,请求中携带有视频名称。
S302、根据视频名称在本地存储空间(例如智能设备内部的存储空间、U盘、移动硬盘)中查找视频。
S303、向网络视频客户端返回查找结果;如果步骤S302中没有查找到该视频,则查找结果为“没有查找到该视频”,如果步骤S302查找到该视频,则查找结果为视频标识信息,视频标识信息中包括视频名称、视频时长、以及视频清晰度。
S304、在接收到网络视频客户端的调用播放命令时播放所述视频。
也就是说,可将本地播放器播放视频与网络视频客户端播放视频结合起来,从而可充分利用网络视频服务端和本地存储空间中的视频资源,为用户提供更丰富的视频资源。
参考图4介绍本发明实施例提供的一种智能设备:
智能设备3可搭载有网络视频客户端1和本地视频播放器2。网络视频客户端1可包括播放指令接收模块11、查找请求发送模块12、查找结果接收模块13、播放控制模块14。本地视频播放器2可包括查找请求接收模块21、本地视频查找模块22、查找结果发送模块23、调用播放命令执行模块24。智能设备3例如可为智能电视。
网络视频客户端1的播放指令接收模块11,用于接收播放视频的指令,从所述指令中取得视频名称。
网络视频客户端1的查找请求发送模块12,用于分别向网络视频服务端和本地视频播放器2发送查找所述视频的请求,所述请求中携带有所述视频名称。
网络视频服务端,用于在接收到网络视频客户端1发送的查找视频的请求后,在网络视频服务端查找该视频,并且将查找结果返回至网络视频客户端1。
本地视频播放器2的查找请求接收模块21,用于接收网络视频客户端1发送的查找视频的请求。
本地视频播放器2的本地视频查找模块22,用于根据所述视频名称在本地存储空间中查找所述视频。
本地视频播放器2的查找结果发送模块23,用于向所述网络视频客户端1返回查找结果。
网络视频客户端1的查找结果接收模块13,用于接收网络视频服务端和本地视频播放器2返回的查找结果。
网络视频客户端1的播放控制模块14,用于如果只有网络视频服务端查 找到所述视频,则从网络视频服务端获取所述视频以进行播放;如果只有本地视频播放器2查找到所述视频,则调用本地视频播放器2播放所述视频;如果网络视频服务端和本地视频播放器2都查找到所述视频,则提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口。
本地视频播放器2的调用播放命令执行模块24,用于在接收到网络视频客户端1的调用播放命令时播放所述视频。
即,所述智能设备可将网络视频客户端播放视频和本地播放器播放视频结合起来,从而可充分利用网络视频服务端和本地存储空间中的视频资源,为用户提供更丰富的视频资源。
或者,在本发明实施例的另一个具体可实施方式中,
网络视频客户端1的播放指令接收模块11,用于接收播放视频的指令,从所述指令中取得视频名称。
网络视频客户端1的查找请求发送模块12,用于分别向网络视频服务端和本地视频播放器2发送查找所述视频的请求,所述请求中携带有所述视频名称。
网络视频服务端,用于在接收到网络视频客户端1发送的查找视频的请求后,在网络视频服务端查找该视频,并且将查找结果返回至网络视频客户端1。
本地视频播放器2的查找请求接收模块21,用于接收网络视频客户端1发送的查找视频的请求。
本地视频播放器2的本地视频查找模块22,用于根据所述视频名称在本地存储空间中查找所述视频。
本地视频播放器2的查找结果发送模块23,用于向网络视频客户端1返回查找结果。
网络视频客户端1的查找结果接收模块13,用于接收网络视频服务端和本地视频播放器2返回的查找结果,所述查找结果为“没有该视频”或者为所述视频的视频标识信息,所述视频标识信息包括所述视频名称、视频时长、以及视频清晰度。
网络视频客户端1的播放控制模块14,用于如果只有网络视频服务端查找到所述视频,则从网络视频服务端获取所述视频以进行播放;如果只有本 地视频播放器2查找到所述视频,则调用本地视频播放器2播放所述视频;如果网络视频服务端和本地视频播放器2都查找到所述视频,则比较网络视频服务端和本地视频播放器2返回的视频时长和视频清晰度:如果本地视频播放器2返回的视频时长大于等于网络视频服务端返回的视频时长并且本地视频播放器2返回的视频清晰度大于等于网络视频服务端返回的视频清晰度,则提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口或者直接调用本地视频播放器2播放所述视频,否则网络视频客户端1从网络视频服务端获取所述视频以进行播放。
本地视频播放器2的调用播放命令执行模块24,用于在接收到网络视频客户端1的调用播放命令时播放所述视频。
也就是说,当网络视频服务端1和本地视频播放器2都存储有所述视频时,可在所述本地视频播放器2存储的所述视频完整且清晰度较高的情况下,供用户选择“本地视频播放器播放模式”或直接调用本地视频播放器2播放视频,否则网络视频客户端1从网络视频服务端获取视频以进行播放,因此,所述智能设备可在尽可能地节约网络资源,避免网络拥堵卡顿的同时,不降低播放视频的质量,保障用户的观赏体验度。
参考图4介绍本发明实施例提供的一种网络视频客户端:
网络视频客户端1可包括播放指令接收模块11、查找请求发送模块12、查找结果接收模块13、播放控制模块14。
播放指令接收模块11,用于接收播放视频的指令,从所述指令中取得视频名称。
查找请求发送模块12,用于分别向网络视频服务端和本地视频播放器发送查找所述视频的请求,所述请求中携带有所述视频名称。
查找结果接收模块13,用于接收网络视频服务端和本地视频播放器返回的查找结果。
播放控制模块14,用于如果只有网络视频服务端查找到所述视频,则从网络视频服务端获取所述视频以进行播放;如果只有本地视频播放器查找到所述视频,则调用本地视频播放器播放所述视频;如果网络视频服务端和本地视频播放器都查找到所述视频,则提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口。
也就是说,可将网络视频客户端播放视频和本地播放器播放视频结合起 来,从而可充分利用网络视频服务端和本地存储空间中的视频资源,为用户提供更丰富的视频资源。
或者,本发明实施例提供的另一种网络视频客户端:
播放指令接收模块11,用于接收播放视频的指令,从所述指令中取得视频名称。
查找请求发送模块12,用于分别向网络视频服务端和本地视频播放器发送查找所述视频的请求,所述请求中携带有所述视频名称。
查找结果接收模块13,用于接收网络视频服务端和本地视频播放器返回的查找结果,所述查找结果为“没有该视频”或者为所述视频的视频标识信息,所述视频标识信息包括所述视频名称、视频时长、以及视频清晰度。
播放控制模块14,用于如果只有网络视频服务端查找到所述视频,则从网络视频服务端获取所述视频以进行播放;如果只有本地视频播放器查找到所述视频,则调用本地视频播放器播放所述视频;如果网络视频服务端和本地视频播放器都查找到所述视频,则比较网络视频服务端和本地视频播放器返回的视频时长和视频清晰度:如果本地视频播放器返回的视频时长大于等于网络视频服务端返回的视频时长并且本地视频播放器返回的视频清晰度大于等于网络视频服务端返回的视频清晰度,则提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口或者直接调用本地视频播放器播放所述视频,否则网络视频客户端1从网络视频服务端获取所述视频以进行播放。
即,当网络视频服务端和本地视频播放器都存储有所述视频时,可在所述本地视频播放器存储的所述视频完整且清晰度较高的情况下,供用户选择“本地视频播放器播放模式”或直接调用本地视频播放器播放视频,否则所述网络视频客户端从网络视频服务端获取视频以进行播放,因此,可在尽可能地节约网络资源,避免网络拥堵卡顿的同时,不降低播放视频的质量,保障用户的观赏体验度。
参考图4介绍本发明实施例提供的一种本地视频播放器:
本地视频播放器2可包括查找请求接收模块21、本地视频查找模块22、查找结果发送模块23、调用播放命令执行模块24。
查找请求接收模块21,用于接收网络视频客户端发送的查找视频的请求,所述请求中携带有所述视频名称。
本地视频查找模块22,用于根据所述视频名称在本地存储空间中查找所述视频。
查找结果发送模块23,用于向网络视频客户端返回查找结果。
调用播放命令执行模块24,用于在接收到网络视频客户端的调用播放命令时播放所述视频。
即,本地播放器播放视频可与网络视频客户端播放视频结合起来,从而可充分利用网络视频服务端和本地存储空间中的视频资源,为用户提供更丰富的视频资源。
现有技术中智能设备播放视频的两种方式各有其优缺点,本发明实施例可将两种播放方式结合起来,充分利用两种播放方式的优点,使得用户可以充分利用网络视频服务端和本地存储中的视频资源。优选地或可选地,本发明实施例使得用户可以轻易地查找到更为优质的视频资源。优选地或可选地,本发明实施例还能够节省网络带宽资源。优选地或可选地,本发明实施例可以节省用户的操作,大大提升了用户体验。
另外,当网络视频服务端和本地存储中都存储有需要的视频资源时,可在本地存储中存储的所述视频资源完整且清晰度较高的情况下,供用户选择“本地视频播放器播放模式”或直接调用本地视频播放器播放视频,否则网络视频客户端从网络视频服务端获取所述视频以进行播放,因此,可在尽可能地节约网络资源,避免网络拥堵卡顿的同时,不降低播放视频的质量,保障用户的观赏体验度。
本发明可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本发明的各个方面的计算机可读程序指令。对于本领域技术人员来说公知的是,本发明可以通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现,无论以何种方式实现都应当属于本发明的保护范围内。
虽然已经通过例子对本发明的一些特定实施例进行了详细说明,但是本领域的技术人员应该理解,以上例子仅是为了进行说明,而不是为了限制本发明的范围。本领域的技术人员应该理解,可在不脱离本发明的范围和精神的情况下,对以上实施例进行修改。本发明的范围由所附权利要求来限定。

Claims (9)

  1. 一种网络视频客户端播放视频的方法,其特征在于,包括以下步骤:
    接收播放视频的指令,从所述指令中取得视频名称;
    分别向网络视频服务端和本地视频播放器发送查找所述视频的请求,所述请求中携带有所述视频名称;
    接收网络视频服务端和本地视频播放器返回的查找结果;
    如果只有所述网络视频服务端查找到所述视频,则从所述网络视频服务端获取所述视频以进行播放;
    如果只有所述本地视频播放器查找到所述视频,则调用所述本地视频播放器播放所述视频;
    如果所述网络视频服务端和所述本地视频播放器都查找到所述视频,则提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口。
  2. 一种网络视频客户端播放视频的方法,其特征在于,包括以下步骤:
    接收播放视频的指令,从所述指令中取得视频名称;
    分别向网络视频服务端和本地视频播放器发送查找所述视频的请求,所述请求中携带有所述视频名称;
    接收网络视频服务端和本地视频播放器返回的查找结果,所述查找结果为“没有该视频”或者为所述视频的视频标识信息,所述视频标识信息包括所述视频名称、视频时长、以及视频清晰度;
    如果只有所述网络视频服务端查找到所述视频,则从所述网络视频服务端获取所述视频以进行播放;
    如果只有所述本地视频播放器查找到所述视频,则调用所述本地视频播放器播放所述视频;
    如果所述网络视频服务端和所述本地视频播放器都查找到所述视频,则比较所述网络视频服务端和所述本地视频播放器返回的视频时长和视频清晰度:如果所述本地视频播放器返回的视频时长大于等于所述网络视频服务端返回的视频时长并且所述本地视频播放器返回的视频清晰度大于等于所述网络视频服务端返回的视频清晰度,则提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口或者直接调用所述本地视频播放器播放所述视频,否则从所述网络视频服务端获取所述视频以 进行播放。
  3. 一种本地视频播放器播放视频的方法,其特征在于,包括以下步骤:
    接收网络视频客户端发送的查找视频的请求,所述请求中携带有所述视频名称;
    根据所述视频名称在本地存储空间中查找所述视频;
    向所述网络视频客户端返回查找结果;
    在接收到所述网络视频客户端的调用播放命令时播放所述视频。
  4. 一种网络视频客户端,其特征在于,包括以下模块:
    播放指令接收模块,用于接收播放视频的指令,从所述指令中取得视频名称;
    查找请求发送模块,用于分别向网络视频服务端和本地视频播放器发送查找所述视频的请求,所述请求中携带有所述视频名称;
    查找结果接收模块,用于接收网络视频服务端和本地视频播放器返回的查找结果;
    播放控制模块,用于如果只有所述网络视频服务端查找到所述视频,则从所述网络视频服务端获取所述视频以进行播放;如果只有所述本地视频播放器查找到所述视频,则调用所述本地视频播放器播放所述视频;如果所述网络视频服务端和所述本地视频播放器都查找到所述视频,则提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口。
  5. 一种网络视频客户端,其特征在于,包括以下模块:
    播放指令接收模块,用于接收播放视频的指令,从所述指令中取得视频名称;
    查找请求发送模块,用于分别向网络视频服务端和本地视频播放器发送查找所述视频的请求,所述请求中携带有所述视频名称;
    查找结果接收模块,用于接收网络视频服务端和本地视频播放器返回的查找结果,所述查找结果为“没有该视频”或者为所述视频的视频标识信息,所述视频标识信息包括所述视频名称、视频时长、以及视频清晰度;
    播放控制模块,用于如果只有所述网络视频服务端查找到所述视频,则从所述网络视频服务端获取所述视频以进行播放;如果只有所述本地视频播放器查找到所述视频,则调用所述本地视频播放器播放所述视频;如果所述 网络视频服务端和所述本地视频播放器都查找到所述视频,则比较所述网络视频服务端和所述本地视频播放器返回的视频时长和视频清晰度:如果所述本地视频播放器返回的视频时长大于等于所述网络视频服务端返回的视频时长并且所述本地视频播放器返回的视频清晰度大于等于所述网络视频服务端返回的视频清晰度,则提供供用户选择“网络视频客户端播放模式”还是“本地视频播放器播放模式”的模式选择窗口或者直接调用所述本地视频播放器播放所述视频,否则从所述网络视频服务端获取所述视频以进行播放。
  6. 一种本地视频播放器,其特征在于,包括以下模块:
    查找请求接收模块,用于接收网络视频客户端发送的查找视频的请求,所述请求中携带有所述视频名称;
    本地视频查找模块,用于根据所述视频名称在本地存储空间中查找所述视频;
    查找结果发送模块,用于向所述网络视频客户端返回查找结果;
    调用播放命令执行模块,用于在接收到所述网络视频客户端的调用播放命令时播放所述视频。
  7. 一种智能设备,其特征在于,搭载有如权利要求4或5任一项所述的网络视频客户端和如权利要求6所述的本地视频播放器。
  8. 根据权利要求7所述的智能设备,其特征在于,所述智能设备为智能电视。
  9. 一种可读介质,其特征在于,用于存储计算机程序,其中,当所述计算机程序在计算设备上运行时,导致所述计算设备执行权利要求1-3中的任一项所述的方法。
PCT/CN2016/088959 2015-12-15 2016-07-06 播放视频的方法以及视频客户端、本地播放器和智能设备 Ceased WO2017101379A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/247,868 US20170171572A1 (en) 2015-12-15 2016-08-25 Method for playing a video, electronic device, storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510953134.X 2015-12-15
CN201510953134.XA CN105898347A (zh) 2015-12-15 2015-12-15 播放视频的方法以及视频客户端、本地播放器和智能设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/247,868 Continuation US20170171572A1 (en) 2015-12-15 2016-08-25 Method for playing a video, electronic device, storage medium

Publications (1)

Publication Number Publication Date
WO2017101379A1 true WO2017101379A1 (zh) 2017-06-22

Family

ID=57002549

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088959 Ceased WO2017101379A1 (zh) 2015-12-15 2016-07-06 播放视频的方法以及视频客户端、本地播放器和智能设备

Country Status (2)

Country Link
CN (1) CN105898347A (zh)
WO (1) WO2017101379A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107968957A (zh) * 2016-10-20 2018-04-27 法乐第(北京)网络科技有限公司 视频播放方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916265A (zh) * 2010-07-30 2010-12-15 百度在线网络技术(北京)有限公司 一种基于查询来呈现用户设备本地资源的方法和装置
WO2012058121A2 (en) * 2010-10-26 2012-05-03 Qualcomm Incorporated Using pause on an electronic device to manage resources
CN103702219A (zh) * 2013-12-16 2014-04-02 乐视网信息技术(北京)股份有限公司 一种视频播放的控制方法及设备
CN104244048A (zh) * 2014-10-15 2014-12-24 飞狐信息技术(天津)有限公司 一种视频播放方法及视频客户端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916265A (zh) * 2010-07-30 2010-12-15 百度在线网络技术(北京)有限公司 一种基于查询来呈现用户设备本地资源的方法和装置
WO2012058121A2 (en) * 2010-10-26 2012-05-03 Qualcomm Incorporated Using pause on an electronic device to manage resources
CN103702219A (zh) * 2013-12-16 2014-04-02 乐视网信息技术(北京)股份有限公司 一种视频播放的控制方法及设备
CN104244048A (zh) * 2014-10-15 2014-12-24 飞狐信息技术(天津)有限公司 一种视频播放方法及视频客户端

Also Published As

Publication number Publication date
CN105898347A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
US11252479B2 (en) Methods, systems, and media for recommending media content based on attribute grouped viewing sessions
US20190149872A1 (en) Information exchanging method and device, audio terminal and computer-readable storage medium
US10261999B2 (en) Searching multimedia based on trigger events
CN108566561B (zh) 视频播放方法、装置及存储介质
EP3343844A1 (en) System and method for use of a media content bot in a social messaging environment
US20170171278A1 (en) Method and electronic device for continuously playing video
US8726157B2 (en) Digital living network alliance (DLNA) client device with thumbnail creation
US20160316041A1 (en) Channel access method and system
WO2019047878A1 (zh) 语音操控终端的方法、终端、服务器和存储介质
WO2017166630A1 (zh) 一种任务优先级修正方法和装置
US20170162229A1 (en) Play method and device
CN108307207A (zh) 一种视频推送方法及装置
US20170048586A1 (en) Methods and apparatuses for operating and playing a channel of a smart tv set
US20170078354A1 (en) Network Video Playback Method and Apparatus
US20170171627A1 (en) Method and electronic device for pushing a video over a cdn
US20170180805A1 (en) Method and electronic device for video follow-play
US20120240180A1 (en) Set-top box, earphone, and multimedia playing method
US20190028780A1 (en) Automatic annotation of audio-video sequences
US10462539B2 (en) Managing transitions between a local area network and a wide area network during media content playback
US20160203144A1 (en) Method and System for Processing Associated Content
CN112933611A (zh) 云游戏进度分享方法、装置和电子设备
CN112770168A (zh) 视频的播放方法以及相关装置、设备
US20170171266A1 (en) Method and electronic device based on android platform for multimedia resource play
US20170155943A1 (en) Method and electronic device for customizing and playing personalized programme
US10880433B2 (en) Systems and methods for curation and delivery of content for use in electronic calls

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16874441

Country of ref document: EP

Kind code of ref document: A1