CN104717175B - The processing method and system of virtual desktop - Google Patents
The processing method and system of virtual desktop Download PDFInfo
- Publication number
- CN104717175B CN104717175B CN201310671307.XA CN201310671307A CN104717175B CN 104717175 B CN104717175 B CN 104717175B CN 201310671307 A CN201310671307 A CN 201310671307A CN 104717175 B CN104717175 B CN 104717175B
- Authority
- CN
- China
- Prior art keywords
- virtual desktop
- client
- storage file
- server
- residual quantity
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of processing method and system of virtual desktop, wherein method includes:Client AM access module is established with host and is connected;If the status information of client synchronization module flag is offline, client virtual desktop residual quantity storage file is sent to server synchronization module;Server-side residual quantity processing module handles virtual desktop storage file;User operation instruction is sent to server-side operation processing module by client operation processing module;Server-side operation processing module generates server-side virtual desktop residual quantity storage file;Server-side virtual desktop residual quantity storage file is sent to client synchronization module by server synchronization module;Client residual quantity processing module handles virtual desktop storage file;The status information of flag is revised as online by client AM access module.The offline use of virtual desktop may be implemented in the embodiment of the present invention.
Description
Technical field
The present invention relates to server virtualization technology more particularly to a kind of processing method and system of virtual desktop.
Background technology
Server virtualization refers to fictionalizing multiple virtual machines on a physics host(Virtual Machine, letter
Claim VM), it is mutually isolated between each virtual machine, and a kind of mutually independent technology can be run simultaneously.The technology can be by one
Physics host splits into the independent virtual machine of dozens of, and each virtual function independent operating business improves server money to realize
Source utilization rate improves the target of the efficiency of management.As the foundation class technology of cloud computing, server virtualization technology obtains in recent years
A large amount of application and popularization are arrived.Such as IDC(Internet Data Center, Internet data center)Service provider is by an object
Reason host invents 20 or so virtual machines, and every virtual machine has independent operating system, network environment, then is gone out
Rent user.Health service revenue can be increased for IDC Service Provider, for users, hiring cost can be reduced.
Virtual desktop technology is to be based on server virtualization technology, and PC server is virtualized, and is divided into multiple virtual
A kind of cloud computing technology that desktop is used for different user.User passes through TCP/IP using client(Transmission
Control Protocol/Internet Protocol, transmission control protocol/Internet Protocol)Network insertion and use
It can remotely be operated with online access virtual desktop.
In the implementation of the present invention, inventor has found that the above method has at least the following problems:Due to the behaviour of user
Make system, application program and document to be maintained in long-range virtual desktop.When client can not access TCP/IP networks, use
When long-range virtual desktop, user can not then use and access application and document.
Invention content
The embodiment of the present invention the technical problem to be solved is that:When breaking in a network, user cannot use remotely virtual
Desktop, and can not use and access application and document, a kind of processing method and system of virtual desktop are provided.
A kind of processing method of virtual desktop provided in an embodiment of the present invention, including:
The client AM access module of user equipment judges whether to access host according to network state, if so, with described
Host establishes connection;
The client synchronization module of the user equipment obtains the status information of flag, if the state letter of the flag
Breath is offline, then the client virtual desktop residual quantity storage file stored in the user equipment is sent to the host
Server synchronization module;
The server-side residual quantity processing module of the host is according to the client virtual desktop residual quantity storage file to institute
The virtual desktop storage file stored in host is stated to be handled;
User operation instruction is sent to the service of the host by the client operation processing module of the user equipment
Hold operation processing module;
The server-side operation processing module is according to the user operation instruction to the virtual table that is stored in the host
Face storage file is modified, and server-side virtual desktop residual quantity storage file is generated according to the content of modification;
It is same that the server-side virtual desktop residual quantity storage file is sent to the client by the server synchronization module
Walk module;
The client residual quantity processing module of the user equipment is according to the server-side virtual desktop residual quantity storage file pair
The virtual desktop storage file stored in the user equipment is handled;
The status information of the flag is revised as online by the client AM access module.
A kind of processing system of virtual desktop provided in an embodiment of the present invention, including:User equipment and host;The use
Family equipment includes client AM access module, client synchronization module, client operation processing module, client residual quantity processing mould
Block;The host includes server synchronization module, server-side operation processing module, server-side residual quantity processing module;
The client AM access module accesses the host, if so, with institute for judging whether according to network state
It states host and establishes connection;
The client synchronization module, the status information for obtaining flag, if the status information of the flag is
Offline, then the client virtual desktop residual quantity storage file stored in the user equipment is sent to the server synchronization mould
Block;
The server-side residual quantity processing module is used for according to the client virtual desktop residual quantity storage file to the place
The virtual desktop storage file stored in host is handled;
The client operation processing module, for user operation instruction to be sent to the server-side operation processing mould
Block;
The server-side operation processing module, for according to the user operation instruction to the void that is stored in the host
Quasi- desktop storage file is modified, and server-side virtual desktop residual quantity storage file is generated according to the content of modification;
The server synchronization module, for the server-side virtual desktop residual quantity storage file to be sent to the client
Hold synchronization module;
The client residual quantity processing module is used for according to the server-side virtual desktop residual quantity storage file to the use
The virtual desktop storage file stored in the equipment of family is handled;
The client AM access module is additionally operable to the status information of the flag being revised as online.
Processing method and system based on the virtual desktop that the above embodiment of the present invention provides, no matter user uses local void
Quasi- desktop still uses remote virtual desktop, user that can all generate virtual desktop residual quantity to the modification of virtual desktop storage file and deposit
File is stored up, by the setting of flag, when user equipment can access network, client synchronization module can be according to the mark
Position discriminates whether client virtual desktop residual quantity storage file being synchronized to server-side.Moreover, user uses remote dummy table
Behind face, server-side virtual desktop residual quantity storage file can be synchronized to client by server-side, so that no matter user is using long-range
Online virtual desktop, or using local offline virtual desktop, the environment of access is all consistent.It not only realizes and works as and can not connect
In the case of entering network or network interruption, user uses the purpose of application program and document offline, it is ensured that client and
Operating system, the consistency of application program and document in server-side.Moreover, carrying out client by virtual desktop residual quantity storage file
End is synchronous with server-side, avoids the waste of transfer resource caused by synchronizing entire virtual desktop storage file, carries
High synchronous efficiency.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Description of the drawings
The attached drawing of a part for constitution instruction describes the embodiment of the present invention, and together with description for explaining
The principle of the present invention.
The present invention can be more clearly understood according to following detailed description with reference to attached drawing, wherein:
Fig. 1 is the flow chart of processing method one embodiment of virtual desktop of the present invention.
Fig. 2 is the flow chart of another embodiment of the processing method of virtual desktop of the present invention.
Fig. 3 is the flow chart of another embodiment of the processing method of virtual desktop of the present invention.
Fig. 4 is the structural schematic diagram of processing system one embodiment of virtual desktop of the present invention.
Fig. 5 is the structural schematic diagram of another embodiment of the processing system of virtual desktop of the present invention.
Specific implementation mode
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should be noted that:Unless in addition having
Body illustrates that the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The range of invention.
Simultaneously, it should be appreciated that for ease of description, the size of attached various pieces shown in the drawings is not according to reality
Proportionate relationship draw.
It is illustrative to the description only actually of at least one exemplary embodiment below, is never used as to the present invention
And its application or any restrictions that use.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable
In the case of, the technology, method and apparatus should be considered as part of specification.
In shown here and discussion all examples, any occurrence should be construed as merely illustrative, without
It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it need not be further discussed in subsequent attached drawing in a attached drawing.
Fig. 1 is the flow chart of processing method one embodiment of virtual desktop of the present invention.As shown in Figure 1, the present embodiment carries
The processing method of the virtual desktop of confession specifically can be applied to be based on KVM(For Kernel-based Virtual Machine,
Virtual machine based on kernel)With the processing procedure of the virtual desktop of the virtual environment of XEN, virtual desktop provided in this embodiment
Processing method specifically includes:
The client AM access module of step 100, user equipment judges whether access host according to network state, if so,
It then establishes and connects with host;
The status information of step 101, the client synchronization module acquisition flag of user equipment, if the state letter of flag
Breath is offline, then the server-side that the client virtual desktop residual quantity storage file stored in user equipment is sent to host is same
Walk module;
Step 102, the server-side residual quantity processing module of host are according to client virtual desktop residual quantity storage file to place
The virtual desktop storage file stored in host is handled;
User operation instruction is sent to the service of host by step 103, the client operation processing module of user equipment
Hold operation processing module;
Step 104, server-side operation processing module deposit the virtual desktop stored in host according to user operation instruction
Storage file is modified, and server-side virtual desktop residual quantity storage file is generated according to the content of modification;
Server-side virtual desktop residual quantity storage file is sent to client synchronization mould by step 105, server synchronization module
Block;
Step 106, the client residual quantity processing module of user equipment are according to server-side virtual desktop residual quantity storage file pair
The virtual desktop storage file stored in user equipment is handled;
The status information of flag is revised as online by step 107, client AM access module.
Specifically, user equipment can be that the electronics such as PC, laptop, smart mobile phone or tablet computer are set
It is standby.Client is provided in user equipment, user can access host by client, with to the remote dummy on host
Desktop is operated.
First, user can first open the client on user equipment, and client AM access module can be sentenced according to network state
It is disconnected whether to be able to access that host, if current network state is relatively good, the connection with host can be established, the network
Such as can be TCP/IP networks, it is logical that the server-side in client and host on user equipment establishes virtual desktop access
Road.After establishing the connection with host, client synchronization module obtains the status information of flag, which specifically may be used
It is to use virtual desktop in what state to identify the last time to be stored in user terminal memory module.Flag
Status information be offline, illustrate the last time be under off-line state use virtual desktop, i.e., user by client to this
The operation that ground virtual desktop carries out;The status information of flag is online, illustrates that the last time is used virtually under presence
Desktop, i.e., the operation that user carries out remote virtual desktop by client.During actually realizing, remote virtual desktop
The virtual desktop storage file stored on host is run for the virtual desktop process on host maps generation, it is similar, this
Ground virtual desktop is that the virtual desktop process on user equipment runs the virtual desktop storage file mapping stored on user equipment
It generates.Virtual desktop storage file includes operating system, application program and document.
If the status information for the flag that client synchronization module is got is offline, user passes through client pair the last time
Local virtual desktop is operated, user in operation, to appointing for the virtual desktop storage file that is stored in user equipment
What is changed, and is stored in a user device in the form of client virtual desktop residual quantity storage file.Client synchronization module can
By the synchronizing channel between server synchronization module, which is synchronized to service
Hold synchronization module.
Since user is the virtual desktop used offline the last time, host is not aware that user stores text to virtual desktop
The modification of part.Server synchronization module receives client virtual desktop residual quantity storage file from client synchronization module, you can root
Corresponding synchronization process is carried out according to the client virtual desktop residual quantity storage file.Server-side residual quantity processing module is according to the client
End virtual desktop residual quantity storage file handles the virtual desktop storage file stored in host, so that in host
Virtual desktop storage file be consistent with the virtual desktop storage file in user equipment, avoid user's access environment not
Unanimous circumstances.During actually realizing, when client synchronization module synchronizes client virtual desktop residual quantity storage file
After server-side, which can be stored and be deleted from user equipment, to save memory space.It can be with
When to using user local virtual desktop every time by temporal information the client virtual desktop residual quantity storage file that generates into
Line identifier.
User accesses host by the client on user equipment, uses remote virtual desktop.User equipment can root
Corresponding user operation instruction is generated according to user's operation, which is sent to service by client operation processing module
Operation processing module is held, server-side operation processing module is handled according to the user operation instruction received, if user is to void
What quasi- desktop storage file was modified, then server-side virtual desktop residual quantity storage file is generated according to the content of modification.Service
Hold synchronization module can in real time with or prefixed time interval by the server-side virtual desktop residual quantity during this period of time generated store
File synchronization, can also be after user uses remote virtual desktop, then by this use of user to client synchronization module
Server-side virtual desktop residual quantity storage file caused by remote virtual desktop is sent to client synchronization module.Server-side is real-time
Or server-side virtual desktop residual quantity storage file is synchronized to by client with prefixed time interval, can to avoid network it is unexpected in
The situation that data caused by disconnected do not synchronize in time, and cause the virtual desktop environment of client and server-side inconsistent.
During actually realizing, when server-side virtual desktop residual quantity storage file is synchronized to visitor by server synchronization module
Behind the end of family, which can be stored and be deleted from host, to save memory space.It can also be to logical
The server-side virtual desktop residual quantity storage file that generates is crossed when temporal information uses user remote virtual desktop every time into rower
Know.
Client residual quantity processing module is according to the server-side virtual desktop residual quantity storage file to being stored in user equipment
Virtual desktop storage file is handled, and processing procedure is similar with the processing procedure of server-side, and details are not described herein.The synchronization
Process ensure that client and service the consistency of end data.The status information of flag is revised as by client AM access module
Line, using the flag as foundation, is correspondingly handled so that when user's next time uses virtual desktop by client.
The processing method of virtual desktop provided in this embodiment, no matter user is still used remotely using local virtual desktop
Virtual desktop, user can generate virtual desktop residual quantity storage file to the modification of virtual desktop storage file, pass through flag
Setting, when user equipment can access network, client synchronization module can be discriminated whether according to the flag will be objective
Family end virtual desktop residual quantity storage file is synchronized to server-side.Moreover, user is using after remote virtual desktop, server-side can will take
Business end virtual desktop residual quantity storage file is synchronized to client, so that no matter user uses remote online virtual desktop, still
Using local offline virtual desktop, the environment of access is all consistent.Not only realizing to work as can not access in network or network
In the case of disconnected, user uses the purpose of application program and document offline, it is ensured that operating system in client and server-side,
The consistency of application program and document.Moreover, it is synchronous with server-side by virtual desktop residual quantity storage file progress client,
The waste for avoiding transfer resource caused by synchronizing entire virtual desktop storage file, improves synchronous efficiency.
In the present embodiment, if the status information of flag is online, user's last time is by client on host
Remote virtual desktop operated, user in operation, to appointing for the virtual desktop storage file that is stored in host
What is changed, and is stored in host in the form of server-side virtual desktop residual quantity storage file, moreover, the virtual table of the server-side
Face residual quantity storage file has also been synchronized in client.User can continue through client and use remote virtual desktop, realize
Process is similar.I.e. in the above-described embodiments, if the status information of flag is online, step 103 is directly executed.
Fig. 2 is the flow chart of another embodiment of the processing method of virtual desktop of the present invention.As shown in Fig. 2, the present embodiment
The processing method of the virtual desktop of offer specifically includes:
The client AM access module of step 200, user equipment judges whether access host according to network state, if so,
It then establishes and connects with host;
The status information of step 201, the client synchronization module acquisition flag of user equipment, if the state letter of flag
Breath is offline, thens follow the steps 202, if the status information of flag is to use for the first time, thens follow the steps 204;
Step 202, the clothes that the client virtual desktop residual quantity storage file stored in user equipment is sent to host
Business end synchronization module;
Step 203, the server-side residual quantity processing module of host are according to client virtual desktop residual quantity storage file to place
The virtual desktop storage file stored in host is handled, and step 207 is executed;
Step 204, client synchronization module are to the original virtual desktop storage file of server synchronization module request;
Original virtual desktop storage file is sent to client synchronization module by step 205, server synchronization module;
Original virtual desktop storage file storage in a user device, is executed step by step 206, client synchronization module
Rapid 207;
User operation instruction is sent to the service of host by step 207, the client operation processing module of user equipment
Hold operation processing module;
Step 208, server-side operation processing module deposit the virtual desktop stored in host according to user operation instruction
Storage file is modified, and server-side virtual desktop residual quantity storage file is generated according to the content of modification;
Server-side virtual desktop residual quantity storage file is sent to client synchronization mould by step 209, server synchronization module
Block;
Step 210, the client residual quantity processing module of user equipment are according to server-side virtual desktop residual quantity storage file pair
The virtual desktop storage file stored in user equipment is handled;
The status information of flag is revised as online by step 211, client AM access module.
It is increased on the basis of the present embodiment embodiment shown in Fig. 1 when the status information of flag is to use for the first time
Process flow.The process flow when status information of flag is offline is specifically referred to above-described embodiment, implements
Details are not described herein for process.Process flow when being below use for the first time to the status information of flag is described in detail.
Specifically, if the status information of flag is to use for the first time, illustrate that user uses virtual desktop for the first time, then client
Synchronization module downloads the original virtual table to the original virtual desktop storage file of server synchronization module request, from server-side
Face storage file.User specifically may be used by client using remote virtual desktop and the synchronizing process of server-side and client
With the description with reference to above-described embodiment, do not repeating again.
Present embodiment describes a kind of users for the first time in use, client is deposited from the complete virtual desktop of server-side download
The realization method for storing up file, in another implementation, when can also install the client in a user device, just by the original
In the virtual desktop storage file storage to user equipment of beginning.
In the present embodiment, if client AM access module is judged as not accessing host according to network state, method is also
It may include steps of:
Step 221, client operation processing module store the virtual desktop stored in user equipment according to user's operation
File is modified, and generates client virtual desktop residual quantity storage file according to the content of modification, and store in a user device;
The status information of flag is revised as offline by step 222, client AM access module.
Specifically, when network state is bad or interrupts, client AM access module cannot be established with host and be connected, and be used
Family can use local virtual desktop by client.By the way that the status information of flag is revised as offline, in network state
When allowing attachment to host, the client virtual desktop residual quantity in client can be deposited according to the status information of the flag
File synchronization is stored up to server-side.
In the present embodiment, step 211, after the status information of flag is revised as online by client AM access module,
Method can also include:
The temporal information of flag is revised as present system time by step 231, client synchronization module.
Step 222, after the status information of flag is revised as offline by client AM access module, method further includes:
The temporal information of flag is revised as present system time by step 232, client synchronization module.
In the present embodiment, step 203, the server-side residual quantity processing module of host is according to client virtual desktop residual quantity
Storage file handles the virtual desktop storage file stored in host, is specifically as follows:
The virtual table that server-side residual quantity processing module will store in client virtual desktop residual quantity storage file and host
Face storage file merges;
Step 207, the client residual quantity processing module of user equipment is according to server-side virtual desktop residual quantity storage file pair
The virtual desktop storage file stored in user equipment is handled, and is specifically as follows:
Client residual quantity processing module by server-side virtual desktop residual quantity storage file with stored in user equipment it is virtual
Desktop storage file merges.
Fig. 3 is the flow chart of another embodiment of the processing method of virtual desktop of the present invention.Below in conjunction with shown in Fig. 3 to this
The processing method of the virtual desktop of embodiment is described in detail.
Step 301, client AM access module judge that network state is offline or online, if offline, execution step
302, if online, execution step 305;
Step 302, client terminal start-up local virtual desktop;
Local virtual desktop storage file is written in step 303, client, generates virtual desktop residual quantity storage file;
Flag is set as offline by step 304, client;
Step 305, client check the state of flag, if offline, then follow the steps 306, if online, then execute
Step 308;
Virtual desktop residual quantity storage file is uploaded to server-side by step 306, client;
Step 307, server-side merge virtual desktop residual quantity storage file with local virtual desktop storage file, execute step
Rapid 308;
Step 308, client terminal start-up remote virtual desktop;
Local virtual desktop storage file is written in step 309, server-side, generates virtual desktop residual quantity storage file;
Step 310, client downloads virtual desktop residual quantity storage file;
Step 311, client merge virtual desktop residual quantity storage file with local virtual desktop storage file;
Flag is set as online by step 312, client.
Each embodiment is described in a progressive manner in this specification, the highlights of each of the examples are with its
The difference of its embodiment, same or analogous part cross-reference between each embodiment.For system embodiment
For, since it is substantially corresponding with embodiment of the method, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation
It defends oneself bright.
Fig. 4 is the structural schematic diagram of processing system one embodiment of virtual desktop of the present invention.As shown in figure 4, this implementation
The processing side for the virtual desktop that any embodiment of the present invention provides specifically may be implemented in the processing system for the virtual desktop that example provides
Each step of method, details are not described herein for specific implementation process.The processing system of virtual desktop provided in this embodiment, including:
User equipment 41 and host 42;User equipment 41 includes client AM access module 411, client synchronization module 412, client
Operation processing module 413 and client residual quantity processing module 414;Host 42 includes server synchronization module 421, server-side behaviour
Deal with module 422 and server-side residual quantity processing module 423.Client AM access module 411 is used for
No access host 42 connects if so, being established with host 42.Client synchronization module 412 is used to obtain the shape of flag
State information stores the client virtual desktop residual quantity stored in user equipment 41 if the status information of flag is offline
File is sent to server synchronization module 421.Server-side residual quantity processing module 423 according to client virtual desktop residual quantity for depositing
Storage file handles the virtual desktop storage file stored in host 42.Client operation processing module 413 is used for will
User operation instruction is sent to server-side operation processing module 422.Server-side operation processing module 422 is used for according to user's operation
Instruction modifies to the virtual desktop storage file stored in host 42, and the virtual table of server-side is generated according to the content of modification
Face residual quantity storage file.Server synchronization module 421 is used to server-side virtual desktop residual quantity storage file being sent to client
Synchronization module 412.Client residual quantity processing module 414 is used for according to server-side virtual desktop residual quantity storage file to user equipment
The virtual desktop storage file stored in 41 is handled.Client AM access module 411 is additionally operable to the status information of flag
It is revised as online.
The processing system of virtual desktop provided in this embodiment, no matter user is still used remotely using local virtual desktop
Virtual desktop, user can generate virtual desktop residual quantity storage file to the modification of virtual desktop storage file, pass through flag
Setting, when user equipment can access network, client synchronization module can be discriminated whether according to the flag will be objective
Family end virtual desktop residual quantity storage file is synchronized to server-side.Moreover, user is using after remote virtual desktop, server-side can will take
Business end virtual desktop residual quantity storage file is synchronized to client, so that no matter user uses remote online virtual desktop, still
Using local offline virtual desktop, the environment of access is all consistent.Not only realizing to work as can not access in network or network
In the case of disconnected, user uses the purpose of application program and document offline, it is ensured that operating system in client and server-side,
The consistency of application program and document.Moreover, it is synchronous with server-side by virtual desktop residual quantity storage file progress client,
The waste for avoiding transfer resource caused by synchronizing entire virtual desktop storage file, improves synchronous efficiency.
In the present embodiment, if the status information of flag is to use for the first time, client synchronization module 412 can also be used
In asking original virtual desktop storage file to server synchronization module 421, server synchronization module 421 can be also used for by
Original virtual desktop storage file is sent to client synchronization module 412, and client synchronization module 412 can be also used for will be former
The virtual desktop storage file of beginning is stored in user equipment 41.
In the present embodiment, if client AM access module 411 is judged as not accessing host 42 according to network state, visitor
Family end operation processing module 413 can be also used for according to user's operation, and text is stored to the virtual desktop stored in user equipment 41
Part is modified, and generates client virtual desktop residual quantity storage file according to the content of modification, and be stored in user equipment 41,
Client AM access module 411 can be also used for the status information of flag being revised as offline.
In the present embodiment, client synchronization module 412 can be also used for the temporal information of flag being revised as currently
System time, client synchronization module 412 can be also used for the temporal information of flag being revised as present system time.
In the present embodiment, server-side residual quantity processing module 423 specifically can be used for depositing client virtual desktop residual quantity
Storage file merges with the virtual desktop storage file stored in host 42, and client residual quantity processing module 414 can specifically be used
In server-side virtual desktop residual quantity storage file is merged with the virtual desktop storage file stored in user equipment 41.
Fig. 5 is the structural schematic diagram of another embodiment of the processing system of virtual desktop of the present invention.Fig. 5 gives a kind of void
Intend the specific implementation of the processing system of desktop, file is partially shown as shown in the dotted line in Fig. 5.
It is provided with client 51 in access terminal, client residual quantity management module 511, client are provided in client 51
Virtual desktop storage file module 512 and client virtual desktop residual quantity storage file module 513, client residual quantity management module
511 include client AM access module 521, client synchronization module 522 and client identification position 523, and client virtual desktop is deposited
Storage file module 512 is for storing client virtual desktop storage file, client virtual desktop residual quantity storage file module 513
For storing client virtual desktop residual quantity storage file.Client virtual desktop scheduler module 514 runs the virtual table of client
Face storage file maps to obtain local virtual desktop 515, and under off-line state, user can be used by local virtual desktop 515
Operating system 5151, application program 5152 and document 5153, the modification during use generate client virtual desktop residual quantity and deposit
Store up file.
It is provided with server-side 53 in host, it is empty that server-side residual quantity management module 531, server-side are provided in server-side 53
Quasi- desktop storage file module 532 and server-side virtual desktop residual quantity storage file module 533, server-side residual quantity management module
531 include server-side AM access module 541, server synchronization module 542 and server-side flag 543, and server-side virtual desktop is deposited
It stores up file module 532 and is used for storage service end virtual desktop storage file, server-side virtual desktop residual quantity storage file module 533
For storage service end virtual desktop residual quantity storage file.The 534 virtual table in operation service end of server-side virtual desktop scheduler module
Face storage file maps to obtain remote virtual desktop 535, and under presence, user can be used by remote virtual desktop 535
Operating system 5351, application program 5352 and document 5353, the modification during use generate server-side virtual desktop residual quantity and deposit
File is stored up, is stored in server-side virtual desktop residual quantity storage file module 533.
Client AM access module 521 can judge whether to be able to access that host according to network state, if current network
Epidemic situation comparison is good, then can establish the connection with 53 AM access module 541 of server-side, establishes virtual desktop access channel C 1.
When user uses virtual desktop for the first time, client synchronization module 522 downloads complete virtual desktop from server-side 53
Storage file is stored in client virtual desktop storage file module 512.
522 reading client flag 523 of client synchronization module, if the flag is designated as offline, client is same
Module 522 is walked by the synchronizing channel C2 between server synchronization module 542, which is stored into text
It is uploaded to server synchronization module 542.Server synchronization module 542 is by the client virtual desktop residual quantity storage file and services
Virtual desktop storage file is held to merge.
User generates server-side virtual desktop residual quantity storage file, client during using remote virtual desktop 535
Synchronization module 522 stores server-side virtual desktop residual quantity from 53 download service end virtual desktop residual quantity storage file of server-side
File merges with client virtual desktop storage file, and flag is revised as online by client AM access module 521.
When network state is bad or network interruption causes client 51 that can not be connect with server-side 53, user can be offline
Using local virtual desktop 515, the client virtual desktop residual quantity storage file generated in use is stored in client
In virtual desktop residual quantity storage file module 513.
Virtual desktop storage file is passed through residual quantity by the processing method and system of virtual desktop provided in an embodiment of the present invention
Mode carry out preserve and synchronous transfer, judged according to sync id position, residual quantity storage file uploaded or downloaded,
Virtual desktop storage file folding can flexibly carry out virtual desktop residual quantity storage file and virtual desktop storage file
Merge.Decision logic is simple and efficient, and virtual desktop storage file version error, virtual desktop residual quantity storage file will not be caused to hold
Dynamic expanding technology is measured, disk space is saved, the transmission of File Upload and Download residual quantity is efficient.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or light
The various media that can store program code such as disk.
Description of the invention provides for the sake of example and description, and is not exhaustively or will be of the invention
It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.It selects and retouches
It states embodiment and is to more preferably illustrate the principle of the present invention and practical application, and those skilled in the art is enable to manage
Various embodiments with various modifications of the solution present invention to design suitable for special-purpose.
Claims (10)
1. a kind of processing method of virtual desktop, which is characterized in that including:
The client AM access module of user equipment judges whether to access host according to network state, if so, with the host
Machine establishes connection;
The client synchronization module of the user equipment obtains the status information of flag, the status information include it is offline and
Line;
If the status information of the flag is offline, the client virtual desktop residual quantity stored in the user equipment is deposited
Storage file is sent to the server synchronization module of the host;
The server-side residual quantity processing module of the host is according to the client virtual desktop residual quantity storage file to the place
The virtual desktop storage file stored in host is handled;
If the status information of the flag is online, user's last time stores the virtual desktop stored in the host
Any modification of file is stored in the form of server-side virtual desktop residual quantity storage file in the host;
The server-side that user operation instruction is sent to the host by the client operation processing module of the user equipment is grasped
Deal with module;
The server-side operation processing module deposits the virtual desktop stored in the host according to the user operation instruction
Storage file is modified, and the server-side virtual desktop residual quantity storage file is generated according to the content of modification;
The server-side virtual desktop residual quantity storage file is sent to the client synchronization mould by the server synchronization module
Block;
The client residual quantity processing module of the user equipment is according to the server-side virtual desktop residual quantity storage file to described
The virtual desktop storage file stored in user equipment is handled;
The status information of the flag is revised as online by the client AM access module.
If 2. according to the method described in claim 1, it is characterized in that, the status information of the flag be use for the first time,
User operation instruction is sent at the server-side operation of the host by the client operation processing module of the user equipment
Before managing module, the method further includes:
The client synchronization module is to the original virtual desktop storage file of the server synchronization module request;
The original virtual desktop storage file is sent to the client synchronization module by the server synchronization module;
The original virtual desktop storage file is stored in the user equipment by the client synchronization module.
3. method according to claim 1 or 2, which is characterized in that if the client AM access module is according to the network
Condition adjudgement is not access host, then the method further includes:
The client operation processing module is according to user's operation, to the virtual desktop storage file stored in the user equipment
It modifies, the client virtual desktop residual quantity storage file is generated according to the content of modification, and be stored in the user and set
In standby;
The status information of the flag is revised as offline by the client AM access module.
4. according to the method described in claim 3, it is characterized in that:
After the status information of the flag is revised as online by the client AM access module, the method further includes:
The temporal information of the flag is revised as present system time by the client synchronization module;
After the status information of the flag is revised as offline by the client AM access module, the method further includes:
The temporal information of the flag is revised as present system time by the client synchronization module.
5. according to the method described in claim 1, it is characterized in that:
The server-side residual quantity processing module of the host is according to the client virtual desktop residual quantity storage file to the place
The virtual desktop storage file stored in host is handled, specially:
The server-side residual quantity processing module stores the client virtual desktop residual quantity storage file with the host
Virtual desktop storage file merge;
The client residual quantity processing module of the user equipment is according to the server-side virtual desktop residual quantity storage file to described
The virtual desktop storage file stored in user equipment is handled, specially:
The client residual quantity processing module deposits the server-side virtual desktop residual quantity storage file with the user equipment
The virtual desktop storage file of storage merges.
6. a kind of processing system of virtual desktop, which is characterized in that including:User equipment and host;The user equipment packet
Include client AM access module, client synchronization module, client operation processing module and client residual quantity processing module;The place
Host includes server synchronization module, server-side operation processing module and server-side residual quantity processing module;
The client AM access module accesses the host, if so, with the place for judging whether according to network state
Host establishes connection;
The client synchronization module, the status information for obtaining flag, the status information include offline and online, if
The status information of the flag is client virtual desktop residual quantity storage file that is offline, then will being stored in the user equipment
It is sent to the server synchronization module, if the status information of the flag is online, user's last time is to the host
Any modification of the virtual desktop storage file stored in machine stores in the form of server-side virtual desktop residual quantity storage file
In the host;
The server-side residual quantity processing module is used for according to the client virtual desktop residual quantity storage file to the host
The virtual desktop storage file of middle storage is handled;
The client operation processing module, for user operation instruction to be sent to the server-side operation processing module;
The server-side operation processing module, for according to the user operation instruction to the virtual table that is stored in the host
Face storage file is modified, and the server-side virtual desktop residual quantity storage file is generated according to the content of modification;
The server synchronization module, it is same for the server-side virtual desktop residual quantity storage file to be sent to the client
Walk module;
The client residual quantity processing module, for being set to the user according to the server-side virtual desktop residual quantity storage file
The virtual desktop storage file of standby middle storage is handled;
The client AM access module is additionally operable to the status information of the flag being revised as online.
7. system according to claim 6, which is characterized in that if the status information of the flag is to use for the first time,
The client synchronization module is additionally operable to the original virtual desktop storage file of the server synchronization module request;
The server synchronization module is additionally operable to the original virtual desktop storage file being sent to the client synchronization
Module;
The client synchronization module is additionally operable to the original virtual desktop storage file being stored in the user equipment
In.
8. the system described according to claim 6 or 7, which is characterized in that if the client AM access module is according to the network
Condition adjudgement is not access host, then
The client operation processing module is additionally operable to according to user's operation, to the virtual desktop stored in the user equipment
Storage file is modified, and generates the client virtual desktop residual quantity storage file according to the content of modification, and be stored in institute
It states in user equipment;
The client AM access module is additionally operable to the status information of the flag being revised as offline.
9. system according to claim 8, it is characterised in that:
The client synchronization module is additionally operable to the temporal information of the flag being revised as present system time.
10. system according to claim 6, it is characterised in that:
The server-side residual quantity processing module is specifically used for the client virtual desktop residual quantity storage file and the host
The virtual desktop storage file stored in machine merges;
The client residual quantity processing module is specifically used for the server-side virtual desktop residual quantity storage file and the user
The virtual desktop storage file stored in equipment merges.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310671307.XA CN104717175B (en) | 2013-12-11 | 2013-12-11 | The processing method and system of virtual desktop |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310671307.XA CN104717175B (en) | 2013-12-11 | 2013-12-11 | The processing method and system of virtual desktop |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104717175A CN104717175A (en) | 2015-06-17 |
CN104717175B true CN104717175B (en) | 2018-07-13 |
Family
ID=53416149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310671307.XA Active CN104717175B (en) | 2013-12-11 | 2013-12-11 | The processing method and system of virtual desktop |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104717175B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681454B (en) * | 2016-02-29 | 2019-04-05 | 广东顺德中山大学卡内基梅隆大学国际联合研究院 | A kind of adaptive connection cloud desktop method and system |
CN110018875B (en) * | 2019-04-10 | 2022-05-31 | 北京云创世联科技股份有限公司 | Desktop synchronization implementation method based on IDV |
CN110488512B (en) * | 2019-06-11 | 2021-12-24 | 惠科股份有限公司 | Correction method and correction system of display panel measuring equipment |
CN110928624A (en) * | 2019-11-15 | 2020-03-27 | 联思智云(北京)科技有限公司 | Cloud desktop calling method and device for user terminal and terminal |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101626117B1 (en) * | 2009-06-22 | 2016-05-31 | 삼성전자주식회사 | Client, brokerage sever and method for providing cloud storage |
CN101741866B (en) * | 2010-02-01 | 2012-12-12 | 浪潮(北京)电子信息产业有限公司 | On-line storage system and method |
CN102035881B (en) * | 2010-11-19 | 2013-01-16 | 清华大学 | Data caching method of cloud storage system |
CN102202044A (en) * | 2011-02-25 | 2011-09-28 | 北京兴宇中科科技开发股份有限公司 | Portable cloud storage method and device |
CN102394935A (en) * | 2011-11-10 | 2012-03-28 | 方正国际软件有限公司 | Wireless shared storage system and wireless shared storage method thereof |
CN102710742A (en) * | 2012-04-11 | 2012-10-03 | 佳都新太科技股份有限公司 | Offline file synchronous processing mechanism based on cloud computing virtual application |
-
2013
- 2013-12-11 CN CN201310671307.XA patent/CN104717175B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104717175A (en) | 2015-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106301829B (en) | A kind of method and apparatus of network service dilatation | |
CN104598257B (en) | The method and apparatus of remote application operation | |
CN103873290B (en) | A kind of method and system for being used to assess the performance of application | |
WO2017113201A1 (en) | Network service lifecycle management method and device | |
CN111124277B (en) | Deep learning data set caching method, system, terminal and storage medium | |
US11425054B1 (en) | User-configured multi-location service deployment and scaling | |
CN104954451B (en) | The access control method of USB device under a kind of virtualized environment | |
CN104199722A (en) | Virtual computer storage service system and using method thereof | |
CN101582916B (en) | Network application system based on P2P and application method thereof | |
CN101924693A (en) | Be used for method and system in migrating processes between virtual machines | |
CN104965757A (en) | Virtual machine live migration method, virtual machine migration management apparatus, and virtual machine live migration system | |
CN103841179A (en) | Cloud desktop system | |
CN104717175B (en) | The processing method and system of virtual desktop | |
CN102523109A (en) | Resource state updating method, management client ends, and server | |
CN103118073A (en) | Virtual machine data persistence storage system and method in cloud environment | |
CN113157362A (en) | Android multi-window display method applied to Linux | |
CN103501295B (en) | A kind of remote access method based on virtual machine (vm) migration and equipment | |
CN108074210A (en) | A kind of object acquisition system and method rendered for cloud | |
CN108632354A (en) | Physical machine receives pipe method, apparatus and cloud desktop management platform | |
CN106817388A (en) | The system that virtual machine, host obtain the method, device and access data of data | |
CN108073350A (en) | A kind of object storage system rendered for cloud and method | |
CN112905304A (en) | Communication method and device between virtual machines, physical host and medium | |
US11765244B1 (en) | Latency-based service discovery and routing for multi-location service-oriented applications | |
WO2013008036A2 (en) | Modelling virtualized infrastructure | |
CN111432040A (en) | Data packet sending method and device for multi-system terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |