CN110018875B - Desktop synchronization implementation method based on IDV - Google Patents
Desktop synchronization implementation method based on IDV Download PDFInfo
- Publication number
- CN110018875B CN110018875B CN201910283420.8A CN201910283420A CN110018875B CN 110018875 B CN110018875 B CN 110018875B CN 201910283420 A CN201910283420 A CN 201910283420A CN 110018875 B CN110018875 B CN 110018875B
- Authority
- CN
- China
- Prior art keywords
- idv
- virtual desktop
- template file
- feature code
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
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)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a desktop synchronization realization method based on IDV, which relates to the technical field of desktop cloud, and comprises the steps of loading an IDV template file through a client, linking and cloning one or more virtual desktop files generated by the IDV template file, setting the IDV template file and the virtual desktop files to be in a sharable state, calculating the IDV template file and the virtual desktop files by using a message digest MD5 algorithm, generating a first feature code and uploading the first feature code and the IDV template files to a server, starting a tracker server through the server, receiving the first feature code and the IDV template file sent by the client, analyzing the IDV template file, generating corresponding virtual desktop files, calculating the IDV template file and the virtual desktop files by using a message digest MD5 algorithm, generating second feature codes, establishing connection with each client through the tracker server, issuing the corresponding IDV template files to each client by using a P2P transmission protocol, the synchronization process is simplified, and the synchronization efficiency and the expandability are improved.
Description
Technical Field
The invention relates to the technical field of desktop cloud, in particular to a desktop synchronization implementation method based on IDV.
Background
In recent years, the desktop cloud market in China is extremely hot, and the desktop cloud mainly relates to two architectures: an Intelligent Desktop Virtualization (IDV) framework and a Virtual Desktop Infrastructure (VDI) dominate the entire Desktop cloud market. The IDV framework can effectively avoid the huge demand on server storage and the serious dependence on network bandwidth in the VDI framework, has certain flexibility and high performance, and is advocated by a great number of users. The IDV architecture has the greatest characteristic that the virtual desktop is operated on a local terminal, so that how to quickly and accurately push the virtual desktop to the terminal becomes a serious problem.
At present, the mode of realizing desktop synchronization by using an IDV framework basically adopts a mode of P2P downloading and template, and the mode is very tedious and time-consuming for synchronization after subsequent virtual desktop updating. It is therefore of great importance to develop an efficient and scalable solution.
Disclosure of Invention
In order to overcome the defects in the prior art, the embodiment of the invention provides an IDV-based desktop synchronization implementation method.
In a first aspect, an IDV-based desktop synchronization implementation method provided in an embodiment of the present invention is applicable to a client, and includes:
loading an IDV template file, and linking and cloning one or more virtual desktop files generated by the IDV template file;
setting the IDV template file and the virtual desktop file to be in a sharable state;
and calculating the IDV template file and the virtual desktop file by using a message digest MD5 algorithm, generating a first feature code and uploading the first feature code and the IDV template file to a server.
In a second aspect, another method for implementing desktop synchronization based on an intelligent desktop virtualization IDV provided in an embodiment of the present invention is applicable to a server, and includes:
starting a tracker server;
receiving a first feature code and an IDV template file sent by a client and analyzing the IDV template file to generate a corresponding virtual desktop file;
calculating the IDV template file and the virtual desktop file by using a message digest MD5 algorithm, generating a second feature code, judging whether the first feature code and the second feature code are consistent, and if so, saving the IDV template file;
associating each terminal needing to be synchronized with the IDV template file;
and establishing connection with each client through the tracker server and issuing corresponding IDV template files to each client by utilizing a P2P transmission protocol.
Preferably, the determining whether the first feature code and the second feature code are consistent includes:
and if not, sending an IDV template file resending instruction to the client.
The desktop synchronization implementation method based on IDV provided by the embodiment of the invention has the following beneficial effects:
(1) the P2P protocol completely fits the synchronous scene under the IDV framework, a plurality of nodes correspond to a central server, and a plurality of terminals are generally required to be synchronized simultaneously, so most of schemes select the mode to carry out synchronization, and the synchronization efficiency is improved;
(2) the client and the server are different and have certain operability, the mirror image and related software can be easily installed after the client software is installed, and the compatibility with all the peripherals is better, in addition, the installed display card driver can automatically complete self-adaptive installation at the client, and the processing is not needed after synchronization, so that the synchronization process is simplified;
(3) the server meets the use scene of the central server under the P2P protocol, and the template exists on the server, thereby facilitating the uniform management and safe backup of an administrator;
(4) by adopting the template file of the link clone, after the first synchronization of the desktops, the synchronization can be completed only by modifying the virtual desktops without synchronizing the template files, so that the synchronization time is greatly shortened, a user can create a plurality of virtual desktops under one template, different desktop requirements can be met by differential modification, and the expandability is high.
Drawings
Fig. 1 is a schematic flowchart of a desktop synchronization implementation method based on IDV according to an embodiment of the present invention;
fig. 2 is a schematic diagram of information interaction between a Tracker server and each client.
Detailed Description
The invention is described in detail below with reference to the figures and the embodiments.
Referring to fig. 1, the method for implementing IDV-based desktop synchronization according to the embodiment of the present invention includes the following steps:
s101, the client loads the IDV template file and links one or more virtual desktop files generated by cloning the IDV template file.
Taking the IDV template file in qcow2 format as an example, assuming that the size of the IDV template file is 30G, one or more virtual desktops under its template can be linked and cloned. Because the file stores the content different from the template file, the subsequent updating efficiency can be greatly improved.
S102, the client sets the IDV template file and the virtual desktop file to be in a sharable state.
S103, the client calculates the IDV template file and the virtual desktop file by using a message digest MD5 algorithm, generates a first feature code and uploads the first feature code and the IDV template file to the server.
And S104, the server starts a tracker server.
And S105, the server receives the first feature code and the IDV template file sent by the client and analyzes the IDV template file to generate a corresponding virtual desktop file.
S106, the server calculates the IDV template file and the virtual desktop file by using a message digest MD5 algorithm, generates a second feature code and judges whether the first feature code and the second feature code are consistent, and if so, the IDV template file is stored.
S107, the server associates each terminal needing to be synchronized with the IDV template file.
And S108, the server establishes connection with each client through the tracker server and issues corresponding IDV template files to each client by utilizing a P2P transmission protocol.
The Tracker server is a program running on the server and used for information interaction among clients needing synchronization during synchronization.
As a specific embodiment, the information interaction between the Tracker server and each client that needs to be synchronized is shown in fig. 2.
Optionally, the determining whether the first feature code and the second feature code are consistent includes:
and if not, sending an IDV template file resending instruction to the client.
The method for realizing IDV-based desktop synchronization comprises the steps of loading an IDV template file by a client, linking one or more virtual desktop files generated by cloning the IDV template file, setting the IDV template file and the virtual desktop files to be in a sharable state, calculating the IDV template file and the virtual desktop files by using a message digest MD5 algorithm, generating a first feature code, uploading the first feature code and the IDV template file to a server, starting a tracker server by the server, receiving the first feature code and the IDV template file sent by the client, analyzing the IDV template file, generating corresponding virtual desktop files, calculating the IDV template file and the virtual desktop files by using a message digest MD5 algorithm, generating a second feature code, judging whether the first feature code and the second feature code are consistent, storing the IDV template file if the first feature code and the second feature code are consistent, associating each client needing to be synchronized with the IDV template file, and storing the IDV template file, The connection is established between the tracker server and each client, and the corresponding IDV template file is issued to each client by utilizing a P2P transmission protocol, so that the synchronization process is simplified, and the synchronization efficiency and the expandability are improved.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (2)
1. An IDV-based desktop synchronization implementation method is applicable to a client, and is characterized by comprising the following steps:
loading a virtual desktop template file, and linking and cloning one or more virtual desktop files generated by the virtual desktop template file;
setting the virtual desktop template file and the virtual desktop file to be in a sharable state;
calculating the virtual desktop template file and the virtual desktop file by using a message digest MD5 algorithm, generating a first feature code and uploading the first feature code and the virtual desktop template file to a server;
starting a tracker server;
receiving a first feature code and a virtual desktop template file sent by a client, analyzing the virtual desktop template file, and generating a corresponding virtual desktop file;
calculating the virtual desktop template file and the virtual desktop file by using a message digest MD5 algorithm, generating a second feature code, judging whether the first feature code and the second feature code are consistent, and if so, saving the virtual desktop template file;
associating each terminal needing to be synchronized with the virtual desktop template file;
and establishing connection with each terminal through the tracker server and issuing corresponding virtual desktop template files to each terminal by utilizing a P2P transmission protocol.
2. The method of claim 1, wherein determining whether the first feature code and the second feature code are consistent comprises:
and if the template file is inconsistent with the template file, sending a command of resending the virtual desktop template file to the client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910283420.8A CN110018875B (en) | 2019-04-10 | 2019-04-10 | Desktop synchronization implementation method based on IDV |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910283420.8A CN110018875B (en) | 2019-04-10 | 2019-04-10 | Desktop synchronization implementation method based on IDV |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110018875A CN110018875A (en) | 2019-07-16 |
CN110018875B true CN110018875B (en) | 2022-05-31 |
Family
ID=67190888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910283420.8A Active CN110018875B (en) | 2019-04-10 | 2019-04-10 | Desktop synchronization implementation method based on IDV |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110018875B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110908756B (en) * | 2019-11-18 | 2024-02-02 | 西安雷风电子科技有限公司 | Cloud desktop real-time fusion switching method and system |
CN111708553A (en) * | 2020-05-22 | 2020-09-25 | 西安雷风电子科技有限公司 | Terminal and system for background updating of desktop mirror image |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717175A (en) * | 2013-12-11 | 2015-06-17 | 中国电信股份有限公司 | Virtual desktop processing method and system |
CN105308561A (en) * | 2013-04-09 | 2016-02-03 | 思杰***有限公司 | Providing a native desktop using cloud-synchronized data |
CN106330999A (en) * | 2015-06-19 | 2017-01-11 | 中兴通讯股份有限公司 | Client and system, and method for realizing data sharing between client and virtual desktop |
CN107562445A (en) * | 2016-06-29 | 2018-01-09 | 中国电信股份有限公司 | Methods, devices and systems for dynamically more new user interface |
CN107864217A (en) * | 2017-11-21 | 2018-03-30 | 南京斯坦德云科技股份有限公司 | Cloud desktop intelligently pushing system |
CN107870803A (en) * | 2016-09-28 | 2018-04-03 | 中国电信股份有限公司 | The data redirection optimization method of intelligence desktop virtualization, device and system |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852160A (en) * | 2005-12-30 | 2006-10-25 | 华为技术有限公司 | Method for realizing data slow synchronization and system thereof |
AU2012362137B2 (en) * | 2011-12-29 | 2015-09-17 | VMware LLC | N-way synchronization of desktop images |
CN103369029B (en) * | 2013-05-15 | 2016-04-13 | 北京航空航天大学 | Local desktop and remote virtual desktop synchronous method, system and using method |
US10474485B2 (en) * | 2014-08-07 | 2019-11-12 | Vmware, Inc. | Individualizing virtual hardware configurations of deployed desktop virtual machines using custom resource templates |
US10601913B2 (en) * | 2016-12-16 | 2020-03-24 | Wyse Technology L.L.C. | Synchronization of user data in a virtual desktop environment |
US10812974B2 (en) * | 2017-05-06 | 2020-10-20 | Vmware, Inc. | Virtual desktop client connection continuity |
CN107885564A (en) * | 2017-10-31 | 2018-04-06 | 南京斯坦德云科技股份有限公司 | The super fusion cloud desktop system of one kind |
-
2019
- 2019-04-10 CN CN201910283420.8A patent/CN110018875B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105308561A (en) * | 2013-04-09 | 2016-02-03 | 思杰***有限公司 | Providing a native desktop using cloud-synchronized data |
CN104717175A (en) * | 2013-12-11 | 2015-06-17 | 中国电信股份有限公司 | Virtual desktop processing method and system |
CN106330999A (en) * | 2015-06-19 | 2017-01-11 | 中兴通讯股份有限公司 | Client and system, and method for realizing data sharing between client and virtual desktop |
CN107562445A (en) * | 2016-06-29 | 2018-01-09 | 中国电信股份有限公司 | Methods, devices and systems for dynamically more new user interface |
CN107870803A (en) * | 2016-09-28 | 2018-04-03 | 中国电信股份有限公司 | The data redirection optimization method of intelligence desktop virtualization, device and system |
CN107864217A (en) * | 2017-11-21 | 2018-03-30 | 南京斯坦德云科技股份有限公司 | Cloud desktop intelligently pushing system |
Non-Patent Citations (2)
Title |
---|
Antonio Celesti ; Davide Mulfari ; Maria Fazio ; Massimo Villari ; A.Improving desktop as a Service in OpenStack.《2016 IEEE Symposium on Computers and Communication (ISCC)》.2016, * |
虚拟技术在桌面管理中的应用与实现;王宇宁;《计算机与网络》;20090726;第61-63页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110018875A (en) | 2019-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107526626B (en) | Docker container thermal migration method and system based on CRIU | |
KR100750142B1 (en) | Method and Apparatus for Synchronizing Content with a Collection of Home Devices | |
CN102819461A (en) | Desktop synchronization method, device, equipment and system | |
EP2721506A2 (en) | Efficient state reconciliation | |
CN103152398A (en) | Method and system for file synchronization among multiple terminal files | |
US20060195820A1 (en) | Method and system for version negotiation of distributed objects | |
WO2012170149A2 (en) | Sending category information | |
EP2163989A1 (en) | A method and device for data synchronization among terminals | |
CN110018875B (en) | Desktop synchronization implementation method based on IDV | |
KR100728076B1 (en) | Method, device and system for synchronizing of data providing for the handling of an interrupted synchronization process | |
WO2023185934A1 (en) | Data processing method and device | |
WO2016070566A1 (en) | Cloud terminal upgrade method and system, network management server and proxy server | |
CN114553693A (en) | Gateway upgrading method and device | |
KR101600717B1 (en) | Method and apparatus for download virtual machine operating system image | |
CN107346217B (en) | Cloud hard disk management method, cloud computing management platform and virtualization platform | |
CN113766027A (en) | Method and equipment for forwarding data by flow replication cluster node | |
JP2006209490A (en) | Program for synchronization of set information | |
CN108881452B (en) | Data synchronization method, device and storage medium | |
WO2023020092A1 (en) | Multi-person collaboration-based resource processing method, apparatus and system | |
US7568194B2 (en) | Method and system for availability checking on distributed objects | |
CN110019059B (en) | Timing synchronization method and device | |
CN110661857B (en) | Data synchronization method and device | |
CN104468767A (en) | Method and system for detecting cloud storage data collision | |
CN110768811A (en) | Method, device and system for updating YANG model file library | |
CN115454666A (en) | Data synchronization method and device among message queue clusters |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |