WO2015196590A1 - Method and apparatus for playing desktop cloud video - Google Patents

Method and apparatus for playing desktop cloud video Download PDF

Info

Publication number
WO2015196590A1
WO2015196590A1 PCT/CN2014/086762 CN2014086762W WO2015196590A1 WO 2015196590 A1 WO2015196590 A1 WO 2015196590A1 CN 2014086762 W CN2014086762 W CN 2014086762W WO 2015196590 A1 WO2015196590 A1 WO 2015196590A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
played
channel
access
desktop
Prior art date
Application number
PCT/CN2014/086762
Other languages
French (fr)
Chinese (zh)
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 WO2015196590A1 publication Critical patent/WO2015196590A1/en

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/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, and more particularly to a method and apparatus for playing and playing desktop cloud video.
  • the desktop cloud solution is gradually accepted by various enterprises and deployed in large quantities.
  • the daily office and multimedia entertainment of the enterprise gradually move into the desktop cloud environment.
  • 720P and 1080P high-definition video are rapidly popularized, and 2K and higher-definition video are gradually appearing.
  • High-definition, high-rate video consumes a large amount of computing resources on a virtual desktop during normal virtual desktop playback. As a result, the number of simultaneous video playback on each server is limited. Even high-definition video with high bit rate cannot be played smoothly, affecting users in virtual desktops.
  • the multimedia experience Larger network bandwidth resources are also required. Affecting the user's multimedia experience limits the scope of virtual desktop applications.
  • In-band video playback technology The most basic video playback technology, when users play video, use the similar desktop playback mode to use the computing power of the virtual desktop to decode the original video, and compress the decoded audio and video through the access protocol and then through the desktop.
  • the cloud access protocol transmission channel is transmitted to the terminal, and then the decoding capability of the terminal hardware is used to restore data compressed by the desktop cloud access protocol and transmitted to the terminal.
  • This technology requires video decoding, protocol encoding, and protocol decoding to play video. It consumes a lot of computing resources and bandwidth of virtual desktops, and can only play videos within 720P.
  • Media redirection video playback technology Relatively advanced video playback technology, when a user plays a video using a specific player, a specific player reads and analyzes the video stream in the video source and transmits it to the terminal through the desktop cloud access protocol. After receiving the video stream, the terminal performs decoding and playback.
  • the technology requires a specific player to perform video source analysis, which occupies more computing resources of the virtual desktop, and the transmitted video stream occupies a large bandwidth, and can only play about 720P video.
  • the existing desktop cloud in-band video playback technology and media redirection technology can only play 720P video in the desktop cloud environment, and the higher-definition video cannot be played, and the virtual virtual machine is consumed when playing the video in the virtual desktop.
  • the computing resources of the physical server and the network bandwidth can only play 720P video in the desktop cloud environment, and the higher-definition video cannot be played, and the virtual virtual machine is consumed when playing the video in the virtual desktop.
  • the invention provides a method and a device for playing and playing desktop cloud video, so as to at least solve the above problems.
  • a method for processing a desktop cloud video including: initiating access to the to-be-played video through a first channel, the first channel supporting a desktop cloud protocol;
  • the virtual desktop reads and plays the video to be played, wherein the second channel is a channel dedicated to transmitting a video file.
  • the method includes: receiving an access address from the virtual desktop by using the first channel, where the access address is used to indicate an address of a video to be played; The access address reads the to-be-played video and plays it.
  • the method when receiving the access address from the virtual desktop, includes: receiving an access token of the to-be-played video, the access token uniquely identifying each operation of the to-be-played video.
  • reading the to-be-played video from the virtual desktop through the second channel according to the access address comprising: reading the to-be-played video according to the access address and the access token.
  • the access token is generated by generating the access token according to at least one of the following: a terminal identifier of the terminal, account information of the virtual desktop, and specified information of the video file to be played. .
  • the terminal identifier includes at least one of the following: an IP address of the terminal, a media access control MAC address of the terminal, and/or the specified information includes: video source information of the video to be played, The playing progress information of the to-be-played video, and the operation information of the to-be-played video during the playing process.
  • the effective time of the access token is determined according to the length of time of the video.
  • a playback processing apparatus for a desktop cloud video including: an initiating module, configured to initiate access to the to-be-played video through a first channel, where the first channel supports a desktop cloud a protocol; the reading module is configured to read and play the to-be-played video through the second channel, where the second channel is a channel dedicated to transmitting a video file.
  • the device further includes: a receiving module, configured to receive an access address from the virtual desktop through the first channel, wherein the access address is used to indicate an address of a video to be played; and the reading module further sets The video to be played is read and played according to the access address.
  • a receiving module configured to receive an access address from the virtual desktop through the first channel, wherein the access address is used to indicate an address of a video to be played
  • the reading module further sets The video to be played is read and played according to the access address.
  • the receiving module is further configured to receive an access token of the to-be-played video, the access token uniquely identifying each operation of the to-be-played video.
  • the technical solution that the video is accessed through the first channel and the requested video is read through the second channel solves the problem that the higher-definition video cannot be played in the desktop cloud environment and the video is played in the virtual desktop.
  • the problem of computing resources and network bandwidth of the larger virtual machine and the physical server can effectively save computing resources, reduce network bandwidth consumption, and improve the multimedia experience of the user in the virtual desktop.
  • FIG. 1 is a structural diagram of a desktop cloud system in related art
  • FIG. 2 is a flowchart of a method for playing a desktop cloud video according to an embodiment of the present invention
  • FIG. 3 is a system architecture diagram of a playback process of a desktop cloud video according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for playing a desktop cloud video according to a preferred embodiment of the present invention
  • FIG. 5 is a structural block diagram of a cloud video playback processing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a block diagram showing still another structure of a cloud video playback processing apparatus according to an embodiment of the present invention.
  • Cloud computing A new network-based resource utilization method that allows users to perform on-demand computing based on heterogeneous and autonomous services on the network. Cloud computing resources are dynamically scalable and virtualized, providing services through the network. .
  • Desktop Cloud A cloud-based desktop solution that can access desktops or applications through thin clients or other devices connected to the network.
  • An individual desktop based on a desktop cloud solution is called a virtual desktop.
  • the Desktop Cloud Access Protocol is used to access virtual desktops deployed on cloud computing servers from remote computers (such as desktops and thin client devices), similar to other applications used for remote desktop access protocols, such as Protocols such as Remote Desktop Protocol (RDP) and Virtual Network Computer (VNC).
  • RDP Remote Desktop Protocol
  • VNC Virtual Network Computer
  • FIG. 1 is a schematic diagram of a desktop cloud system architecture in the related art.
  • a server group carried by multiple servers carries a desktop cloud system.
  • Each virtual desktop has its own independent operating system and computing, network, storage and other resources.
  • the user accesses the virtual desktop by using the terminal, and transmits a control signal such as a keyboard and a mouse through the desktop cloud protocol channel between the virtual desktop and the terminal, and transmits the calculation result of the virtual desktop to the terminal.
  • the virtual desktop decodes the original video, compresses it through the desktop cloud access protocol, and transmits it to the terminal through the desktop cloud protocol channel, and the terminal decodes the data encoded and transmitted via the protocol.
  • the media redirects the video playback technology to play the player reads and analyzes the video stream in the video source and transmits the video stream to the terminal through the desktop cloud protocol channel.
  • the terminal decodes and presents the video stream to the user.
  • FIG. 2 is a flowchart of a method for playing a cloud desktop video according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
  • Step S202 Initiating access to the video to be played through the first channel, where the first channel supports the desktop cloud protocol;
  • Step S204 The video to be played is read and played through the second channel, wherein the second channel is a channel dedicated to transmitting the video file.
  • the technical solution that the video is accessed through the first channel and the requested video is read through the second channel solves the problem that the higher-definition video cannot be played in the desktop cloud environment and the video is played in the virtual desktop.
  • the problem of computing resources and network bandwidth of the larger virtual machine and the physical server can effectively save computing resources, reduce network bandwidth consumption, and improve the multimedia experience of the user in the virtual desktop.
  • FIG. 3 is a system architecture diagram of a playback process of a desktop cloud video according to an embodiment of the present invention.
  • outside the desktop cloud protocol channel (out-of-band ) Increase the video file transmission channel dedicated to video files, which is independent of the desktop cloud protocol channel. Used to transfer video files.
  • the terminal needs to read the video source from the virtual desktop according to the video playback and play it locally on the terminal.
  • the access address from the virtual desktop is also received through the first channel, where the access address is used to indicate the address of the video to be played. ; Read the video to be played and play according to the access address.
  • the access token of the video to be played when receiving the access address from the virtual desktop, may also be received, and the access token uniquely identifies each operation of the video to be played.
  • the access address is The access token can be sent to the terminal by the virtual desktop through dedicated message signaling, or can be implemented by carrying other information about the access address and the access token in the other signaling during the interaction between the terminal and the virtual desktop.
  • step S204 the video to be played is read from the virtual desktop through the second channel according to the access address, which may be represented by the following implementation process, but is not limited thereto: the video to be played is read according to the access address and the access token, in the embodiment of the present invention.
  • the access token is generated by generating an access token according to at least one of the following: a terminal identifier of the terminal, account information of the virtual desktop, and specified information of the video file to be played, generated by using the foregoing information.
  • the access token is accessed, and only the terminal holding the valid access token can access the video, which effectively ensures that the illegal terminal acquires the video phenomenon.
  • the terminal identifier includes at least one of the following: an IP address of the terminal, a media access control MAC address of the terminal, and/or the specified information includes: video source information of the video to be played, The playback progress information of the video to be played, the operation information of the video to be played during playback; the effective time of the access token is determined according to the length of the video.
  • FIG. 4 is a flowchart of a method for playing a desktop cloud video according to a preferred embodiment of the present invention, as shown in FIG. 4:
  • the user opens a local video source or a network video source in the virtual desktop to start video playback.
  • the video playback service program constantly monitors the action of the user playing the video.
  • the video playing service program When the video playing service program detects that the user starts playing the video, the video playing service program starts the playing service for the video, and prepares for the token and the video source access.
  • the video playing service program generates the video source access token according to the current terminal IP address, the terminal MAC address, the account information of the login desktop cloud, the played video source information, the playing time point, and the like, and the token is generated for each virtual desktop.
  • Each playback operation of a video source is unique and cannot be forged.
  • the timeliness of the token is limited according to the length of the video source, and the token expires after the set time limit is exceeded. After the token expires, if the user still needs to play the video, the terminal player requests a new token based on the history token. The token is automatically invalidated after the video source has finished playing.
  • the generated access token is controlled by the video playback service program and stored in the virtual desktop.
  • the terminal player accesses the video source to be played, it needs to provide a valid token corresponding to the video source. If the token is invalid, the access to the video source is prohibited, and the information such as the video source in the virtual desktop of the user is secured to prevent unauthorized access. The terminal player can then apply for a new token based on the history token.
  • the video playback service program can share video sources through network file sharing protocols such as HTTP, FTP, NetBIOS, and multimedia protocols such as RTP, RSVP, and RTSP.
  • the administrator can set the type of protocol supported by the video source sharing according to the network port open condition and the video source format.
  • the specific protocol is negotiated and agreed by the terminal video player and the virtual desktop video playback service.
  • the video playback service program generates a network access URL address for the video source.
  • the video playback service program enables access control of the video source, and the terminal player with the legally valid token can access normally or cannot access the shared video source.
  • the encrypted access token and the video source URL address are transmitted to the terminal via the desktop access protocol.
  • the terminal After receiving the video source URL and the access token, the terminal starts the terminal player to access the video source URL, and transmits the access token as a parameter to the video playing service program in the virtual desktop.
  • the terminal video player reads the video source from the virtual desktop and plays it according to the user's playback progress requirements and fast forward, backward, and the like.
  • the terminal player applies for a new access token to the video playback service program in the virtual desktop according to the historical token and continues to play.
  • the terminal player After the video source is played, the terminal player notifies the video playback service program in the virtual desktop to cancel the access token of the current video source and end the video file sharing.
  • the above preferred embodiment solves the network and computing performance bottleneck when the desktop cloud plays high-definition video (for example, 1080P full HD and 2K): playing video in the existing desktop cloud environment consumes a large amount of computing resources of the virtual desktop, resulting in each The number of videos played simultaneously on the server is limited. Even high-definition video with high bit rate cannot be played smoothly.
  • a new video playback technology is provided. The original file of the video is shared to the current user's terminal through network sharing. The network video is played back to give the user a better multimedia experience, and the number of videos played simultaneously on each server can be more than that of a normal desktop cloud.
  • FIG. 5 is a structural block diagram of a cloud video playback processing apparatus according to an embodiment of the present invention. As shown in Figure 5, the device includes:
  • the initiating module 50 is configured to initiate access to the video to be played through the first channel, where the first channel supports the desktop cloud protocol;
  • the reading module 52 is connected to the initiating module 50, and is configured to read and play the video to be played through the second channel, wherein the second channel is a channel dedicated to transmitting the video file.
  • FIG. 6 is a block diagram of still another structure of a cloud video playback processing apparatus according to an embodiment of the present invention.
  • the apparatus further includes: a receiving module 54 connected to the reading module 52 and configured to receive through the first channel. An access address from the virtual desktop, wherein the access address is used to indicate an address of a video to be played; and the reading module 52 is further configured to read the video to be played and play according to the access address.
  • the receiving module 54 is further configured to receive an access token of the video to be played, the access token uniquely identifying each operation of the video to be played.
  • the technical solution that the video is accessed through the first channel and the requested video is read through the second channel solves the problem that the higher-definition video cannot be played in the desktop cloud environment and in the virtual desktop. Consumption of large virtual machines and physical server computing resources and network bandwidth when playing video The problem can effectively save computing resources, reduce network bandwidth consumption, and improve the multimedia experience of users in the virtual desktop.
  • the method and device for playing desktop cloud video provided by the foregoing embodiment of the present invention have no video decoding, protocol encoding, and protocol decoding process of in-band video playback, and the process of reading and analyzing the video source without media redirection.
  • Virtual desktops only need to transmit video sources and are responsible for the security work related to this. This greatly reduces the consumption of virtual desktop computing resources, and increases the number of simultaneous virtual video playback on a server, while saving network bandwidth.
  • the embodiments of the present invention achieve the following beneficial effects: solving the problem that the higher-definition video cannot be played in the desktop cloud environment, and the computing resources and the network bandwidth of the virtual server and the physical server are consumed when playing the video in the virtual desktop.
  • the problem can effectively save computing resources, reduce network bandwidth consumption, and improve the multimedia experience of users in the virtual desktop.
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the technical solution that the video is accessed through the first channel and the requested video is read through the second channel solves the problem that the higher-definition video cannot be played in the desktop cloud environment and is in the virtual
  • the problem of consuming large virtual machine and physical server computing resources and network bandwidth when playing video on the desktop can effectively save computing resources, reduce network bandwidth consumption, and improve the multimedia experience of users in the virtual desktop.

