Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN102695094 B
Publication typeGrant
Application numberCN 201210150969
Publication date10 Dec 2014
Filing date15 May 2012
Priority date15 May 2012
Also published asCN102695094A
Publication number201210150969.8, CN 102695094 B, CN 102695094B, CN 201210150969, CN-B-102695094, CN102695094 B, CN102695094B, CN201210150969, CN201210150969.8
Inventors张辉
Applicant福建升腾资讯有限公司
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
Method for carrying out software and hardware integrated audio/video redirection in VDI (Virtual Device Interface) environment
CN 102695094 B
Abstract  translated from Chinese
本发明提供VDI环境下音视频重定向的方法,包括:用户通过客户端登录虚拟桌面,并进行视频播放操作;服务器端在建立数据源和分离器后,优先匹配并加载重定向器;开始播放时,重定向器将对视频数据进行选择性处理:若编码格式为原始视频编码格式,则将数据送入数据压缩器,将数据压缩成客户端可解码的媒体格式;若编码格式为客户端支持的可解码格式,则将数据由服务端通信模块传输至客户端通信模块;若非以上两种编码格式,则拒绝接收,加载服务器端解码器,将数据进行解压处理;客户端播放组件将播放画面在虚拟桌面进行显示播放。 The present invention provides a VDI environment audio and video redirection method, comprising: a user login through client virtual desktop and video playback operation; the server after establishing a data source and splitter, priority and load matching redirector; start playing , the redirector will be selective processing of video data: If the encoding format to the original video coding format, the data is sent to the data compressor, the compressed data into the client can decode media formats; if the encoding format for the client Supported formats can be decoded, the data is transmitted from the server to the client communication module communication module; if not more than two coding format, refused to accept, load on the server side decoder decompresses the data processing; client playback component will play virtual desktop display screen playback. 本发明使得音视频重定向技术对多媒体编码格式的支持更加通用,提升720P及以上标清或高清视频的播放流畅度。 The present invention enables audio and video redirection technical support for multimedia encoding format more versatile, and more upgrade 720P SD or HD video playback smoother.
Claims(2)  translated from Chinese
1.一种VDI环境下软硬件一体化音视频重定向的方法,其特征在于:包括如下步骤: 步骤1:用户通过客户端远程登录VDI环境下的虚拟桌面,并进行视频播放操作; 步骤2:服务器端建立播放链路,在建立数据源和分离器后,优先匹配并加载重定向器,完成播放链路的建立; 所述数据源:是指音视频数据源,包括文件、网络数据; 所述分离器:负责解析媒体文件,并从中分离出音、视频数据流; 所述重定向器:负责数据的处理及输送;包括数据压缩器和第一通信模块;所述数据压缩器:将收到的原始格式音视频数据进行实时压缩处理,压缩的格式选取客户端支持的硬解码或软解码媒体格式,将压缩后的数据送至第一通信模块;所述第一通信模块:将从数据压缩器接收到的数据,通过TCP传输协议传输至客户端的第二通信模块,并接收从客户端的第二通信模块传输的控制命令;所述控制命令包括:播放开始、播放快进、播放快退、播放停止的命令; 步骤3:开始播放时,所述重定向器将对视频数据进行选择性处理:若编码格式为原始视频编码格式,则转入步骤4 ;若编码格式为客户端支持的硬件解码或软件解码格式,则转入步骤6 ;若非以上两种编码格式,则转入步骤5 ; 步骤4:将数据送入数据压缩器,将数据压缩成客户端可硬解的或可软解码的媒体格式,转入步骤6 ; 步骤5:拒绝接收,加载服务器端第一解码器,将数据进行解压处理,转入步骤3 ; 步骤6:将数据由服务端的第一通信模块通过TCP传输协议传输至客户端的第二通信模块; 步骤1:客户端的第二通信模块接收到数据后,送至客户端播放组件; 其中所述客户端的第二通信模块:负责将从服务端的第一通信模块接收到的媒体数据流送至客户端播放组件处理,将从播放组件返回的控制命令通过TCP传输协议传输至服务器端第一通信模块; 步骤8:播放组件调用硬解码器或第二解码器对数据进行解码,将播放画面在虚拟桌面进行显示播放。 A VDI environment at software and hardware integration of audio and video redirection method comprising: the following steps: Step 1: The user via telnet client VDI virtual desktop environments, and video playback operation; Step 2 : Server to establish broadcast link, in the establishment of a data source and splitter, priority and load matching redirector, complete the establishment of broadcast link; the data source: refers to audio and video data sources, including file, network data; The separator: responsible for parsing media files and isolated audio and video data stream; the redirector: responsible for data processing and delivery; including data compression and a first communication module; the data compressor: the original format of audio and video data received in real-time compression, the compression format chosen client supports hardware decoding or soft decoding media format, the compressed data to the first communication module; the first communication module: from Data compression is the received data, TCP transport protocol to transfer to the client through the second communication module, and communication module transmission received from the second client control command; the control commands include: starting playback, Play Forward, Play Forward rewind, play stop command; Step 3: When you start playing, the redirector will be selective processing of video data: If the encoding format to the original video coding format, go to Step 4; if the encoding format for the client support The hardware decoder or software decoder format, go to Step 6; if not more than two encoding formats, then go to Step 5; Step 4: Put data into the data compressor compresses the data into the client may or hardware solution soft decoding of media formats, go to Step 6; Step 5: refuse to accept, load the server end of the first decoder, the data decompression process, go to Step 3; Step 6: Using data from the first communication module server via TCP Step 1; transport protocol to transfer to the client's second communication modules: a second communication module client after receiving the data, to the client playback component; wherein the second communication module of the client: a first communication from the service side is responsible module receives media data stream to the client playback component processing returns from the playback component control commands via TCP transport protocol to transmit to the server the first communication module; Step 8: Play hard component calls decoder or the second decoder decode the data, the picture will be played in the virtual desktop display playback.
2.如权利要求1所述的一种VDI环境下软硬件一体化音视频重定向的方法,其特征在于:所述优先匹配并加载重定向器具体是指:利用directshow框架的机制,针对每一个filter,都设置一个优先级,重定向器被设置为最高的优先级,故总是优先被加载匹配。 2. Under a VDI environment, one of the software and hardware integration of audio and video redirection method of claim, wherein: the first-fit and load redirector in particular: the use of mechanisms directshow framework for each a filter, have set a priority, the redirector is set to the highest priority, so the priority is always loaded match.
Description  translated from Chinese
VDI环境下软硬件一体化音视频重定向的方法 The method of hardware and software integration Musical video redirection of VDI environment

【技术领域】 TECHNICAL FIELD

[0001] 本发明涉及计算机音视频技术领域,尤其涉及一种VDI环境下软硬件一体化音视频重定向的方法。 [0001] The present invention relates to computer audio and video technology, and in particular the integration of hardware and software audio and video under a VDI environment redirection methods.

【背景技术】 BACKGROUND OF THE INVENTION

[0002] VDI,英文全称Virtual Desktop Infrastructure,即虚拟桌面基础架构。 [0002] VDI, English stands for Virtual Desktop Infrastructure, or virtual desktop infrastructure. 它不是给每个用户都配置一台运行Windows XP或Vista的桌面PC,而是通过在数据中心的服务器运行Windows XP,将你的桌面进行虚拟化;用户通过来自客户端设备(客户机或是家用PC)的客户计算协议与虚拟桌面进行连接,用户访问他们的桌面就像是访问传统的本地安装桌面一样。 It's not for every user to configure a computer running Windows XP or Vista desktop PC, but in the data center server running Windows XP, your desktop virtualization; user from a client device (client or Home PC) client computing and virtual desktop connection protocol, users access their desktop just like a traditional locally installed desktops to access the same.

[0003] 在VDI环境下的音视频重定向技术,是通过将截获的服务器端音视频数据重定向至客户端,然后由客户端进行解码和渲染来完成播放的。 [0003] In the VDI environment audio and video redirection technologies, is intercepted by the server-side redirect the audio and video data to the client, then the client for decoding and rendering to complete the play. 音视频重定向技术的应用,使得在VDI环境下的音视频播放更加流畅,极大地提升了虚拟桌面中多媒体应用的用户体验。 Application of audio and video redirection technology, making VDI environment in audio and video playback smoother, greatly enhancing the virtual desktop user experience for multimedia applications. 目前,音视频重定向技术存在以下几个缺点:1、媒体格式的支持缺乏通用性。 Currently, audio and video redirection technology there are several disadvantages: 1, supports media formats lack versatility. 在原有技术的实现下,针对服务器端不同编码的音视频数据,客户端均需要对应的解码器进行解码,而客户端常常缺少某些媒体格式的解码器,音视频重定向技术受到严重的限制;2、在原有实现下,由于客户端音视频数据的解码极大的消耗了CPU等资源,使得720P及以上标清或高清视频无法流畅播放。 In the realization of the original technology for server-side coding different audio and video data, the client require corresponding decoder for decoding, and the client is often missing a codec certain media formats, audio and video redirection technology is severely limited ; 2, in the original implementation, since the client decoding audio and video data consumed enormous resources such as CPU, making the 720P and above standard or high definition video is not smooth playback.

【发明内容】 SUMMARY OF THE INVENTION

[0004] 本发明要解决的技术问题,在于提供一种VDI环境下音视频重定向的方法,使得音视频重定向技术对多媒体编码格式的支持更加通用,提升720P及以上标清或高清视频的播放流畅度。 [0004] The technical problem to be solved by the present invention is to provide audio and video under a VDI environment redirection methods, making audio and video redirection technical support for multimedia encoding format more versatile, and more upgrade 720P SD or HD video playback fluency.

[0005] 本发明是这样实现的: [0005] The present invention is implemented as follows:

[0006] 步骤1:用户通过客户端远程登录VDI环境下的虚拟桌面,并进行视频播放操作; [0006] Step 1: The user via telnet client VDI virtual desktop environments, and operate video playback;

[0007] 步骤2:服务器端建立播放链路,在建立数据源和分离器后,优先匹配并加载重定向器,完成播放链路的建立; [0007] Step 2: server set up broadcast link, in the establishment of a data source and splitter, priority and load redirector match, complete the establishment of broadcast link;

[0008] 所述数据源:是指音视频数据源,包括文件、网络数据; [0008] The data source: refers to audio and video data sources, including file, network data;

[0009] 所述分离器:负责解析媒体文件,并从中分离出音、视频数据流; [0009] The separator: responsible for parsing the media file, and isolated from the audio and video data stream;

[0010] 所述重定向器:负责数据的处理及输送;包括数据压缩器和第一通信模块;所述数据压缩器:将收到的原始格式音视频数据进行实时压缩处理,压缩的格式选取客户端支持的硬解码或软解码媒体格式,将压缩后的数据送至第一通信模块;所述第一通信模块:将从数据压缩器接收到的数据,通过TCP传输协议传输至客户端的第二通信模块,并接收从客户端的第二通信模块传输的控制命令;所述控制命令包括:播放开始、播放快进、播放快退、播放停止的命令; [0010] The redirector: responsible for data processing and delivery; including data compression and a first communication module; the data compressor: original format of audio and video data to be received in real-time compression, compressed format selection client supports hardware decoding or soft decoding of media formats, the compressed data to the first communication module; the first communication module: from the data received by the data compression, TCP transport protocol to transfer through to the client first second communication module, and communication module transmission received from the second client control command; the control commands include: playback starts, play fast forward, play, rewind, play stop command;

[0011] 步骤3:开始播放时,所述重定向器将对视频数据进行选择性处理:若编码格式为原始视频编码格式,则转入步骤4 ;若编码格式为客户端支持的硬件解码或软件解码格式,则转入步骤6 ;若非以上两种编码格式,则转入步骤5 ; [0011] Step 3: When you start playing, the redirector will be selective processing of video data: If the encoding format to the original video coding format, go to Step 4; hardware decoding coded format if supported by the client or software decoding format, go to Step 6; if not more than two encoding formats, then go to Step 5;

[0012] 步骤4:将数据送入数据压缩器,将数据压缩成客户端可硬解的或可软解码的媒体格式,转入步骤6; [0012] Step 4: The data into the data compressor compresses the data into client solutions can be hard or soft decoding of media formats, go to Step 6;

[0013] 步骤5:拒绝接收,加载服务器端第一解码器,将数据进行解压处理,转入步骤3 ; [0013] Step 5: refuse to accept, load the server end of the first decoder, the data decompression process, go to Step 3;

[0014] 步骤6:将数据由服务端的第一通信模块通过TCP传输协议传输至客户端的第二通信模块; [0014] Step 6: The data from the first communication module is transmitted to the service side of the second communication module via the client TCP transport protocol;

