CN102695094A - Method for carrying out software and hardware integrated audio/video redirection in VDI (Virtual Device Interface) environment - Google Patents
Method for carrying out software and hardware integrated audio/video redirection in VDI (Virtual Device Interface) environment Download PDFInfo
- Publication number
- CN102695094A CN102695094A CN2012101509698A CN201210150969A CN102695094A CN 102695094 A CN102695094 A CN 102695094A CN 2012101509698 A CN2012101509698 A CN 2012101509698A CN 201210150969 A CN201210150969 A CN 201210150969A CN 102695094 A CN102695094 A CN 102695094A
- Authority
- CN
- China
- Prior art keywords
- data
- client
- video
- communication module
- play
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a method for carrying out audio/video redirection in a VDI (Virtual Device Interface) environment, which comprises the following steps that: a user logs in a virtual desktop by a client and carries out video playing operation; after a data source and a separator are established, a server side preferentially matches and uploads a redirector; when starting to play a video, the redirector carries out selective processing on video data; if a coded format is an original video coded format, the data is fed into a data compressor and the data is compressed into a media format which can be decoded by the client; if the coded format is a decodable format supported by the client, the data is transmitted to a client communication module by a server side communication module; if the coded format is not one of the two coded formats, the data is rejected to receive, a server side decoder is uploaded and the data is subjected to decompression processing; and a client play assembly displays and plays a played image on the virtual desktop. According to the method provided by the invention, an audio/video redirection technology is more universal for supporting the multimedia coded format and the play fluency of the standard/high definition video with the definition of at least 720P is promoted.
Description
[technical field]
The present invention relates to computer phoneme video technique field, relate in particular to the method that the software and hardware integration audio frequency and video are redirected under a kind of VDI environment.
[background technology]
VDI, English full name Virtual Desktop Infrastructure, i.e. virtual desktop architecture.It is not the desktop PC that all disposes operation Windows XP or a Vista to each user, but through at the server operation Windows of data center XP, carries out your desktop virtual; The user calculates agreement through the client from client device (client computer or home PC) and is connected with virtual desktop, and their desktop of user capture similarly is that desktop is installed in the traditional this locality of visit.
Audio frequency and video redirecting technique under the VDI environment is through the server end audio, video data of intercepting and capturing is redirected to client, decoded by client then and plays up and accomplish broadcast.The application of audio frequency and video redirecting technique makes that the audio frequency and video under the VDI environment are play smoothness more, has greatly promoted the user experience of multimedia application in the virtual desktop.At present, there is following shortcoming in the audio frequency and video redirecting technique: 1, the support of media formats lacks versatility.Under the realization of original technology, to the audio, video data of server end different coding, client all needs corresponding decoder to decode, and client usually lacks the decoder of some media formats, and the audio frequency and video redirecting technique receives serious limit; 2, under original realization,, make that 720P and above SD or HD video can't smooth playing because the decoding of client audio, video data has consumed resources such as CPU greatly.
[summary of the invention]
The technical problem that the present invention will solve is to provide the method that audio frequency and video are redirected under a kind of VDI environment, makes the audio frequency and video redirecting technique more general to the support of multimedia coding form, promotes the broadcast fluency of 720P and above SD or HD video.
The present invention is achieved in that
Step 1: the user passes through the virtual desktop under the client Telnet VDI environment, and carries out the video playback operation;
Step 2: server end set up to be play link, after setting up data source and separator, preferentially matees and loads redirector, the foundation of completion broadcast link;
Said data source: be meant the audio, video data source, comprise file, network data;
Said separator: be responsible for resolving media file, and therefrom isolate sound, video data stream;
Said redirector: be responsible for the processing and the conveying of data; Comprise data compressor and first communication module; Said data compressor: the unprocessed form audio, video data of receiving is carried out Real Time Compression handle, compressed format is chosen hard decoder or the soft decoded media form that client is supported, the data after the compression are delivered to first communication module; Said first communication module: the data that will receive from data compressor transfer to the second communication module of client through the TCP host-host protocol, and receive from the control command of the second communication module transmission of client; Said control command comprises: play beginning, play F.F., play rewind down, play the order that stops;
Step 3: when beginning to play, said redirector will carry out selectivity to video data to be handled: if coded format is the original video coded format, then change step 4 over to; If hardware decoding or software decode form that coded format is a client to be supported then change step 6 over to; If not above two kinds of coded formats then change step 5 over to;
Step 4: data are sent into data compressor, compress data into that client can be separated firmly or can soft decoded media form, change step 6 over to;
Step 5: rejection, load server end first decoder carries out decompression processing with data, changes step 3 over to;
Step 6: the second communication module that data is transferred to client by the first communication module of service end through the TCP host-host protocol;
Step 7: after the second communication module of client receives data, deliver to the client terminal playing assembly;
The second communication module of wherein said client: the media data flow of being responsible for receiving from the first communication module of service end is delivered to the client terminal playing assembly and is handled, and will transfer to the server end first communication module through the TCP host-host protocol from the control command that player module returns;
Step 8: player module calls the hard decoder device or second decoder is decoded to data, and broadcasting pictures is displayed the play at virtual desktop.
Further, said preferential coupling and loading redirector specifically are meant: utilize the mechanism of directshow framework, to each filter, a priority is set all, redirector is set to the highest priority, so always preferentially be loaded coupling.
The present invention has following advantage: the present invention through at server end media data being compressed into consolidation form, being redirected to client and decoding under the VDI environment, makes the audio frequency and video redirecting technique more general to the support of media formats; In conjunction with the client hardware decoding capability, in client media data is carried out the hardware decoding, make 720P and above SD or the smooth broadcast of HD video in the audio frequency and video redirecting technique.
[description of drawings]
The structured flowchart that Fig. 1 carries out communication for each module in the inventive method.
Fig. 2 is the inventive method schematic flow sheet.
[embodiment]
See also illustrated in figures 1 and 2ly, the method that audio frequency and video are redirected under the VDI environment of the present invention comprises the steps:
Step 1: the user passes through the virtual desktop under the client Telnet VDI environment, and carries out the video playback operation;
Step 2: server end set up to be play link, after setting up data source and separator, preferentially matees and loads redirector, the foundation of completion broadcast link; Said preferential coupling and loading redirector specifically are meant: utilize the mechanism of directshow framework, to each filter, a priority is set all, redirector is set to the highest priority, so always preferentially be loaded coupling;
Said data source: be meant the audio, video data source, comprise file, network data;
Said separator: be responsible for resolving media file, and therefrom isolate sound, video data stream;
Said redirector: be responsible for the processing and the conveying of data; Comprise data compressor and first communication module; Said data compressor: the unprocessed form audio, video data of receiving is carried out Real Time Compression handle, compressed format is chosen hard decoder or the soft decoded media form that client is supported, the data after the compression are delivered to first communication module; Said first communication module: the data that will receive from data compressor transfer to the second communication module of client through the TCP host-host protocol, and receive from the control command of the second communication module transmission of client; Said control command comprises: play beginning, play F.F., play rewind down, play the order that stops;
Step 3: when beginning to play, said redirector will carry out selectivity to video data to be handled: if coded format is the original video coded format, then change step 4 over to; If hardware decoding or software decode form that coded format is a client to be supported then change step 6 over to; If not above two kinds of coded formats then change step 5 over to;
Step 4: data are sent into data compressor, compress data into that client can be separated firmly or can soft decoded media form, change step 6 over to;
Step 5: rejection, load server end first decoder carries out decompression processing with data, changes step 3 over to;
Step 6: the second communication module that data is transferred to client by the first communication module of service end through the TCP host-host protocol;
Step 7: after the second communication module of client receives data, deliver to the client terminal playing assembly;
The second communication module of wherein said client: the media data flow of being responsible for receiving from the first communication module of service end is delivered to the client terminal playing assembly and is handled, and will transfer to the server end first communication module through the TCP host-host protocol from the control command that player module returns;
Step 8: player module calls the hard decoder device or second decoder is decoded to data, and broadcasting pictures is displayed the play at virtual desktop.
The present invention through at server end media data being compressed into consolidation form, being redirected to client and decoding under the VDI environment, makes the audio frequency and video redirecting technique more general to the support of media formats; In conjunction with the client hardware decoding capability, in client media data is carried out the hardware decoding, make 720P and above SD or the smooth broadcast of HD video in the audio frequency and video redirecting technique.
The above is merely preferred embodiment of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to covering scope of the present invention.
Claims (2)
1. the method that the software and hardware integration audio frequency and video are redirected under the VDI environment is characterized in that: comprise the steps:
Step 1: the user passes through the virtual desktop under the client Telnet VDI environment, and carries out the video playback operation;
Step 2: server end set up to be play link, after setting up data source and separator, preferentially matees and loads redirector, the foundation of completion broadcast link;
Said data source: be meant the audio, video data source, comprise file, network data;
Said separator: be responsible for resolving media file, and therefrom isolate sound, video data stream;
Said redirector: be responsible for the processing and the conveying of data; Comprise data compressor and first communication module; Said data compressor: the unprocessed form audio, video data of receiving is carried out Real Time Compression handle, compressed format is chosen hard decoder or the soft decoded media form that client is supported, the data after the compression are delivered to first communication module; Said first communication module: the data that will receive from data compressor transfer to the second communication module of client through the TCP host-host protocol, and receive from the control command of the second communication module transmission of client; Said control command comprises: play beginning, play F.F., play rewind down, play the order that stops;
Step 3: when beginning to play, said redirector will carry out selectivity to video data to be handled: if coded format is the original video coded format, then change step 4 over to; If hardware decoding or software decode form that coded format is a client to be supported then change step 6 over to; If not above two kinds of coded formats then change step 5 over to;
Step 4: data are sent into data compressor, compress data into that client can be separated firmly or can soft decoded media form, change step 6 over to;
Step 5: rejection, load server end first decoder carries out decompression processing with data, changes step 3 over to;
Step 6: the second communication module that data is transferred to client by the first communication module of service end through the TCP host-host protocol;
Step 7: after the second communication module of client receives data, deliver to the client terminal playing assembly;
The second communication module of wherein said client: the media data flow of being responsible for receiving from the first communication module of service end is delivered to the client terminal playing assembly and is handled, and will transfer to the server end first communication module through the TCP host-host protocol from the control command that player module returns;
Step 8: player module calls the hard decoder device or second decoder is decoded to data, and broadcasting pictures is displayed the play at virtual desktop.
2. the method that the software and hardware integration audio frequency and video are redirected under a kind of VDI environment as claimed in claim 1; It is characterized in that: said preferential coupling and loading redirector specifically are meant: the mechanism of utilizing the directshow framework; To each filter; A priority all is set, and redirector is set to the highest priority, so always preferentially be loaded coupling.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210150969.8A CN102695094B (en) | 2012-05-15 | 2012-05-15 | Method for carrying out software and hardware integrated audio/video redirection in VDI (Virtual Device Interface) environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210150969.8A CN102695094B (en) | 2012-05-15 | 2012-05-15 | Method for carrying out software and hardware integrated audio/video redirection in VDI (Virtual Device Interface) environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102695094A true CN102695094A (en) | 2012-09-26 |
CN102695094B CN102695094B (en) | 2014-12-10 |
Family
ID=46860350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210150969.8A Active CN102695094B (en) | 2012-05-15 | 2012-05-15 | Method for carrying out software and hardware integrated audio/video redirection in VDI (Virtual Device Interface) environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102695094B (en) |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179431A (en) * | 2013-03-21 | 2013-06-26 | 福建升腾资讯有限公司 | Method for redirecting, transcoding and separating audio/video under VDI (Virtual Desktop Infrastructure) condition |
CN103269356A (en) * | 2013-04-23 | 2013-08-28 | 深圳市京华科讯科技有限公司 | Audio redirection method and system |
WO2013189374A2 (en) * | 2013-03-11 | 2013-12-27 | 中兴通讯股份有限公司 | Method for transmitting media data and virtual desktop server |
CN103533034A (en) * | 2013-09-28 | 2014-01-22 | 福建星网锐捷软件有限公司 | Method for seamlessly using cloud terminal local camera in VDI (Virtual Device Interface) virtual desktop |
WO2014063367A1 (en) * | 2012-10-26 | 2014-05-01 | 华为技术有限公司 | Virtual desktop infrastructure (vdi) file transmitting method and device |
CN103873924A (en) * | 2012-12-12 | 2014-06-18 | 华为技术有限公司 | Video redirecting method, device and system |
CN103888419A (en) * | 2012-12-21 | 2014-06-25 | 中国电信股份有限公司 | Method and system for enabling virtual desktop terminal to obtain video content and CDN sub-system |
CN103957445A (en) * | 2014-03-28 | 2014-07-30 | 山东乾云启创信息科技有限公司 | Video redirecting system and method based on application virtualization technology |
CN104038778A (en) * | 2014-05-23 | 2014-09-10 | 深圳市深信服电子科技有限公司 | Multimedia redirection playing control method and device |
CN104067627A (en) * | 2013-02-07 | 2014-09-24 | 华为技术有限公司 | Video redirecting method, device, system and computer readable medium |
CN104737550A (en) * | 2013-02-05 | 2015-06-24 | 华为技术有限公司 | Multimedia redirection method, server and client |
CN104768075A (en) * | 2015-04-16 | 2015-07-08 | 福建升腾资讯有限公司 | External subtitle redirection method and system based on DirectShow |
CN105025359A (en) * | 2015-07-07 | 2015-11-04 | 国鼎网络空间安全技术有限公司 | Remote video display method and system based on SPICE protocol |
CN105208406A (en) * | 2014-06-11 | 2015-12-30 | 中兴通讯股份有限公司 | Video data providing method and apparatus, video playing method and apparatuses, and video playing system |
CN105611394A (en) * | 2015-12-21 | 2016-05-25 | 福建时迅信息科技有限公司 | Method and system for redirecting video under VDI environment |
CN106101822A (en) * | 2016-07-08 | 2016-11-09 | 中霆云计算科技(上海)有限公司 | H.264 video reorientation method and device of based on Windows system |
CN112422978A (en) * | 2020-11-16 | 2021-02-26 | 浙江宇视科技有限公司 | Intelligent transcoding method and device, electronic equipment and storage medium |
CN113826074A (en) * | 2019-05-16 | 2021-12-21 | 微软技术许可有限责任公司 | Adaptive real-time communication plug-in for virtual desktop infrastructure solutions |
CN115278366A (en) * | 2022-09-28 | 2022-11-01 | 天津卓朗昆仑云软件技术有限公司 | Data processing method and device for video stream of virtual machine and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6553376B1 (en) * | 1998-11-18 | 2003-04-22 | Infolibria, Inc. | Efficient content server using request redirection |
CN1705293A (en) * | 2004-05-26 | 2005-12-07 | 上海环达计算机科技有限公司 | Hardware apparatus for terminal redirection |
CN101068339A (en) * | 2007-06-01 | 2007-11-07 | 华为技术有限公司 | Method, server and user end for realizing video frequency requested program broadcasting-like services |
CN101216808A (en) * | 2007-01-04 | 2008-07-09 | 联想(北京)有限公司 | Play system and method |
CN101552768A (en) * | 2008-04-02 | 2009-10-07 | 福建升腾资讯有限公司 | Embedded streaming media playing system |
-
2012
- 2012-05-15 CN CN201210150969.8A patent/CN102695094B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6553376B1 (en) * | 1998-11-18 | 2003-04-22 | Infolibria, Inc. | Efficient content server using request redirection |
CN1705293A (en) * | 2004-05-26 | 2005-12-07 | 上海环达计算机科技有限公司 | Hardware apparatus for terminal redirection |
CN101216808A (en) * | 2007-01-04 | 2008-07-09 | 联想(北京)有限公司 | Play system and method |
CN101068339A (en) * | 2007-06-01 | 2007-11-07 | 华为技术有限公司 | Method, server and user end for realizing video frequency requested program broadcasting-like services |
CN101552768A (en) * | 2008-04-02 | 2009-10-07 | 福建升腾资讯有限公司 | Embedded streaming media playing system |
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104137472A (en) * | 2012-10-26 | 2014-11-05 | 华为技术有限公司 | Virtual desktop infrastructure (vdi) file transmitting method and device |
WO2014063367A1 (en) * | 2012-10-26 | 2014-05-01 | 华为技术有限公司 | Virtual desktop infrastructure (vdi) file transmitting method and device |
CN103873924B (en) * | 2012-12-12 | 2017-09-05 | 华为技术有限公司 | A kind of method, device, the system of video redirection |
CN103873924A (en) * | 2012-12-12 | 2014-06-18 | 华为技术有限公司 | Video redirecting method, device and system |
CN103888419A (en) * | 2012-12-21 | 2014-06-25 | 中国电信股份有限公司 | Method and system for enabling virtual desktop terminal to obtain video content and CDN sub-system |
CN103888419B (en) * | 2012-12-21 | 2017-06-09 | 中国电信股份有限公司 | Virtual desktop terminal obtains method, system and the CDN subsystems of video content |
CN104737550A (en) * | 2013-02-05 | 2015-06-24 | 华为技术有限公司 | Multimedia redirection method, server and client |
CN104067627B (en) * | 2013-02-07 | 2017-08-04 | 华为技术有限公司 | Method, device, system and computer-readable medium that a kind of video is redirected |
CN104067627A (en) * | 2013-02-07 | 2014-09-24 | 华为技术有限公司 | Video redirecting method, device, system and computer readable medium |
CN104053015A (en) * | 2013-03-11 | 2014-09-17 | 中兴通讯股份有限公司 | Media data transmitting method and virtual desktop server |
WO2013189374A3 (en) * | 2013-03-11 | 2014-02-13 | 中兴通讯股份有限公司 | Method for transmitting media data and virtual desktop server |
WO2013189374A2 (en) * | 2013-03-11 | 2013-12-27 | 中兴通讯股份有限公司 | Method for transmitting media data and virtual desktop server |
CN103179431B (en) * | 2013-03-21 | 2016-06-01 | 福建升腾资讯有限公司 | Under VDI environment, audio frequency and video are redirected and turn code separation method |
CN103179431A (en) * | 2013-03-21 | 2013-06-26 | 福建升腾资讯有限公司 | Method for redirecting, transcoding and separating audio/video under VDI (Virtual Desktop Infrastructure) condition |
CN103269356A (en) * | 2013-04-23 | 2013-08-28 | 深圳市京华科讯科技有限公司 | Audio redirection method and system |
CN103533034A (en) * | 2013-09-28 | 2014-01-22 | 福建星网锐捷软件有限公司 | Method for seamlessly using cloud terminal local camera in VDI (Virtual Device Interface) virtual desktop |
CN103957445A (en) * | 2014-03-28 | 2014-07-30 | 山东乾云启创信息科技有限公司 | Video redirecting system and method based on application virtualization technology |
CN104038778A (en) * | 2014-05-23 | 2014-09-10 | 深圳市深信服电子科技有限公司 | Multimedia redirection playing control method and device |
CN105208406A (en) * | 2014-06-11 | 2015-12-30 | 中兴通讯股份有限公司 | Video data providing method and apparatus, video playing method and apparatuses, and video playing system |
CN104768075A (en) * | 2015-04-16 | 2015-07-08 | 福建升腾资讯有限公司 | External subtitle redirection method and system based on DirectShow |
CN104768075B (en) * | 2015-04-16 | 2018-03-23 | 福建升腾资讯有限公司 | Plug-in captions reorientation method and system based on DirectShow |
CN105025359A (en) * | 2015-07-07 | 2015-11-04 | 国鼎网络空间安全技术有限公司 | Remote video display method and system based on SPICE protocol |
CN105611394B (en) * | 2015-12-21 | 2018-11-06 | 福建时迅信息科技有限公司 | Video reorientation method under VDI environment and system |
CN105611394A (en) * | 2015-12-21 | 2016-05-25 | 福建时迅信息科技有限公司 | Method and system for redirecting video under VDI environment |
CN106101822A (en) * | 2016-07-08 | 2016-11-09 | 中霆云计算科技(上海)有限公司 | H.264 video reorientation method and device of based on Windows system |
CN113826074A (en) * | 2019-05-16 | 2021-12-21 | 微软技术许可有限责任公司 | Adaptive real-time communication plug-in for virtual desktop infrastructure solutions |
CN113826074B (en) * | 2019-05-16 | 2024-04-05 | 微软技术许可有限责任公司 | Adaptive real-time communication plug-in for virtual desktop infrastructure solutions |
CN112422978A (en) * | 2020-11-16 | 2021-02-26 | 浙江宇视科技有限公司 | Intelligent transcoding method and device, electronic equipment and storage medium |
CN115278366A (en) * | 2022-09-28 | 2022-11-01 | 天津卓朗昆仑云软件技术有限公司 | Data processing method and device for video stream of virtual machine and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102695094B (en) | 2014-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102695094B (en) | Method for carrying out software and hardware integrated audio/video redirection in VDI (Virtual Device Interface) environment | |
US9788035B2 (en) | Systems and methods for communicating events to users | |
CN106664458B (en) | Method for transmitting video data, source device and storage medium | |
US10979785B2 (en) | Media playback apparatus and method for synchronously reproducing video and audio on a web browser | |
CN102802075B (en) | Online play buffering system and method | |
CN103179431A (en) | Method for redirecting, transcoding and separating audio/video under VDI (Virtual Desktop Infrastructure) condition | |
CN111355976B (en) | Video live broadcast method and system based on HEVC standard | |
JP6511038B2 (en) | Cloud streaming service providing method and apparatus therefor | |
JP7100052B2 (en) | Electronic device and its control method | |
CN112312221B (en) | Audio and video playing method, storage medium and device | |
CN113938470A (en) | Method and device for playing RTSP data source by browser and streaming media server | |
CN101127780A (en) | Method for downloading, saving and replaying online video and construction of online video network | |
CN113556612A (en) | Method and system for playing H.265 video stream on browser | |
JP7290260B1 (en) | Servers, terminals and computer programs | |
CN101800894B (en) | Method and system for converting multimedia audio and video | |
CN102368721A (en) | Performance testing system and method for MS (Media Server) clustered system | |
CN103635938A (en) | Method in streaming client for handling video streaming data, streaming client, computer programs and computer program products | |
CN102821309A (en) | System and method for transferring streaming media based on desktop sharing | |
US20140280692A1 (en) | System and method for encoding control commands | |
CN113747181A (en) | Network live broadcast method, live broadcast system and electronic equipment based on remote desktop | |
CN103297406A (en) | Method for expanding screen of hand-held device | |
CN101753875A (en) | Local area network television shared by streaming media | |
JP2008139977A (en) | Network system | |
US10547878B2 (en) | Hybrid transmission protocol | |
CN105120324B (en) | A kind of distribution player realization method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |