WO2015188575A1 - 视频数据提供方法、视频播放方法、装置及系统 - Google Patents

视频数据提供方法、视频播放方法、装置及系统 Download PDF

Info

Publication number
WO2015188575A1
WO2015188575A1 PCT/CN2014/090181 CN2014090181W WO2015188575A1 WO 2015188575 A1 WO2015188575 A1 WO 2015188575A1 CN 2014090181 W CN2014090181 W CN 2014090181W WO 2015188575 A1 WO2015188575 A1 WO 2015188575A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
virtual desktop
desktop client
server
client
Prior art date
Application number
PCT/CN2014/090181
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 中兴通讯股份有限公司
Priority to US15/318,112 priority Critical patent/US20170201563A1/en
Publication of WO2015188575A1 publication Critical patent/WO2015188575A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/613Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for the control of the source by the destination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • 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/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
    • 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/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • 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/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a video data providing method, a video playing method, apparatus, and system.
  • VDI Virtual Desktop Infrastructure
  • the virtual machine When playing video in VDI mode, the virtual machine uses the player to decode and obtain the video image, and then the SPICE (Simple Protocol for Independent Computing Environment) module on the server side encodes the image, and passes the encoded video data.
  • the SPICE channel is transmitted to the SPICE client, and the SPICE client decodes the video data and can play the video on the client.
  • the coding and compression of the video data is mostly performed by the CPU (Central Processing Unit) of the server.
  • the CPU usage of the server is high. The phenomenon that the video picture is stuck, the video sound and the video image are not synchronized, so that the overall playback of the video is not smooth, and the number of cloud terminals that the server can tow is restricted.
  • the technical problem to be solved by the embodiment of the present invention is that when the video is played by the cloud terminal in the prior art, the video decoding and compression are completed by the CPU of the server, resulting in a large CPU usage of the server. question.
  • An embodiment of the present invention provides a video data providing method, including: acquiring a video playback instruction from a virtual desktop client, transmitting video information corresponding to the video playback instruction to a virtual desktop client; receiving a connection request of the virtual desktop client, and virtualizing The desktop client establishes a connection; the video stream data is sent to the virtual desktop client according to the video data request of the virtual desktop client.
  • the video information includes address information of the video stream data in the virtual machine server.
  • sending the video information corresponding to the video play instruction to the client comprises: sending the video information corresponding to the video play instruction to the client by using an independent computing environment simple protocol SPICE.
  • the embodiment of the present invention further provides a video playing method, including: sending a video playing instruction to a virtual machine server; receiving video information corresponding to a video playing instruction from a virtual machine server; establishing a connection with the server, according to The video information sends a request for video data to the virtual machine server; receives video stream data from the virtual machine server, decodes the video stream data, and plays the decoded video data.
  • the foregoing video information includes address information of the video data stream in the virtual machine server.
  • the embodiment of the present invention further provides a video data providing apparatus, including: a first sending module, configured to acquire a video playing instruction from a virtual desktop client, and send the video information corresponding to the video playing instruction to the virtual desktop client; And establishing a module, configured to receive a connection request of the virtual desktop client, and establish a connection with the virtual desktop client; and the second sending module is configured to send the video stream data to the virtual desktop client according to the video data request of the virtual desktop client.
  • the video information includes address information of the video stream data in the virtual machine server.
  • the first sending module is configured to send the video information corresponding to the video playing instruction to the client by using an independent computing environment simple protocol SPICE.
  • the embodiment of the invention further provides a video playing device, comprising: a third sending module, configured to send a video playing instruction to a virtual machine server; and a receiving module configured to receive a video corresponding to the video playing instruction from the virtual machine server
  • the fourth sending module establishes a connection with the server, and sends a request for video data to the virtual server according to the video information; the playing module is configured to receive the video stream data from the server of the virtual machine, decode the video data, and play the same. Decoded video data.
  • the video information includes address information of the video stream data in the virtual machine server.
  • the embodiment of the invention further provides a video playing system, comprising the above video data providing device and the above video playing device.
  • Embodiments of the present invention also provide a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method described above.
  • Embodiments of the present invention also provide a computer readable storage medium carrying the computer program.
  • the video information corresponding to the video playing instruction is sent to the client by acquiring the video playing instruction from the virtual desktop client, and the request for reading the video data by the virtual desktop client is obtained as the virtual desktop client.
  • the terminal provides video stream data corresponding to the video information, which reduces the occupation of the server CPU when the virtual desktop client plays the video.
  • FIG. 1 is a flowchart of a video data providing method according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a video playing method according to an embodiment of the present invention.
  • FIG. 3 is a block diagram showing the structure of a video data providing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of a video playback apparatus according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a video playing system according to an embodiment of the present invention.
  • FIG. 1 is a flow chart of a video data providing method according to an embodiment of the present invention.
  • the method includes the following steps:
  • Step 101 Acquire a video play instruction from the virtual desktop client, and send the video information corresponding to the video play instruction to the virtual desktop client.
  • the video information may include address information of the video data corresponding to the video playback instruction in the virtual machine server.
  • the server may access the server through the address information to obtain a play video.
  • the required video data Preferably, the sending the video information corresponding to the video playing instruction to the client comprises: sending the video information corresponding to the video playing instruction to the client by using the SPICE protocol, and based on the foregoing, the communication between the client and the server may be performed by using the SPICE protocol. get on.
  • Step 102 Receive a connection request of the virtual desktop client, and establish a connection with the virtual desktop client.
  • Step 103 Send video stream data to the virtual desktop client according to the video data request of the virtual desktop client.
  • step 103 the video in the virtual server server local server is used as a service source of the streaming media, and the virtual desktop client is provided with video stream data to run the virtual desktop client for video playback.
  • FIG. 2 is a flowchart of a video playing method according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
  • Step 201 Send a video play instruction to the virtual machine server.
  • the virtual desktop client sends a video playback instruction to the virtual machine server, where the video playback instruction includes the video to be played. Identification information.
  • Step 202 Receive video information corresponding to the video play instruction from the virtual machine server.
  • Step 203 Establish a connection with the server, and send a request for video data to the virtual server according to the video information.
  • Step 204 Receive video stream data from the virtual machine server, decode the video stream data, and play the decoded video data.
  • the video information includes address information of the video stream data corresponding to the video playback instruction in the virtual machine server, and the terminal running the virtual desktop can access the server through the address information to obtain video stream data required for playing the video.
  • a module with a video decoding function can be set in a client running in the terminal, and the module can be used to decode the video data, that is, the CPU of the client can be used to pass the soft
  • the received video stream can also be hard decoded by installing a decoding chip.
  • the user logs in the virtual desktop through the SPICE client, remotely accesses the virtual machine, and performs a video playback operation;
  • the video playing server is started, and the related information of the video to be played is obtained, and the related information of the video is sent to the client of the SPICE through the SPICE protocol, and the related information of the video may specifically be the address information of the video;
  • the SPICE client After receiving the video related information, the SPICE client starts the video playing module to connect to the video playing server to read the video stream data, decodes the read video stream, and plays the decoded video data.
  • FIG. 3 is a block diagram showing the structure of a video data providing apparatus according to an embodiment of the present invention.
  • the device 30 includes the following components:
  • the first sending module 31 is configured to obtain a video playing instruction from the virtual desktop client, and send the video information corresponding to the video playing instruction to the virtual desktop client;
  • the connection establishing module 32 is configured to receive a connection request of the virtual desktop client and establish a connection with the virtual desktop client.
  • the second sending module 33 is configured to send the video stream data to the virtual desktop client according to the video data request of the virtual desktop client.
  • the above video information includes address information of video data corresponding to the video playback instruction.
  • the first sending module 31 is configured to send the video information corresponding to the video playing instruction to the virtual desktop client through the SPICE.
  • FIG. 4 is a block diagram showing the structure of a video playback apparatus according to an embodiment of the present invention.
  • the device 40 includes the following components:
  • the third sending module 41 is configured to send a video play instruction to the virtual machine server
  • the receiving module 42 is configured to receive video information corresponding to the video playback instruction from the virtual machine server;
  • the fourth sending module 43 is configured to establish a connection with the server, and send a request for video data to the virtual server according to the video information;
  • the playing module 44 is configured to receive video stream data from the virtual machine server, decode the video stream data, and play the decoded video data.
  • the above video information includes address information of video data corresponding to the video playback instruction.
  • the embodiment of the invention further provides a video playing system, which comprises a video data providing device as shown in FIG. 3 and a video playing device as shown in FIG. 4, and the system can also be implemented as shown in FIG.
  • the structure is implemented, as shown in Figure 5, the system includes the following components:
  • the function of the video data providing device is equivalent to that of the above-mentioned video data providing device.
  • the functions implemented by the video playing client module 540 and the client module 550 of the SPICE are equivalent to the functions of the above video playing device, and the SPICE Agent 520 is a component running inside the virtual desktop. Mainly have common drivers, agents and other functions.
  • the video playing server module 510 is configured to manage the video file of the system. When the user clicks the video file through the terminal running the virtual desktop, the module 510 transmits the video information required for playing the video to the client of the SPICE through the SPICE server module 530.
  • the module 550 is used as a server for the video playing client module 540 to connect to obtain video data. After the client module of the SPICE receives the video data of the SPICE server module 530, the video playing client module 540 starts up and connects to the video playing server module 510 to decode and play the video data.
  • the virtualization-based video playback solution provided by the embodiment of the present invention reduces the load of the server CPU by using the decoding capability of the terminal, reduces the consumption of computing resources of the server, and improves the number of cloud terminals that the server can tow. Improved video playback in the case of multiple video terminals playing video simultaneously.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the video information corresponding to the video playing instruction is sent to the client by acquiring the video playing instruction from the virtual desktop client, and the request for reading the video data by the virtual desktop client is obtained as the virtual desktop client.
  • the terminal provides video stream data corresponding to the video information, which reduces the occupation of the server CPU when the virtual desktop client plays the video.