[0015] 步骤7:客户端的第二通信模块接收到数据后,送至客户端播放组件; [0015] Step 7: the second communication module after the client receives the data sent to the client player component;

[0016] 其中所述客户端的第二通信模块:负责将从服务端的第一通信模块接收到的媒体数据流送至客户端播放组件处理,将从播放组件返回的控制命令通过TCP传输协议传输至服务器端第一通信模块; [0016] wherein the second communication module of the client: responsible from the service side of the first communication module receives media data stream to the client playback component processing returns from the playback component control commands transmitted to the TCP transport protocol Server-side first communication module;

[0017] 步骤8:播放组件调用硬解码器或第二解码器对数据进行解码,将播放画面在虚拟桌面进行显示播放。 [0017] Step 8: Play hard component calls decoder or the second decoder to decode the data, the playback screen will be displayed in the virtual desktop to play.

[0018] 进一步地,所述优先匹配并加载重定向器具体是指:利用directshow框架的机制,针对每一个filter,都设置一个优先级,重定向器被设置为最高的优先级,故总是优先被加载匹配。 [0018] Further, the priority match and load redirector in particular: the use of mechanisms directshow framework for each filter, have set a priority, the redirector is set to the highest priority, it is always Priority is loaded match.

[0019] 本发明具有如下优点:本发明在VDI环境下通过在服务器端将媒体数据压缩成统一格式,重定向至客户端进行解码,使音视频重定向技术对媒体格式的支持更加通用;结合客户端硬件解码能力,在客户端对媒体数据进行硬件解码,使音视频重定向技术中720P及以上标清或高清视频流畅播放。 [0019] The present invention has the following advantages: the present invention in VDI environment through the media on the server side will compress data into a unified format, redirected to the client for decoding, audio and video redirection technologies enable support for media formats more common; binding Client hardware decoding capabilities, the client hardware decoding media data, audio and video redirection technologies enable more than 720P SD or HD video and smooth playback.

【附图说明】 BRIEF DESCRIPTION

[0020] 图1为本发明方法中各模块进行通讯的结构框图。 [0020] FIG. 1 is a block diagram of each module communication method invention.

[0021] 图2为本发明方法流程示意图。 [0021] FIG. 2 is a schematic flow diagram of the inventive method.

【具体实施方式】 [DETAILED DESCRIPTION]

[0022] 请参阅图1和图2所示,本发明的VDI环境下音视频重定向的方法,包括如下步骤: [0022] See Figure 1 and Figure 2, the present invention under the VDI environment audio and video redirection method comprising the steps of:

[0023] 步骤1:用户通过客户端远程登录VDI环境下的虚拟桌面,并进行视频播放操作; [0023] Step 1: The user via telnet client VDI virtual desktop environments, and operate video playback;

[0024] 步骤2:服务器端建立播放链路,在建立数据源和分离器后,优先匹配并加载重定向器,完成播放链路的建立;所述优先匹配并加载重定向器具体是指:利用directshow框架的机制,针对每一个filter,都设置一个优先级,重定向器被设置为最高的优先级,故总是优先被加载匹配; [0024] Step 2: server set up broadcast link, in the establishment of a data source and splitter, priority and load redirector match, complete the establishment of broadcast link; the priority matching and load redirector in particular: use directshow framework of the mechanism, for each filter, have set a priority, the redirector is set to the highest priority, so the priority is always loaded matches;

[0025] 所述数据源:是指音视频数据源,包括文件、网络数据; [0025] The data source: refers to audio and video data sources, including file, network data;

[0026] 所述分离器:负责解析媒体文件,并从中分离出音、视频数据流; [0026] The separator: responsible for parsing the media file, and isolated from the audio and video data stream;

[0027] 所述重定向器:负责数据的处理及输送;包括数据压缩器和第一通信模块;所述数据压缩器:将收到的原始格式音视频数据进行实时压缩处理,压缩的格式选取客户端支持的硬解码或软解码媒体格式,将压缩后的数据送至第一通信模块;所述第一通信模块:将从数据压缩器接收到的数据,通过TCP传输协议传输至客户端的第二通信模块,并接收从客户端的第二通信模块传输的控制命令;所述控制命令包括:播放开始、播放快进、播放快退、播放停止的命令; [0027] The redirector: responsible for data processing and delivery; including data compression and a first communication module; the data compressor: original format of audio and video data to be received in real-time compression, compressed format selection client supports hardware decoding or soft decoding of media formats, the compressed data to the first communication module; the first communication module: from the data received by the data compression, TCP transport protocol to transfer through to the client first second communication module, and communication module transmission received from the second client control command; the control commands include: playback starts, play fast forward, play, rewind, play stop command;

[0028] 步骤3:开始播放时,所述重定向器将对视频数据进行选择性处理:若编码格式为原始视频编码格式,则转入步骤4 ;若编码格式为客户端支持的硬件解码或软件解码格式,则转入步骤6 ;若非以上两种编码格式,则转入步骤5 ; [0028] Step 3: When you start playing, the redirector will be selective processing of video data: If the encoding format to the original video coding format, go to Step 4; hardware decoding coded format if supported by the client or software decoding format, go to Step 6; if not more than two encoding formats, then go to Step 5;

[0029] 步骤4:将数据送入数据压缩器,将数据压缩成客户端可硬解的或可软解码的媒体格式,转入步骤6; [0029] Step 4: The data into the data compressor compresses the data into client solutions can be hard or soft decoding of media formats, go to Step 6;

[0030] 步骤5:拒绝接收,加载服务器端第一解码器,将数据进行解压处理,转入步骤3 ; [0030] Step 5: refuse to accept, load the server end of the first decoder, the data decompression process, go to Step 3;

[0031] 步骤6:将数据由服务端的第一通信模块通过TCP传输协议传输至客户端的第二通信模块; [0031] Step 6: The data from the first communication module is transmitted to the service side of the second communication module via the client TCP transport protocol;

[0032] 步骤7:客户端的第二通信模块接收到数据后,送至客户端播放组件; [0032] Step 7: the second communication module after the client receives the data sent to the client player component;

[0033] 其中所述客户端的第二通信模块:负责将从服务端的第一通信模块接收到的媒体数据流送至客户端播放组件处理,将从播放组件返回的控制命令通过TCP传输协议传输至服务器端第一通信模块; [0033] wherein the second communication module of the client: responsible from the service side of the first communication module receives media data stream to the client playback component processing returns from the playback component control commands transmitted to the TCP transport protocol Server-side first communication module;

[0034] 步骤8:播放组件调用硬解码器或第二解码器对数据进行解码,将播放画面在虚拟桌面进行显示播放。 [0034] Step 8: Play hard component calls decoder or the second decoder to decode the data, the playback screen will be displayed in the virtual desktop to play.

[0035] 本发明在VDI环境下通过在服务器端将媒体数据压缩成统一格式,重定向至客户端进行解码,使音视频重定向技术对媒体格式的支持更加通用;结合客户端硬件解码能力,在客户端对媒体数据进行硬件解码,使音视频重定向技术中720P及以上标清或高清视频流畅播放。 [0035] The present invention is in the VDI environment through the media on the server side will compress data into a unified format, redirected to the client for decoding, audio and video redirection technologies enable support for media formats more common; combined client hardware decoding capabilities, In the client hardware decoding media data, audio and video redirection technologies enable more than 720P SD or HD video and smooth playback.

[0036] 以上所述仅为本发明的较佳实施例,凡依本发明申请专利范围所做的均等变化与修饰,皆应属本发明的涵盖范围。 [0036] The foregoing is only preferred embodiments of the present invention, where the invention is patented under this scope modifications and alterations made, also belong to the scope of the invention.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
CN1705293A *26 May 20047 Dec 2005上海环达计算机科技有限公司Hardware apparatus for terminal redirection
CN101068339A *1 Jun 20077 Nov 2007华为技术有限公司Method, server and user end for realizing video frequency requested program broadcasting-like services
CN101216808A *4 Jan 20079 Jul 2008联想(北京)有限公司Play system and method
CN101552768A *2 Apr 20087 Oct 2009福建升腾资讯有限公司Embedded streaming media playing system
US6553376 *16 Nov 199922 Apr 2003Infolibria, Inc.Efficient content server using request redirection
Classifications
International ClassificationH04N21/4385, H04N21/438
Legal Events
DateCodeEventDescription
26 Sep 2012C06Publication
21 Nov 2012C10Request of examination as to substance
10 Dec 2014C14Granted