WO2016202117A1 - Method, device and system for cloud desktop roaming - Google Patents

Method, device and system for cloud desktop roaming Download PDF

Info

Publication number
WO2016202117A1
WO2016202117A1 PCT/CN2016/081445 CN2016081445W WO2016202117A1 WO 2016202117 A1 WO2016202117 A1 WO 2016202117A1 CN 2016081445 W CN2016081445 W CN 2016081445W WO 2016202117 A1 WO2016202117 A1 WO 2016202117A1
Authority
WO
WIPO (PCT)
Prior art keywords
cloud
desktop
location
roaming
cloud system
Prior art date
Application number
PCT/CN2016/081445
Other languages
French (fr)
Chinese (zh)
Inventor
卜继贤
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016202117A1 publication Critical patent/WO2016202117A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • 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
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Definitions

  • the present invention relates to the field of cloud desktop technologies in the field of cloud computing, and in particular, to a method, device and system for cloud desktop roaming.
  • cloud computing has obvious advantages compared with traditional IT environments. More and more enterprises are beginning to use cloud computing systems instead of traditional IT systems.
  • cloud desktops run multiple virtual desktops on top of physical servers. When users work, they use terminals to access virtual machine desktops through the network, thus replacing traditional desktops and laptops.
  • Cloud desktop has the advantages of data security, easy management, green energy saving, and flexible access, which saves IT equipment hardware costs and IT equipment management costs.
  • Cloud desktop access is performed over the network, and network bandwidth and latency requirements are prerequisites for a smooth cloud desktop experience.
  • Internet bandwidth has been greatly improved. It can not only access cloud desktops through private networks within the enterprise, but also access cloud desktops through the Internet in the same city.
  • an employee travels to a different location, accessing the cloud desktop in the enterprise data center remotely through the Internet, or accessing the cloud desktop deployed on the public cloud in the remote data center will result in access to the remote desktop due to the increase of network transmission distance and switching nodes.
  • the latency increases, which affects the experience of the cloud desktop.
  • the off-site access experience has also become a key constraint to the massive replacement of traditional desktops and laptops by cloud desktops.
  • the embodiment of the invention provides a method, a device and a system for roaming a cloud desktop, and the user's cloud desktop roams between the resident desktop cloud system and the remote desktop cloud system to ensure that the disk data of the cloud desktops in the two places are consistent. , can enable users to continue to experience the cloud desktop smoothly in different places.
  • the embodiment of the present invention provides a method for roaming a cloud desktop, including:
  • the step of acquiring the roaming start command of the cloud desktop roaming from the first location to the second location includes:
  • the roaming start command of the cloud desktop roaming from the first location to the second location or the administrator of the desktop cloud system is automatically generated through the interface of the desktop cloud system Obtaining a roaming start instruction that the cloud desktop roams from the first location to the second location.
  • the step of synchronizing synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
  • the account information, the cloud desktop configuration information, and the cloud desktop image of the cloud desktop in the first desktop cloud system in the first location are synchronized to the second desktop cloud system in the second location according to the roaming start command.
  • the step of synchronizing the account information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
  • the roaming destination information in the account information of the cloud desktop in the first desktop cloud system in the first location is updated, and the updated account information is sent to the second desktop cloud system in the second location.
  • the step of synchronizing the cloud desktop configuration information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
  • the cloud desktop configuration information of the cloud desktop in the first desktop cloud system in the first location is asynchronously copied to the second desktop cloud system in the second location.
  • the step of synchronizing the cloud desktop image of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
  • a copy of the cloud desktop image is copied to the cloud storage in the second desktop cloud system in the second location by the asynchronous replication of the file in the cloud storage.
  • the method further includes:
  • the change log of the cloud desktop image in the first desktop cloud system in the first location is asynchronously copied into the relay log of the cloud desktop image of the cloud storage in the second desktop cloud system in the second location.
  • the change log of the cloud desktop image in the first desktop cloud system in the first location is asynchronously copied to the relay log in the cloud desktop image of the cloud storage in the second desktop cloud system in the second location.
  • it also includes:
  • the received relay log is played back, and the cloud desktop is performed in the second desktop cloud system in the second location.
  • Mirror change operation After the cloud storage in the second desktop cloud system in the second location completes the replication of the cloud desktop image copy, the received relay log is played back, and the cloud desktop is performed in the second desktop cloud system in the second location. Mirror change operation.
  • the method further includes:
  • Determining the location of the cloud desktop running stopping the change of the cloud desktop image of the first desktop cloud system, and copying the change log of the cloud desktop image in the first desktop cloud system to the cloud storage in the second desktop cloud system
  • the cloud storage in the first desktop cloud system stops copying the change log to the cloud storage in the second desktop cloud system, and the cloud storage in the second desktop cloud system changes to the cloud storage in the first desktop cloud system Copy of the log.
  • the step of determining that the location where the cloud desktop is running includes:
  • Determining that the location of the cloud desktop is changed by the user manually initiating a change in the running location of the cloud desktop or by switching the interface of the desktop cloud system immediately or at a preset time; or
  • the unified portal by identifying the location of the user's client, the location where the cloud desktop is running changes according to the location of the client;
  • the desktop location of the user is automatically identified by the desktop cloud portal system, based on the location of the client Determine where the cloud desktop is running.
  • an embodiment of the present invention provides a device for roaming a cloud desktop, including:
  • Obtaining a module configured to obtain a roaming start instruction that the cloud desktop roams from the first location to the second location;
  • a synchronization module configured to synchronize synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location according to the roaming startup command, so that the user is in the second location according to the The synchronization information of the cloud desktop is registered to the cloud desktop in the second desktop cloud system.
  • the embodiment of the present invention further provides a cloud desktop roaming system, including the foregoing cloud desktop roaming device.
  • the user's cloud desktop is roamed between the resident desktop cloud system and the remote desktop cloud system to ensure that the disk data of the cloud desktops in the two places are consistent, and the user can continue to experience the cloud desktop smoothly in different places.
  • FIG. 1 is a schematic diagram of a cloud desktop roaming method in an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing the steps of obtaining a roaming start command for roaming a cloud desktop from a first location to a second location according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of cloud desktop storage in an embodiment of the present invention.
  • FIG. 4 is still another schematic diagram of a cloud desktop roaming method according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a cloud desktop roaming device in an embodiment of the present invention.
  • the embodiment of the present invention provides a method, a device, and a system for cloud desktop roaming, which are related to the problem that the existing network access to the cloud desktop has a network delay and affects the user's experience on the cloud desktop.
  • an embodiment of the present invention provides a method for roaming a cloud desktop, including:
  • Step S11 Acquire a roaming start instruction that the cloud desktop roams from the first location to the second location;
  • Step S12 Synchronize the synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location according to the roaming start command, so that the user according to the cloud in the second location The synchronization information of the desktop is logged into the cloud desktop in the second desktop cloud system.
  • the cloud desktop roaming copies the cloud desktop from the first desktop cloud system in the first location (resident) to the second desktop cloud system in the second location (offsite), in the process of copying,
  • the cloud desktop is not affected, and the user switches from the first desktop cloud system to the cloud desktop of the second desktop cloud system, the disk data in the cloud desktop is consistent.
  • the step of acquiring the roaming start command of the cloud desktop roaming from the first location to the second location in step S11 specifically includes:
  • Step S111 Acquire a cloud desktop to roam and a second location to roam to;
  • Step S112 automatically generate, according to the cloud desktop to be roamed and the second location to be roamed, the roaming start command of the cloud desktop roaming from the first location to the second location or through the desktop cloud system through the interface of the desktop cloud system.
  • the administrator obtains a roaming start instruction that the cloud desktop roams from the first location to the second location.
  • the synchronization information in this embodiment includes: account information of the cloud desktop, cloud desktop configuration information, and cloud desktop image.
  • the step of synchronizing the account information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
  • the roaming destination information in the account information of the cloud desktop in the first desktop cloud system in the first location is updated, and the updated account information is sent to the second desktop cloud system in the second location.
  • the step of synchronizing the cloud desktop configuration information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
  • the cloud desktop configuration information of the cloud desktop in the first desktop cloud system in the first location is asynchronously copied to the second desktop cloud system in the second location.
  • the step of synchronizing the cloud desktop image of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
  • the received relay log is played back, and the cloud desktop is performed in the second desktop cloud system in the second location.
  • Mirror change operation After the cloud storage in the second desktop cloud system in the second location completes the replication of the cloud desktop image copy, the received relay log is played back, and the cloud desktop is performed in the second desktop cloud system in the second location. Mirror change operation.
  • the cloud desktop image and the cloud desktop configuration are stored on the cloud storage, and the cloud desktop image and the cloud desktop configuration are divided into equal-sized file blocks, and each file block has multiple copies.
  • Distributed on storage nodes of cloud storage The size of the file block can be configured, such as 1M, 2M, 4M, 8M, 16M, 32M, 64M, and the like.
  • the cloud storage of each desktop cloud system is configured with the same file fragment size.
  • Cloud storage supports file block-based asynchronous replication of files. When the cloud storage performs a file change operation, the changes are logged to the binary change log, which can be copied to the binary relay log of the off-site cloud storage, and the off-site cloud storage can replay the file change operation through the relay log.
  • the cloud storage provides a unified access interface, such as NFS and CIFS, for the desktop cloud system to store cloud desktop images and cloud desktop configurations. It also provides interfaces for the desktop cloud system to initiate file copy and log replication requests.
  • the first desktop cloud system in the first location updates the second location information in the user account information, and synchronizes the account information to the second desktop cloud in the second location.
  • the second desktop cloud system receives the account information and writes the database, and the configuration information and the cloud desktop image in the first desktop cloud system are copied into the second desktop cloud system to ensure the cloud in the first location and the second location.
  • the disk data of the desktop is consistent, and the user is in the second place. Let's continue to experience the cloud desktop smoothly.
  • the method further includes:
  • the embodiments of the present invention provide the following three methods for determining changes in the location where the cloud desktop operates:
  • the location of the cloud desktop running changes is determined by the user manually initiating the change of the cloud desktop running location or by the desktop cloud system interface immediately or at a preset time. After the running location changes, when the user logs in on a desktop cloud portal, it will be automatically redirected to the desktop cloud portal login of the running location;
  • the unified portal identifies the location of the client's client, and determines the location where the cloud desktop runs according to the location of the client;
  • the desktop cloud portal system automatically identifies the location of the user's client, and the location where the cloud desktop is running changes according to the location of the client.
  • the cloud desktop is connected to the second location.
  • the cloud desktop running system will switch back to the first desktop cloud system, and the switching method thereof is Switching from the first desktop cloud system to the second desktop cloud system is consistent.
  • the second desktop cloud system information of the second location is deleted, and the storage resource is released.
  • the first location is required to continue the synchronization of the log, and the first location and the second location of the cloud desktop are maintained.
  • the disk data is consistent.
  • the embodiment provides a flowchart of cloud desktop roaming, specifically, as shown in FIG. 4:
  • step S22 determining whether the roaming application is passed, if the application does not pass, then returning to step S21, if the application is passed, proceeding to step S23;
  • step S27 determining whether the cloud desktop mirror copy is completed, if the copy is not completed, then returning to step S25, if the copy is completed, executing step S28;
  • step S29 determining whether the cloud desktop running location changes, if there is no change, then returning to step S26, if the change, then executing step S30;
  • step S31 determining whether the resident record is changed to the remote place, if the copy is not completed, step S32 is performed, and if the copy is completed, step S33 is performed;
  • S35 The user logs in to the remote desktop cloud portal and connects to the remote cloud desktop.
  • the cloud desktop of the user is roamed between the resident desktop cloud system and the remote desktop cloud system to ensure that the disk data of the cloud desktops in the two places are consistent, and the user can continue the smooth experience in different places.
  • Cloud desktop The cloud desktop roaming method described above not only realizes roaming between the two places, but also enables the cloud desktop to roam between multiple places.
  • an embodiment of the present invention further provides a device for roaming a cloud desktop.
  • a device for roaming a cloud desktop include:
  • the obtaining module S41 is configured to obtain a roaming start instruction that the cloud desktop roams from the first location to the second location;
  • the synchronization module S42 is configured to synchronize the synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location according to the roaming startup command, so that the user is in the second location according to the synchronization
  • the synchronization information of the cloud desktop is logged into the cloud desktop in the second desktop cloud system.
  • the embodiment of the present invention further provides a cloud desktop roaming system, including the foregoing cloud desktop roaming device.
  • the cloud system establishes a desktop cloud system in two or more places, and the cloud desktop virtual disk in the desktop cloud system is stored on the cloud storage.
  • cloud desktop roaming the first time synchronizes all cloud desktop image data between two desktop cloud systems, and then only synchronizes the changed data.
  • the user accesses the cloud desktop that he has recently visited from any location, and accesses the cloud desktop from any location.
  • the disk data inside is consistent.
  • the method, device, and system for the cloud desktop roaming of the foregoing embodiments of the present invention enable the user's cloud desktop to roam between the resident desktop cloud system and the remote desktop cloud system to ensure that the disk data of the cloud desktops in the two places are consistent, and Users continue to experience cloud desktops smoothly in different places; ensure users access desktops in the nearest desktop cloud system, thus avoiding the impact of remote network delays on the cloud desktop experience.
  • the cloud desktop roaming method described above not only realizes roaming between the two places, but also enables the cloud desktop to roam between multiple places.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • Step S11 Acquire a roaming start instruction that the cloud desktop roams from the first location to the second location;
  • Step S12 Synchronize the synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location according to the roaming start command, so that the user according to the cloud in the second location The synchronization information of the desktop is logged into the cloud desktop in the second desktop cloud system.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a random access memory (RAM, Random).
  • ROM Read-Only Memory
  • RAM random access memory
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • an address translation method and apparatus provided by an embodiment of the present invention have the following beneficial effects: implementing a cloud desktop of a user to roam between a resident desktop cloud system and a remote desktop cloud system, and ensuring a cloud between the two places.
  • the disk data on the desktop is consistent, which allows users to continue to experience the cloud desktop smoothly in different places.

Abstract

Provided in the present invention are a method, device and system for cloud desktop roaming. The method for cloud desktop browsing comprises: acquiring a roaming activation instruction for causing a cloud desktop to roam from a first location to a second location; and synchronizing, according to the roaming activation instruction, synchronization information of the cloud desktop in a first desktop cloud system at the first location to a second desktop cloud system at the second location, and causing a user at the second location to login to the cloud desktop in the second desktop cloud system according to the synchronization information of the cloud desktop. The method, device and system for cloud desktop roaming in an embodiment of the invention realize the roaming of the cloud desktop from a desktop cloud system at a residence of the user to a desktop cloud system at a different location and ensure that magnetic disk data of the cloud desktop at the two locations are consistent, thereby satisfying a need of the user to use the cloud desktop at a different location without interference.

Description

一种云桌面漫游的方法、装置及系统Method, device and system for cloud desktop roaming 技术领域Technical field
本发明涉及云计算领域的云桌面技术领域,特别涉及一种云桌面漫游的方法、装置及系统。The present invention relates to the field of cloud desktop technologies in the field of cloud computing, and in particular, to a method, device and system for cloud desktop roaming.
背景技术Background technique
云计算作为一种弹性伸缩的计算方式,与传统IT环境相比有明显的优势,越来越多的企业开始使用云计算系统代替传统的IT系统。云桌面作为云计算的一个基本的使用场景是将多台虚拟桌面运行在物理服务器之上,用户办公时使用终端通过网络访问虚拟机桌面,从而取代传统的台式机和笔记本电脑。云桌面具有数据安全、易于管理、绿色节能、访问灵活等优点,为企业节省了IT设备硬件成本和IT设备管理成本。As an elastic and scalable computing method, cloud computing has obvious advantages compared with traditional IT environments. More and more enterprises are beginning to use cloud computing systems instead of traditional IT systems. As a basic usage scenario of cloud computing, cloud desktops run multiple virtual desktops on top of physical servers. When users work, they use terminals to access virtual machine desktops through the network, thus replacing traditional desktops and laptops. Cloud desktop has the advantages of data security, easy management, green energy saving, and flexible access, which saves IT equipment hardware costs and IT equipment management costs.
云桌面的访问是通过网络进行的,网络带宽和时延的要求成为云桌面体验流畅的前提。随着我国网络的建设,互联网带宽已经得到很大程度的提升,不仅可以在企业内部通过私有网络访问云桌面,也可以在同城通过互联网访问云桌面。但是,如果员工出差到异地,通过互联网远距离访问企业数据中心内云桌面,或者用户访问公有云上部署在异地数据中心的云桌面,将由于网络传输距离和交换节点的增加,导致访问异地桌面的时延增加,从而影响云桌面的体验。异地访问体验也成为阻碍云桌面大规模取代传统台式机和笔记本电脑的一个关键的制约因素。Cloud desktop access is performed over the network, and network bandwidth and latency requirements are prerequisites for a smooth cloud desktop experience. With the construction of China's network, Internet bandwidth has been greatly improved. It can not only access cloud desktops through private networks within the enterprise, but also access cloud desktops through the Internet in the same city. However, if an employee travels to a different location, accessing the cloud desktop in the enterprise data center remotely through the Internet, or accessing the cloud desktop deployed on the public cloud in the remote data center will result in access to the remote desktop due to the increase of network transmission distance and switching nodes. The latency increases, which affects the experience of the cloud desktop. The off-site access experience has also become a key constraint to the massive replacement of traditional desktops and laptops by cloud desktops.
发明内容Summary of the invention
本发明实施例提供了一种云桌面漫游的方法、装置及系统,实现用户的云桌面在常驻地桌面云系统和异地桌面云系统之间进行漫游,保证两地的云桌面的磁盘数据一致,可以使用户在异地继续流畅的体验云桌面。The embodiment of the invention provides a method, a device and a system for roaming a cloud desktop, and the user's cloud desktop roams between the resident desktop cloud system and the remote desktop cloud system to ensure that the disk data of the cloud desktops in the two places are consistent. , can enable users to continue to experience the cloud desktop smoothly in different places.
为了至少解决上述问题,本发明实施例提供了一种云桌面漫游的方法,包括: In order to solve the above problem at least, the embodiment of the present invention provides a method for roaming a cloud desktop, including:
获取云桌面从第一位置漫游到第二位置的漫游启动指令;Obtaining a roaming start instruction that the cloud desktop roams from the first location to the second location;
根据所述漫游启动指令,将第一位置的第一桌面云系统中的云桌面的同步信息同步到第二位置的第二桌面云系统中,使用户在第二位置根据所述云桌面的同步信息登录到所述第二桌面云系统中的云桌面。And synchronizing the synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location according to the roaming start command, so that the user synchronizes according to the cloud desktop in the second location The information is logged into the cloud desktop in the second desktop cloud system.
可选地,所述获取云桌面从第一位置漫游到第二位置的漫游启动指令的步骤包括:Optionally, the step of acquiring the roaming start command of the cloud desktop roaming from the first location to the second location includes:
获取要漫游的云桌面以及要漫游到的第二位置;Get the cloud desktop to roam and the second location to roam to;
根据所述要漫游的云桌面以及要漫游到的第二位置,通过桌面云系统的接口自动产生所述云桌面从第一位置漫游到第二位置的漫游启动指令或者通过桌面云系统的管理员获取所述云桌面从第一位置漫游到第二位置的漫游启动指令。According to the cloud desktop to be roamed and the second location to be roamed, the roaming start command of the cloud desktop roaming from the first location to the second location or the administrator of the desktop cloud system is automatically generated through the interface of the desktop cloud system Obtaining a roaming start instruction that the cloud desktop roams from the first location to the second location.
可选地,所述将第一位置的第一桌面云系统中的云桌面的同步信息同步到第二位置的第二桌面云系统中的步骤包括:Optionally, the step of synchronizing synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
根据所述漫游启动指令,将第一位置的第一桌面云系统中的云桌面的帐号信息、云桌面配置信息以及云桌面镜像同步到第二位置的第二桌面云系统中。The account information, the cloud desktop configuration information, and the cloud desktop image of the cloud desktop in the first desktop cloud system in the first location are synchronized to the second desktop cloud system in the second location according to the roaming start command.
可选地,将第一位置的第一桌面云系统中的云桌面的帐号信息同步到第二位置的第二桌面云系统中的步骤包括:Optionally, the step of synchronizing the account information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
更新第一位置的第一桌面云系统中的云桌面的帐号信息中的漫游目的地信息,并将更新后的帐号信息发送到第二位置的第二桌面云系统中。The roaming destination information in the account information of the cloud desktop in the first desktop cloud system in the first location is updated, and the updated account information is sent to the second desktop cloud system in the second location.
可选地,将第一位置的第一桌面云系统中的云桌面的云桌面配置信息同步到第二位置的第二桌面云系统中的步骤包括:Optionally, the step of synchronizing the cloud desktop configuration information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
将第一位置的第一桌面云系统中的云桌面的云桌面配置信息异步复制到第二位置的第二桌面云系统中。The cloud desktop configuration information of the cloud desktop in the first desktop cloud system in the first location is asynchronously copied to the second desktop cloud system in the second location.
可选地,将第一位置的第一桌面云系统中的云桌面的云桌面镜像同步到第二位置的第二桌面云系统中的步骤包括: Optionally, the step of synchronizing the cloud desktop image of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
在第一位置的第一桌面云系统中拷贝一份云桌面镜像的副本;Copy a copy of the cloud desktop image in the first desktop cloud system in the first location;
通过云存储的文件异步复制方式,将云桌面镜像的副本复制到第二位置的第二桌面云系统中的云存储中。A copy of the cloud desktop image is copied to the cloud storage in the second desktop cloud system in the second location by the asynchronous replication of the file in the cloud storage.
可选地,所述通过云存储的文件异步复制方式,将云桌面镜像的副本复制到第二位置的第二桌面云系统中的云存储中的步骤后还包括:Optionally, after the step of copying the copy of the cloud desktop image to the cloud storage in the second desktop cloud system in the second location by using the asynchronous storage of the file in the cloud storage, the method further includes:
将第一位置的第一桌面云系统中的云桌面镜像的更改日志异步复制到第二位置的第二桌面云系统中的云存储的云桌面镜像的中继日志内。The change log of the cloud desktop image in the first desktop cloud system in the first location is asynchronously copied into the relay log of the cloud desktop image of the cloud storage in the second desktop cloud system in the second location.
可选地,所述将第一位置的第一桌面云系统中的云桌面镜像的更改日志异步复制到第二位置的第二桌面云系统中的云存储的云桌面镜像的中继日志内的步骤后还包括:Optionally, the change log of the cloud desktop image in the first desktop cloud system in the first location is asynchronously copied to the relay log in the cloud desktop image of the cloud storage in the second desktop cloud system in the second location. After the step, it also includes:
第二位置的第二桌面云系统中的云存储完成云桌面镜像副本的复制后,将接收到的中继日志进行重放,在第二位置的第二桌面云系统中对云桌面进行相同的镜像更改操作。After the cloud storage in the second desktop cloud system in the second location completes the replication of the cloud desktop image copy, the received relay log is played back, and the cloud desktop is performed in the second desktop cloud system in the second location. Mirror change operation.
可选地,用户在第二位置根据所述云桌面的同步信息登录到所述第二桌面云系统中的云桌面时,还包括:Optionally, when the user logs in to the cloud desktop in the second desktop cloud system according to the synchronization information of the cloud desktop in the second location, the method further includes:
确定云桌面运行的地点发生变化;停止对第一桌面云系统的云桌面镜像进行更改操作,并且第一桌面云系统中的云桌面镜像的更改日志复制到第二桌面云系统中的云存储后,第一桌面云系统中的云存储停止向第二桌面云系统中的云存储进行更改日志的复制,且由第二桌面云系统中的云存储向第一桌面云系统中的云存储进行更改日志的复制。Determining the location of the cloud desktop running; stopping the change of the cloud desktop image of the first desktop cloud system, and copying the change log of the cloud desktop image in the first desktop cloud system to the cloud storage in the second desktop cloud system The cloud storage in the first desktop cloud system stops copying the change log to the cloud storage in the second desktop cloud system, and the cloud storage in the second desktop cloud system changes to the cloud storage in the first desktop cloud system Copy of the log.
可选地,所述确定云桌面运行的地点发生变化的步骤包括:Optionally, the step of determining that the location where the cloud desktop is running includes:
通过用户手工发起云桌面运行地点的变化或者由桌面云系统接口立即或在一预设时刻切换,确定云桌面运行的地点发生变化;或者Determining that the location of the cloud desktop is changed by the user manually initiating a change in the running location of the cloud desktop or by switching the interface of the desktop cloud system immediately or at a preset time; or
由统一门户通过识别用户的客户端所在地,根据客户端所在地确定云桌面运行的地点发生变化;或者By the unified portal, by identifying the location of the user's client, the location where the cloud desktop is running changes according to the location of the client; or
由桌面云门户系统自动识别用户的客户端所在地,根据客户端所在地 确定云桌面运行的地点发生变化。The desktop location of the user is automatically identified by the desktop cloud portal system, based on the location of the client Determine where the cloud desktop is running.
此外,本发明实施例还提供了一种云桌面漫游的装置,包括:In addition, an embodiment of the present invention provides a device for roaming a cloud desktop, including:
获取模块,设置为获取云桌面从第一位置漫游到第二位置的漫游启动指令;Obtaining a module, configured to obtain a roaming start instruction that the cloud desktop roams from the first location to the second location;
同步模块,设置为根据所述漫游启动指令,将第一位置的第一桌面云系统中的云桌面的同步信息同步到第二位置的第二桌面云系统中,使用户在第二位置根据所述云桌面的同步信息登录到所述第二桌面云系统中的云桌面。a synchronization module, configured to synchronize synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location according to the roaming startup command, so that the user is in the second location according to the The synchronization information of the cloud desktop is registered to the cloud desktop in the second desktop cloud system.
最后,本发明实施例还提供了一种云桌面漫游的系统,包括上述的云桌面漫游的装置。Finally, the embodiment of the present invention further provides a cloud desktop roaming system, including the foregoing cloud desktop roaming device.
本发明实施例的上述技术方案至少具有如下有益效果:The above technical solutions of the embodiments of the present invention have at least the following beneficial effects:
上述方案中,实现用户的云桌面在常驻地桌面云系统和异地桌面云系统之间进行漫游,保证两地的云桌面的磁盘数据一致,可以使用户在异地继续流畅的体验云桌面。In the above solution, the user's cloud desktop is roamed between the resident desktop cloud system and the remote desktop cloud system to ensure that the disk data of the cloud desktops in the two places are consistent, and the user can continue to experience the cloud desktop smoothly in different places.
附图说明DRAWINGS
图1表示本发明实施例中云桌面漫游方法的示意图;1 is a schematic diagram of a cloud desktop roaming method in an embodiment of the present invention;
图2表示本发明实施例中获取云桌面从第一位置漫游到第二位置的漫游启动指令的步骤示意图;FIG. 2 is a schematic diagram showing the steps of obtaining a roaming start command for roaming a cloud desktop from a first location to a second location according to an embodiment of the present invention;
图3表示本发明实施例中云桌面存储的示意图;3 is a schematic diagram of cloud desktop storage in an embodiment of the present invention;
图4表示本发明实施例云桌面漫游方法的又一示意图;FIG. 4 is still another schematic diagram of a cloud desktop roaming method according to an embodiment of the present invention;
图5表示本发明实施例中云桌面漫游装置的示意图。FIG. 5 is a schematic diagram of a cloud desktop roaming device in an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 The technical problems, the technical solutions, and the advantages of the embodiments of the present invention will be more clearly described in the following description. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
本发明实施例针对目前异地访问云桌面存在网络时延,影响用户对云桌面体验的问题,提供了一种云桌面漫游的方法、装置及系统。The embodiment of the present invention provides a method, a device, and a system for cloud desktop roaming, which are related to the problem that the existing network access to the cloud desktop has a network delay and affects the user's experience on the cloud desktop.
如图1所示,本发明实施例提供了一种云桌面漫游的方法,包括:As shown in FIG. 1 , an embodiment of the present invention provides a method for roaming a cloud desktop, including:
步骤S11:获取云桌面从第一位置漫游到第二位置的漫游启动指令;Step S11: Acquire a roaming start instruction that the cloud desktop roams from the first location to the second location;
步骤S12:根据所述漫游启动指令,将第一位置的第一桌面云系统中的云桌面的同步信息同步到第二位置的第二桌面云系统中,使用户在第二位置根据所述云桌面的同步信息登录到所述第二桌面云系统中的云桌面。Step S12: Synchronize the synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location according to the roaming start command, so that the user according to the cloud in the second location The synchronization information of the desktop is logged into the cloud desktop in the second desktop cloud system.
本发明的上述实施例中,云桌面漫游将云桌面从第一位置(常驻地)的第一桌面云系统复制到第二位置(异地)的第二桌面云系统,在复制的过程中,不影响用户对云桌面的使用,且用户从第一桌面云系统切换到第二桌面云系统的云桌面时,云桌面内的磁盘数据是一致的。In the above embodiment of the present invention, the cloud desktop roaming copies the cloud desktop from the first desktop cloud system in the first location (resident) to the second desktop cloud system in the second location (offsite), in the process of copying, When the user's use of the cloud desktop is not affected, and the user switches from the first desktop cloud system to the cloud desktop of the second desktop cloud system, the disk data in the cloud desktop is consistent.
具体地,如图2所示,步骤S11中获取云桌面从第一位置漫游到第二位置的漫游启动指令的步骤具体包括:Specifically, as shown in FIG. 2, the step of acquiring the roaming start command of the cloud desktop roaming from the first location to the second location in step S11 specifically includes:
步骤S111:获取要漫游的云桌面以及要漫游到的第二位置;Step S111: Acquire a cloud desktop to roam and a second location to roam to;
步骤S112:根据所述要漫游的云桌面以及要漫游到的第二位置,通过桌面云系统的接口自动产生所述云桌面从第一位置漫游到第二位置的漫游启动指令或者通过桌面云系统的管理员获取所述云桌面从第一位置漫游到第二位置的漫游启动指令。Step S112: automatically generate, according to the cloud desktop to be roamed and the second location to be roamed, the roaming start command of the cloud desktop roaming from the first location to the second location or through the desktop cloud system through the interface of the desktop cloud system. The administrator obtains a roaming start instruction that the cloud desktop roams from the first location to the second location.
应当指出的是,本实施例中的同步信息包括:云桌面的帐号信息、云桌面配置信息以及云桌面镜像。It should be noted that the synchronization information in this embodiment includes: account information of the cloud desktop, cloud desktop configuration information, and cloud desktop image.
可选地,将第一位置的第一桌面云系统中的云桌面的帐号信息同步到第二位置的第二桌面云系统中的步骤包括:Optionally, the step of synchronizing the account information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
更新第一位置的第一桌面云系统中的云桌面的帐号信息中的漫游目的地信息,并将更新后的帐号信息发送到第二位置的第二桌面云系统中。The roaming destination information in the account information of the cloud desktop in the first desktop cloud system in the first location is updated, and the updated account information is sent to the second desktop cloud system in the second location.
可选地,将第一位置的第一桌面云系统中的云桌面的云桌面配置信息同步到第二位置的第二桌面云系统中的步骤包括: Optionally, the step of synchronizing the cloud desktop configuration information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
将第一位置的第一桌面云系统中的云桌面的云桌面配置信息异步复制到第二位置的第二桌面云系统中。The cloud desktop configuration information of the cloud desktop in the first desktop cloud system in the first location is asynchronously copied to the second desktop cloud system in the second location.
可选地,将第一位置的第一桌面云系统中的云桌面的云桌面镜像同步到第二位置的第二桌面云系统中的步骤包括:Optionally, the step of synchronizing the cloud desktop image of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location includes:
在第一位置的第一桌面云系统中拷贝一份云桌面镜像的副本;Copy a copy of the cloud desktop image in the first desktop cloud system in the first location;
通过云存储的文件异步复制方式,将云桌面镜像的副本复制到第二位置的第二桌面云系统中的云存储中;以及,Copying a copy of the cloud desktop image to the cloud storage in the second desktop cloud system in the second location by means of file asynchronous replication of the cloud storage;
将第一位置的第一桌面云系统中的云桌面镜像的更改日志异步复制到第二位置的第二桌面云系统中的云存储的云桌面镜像的中继日志内;Asynchronously copying the change log of the cloud desktop image in the first desktop cloud system of the first location to the relay log of the cloud desktop image of the cloud storage in the second desktop cloud system of the second location;
第二位置的第二桌面云系统中的云存储完成云桌面镜像副本的复制后,将接收到的中继日志进行重放,在第二位置的第二桌面云系统中对云桌面进行相同的镜像更改操作。After the cloud storage in the second desktop cloud system in the second location completes the replication of the cloud desktop image copy, the received relay log is played back, and the cloud desktop is performed in the second desktop cloud system in the second location. Mirror change operation.
应当指出的是,结合图3所示,云桌面镜像和云桌面配置存放在云存储之上,云桌面镜像和云桌面配置被分割成同等大小的文件块,每个文件块有多个副本,分散存储在云存储的存储节点上。文件块的大小可以配置,如1M、2M、4M、8M、16M、32M、64M等。各个桌面云系统的云存储都配置相同的文件分片大小。云存储支持基于文件块的文件异步复制。云存储进行文件更改操作时,将更改记录到二进制更改日志中,更改日志可以复制到异地云存储的二进制中继日志中,异地云存储可以通过中继日志将文件更改操作进行重放。云存储对外提供统一的访问接口,如NFS、CIFS等接口供桌面云系统存放云桌面镜像和云桌面配置,也提供接口供桌面云系统发起文件复制和日志复制请求。It should be noted that, as shown in FIG. 3, the cloud desktop image and the cloud desktop configuration are stored on the cloud storage, and the cloud desktop image and the cloud desktop configuration are divided into equal-sized file blocks, and each file block has multiple copies. Distributed on storage nodes of cloud storage. The size of the file block can be configured, such as 1M, 2M, 4M, 8M, 16M, 32M, 64M, and the like. The cloud storage of each desktop cloud system is configured with the same file fragment size. Cloud storage supports file block-based asynchronous replication of files. When the cloud storage performs a file change operation, the changes are logged to the binary change log, which can be copied to the binary relay log of the off-site cloud storage, and the off-site cloud storage can replay the file change operation through the relay log. The cloud storage provides a unified access interface, such as NFS and CIFS, for the desktop cloud system to store cloud desktop images and cloud desktop configurations. It also provides interfaces for the desktop cloud system to initiate file copy and log replication requests.
本发明的上述实施例中,获取云桌面漫游启动指令后,第一位置的第一桌面云系统更新用户账号信息内的第二位置信息,并将账号信息同步到第二位置的第二桌面云系统,第二桌面云系统接收账号信息并写入数据库,同时,第一桌面云系统内的配置信息和云桌面镜像复制到第二桌面云系统内,保证了第一位置和第二位置的云桌面的磁盘数据一致,用户在第二位 置继续流畅地体验云桌面。In the above embodiment of the present invention, after acquiring the cloud desktop roaming start command, the first desktop cloud system in the first location updates the second location information in the user account information, and synchronizes the account information to the second desktop cloud in the second location. The second desktop cloud system receives the account information and writes the database, and the configuration information and the cloud desktop image in the first desktop cloud system are copied into the second desktop cloud system to ensure the cloud in the first location and the second location. The disk data of the desktop is consistent, and the user is in the second place. Let's continue to experience the cloud desktop smoothly.
需要补充的是,用户在第二位置根据所述云桌面的同步信息登录到所述第二桌面云系统中的云桌面时,还包括:It is further required that when the user logs in to the cloud desktop in the second desktop cloud system according to the synchronization information of the cloud desktop in the second location, the method further includes:
确定云桌面运行的地点发生变化;Determine where the cloud desktop is running;
停止对第一桌面云系统的云桌面镜像进行更改操作,并且第一桌面云系统中的云桌面镜像的更改日志复制到第二桌面云系统中的云存储后,第一桌面云系统中的云存储停止向第二桌面云系统中的云存储进行更改日志的复制,且由第二桌面云系统中的云存储向第一桌面云系统中的云存储进行更改日志的复制。Stop changing the cloud desktop image of the first desktop cloud system, and copy the change log of the cloud desktop image in the first desktop cloud system to the cloud storage in the second desktop cloud system, the cloud in the first desktop cloud system The storage stops copying the change log to the cloud storage in the second desktop cloud system, and the change log is performed by the cloud storage in the second desktop cloud system to the cloud storage in the first desktop cloud system.
为更好的实现上述目的,本发明实施例提供了如下三种确定云桌面运行的地点发生变化的方法:To better achieve the above object, the embodiments of the present invention provide the following three methods for determining changes in the location where the cloud desktop operates:
1.通过用户手工发起云桌面运行地点的变化或者由桌面云系统接口立即或在一预设时刻切换,确定云桌面运行的地点发生变化。运行地点变化后,当用户在某个桌面云门户上登录时,将会自动重定向到运行地点的桌面云门户登录;1. The location of the cloud desktop running changes is determined by the user manually initiating the change of the cloud desktop running location or by the desktop cloud system interface immediately or at a preset time. After the running location changes, when the user logs in on a desktop cloud portal, it will be automatically redirected to the desktop cloud portal login of the running location;
2.由统一门户通过识别用户的客户端所在地,根据客户端所在地确定云桌面运行的地点发生变化;2. The unified portal identifies the location of the client's client, and determines the location where the cloud desktop runs according to the location of the client;
3.由桌面云门户系统自动识别用户的客户端所在地,根据客户端所在地确定云桌面运行的地点发生变化。3. The desktop cloud portal system automatically identifies the location of the user's client, and the location where the cloud desktop is running changes according to the location of the client.
上述方案中,用户登录第二桌面云系统后,将连接到第二位置的云桌面,当用户返回第一位置时,其云桌面运行系统将会切回第一桌面云系统,其切换方法与由第一桌面云系统切换至第二桌面云系统一致。预设时间段后,删除第二位置的第二桌面云系统信息,释放存储资源,在删除第二桌面云系统之前需要第一位置继续进行日志的同步,保持第一位置和第二位置云桌面磁盘数据的一致。In the above solution, after the user logs in to the second desktop cloud system, the cloud desktop is connected to the second location. When the user returns to the first location, the cloud desktop running system will switch back to the first desktop cloud system, and the switching method thereof is Switching from the first desktop cloud system to the second desktop cloud system is consistent. After the preset time period, the second desktop cloud system information of the second location is deleted, and the storage resource is released. Before deleting the second desktop cloud system, the first location is required to continue the synchronization of the log, and the first location and the second location of the cloud desktop are maintained. The disk data is consistent.
综上,为了完整的实现上述目的,本实施例提供了一种云桌面漫游的流程图,具体地,如图4所示: In summary, in order to achieve the above purpose, the embodiment provides a flowchart of cloud desktop roaming, specifically, as shown in FIG. 4:
S21:云桌面漫游申请;S21: cloud desktop roaming application;
S22:判断漫游申请是否通过,若申请没有通过,则返回步骤S21,若申请通过,则执行步骤S23;S22: determining whether the roaming application is passed, if the application does not pass, then returning to step S21, if the application is passed, proceeding to step S23;
S23:用户账户同步;S23: user account synchronization;
S24:云桌面配置从常驻地向异地同步;S24: The cloud desktop configuration is synchronized from the resident to the remote location;
S25:云桌面镜像副本从常驻地向异地复制;S25: The cloud desktop mirror copy is copied from the resident to the remote place;
S26:云桌面镜像更改日志从常驻地复制到异地中继日志;S26: The cloud desktop image change log is copied from the resident to the remote relay log;
S27:判断云桌面镜像副本是否复制完成,若复制没有完成,则返回步骤S25,若复制完成,则执行步骤S28;S27: determining whether the cloud desktop mirror copy is completed, if the copy is not completed, then returning to step S25, if the copy is completed, executing step S28;
S28:异地中继日志进行回放;S28: The remote relay log is played back;
S29:判断云桌面运行地点是否发生变化,若没有变化,则返回步骤S26,若变化,则执行步骤S30;S29: determining whether the cloud desktop running location changes, if there is no change, then returning to step S26, if the change, then executing step S30;
S30:停止常驻地云桌面镜像的更改;S30: Stop the change of the resident cloud desktop image;
S31:判断常驻地向异地复制更改日志是否完成,若复制没有完成,则执行步骤S32,若复制完成,则执行步骤S33;S31: determining whether the resident record is changed to the remote place, if the copy is not completed, step S32 is performed, and if the copy is completed, step S33 is performed;
S32:云桌面镜像更改日志从常驻地复制到异地中继日志;S32: The cloud desktop image change log is copied from the resident to the remote relay log;
S33:停止云桌面镜像更改日志从常驻地向异地复制;S33: Stop the cloud desktop image change log from the resident to the remote place;
S34:开始云桌面镜像日志从异地向常驻地复制;S34: Start the cloud desktop mirror log to be copied from the remote location to the resident;
S35:用户登录异地桌面云门户,连接异地云桌面;S35: The user logs in to the remote desktop cloud portal and connects to the remote cloud desktop.
S36:漫游结束。S36: The roaming ends.
本发明的上述实施例中,实现用户的云桌面在常驻地桌面云系统和异地桌面云系统之间进行漫游,保证两地的云桌面的磁盘数据一致,可以使用户在异地继续流畅的体验云桌面。上述描述的云桌面漫游方法,不仅仅实现在两地之间漫游,也可以实现云桌面在多地之间进行漫游。In the above-mentioned embodiments of the present invention, the cloud desktop of the user is roamed between the resident desktop cloud system and the remote desktop cloud system to ensure that the disk data of the cloud desktops in the two places are consistent, and the user can continue the smooth experience in different places. Cloud desktop. The cloud desktop roaming method described above not only realizes roaming between the two places, but also enables the cloud desktop to roam between multiple places.
此外,如图5所示,本发明实施例还提供了一种云桌面漫游的装置, 包括:In addition, as shown in FIG. 5, an embodiment of the present invention further provides a device for roaming a cloud desktop. include:
获取模块S41,设置为获取云桌面从第一位置漫游到第二位置的漫游启动指令;The obtaining module S41 is configured to obtain a roaming start instruction that the cloud desktop roams from the first location to the second location;
同步模块S42,设置为根据所述漫游启动指令,将第一位置的第一桌面云系统中的云桌面的同步信息同步到第二位置的第二桌面云系统中,使用户在第二位置根据所述云桌面的同步信息登录到所述第二桌面云系统中的云桌面。The synchronization module S42 is configured to synchronize the synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location according to the roaming startup command, so that the user is in the second location according to the synchronization The synchronization information of the cloud desktop is logged into the cloud desktop in the second desktop cloud system.
最后,本发明实施例还提供了一种云桌面漫游的系统,包括上述的云桌面漫游的装置。需要指出的是,云系统在两地或多地建立桌面云系统,桌面云系统中的云桌面虚拟磁盘存放在云存储之上。云桌面漫游时,首次在两个桌面云系统之间同步所有的云桌面镜像数据,后续只同步变化的数据,用户在任意地点都访问离自己最近访问过的云桌面,并且任意地点访问云桌面内的磁盘数据是一致的。Finally, the embodiment of the present invention further provides a cloud desktop roaming system, including the foregoing cloud desktop roaming device. It should be noted that the cloud system establishes a desktop cloud system in two or more places, and the cloud desktop virtual disk in the desktop cloud system is stored on the cloud storage. When cloud desktop roaming, the first time synchronizes all cloud desktop image data between two desktop cloud systems, and then only synchronizes the changed data. The user accesses the cloud desktop that he has recently visited from any location, and accesses the cloud desktop from any location. The disk data inside is consistent.
上述发明实施例的云桌面漫游的方法、装置及系统,实现用户的云桌面在常驻地桌面云系统和异地桌面云系统之间进行漫游,保证两地的云桌面的磁盘数据一致,可以使用户在异地继续流畅的体验云桌面;保证用户访问最近的桌面云系统内的桌面,从而避免了异地网络延迟对云桌面体验的影响。此外,上述描述的云桌面漫游的方法,不仅仅实现在两地之间漫游,也可以实现云桌面在多地之间进行漫游。The method, device, and system for the cloud desktop roaming of the foregoing embodiments of the present invention enable the user's cloud desktop to roam between the resident desktop cloud system and the remote desktop cloud system to ensure that the disk data of the cloud desktops in the two places are consistent, and Users continue to experience cloud desktops smoothly in different places; ensure users access desktops in the nearest desktop cloud system, thus avoiding the impact of remote network delays on the cloud desktop experience. In addition, the cloud desktop roaming method described above not only realizes roaming between the two places, but also enables the cloud desktop to roam between multiple places.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
步骤S11:获取云桌面从第一位置漫游到第二位置的漫游启动指令;Step S11: Acquire a roaming start instruction that the cloud desktop roams from the first location to the second location;
步骤S12:根据所述漫游启动指令,将第一位置的第一桌面云系统中的云桌面的同步信息同步到第二位置的第二桌面云系统中,使用户在第二位置根据所述云桌面的同步信息登录到所述第二桌面云系统中的云桌面。Step S12: Synchronize the synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location according to the roaming start command, so that the user according to the cloud in the second location The synchronization information of the desktop is logged into the cloud desktop in the second desktop cloud system.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random  Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a random access memory (RAM, Random). A variety of media that can store program code, such as Access Memory), removable hard disk, disk, or optical disk.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种地址转换方法及装置,具有以下有益效果:实现用户的云桌面在常驻地桌面云系统和异地桌面云系统之间进行漫游,保证两地的云桌面的磁盘数据一致,可以使用户在异地继续流畅的体验云桌面。 As described above, an address translation method and apparatus provided by an embodiment of the present invention have the following beneficial effects: implementing a cloud desktop of a user to roam between a resident desktop cloud system and a remote desktop cloud system, and ensuring a cloud between the two places. The disk data on the desktop is consistent, which allows users to continue to experience the cloud desktop smoothly in different places.

Claims (12)

  1. 一种云桌面漫游的方法,包括:A method for roaming a cloud desktop includes:
    获取云桌面从第一位置漫游到第二位置的漫游启动指令;Obtaining a roaming start instruction that the cloud desktop roams from the first location to the second location;
    根据所述漫游启动指令,将第一位置的第一桌面云系统中的云桌面的同步信息同步到第二位置的第二桌面云系统中,使用户在第二位置根据所述云桌面的同步信息登录到所述第二桌面云系统中的云桌面。And synchronizing the synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location according to the roaming start command, so that the user synchronizes according to the cloud desktop in the second location The information is logged into the cloud desktop in the second desktop cloud system.
  2. 根据权利要求1所述的云桌面漫游的方法,其中,所述获取云桌面从第一位置漫游到第二位置的漫游启动指令的步骤包括:The method for roaming a cloud desktop according to claim 1, wherein the step of acquiring a roaming start command of the cloud desktop roaming from the first location to the second location comprises:
    获取要漫游的云桌面以及要漫游到的第二位置;Get the cloud desktop to roam and the second location to roam to;
    根据所述要漫游的云桌面以及要漫游到的第二位置,通过桌面云系统的接口自动产生所述云桌面从第一位置漫游到第二位置的漫游启动指令或者通过桌面云系统的管理员获取所述云桌面从第一位置漫游到第二位置的漫游启动指令。According to the cloud desktop to be roamed and the second location to be roamed, the roaming start command of the cloud desktop roaming from the first location to the second location or the administrator of the desktop cloud system is automatically generated through the interface of the desktop cloud system Obtaining a roaming start instruction that the cloud desktop roams from the first location to the second location.
  3. 根据权利要求1所述的云桌面漫游的方法,其中,所述将第一位置的第一桌面云系统中的云桌面的同步信息同步到第二位置的第二桌面云系统中的步骤包括:The method for roaming cloud desktops according to claim 1, wherein the step of synchronizing synchronization information of the cloud desktops in the first desktop cloud system of the first location to the second desktop cloud system of the second location comprises:
    根据所述漫游启动指令,将第一位置的第一桌面云系统中的云桌面的帐号信息、云桌面配置信息以及云桌面镜像同步到第二位置的第二桌面云系统中。The account information, the cloud desktop configuration information, and the cloud desktop image of the cloud desktop in the first desktop cloud system in the first location are synchronized to the second desktop cloud system in the second location according to the roaming start command.
  4. 根据权利要求3所述的云桌面漫游的方法,其中,将第一位置的第一桌面云系统中的云桌面的帐号信息同步到第二位置的第二桌面云系统中的步骤包括:The method for roaming cloud desktops according to claim 3, wherein the step of synchronizing the account information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location comprises:
    更新第一位置的第一桌面云系统中的云桌面的帐号信息中的漫游目的地信息,并将更新后的帐号信息发送到第二位置的第二桌面云系统中。 The roaming destination information in the account information of the cloud desktop in the first desktop cloud system in the first location is updated, and the updated account information is sent to the second desktop cloud system in the second location.
  5. 根据权利要求3所述的云桌面漫游的方法,其中,将第一位置的第一桌面云系统中的云桌面的云桌面配置信息同步到第二位置的第二桌面云系统中的步骤包括:The method for roaming cloud desktops according to claim 3, wherein the step of synchronizing the cloud desktop configuration information of the cloud desktops in the first desktop cloud system in the first location to the second desktop cloud system in the second location comprises:
    将第一位置的第一桌面云系统中的云桌面的云桌面配置信息异步复制到第二位置的第二桌面云系统中。The cloud desktop configuration information of the cloud desktop in the first desktop cloud system in the first location is asynchronously copied to the second desktop cloud system in the second location.
  6. 根据权利要求3所述的云桌面漫游的方法,其中,将第一位置的第一桌面云系统中的云桌面的云桌面镜像同步到第二位置的第二桌面云系统中的步骤包括:The method for roaming a cloud desktop according to claim 3, wherein the step of synchronizing the cloud desktop image of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location comprises:
    在第一位置的第一桌面云系统中拷贝一份云桌面镜像的副本;Copy a copy of the cloud desktop image in the first desktop cloud system in the first location;
    通过云存储的文件异步复制方式,将云桌面镜像的副本复制到第二位置的第二桌面云系统中的云存储中。A copy of the cloud desktop image is copied to the cloud storage in the second desktop cloud system in the second location by the asynchronous replication of the file in the cloud storage.
  7. 根据权利要求6所述的云桌面漫游的方法,其中,所述通过云存储的文件异步复制方式,将云桌面镜像的副本复制到第二位置的第二桌面云系统中的云存储中的步骤后还包括:The method for roaming cloud desktops according to claim 6, wherein the step of copying the copy of the cloud desktop image to the cloud storage in the second desktop cloud system of the second location by the asynchronous replication of the file in the cloud storage It also includes:
    将第一位置的第一桌面云系统中的云桌面镜像的更改日志异步复制到第二位置的第二桌面云系统中的云存储的云桌面镜像的中继日志内。The change log of the cloud desktop image in the first desktop cloud system in the first location is asynchronously copied into the relay log of the cloud desktop image of the cloud storage in the second desktop cloud system in the second location.
  8. 根据权利要求7所述的云桌面漫游的方法,其中,所述将第一位置的第一桌面云系统中的云桌面镜像的更改日志异步复制到第二位置的第二桌面云系统中的云存储的云桌面镜像的中继日志内的步骤后还包括:The method for roaming cloud desktops according to claim 7, wherein the asynchronously copying the change log of the cloud desktop image in the first desktop cloud system of the first location to the cloud in the second desktop cloud system of the second location The steps in the relay log of the stored cloud desktop image also include:
    第二位置的第二桌面云系统中的云存储完成云桌面镜像副本的复制后,将接收到的中继日志进行重放,在第二位置的第二桌面云系统中对云桌面进行相同的镜像更改操作。After the cloud storage in the second desktop cloud system in the second location completes the replication of the cloud desktop image copy, the received relay log is played back, and the cloud desktop is performed in the second desktop cloud system in the second location. Mirror change operation.
  9. 根据权利要求8所述的云桌面漫游的方法,其中,用户在第 二位置根据所述云桌面的同步信息登录到所述第二桌面云系统中的云桌面时,还包括:The method for roaming cloud desktops according to claim 8, wherein the user is in the first When the second location is logged in to the cloud desktop in the second desktop cloud system according to the synchronization information of the cloud desktop, the second location further includes:
    确定云桌面运行的地点发生变化;停止对第一桌面云系统的云桌面镜像进行更改操作,并且第一桌面云系统中的云桌面镜像的更改日志复制到第二桌面云系统中的云存储后,第一桌面云系统中的云存储停止向第二桌面云系统中的云存储进行更改日志的复制,且由第二桌面云系统中的云存储向第一桌面云系统中的云存储进行更改日志的复制。Determining the location of the cloud desktop running; stopping the change of the cloud desktop image of the first desktop cloud system, and copying the change log of the cloud desktop image in the first desktop cloud system to the cloud storage in the second desktop cloud system The cloud storage in the first desktop cloud system stops copying the change log to the cloud storage in the second desktop cloud system, and the cloud storage in the second desktop cloud system changes to the cloud storage in the first desktop cloud system Copy of the log.
  10. 根据权利要求9所述的云桌面漫游的方法,其中,所述确定云桌面运行的地点发生变化的步骤包括:The method for cloud desktop roaming according to claim 9, wherein the step of determining a change in a location where the cloud desktop operates comprises:
    通过用户手工发起云桌面运行地点的变化或者由桌面云系统接口立即或在一预设时刻切换,确定云桌面运行的地点发生变化;或者Determining that the location of the cloud desktop is changed by the user manually initiating a change in the running location of the cloud desktop or by switching the interface of the desktop cloud system immediately or at a preset time; or
    由统一门户通过识别用户的客户端所在地,根据客户端所在地确定云桌面运行的地点发生变化;或者By the unified portal, by identifying the location of the user's client, the location where the cloud desktop is running changes according to the location of the client; or
    由桌面云门户系统自动识别用户的客户端所在地,根据客户端所在地确定云桌面运行的地点发生变化。The location of the client's client is automatically identified by the desktop cloud portal system, and the location where the cloud desktop is running changes according to the location of the client.
  11. 一种云桌面漫游的装置,包括:A cloud desktop roaming device includes:
    获取模块,设置为获取云桌面从第一位置漫游到第二位置的漫游启动指令;Obtaining a module, configured to obtain a roaming start instruction that the cloud desktop roams from the first location to the second location;
    同步模块,设置为根据所述漫游启动指令,将第一位置的第一桌面云系统中的云桌面的同步信息同步到第二位置的第二桌面云系统中,使用户在第二位置根据所述云桌面的同步信息登录到所述第二桌面云系统中的云桌面。a synchronization module, configured to synchronize synchronization information of the cloud desktop in the first desktop cloud system in the first location to the second desktop cloud system in the second location according to the roaming startup command, so that the user is in the second location according to the The synchronization information of the cloud desktop is registered to the cloud desktop in the second desktop cloud system.
  12. 一种云桌面漫游的系统,包括:如权利要求11所述的云桌面漫游的装置。 A cloud desktop roaming system, comprising: the cloud desktop roaming device according to claim 11.
PCT/CN2016/081445 2015-06-19 2016-05-09 Method, device and system for cloud desktop roaming WO2016202117A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510344600.4A CN106330996A (en) 2015-06-19 2015-06-19 Cloud desktop roaming method, device and system
CN201510344600.4 2015-06-19

Publications (1)

Publication Number Publication Date
WO2016202117A1 true WO2016202117A1 (en) 2016-12-22

Family

ID=57544853

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081445 WO2016202117A1 (en) 2015-06-19 2016-05-09 Method, device and system for cloud desktop roaming

Country Status (2)

Country Link
CN (1) CN106330996A (en)
WO (1) WO2016202117A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995318A (en) * 2018-01-04 2018-05-04 西安雷风电子科技有限公司 A kind of high-availability system of network cloud disk
CN113821170A (en) * 2021-08-31 2021-12-21 济南浪潮数据技术有限公司 Distributed storage system, access method and component

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040150A (en) * 2017-06-08 2018-12-18 中国电信股份有限公司 Cloud desktop services method, client platform and system
CN110166536A (en) * 2019-04-30 2019-08-23 广州微算互联信息技术有限公司 A kind of cloud mobile phone cross-region control method, system, device and storage medium
CN113934503A (en) * 2020-06-29 2022-01-14 中兴通讯股份有限公司 Method and device for roaming and sharing user cloud desktop data
CN113794691B (en) * 2021-08-20 2023-07-14 新华三大数据技术有限公司 Multi-site cloud desktop unified login method, device and storage medium
CN114979114B (en) * 2022-03-29 2023-12-08 阿里巴巴(中国)有限公司 Cloud application processing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023960A (en) * 2011-09-15 2013-04-03 微软公司 Geo-migration of user state
US20130212161A1 (en) * 2011-12-29 2013-08-15 Vmware, Inc. Independent synchronization of virtual desktop image layers
CN103369029A (en) * 2013-05-15 2013-10-23 北京航空航天大学 Synchronization method for local desktop and remote virtual desktop, system and use method of system
CN103780687A (en) * 2014-01-16 2014-05-07 国云科技股份有限公司 Position-based multiple data center type cloud desktop management method
CN103905480A (en) * 2012-12-25 2014-07-02 中国移动通信集团公司 Remote desktop access control method, device and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158833A (en) * 2013-05-14 2014-11-19 上海国富光启云计算科技有限公司 Method for constructing intelligent desktop system
CN103841179B (en) * 2014-01-17 2017-04-19 上海宝信软件股份有限公司 cloud desktop system
CN108959504B (en) * 2018-06-27 2021-11-26 郑州云海信息技术有限公司 Method and system for realizing remote data synchronization of file system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023960A (en) * 2011-09-15 2013-04-03 微软公司 Geo-migration of user state
US20130212161A1 (en) * 2011-12-29 2013-08-15 Vmware, Inc. Independent synchronization of virtual desktop image layers
CN103905480A (en) * 2012-12-25 2014-07-02 中国移动通信集团公司 Remote desktop access control method, device and system
CN103369029A (en) * 2013-05-15 2013-10-23 北京航空航天大学 Synchronization method for local desktop and remote virtual desktop, system and use method of system
CN103780687A (en) * 2014-01-16 2014-05-07 国云科技股份有限公司 Position-based multiple data center type cloud desktop management method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995318A (en) * 2018-01-04 2018-05-04 西安雷风电子科技有限公司 A kind of high-availability system of network cloud disk
CN113821170A (en) * 2021-08-31 2021-12-21 济南浪潮数据技术有限公司 Distributed storage system, access method and component

Also Published As

Publication number Publication date
CN106330996A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2016202117A1 (en) Method, device and system for cloud desktop roaming
US20200356448A1 (en) Manifest-based snapshots in distributed computing environments
JP6530805B2 (en) Cloud file system with server-side non-replication of user-unknown encrypted file
KR102025934B1 (en) Partitioning and moving ranges in a distributed system
WO2021232845A1 (en) Container-based image updating and distribution method, and apparatus
CA2790734C (en) Data synchronization between a data center environment and a cloud computing environment
WO2017129106A1 (en) Data request processing method, server and system
US9996568B2 (en) Index maintenance based on a comparison of rebuild vs. update
JP6653789B1 (en) Data deletion restricted by replication delay in large-scale distributed data storage system
US11647075B2 (en) Commissioning and decommissioning metadata nodes in a running distributed data storage system
US20210216210A1 (en) Optimized migration of data between file systems of a storage array
EP3350723B1 (en) Hosted file sync with stateless sync nodes
KR20150023218A (en) Cloud-based distributed data system
CN106294585A (en) A kind of storage method under cloud computing platform
US9031906B2 (en) Method of managing data in asymmetric cluster file system
WO2013177925A1 (en) Data synchronization method, system and device
AU2014235853A1 (en) Local server for synced online content management system
US9015530B2 (en) Reliably testing virtual machine failover using differencing disks
WO2014023000A1 (en) Distributed data processing method and apparatus
US20130198309A1 (en) Clustering Without Shared Storage
WO2016155635A1 (en) Data processing method and device
TW201434300A (en) Service migration across cluster boundaries
JP2015035020A (en) Storage system, storage control device, and control program
US20170371946A1 (en) Replication groups for content libraries
US20070214175A1 (en) Synchronization of metadata in a distributed file system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16810858

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16810858

Country of ref document: EP

Kind code of ref document: A1