CN102695094B - 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
- CN102695094B CN102695094B CN201210150969.8A CN201210150969A CN102695094B CN 102695094 B CN102695094 B CN 102695094B CN 201210150969 A CN201210150969 A CN 201210150969A CN 102695094 B CN102695094 B CN 102695094B
- 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.)
- Active
Links
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 a kind of redirected method of software and hardware integration audio frequency and video under VDI environment.
[background technology]
VDI, English full name Virtual Desktop Infrastructure, i.e. virtual desktop architecture.It is not the desktop PC that configures an operation Windows XP or Vista to each user, but by the server operation Windows XP in data center, your desktop is carried out virtual; User is connected with virtual desktop by calculating agreement from the client of client device (client computer or home PC), and the desktop that user accesses them similarly is that desktop is installed in the traditional this locality of access.
Audio frequency and video redirecting technique under VDI environment, be by the server end audio, video data of intercepting and capturing is redirected to client, then decoded by client and played up broadcasting.The application of audio frequency and video redirecting technique, makes the audio frequency and video broadcasting under VDI environment more smooth, and the user who has greatly promoted multimedia application in virtual desktop experiences.At present, there is following shortcoming in audio frequency and video redirecting technique: 1, the support of media formats lacks versatility.Under the realization of original technology, for 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 audio frequency and video redirecting technique is subject to serious restriction; 2,, under original realization, because the decoding of client audio, video data has consumed the resources such as CPU greatly, make 720P and above SD or the HD video cannot smooth playing.
[summary of the invention]
The technical problem to be solved in the present invention, is to provide a kind of redirected method of audio frequency and video under VDI environment, makes audio frequency and video redirecting technique more general to the support of multimedia coding form, promotes the broadcasting fluency of 720P and above SD or HD video.
The present invention is achieved in that
Step 1: user passes through the virtual desktop under client Telnet VDI environment, and carries out video playback operation;
Step 2: server end is set up and play link, is setting up after data source and separator, preferentially mates and loads redirector, completes the foundation of playing link;
Described data source: refer to audio, video data source, comprise file, network data;
Described separator: be responsible for resolving media file, and therefrom isolate sound, video data stream;
Described redirector: be responsible for processing and the conveying of data; Comprise data compressor and first communication module; Described data compressor: the unprocessed form audio, video data of receiving is carried out to Real Time Compression processing, and compressed format is chosen hard decoder or the soft decoded media form that client is supported, the data after compression are delivered to first communication module; Described first communication module: by the data that receive from data compressor, transfer to the second communication module of client by TCP host-host protocol, and receive from the control command of the second communication module transmission of client; Described control command comprises: play beginning, play F.F., play rewind down, play the order stopping;
Step 3: while starting to play, described redirector will carry out selectivity processing to video data: if coded format is original video coded format, proceed to step 4; If hardware decoding or software decode form that coded format is client to be supported, proceed to step 6; If not above two kinds of coded formats, proceed to step 5;
Step 4: data are sent into data compressor, compress data into media formats that client can be separated firmly or can soft decoding, proceed to step 6;
Step 5: rejection, load server end the first decoder, carries out decompression processing by data, proceeds to step 3;
Step 6: the second communication module that data is transferred to client by the first communication module of service end by TCP host-host protocol;
Step 7: the second communication module of client receives after data, delivers to client terminal playing assembly;
The second communication module of wherein said client: be responsible for the media data flow receiving from the first communication module of service end to deliver to the processing of client terminal playing assembly, the control command of returning from player module is transferred to server end first communication module by TCP host-host protocol;
Step 8: player module calls hard decoder device or the second decoder to decoding data, and broadcasting pictures is displayed the play at virtual desktop.
Further, described preferential coupling load redirector and specifically refer to: utilize the mechanism of directshow framework, for each filter, a priority is all set, redirector is set to the highest priority, therefore be always preferentially loaded coupling.
Tool of the present invention has the following advantages: the present invention by media data being compressed into consolidation form at server end, being redirected to client and decoding under VDI environment, makes audio frequency and video redirecting technique more general to the support of media formats; In conjunction with client hardware decoding capability, in client, media data is carried out to hardware decoding, make 720P and above SD or the smooth broadcasting of HD video in audio frequency and video redirecting technique.
[brief description of the drawings]
Fig. 1 is the structured flowchart that in the inventive method, each module is carried out communication.
Fig. 2 is the inventive method schematic flow sheet.
[embodiment]
Refer to shown in Fig. 1 and Fig. 2, under VDI environment of the present invention, the redirected method of audio frequency and video, comprises the steps:
Step 1: user passes through the virtual desktop under client Telnet VDI environment, and carries out video playback operation;
Step 2: server end is set up and play link, is setting up after data source and separator, preferentially mates and loads redirector, completes the foundation of playing link; Described preferential coupling also loads redirector and specifically refers to: utilize the mechanism of directshow framework, for each filter, a priority is all set, redirector is set to the highest priority, therefore be always preferentially loaded coupling;
Described data source: refer to audio, video data source, comprise file, network data;
Described separator: be responsible for resolving media file, and therefrom isolate sound, video data stream;
Described redirector: be responsible for processing and the conveying of data; Comprise data compressor and first communication module; Described data compressor: the unprocessed form audio, video data of receiving is carried out to Real Time Compression processing, and compressed format is chosen hard decoder or the soft decoded media form that client is supported, the data after compression are delivered to first communication module; Described first communication module: by the data that receive from data compressor, transfer to the second communication module of client by TCP host-host protocol, and receive from the control command of the second communication module transmission of client; Described control command comprises: play beginning, play F.F., play rewind down, play the order stopping;
Step 3: while starting to play, described redirector will carry out selectivity processing to video data: if coded format is original video coded format, proceed to step 4; If hardware decoding or software decode form that coded format is client to be supported, proceed to step 6; If not above two kinds of coded formats, proceed to step 5;
Step 4: data are sent into data compressor, compress data into media formats that client can be separated firmly or can soft decoding, proceed to step 6;
Step 5: rejection, load server end the first decoder, carries out decompression processing by data, proceeds to step 3;
Step 6: the second communication module that data is transferred to client by the first communication module of service end by TCP host-host protocol;
Step 7: the second communication module of client receives after data, delivers to client terminal playing assembly;
The second communication module of wherein said client: be responsible for the media data flow receiving from the first communication module of service end to deliver to the processing of client terminal playing assembly, the control command of returning from player module is transferred to server end first communication module by TCP host-host protocol;
Step 8: player module calls hard decoder device or the second decoder to decoding data, and broadcasting pictures is displayed the play at virtual desktop.
The present invention by media data being compressed into consolidation form at server end, being redirected to client and decoding under VDI environment, makes audio frequency and video redirecting technique more general to the support of media formats; In conjunction with client hardware decoding capability, in client, media data is carried out to hardware decoding, make 720P and above SD or the smooth broadcasting of HD video in audio frequency and video redirecting technique.
The foregoing is only preferred embodiment of the present invention, all equalizations of doing according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.
Claims (2)
1. the redirected method of software and hardware integration audio frequency and video under VDI environment, is characterized in that: comprise the steps:
Step 1: user passes through the virtual desktop under client Telnet VDI environment, and carries out video playback operation;
Step 2: server end is set up and play link, is setting up after data source and separator, preferentially mates and loads redirector, completes the foundation of playing link;
Described data source: refer to audio, video data source, comprise file, network data;
Described separator: be responsible for resolving media file, and therefrom isolate sound, video data stream;
Described redirector: be responsible for processing and the conveying of data; Comprise data compressor and first communication module; Described data compressor: the unprocessed form audio, video data of receiving is carried out to Real Time Compression processing, and compressed format is chosen hard decoder or the soft decoded media form that client is supported, the data after compression are delivered to first communication module; Described first communication module: by the data that receive from data compressor, transfer to the second communication module of client by TCP host-host protocol, and receive from the control command of the second communication module transmission of client; Described control command comprises: play beginning, play F.F., play rewind down, play the order stopping;
Step 3: while starting to play, described redirector will carry out selectivity processing to video data: if coded format is original video coded format, proceed to step 4; If hardware decoding or software decode form that coded format is client to be supported, proceed to step 6; If not above two kinds of coded formats, proceed to step 5;
Step 4: data are sent into data compressor, compress data into media formats that client can be separated firmly or can soft decoding, proceed to step 6;
Step 5: rejection, load server end the first decoder, carries out decompression processing by data, proceeds to step 3;
Step 6: the second communication module that data is transferred to client by the first communication module of service end by TCP host-host protocol;
Step 7: the second communication module of client receives after data, delivers to client terminal playing assembly;
The second communication module of wherein said client: be responsible for the media data flow receiving from the first communication module of service end to deliver to the processing of client terminal playing assembly, the control command of returning from player module is transferred to server end first communication module by TCP host-host protocol;
Step 8: player module calls hard decoder device or the second decoder to decoding data, and broadcasting pictures is displayed the play at virtual desktop.
2. the redirected method of software and hardware integration audio frequency and video under a kind of VDI environment as claimed in claim 1, it is characterized in that: described preferential coupling also loads redirector and specifically refers to: the mechanism of utilizing directshow framework, for each filter, a priority is all set, redirector is set to the highest priority, therefore be always preferentially 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 CN102695094A (en) | 2012-09-26 |
CN102695094B true 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) |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2784976A4 (en) * | 2012-10-26 | 2015-03-11 | Huawei Tech Co Ltd | 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 |
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 |
CN104053015A (en) * | 2013-03-11 | 2014-09-17 | 中兴通讯股份有限公司 | Media data transmitting method 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 |
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 |
CN104038778B (en) * | 2014-05-23 | 2017-11-24 | 深信服科技股份有限公司 | Multimedia redirects the control method and device played |
CN105208406A (en) * | 2014-06-11 | 2015-12-30 | 中兴通讯股份有限公司 | Video data providing method and apparatus, video playing method and apparatuses, and video playing system |
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 |
CN106101822A (en) * | 2016-07-08 | 2016-11-09 | 中霆云计算科技(上海)有限公司 | H.264 video reorientation method and device of based on Windows system |
US11032157B2 (en) * | 2019-05-16 | 2021-06-08 | Microsoft Technology Licensing, Llc | Adaptable real-time communications plugin for virtual desktop infrastructure solutions |
CN112422978A (en) * | 2020-11-16 | 2021-02-26 | 浙江宇视科技有限公司 | Intelligent transcoding method and device, electronic equipment and storage medium |
CN115278366B (en) * | 2022-09-28 | 2023-03-24 | 天津卓朗昆仑云软件技术有限公司 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN102695094A (en) | 2012-09-26 |
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 | |
US9665336B2 (en) | Direct streaming for wireless display | |
US10979785B2 (en) | Media playback apparatus and method for synchronously reproducing video and audio on a web browser | |
CN103179431B (en) | Under VDI environment, audio frequency and video are redirected and turn code separation method | |
US9300754B2 (en) | Information processing system, information processing apparatus, information processing method, and program | |
JP6511038B2 (en) | Cloud streaming service providing method and apparatus therefor | |
US20170366591A1 (en) | Systems and methods for multi-device media broadcasting or recording with active control | |
JP2009147902A (en) | Adaptive multimedia system for providing multimedia content and codec to user terminal and method thereof | |
CN104159150A (en) | Cloud terminal, cloud server, media data stream playing system and method | |
CN105208406A (en) | Video data providing method and apparatus, video playing method and apparatuses, and video playing system | |
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 | |
CN102821309A (en) | System and method for transferring streaming media based on desktop sharing | |
KR20140117889A (en) | Client apparatus, server apparatus, multimedia redirection system and the method thereof | |
JP5696914B1 (en) | Transmitting apparatus and transmitting method | |
CN103297406A (en) | Method for expanding screen of hand-held device | |
US10547878B2 (en) | Hybrid transmission protocol | |
KR20110025367A (en) | Method and device for multimedia transcoding client | |
CN101753875A (en) | Local area network television shared by streaming media | |
CN112073727B (en) | Transcoding method and device, electronic equipment and storage medium | |
JP2008139977A (en) | Network system | |
US9106802B2 (en) | Dual-type of playback for multimedia content | |
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 |