CN104717175A - Virtual desktop processing method and system - Google Patents

Virtual desktop processing method and system Download PDF

Info

Publication number
CN104717175A
CN104717175A CN201310671307.XA CN201310671307A CN104717175A CN 104717175 A CN104717175 A CN 104717175A CN 201310671307 A CN201310671307 A CN 201310671307A CN 104717175 A CN104717175 A CN 104717175A
Authority
CN
China
Prior art keywords
virtual desktop
client
storage file
residual quantity
module
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
CN201310671307.XA
Other languages
Chinese (zh)
Other versions
CN104717175B (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201310671307.XA priority Critical patent/CN104717175B/en
Publication of CN104717175A publication Critical patent/CN104717175A/en
Application granted granted Critical
Publication of CN104717175B publication Critical patent/CN104717175B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a virtual desktop processing method and a system. The method comprises steps: a client access module and a host computer build connection; if the state information of an identifier is offline, a client synchronization module sends differential storage files of a client virtual desktop to a server synchronization module; a server differential processing module processes the storage files of the virtual desktop; the client operation processing module sends a user operation instruction to a server operation processing module; the server operation processing module generates differential storage files of a server virtual desktop; the server synchronization module sends the differential storage files of the server virtual desktop to the client synchronization module; the client differential processing module processes the storage files of the virtual desktop; and the client access module modifies the state information of the identifier to be online. The embodiment of the invention can realize offline use of the virtual desktop.

Description

The processing method of virtual desktop and system
Technical field
The present invention relates to server virtualization technology, particularly relate to a kind of processing method and system of virtual desktop.
Background technology
Server virtualization refers on a physics host, to fictionalize multiple virtual machine (VirtualMachine is called for short VM), mutually isolated between each virtual machine, and can run separate a kind of technology simultaneously.A physics host can be split into dozens of independently virtual machine by this technology, each virtual function independent operating business, to realize improving server resource utilance, improves the target of the efficiency of management.As the foundation class technology of cloud computing, server virtualization technology is obtaining a large amount of application and popularization in recent years.As IDC(Internet Data Center, Internet data center) a physics host invents the virtual machine of about 20 by service provider, and every platform virtual machine possesses independently operating system, network environment, then is hired out to user.Can health service revenue be increased concerning IDC Service Provider, concerning user, can hiring cost be reduced.
Virtual desktop technology is based on server virtualization technology, by PC server virtualization, and is divided into multiple virtual desktop for a kind of cloud computing technology of different user.User uses client to pass through TCP/IP(Transmission Control Protocol/Internet Protocol, transmission control protocol/Internet Protocol) network insertion and use long-range can online access virtual desktop, operate.
Realizing in process of the present invention, inventor finds that said method at least exists following problem: because the operating system of user, application program and document are all kept in long-range virtual desktop.When client cannot access TCP/IP network, use long-range virtual desktop time, user then cannot use and access application and document.
Summary of the invention
Embodiment of the present invention technical problem to be solved is: when breaking in a network, user can not use long-range virtual desktop, and cannot use and access application and document, provides a kind of processing method and system of virtual desktop.
The processing method of a kind of virtual desktop that the embodiment of the present invention provides, comprising:
The client access module of subscriber equipment judges whether to access host according to network state, if so, then connects with described host;
The client synchronization module of described subscriber equipment obtains the state information of flag, if the state information of described flag is off-line, then the client virtual desktop residual quantity storage file stored in described subscriber equipment is sent to the server synchronization module of described host;
The service end residual quantity processing module of described host processes the virtual desktop storage file stored in described host according to described client virtual desktop residual quantity storage file;
User operation instruction is sent to the service end operational processes module of described host by the client operation processing module of described subscriber equipment;
Described service end operational processes module is modified to the virtual desktop storage file stored in described host according to described user operation instruction, generates service end virtual desktop residual quantity storage file according to the content of amendment;
Described service end virtual desktop residual quantity storage file is sent to described client synchronization module by described server synchronization module;
The client residual quantity processing module of described subscriber equipment processes the virtual desktop storage file stored in described subscriber equipment according to described service end virtual desktop residual quantity storage file;
The state information of described flag is revised as online by described client access module.
The treatment system of a kind of virtual desktop that the embodiment of the present invention provides, comprising: subscriber equipment and host; Described subscriber equipment comprises client access module, client synchronization module, client operation processing module, client residual quantity processing module; Described host comprises server synchronization module, service end operational processes module, service end residual quantity processing module;
Described client access module, accesses described host for judging whether according to network state, if so, then connects with described host;
Described client synchronization module, for obtaining the state information of flag, if the state information of described flag is off-line, then sends to described server synchronization module by the client virtual desktop residual quantity storage file stored in described subscriber equipment;
Described service end residual quantity processing module, for processing the virtual desktop storage file stored in described host according to described client virtual desktop residual quantity storage file;
Described client operation processing module, for sending to described service end operational processes module by user operation instruction;
Described service end operational processes module, for modifying to the virtual desktop storage file stored in described host according to described user operation instruction, generates service end virtual desktop residual quantity storage file according to the content of amendment;
Described server synchronization module, for sending to described client synchronization module by described service end virtual desktop residual quantity storage file;
Described client residual quantity processing module, for processing the virtual desktop storage file stored in described subscriber equipment according to described service end virtual desktop residual quantity storage file;
Described client access module, also for the state information of described flag being revised as online.
The processing method of the virtual desktop provided based on the above embodiment of the present invention and system, no matter user uses local virtual desktop still to use remote virtual desktop, user can generating virtual desktop residual quantity storage file to the amendment of virtual desktop storage file, by the setting of flag, subscriber equipment can access network time, client synchronization module can according to this flag differentiate whether client virtual desktop residual quantity storage file to be synchronized to service end.And after user uses remote virtual desktop, service end virtual desktop residual quantity storage file can be synchronized to client by service end, to make user no matter use remote online virtual desktop, still uses local off-line virtual desktop, and the environment of access is all consistent.Not only achieve when cannot access network or network interruption when, user's off-line uses the object of application program and document, also assures that the consistency of operating system, application program and document in client and service end.And, carry out the synchronous of client and service end by virtual desktop residual quantity storage file, avoid the waste of the transfer resource synchronously caused by whole virtual desktop storage file, improve synchronous efficiency.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of the invention provides in order to example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is in order to principle of the present invention and practical application are better described, and enables those of ordinary skill in the art understand the present invention thus design the various embodiments with various amendment being suitable for special-purpose.
Accompanying drawing explanation
What form a part for specification drawings describes embodiments of the invention, and is used from explanation principle of the present invention together with description one.
With reference to accompanying drawing, according to detailed description below, clearly the present invention can be understood, wherein:
Fig. 1 is the flow chart of a processing method embodiment of virtual desktop of the present invention.
Fig. 2 is the flow chart of another embodiment of processing method of virtual desktop of the present invention.
Fig. 3 is the flow chart of another embodiment of processing method of virtual desktop of the present invention.
Fig. 4 is the structural representation of a treatment system embodiment of virtual desktop of the present invention.
Fig. 5 is the structural representation of another embodiment for the treatment of system of virtual desktop of the present invention.
Embodiment
Various exemplary embodiment of the present invention is described in detail now with reference to accompanying drawing.It should be noted that: unless specifically stated otherwise, otherwise positioned opposite, the numerical expression of the parts of setting forth in these embodiments and step and numerical value do not limit the scope of the invention.
Meanwhile, it should be understood that for convenience of description, the size of the various piece shown in accompanying drawing is not draw according to the proportionate relationship of reality.
Illustrative to the description only actually of at least one exemplary embodiment below, never as any restriction to the present invention and application or use.
May not discuss in detail for the known technology of person of ordinary skill in the relevant, method and apparatus, but in the appropriate case, described technology, method and apparatus should be regarded as a part for specification.
In all examples with discussing shown here, any occurrence should be construed as merely exemplary, instead of as restriction.Therefore, other example of exemplary embodiment can have different values.
It should be noted that: represent similar terms in similar label and letter accompanying drawing below, therefore, once be defined in an a certain Xiang Yi accompanying drawing, then do not need to be further discussed it in accompanying drawing subsequently.
Fig. 1 is the flow chart of a processing method embodiment of virtual desktop of the present invention.As shown in Figure 1, the processing method of the virtual desktop that the present embodiment provides specifically can be applied to based on KVM(for Kernel-based Virtual Machine, virtual machine based on kernel) and the processing procedure of virtual desktop of virtual environment of XEN, the processing method of the virtual desktop that the present embodiment provides specifically comprises:
The client access module of step 100, subscriber equipment judges whether to access host according to network state, if so, then connects with host;
The client synchronization module of step 101, subscriber equipment obtains the state information of flag, if the state information of flag is off-line, then the client virtual desktop residual quantity storage file stored in subscriber equipment is sent to the server synchronization module of host;
The service end residual quantity processing module of step 102, host processes the virtual desktop storage file stored in host according to client virtual desktop residual quantity storage file;
User operation instruction is sent to the service end operational processes module of host by the client operation processing module of step 103, subscriber equipment;
Step 104, service end operational processes module are modified to the virtual desktop storage file stored in host according to user operation instruction, generate service end virtual desktop residual quantity storage file according to the content of amendment;
Service end virtual desktop residual quantity storage file is sent to client synchronization module by step 105, server synchronization module;
The client residual quantity processing module of step 106, subscriber equipment processes the virtual desktop storage file stored in subscriber equipment according to service end virtual desktop residual quantity storage file;
The state information of flag is revised as online by step 107, client access module.
Particularly, subscriber equipment can be the electronic equipments such as PC, notebook computer, smart mobile phone or panel computer.Be provided with client in subscriber equipment, user can pass through client-access host, to operate the remote virtual desktop on host.
First, user first can open the client on subscriber equipment, client access module can judge whether to access host according to network state, if current network state is relatively good, then can set up the connection with host, this network can be such as TCP/IP network, and the client on subscriber equipment and the service end on host are set up virtual desktop and accessed passage.After establishing the connection with host, client synchronization module obtains the state information of flag, and this flag specifically can be stored in user terminal memory module, is use virtual desktop in what state in order to identify the last time.The state information of flag is off-line, illustrates last under off-line state, to use virtual desktop, i.e. the operation carried out local virtual desktop by client of user; The state information of flag is online, illustrates that the last time uses virtual desktop under presence, i.e. the operation carried out remote virtual desktop by client of user.In actual implementation procedure, remote virtual desktop is that the virtual desktop process on host runs the virtual desktop storage file mapping generation that host stores, similar, local virtual desktop is that the virtual desktop storage file that the virtual desktop process run user equipment on subscriber equipment stores maps generation.Virtual desktop storage file comprises operating system, application program and document.
If the state information of the flag that client synchronization module gets is off-line, user is operated local virtual desktop by client the last time, user in operation, to any amendment of the virtual desktop storage file stored in subscriber equipment, all store in a user device with the form of client virtual desktop residual quantity storage file.This client virtual desktop residual quantity storage file by the synchronizing channel between server synchronization module, can be synchronized to server synchronization module by client synchronization module.
Because user is the virtual desktop that off-line uses the last time, host does not also know the amendment of user to virtual desktop storage file.Server synchronization module receives client virtual desktop residual quantity storage file from client synchronization module, can carry out corresponding synchronous process according to this client virtual desktop residual quantity storage file.Service end residual quantity processing module processes the virtual desktop storage file stored in host according to this client virtual desktop residual quantity storage file, to make virtual desktop storage file in host be consistent with the virtual desktop storage file in subscriber equipment, avoid the situation that user's access environment is inconsistent.In actual implementation procedure, after client virtual desktop residual quantity storage file is synchronized to service end by client synchronization module, this client virtual desktop residual quantity can be stored and delete from subscriber equipment, to save memory space.The client virtual desktop residual quantity storage file generated during local virtual desktop can be used to identify user to by temporal information at every turn.
User, by the client-access host on subscriber equipment, uses remote virtual desktop.Subscriber equipment can generate corresponding user operation instruction according to user operation, this user operation instruction is sent to service end operational processes module by client operation processing module, service end operational processes module processes according to the user operation instruction received, if user modifies to virtual desktop storage file, then generate service end virtual desktop residual quantity storage file according to the content of amendment.Server synchronization module can in real time with or prefixed time interval the service end virtual desktop residual quantity storage file during this period of time produced is synchronized to client synchronization module, also after user uses remote virtual desktop to terminate, then this service end virtual desktop residual quantity storage file using remote virtual desktop to produce of user can be sent to client synchronization module.Service end is real-time or with prefixed time interval, service end virtual desktop residual quantity storage file is synchronized to client, the data that network can be avoided to interrupt suddenly causing are not synchronous in time, and the situation causing the virtual desktop environment of client and service end inconsistent.
In actual implementation procedure, after service end virtual desktop residual quantity storage file is synchronized to client by server synchronization module, this service end virtual desktop residual quantity can be stored and delete from host, to save memory space.Also the service end virtual desktop residual quantity storage file generated during remote virtual desktop can be used to identify user to by temporal information at every turn.
Client residual quantity processing module processes the virtual desktop storage file stored in subscriber equipment according to this service end virtual desktop residual quantity storage file, and the processing procedure of its processing procedure and service end is similar, does not repeat them here.This synchronizing process ensure that the consistency of client and service end data.The state information of flag is revised as online by client access module, with make user next time by client use virtual desktop time, with this flag for foundation, correspondingly process.
The processing method of the virtual desktop that the present embodiment provides, no matter user uses local virtual desktop still to use remote virtual desktop, user can generating virtual desktop residual quantity storage file to the amendment of virtual desktop storage file, by the setting of flag, subscriber equipment can access network time, client synchronization module can according to this flag differentiate whether client virtual desktop residual quantity storage file to be synchronized to service end.And after user uses remote virtual desktop, service end virtual desktop residual quantity storage file can be synchronized to client by service end, to make user no matter use remote online virtual desktop, still uses local off-line virtual desktop, and the environment of access is all consistent.Not only achieve when cannot access network or network interruption when, user's off-line uses the object of application program and document, also assures that the consistency of operating system, application program and document in client and service end.And, carry out the synchronous of client and service end by virtual desktop residual quantity storage file, avoid the waste of the transfer resource synchronously caused by whole virtual desktop storage file, improve synchronous efficiency.
In the present embodiment, if the state information of flag is online, user is operated the remote virtual desktop on host by client the last time, user in operation, to any amendment of the virtual desktop storage file stored in host, all be stored in host with the form of service end virtual desktop residual quantity storage file, and this service end virtual desktop residual quantity storage file is also synchronized in client.User can continue through client and use remote virtual desktop, and implementation procedure is similar.Namely in the above-described embodiments, if the state information of flag is online, directly step 103 is performed.
Fig. 2 is the flow chart of another embodiment of processing method of virtual desktop of the present invention.As shown in Figure 2, the processing method of virtual desktop that the present embodiment provides specifically comprises:
The client access module of step 200, subscriber equipment judges whether to access host according to network state, if so, then connects with host;
The client synchronization module of step 201, subscriber equipment obtains the state information of flag, if the state information of flag is off-line, then performs step 202, if the state information of flag is for use first, then performs step 204;
Step 202, the client virtual desktop residual quantity storage file stored in subscriber equipment is sent to the server synchronization module of host;
The service end residual quantity processing module of step 203, host processes the virtual desktop storage file stored in host according to client virtual desktop residual quantity storage file, performs step 207;
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 stores in a user device by step 206, client synchronization module, performs step 207;
User operation instruction is sent to the service end operational processes module of host by the client operation processing module of step 207, subscriber equipment;
Step 208, service end operational processes module are modified to the virtual desktop storage file stored in host according to user operation instruction, generate service end virtual desktop residual quantity storage file according to the content of amendment;
Service end virtual desktop residual quantity storage file is sent to client synchronization module by step 209, server synchronization module;
The client residual quantity processing module of step 210, subscriber equipment processes the virtual desktop storage file stored in subscriber equipment according to service end virtual desktop residual quantity storage file;
The state information of flag is revised as online by step 211, client access module.
The present embodiment state information added on basis embodiment illustrated in fig. 1 when flag is handling process when using first.The handling process when state information of flag is off-line specifically can with reference to above-described embodiment, and its specific implementation process does not repeat them here.Below to the state information of flag be use first time handling process be described in detail.
Particularly, if the state information of flag is for use first, illustrate that user uses virtual desktop first, then client synchronization module is to the original virtual desktop storage file of server synchronization module request, downloads this original virtual desktop storage file from service end.User uses remote virtual desktop by client, and the synchronizing process of service end and client specifically with reference to the description of above-described embodiment, can not repeat again.
Present embodiment describes a kind of user when using first, client downloads the implementation of complete virtual desktop storage file from service end, in another kind of implementation, when this client also can be installed in a user device, just this original virtual desktop storage file is stored in subscriber equipment.
In the present embodiment, if client access module is judged as not accessing host according to network state, then method can also comprise the steps:
Step 221, client operation processing module, according to user operation, are modified to the virtual desktop storage file stored in subscriber equipment, generate client virtual desktop residual quantity storage file, and store in a user device according to the content of amendment;
The state information of flag is revised as off-line by step 222, client access module.
Particularly, when network state is bad or interrupt, client access module can not connect with host, and user can use local virtual desktop by client.By the state information of flag is revised as off-line, when network state allows to be connected to host, according to the state information of this flag, the client virtual desktop residual quantity storage file in client can be synchronized to service end.
In the present embodiment, step 211, after the state information of flag is revised as online by client access module, method can also comprise:
The temporal information of flag is revised as present system time by step 231, client synchronization module.
Step 222, after the state information of flag is revised as off-line by client access module, method also comprises:
The temporal information of flag is revised as present system time by step 232, client synchronization module.
In the present embodiment, step 203, the service end residual quantity processing module of host processes the virtual desktop storage file stored in host according to client virtual desktop residual quantity storage file, is specifically as follows:
The virtual desktop storage file stored in client virtual desktop residual quantity storage file and host merges by service end residual quantity processing module;
Step 207, the client residual quantity processing module of subscriber equipment processes the virtual desktop storage file stored in subscriber equipment according to service end virtual desktop residual quantity storage file, is specifically as follows:
The virtual desktop storage file stored in service end virtual desktop residual quantity storage file and subscriber equipment merges by client residual quantity processing module.
Fig. 3 is the flow chart of another embodiment of processing method of virtual desktop of the present invention.Below in conjunction with shown in Fig. 3, the processing method of the virtual desktop of the present embodiment is described in detail.
Step 301, client access module judge that network state is off-line or online, if off-line, perform step 302, if online, perform step 305;
Step 302, client terminal start-up local virtual desktop;
Step 303, client write local virtual desktop storage file, generating virtual desktop residual quantity storage file;
Flag is set to off-line by step 304, client;
Step 305, client check the state of flag, if off-line, then perform step 306, if online, then perform step 308;
Virtual desktop residual quantity storage file is uploaded to service end by step 306, client;
Virtual desktop residual quantity storage file and local virtual desktop storage file merge by step 307, service end, perform step 308;
Step 308, client terminal start-up remote virtual desktop;
Step 309, service end write local virtual desktop storage file, generating virtual desktop residual quantity storage file;
Step 310, client downloads virtual desktop residual quantity storage file;
Virtual desktop residual quantity storage file and local virtual desktop storage file merge by step 311, client;
Flag is set to online by step 312, client.
In this specification, each embodiment all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, same or analogous part cross-reference between each embodiment.For system embodiment, because itself and embodiment of the method are substantially corresponding, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Fig. 4 is the structural representation of a treatment system embodiment of virtual desktop of the present invention.As shown in Figure 4, the treatment system of the virtual desktop that the present embodiment provides specifically can realize each step of the processing method of the virtual desktop that any embodiment of the present invention provides, and specific implementation process does not repeat them here.The treatment system of the virtual desktop that the present embodiment provides, comprising: subscriber equipment 41 and host 42; Subscriber equipment 41 comprises client access module 411, client synchronization module 412, client operation processing module 413 and client residual quantity processing module 414; Host 42 comprises server synchronization module 421, service end operational processes module 422 and service end residual quantity processing module 423.Client access module 411 accesses host 42 for judging whether according to network state, if so, then connects with host 42.Client synchronization module 412 is for obtaining the state information of flag, if the state information of flag is off-line, then the client virtual desktop residual quantity storage file stored in subscriber equipment 41 is sent to server synchronization module 421.Service end residual quantity processing module 423 is for processing the virtual desktop storage file stored in host 42 according to client virtual desktop residual quantity storage file.Client operation processing module 413 is for sending to service end operational processes module 422 by user operation instruction.Service end operational processes module 422, for modifying to the virtual desktop storage file stored in host 42 according to user operation instruction, generates service end virtual desktop residual quantity storage file according to the content of amendment.Server synchronization module 421 is for sending to client synchronization module 412 by service end virtual desktop residual quantity storage file.Client residual quantity processing module 414 is for processing the virtual desktop storage file stored in subscriber equipment 41 according to service end virtual desktop residual quantity storage file.Client access module 411 is also for being revised as the state information of flag online.
The treatment system of the virtual desktop that the present embodiment provides, no matter user uses local virtual desktop still to use remote virtual desktop, user can generating virtual desktop residual quantity storage file to the amendment of virtual desktop storage file, by the setting of flag, subscriber equipment can access network time, client synchronization module can according to this flag differentiate whether client virtual desktop residual quantity storage file to be synchronized to service end.And after user uses remote virtual desktop, service end virtual desktop residual quantity storage file can be synchronized to client by service end, to make user no matter use remote online virtual desktop, still uses local off-line virtual desktop, and the environment of access is all consistent.Not only achieve when cannot access network or network interruption when, user's off-line uses the object of application program and document, also assures that the consistency of operating system, application program and document in client and service end.And, carry out the synchronous of client and service end by virtual desktop residual quantity storage file, avoid the waste of the transfer resource synchronously caused by whole virtual desktop storage file, improve synchronous efficiency.
In the present embodiment, if the state information of flag is for use first, then client synchronization module 412 can also be used for asking original virtual desktop storage file to server synchronization module 421, server synchronization module 421 can also be used for original virtual desktop storage file to send to client synchronization module 412, and client synchronization module 412 can also be used for original virtual desktop storage file to be stored in subscriber equipment 41.
In the present embodiment, if client access module 411 is judged as not accessing host 42 according to network state, then client operation processing module 413 can also be used for according to user operation, the virtual desktop storage file stored in subscriber equipment 41 is modified, client virtual desktop residual quantity storage file is generated according to the content of amendment, and being stored in subscriber equipment 41, client access module 411 can also be used for the state information of flag to be revised as off-line.
In the present embodiment, client synchronization module 412 can also be used for the temporal information of flag to be revised as present system time, and client synchronization module 412 can also be used for the temporal information of flag to be revised as present system time.
In the present embodiment, service end residual quantity processing module 423 specifically may be used for the virtual desktop storage file stored in client virtual desktop residual quantity storage file and host 42 to merge, and client residual quantity processing module 414 specifically may be used for the virtual desktop storage file stored in service end virtual desktop residual quantity storage file and subscriber equipment 41 to merge.
Fig. 5 is the structural representation of another embodiment for the treatment of system of virtual desktop of the present invention.Fig. 5 gives a kind of specific implementation for the treatment of system of virtual desktop, and shown in the dotted line in Fig. 5, part is expressed as file.
Client 51 is provided with in accessing terminal, client residual quantity administration module 511, client virtual desktop storage file module 512 and client virtual desktop residual quantity storage file module 513 is provided with in client 51, client residual quantity administration module 511 comprises client access module 521, client synchronization module 522 and client identification position 523, client virtual desktop storage file module 512 is for storing client virtual desktop storage file, and client virtual desktop residual quantity storage file module 513 is for storing client virtual desktop residual quantity storage file.Client virtual desktop scheduler module 514 running client virtual desktop storage file maps and obtains local virtual desktop 515, under off-line state, user can use operating system 5151, application program 5152 and document 5153 by local virtual desktop 515, and the amendment in use procedure generates client virtual desktop residual quantity storage file.
Service end 53 is provided with in host, service end residual quantity administration module 531, service end virtual desktop storage file module 532 and service end virtual desktop residual quantity storage file module 533 is provided with in service end 53, service end residual quantity administration module 531 comprises service end access module 541, server synchronization module 542 and service end flag 543, service end virtual desktop storage file module 532 is for stores service end virtual desktop storage file, and service end virtual desktop residual quantity storage file module 533 is for stores service end virtual desktop residual quantity storage file.Service end virtual desktop scheduler module 534 operation service end virtual desktop storage file maps and obtains remote virtual desktop 535, under presence, user can use operating system 5351, application program 5352 and document 5353 by remote virtual desktop 535, amendment in use procedure generates service end virtual desktop residual quantity storage file, is stored in service end virtual desktop residual quantity storage file module 533.
Client access module 521 can judge whether to access host according to network state, if current network state is relatively good, then can set up the connection with service end 53 access module 541, sets up virtual desktop access channel C 1.
When user uses virtual desktop first, client synchronization module 522 downloads complete virtual desktop storage file from service end 53, is stored in client virtual desktop storage file module 512.
Client synchronization module 522 reads client identification position 523, if this flag is designated as off-line, then client synchronization module 522 is by the synchronizing channel C2 between server synchronization module 542, this client virtual desktop residual quantity is stored literary composition and is uploaded to server synchronization module 542.This client virtual desktop residual quantity storage file and service end virtual desktop storage file merge by server synchronization module 542.
User uses in the process of remote virtual desktop 535 and produces service end virtual desktop residual quantity storage file, client synchronization module 522 is from service end 53 download service end virtual desktop residual quantity storage file, service end virtual desktop residual quantity storage file and client virtual desktop storage file are merged, flag is revised as online by client access module 521.
When network state is bad or network interruption causes client 51 cannot be connected with service end 53, user can use local virtual desktop 515 by off-line, and the client virtual desktop residual quantity storage file in use produced is stored in client virtual desktop residual quantity storage file module 513.
The processing method of the virtual desktop that the embodiment of the present invention provides and system, virtual desktop storage file is undertaken preserving and synchronous transmission by the mode of residual quantity, judge according to sync id position, residual quantity storage file is uploaded or downloaded, virtual desktop storage file folding, can merge virtual desktop residual quantity storage file and virtual desktop storage file flexibly.Decision logic is simply efficient, can not cause virtual desktop storage file version error, virtual desktop residual quantity storage file capacity dynamic expanding technology, saves disk space, and File Upload and Download residual quantity is transmitted, and efficiency is high.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.

Claims (10)

1. a processing method for virtual desktop, is characterized in that, comprising:
The client access module of subscriber equipment judges whether to access host according to network state, if so, then connects with described host;
The client synchronization module of described subscriber equipment obtains the state information of flag, if the state information of described flag is off-line, then the client virtual desktop residual quantity storage file stored in described subscriber equipment is sent to the server synchronization module of described host;
The service end residual quantity processing module of described host processes the virtual desktop storage file stored in described host according to described client virtual desktop residual quantity storage file;
User operation instruction is sent to the service end operational processes module of described host by the client operation processing module of described subscriber equipment;
Described service end operational processes module is modified to the virtual desktop storage file stored in described host according to described user operation instruction, generates service end virtual desktop residual quantity storage file according to the content of amendment;
Described service end virtual desktop residual quantity storage file is sent to described client synchronization module by described server synchronization module;
The client residual quantity processing module of described subscriber equipment processes the virtual desktop storage file stored in described subscriber equipment according to described service end virtual desktop residual quantity storage file;
The state information of described flag is revised as online by described client access module.
2. method according to claim 1, it is characterized in that, if the state information of described flag is for use first, then, before user operation instruction is sent to the service end operational processes module of described host by the client operation processing module of described subscriber equipment, described method also comprises:
Described client synchronization module is to the original virtual desktop storage file of described server synchronization module request;
Described original virtual desktop storage file is sent to described client synchronization module by described server synchronization module;
Described original virtual desktop storage file is stored in described subscriber equipment by described client synchronization module.
3. method according to claim 1 and 2, is characterized in that, if described client access module is judged as not accessing host according to described network state, then described method also comprises:
Described client operation processing module, according to user operation, is modified to the virtual desktop storage file stored in described subscriber equipment, and the content according to amendment generates described client virtual desktop residual quantity storage file, and is stored in described subscriber equipment;
The state information of described flag is revised as off-line by described client access module.
4. method according to claim 3, is characterized in that:
After the state information of described flag is revised as online by described client access module, described method also comprises:
The temporal information of described flag is revised as present system time by described client synchronization module;
After the state information of described flag is revised as off-line by described client access module, described method also comprises:
The temporal information of described flag is revised as present system time by described client synchronization module.
5. method according to claim 1, is characterized in that:
The service end residual quantity processing module of described host processes the virtual desktop storage file stored in described host according to described client virtual desktop residual quantity storage file, is specially:
The virtual desktop storage file stored in described client virtual desktop residual quantity storage file and described host merges by described service end residual quantity processing module;
The client residual quantity processing module of described subscriber equipment processes the virtual desktop storage file stored in described subscriber equipment according to described service end virtual desktop residual quantity storage file, is specially:
The virtual desktop storage file stored in described service end virtual desktop residual quantity storage file and described subscriber equipment merges by described client residual quantity processing module.
6. a treatment system for virtual desktop, is characterized in that, comprising: subscriber equipment and host; Described subscriber equipment comprises client access module, client synchronization module, client operation processing module and client residual quantity processing module; Described host comprises server synchronization module, service end operational processes module and service end residual quantity processing module;
Described client access module, accesses described host for judging whether according to network state, if so, then connects with described host;
Described client synchronization module, for obtaining the state information of flag, if the state information of described flag is off-line, then sends to described server synchronization module by the client virtual desktop residual quantity storage file stored in described subscriber equipment;
Described service end residual quantity processing module, for processing the virtual desktop storage file stored in described host according to described client virtual desktop residual quantity storage file;
Described client operation processing module, for sending to described service end operational processes module by user operation instruction;
Described service end operational processes module, for modifying to the virtual desktop storage file stored in described host according to described user operation instruction, generates service end virtual desktop residual quantity storage file according to the content of amendment;
Described server synchronization module, for sending to described client synchronization module by described service end virtual desktop residual quantity storage file;
Described client residual quantity processing module, for processing the virtual desktop storage file stored in described subscriber equipment according to described service end virtual desktop residual quantity storage file;
Described client access module, also for the state information of described flag being revised as online.
7. system according to claim 6, is characterized in that, if the state information of described flag is for use first, then
Described client synchronization module, also for the original virtual desktop storage file of described server synchronization module request;
Described server synchronization module, also for described original virtual desktop storage file is sent to described client synchronization module;
Described client synchronization module, also for being stored in described subscriber equipment by described original virtual desktop storage file.
8. the system according to claim 6 or 7, is characterized in that, if described client access module is judged as not accessing host according to described network state, then
Described client operation processing module, also for according to user operation, modify to the virtual desktop storage file stored in described subscriber equipment, the content according to amendment generates described client virtual desktop residual quantity storage file, and is stored in described subscriber equipment;
Described client access module, also for the state information of described flag is revised as off-line.
9. system according to claim 8, is characterized in that:
Described client synchronization module, also for the temporal information of described flag is revised as present system time;
Described client synchronization module, also for the temporal information of described flag is revised as present system time.
10. system according to claim 6, is characterized in that:
Described service end residual quantity processing module, specifically for merging the virtual desktop storage file stored in described client virtual desktop residual quantity storage file and described host;
Described client residual quantity processing module, specifically for merging the virtual desktop storage file stored in described service end virtual desktop residual quantity storage file and described subscriber equipment.
CN201310671307.XA 2013-12-11 2013-12-11 The processing method and system of virtual desktop Active CN104717175B (en)

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 true CN104717175A (en) 2015-06-17
CN104717175B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681454A (en) * 2016-02-29 2016-06-15 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method and system for self-adaptively connecting cloud desktop
CN110018875A (en) * 2019-04-10 2019-07-16 北京云创世联科技股份有限公司 A kind of desktop synchronization realizing method based on IDV
CN110488512A (en) * 2019-06-11 2019-11-22 惠科股份有限公司 A kind of correction method and correcting system of display panel measuring device
CN110928624A (en) * 2019-11-15 2020-03-27 联思智云(北京)科技有限公司 Cloud desktop calling method and device for user terminal and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741866A (en) * 2010-02-01 2010-06-16 浪潮(北京)电子信息产业有限公司 On-line storage system and method
CN101930449A (en) * 2009-06-22 2010-12-29 三星电子株式会社 Client computer, acting server and be used to provide the method for cloud storage
CN102035881A (en) * 2010-11-19 2011-04-27 清华大学 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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930449A (en) * 2009-06-22 2010-12-29 三星电子株式会社 Client computer, acting server and be used to provide the method for cloud storage
CN101741866A (en) * 2010-02-01 2010-06-16 浪潮(北京)电子信息产业有限公司 On-line storage system and method
CN102035881A (en) * 2010-11-19 2011-04-27 清华大学 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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681454A (en) * 2016-02-29 2016-06-15 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method and system for self-adaptively connecting cloud desktop
CN105681454B (en) * 2016-02-29 2019-04-05 广东顺德中山大学卡内基梅隆大学国际联合研究院 A kind of adaptive connection cloud desktop method and system
CN110018875A (en) * 2019-04-10 2019-07-16 北京云创世联科技股份有限公司 A kind of desktop synchronization realizing method based on IDV
CN110018875B (en) * 2019-04-10 2022-05-31 北京云创世联科技股份有限公司 Desktop synchronization implementation method based on IDV
CN110488512A (en) * 2019-06-11 2019-11-22 惠科股份有限公司 A kind of correction method and correcting system of display panel measuring device
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

Also Published As

Publication number Publication date
CN104717175B (en) 2018-07-13

Similar Documents

Publication Publication Date Title
CN104598257B (en) The method and apparatus of remote application operation
CN103888485A (en) Method for distributing cloud computing resource, device thereof and system thereof
US9609063B2 (en) Method, device and system for logging in Unix-like virtual container
CN104965757A (en) Virtual machine live migration method, virtual machine migration management apparatus, and virtual machine live migration system
CN103257958B (en) A kind of interpretation method based on cloud storage and system
CN104199723B (en) Camera mapping method based on virtual equipment
CN102819449A (en) Method and system for graphic card redirection
CN103118073B (en) Virtual machine data persistence storage system and method in cloud environment
CN105338048A (en) File transmission method and system under virtual desktop infrastructure
CN106817388B (en) Method and device for acquiring data by virtual machine and host machine and system for accessing data
CN107580011B (en) Data sharing method and desktop cloud server
CN103747074B (en) mobile monitoring system based on Web server
CN109656646B (en) Remote desktop control method, device, equipment and virtualization chip
CN104572084A (en) Method and device for user interface generating and data issuing in card business
CN110908837B (en) Application program exception handling method and device, electronic equipment and storage medium
KR20140101370A (en) Autonomous network streaming
CN113127361B (en) Application development method and device, electronic equipment and storage medium
CN113157362A (en) Android multi-window display method applied to Linux
CN104717175A (en) Virtual desktop processing method and system
CN108074210A (en) A kind of object acquisition system and method rendered for cloud
JP7369229B2 (en) How to change the skin of the mini program page, devices and electronic devices
CN113259342A (en) Login verification method, device, computer equipment and medium
CN107247618B (en) Disk redirection method based on instruction external acquisition architecture
CN106844763B (en) A kind of method showed to the Internet media file formula of modifying and its device
CN105162833A (en) Client computer management system and method applied to diskless workstation

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