CN106657206A - Virtual desktop infrastructure web video redirection method - Google Patents

Virtual desktop infrastructure web video redirection method Download PDF

Info

Publication number
CN106657206A
CN106657206A CN201610482852.8A CN201610482852A CN106657206A CN 106657206 A CN106657206 A CN 106657206A CN 201610482852 A CN201610482852 A CN 201610482852A CN 106657206 A CN106657206 A CN 106657206A
Authority
CN
China
Prior art keywords
vdi
video
server
client
interactive dynamic
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.)
Pending
Application number
CN201610482852.8A
Other languages
Chinese (zh)
Inventor
杜仲舒
王永利
孙建红
董振江
张恒生
张晗
赵亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Science and Technology
ZTE Corp
Original Assignee
Nanjing University of Science and Technology
ZTE Corp
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 Nanjing University of Science and Technology, ZTE Corp filed Critical Nanjing University of Science and Technology
Priority to CN201610482852.8A priority Critical patent/CN106657206A/en
Publication of CN106657206A publication Critical patent/CN106657206A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a virtual desktop infrastructure (VDI) web video redirection method. For a web video, an interactive dynamic agent mode is employed by a virtual desktop infrastructure system to exchange the web video access information of a VDI server and a VDI client, a CPU of the VDI client or video card resources is utilized to decode web video data; the interactive dynamic agent method employs an SPICE protocol and a browser plug-in, and communication protocols among a VDI service end interactive dynamic agent module, a VDI client interactive dynamic agent module, a VDI server agent and a VDI client agent are designed and realized. The method is advantaged in that computation pressure of a service end can be substantially reduced, and thereby web video stream decoding work can be transferred to the client through sacrificing a little of I/O cost and transmission bandwidth.

Description

The method that virtual desktop web video is redirected
Technical field
The present invention relates to cloud computing technical field of virtualization, what the web video on specifically a kind of virtual desktop was redirected Method.
Background technology
VDI, English full name Virtual Desktop Infrastructure, i.e. virtual desktop architecture.It is not A PC is configured to each user, but operating system is run by the server in data center, desktop is carried out virtually Change, user can calculate agreement and be attached with virtual desktop by the client of client device so as to which accessing desktop is like Traditional locally-installed desktop is the same.
With the popularization of cloud, VDI agreements are more and more used.Video playback is always under VDI environment One insoluble problem.For Web Internet videos, by the virtual desktop system of virtual platform, building service, So that the video playback in virtual desktop system simply plays and is forwarded to local IP access end and is decoded, such that it is able to make full use of The CPU and video card resource of VDI clients mitigates Host ends performance pressures being processed.
Traditional virtual machine video reorientation method mainly has after Flash player redirection, Video coding to client The methods such as the image mode transmission for decode again, intercepting video area to compress, but can not all efficiently solve video and webpage Interactive problem, and be required for consuming substantial amounts of bandwidth, and video except Flash player resets outside most methods Coding and compression also result in substantial amounts of memory consumption.
The content of the invention
It is that one kind can solve the problem that and regard it is an object of the invention to provide a kind of method that virtual desktop web video is redirected The virtual machine video reorientation method that frequency is interacted with webpage, while ensure that internal memory and network performance.
The technical solution for realizing the object of the invention is:A kind of method that virtual desktop web video is redirected, for Web video, virtual desktop system exchanges the web video of VDI servers and VDI clients by the way of Interactive Dynamic agency Access information, using the CPU or video card resource of VDI clients to web video decoding data.The Interactive Dynamic agency Method has designed and Implemented VDI service end Interactive Dynamic proxy modules, VDI client using SPICE protocol and browser plug-in End Interactive Dynamic proxy module, the communication protocol between VDI server agents and VDI Client Agents, can adaptively by Originally the web video in the decoding of VDI server ends is redirected to VDI clients.
Comprise the following steps that:
(1)The website links comprising video are detected positioned at the Interactive Dynamic proxy service module of VDI service ends, VDI is triggered The agency's switch acted on behalf of forwarding capability, that is, open correspondence video of service end Interactive Dynamic proxy service module;
(2)VDI server end Interactive Dynamics proxy service module builds agent communication protocol transmission and gives VDI client terminal interactives Dynamic proxy service module, such as finds that agency service has untreated video request, transfers to VDI clients demons to carry out Process;
(3)VDI server ends Interactive Dynamic agency obtains browser position using screen synch technology, and VDI clients are guarded Routine call browser processes the request, using client CPU or GPU resource decoded video streams, renders regard in a browser Frequently;
(4)If VDI server end Interactive Dynamic proxy service modules detect what user in server-side browser clicked on Link does not include video access, then directly open in a browser;If detecting what user in server-side browser clicked on Link includes video access, then the request transfers to VDI server interactive dynamic proxies service module to process, and returns the(1)Step Start to repeat said process.
The present invention compared with prior art, its remarkable advantage:(1)When watching video under VDI environment, VDI servers are only It is responsible for video request information transfer to client, the decoding and compression of video data is not carried out on VDI servers, drops significantly The burden of low VDI servers.
(2)Client will not incur loss in local decoding video file, video file because of middle repeating process, User can experience good viewing effect in VDI clients.
(3)Client need not consume more cpu resources with the increase of local resolution ratio in decoding data and use In video decoding, the burden of VDI clients is reduced.
Description of the drawings
Fig. 1 is the system deployment schematic diagram of Interactive Dynamic agency of the present invention.
Fig. 2 is that the present invention implements the request of web video redirection and recovery process schematic diagram.
Specific embodiment
The present invention is used for virtual desktop(Virtual Desktop Infrastructure, VDI)Web video redirect Method, using Interactive Dynamic act on behalf of scheme.Interactive Dynamic is respectively created in VDI server ends and VDI clients to regard Frequency redirects agency service, and the user's request comprising video is submitted to VDI server end Interactive Dynamics by VDI server modules Video redirects proxy service module, and the module redirects agency service and communicates with VDI client terminal interactives dynamic video, module Parsing source video sequence, and video is transmitted directly to into client using special agreement, the agreement can be based on automaton theory pair Communication mechanism between server agent, Client Agent carries out Correctness Analysis.VDI client terminal interactive dynamic proxy modules The port of VDI service end Interactive Dynamic proxy modules can be monitored, localization video card resource is called to regarding from Interactive Dynamic Frequency redirects the video flowing of agency and is decoded, because the expense of Interactive Dynamic agency is far smaller than that video is decoded, this method The calculating pressure of service end can be greatly reduced, only by sacrificing a small amount of I/O expenses and transmission bandwidth cost by web video stream Decoding effort move on to client and carry out.
Traditional virtual machine video reorientation method mainly has after Flash player redirection, Video coding to client Again image mode transmission for decode, intercepting video area to compress etc., but can not all efficiently solve what video was interacted with web Problem, and be required for consuming substantial amounts of bandwidth except Flash player resets outside most methods, and Video coding and Compression also results in substantial amounts of memory consumption.And this method is provided and a kind of can solve the problem that the virtual machine video that video is interacted with webpage Reorientation method, while ensure that low memory consumption and high network performance.
The web video reorientation method of virtual desktop proposed by the present invention can be integrated in the VDI with independent intellectual property right In product, the deficiency of traditional KVM virtual desktop video playback performances of increasing income is lifted, can be widely applied to large enterprise, army, public affairs The fields such as peace, education.
The method that virtual desktop web video of the present invention is redirected, comprises the steps:
VDI service ends(Virtual machine)When the request that browser is produced is acted on behalf of by server end Interactive Dynamic, server interaction Formula dynamic proxy sends proxy requests using the request header whereabouts destination server of client request, obtains destination server and returns Data after, analyze the entrained information of each request, whether video is included in detection request, if without direct during video Forwarding capability is acted on behalf of in enforcement, and by data recovery VDI service end browsers are given;If there is video request, start to be handed over client Mutually formula dynamic proxy is interacted.
The parameter informations such as web page windows size, the position of server-side browser video plug-in unit dynamic access;VDI servers The information whether end demons dynamic monitoring window size, browser position and browser are opened.
Server end Interactive Dynamic is acted on behalf of from video plug-in unit and server end(Virtual machine)Window acquired in demons The parameter informations such as mouth size, position, send messages to client demons.In client, client demons build and disappear Breath queue, takes out pending message from message queue head every time, and when processing per a piece of news, client demons start Browser, and the size and location of browser is arranged according to information such as corresponding size positions, then according to the request letter for receiving Breath, makes browser load corresponding web page contents, completes request.
Request and request header information are sent to client terminal interactive dynamic generation by server end Interactive Dynamic agency simultaneously Reason, client terminal interactive dynamic proxy is received after request header, and mark request is current pending task, while to respective request Request header be replaced, that is, use server end(Virtual machine)The request header of request replaces the request header of client request. In addition, server interactive dynamic proxy will change the content for replying corresponding requests, the information in request header is write back locally.
Client video request when client terminal interactive dynamic proxy, client terminal interactive dynamic proxy and server End Interactive Dynamic agency interacts, and is confirmed whether to be just in pending task.If it is complete primary video to reset To process, otherwise browser is called to continue to ask in server end.
The present invention is described in further detail below in conjunction with the accompanying drawings.
As shown in Fig. 2 the web video reorientation method under VDI environment of the present invention, comprises the steps:
Step 1:In server and client side deployment Interactive Dynamic agency
Specific practice is:Refering to shown in Fig. 1 respectively by server(Virtual machine)End Interactive Dynamic agency and client terminal interactive Dynamic proxy is deployed to server(Virtual machine)And client, it is also possible to will both be deployed in server(Virtual machine)On, so Afterwards agency is arranged in client be deployed in server(Virtual machine)On Client Agent.
Step 2:Server end Interactive Dynamic proxy processing server(Virtual machine)The request of generation.
Specific practice is:Server(Virtual machine)When raw request is by server interactive dynamic proxy, server interaction Formula dynamic proxy uses server(Virtual machine)The request header whereabouts destination server of request sends proxy requests, obtains target clothes After the data that business device is returned, the entrained information of each request is analyzed, whether video is included in detection request, when there is no video Directly exercise and act on behalf of forwarding capability, by data recovery to server(Virtual machine)If there is video request, start with client End Interactive Dynamic agency interacts.
Step 3:Server end demons collect information
Specific practice is:Server end demons travel through the window of current system, navigate to the handle of current browser, then Obtain position and the size information of browser window.
Step 4:Browser plug-in collects information
Specific practice is:Server-side browser plug-in unit obtains the position of the viewing area of browser window and size information.
Step 5:Client and server carries out information sharing
Specific practice is:Request and request header information are sent to client terminal interactive and are moved by server interactive dynamic proxy simultaneously State is acted on behalf of.Client terminal interactive dynamic proxy is received after request header, and mark request is current pending task, while to corresponding The request header of request is replaced, that is, uses server(Virtual machine)The request header of request replaces the request of client request Head.In addition, server interactive dynamic proxy will change the content for replying corresponding requests, the information in request header is write back into this Ground.
Step 6:Client terminal interactive dynamic proxy completes video redirection
Specific practice is:Client video request when client terminal interactive dynamic proxy, client terminal interactive dynamic proxy Agency interacts with server end Interactive Dynamic, is confirmed whether to be just in pending task.If it is complete once Video redirection process, otherwise calls browser to continue to ask in server end.

Claims (5)

1. a kind of method that virtual desktop web video is redirected, it is characterised in that:For web video, virtual desktop system is adopted The mode of Interactive Dynamic agency exchanges the web video access information of VDI servers and VDI clients, using VDI clients CPU or video card resource are to web video decoding data.
2. the method that virtual desktop web video according to claim 1 is redirected, it is characterised in that:It is described interactive dynamic State Proxy Method using SPICE protocol and browser plug-in, designed and Implemented VDI service end Interactive Dynamic proxy modules, VDI client terminal interactive dynamic proxy modules, the communication protocol between VDI server agents and VDI Client Agents.
3. the method that virtual desktop web video according to claim 1 and 2 is redirected, it is characterised in that concrete steps are such as Under:
(1)The website links comprising video are detected positioned at the Interactive Dynamic proxy service module of VDI service ends, VDI is triggered The agency's switch acted on behalf of forwarding capability, that is, open correspondence video of service end Interactive Dynamic proxy service module;
(2)VDI server end Interactive Dynamics proxy service module builds agent communication protocol transmission and gives VDI client terminal interactives Dynamic proxy service module, such as finds that agency service has untreated video request, transfers to VDI clients demons to carry out Process;
(3)VDI server ends Interactive Dynamic agency obtains browser position using screen synch technology, and VDI clients are guarded Routine call browser processes the request, using client CPU or GPU resource decoded video streams, renders regard in a browser Frequently;
(4)If VDI server end Interactive Dynamic proxy service modules detect what user in server-side browser clicked on Link does not include video access, then directly open in a browser;If detecting what user in server-side browser clicked on Link includes video access, then the request transfers to VDI server interactive dynamic proxies service module to process, and returns the(1)Step Start to repeat said process.
4. the method that virtual desktop web video according to claim 3 is redirected, it is characterised in that:Step(2)It is described Carry out completing request header rewrite operation during communication interaction using agent communication agreement between VDI server ends and VDI clients, its Process is:VDI server-side browsers are asked after a link comprising video, and VDI server ends Interactive Dynamic agency is same When replicate the header of a access request and give VDI client terminal interactive dynamic proxy modules, VDI client terminal interactives dynamic Original access request head is replaced with agency the access request head for receiving, when client request, while in the answer for returning It is middle that the information related to request is write client, complete the information sharing at client and server end.
5. the method that virtual desktop web video according to claim 3 is redirected, it is characterised in that:Step(3)It is described VDI servers and VDI client screen synchronous method, the browser plug-in of VDI server ends obtain the webpage on virtual machine and The data of window, including the Cookie of webpage, Session, origin and window size, position coordinates.
CN201610482852.8A 2016-06-27 2016-06-27 Virtual desktop infrastructure web video redirection method Pending CN106657206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610482852.8A CN106657206A (en) 2016-06-27 2016-06-27 Virtual desktop infrastructure web video redirection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610482852.8A CN106657206A (en) 2016-06-27 2016-06-27 Virtual desktop infrastructure web video redirection method

Publications (1)

Publication Number Publication Date
CN106657206A true CN106657206A (en) 2017-05-10

Family

ID=58851438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610482852.8A Pending CN106657206A (en) 2016-06-27 2016-06-27 Virtual desktop infrastructure web video redirection method

Country Status (1)

Country Link
CN (1) CN106657206A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322781A (en) * 2018-02-08 2018-07-24 武汉噢易云计算股份有限公司 Promote the method and system that HD video effect is played in virtual desktop
CN109446460A (en) * 2018-10-24 2019-03-08 国云科技股份有限公司 A kind of HTML5 Online Video Redirectional system and its implementation
CN110062286A (en) * 2019-02-22 2019-07-26 上海映云信息技术有限公司 A method of realizing that video redirects in virtual desktop
CN110134450A (en) * 2018-02-08 2019-08-16 中兴通讯股份有限公司 A kind of video reorientation method, device and computer readable storage medium
CN112313622A (en) * 2018-05-04 2021-02-02 茨特里克斯系统公司 WebRTC API redirection with window monitoring/overlay detection
CN112565869A (en) * 2020-12-11 2021-03-26 武汉噢易云计算股份有限公司 Window fusion method, device and equipment for video redirection
CN113301438A (en) * 2021-05-29 2021-08-24 南京云步信息科技有限公司 Cloud desktop video playing method based on underlying virtualization technology

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761603A (en) * 2012-06-07 2012-10-31 福建升腾资讯有限公司 Webpage flash video redirection method in VDI environment
CN103873924A (en) * 2012-12-12 2014-06-18 华为技术有限公司 Video redirecting method, device and system
CN105227989A (en) * 2014-06-24 2016-01-06 北京云端时代科技有限公司 A kind of multimedia reorientation method based on VDI Technical Architecture and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761603A (en) * 2012-06-07 2012-10-31 福建升腾资讯有限公司 Webpage flash video redirection method in VDI environment
CN103873924A (en) * 2012-12-12 2014-06-18 华为技术有限公司 Video redirecting method, device and system
CN105227989A (en) * 2014-06-24 2016-01-06 北京云端时代科技有限公司 A kind of multimedia reorientation method based on VDI Technical Architecture and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322781A (en) * 2018-02-08 2018-07-24 武汉噢易云计算股份有限公司 Promote the method and system that HD video effect is played in virtual desktop
CN110134450A (en) * 2018-02-08 2019-08-16 中兴通讯股份有限公司 A kind of video reorientation method, device and computer readable storage medium
CN110134450B (en) * 2018-02-08 2021-08-10 中兴通讯股份有限公司 Video redirection method, device and computer readable storage medium
CN112313622A (en) * 2018-05-04 2021-02-02 茨特里克斯系统公司 WebRTC API redirection with window monitoring/overlay detection
CN109446460A (en) * 2018-10-24 2019-03-08 国云科技股份有限公司 A kind of HTML5 Online Video Redirectional system and its implementation
CN109446460B (en) * 2018-10-24 2021-11-19 国云科技股份有限公司 HTML5 online video redirection system and implementation method thereof
CN110062286A (en) * 2019-02-22 2019-07-26 上海映云信息技术有限公司 A method of realizing that video redirects in virtual desktop
CN112565869A (en) * 2020-12-11 2021-03-26 武汉噢易云计算股份有限公司 Window fusion method, device and equipment for video redirection
CN113301438A (en) * 2021-05-29 2021-08-24 南京云步信息科技有限公司 Cloud desktop video playing method based on underlying virtualization technology

Similar Documents

Publication Publication Date Title
CN106657206A (en) Virtual desktop infrastructure web video redirection method
JP4363847B2 (en) Digital TV application protocol for interactive TV
US20210352090A1 (en) Network security monitoring method, network security monitoring device, and system
US7305697B2 (en) Service gateway for interactive television
EP3275162B1 (en) Systems and techniques for web communication
US9313015B2 (en) HTTP-based synchronization method and apparatus
US20150058407A1 (en) Systems, methods, and apparatuses for implementing the simultaneous display of multiple browser client cursors at each browser client common to a shared browsing session
US10355961B2 (en) Network traffic capture analysis
AU2002240200A1 (en) A digital television application protocol for interactive television
CN103518189A (en) Integrated rendering of streaming media in virtualized desktop environment
EP2086174A1 (en) A method and system of multimedia service performance monitoring
CN103678372B (en) A kind of method and apparatus for obtaining the application performance of the page
CN112953850B (en) Data transmission method and device, computer readable medium and electronic equipment
CN103348657B (en) Flow media playing method, equipment and system
CN107528812B (en) Attack detection method and device
CN109302340A (en) One kind burying point data report method, device and computer readable storage medium
CN1812410B (en) File transfer management systems and methods
US20140297718A1 (en) Apparatus and method for transmitting image of multi-user
CN108093048B (en) Method and device for acquiring application interaction data
WO2017020597A1 (en) Resource cache method and apparatus
CN107809681B (en) It is sliced the method and device of transmission of video
US20160234324A1 (en) Information on navigation behavior of web page users
KR20050111407A (en) System for providing advertisements during changed the url of the website
CN113453062B (en) Video metadata acquisition and processing method, device, system and electronic equipment
JP5322972B2 (en) Web screen restoration device, web screen restoration method, and web screen restoration program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication