Movatterモバイル変換


[0]ホーム

URL:


CN107801052A - A kind of cloud desktop browsers video reorientation method - Google Patents

A kind of cloud desktop browsers video reorientation method
Download PDF

Info

Publication number
CN107801052A
CN107801052ACN201711037202.3ACN201711037202ACN107801052ACN 107801052 ACN107801052 ACN 107801052ACN 201711037202 ACN201711037202 ACN 201711037202ACN 107801052 ACN107801052 ACN 107801052A
Authority
CN
China
Prior art keywords
video
cloud desktop
browser
packet
data packet
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
Application number
CN201711037202.3A
Other languages
Chinese (zh)
Other versions
CN107801052B (en
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.)
WUHAN OS-EASY CLOUD COMPUTING Co Ltd
Original Assignee
WUHAN OS-EASY CLOUD COMPUTING Co Ltd
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 WUHAN OS-EASY CLOUD COMPUTING Co LtdfiledCriticalWUHAN OS-EASY CLOUD COMPUTING Co Ltd
Priority to CN201711037202.3ApriorityCriticalpatent/CN107801052B/en
Publication of CN107801052ApublicationCriticalpatent/CN107801052A/en
Application grantedgrantedCritical
Publication of CN107801052BpublicationCriticalpatent/CN107801052B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种云桌面浏览器视频重定向方法,涉及云计算领域,包括以下步骤:云桌面端的虚拟机网卡接收到由服务器端流入数据时,拦截网卡的下行数据包,在下行数据包中的特征数据包中插入视频重定向代码标签后重新组包后传输至所述虚拟机中的浏览器。本发明的云桌面浏览器视频重定向方法,通过将虚拟机网页浏览器端的控制视频逻辑代码封装成一个文件,通过在网卡层向视频网页中注入代码引用,由浏览器自动加载并执行代码来实现视频控制,可在不使用浏览器插件的前提下完成云桌面浏览器视频重定向功能。

The invention discloses a video redirection method of a cloud desktop browser, relates to the field of cloud computing, and comprises the following steps: when a network card of a virtual machine on the cloud desktop side receives data flowing in from a server side, it intercepts the downlink data packet of the network card, and the downlink data packet After inserting the video redirection code tag into the feature data packet in the packet, the packet is reassembled and then transmitted to the browser in the virtual machine. The video redirection method of the cloud desktop browser of the present invention encapsulates the control video logic code on the web browser side of the virtual machine into a file, injects code references into the video web page at the network card layer, and automatically loads and executes the code by the browser. To achieve video control, the video redirection function of the cloud desktop browser can be completed without using a browser plug-in.

Description

Translated fromChinese
一种云桌面浏览器视频重定向方法A cloud desktop browser video redirection method

技术领域technical field

本发明涉及云计算领域,具体涉及一种云桌面浏览器视频重定向方法。The invention relates to the field of cloud computing, in particular to a video redirection method for a cloud desktop browser.

背景技术Background technique

视频重定向的作用是将在云桌面虚拟机中播放的视频,重定向到终端计算机来播放,节省虚拟机的计算资源。The function of video redirection is to redirect the video played in the cloud desktop virtual machine to the terminal computer for playback, saving the computing resources of the virtual machine.

目前的云桌面浏览器端视频重定向方案是在浏览器端安装插件,通过浏览器插件代码控制页面中的视频播放,这种方案存在以下缺陷:The current cloud desktop browser-side video redirection solution is to install a plug-in on the browser side and control the video playback on the page through the browser plug-in code. This solution has the following defects:

一是浏览器品牌和种类众多,包括IE,chrome,firefox等,要使用目前的方案需要对每个浏览器单独开发插件,如IE ActiveX、BHO、chrome Extensition等进行处理,而增设浏览器插件可能导致浏览器不稳定等问题。First, there are many brands and types of browsers, including IE, chrome, firefox, etc. To use the current solution, it is necessary to develop plug-ins for each browser separately, such as IE ActiveX, BHO, chrome Extension, etc., and adding browser plug-ins may Cause browser instability and other problems.

二是随着人们对浏览器稳定性和安全性要求不断提高,部分浏览器已经开始不支持增设插件。Second, as people's requirements for browser stability and security continue to increase, some browsers have begun to not support the addition of plug-ins.

因此,目前迫切需求一种既可兼容各类浏览器,又不需要在浏览器端安装插件的视频重定向方法。Therefore, there is an urgent need for a video redirection method that is compatible with various browsers and does not need to install a plug-in at the browser end.

发明内容Contents of the invention

针对现有技术中存在的缺陷,本发明的目的在于提供一种无需在虚拟机各浏览器上安装插件即可实现的云桌面浏览器视频重定向方法。Aiming at the defects in the prior art, the purpose of the present invention is to provide a video redirection method for cloud desktop browsers that can be realized without installing plug-ins on each browser of the virtual machine.

为达到以上目的,本发明采取的技术方案是:For achieving above object, the technical scheme that the present invention takes is:

一种云桌面浏览器视频重定向方法,云桌面端的虚拟机网卡接收到由服务器端流入数据时,拦截网卡的下行数据包,在下行数据包中的特征数据包中插入视频重定向代码标签后重新组包,之后传输至所述虚拟机中的浏览器。A method for video redirection of a cloud desktop browser. When the network card of a virtual machine on the cloud desktop end receives data flowing in from a server, it intercepts the downlink data packet of the network card, and inserts a video redirection code label into the characteristic data packet in the downlink data packet. The package is reassembled and then transmitted to the browser in said virtual machine.

在上述技术方案的基础上,所述视频重定向代码标签包括视频控制脚本源文件URL地址。On the basis of the above technical solution, the video redirection code tag includes a video control script source file URL address.

在上述技术方案的基础上,所述虚拟机中的浏览器打开含视频内容的页面,根据所述视频重定向代码标签自动加载视频控制脚本,控制代码执行后将当前视频地址发送至服务器端,所述服务器端将所述视频地址发送至终端进行播放。On the basis of the above technical solution, the browser in the virtual machine opens the page containing the video content, automatically loads the video control script according to the video redirection code label, and sends the current video address to the server after the control code is executed, The server sends the video address to the terminal for playing.

在上述技术方案的基础上,所述虚拟机中的浏览器打开含视频内容的页面,根据所述视频重定向代码标签自动加载视频控制脚本,控制代码执行后,将当前视频地址发送至VDI服务器端,所述服务器端将所述视频地址发送至终端进行播放的步骤具体包括以下内容:On the basis of the above technical solution, the browser in the virtual machine opens the page containing the video content, automatically loads the video control script according to the video redirection code label, and sends the current video address to the VDI server after the control code is executed terminal, the step of the server sending the video address to the terminal for playing specifically includes the following:

在所述虚拟机中的浏览器打开含视频内容的页面时,视频控制脚本阻止页面中视频的播放;页面通过服务器端提供的REST API,向VDI服务器端发送所述视频重定向代码标签中的所述视频地址;所述服务器端将所述视频地址发送至终端;终端收到服务器端传输的所述视频地址后,开始播放视频。When the browser in the virtual machine opens a page containing video content, the video control script prevents the playing of the video in the page; the page sends the video redirection code in the tag to the VDI server through the REST API provided by the server The video address; the server sends the video address to the terminal; the terminal starts to play the video after receiving the video address transmitted by the server.

在上述技术方案的基础上,在开始播放视频后,所述页面继续向VDI服务器端发送http请求,当接收到的http请求停止时,VDI终端同时关闭对应视频。On the basis of the above technical solution, after starting to play the video, the page continues to send an http request to the VDI server, and when the received http request stops, the VDI terminal closes the corresponding video at the same time.

在上述技术方案的基础上,分析拦截获得的所述以太网卡下行数据包,若所述下行数据包中包括特征数据包,拦截所述特征数据包,放行其他数据,在特征数据包注入视频重定向代码标签;若未包含特征数据包,直接放行所有数据包。On the basis of the above technical solution, analyze and intercept the downlink data packet of the Ethernet card obtained by intercepting, if the downlink data packet includes a characteristic data packet, intercept the characteristic data packet, release other data, and inject the video replay into the characteristic data packet Directional code label; if no characteristic data packet is included, all data packets will be released directly.

在上述技术方案的基础上,所述特征数据包为IP协议数据包、tcp协议数据包、http协议数据包、http协议get请求的数据包以及http get请求返回的内容类型为text/html的数据包。On the basis of the above technical solution, the characteristic data packets are IP protocol data packets, tcp protocol data packets, http protocol data packets, data packets requested by http protocol get, and data whose content type returned by the http get request is text/html Bag.

在上述技术方案的基础上,所述分析拦截获得的所述以太网卡下行数据包的步骤包括:依次判定拦截获得的所述以太网卡下行数据包是否为IP协议数据包、tcp协议数据包、http协议数据包、http协议get请求的数据包以及http get请求返回的内容类型为text/html的数据包,如判定结果为是,继续依次进行下一判定;如判定结果为否,直接放行所有数据包。On the basis of the above technical solution, the step of analyzing and intercepting the downlink data packets of the Ethernet card obtained by the analysis includes: sequentially determining whether the downlink data packets of the Ethernet card obtained by interception are IP protocol packets, tcp protocol packets, http protocol packets, etc. Protocol data packets, data packets of http protocol get requests, and data packets whose content type is text/html returned by http get requests, if the judgment result is yes, proceed to the next judgment in turn; if the judgment result is no, directly release all data Bag.

在上述技术方案的基础上,在注入所述视频重定向代码标签步骤前,判断待注入的页面URL地址是否为预设网站,如是,则继续执行注入视频重定向代码标签步骤;如否,则直接放行所有数据包。On the basis of the above-mentioned technical scheme, before injecting the video redirection code label step, judge whether the page URL address to be injected is a preset website, if so, then continue to execute the injection video redirection code label step; if not, then All packets are passed directly.

在上述技术方案的基础上,所述在下行数据包中的特征数据包中插入视频重定向代码标签后重新组包后传输至所述虚拟机中的浏览器的步骤具体包括:On the basis of the above technical solution, the step of inserting the video redirection code tag into the feature data packet in the downlink data packet and then reassembling the packet and then transmitting it to the browser in the virtual machine specifically includes:

向拦截到的所述特征数据包中插入视频重定向代码标签;修改所述特征数据包包头数据;修改所述特征数据包校验和;修改所述特征数据包头长度,重新组包后传输至所述云桌面端的虚拟机中的浏览器。Inserting a video redirection code label into the intercepted characteristic data packet; modifying the characteristic data packet header data; modifying the characteristic data packet checksum; modifying the characteristic data packet header length, repackaging and transmitting to The browser in the virtual machine of the cloud desktop.

与现有技术相比,本发明的优点在于:Compared with the prior art, the present invention has the advantages of:

(1)本发明的云桌面浏览器视频重定向方法,通过将虚拟机网页浏览器端的控制视频逻辑代码封装成一个文件,通过在网卡层向视频网页中注入代码引用,由浏览器自动加载并执行代码来实现视频控制,在不使用浏览器插件的前提下完成云桌面浏览器视频重定向功能。(1) The cloud desktop browser video redirection method of the present invention, by encapsulating the control video logic code of the virtual machine webpage browser end into a file, injecting code references into the video webpage at the network card layer, automatically loaded by the browser and Execute the code to implement video control, and complete the video redirection function of the cloud desktop browser without using a browser plug-in.

(2)本发明的云桌面浏览器视频重定向方法避免了在虚拟机各各浏览器上开发视频重定向插件,可兼容各类浏览器,适应浏览器去插件化的发展趋势。(2) The video redirection method of the cloud desktop browser of the present invention avoids the development of video redirection plug-ins on each browser of the virtual machine, is compatible with various browsers, and adapts to the development trend of removing plug-ins in browsers.

附图说明Description of drawings

图1为本发明实施例中云桌面浏览器视频重定向方法使用的系统架构图;Fig. 1 is the system architecture diagram that cloud desktop browser video redirection method uses in the embodiment of the present invention;

图2为本发明实施例中云桌面浏览器视频重定向方法的系统示意图;Fig. 2 is the system schematic diagram of cloud desktop browser video redirection method in the embodiment of the present invention;

图3为本发明实施例中网卡特征数据包注入视频重定向代码标签的流程图。FIG. 3 is a flow chart of injecting a network card feature data packet into a video redirection code tag in an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图及实施例对本发明作进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

API(Application Programming Interface,应用程序编程接口)是一些预先定义的函数,目的是提供应用程序与开发人员基于某软件或硬件得以访问一组例程的能力,而又无需访问源码,或理解内部工作机制的细节。API (Application Programming Interface, application programming interface) are some predefined functions, the purpose is to provide applications and developers with the ability to access a set of routines based on a piece of software or hardware, without having to access the source code, or understand the inner workings Mechanism details.

REST(Representational State Transfer,表现层状态转移)是选择通过使用http协议和uri,利用client/server model对资源进行CRUD(Create/Read/Update/Delete)增删改查操作。REST (Representational State Transfer, presentation layer state transfer) is to choose to use the http protocol and uri, and use the client/server model to perform CRUD (Create/Read/Update/Delete) operations on resources.

AJAX(Asynchronous Javascript And XML,异步JavaScript和XML),是指一种创建交互式网页应用的网页开发技术,用于创建快速动态网页,其通过在后台与服务器进行少量数据交换,AJAX可以使网页实现异步更新,可实现在无需重新加载整个网页的情况下,能够更新部分网页。AJAX (Asynchronous Javascript And XML, asynchronous JavaScript and XML), refers to a webpage development technology for creating interactive webpage applications, used to create fast dynamic webpages, through a small amount of data exchange with the server in the background, AJAX can make the webpage realize Asynchronous update, which can update some web pages without reloading the entire web page.

WebSocket协议,是基于TCP的一种新的网络协议。它实现了浏览器与服务器全双工(full-duplex)通信——允许服务器主动发送信息给客户端。WebSocket通信协议于2011年被IETF定为标准RFC 6455,并被RFC7936所补充规范。The WebSocket protocol is a new network protocol based on TCP. It implements full-duplex (full-duplex) communication between the browser and the server - allowing the server to actively send information to the client. The WebSocket communication protocol was defined as the standard RFC 6455 by the IETF in 2011, and was supplemented by RFC7936.

控制服务器:指的是实现业务的server,可以与虚拟机、终端通讯。Control server: refers to the server that implements business, and can communicate with virtual machines and terminals.

VDI:一种基于云计算平台的云桌面架构;本发明中所述服务器,除特别说明的控制服务器外均指VDI服务器。VDI: a cloud desktop architecture based on a cloud computing platform; the server mentioned in the present invention refers to a VDI server except for the control server specified.

本发明实施例中提供的现有云桌面及浏览器视频重定向的装置基本架构如图1所示。The basic structure of the existing cloud desktop and browser video redirection device provided in the embodiment of the present invention is shown in FIG. 1 .

使用本发明实施例中的云桌面浏览器视频重定向方法进行云桌面浏览器视频重定向过程中,系统装置间的相互交互作用方式如图2所示。During the video redirection process of the cloud desktop browser using the video redirection method of the cloud desktop browser in the embodiment of the present invention, the interaction mode between system devices is shown in FIG. 2 .

如图3所示,本发明实施例提供一种云桌面浏览器视频重定向方法,包括以下步骤:在云桌面端的虚拟机网卡接收到由服务器端流入数据时,拦截网卡的下行数据包,在下行数据包中的特征数据包中插入视频重定向代码标签后重新组包后传输至虚拟机中的浏览器。As shown in Fig. 3, the embodiment of the present invention provides a kind of cloud desktop browser video redirection method, comprising the following steps: when the network card of the virtual machine on the cloud desktop side receives the data flowing in from the server side, intercept the downlink data packet of the network card, and The feature data packet in the downlink data packet is inserted into the video redirection code tag, and then the packet is reassembled and then transmitted to the browser in the virtual machine.

视频重定向代码标签包括视频控制脚本源文件URL地址。The video redirection code tag includes a video control script source file URL address.

该方法还可包括下述步骤:分析拦截获得的所述以太网卡下行数据包,若所述下行数据包中包括特征数据包,拦截所述特征数据包,放行其他数据,在特征数据包注入视频重定向代码标签;若未包含特征数据包,直接放行所有数据包。本说明书中所提到的“放行”指的是在数据流向的过程中不做任何处理,直接传输。The method may also include the steps of: analyzing and intercepting the downlink data packet of the Ethernet card obtained, if the downlink data packet includes a characteristic data packet, intercepting the characteristic data packet, releasing other data, and injecting video into the characteristic data packet Redirect code label; if no characteristic data packet is included, all data packets will be released directly. The "release" mentioned in this manual refers to direct transmission without any processing during the data flow.

其中,特征数据包为tcp协议数据包、http协议数据包、http协议get请求的数据包或http get请求返回的内容类型为text/html的数据包。在分析拦截获得的所述以太网卡下行数据包是否包括特征数据包时,依次判定所拦截数据包是否为IP协议数据包、tcp协议数据包、http协议数据包、http协议get请求的数据包、http get请求返回的内容类型为text/html的数据包,如判定结果为是,则继续进行下一步判定;如任一判定结果为否,则立即放行所有数据包。Wherein, the feature data packet is a tcp protocol data packet, an http protocol data packet, a data packet of an http protocol get request, or a data packet whose content type is text/html returned by the http get request. Whether the downlink packet of the Ethernet card obtained by analyzing and intercepting includes a feature packet, whether the intercepted packet is determined successively as an IP protocol packet, a tcp protocol packet, an http protocol packet, a packet requested by an http protocol get, The content type of the data packet returned by the http get request is text/html. If the judgment result is yes, continue to the next step of judgment; if any judgment result is no, all data packets will be released immediately.

优选的,可将主流视频网站地址输入为预设值,并在注入所述视频重定向代码标签步骤前,将访问地址与预设值进行比较判定,如访问地址为预设值,继续进行判定及注入数据包流程;如访问地址不为预设值,则直接放行所有数据包。Preferably, the address of a mainstream video website can be input as a preset value, and before the step of injecting the video redirection code label, the access address is compared with the preset value to determine, if the access address is a preset value, continue to judge And inject data packet process; if the access address is not the default value, all data packets will be released directly.

该方法还可包括下述步骤:分析拦截获得的所述以太网卡下行数据包,若所述下行数据包中包括特征数据包,拦截所述特征数据包,放行其他数据,在特征数据包注入视频重定向代码标签;若未包含特征数据包,直接放行所有数据包。本说明书中所提到的“放行”指的是在数据流向的过程中不做任何处理,直接传输。The method may also include the steps of: analyzing and intercepting the downlink data packet of the Ethernet card obtained, if the downlink data packet includes a characteristic data packet, intercepting the characteristic data packet, releasing other data, and injecting video into the characteristic data packet Redirect code label; if no characteristic data packet is included, all data packets will be released directly. The "release" mentioned in this manual refers to direct transmission without any processing during the data flow.

在下行数据包中的特征数据包中插入视频重定向代码标签后重新组包后传输至所述虚拟机中的浏览器的步骤具体包括:The step of inserting the video redirection code tag into the characteristic data packet in the downlink data packet and then reassembling the packet and then transmitting it to the browser in the virtual machine specifically includes:

向拦截到的所述特征数据包中插入视频重定向代码标签;修改所述特征数据包包头数据;修改所述特征数据包校验和;重新组包后传输至所述云桌面端的虚拟机中的浏览器。Insert a video redirection code tag into the intercepted characteristic data packet; modify the characteristic data packet header data; modify the characteristic data packet checksum; reorganize the packet and transmit it to the virtual machine at the cloud desktop end browser.

具体的,本方法可包括以下步骤:虚拟机中的浏览器打开含视频内容的页面,根据视频重定向代码标签自动加载视频控制脚,视频控制脚本执行后将当前视频地址发送至服务器端,Specifically, this method may include the following steps: the browser in the virtual machine opens a page containing video content, automatically loads the video control script according to the video redirection code label, and sends the current video address to the server after the video control script is executed,

在虚拟机中的浏览器打开含视频内容的页面,根据视频重定向代码标签自动加载视频控制脚本,视频控制脚本执行后将当前视频地址发送至服务器端的步骤具体包括以下内容:The browser in the virtual machine opens the page containing the video content, and automatically loads the video control script according to the video redirection code tag. After the video control script is executed, the steps of sending the current video address to the server end specifically include the following:

在虚拟机中的浏览器打开含视频内容的页面时,视频控制脚本阻止页面中视频的播放;页面通过服务器端提供的REST API,向VDI服务器端发送ajax请求,请求数据体包含视频重定向代码标签中的视频地址;服务器端将视频地址发送至终端;终端收到服务器端传输的视频地址后,开始播放视频。在该步骤中,页面与服务器端间数据交互可通过http或websocket实施。When the browser in the virtual machine opens a page containing video content, the video control script prevents the video from playing on the page; the page sends an ajax request to the VDI server through the REST API provided by the server, and the request data body contains the video redirection code The video address in the label; the server sends the video address to the terminal; the terminal starts to play the video after receiving the video address transmitted by the server. In this step, the data interaction between the page and the server can be implemented through http or websocket.

在开始播放视频后,页面可继续向VDI服务器端发送http请求。此步骤可在页面关闭后即时通过websocket将消息发送到VDI服务器,然后转发到终端,终端收到关闭消息之后,就会停止视频播放,从而实现页面关闭与视频关闭的实时对应控制,节约网络资源。After starting to play the video, the page can continue to send http requests to the VDI server. This step can immediately send the message to the VDI server through websocket after the page is closed, and then forward it to the terminal. After the terminal receives the closing message, it will stop the video playback, thereby realizing the real-time corresponding control of page closing and video closing, saving network resources .

本发明的云桌面浏览器视频重定向方法,通过将虚拟机网页浏览器端的控制视频逻辑代码封装成一个文件,通过在网卡层向视频网页中注入代码引用,由浏览器自动加载并执行代码来实现视频控制,在不使用浏览器插件的前提下完成云桌面浏览器视频重定向功能。The video redirection method of the cloud desktop browser of the present invention encapsulates the control video logic code on the web browser side of the virtual machine into a file, injects code references into the video web page at the network card layer, and automatically loads and executes the code by the browser Realize video control and complete the cloud desktop browser video redirection function without using browser plug-ins.

实施例1Example 1

本技术方案分为服务器端(server)控制方案和云桌面端(server-desktop)控制方案,和终端控制(client)。The technical solution is divided into a server-side (server) control solution, a cloud desktop-side (server-desktop) control solution, and a terminal control (client).

在服务器的网络数据流向虚拟机的网卡中,对以太网卡下行数据包进行拦截,分析数据包数据,如果满足如下5个条件,则拦截修改,其他的包则放行。In the network card where the server's network data flows to the virtual machine, the downlink data packet of the Ethernet card is intercepted, and the data packet data is analyzed. If the following five conditions are met, the interception and modification are performed, and other packets are released.

(1)IP协议数据包;(1) IP protocol data packet;

(2)tcp协议数据包;(2) tcp protocol data packets;

(3)http协议数据包;(3) http protocol data packet;

(4)http协议get请求的数据包;(4) The data packet requested by the http protocol get;

(5)http get请求返回的内容类型(Content-Type)为text/html的数据包。(5) The content type (Content-Type) returned by the http get request is a data packet of text/html.

接下来修改该网络数据包,在其中插入脚本代码,注入视频重定向代码标签,如<script src=“http://ip:port/v.js”></script>ip和port为指定的web服务器IP和地址,v.js为在服务器上代码文件。Next, modify the network packet, insert script code into it, and inject video redirection code tags, such as <script src="http://ip:port/v.js"></script>ip and port are specified Web server IP and address, v.js is the code file on the server.

插入代码之后,修改包头数据长度,修改校验和,重新组包之后传送到浏览器。After inserting the code, modify the header data length, modify the checksum, reassemble the packet and send it to the browser.

接着浏览器打开含有视频的页面,该页面已经插入了视频控制脚本,阻止了页面中视频的播放,页面上通过server端提供的rest API,发起ajax请求,将当前的视频地址发送到web服务器,服务器将视频地址,发送到对应的终端,终端计算机接收到视频地址之后,开始播放视频,从而实现视频重定向。页面可继续通过ajax发送http请求,当页面关闭的时候,通过websocket将消息发送到VDI服务器,然后转发到终端,终端收到关闭消息之后,就会停止视频播放。Then the browser opens the page containing the video. The video control script has been inserted into the page, which prevents the playback of the video on the page. On the page, an ajax request is initiated through the rest API provided by the server, and the current video address is sent to the web server. The server sends the video address to the corresponding terminal, and the terminal computer starts to play the video after receiving the video address, thereby realizing video redirection. The page can continue to send http requests through ajax. When the page is closed, the message is sent to the VDI server through websocket, and then forwarded to the terminal. After the terminal receives the close message, it will stop video playback.

本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。The present invention is not limited to the above-mentioned embodiments. For those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also considered protection of the present invention. within range. The content not described in detail in this specification belongs to the prior art known to those skilled in the art.

Claims (10)

CN201711037202.3A2017-10-302017-10-30 A cloud desktop browser video redirection methodActiveCN107801052B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201711037202.3ACN107801052B (en)2017-10-302017-10-30 A cloud desktop browser video redirection method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711037202.3ACN107801052B (en)2017-10-302017-10-30 A cloud desktop browser video redirection method

Publications (2)

Publication NumberPublication Date
CN107801052Atrue CN107801052A (en)2018-03-13
CN107801052B CN107801052B (en)2019-08-06

Family

ID=61548144

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711037202.3AActiveCN107801052B (en)2017-10-302017-10-30 A cloud desktop browser video redirection method

Country Status (1)

CountryLink
CN (1)CN107801052B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110110251A (en)*2019-03-132019-08-09北京和信创天科技股份有限公司A kind of office virtual machine video website redirecting technique method
US10452868B1 (en)2019-02-042019-10-22S2 Systems CorporationWeb browser remoting using network vector rendering
CN110611842A (en)*2019-09-202019-12-24天津卓朗科技发展有限公司Video transmission management method based on virtual machine and related device
US10552639B1 (en)2019-02-042020-02-04S2 Systems CorporationLocal isolator application with cohesive application-isolation interface
US10558824B1 (en)2019-02-042020-02-11S2 Systems CorporationApplication remoting using network vector rendering
CN111683286A (en)*2020-05-222020-09-18湖南云之翼软件有限公司Novel video redirection method
CN111953595A (en)*2019-10-242020-11-17北京大学 A Data Transmission Architecture Based on Virtual Host
CN114257841A (en)*2021-12-202022-03-29恒安嘉新(北京)科技股份公司 Method, device, system, device and medium for isolated playback of web video
US11314835B2 (en)2019-02-042022-04-26Cloudflare, Inc.Web browser remoting across a network using draw commands
CN118890391A (en)*2024-09-262024-11-01四川凝思软件有限公司 Interface redirection methods, servers, local terminals, devices, media, and products

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101452449A (en)*2007-12-062009-06-10田园Method for making different browsers call web pages mutually
CN103067500A (en)*2012-12-282013-04-24广州杰赛科技股份有限公司Web browsing method based on cloud terminal
US20160077824A1 (en)*2014-09-122016-03-17Adallom Technologies Ltd.Cloud suffix proxy and a method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101452449A (en)*2007-12-062009-06-10田园Method for making different browsers call web pages mutually
CN103067500A (en)*2012-12-282013-04-24广州杰赛科技股份有限公司Web browsing method based on cloud terminal
US20160077824A1 (en)*2014-09-122016-03-17Adallom Technologies Ltd.Cloud suffix proxy and a method thereof

Cited By (18)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11675930B2 (en)2019-02-042023-06-13Cloudflare, Inc.Remoting application across a network using draw commands with an isolator application
US11687610B2 (en)2019-02-042023-06-27Cloudflare, Inc.Application remoting across a network using draw commands
US12093429B2 (en)2019-02-042024-09-17Cloudflare, Inc.Remoting application across a network using draw commands with an isolator application
US10552639B1 (en)2019-02-042020-02-04S2 Systems CorporationLocal isolator application with cohesive application-isolation interface
US10558824B1 (en)2019-02-042020-02-11S2 Systems CorporationApplication remoting using network vector rendering
US10579829B1 (en)2019-02-042020-03-03S2 Systems CorporationApplication remoting using network vector rendering
US10650166B1 (en)2019-02-042020-05-12Cloudflare, Inc.Application remoting using network vector rendering
US11880422B2 (en)2019-02-042024-01-23Cloudflare, Inc.Theft prevention for sensitive information
US10452868B1 (en)2019-02-042019-10-22S2 Systems CorporationWeb browser remoting using network vector rendering
US11741179B2 (en)2019-02-042023-08-29Cloudflare, Inc.Web browser remoting across a network using draw commands
US11314835B2 (en)2019-02-042022-04-26Cloudflare, Inc.Web browser remoting across a network using draw commands
CN110110251A (en)*2019-03-132019-08-09北京和信创天科技股份有限公司A kind of office virtual machine video website redirecting technique method
CN110611842B (en)*2019-09-202022-03-29天津卓朗科技发展有限公司Video transmission management method based on virtual machine and related device
CN110611842A (en)*2019-09-202019-12-24天津卓朗科技发展有限公司Video transmission management method based on virtual machine and related device
CN111953595A (en)*2019-10-242020-11-17北京大学 A Data Transmission Architecture Based on Virtual Host
CN111683286A (en)*2020-05-222020-09-18湖南云之翼软件有限公司Novel video redirection method
CN114257841A (en)*2021-12-202022-03-29恒安嘉新(北京)科技股份公司 Method, device, system, device and medium for isolated playback of web video
CN118890391A (en)*2024-09-262024-11-01四川凝思软件有限公司 Interface redirection methods, servers, local terminals, devices, media, and products

Also Published As

Publication numberPublication date
CN107801052B (en)2019-08-06

Similar Documents

PublicationPublication DateTitle
CN107801052B (en) A cloud desktop browser video redirection method
US10469561B2 (en)System and method for managing multiple variants of an HTTP object
EP2867793B1 (en)System and method for transparent in-network adaptation of rich internet applications
US9819721B2 (en)Dynamically populated manifests and manifest-based prefetching
US9866655B2 (en)Server initiated multipath content delivery
US8533310B2 (en)Method and apparatus for acceleration by prefetching associated objects
US9100248B2 (en)Method and system for extending the capabilities of embedded devices through network clients
US7213071B2 (en)Quality of service improvements for network transactions
KR102308269B1 (en) Transmission of control data in proxy-based network communications
US20100228963A1 (en)Methods of placing advertisments, interstitials and toolbars in a web browser
US20120210243A1 (en)Web co-navigation
CN101952823B (en) Methods for Media Discovery
Shang et al.NDN. JS: A javascript client library for named data networking
US20130073609A1 (en)Mobile resource accelerator
CN110020278A (en)Displaying, providing method, client and the server of page data
CN115225707A (en)Resource access method and device
US8484364B2 (en)Secure delivery of flash content over networks
CN104573040B (en)Capture the method and system of web data
Liu et al.Can HTTP/2 really help Web performance on smartphones?
CN105677688B (en)Page data loading method and system
KR102196403B1 (en) Reduced redirection
Bach et al.Exploring HTTP/2 advantages and performance analysis using Java 9
CN108494864A (en)A kind of data processing method, device and machine readable storage medium
Huang et al.Stateful traffic replay for web application proxies
Stanivuk et al.Expanding lua interface to support HTTP/HTTPS protocol

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
PE01Entry into force of the registration of the contract for pledge of patent right
PE01Entry into force of the registration of the contract for pledge of patent right

Denomination of invention:Cloud desktop browser video redirection method

Effective date of registration:20200110

Granted publication date:20190806

Pledgee:Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor:WUHAN OS-EASY CLOUD COMPUTING Co.,Ltd.

Registration number:Y2020420000005

PC01Cancellation of the registration of the contract for pledge of patent right

Date of cancellation:20201217

Granted publication date:20190806

Pledgee:Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor:WUHAN OS-EASY CLOUD COMPUTING Co.,Ltd.

Registration number:Y2020420000005

PC01Cancellation of the registration of the contract for pledge of patent right
PE01Entry into force of the registration of the contract for pledge of patent right
PE01Entry into force of the registration of the contract for pledge of patent right

Denomination of invention:A video redirection method for cloud desktop browser

Effective date of registration:20210108

Granted publication date:20190806

Pledgee:Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor:WUHAN OS-EASY CLOUD COMPUTING Co.,Ltd.

Registration number:Y2021420000002

PC01Cancellation of the registration of the contract for pledge of patent right

Date of cancellation:20211201

Granted publication date:20190806

Pledgee:Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor:WUHAN OS-EASY CLOUD COMPUTING Co.,Ltd.

Registration number:Y2021420000002

PC01Cancellation of the registration of the contract for pledge of patent right
PE01Entry into force of the registration of the contract for pledge of patent right

Denomination of invention:A video redirection method for cloud desktop browser

Effective date of registration:20211223

Granted publication date:20190806

Pledgee:Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor:WUHAN OS-EASY CLOUD COMPUTING Co.,Ltd.

Registration number:Y2021420000151

PE01Entry into force of the registration of the contract for pledge of patent right
PC01Cancellation of the registration of the contract for pledge of patent right

Date of cancellation:20230109

Granted publication date:20190806

Pledgee:Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor:WUHAN OS-EASY CLOUD COMPUTING Co.,Ltd.

Registration number:Y2021420000151

PC01Cancellation of the registration of the contract for pledge of patent right
PE01Entry into force of the registration of the contract for pledge of patent right
PE01Entry into force of the registration of the contract for pledge of patent right

Denomination of invention:A video redirection method for cloud desktop browser

Effective date of registration:20230215

Granted publication date:20190806

Pledgee:Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor:WUHAN OS-EASY CLOUD COMPUTING Co.,Ltd.

Registration number:Y2023420000051

PC01Cancellation of the registration of the contract for pledge of patent right

Granted publication date:20190806

Pledgee:Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor:WUHAN OS-EASY CLOUD COMPUTING Co.,Ltd.

Registration number:Y2023420000051

PC01Cancellation of the registration of the contract for pledge of patent right
PE01Entry into force of the registration of the contract for pledge of patent right
PE01Entry into force of the registration of the contract for pledge of patent right

Denomination of invention:A video redirection method for cloud desktop browsers

Granted publication date:20190806

Pledgee:Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor:WUHAN OS-EASY CLOUD COMPUTING Co.,Ltd.

Registration number:Y2024980009157

PC01Cancellation of the registration of the contract for pledge of patent right
PC01Cancellation of the registration of the contract for pledge of patent right

Granted publication date:20190806

Pledgee:Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor:WUHAN OS-EASY CLOUD COMPUTING Co.,Ltd.

Registration number:Y2024980009157

PE01Entry into force of the registration of the contract for pledge of patent right
PE01Entry into force of the registration of the contract for pledge of patent right

Denomination of invention:A video redirection method for cloud desktop browsers

Granted publication date:20190806

Pledgee:Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor:WUHAN OS-EASY CLOUD COMPUTING Co.,Ltd.

Registration number:Y2025980010064

PC01Cancellation of the registration of the contract for pledge of patent right

Granted publication date:20190806

Pledgee:Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor:WUHAN OS-EASY CLOUD COMPUTING Co.,Ltd.

Registration number:Y2025980010064

PC01Cancellation of the registration of the contract for pledge of patent right

[8]ページ先頭

©2009-2025 Movatter.jp