Landscapes

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

Abstract

一种视频数据提供方法、视频播放方法、装置及系统,所述视频数据提供方法包括:获取来自虚拟桌面客户端的视频播放指令,将与视频播放指令对应的视频信息发送至虚拟桌面客户端;接收虚拟桌面客户端的连接请求,与虚拟桌面客户端建立连接;根据虚拟桌面客户端的视频数据请求向虚拟桌面客户端发送视频流数据,该方案降低了虚拟桌面客户端播放视频时对服务器CPU的占用。

Description

视频数据提供方法、视频播放方法、装置及系统 技术领域
本发明涉及通信技术领域,尤其涉及一种视频数据提供方法、视频播放方法、装置及系统。
背景技术
近年来,桌面虚拟化业务在国内开始蓬勃发展,运营商、高校、政府、企业均陆续采用桌面虚拟化技术来替代传统PC(Personal Computer,个人计算机)的使用。目前虚拟化桌面主要采用VDI(Virtual Desktop Infrastructure,虚拟桌面架构)技术,VDI是一种基于服务器的计算模型,可以将所有桌面虚拟机在数据中心进行托管并统一管理,将操作系统及应用程序统一存放在数据中心的服务器及存储设备中,后台建立虚拟机池,提供给不同终端用户,使用户能够获得完整PC的使用体验。目前以VDI方式播放视频时,虚拟机使用播放器解码获得视频图像,然后服务器端的SPICE(Simple Protocol for Independent Computing Environment,独立计算环境简单协议)模块将图像进行编码处理,将编码后的视频数据通过SPICE通道传输给SPICE客户端,SPICE客户端对视频数据进行解码,在客户端上就可以播放的视频。这种视频处理方式中,视频数据的编码压缩工作多由服务器的CPU(Central Processing Unit,中央处理器)来完成,当多台云终端同时播放视频时,会导致服务端的CPU占用率较高,会出现视频画面的卡顿、视频声音与视频图像不同步等现象,使视频整体播放不流畅,同时制约了服务器能拖带的云终端的数量。
发明内容
本发明实施例要解决的技术问题是现有技术中使用云终端播放视频时,视频解码、压缩由服务器的CPU来完成,导致服务器CPU占用率较大的问 题。
本发明实施例提供一种视频数据提供方法,包括:获取来自虚拟桌面客户端的视频播放指令,将与视频播放指令对应的视频信息发送至虚拟桌面客户端;接收虚拟桌面客户端的连接请求,与虚拟桌面客户端建立连接;根据虚拟桌面客户端的视频数据请求向虚拟桌面客户端发送视频流数据。
可选地,上述视频信息包括视频流数据在虚拟机服务器中的地址信息。
可选地,将与视频播放指令对应的视频信息发送至客户端包括:通过独立计算环境简单协议SPICE将视频播放指令对应的视频信息发送至客户端。
本发明实施例还提供了一种视频播放方法,包括:向虚拟机服务端发送视频播放指令;接收到来自虚拟机服务端的与视频播放指令对应的视频信息;与所述服务端建立连接,根据视频信息向虚拟机服务端发送视频数据的请求;接收来自虚拟机服务端的视频流数据,对视频流数据进行解码,并播放解码后的视频数据。
可选地,上述视频信息包括视频数据流在虚拟机服务器中的地址信息。
本发明实施例还提供了一种视频数据提供装置,包括:第一发送模块,设置为获取来自虚拟桌面客户端的视频播放指令,将与视频播放指令对应的视频信息发送至虚拟桌面客户端;连接建立模块,设置为接收虚拟桌面客户端的连接请求,与虚拟桌面客户端建立连接;第二发送模块,设置为根据虚拟桌面客户端的视频数据请求向虚拟桌面客户端发送视频流数据。
可选地,上述视频信息包括视频流数据在虚拟机服务器中的地址信息。
可选地,第一发送模块是设置为,通过独立计算环境简单协议SPICE将视频播放指令对应的视频信息发送至客户端。
本发明实施例还提供一种视频播放装置,包括:第三发送模块,设置为向虚拟机服务端发送视频播放指令;接收模块,设置为接收到来自虚拟机服务端的与视频播放指令对应的视频信息;第四发送模块,与服务端建立连接,根据视频信息向虚拟机服务端发送视频数据的请求;播放模块,设置为接收来自虚拟机服务端的视频流数据,对视频数据进行解码,并播放解码后的视频数据。
可选地,上述视频信息包括视频流数据的在虚拟机服务器中的地址信息。
本发明实施例还提供一种视频播放系统,包括上述视频数据提供装置以及上述视频播放装置。
本发明实施例还提供一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行上面所述的方法。
本发明实施例还提供一种载有所述计算机程序的计算机可读存储介质。
采用本发明实施例的技术方案,通过获取来自虚拟桌面客户端的视频播放指令,将与视频播放指令对应的视频信息发送至客户端;接收虚拟桌面客户端读取视频数据的请求,为虚拟桌面客户端提供与视频信息对应的视频流数据,降低了虚拟桌面客户端播放视频时对服务器CPU的占用。
附图概述
图1是本发明实施例的视频数据提供方法的流程图;
图2是本发明实施例的视频播放方法的流程图;
图3是本发明实施例的视频数据提供装置的结构框图;
图4是本发明实施例的视频播放装置的结构框图;
图5是本发明实施例的视频播放系统的结构框图。
本发明的较佳实施方式
下面结合附图对技术方案的实施作详细描述,在不冲突的情况下,本发明实施例和实施例中的特征可以相互任意组合。
图1是本发明实施例的视频数据提供方法的流程图。
如图1所示,该方法包括以下步骤:
步骤101:获取来自虚拟桌面客户端的视频播放指令,将与视频播放指令对应的视频信息发送至虚拟桌面客户端;
该视频信息中可以包含与视频播放指令对应的视频数据在虚拟机服务器中的地址信息,在运行虚拟桌面的客户端获取该地址信息后,可以通过该地址信息对服务端进行访问,获取播放视频所需的视频数据。优选的,将与视频播放指令对应的视频信息发送至客户端包括:通过SPICE协议将视频播放指令对应的视频信息发送至客户端,基于此,上述客户端与服务端的通信都可以采用SPICE协议来进行。
步骤102:接收虚拟桌面客户端的连接请求,与虚拟桌面客户端建立连接;
步骤103:根据虚拟桌面客户端的视频数据请求向虚拟桌面客户端发送视频流数据。
步骤103中将虚拟机服务端本地服务器中的视频作为流媒体的服务源,为虚拟桌面客户端提供视频流数据,以便运行虚拟桌面客户端进行视频播放。
图2是本发明实施例的视频播放方法的流程图;如图2所示,该方法包括以下步骤:
步骤201:向虚拟机服务端发送视频播放指令;
在该步骤201中,可以是当用户通过操作运行虚拟桌面客户端的终端发出视频播放指令后,虚拟桌面客户端将视频播放指令发送至虚拟机服务端,该视频播放指令中包含待播放的视频的标识信息。
步骤202:接收到来自所述虚拟机服务端的与所述视频播放指令对应的视频信息;
步骤203:与服务端建立连接,根据所述视频信息向所述虚拟机服务端发送视频数据的请求;
步骤204:接收来自所述虚拟机服务端的视频流数据,对所述视频流数据进行解码,并播放解码后的视频数据。
该视频信息中包含与视频播放指令对应的视频流数据在虚拟机服务器中的地址信息,运行虚拟桌面的终端可以通过该地址信息访问服务端,获取播放视频所需的视频流数据。
对于该步骤203,可以在运行于终端的客户端中设置具有视频解码功能的模块,利用该模块实现对视频数据的解码,即可以利用客户端的CPU通过软 件来对接收到的视频流进行解码,也可以通过安装解码芯片对接收到的视频流进行硬解码。
以下基于SPICE客户端以及SPICE服务端来对本发明实施例的视频数据提供方法以及视频播放方法的整体流程进行说明。
在虚拟机桌面内安装视频播放服务器的相关软件,也可以在终端上安装解码芯片;
用户通过SPICE客户端登陆虚拟桌面,远程访问虚拟机,并执行视频播放操作;
视频播放服务器启动,获取需要播放的视频的相关信息,通过SPICE协议将视频的相关信息发送到SPICE的客户端,该视频相关信息具体可以是视频的地址信息;
SPICE客户端收到视频相关信息后,启动视频播放模块连接到视频播放服务器上读取视频流数据,并对读取到的视频流进行解码,播放解码后的视频数据。
图3是本发明实施例的视频数据提供装置的结构框图。
如图3所示,该装置30包括以下组成部分:
第一发送模块31,设置为获取来自虚拟桌面客户端的视频播放指令,将与视频播放指令对应的视频信息发送至虚拟桌面客户端;
连接建立模块32,设置为接收虚拟桌面客户端的连接请求,与虚拟桌面客户端建立连接;
第二发送模块33,设置为根据虚拟桌面客户端的视频数据请求向虚拟桌面客户端发送视频流数据。
上述视频信息中包含与视频播放指令对应的视频数据的地址信息。
上述第一发送模块31是设置为,通过SPICE将视频播放指令对应的视频信息发送至虚拟桌面客户端。
图4是本发明实施例的视频播放装置的结构框图。
如图4所示,该装置40包括以下组成部分:
第三发送模块41,设置为向虚拟机服务端发送视频播放指令;
接收模块42,设置为接收到来自所述虚拟机服务端的与所述视频播放指令对应的视频信息;
第四发送模块43,设置为与所述服务端建立连接,根据所述视频信息向所述虚拟机服务端发送视频数据的请求;
播放模块44,设置为接收来自所述虚拟机服务端的视频流数据,对所述视频流数据进行解码,并播放解码后的视频数据。
上述视频信息中包含与视频播放指令对应的视频数据的地址信息。
本发明实施例还提供了一种视频播放系统,该视频播放系统包括如3所示的视频数据提供装置以及如图4所示的视频播放装置,同时,该系统也可以采用如图5所示的结构来实现,如图5所示,该系统包括以下各组成部分:
视频播放服务端模块510、SPICE Agent 520、SPICE服务端模块530、视频播放客户端模块540以及SPICE的客户端模块550,其中,视频播放服务端模块510以及SPICE服务端模块530两个模块所实现的功能相当于上述视频数据提供装置的功能,视频播放客户端模块540以及SPICE的客户端模块550所实现的功能相当于上述视频播放装置的功能,SPICE Agent 520是运行于虚拟桌面内部的组件,主要具有常见的驱动、代理等功能。
视频播放服务端模块510设置为管理系统的视频文件,当用户通过运行虚拟桌面的终端点击视频文件时,该模块510将播放视频所需的视频信息通过SPICE服务端模块530传送给SPICE的客户端模块550,该模块550作为服务器供视频播放客户端模块540连接获读取视频数据。SPICE的客户端模块接收SPICE服务端模块530的视频数据后,视频播放客户端模块540启动并连接到视频播放服务端模块510上,对视频数据进行解码播放。
本发明实施例提供的基于虚拟化的视频播放方案,通过利用终端的解码能力,减少了服务端CPU的负荷,降低了服务端计算资源的消耗,提高了服务器能拖带的云终端的数量,同时改善了在多台云终端同时播放视频的情况下视频的播放效果。
通过具体实施方式的说明,应当可对本发明为达成预定目的所采取的技 术手段及功效得以更加深入且具体的了解,然而所附图示仅是提供参考与说明之用,并非用来对本发明加以限制。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求所述的保护范围为准。
工业实用性
采用本发明实施例的技术方案,通过获取来自虚拟桌面客户端的视频播放指令,将与视频播放指令对应的视频信息发送至客户端;接收虚拟桌面客户端读取视频数据的请求,为虚拟桌面客户端提供与视频信息对应的视频流数据,降低了虚拟桌面客户端播放视频时对服务器CPU的占用。

Claims (13)

  1. 一种视频数据提供方法,包括:
    获取来自虚拟桌面客户端的视频播放指令,将与所述视频播放指令对应的视频信息发送至所述虚拟桌面客户端;
    接收所述虚拟桌面客户端的连接请求,与所述虚拟桌面客户端建立连接;
    根据所述虚拟桌面客户端的视频数据请求向所述虚拟桌面客户端发送视频流数据。
  2. 根据权利要求1所述的方法,其中,所述视频信息包括所述视频流数据在虚拟机服务器中的地址信息。
  3. 根据权利要求1所述的方法,其中,将与所述视频播放指令对应的视频信息发送至所述客户端包括:
    通过独立计算环境简单协议SPICE将所述视频播放指令对应的视频信息发送至所述客户端。
  4. 一种视频播放方法,包括:
    向虚拟机服务端发送视频播放指令;
    接收到来自所述虚拟机服务端的与所述视频播放指令对应的视频信息;
    与所述服务端建立连接,根据所述视频信息向所述虚拟机服务端发送视频数据的请求;
    接收来自所述虚拟机服务端的视频流数据,对所述视频流数据进行解码,并播放解码后的视频数据。
  5. 根据权利要求4所述的方法,其中,所述视频信息包括所述视频数据流在虚拟机服务器中的地址信息。
  6. 一种视频数据提供装置,包括:
    第一发送模块,其设置为:获取来自虚拟桌面客户端的视频播放指令,将与所述视频播放指令对应的视频信息发送至所述虚拟桌面客户端;
    连接建立模块,其设置为:接收虚拟桌面客户端的连接请求,与所述虚拟桌面客户端建立连接;以及
    第二发送模块,其设置为:根据所述虚拟桌面客户端的视频数据请求向所述虚拟桌面客户端发送视频流数据。
  7. 根据权利要求6所述的装置,其中,所述视频信息包括所述视频流数据在虚拟机服务器中的地址信息。
  8. 根据权利要求6所述的装置,其中,所述第一发送模块是设置为:
    通过独立计算环境简单协议SPICE将所述视频播放指令对应的视频信息发送至所述客户端。
  9. 一种视频播放装置,包括:
    第三发送模块,其设置为:向虚拟机服务端发送视频播放指令;
    接收模块,其设置为:接收到来自所述虚拟机服务端的与所述视频播放指令对应的视频信息;
    第四发送模块,其设置为:与所述服务端建立连接,根据所述视频信息向所述虚拟机服务端发送视频数据的请求;以及
    播放模块,其设置为:接收来自所述虚拟机服务端的视频流数据,对所述视频数据进行解码,并播放解码后的视频数据。
  10. 根据权利要求9所述的装置,其中,所述视频信息包括所述视频流数据的在虚拟机服务器中的地址信息。
  11. 一种视频播放系统,包括如权利要求6至8任一项所述的视频数据提供装置以及如权利要求9或10所述的视频播放装置。
  12. 一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行权利要求1-5任一项所述的方法。
  13. 一种载有权利要求12所述计算机程序的计算机可读存储介质。