Landscapes

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

Abstract

The present invention provides a method and apparatus for playing a desktop cloud video. The playing method comprises: initiating access to a video to be played through a first channel, the first channel supporting a desktop cloud protocol; and reading the video to be played through a second channel and playing the video, the second channel being a channel specially used for transmitting video files. By means of the technical solution provided in the present invention, the problem that videos with higher definition cannot be played in a desktop cloud environment and many computing resources of a virtual machine and a physical server as well as large network bandwidth are consumed when videos are played in a virtual desktop is solved, computing resources can be effectively saved, network bandwidth consumption can be effectively reduced, and multimedia experience of a user in a virtual desktop can be improved.

Description

桌面云视频的播放处理方法及装置Desktop cloud video playing processing method and device 技术领域Technical field
本发明涉及通信领域,更具体地说,涉及桌面云视频的播放处理方法及装置。The present invention relates to the field of communications, and more particularly to a method and apparatus for playing and playing desktop cloud video.
背景技术Background technique
桌面云方案逐步被各企业接受并大量部署,企业的各项日常办公及多媒体娱乐逐渐迁入到桌面云环境。同时随着计算机硬件、网络传输带宽等技术的发展,720P、1080P高清视频快速普及,2K及更高清晰度的视频也逐步出现。The desktop cloud solution is gradually accepted by various enterprises and deployed in large quantities. The daily office and multimedia entertainment of the enterprise gradually move into the desktop cloud environment. At the same time, with the development of computer hardware, network transmission bandwidth and other technologies, 720P and 1080P high-definition video are rapidly popularized, and 2K and higher-definition video are gradually appearing.
高清、高码率的视频在普通虚拟桌面播放时消耗虚拟桌面大量的计算资源导致每台服务器上同时播放视频的数量受限,甚至码率较高的高清视频无法流畅播放,影响用户在虚拟桌面中的多媒体体验。同时也需要较大的网络带宽资源。影响用户多媒体体验,限制了虚拟桌面应用范围。High-definition, high-rate video consumes a large amount of computing resources on a virtual desktop during normal virtual desktop playback. As a result, the number of simultaneous video playback on each server is limited. Even high-definition video with high bit rate cannot be played smoothly, affecting users in virtual desktops. The multimedia experience. Larger network bandwidth resources are also required. Affecting the user's multimedia experience limits the scope of virtual desktop applications.
相关技术中,存在两种视频播放的技术方案:In the related art, there are two technical solutions for video playback:
带内视频播放技术:最基本的视频播放技术,用户播放视频时,使用类似普通桌面播放方式利用虚拟桌面的计算能力把原始视频进行解码,把解码后的音视频通过接入协议压缩后通过桌面云接入协议传输通道传输到终端,再利用终端硬件的解码能力还原经过桌面云接入协议压缩并传输到终端的数据。该技术需要视频解码、协议编码、协议解码三个过程才能播放视频,消耗虚拟桌面大量计算资源和带宽,仅能播放720P以内视频。In-band video playback technology: The most basic video playback technology, when users play video, use the similar desktop playback mode to use the computing power of the virtual desktop to decode the original video, and compress the decoded audio and video through the access protocol and then through the desktop. The cloud access protocol transmission channel is transmitted to the terminal, and then the decoding capability of the terminal hardware is used to restore data compressed by the desktop cloud access protocol and transmitted to the terminal. This technology requires video decoding, protocol encoding, and protocol decoding to play video. It consumes a lot of computing resources and bandwidth of virtual desktops, and can only play videos within 720P.
媒体重定向视频播放技术:相对较为先进的视频播放技术,用户使用特定播放器播放视频时,由特定播放器读取并分析视频源中的视频流并交由桌面云接入协议传输到终端,终端接收到视频流后进行解码播放。该技术需要特定播放器进行视频源的分析占用虚拟桌面较多的计算资源,传输的视频流占用交大带宽,仅能播放720P左右视频。Media redirection video playback technology: Relatively advanced video playback technology, when a user plays a video using a specific player, a specific player reads and analyzes the video stream in the video source and transmits it to the terminal through the desktop cloud access protocol. After receiving the video stream, the terminal performs decoding and playback. The technology requires a specific player to perform video source analysis, which occupies more computing resources of the virtual desktop, and the transmitted video stream occupies a large bandwidth, and can only play about 720P video.
现有的桌面云带内视频播放技术、媒体重定向技术,在桌面云环境下只能播放720P左右的视频,更高清的视频无法播放,且在虚拟桌面中播放视频时消耗较大虚拟机与物理服务器的计算资源以及的网络带宽。 The existing desktop cloud in-band video playback technology and media redirection technology can only play 720P video in the desktop cloud environment, and the higher-definition video cannot be played, and the virtual virtual machine is consumed when playing the video in the virtual desktop. The computing resources of the physical server and the network bandwidth.
针对相关技术中在桌面云环境下无法播放更高清的视频以及在虚拟桌面中播放视频时消耗较大虚拟机与物理服务器的计算资源以及的网络带宽的问题,目前尚未提出有效的解决方案。In view of the related art, the problem that the higher-definition video cannot be played in the desktop cloud environment and the computing resources and the network bandwidth of the virtual server and the physical server are consumed when playing the video in the virtual desktop, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明提供了一种桌面云视频的播放处理方法及装置,以至少解决上述问题。The invention provides a method and a device for playing and playing desktop cloud video, so as to at least solve the above problems.
根据本发明的一个实施例,提供了一种桌面云视频的播放处理方法,包括:通过第一通道发起对所述待播放视频的访问,该第一通道支持桌面云协议;通过第二通道从虚拟桌面读取所述待播放视频并播放,其中,所述第二通道为专用于传输视频文件的通道。According to an embodiment of the present invention, a method for processing a desktop cloud video is provided, including: initiating access to the to-be-played video through a first channel, the first channel supporting a desktop cloud protocol; The virtual desktop reads and plays the video to be played, wherein the second channel is a channel dedicated to transmitting a video file.
优选地,终端通过第一通道发起对所述待播放视频的访问之前,包括:通过所述第一通道接收来自虚拟桌面的访问地址,其中,该访问地址用于指示待播放视频的地址;根据所述访问地址读取所述待播放视频并播放。Preferably, before the terminal initiates access to the to-be-played video by using the first channel, the method includes: receiving an access address from the virtual desktop by using the first channel, where the access address is used to indicate an address of a video to be played; The access address reads the to-be-played video and plays it.
优选地,接收来自虚拟桌面的访问地址时,包括:接收所述待播放视频的访问令牌,该访问令牌唯一标识对所述待播放视频的每次操作。Preferably, when receiving the access address from the virtual desktop, the method includes: receiving an access token of the to-be-played video, the access token uniquely identifying each operation of the to-be-played video.
优选地,根据所述访问地址通过第二通道从所述虚拟桌面读取所述待播放视频,包括:根据所述访问地址和所述访问令牌读取所述待播放视频。Preferably, reading the to-be-played video from the virtual desktop through the second channel according to the access address, comprising: reading the to-be-played video according to the access address and the access token.
优选地,所述访问令牌通过以下方式生成:根据以下至少之一信息生成所述访问令牌:所述终端的终端标识、所述虚拟桌面的账户信息、所述待播放视频文件的指定信息。Preferably, the access token is generated by generating the access token according to at least one of the following: a terminal identifier of the terminal, account information of the virtual desktop, and specified information of the video file to be played. .
优选地,所述终端标识包括以下至少之一:所述终端的IP地址、所述终端的媒体接入控制MAC地址;和/或所述指定信息包括:所述待播放视频的视频源信息、所述待播放视频的播放进度信息、对所述待播放视频在播放过程中的操作信息。Preferably, the terminal identifier includes at least one of the following: an IP address of the terminal, a media access control MAC address of the terminal, and/or the specified information includes: video source information of the video to be played, The playing progress information of the to-be-played video, and the operation information of the to-be-played video during the playing process.
优选地,所述访问令牌的有效时间根据所述视频的时间长度确定。Preferably, the effective time of the access token is determined according to the length of time of the video.
根据本发明的另一个实施例,还提供了一种桌面云视频的播放处理装置,包括:发起模块,设置为通过第一通道发起对所述待播放视频的访问,该第一通道支持桌面云协议;读取模块,设置为通过第二通道读取所述待播放视频并播放,其中,所述第二通道为专用于传输视频文件的通道。 According to another embodiment of the present invention, a playback processing apparatus for a desktop cloud video is provided, including: an initiating module, configured to initiate access to the to-be-played video through a first channel, where the first channel supports a desktop cloud a protocol; the reading module is configured to read and play the to-be-played video through the second channel, where the second channel is a channel dedicated to transmitting a video file.
优选地,所述装置还包括:接收模块,设置为通过所述第一通道接收来自虚拟桌面的访问地址,其中,该访问地址用于指示待播放视频的地址;所述读取模块,还设置为根据所述访问地址读取所述待播放视频并播放。Preferably, the device further includes: a receiving module, configured to receive an access address from the virtual desktop through the first channel, wherein the access address is used to indicate an address of a video to be played; and the reading module further sets The video to be played is read and played according to the access address.
优选地,所述接收模块,还设置为接收所述待播放视频的访问令牌,该访问令牌唯一标识对所述待播放视频的每次操作。Preferably, the receiving module is further configured to receive an access token of the to-be-played video, the access token uniquely identifying each operation of the to-be-played video.
通过本发明,采用通过第一通道将发起视频的访问,而通过第二通道读取请求的视频的技术方案,解决了桌面云环境下无法播放更高清的视频以及在虚拟桌面中播放视频时消耗较大虚拟机与物理服务器的计算资源以及的网络带宽的问题,可有效节约计算资源、效降低网络带宽消耗,提升用户在虚拟桌面内的多媒体体验。Through the invention, the technical solution that the video is accessed through the first channel and the requested video is read through the second channel solves the problem that the higher-definition video cannot be played in the desktop cloud environment and the video is played in the virtual desktop. The problem of computing resources and network bandwidth of the larger virtual machine and the physical server can effectively save computing resources, reduce network bandwidth consumption, and improve the multimedia experience of the user in the virtual desktop.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1为相关技术中桌面云系统架构图;1 is a structural diagram of a desktop cloud system in related art;
图2为根据本发明实施例的桌面云视频的播放处理方法的流程图;2 is a flowchart of a method for playing a desktop cloud video according to an embodiment of the present invention;
图3为根据本发明实施例的桌面云视频的播放处理的系统架构图;3 is a system architecture diagram of a playback process of a desktop cloud video according to an embodiment of the present invention;
图4为根据本发明优选实施例的桌面云视频的播放处理方法的流程图;4 is a flowchart of a method for playing a desktop cloud video according to a preferred embodiment of the present invention;
图5为根据本发明实施例的云视频的播放处理装置的结构框图;FIG. 5 is a structural block diagram of a cloud video playback processing apparatus according to an embodiment of the present invention; FIG.
图6为根据本发明实施例的云视频的播放处理装置的再一结构框图。FIG. 6 is a block diagram showing still another structure of a cloud video playback processing apparatus according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
为了更好的理解以下实施例以及优选实施例的技术方案,下面对实施例中涉及到的名词解释其含义,但其并不对本发明实施例造成限定。 In order to better understand the following embodiments and the technical solutions of the preferred embodiments, the meanings of the terms in the embodiments are explained below, but they are not limited to the embodiments of the present invention.
云计算:一种基于网络的资源利用新方式,可为用户依托网络上异构、自治的服务进行按需即取的计算,云计算的资源是动态易扩展而且虚拟化的,通过网络提供服务。Cloud computing: A new network-based resource utilization method that allows users to perform on-demand computing based on heterogeneous and autonomous services on the network. Cloud computing resources are dynamically scalable and virtualized, providing services through the network. .
桌面云:基于云计算的一种桌面解决方案,可以通过瘦客户端或者其他与网络相连的设备来访问桌面或者应用程序。基于桌面云方案的个体桌面称为虚拟桌面。Desktop Cloud: A cloud-based desktop solution that can access desktops or applications through thin clients or other devices connected to the network. An individual desktop based on a desktop cloud solution is called a virtual desktop.
桌面云接入协议:桌面云接入协议用于从远程计算机(如桌面和瘦客户端设备)上访问部署在云计算服务器上的虚拟桌面,它类似于其它用于远程桌面接入协议,如远程桌面协议(Remote Desktop Protocol,简称为RDP)、虚拟网络计算机(Virtual Network Computer,简称为VNC)等协议。Desktop Cloud Access Protocol: The Desktop Cloud Access Protocol is used to access virtual desktops deployed on cloud computing servers from remote computers (such as desktops and thin client devices), similar to other applications used for remote desktop access protocols, such as Protocols such as Remote Desktop Protocol (RDP) and Virtual Network Computer (VNC).
图1为相关技术中桌面云系统架构图,如图1所示,由多台服务器承载的服务器群承载桌面云系统。每个虚拟桌面均有自己独立的操作系统及计算、网络、存储等资源。用户使用终端接入虚拟桌面,在虚拟桌面与终端之间通过桌面云协议通道传输键盘、鼠标等控制信号,以及传输虚拟桌面的计算结果给终端。FIG. 1 is a schematic diagram of a desktop cloud system architecture in the related art. As shown in FIG. 1 , a server group carried by multiple servers carries a desktop cloud system. Each virtual desktop has its own independent operating system and computing, network, storage and other resources. The user accesses the virtual desktop by using the terminal, and transmits a control signal such as a keyboard and a mouse through the desktop cloud protocol channel between the virtual desktop and the terminal, and transmits the calculation result of the virtual desktop to the terminal.
带内视频播放技术进行播放时,虚拟桌面把原始视频进行解码、经由桌面云接入协议压缩后通过桌面云协议通道传输到终端、终端解码经由协议编码和传输的数据。媒体重定向视频播放技术进行播放时播放器读取并分析视频源中的视频流并通过桌面云协议通道传输到终端,终端接收到视频流后进行解码并呈现给用户。When playing in-band video playback technology, the virtual desktop decodes the original video, compresses it through the desktop cloud access protocol, and transmits it to the terminal through the desktop cloud protocol channel, and the terminal decodes the data encoded and transmitted via the protocol. When the media redirects the video playback technology to play, the player reads and analyzes the video stream in the video source and transmits the video stream to the terminal through the desktop cloud protocol channel. After receiving the video stream, the terminal decodes and presents the video stream to the user.
本发明实施例提供了一种桌面云视频的播放处理方法,图2为根据本发明实施例的云桌面视频的播放处理方法的流程图,如图2所示,该方法包括如下步骤:An embodiment of the present invention provides a method for playing a desktop cloud video. FIG. 2 is a flowchart of a method for playing a cloud desktop video according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
步骤S202:通过第一通道发起对待播放视频的访问,该第一通道支持桌面云协议;Step S202: Initiating access to the video to be played through the first channel, where the first channel supports the desktop cloud protocol;
步骤S204:通过第二通道读取待播放视频并播放,其中,第二通道为专用于传输视频文件的通道。Step S204: The video to be played is read and played through the second channel, wherein the second channel is a channel dedicated to transmitting the video file.
通过上述步骤,采用通过第一通道将发起视频的访问,而通过第二通道读取请求的视频的技术方案,解决了桌面云环境下无法播放更高清的视频以及在虚拟桌面中播放视频时消耗较大虚拟机与物理服务器的计算资源以及的网络带宽的问题,可有效节约计算资源、效降低网络带宽消耗,提升用户在虚拟桌面内的多媒体体验。Through the above steps, the technical solution that the video is accessed through the first channel and the requested video is read through the second channel solves the problem that the higher-definition video cannot be played in the desktop cloud environment and the video is played in the virtual desktop. The problem of computing resources and network bandwidth of the larger virtual machine and the physical server can effectively save computing resources, reduce network bandwidth consumption, and improve the multimedia experience of the user in the virtual desktop.
图3为根据本发明实施例的桌面云视频的播放处理的系统架构图,为了更好的理解上述技术方案,结合图3对上述技术方案进行示例说明:在桌面云协议通道之外(带外)增加视频文件专用的视频文件传输通道,该通道独立在桌面云协议通道之外专门 用于传输视频文件。终端根据视频播放需要从虚拟桌面读取视频源,并在终端本地进行播放。3 is a system architecture diagram of a playback process of a desktop cloud video according to an embodiment of the present invention. To better understand the foregoing technical solution, the foregoing technical solution is illustrated in conjunction with FIG. 3: outside the desktop cloud protocol channel (out-of-band ) Increase the video file transmission channel dedicated to video files, which is independent of the desktop cloud protocol channel. Used to transfer video files. The terminal needs to read the video source from the virtual desktop according to the video playback and play it locally on the terminal.
可选地,在步骤S202之前,即终端通过第一通道发起对待播放视频的访问之前,还需要通过第一通道接收来自虚拟桌面的访问地址,其中,该访问地址用于指示待播放视频的地址;根据访问地址读取待播放视频并播放。Optionally, before the step S202, that is, the terminal initiates the access to the video to be played through the first channel, the access address from the virtual desktop is also received through the first channel, where the access address is used to indicate the address of the video to be played. ; Read the video to be played and play according to the access address.
在本发明实施例中,接收来自虚拟桌面的访问地址时,还可接收待播放视频的访问令牌,该访问令牌唯一标识对待播放视频的每次操作,在具体实施过程中,上述访问地址和访问令牌可以通过专用的消息信令由虚拟桌面发送给终端,也可以通过终端与虚拟桌面交互过程中的其他信令携带访问地址和访问令牌的相关信息来实现。In the embodiment of the present invention, when receiving the access address from the virtual desktop, the access token of the video to be played may also be received, and the access token uniquely identifies each operation of the video to be played. In a specific implementation process, the access address is The access token can be sent to the terminal by the virtual desktop through dedicated message signaling, or can be implemented by carrying other information about the access address and the access token in the other signaling during the interaction between the terminal and the virtual desktop.
步骤S204中,根据访问地址通过第二通道从虚拟桌面读取待播放视频,可以表现为以下实现过程,但不限于此:根据访问地址和访问令牌读取待播放视频,在本发明实施例的一个可选实施例中,访问令牌通过以下方式生成:根据以下至少之一信息生成访问令牌:终端的终端标识、虚拟桌面的账户信息、待播放视频文件的指定信息,通过上述信息生成访问令牌,而只有持有有效的访问令牌的终端才能够访问到视频,有效的保证了非法终端获取视频现象的发生。In step S204, the video to be played is read from the virtual desktop through the second channel according to the access address, which may be represented by the following implementation process, but is not limited thereto: the video to be played is read according to the access address and the access token, in the embodiment of the present invention. In an optional embodiment, the access token is generated by generating an access token according to at least one of the following: a terminal identifier of the terminal, account information of the virtual desktop, and specified information of the video file to be played, generated by using the foregoing information. The access token is accessed, and only the terminal holding the valid access token can access the video, which effectively ensures that the illegal terminal acquires the video phenomenon.
本发明实施例对上述技术方案的进一步改进在于,终端标识包括以下至少之一:终端的IP地址、终端的媒体接入控制MAC地址;和/或指定信息包括:待播放视频的视频源信息、待播放视频的播放进度信息、对待播放视频在播放过程中的操作信息;访问令牌的有效时间根据视频的时间长度确定。A further improvement of the foregoing technical solution in the embodiment of the present invention is that the terminal identifier includes at least one of the following: an IP address of the terminal, a media access control MAC address of the terminal, and/or the specified information includes: video source information of the video to be played, The playback progress information of the video to be played, the operation information of the video to be played during playback; the effective time of the access token is determined according to the length of the video.
以下以一个优选示例对上述技术方案进行说明,但对本发明上述实施例不构成限定,图4为根据本发明优选实施例的桌面云视频的播放处理方法的流程图,如图4所示:The foregoing technical solution is described in a preferred example, but the foregoing embodiment of the present invention is not limited. FIG. 4 is a flowchart of a method for playing a desktop cloud video according to a preferred embodiment of the present invention, as shown in FIG. 4:
S402:播放视频S402: Playing a video
用户打开虚拟桌面内的本地视频源或者网络视频源,开始视频播放。The user opens a local video source or a network video source in the virtual desktop to start video playback.
S404:启动视频播放服务S404: Start the video playback service
视频播放服务程序时刻监视用户播放视频的动作。The video playback service program constantly monitors the action of the user playing the video.
当视频播放服务程序检测到用户开始播放视频时,视频播放服务程序启动针对视频的播放服务,为令牌、视频源访问做好保障准备。 When the video playing service program detects that the user starts playing the video, the video playing service program starts the playing service for the video, and prepares for the token and the video source access.
S406:生成视频源访问令牌S406: Generate a video source access token
视频播放服务程序根据访问该虚拟桌面的当前终端IP地址、终端MAC地址、登陆桌面云的账号信息、播放的视频源信息、播放时间点等信息生成该视频源访问令牌,该令牌针对每个视频源的每一次播放操作都具备唯一性无法伪造。根据视频源的长度限定令牌的时效性,超过设定的时限后令牌失效。令牌失效后如果用户还需要播放该视频则由终端播放器根据历史令牌申请新的令牌。视频源播放完成后该令牌自动失效。The video playing service program generates the video source access token according to the current terminal IP address, the terminal MAC address, the account information of the login desktop cloud, the played video source information, the playing time point, and the like, and the token is generated for each virtual desktop. Each playback operation of a video source is unique and cannot be forged. The timeliness of the token is limited according to the length of the video source, and the token expires after the set time limit is exceeded. After the token expires, if the user still needs to play the video, the terminal player requests a new token based on the history token. The token is automatically invalidated after the video source has finished playing.
生成后的访问令牌由视频播放服务程序管控,加密存储在虚拟桌面内。The generated access token is controlled by the video playback service program and stored in the virtual desktop.
当终端播放器访问需要播放的视频源时需要提供对应视频源的有效令牌,如果令牌无效则禁止访问视频源,保障该用户虚拟桌面内视频源等信息安全防止非法访问,如果令牌时效则终端播放器可根据历史令牌申请新的令牌。When the terminal player accesses the video source to be played, it needs to provide a valid token corresponding to the video source. If the token is invalid, the access to the video source is prohibited, and the information such as the video source in the virtual desktop of the user is secured to prevent unauthorized access. The terminal player can then apply for a new token based on the history token.
S408:共享视频源S408: Shared video source
视频播放服务程序可通过HTTP、FTP、NetBIOS等网络文件共享协议以及RTP、RSVP、RTSP等多媒体协议共享视频源。管理员可根据网络端口开放情况、视频源格式等信息设置视频源共享所支持协议类型,具体协议由终端视频播放器和虚拟桌面视频播放服务协商并达成一致。The video playback service program can share video sources through network file sharing protocols such as HTTP, FTP, NetBIOS, and multimedia protocols such as RTP, RSVP, and RTSP. The administrator can set the type of protocol supported by the video source sharing according to the network port open condition and the video source format. The specific protocol is negotiated and agreed by the terminal video player and the virtual desktop video playback service.
视频播放服务程序生成该视频源的网络访问URL地址。The video playback service program generates a network access URL address for the video source.
视频播放服务程序启用对该视频源访问权限控制,拥有合法有效令牌的终端播放器可正常访问否则无法访问到共享的视频源。The video playback service program enables access control of the video source, and the terminal player with the legally valid token can access normally or cannot access the shared video source.
S410:传输视频源信息及访问令牌S410: transmitting video source information and access token
加密的访问令牌、视频源URL地址经由桌面接入协议传输给终端。The encrypted access token and the video source URL address are transmitted to the terminal via the desktop access protocol.
S412:启动终端视频播放器播放视频S412: Start the terminal video player to play the video
终端收到视频源URL、访问令牌后,启动终端播放器访问该视频源URL,并把访问令牌作为参数传递给虚拟桌面内的视频播放服务程序。After receiving the video source URL and the access token, the terminal starts the terminal player to access the video source URL, and transmits the access token as a parameter to the video playing service program in the virtual desktop.
终端视频播放器根据用户播放进度要求及快进、后退等动作从虚拟桌面读取视频源并进行播放。 The terminal video player reads the video source from the virtual desktop and plays it according to the user's playback progress requirements and fast forward, backward, and the like.
用户播放过程中暂停播放时间较长或者其他操作导致当前令牌失效时,终端播放器根据历史令牌向虚拟桌面内的视频播放服务程序申请新的访问令牌并继续播放。When the user pauses playing for a long time during playback or other operations cause the current token to expire, the terminal player applies for a new access token to the video playback service program in the virtual desktop according to the historical token and continues to play.
视频源播放结束后,终端播放器通知虚拟桌面内的视频播放服务程序取消当前视频源的访问令牌并结束视频文件共享。After the video source is played, the terminal player notifies the video playback service program in the virtual desktop to cancel the access token of the current video source and end the video file sharing.
总体来说,上述优选实施例解决了桌面云播放高清晰度视频(例如1080P全高清及2K)时网络及计算性能瓶颈:现有桌面云环境中播放视频消耗虚拟桌面大量的计算资源导致每台服务器上同时播放视频的数量受限,甚至码率较高的高清视频无法流畅播放,提供了一种新的视频播放技术,把视频的原始文件通过网络共享方式共享给当前用户的终端,终端获取该网络视频后进行播放,给用户更好的多媒体体验,并且每台服务器上同时播放的视频数量可比普通桌面云更多。In general, the above preferred embodiment solves the network and computing performance bottleneck when the desktop cloud plays high-definition video (for example, 1080P full HD and 2K): playing video in the existing desktop cloud environment consumes a large amount of computing resources of the virtual desktop, resulting in each The number of videos played simultaneously on the server is limited. Even high-definition video with high bit rate cannot be played smoothly. A new video playback technology is provided. The original file of the video is shared to the current user's terminal through network sharing. The network video is played back to give the user a better multimedia experience, and the number of videos played simultaneously on each server can be more than that of a normal desktop cloud.
在本实施例中还提供了一种桌面云视频的播放处理装置,用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述,下面对该装置中涉及到的模块进行说明。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图5为根据本发明实施例的云视频的播放处理装置的结构框图。如图5所示,该装置包括:In the embodiment, a playback device for the desktop cloud video is provided, which is used to implement the above-mentioned embodiments and preferred embodiments. The descriptions of the modules involved in the device are described below. . As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated. FIG. 5 is a structural block diagram of a cloud video playback processing apparatus according to an embodiment of the present invention. As shown in Figure 5, the device includes:
发起模块50,设置为通过第一通道发起对待播放视频的访问,该第一通道支持桌面云协议;The initiating module 50 is configured to initiate access to the video to be played through the first channel, where the first channel supports the desktop cloud protocol;
读取模块52,与发起模块50连接,设置为通过第二通道读取待播放视频并播放,其中,第二通道为专用于传输视频文件的通道。The reading module 52 is connected to the initiating module 50, and is configured to read and play the video to be played through the second channel, wherein the second channel is a channel dedicated to transmitting the video file.
图6为根据本发明实施例的云视频的播放处理装置的再一结构框图,如图6所示,上述装置还包括:接收模块54,与读取模块52连接,设置为通过第一通道接收来自虚拟桌面的访问地址,其中,该访问地址用于指示待播放视频的地址;读取模块52,还设置为根据访问地址读取待播放视频并播放。FIG. 6 is a block diagram of still another structure of a cloud video playback processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus further includes: a receiving module 54 connected to the reading module 52 and configured to receive through the first channel. An access address from the virtual desktop, wherein the access address is used to indicate an address of a video to be played; and the reading module 52 is further configured to read the video to be played and play according to the access address.
可选地,接收模块54,还设置为接收待播放视频的访问令牌,该访问令牌唯一标识对待播放视频的每次操作。Optionally, the receiving module 54 is further configured to receive an access token of the video to be played, the access token uniquely identifying each operation of the video to be played.
通过上述各个模块的综合作用,采用通过第一通道将发起视频的访问,而通过第二通道读取请求的视频的技术方案,解决了桌面云环境下无法播放更高清的视频以及在虚拟桌面中播放视频时消耗较大虚拟机与物理服务器的计算资源以及的网络带宽的 问题,可有效节约计算资源、效降低网络带宽消耗,提升用户在虚拟桌面内的多媒体体验。Through the comprehensive function of each of the above modules, the technical solution that the video is accessed through the first channel and the requested video is read through the second channel solves the problem that the higher-definition video cannot be played in the desktop cloud environment and in the virtual desktop. Consumption of large virtual machines and physical server computing resources and network bandwidth when playing video The problem can effectively save computing resources, reduce network bandwidth consumption, and improve the multimedia experience of users in the virtual desktop.
采用本发明实施例上述提供的桌面云视频的播放处理方法及装置,没有带内视频播放的视频解码、协议编码、协议解码过程,没有媒体重定向的读取并分析视频源过程。虚拟桌面仅需要传输视频源及负责与此相关的安全工作,大大降低了虚拟桌面计算资源的消耗,可使一台服务器上的虚拟桌面同时播放视频的数量增加,同时节约网络带宽。The method and device for playing desktop cloud video provided by the foregoing embodiment of the present invention have no video decoding, protocol encoding, and protocol decoding process of in-band video playback, and the process of reading and analyzing the video source without media redirection. Virtual desktops only need to transmit video sources and are responsible for the security work related to this. This greatly reduces the consumption of virtual desktop computing resources, and increases the number of simultaneous virtual video playback on a server, while saving network bandwidth.
综上所述,本发明实施例实现了以下有益效果:解决了桌面云环境下无法播放更高清的视频以及在虚拟桌面中播放视频时消耗较大虚拟机与物理服务器的计算资源以及的网络带宽的问题,可有效节约计算资源、效降低网络带宽消耗,提升用户在虚拟桌面内的多媒体体验。In summary, the embodiments of the present invention achieve the following beneficial effects: solving the problem that the higher-definition video cannot be played in the desktop cloud environment, and the computing resources and the network bandwidth of the virtual server and the physical server are consumed when playing the video in the virtual desktop. The problem can effectively save computing resources, reduce network bandwidth consumption, and improve the multimedia experience of users in the virtual desktop.
并且,没有带内视频播放的视频解码、协议编码、协议解码过程,没有媒体重定向的读取并分析视频源过程。虚拟桌面仅需要传输视频源及负责与此相关的安全工作,大大降低了虚拟桌面计算资源的消耗,可使一台服务器上的虚拟桌面同时播放视频的数量增加,同时节约网络带宽。Moreover, there is no video decoding, protocol encoding, and protocol decoding process for in-band video playback, and there is no media redirection to read and analyze the video source process. Virtual desktops only need to transmit video sources and are responsible for the security work related to this. This greatly reduces the consumption of virtual desktop computing resources, and increases the number of simultaneous virtual video playback on a server, while saving network bandwidth.
在另外一个实施例中,还提供了一种软件,该软件用于执行上述实施例及优选实施方式中描述的技术方案。In another embodiment, software is also provided for performing the technical solutions described in the above embodiments and preferred embodiments.
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。In another embodiment, a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
基于本发明实施例提供的上述方案,采用通过第一通道将发起视频的访问,而通过第二通道读取请求的视频的技术方案,解决了桌面云环境下无法播放更高清的视频以及在虚拟桌面中播放视频时消耗较大虚拟机与物理服务器的计算资源以及的网络带宽的问题,可有效节约计算资源、效降低网络带宽消耗,提升用户在虚拟桌面内的多媒体体验。 According to the foregoing solution provided by the embodiment of the present invention, the technical solution that the video is accessed through the first channel and the requested video is read through the second channel solves the problem that the higher-definition video cannot be played in the desktop cloud environment and is in the virtual The problem of consuming large virtual machine and physical server computing resources and network bandwidth when playing video on the desktop can effectively save computing resources, reduce network bandwidth consumption, and improve the multimedia experience of users in the virtual desktop.

Claims (10)

  1. 一种桌面云视频的播放处理方法,包括:A method for playing and processing desktop cloud video, comprising:
    通过第一通道发起对所述待播放视频的访问,该第一通道支持桌面云协议;Initiating access to the to-be-played video by using a first channel, where the first channel supports a desktop cloud protocol;
    通过第二通道从虚拟桌面读取所述待播放视频并播放,其中,所述第二通道为专用于传输视频文件的通道。The to-be-played video is read and played from the virtual desktop through the second channel, wherein the second channel is a channel dedicated to transmitting the video file.
  2. 根据权利要求1所述的方法,其中,终端通过第一通道发起对所述待播放视频的访问之前,包括:The method according to claim 1, wherein before the terminal initiates access to the to-be-played video through the first channel, the method includes:
    通过所述第一通道接收来自虚拟桌面的访问地址,其中,该访问地址用于指示待播放视频的地址;Receiving, by the first channel, an access address from a virtual desktop, where the access address is used to indicate an address of a video to be played;
    根据所述访问地址读取所述待播放视频并播放。Reading the to-be-played video and playing according to the access address.
  3. 根据权利要求2所述的方法,其中,接收来自虚拟桌面的访问地址时,包括:The method of claim 2, wherein when receiving an access address from the virtual desktop, the method comprises:
    接收所述待播放视频的访问令牌,该访问令牌唯一标识对所述待播放视频的每次操作。Receiving an access token of the to-be-played video, the access token uniquely identifying each operation of the to-be-played video.
  4. 根据权利要求2所述的方法,其中,根据所述访问地址通过第二通道从所述虚拟桌面读取所述待播放视频,包括:The method of claim 2, wherein reading the to-be-played video from the virtual desktop through the second channel according to the access address comprises:
    根据所述访问地址和所述访问令牌读取所述待播放视频。Reading the to-be-played video according to the access address and the access token.
  5. 根据权利要求4所述的方法,其中,所述访问令牌通过以下方式生成:The method of claim 4 wherein the access token is generated in the following manner:
    根据以下至少之一信息生成所述访问令牌:所述终端的终端标识、所述虚拟桌面的账户信息、所述待播放视频文件的指定信息。The access token is generated according to at least one of the following: a terminal identifier of the terminal, account information of the virtual desktop, and specified information of the video file to be played.
  6. 根据权利要求5所述的方法,其中,所述终端标识包括以下至少之一:所述终端的IP地址、所述终端的媒体接入控制MAC地址;和/或所述指定信息包括:所述待播放视频的视频源信息、所述待播放视频的播放进度信息、对所述待播放视频在播放过程中的操作信息。The method according to claim 5, wherein the terminal identifier comprises at least one of: an IP address of the terminal, a media access control MAC address of the terminal; and/or the specifying information includes: Video source information of the to-be-played video, playback progress information of the to-be-played video, and operation information of the to-be-played video during playback.
  7. 根据权利要求3-6任一项所述的方法,其中,所述访问令牌的有效时间根据所述视频的时间长度确定。A method according to any of claims 3-6, wherein the validity time of the access token is determined according to the length of time of the video.
  8. 一种桌面云视频的播放处理装置,包括: A playback device for desktop cloud video, comprising:
    发起模块,设置为通过第一通道发起对所述待播放视频的访问,该第一通道支持桌面云协议;An initiating module is configured to initiate access to the to-be-played video by using a first channel, where the first channel supports a desktop cloud protocol;
    读取模块,设置为通过第二通道读取所述待播放视频并播放,其中,所述第二通道为专用于传输视频文件的通道。The reading module is configured to read and play the to-be-played video through the second channel, where the second channel is a channel dedicated to transmitting a video file.
  9. 根据权利要求8所述的装置,其中,The device according to claim 8, wherein
    所述装置还包括:接收模块,设置为通过所述第一通道接收来自虚拟桌面的访问地址,其中,该访问地址用于指示待播放视频的地址;The device further includes: a receiving module, configured to receive an access address from the virtual desktop through the first channel, where the access address is used to indicate an address of a video to be played;
    所述读取模块,还设置为根据所述访问地址读取所述待播放视频并播放。The reading module is further configured to read the to-be-played video and play according to the access address.
  10. 根据权利要求9所述的装置,其中,所述接收模块,还设置为接收所述待播放视频的访问令牌,该访问令牌唯一标识对所述待播放视频的每次操作。 The apparatus according to claim 9, wherein the receiving module is further configured to receive an access token of the to-be-played video, the access token uniquely identifying each operation of the to-be-played video.
PCT/CN2014/086762 2014-06-23 2014-09-17 Method and apparatus for playing desktop cloud video WO2015196590A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410284296.4 2014-06-23
CN201410284296.4A CN105282624A (en) 2014-06-23 2014-06-23 Desktop cloud video play processing method and device

Publications (1)

Publication Number Publication Date
WO2015196590A1 true WO2015196590A1 (en) 2015-12-30

Family

ID=54936581

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/086762 WO2015196590A1 (en) 2014-06-23 2014-09-17 Method and apparatus for playing desktop cloud video

Country Status (2)

Country Link
CN (1) CN105282624A (en)
WO (1) WO2015196590A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399257A (en) * 2019-08-16 2021-02-23 中兴通讯股份有限公司 Cloud desktop video playing method, server, terminal and storage medium
CN114356465A (en) * 2020-09-29 2022-04-15 华为云计算技术有限公司 Desktop cloud system and related methods, devices, equipment and media

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955702B (en) * 2016-06-28 2019-03-26 广州三星通信技术研究有限公司 Wireless audio devices and the method that music is played in wireless audio devices
CN106888385A (en) * 2017-01-17 2017-06-23 武汉噢易云计算股份有限公司 Video broadcasting method and system of the client under virtualized environment
CN107018137A (en) * 2017-04-07 2017-08-04 成都长天信息技术有限公司 A kind of Flash reorientation methods and device
CN107959824A (en) * 2017-10-31 2018-04-24 深信服科技股份有限公司 A kind of monitor video processing method, physical server and storage medium
CN109005433B (en) * 2018-09-04 2019-05-21 北京邮电大学 A kind of video cloud service platform architecture and implementation method
CN109547824B (en) * 2018-11-27 2020-09-15 亦非云互联网技术(上海)有限公司 Video service method and system, storage medium and VPN server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090323799A1 (en) * 2008-06-25 2009-12-31 Stmicroelectronics, Inc. System and method for rendering a high-performance virtual desktop using compression technology
CN102377775A (en) * 2011-10-14 2012-03-14 深圳市京华科讯科技有限公司 Adaptive transmission protocol stack and processing method and system thereof
CN102547394A (en) * 2011-12-27 2012-07-04 福建升腾资讯有限公司 Universal audio/video redirection method for cloud access devices under VDI (Video Desktop Infrastructure) environment
CN103139202A (en) * 2013-01-24 2013-06-05 中兴通讯股份有限公司 Thin client, communication method and device thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025760B (en) * 2009-09-21 2015-11-25 华为技术有限公司 The media transmission method of HTTP and device
CN102685086A (en) * 2011-04-14 2012-09-19 天脉聚源(北京)传媒科技有限公司 File access method and system
CN102333353A (en) * 2011-10-29 2012-01-25 华为技术有限公司 Media content accessing method and device
CN102547402A (en) * 2011-12-05 2012-07-04 中兴通讯股份有限公司 Method and device for releasing audio-video data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090323799A1 (en) * 2008-06-25 2009-12-31 Stmicroelectronics, Inc. System and method for rendering a high-performance virtual desktop using compression technology
CN102377775A (en) * 2011-10-14 2012-03-14 深圳市京华科讯科技有限公司 Adaptive transmission protocol stack and processing method and system thereof
CN102547394A (en) * 2011-12-27 2012-07-04 福建升腾资讯有限公司 Universal audio/video redirection method for cloud access devices under VDI (Video Desktop Infrastructure) environment
CN103139202A (en) * 2013-01-24 2013-06-05 中兴通讯股份有限公司 Thin client, communication method and device thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399257A (en) * 2019-08-16 2021-02-23 中兴通讯股份有限公司 Cloud desktop video playing method, server, terminal and storage medium
CN112399257B (en) * 2019-08-16 2024-03-05 中兴通讯股份有限公司 Cloud desktop video playing method, server, terminal and storage medium
CN114356465A (en) * 2020-09-29 2022-04-15 华为云计算技术有限公司 Desktop cloud system and related methods, devices, equipment and media

Also Published As

Publication number Publication date
CN105282624A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
WO2015196590A1 (en) Method and apparatus for playing desktop cloud video
US9787747B2 (en) Optimizing video clarity
US8516144B2 (en) Startup bitrate in adaptive bitrate streaming
Kesavan et al. An investigation on adaptive HTTP media streaming Quality-of-Experience (QoE) and agility using cloud media services
US20230254357A1 (en) Fast encoding of live streaming media content
WO2017063442A1 (en) Private cloud desktop system, and method and apparatus thereof for implementing service
US9015779B2 (en) Streaming video server with segment length control and methods for use therewith
WO2016197875A1 (en) Data processing method and device applicable to service-providing device
US20110145431A1 (en) Systems and methods for remotely presenting a multimedia stream
US8902967B2 (en) Systems and methods for distributed media stream transcoding and sharing
US9239608B2 (en) Data stream resource management
ZA200404021B (en) Resolving a distributed topology to stream data.
JP2015520546A (en) Multimedia video data transmission and reception method and corresponding apparatus
US11563987B2 (en) Video start-time reduction employing reductive edging principles
US10230812B1 (en) Dynamic allocation of subtitle packaging
WO2017101370A1 (en) Live video processing method and apparatus
WO2023246927A1 (en) Cloud desktop system, network redirection method, and device and storage medium
US9294821B2 (en) Scrubbing noise remover and methods for use therewith
WO2015077983A1 (en) Device and method for playing media in home network
US10231004B2 (en) Network recording service
US20130024543A1 (en) Methods for generating multiple responses to a single request message and devices thereof
WO2017041564A1 (en) Method and system for realizing set top box on-demand function
US11870830B1 (en) Embedded streaming content management
US10854241B2 (en) Generation of media diff files
WO2014166217A1 (en) Method and terminal for transmitting multimedia service

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

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

Country of ref document: EP

Kind code of ref document: A1