Summary of the invention
Embodiments of the invention provide generation method, equipment and the system of a kind of virtual desktop, energy
Enough can solve the problem that operating delay when thin-client (TC, Thin Client) accesses, improve application
Data stream transmitting efficiency.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
On the one hand, it is provided that a kind of generation method of virtual desktop, including:
Proxy server is thin-client and virtual desktop server foundation connection, and will be from described
The application generation that virtual desktop server obtains is acted on behalf of desktop and is forwarded to described thin-client;
Receiving the application operating request that described thin-client sends, the request of described application operating comprises
Address information with described application related resource;
Obtain resource according to the request of described application operating at nearest resource memory node, update institute
State and act on behalf of desktop, generate interface and send to described thin-client.
Also provide for a kind of generation method of virtual desktop, including:
Thin-client is connected with virtual desktop server foundation by proxy server, and receives institute
That states proxy server forwarding acts on behalf of desktop;
Described thin-client sends application operating request to described proxy server, and described application is grasped
Make request to comprise and the address information of described application related resource;
Receive the described interface updating the generation of described proxy deskside face that described proxy server sends.
On the one hand a kind of proxy server is provided, including:
Connect unit, connect for setting up for thin-client and virtual desktop server, and will be from
The application generation that described virtual desktop server obtains is acted on behalf of desktop and is forwarded to described thin-client;
Receive unit, for receive described thin-client send application operating request, described should
Comprise and the address information of described application related resource by operation requests;
Application operating unit, for saving in nearest resource storage according to the request of described application operating
Point obtains resource, updates described desktop of acting on behalf of, and generates interface and sends to described thin-client.
Also provide for a kind of thin-client, including:
Connect unit, for being connected with virtual desktop server foundation by proxy server, and
Receive the forwarding of described proxy server acts on behalf of desktop;
Operation requests unit, for sending application operating request to described proxy server, described
Application operating request comprises and the address information of described application related resource;
Interface receives unit, for receiving the described proxy deskside of renewal that described proxy server sends
The described interface that face generates.
On the one hand, it is provided that a kind of network system, including virtual desktop server, resource storage joint
Point, name server and thin-client, it is characterised in that also include: proxy server,
Described thin-client is above-mentioned thin-client;
Described proxy server is above-mentioned proxy server.
Generation method, equipment and the system of the virtual desktop that the embodiment of the present invention provides, by generation
The resource data of resource memory node nearest for distance thin-client is supplied to thin by reason server
Client, such that it is able to reduce operating delay when thin-client accesses, improves application data
Streaming efficiency.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the technical side in the embodiment of the present invention
Case is clearly and completely described, it is clear that described embodiment is only the present invention one
Divide embodiment rather than whole embodiments.Based on the embodiment in the present invention, this area is general
The every other embodiment that logical technical staff is obtained under not making creative work premise,
Broadly fall into the scope of protection of the invention.
With reference to shown in Fig. 1, the generation method of the virtual desktop that the embodiment of the present invention provides, in generation
Reason server-side, including:
101, proxy server is thin-client and virtual desktop server foundation connection, and will
Act on behalf of desktop from the application generation of virtual desktop acquisition and be forwarded to thin-client.
102, receiving the application operating request that thin-client sends, the request of this application operating comprises
Address information with application related resource.
103, resource is obtained according to the request of this application operating at nearest resource memory node, more
Newly act on behalf of desktop, generate interface and send to thin-client.
With reference to shown in Fig. 2, the generation method of the virtual desktop that the embodiment of the present invention provides, thin
Client-side, including:
201, thin-client is connected with virtual desktop server foundation by proxy server, and
What Receiving Agent server forwarded acts on behalf of desktop.
202, thin-client sends application operating request to proxy server, and this application operating please
Ask and comprise and the address information of application related resource.
203, the interface that the renewal proxy deskside face that Receiving Agent server sends generates.
The generation method of the virtual desktop that the embodiment of the present invention provides, it is possible to pass through proxy server
The resource data of resource memory node nearest for distance thin-client is supplied to thin-client, from
And operating delay when thin-client accesses can be reduced, improve application data stream efficiency of transmission.
Shown in reference Fig. 3, the generation method of the virtual desktop that the embodiment of the present invention provides, including:
301, thin-client sends virtual desktop server inquiry request to name server, should
Inquiry request carries the domain name of the virtual desktop server of described thin-client request.
Here the virtual table of virtual desktop server to be checked will can be inputted by thin-client
Face server domain name, it is assumed that this virtual desktop server domain name is desktop.xxx.com, should
Virtual desktop server domain name is sent to name server, DNS (domain by inquiry request
Name system, address domain name system) according to deployment scenario under global load-balancing principle
Feedback is returned as the proxy server address that thin-client provides.
302, thin-client receives the proxy server address that name server sends.
303, thin-client sends connection request to proxy server, and this connection request carries institute
State the domain name of virtual desktop server.
304, proxy server receives the connection request that thin-client sends.
305, the territory of the virtual desktop server that proxy server carries in resolving this connection request
Name, and initiate address lookup according to virtual desktop server domain name to name server.
306, proxy server receives the address of the virtual desktop server that name server sends.
307, proxy server is according to the address of virtual desktop server and virtual desktop server
Set up and connect and initiate authentication request to virtual desktop server.
308, proxy server receives the configuration that virtual desktop server sends after by authentication
File, this configuration file includes icon and the link information of application.
309, proxy server generates and acts on behalf of desktop and send thin-client to, in order to Thin clients
End carries out application operating by acting on behalf of desktop.
Here proxy server can use RDP (Remote Desktop Protocol, remotely
Desktop protocol)/ICA (Independent Computing Architecture, independent computing architecture)
The RDPs such as/X11 (windows system that a kind of bitmap shows) and thin-client carry out letter
Cease is mutual.
310, thin-client sends application operating request to proxy server, and application operating is asked
Comprise the address information of the resource relevant to application.
The address information of the resource relevant to application comprised in application operating request here is permissible
For the URL (URL) of concrete resource, resource the most here can be media
Resource.
311, proxy server receives the application operating request that thin-client sends, and according to this
The address information of resource relevant to application in application operating request initiates ground to name server
Location is inquired about.
312, proxy server receives the Query Result that name server sends, this Query Result
Comprise the address of nearest resource memory node.
313, proxy server sends resource request to nearest resource memory node.
Here resource memory node is that (internet content provider, Web content carries ICP
For business) cache (cache memory) node disposed.
314, proxy server receives the resource that nearest resource memory node sends, according to this
The interface acting on behalf of desktop renewal is sent to thin-client by resource.
Certainly directly play media data when resource is media resource, update and act on behalf of desktop transmission
To thin-client.
315, the interface that the renewal proxy deskside face that thin-client Receiving Agent server sends generates.
In traditional virtual trustship desktop (VHD, Virtual Hosted Desktop) scheme, virtual table
The user side in the face i.e. interface of thin-client is with table that the image after media play is that a width is complete
Face image, wide area transfers on network is the encoded data stream of this compression of images.For seeking unification
The different user of Media Stream, virtual desktop data stream is still different, so being difficult to use application
The layer technology such as multicast, caching is optimized.This programme makes media data from virtual desktop data stream
In independent, during data flow to reach proxy server, media data can be used
Various application acceleration technology are optimized, and while network efficiency is substantially improved, decrease thin
Client obtains the delay of data, thus can promote Consumer's Experience;In addition traditional virtual trustship table
Face scheme is limited to the low configuration of thin-client and intelligent terminal, it is impossible to perform HD video broadcasting etc.
Computationally intensive hardware configuration is required high application, decoding when such as HD video being play,
The process such as render.Proxy server in this scenario can complete the process of these intensive
(dedicated video chip can be used to be accelerated, possess scale advantage), is then transcoded into
Agency is with the coded system between thin-client, and this coded system is usually bitmap stream, Er Qieshi
Encode for parameters such as the highest resolutions that terminal can process, thin-client configuration is wanted
Ask the lowest.The upgrading of a large amount of thin-client can be avoided, it is easy to implement simultaneously as far as possible.
The generation method of the virtual desktop that the embodiment of the present invention provides, it is possible to pass through proxy server
The resource data of resource memory node nearest for distance thin-client is supplied to thin-client, from
And operating delay when thin-client accesses can be reduced, improve application data stream transmission effect
Rate.
Shown in reference Fig. 4, the proxy server 4 that the embodiment of the present invention provides, including: connect
Unit 41, reception unit 42 and application operating unit 43, wherein:
Connect unit 41, connect for setting up for thin-client and virtual desktop server, and
Desktop is acted on behalf of in the application obtained from virtual desktop server generation and is forwarded to thin-client;
Receive unit 42, for receiving the application operating request that thin-client sends, this application
Operation requests comprises and the address information of application related resource;
Application operating unit 43, for saving in nearest resource storage according to application operating request
Point obtains resource, updates and acts on behalf of desktop, generates interface and sends to thin-client.
The proxy server of virtual desktop that the embodiment of the present invention provides, will apart from thin-client
The resource data of near resource memory node is supplied to thin-client, such that it is able to reduce Thin clients
Terminate fashionable operating delay, improve application data stream efficiency of transmission.
Further, optionally, with reference to shown in Fig. 5, connect unit 41 and include:
First receives subelement 411, and for receiving the connection request that thin-client sends, this is even
The domain name of described virtual desktop server is carried in the request of connecing;
Resolve subelement 412, for resolving the virtual desktop server carried in this connection request
Domain name, and initiate address lookup according to virtual desktop server domain name to name server;
Second receives subelement 413, for receiving the virtual desktop serve that name server sends
The address of device;
Authentication subelement 414, takes with virtual desktop for the address according to virtual desktop server
Business device is set up and is connected and initiate authentication request to virtual desktop server;
Configuration resource receives unit 415, for receiving virtual desktop server after by authentication
The configuration file sent, this configuration file includes icon and the link information of application;
Application sends subelement 416, acts on behalf of desktop for generation and sends thin-client to, with
Just thin-client carries out application operating by acting on behalf of desktop.
Optionally, with reference to shown in Fig. 5, application operating unit 43 includes:
Address lookup subelement 431, for receiving the application operating request that thin-client sends,
And in asking according to this application operating to the address information of the relevant resource of application to domain name service
Address lookup initiated by device, receives the Query Result that name server sends, and this Query Result comprises
The address of nearest resource memory node;
Resource request subelement 432, please for sending resource to nearest resource memory node
Ask;
Resource conversion subelement 433, for receiving the money that nearest resource memory node sends
Source, is sent to thin-client according to this resource by the interface acting on behalf of desktop renewal.
The proxy server of virtual desktop that the embodiment of the present invention provides, will apart from thin-client
The resource data of near resource memory node is supplied to thin-client, such that it is able to reduce Thin clients
Terminate fashionable operating delay, improve application data stream efficiency of transmission.
Shown in reference Fig. 6, the thin-client 6 that the embodiment of the present invention provides, including:
Connect unit 61, for being connected with virtual desktop server foundation by proxy server,
And Receiving Agent server forward act on behalf of desktop;
Operation requests unit 62, for sending application operating request to proxy server, should
Comprise and the address information of application related resource by operation requests;
Interface receives unit 63, and the renewal proxy deskside sent for Receiving Agent server is looked unfamiliar
The interface become.
The thin-client of the virtual desktop that the embodiment of the present invention provides, can pass through proxy server
Obtain the resource data of the nearest resource memory node of distance thin-client, such that it is able to reduce thin
Operating delay when client accesses, improves application data stream efficiency of transmission.
Further alternative, with reference to shown in Fig. 7, client 6 also includes:
Address lookup unit 64, for sending virtual desktop server inquiry to name server
Request, this inquiry request carries the domain name of described virtual desktop server;
Address receives unit 65, for receiving the proxy server address that name server sends.
Optionally, with reference to shown in Fig. 7, connect unit 61 and include:
Request subelement 611, for sending connection request, this connection request to proxy server
Carry the domain name of described virtual desktop server;
Receive subelement 612, act on behalf of desktop for what Receiving Agent server sent.
The thin-client of the virtual desktop that the embodiment of the present invention provides, can pass through proxy server
Obtain the resource data of the nearest resource memory node of distance thin-client, such that it is able to reduce thin
Operating delay when client accesses, improves application data stream efficiency of transmission.
With reference to shown in Fig. 8, the network system that the embodiment of the present invention provides, including virtual desktop clothes
Business device 3, resource memory node 4, name server 5 and thin-client 2, also include: generation
Reason server 1, wherein thin-client 2 is the arbitrary thin-client in above-described embodiment;Agency
Server 1 is proxy server arbitrary in the above embodiments.
For example, the cache that wherein resource memory node provides for internet content provider
Server.
The network system that the embodiment of the present invention provides can pass through proxy server will be apart from thin visitor
The resource data of the resource memory node that family end is nearest is supplied to thin-client, such that it is able to reduce
Operating delay when thin-client accesses, improves application data stream efficiency of transmission.
One of ordinary skill in the art will appreciate that: realize the whole of said method embodiment or portion
Can be completed by the hardware that programmed instruction is relevant step by step, aforesaid program can be stored in
In one computer read/write memory medium, this program upon execution, performs to include that said method is real
Execute the step of example;And aforesaid storage medium includes: ROM, RAM, magnetic disc or CD
Etc. the various media that can store program code.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is also
Being not limited to this, any those familiar with the art is at the technology model that the invention discloses
In enclosing, change can be readily occurred in or replace, all should contain within protection scope of the present invention.
Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.