PCT/CN2014/090181 2014-06-11 2014-11-03 视频数据提供方法、视频播放方法、装置及系统 WO2015188575A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/318,112 US20170201563A1 (en) 2014-06-11 2014-11-03 Video data providing method, video playback method, device, and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410257937.7 2014-06-11
CN201410257937.7A CN105208406A (zh) 2014-06-11 2014-06-11 视频数据提供方法、视频播放方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2015188575A1 true WO2015188575A1 (zh) 2015-12-17

Family

ID=54832838

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090181 WO2015188575A1 (zh) 2014-06-11 2014-11-03 视频数据提供方法、视频播放方法、装置及系统

Country Status (3)

Country Link
US (1) US20170201563A1 (zh)
CN (1) CN105208406A (zh)
WO (1) WO2015188575A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115052043A (zh) * 2022-06-14 2022-09-13 北京淳中科技股份有限公司 一种云桌面的视频传输方法、电子设备、装置及介质

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888385A (zh) * 2017-01-17 2017-06-23 武汉噢易云计算股份有限公司 客户端在虚拟化环境下的视频播放方法及系统
CN110225415B (zh) * 2018-03-01 2022-06-21 中兴通讯股份有限公司 一种媒体文件的播放方法
CN108449635A (zh) * 2018-03-02 2018-08-24 武汉噢易云计算股份有限公司 检测客户端视频处理性能的方法及系统
CN110299967A (zh) * 2019-08-02 2019-10-01 中国工商银行股份有限公司 一种图片传输方法、装置及存储介质
CN112492379B (zh) * 2019-09-12 2023-02-28 曙光信息产业(北京)有限公司 音视频多路并发解码方法、装置和计算机设备
CN111885395B (zh) * 2020-06-11 2024-05-17 西安万像电子科技有限公司 视频监控方法、装置和系统
CN114201249A (zh) * 2020-09-17 2022-03-18 中兴通讯股份有限公司 视频设备重定向方法、客户端、虚拟机桌面及存储介质
KR102640497B1 (ko) * 2021-02-24 2024-02-28 주식회사 플럭시티 경량화된 3차원 모델링 데이터의 공간정보 설정 및 영상 관제 장치
CN113301438A (zh) * 2021-05-29 2021-08-24 南京云步信息科技有限公司 一种基于底层虚拟化技术的云桌面视频播放方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139634A (zh) * 2011-11-30 2013-06-05 国云科技股份有限公司 云终端虚拟桌面视频播放方法
US20130204927A1 (en) * 2012-02-08 2013-08-08 Vmware, Inc. Video stream management for remote graphical user interfaces
CN103684970A (zh) * 2012-09-05 2014-03-26 中兴通讯股份有限公司 媒体数据流的传输方法和瘦终端
CN103714143A (zh) * 2013-12-25 2014-04-09 华为技术有限公司 网页数据的处理方法和装置及通信系统
CN103826101A (zh) * 2014-02-17 2014-05-28 宁波公众信息产业有限公司 一种云视频智能服务系统

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8990292B2 (en) * 2011-07-05 2015-03-24 Cisco Technology, Inc. In-network middlebox compositor for distributed virtualized applications
WO2013116975A1 (zh) * 2012-02-06 2013-08-15 华为技术有限公司 流媒体播放方法、设备及系统
CN102685226B (zh) * 2012-05-07 2015-08-05 成都国腾实业集团有限公司 云终端视频解码box
CN102695094B (zh) * 2012-05-15 2014-12-10 福建升腾资讯有限公司 Vdi环境下软硬件一体化音视频重定向的方法
CN102761603B (zh) * 2012-06-07 2014-10-22 福建升腾资讯有限公司 VDI环境下的网页flash视频重定向的方法
CN103179431B (zh) * 2013-03-21 2016-06-01 福建升腾资讯有限公司 Vdi环境下音视频重定向转码分离方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139634A (zh) * 2011-11-30 2013-06-05 国云科技股份有限公司 云终端虚拟桌面视频播放方法
US20130204927A1 (en) * 2012-02-08 2013-08-08 Vmware, Inc. Video stream management for remote graphical user interfaces
CN103684970A (zh) * 2012-09-05 2014-03-26 中兴通讯股份有限公司 媒体数据流的传输方法和瘦终端
CN103714143A (zh) * 2013-12-25 2014-04-09 华为技术有限公司 网页数据的处理方法和装置及通信系统
CN103826101A (zh) * 2014-02-17 2014-05-28 宁波公众信息产业有限公司 一种云视频智能服务系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115052043A (zh) * 2022-06-14 2022-09-13 北京淳中科技股份有限公司 一种云桌面的视频传输方法、电子设备、装置及介质
CN115052043B (zh) * 2022-06-14 2024-03-29 北京淳中科技股份有限公司 一种云桌面的视频传输方法、电子设备、装置及介质

Also Published As

Publication number Publication date
CN105208406A (zh) 2015-12-30
US20170201563A1 (en) 2017-07-13

Similar Documents

Publication Publication Date Title
WO2015188575A1 (zh) 视频数据提供方法、视频播放方法、装置及系统
US10764375B2 (en) Method for cloud based mobile application virtualization
US20180219929A1 (en) Method and system for distributed processing, rendering, and displaying of content
WO2017124842A1 (zh) 一种截图的方法及装置
US10771566B2 (en) Device and system for cloud based mobile application virtualization
KR101807176B1 (ko) 클라우드 게임 서비스 제공 시스템 및 방법
WO2021159864A1 (zh) 一种传输视频音频数据的方法、云端服务器和系统
US11012485B1 (en) Multi-media redirection for media applications
US11012498B1 (en) Web browser multi-media redirection
WO2017092561A1 (zh) 实现音视频内容播放的方法和装置
Kim et al. Cloud‐based gaming service platform supporting multiple devices
JP2023126832A (ja) ミーティングの参加者が機能デバイスを利用できるようにするための方法およびシステム
WO2015196590A1 (zh) 桌面云视频的播放处理方法及装置
WO2018119711A1 (zh) 多操作系统多媒体编解码方法、装置及电子设备
WO2015196827A1 (zh) 显示设备及其共享控制方法
US20170171579A1 (en) Method and Device for Transcoding Live Video
US20170154018A1 (en) System and method for display stream compression for remote desktop protocols
KR101543295B1 (ko) 클라우드 스트리밍 서비스를 위한 어플리케이션 에러 검출 방법, 이를 위한 장치 및 시스템
WO2016107174A1 (zh) 多媒体文件数据的处理方法及系统、播放器和客户端
US20120117262A1 (en) Service based media player
WO2012103670A1 (zh) 一种基于云服务提供和处理多媒体数据的方法、装置及系统
TW201444360A (zh) 一種雲端互動服務系統及其運作方法
EP4252876A1 (en) Audio system and method
WO2022179397A1 (zh) 解码器的配置方法、装置、介质以及电子设备
Duong Distributed video processing system on cloud servers

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 15318112

Country of ref document: US

122 Ep: pct application non-entry in european phase

Ref document number: 14894723

Country of ref document: EP

Kind code of ref document: A1