CN109586955B - Personalized configuration backup and recovery method and system for cloud terminal - Google Patents

Personalized configuration backup and recovery method and system for cloud terminal Download PDF

Info

Publication number
CN109586955B
CN109586955B CN201811356903.8A CN201811356903A CN109586955B CN 109586955 B CN109586955 B CN 109586955B CN 201811356903 A CN201811356903 A CN 201811356903A CN 109586955 B CN109586955 B CN 109586955B
Authority
CN
China
Prior art keywords
cloud terminal
personalized configuration
cloud
personalized
terminal
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
Application number
CN201811356903.8A
Other languages
Chinese (zh)
Other versions
CN109586955A (en
Inventor
廖振岚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Microcloud Technology Inc
Original Assignee
Guangdong Microcloud Technology Inc
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 Guangdong Microcloud Technology Inc filed Critical Guangdong Microcloud Technology Inc
Priority to CN201811356903.8A priority Critical patent/CN109586955B/en
Publication of CN109586955A publication Critical patent/CN109586955A/en
Application granted granted Critical
Publication of CN109586955B publication Critical patent/CN109586955B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (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 personalized configuration backup and recovery method of a cloud terminal, wherein a replaced cloud terminal generates a personalized configuration file and sends the personalized configuration file to the rest cloud terminals in a local area network in a broadcasting mode; the replacing cloud terminal replaces the replaced cloud terminal and accesses to the peripheral equipment of the replaced cloud terminal, and the replacing cloud terminal searches the personalized configuration file of the replaced cloud terminal in the residual cloud terminals in the local area network and recovers the personalized configuration file according to the feedback of the residual cloud terminals; the personalized configuration backup and recovery system of the cloud terminal is further disclosed. The invention can automatically backup and restore the personalized configuration, avoid manual operation errors, reduce the maintenance difficulty, and only replace hardware and do not need processing software by an administrator.

Description

Personalized configuration backup and recovery method and system for cloud terminal
Technical Field
The invention belongs to the technical field of desktop virtualization, and particularly relates to a method and a system for backup and recovery of personalized configuration of a cloud terminal.
Background
In a desktop virtual machine solution, one server may have tens of cloud terminals. Generally, one user will assign one cloud terminal to replace the conventional PC; because the number of the cloud terminals is large, the possibility of failure on the hardware level is relatively high; in order to improve user experience, a cloud terminal with a high X86 architecture is sometimes used, which also increases the failure rate of the cloud terminal.
After the cloud terminal fails, the common processing is as follows: and replacing the fault cloud terminal with the new cloud terminal, and then, reconfiguring the previous cloud terminal personalized configuration on the new terminal once. Common personalized configurations include server IP, cloud terminal hostname; there may be more personalization configurations such as static IP addresses, idle off time, screen resolution, etc. Because the old terminal is bad and can only be configured by memorizing or inquiring records, the more personalized configuration options, the more easily the reconfiguration is missed or mismatched.
Disclosure of Invention
In view of this, the present invention mainly aims to provide a method and a system for backing up and recovering a personalized configuration of a cloud terminal.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the embodiment of the invention provides a personalized configuration backup and recovery method for a cloud terminal, which comprises the following steps: the replaced cloud terminal generates a personalized configuration file and sends the personalized configuration file to the remaining cloud terminals in the local area network in a broadcasting mode; the replacing cloud terminal replaces the replaced cloud terminal and accesses the peripheral equipment of the replaced cloud terminal, and the replacing cloud terminal searches the personalized configuration file of the replaced cloud terminal in the residual cloud terminals in the local area network and recovers the personalized configuration file according to the feedback of the residual cloud terminals.
In the above scheme, the generating of the personalized configuration file by the replaced cloud terminal specifically includes: the replaced cloud terminal generates a personalized configuration file according to at least one piece of peripheral equipment which is accessed currently, wherein the personalized configuration file comprises personalized configuration, peripheral identification and a personalized configuration version number.
In the above scheme, the file name of the personalized configuration file is named by a hash value of a peripheral identifier in the personalized configuration.
In the above scheme, the searching, by the replacement cloud terminal, for the personalized configuration of the replaced cloud terminal in the remaining cloud terminals in the local area network and recovering according to the feedback of the remaining cloud terminals specifically includes: the replacement cloud terminal generates a peripheral identification by accessing peripheral equipment of the replaced cloud terminal, searches in a residual cloud terminal in a local area network according to the peripheral identification as a search condition, receives the peripheral identification, searches all personality configuration files locally and analyzes the personality configuration files, sends the personality configuration files to the replacement cloud terminal if the peripheral identification exists in the personality configuration files after the peripheral identification is analyzed, and the replacement cloud terminal recovers according to the received personality configuration files.
In the above scheme, when the replacement cloud terminal receives at least two personality configuration files, the personality configuration file with the highest personality configuration version number is selected for recovery, and the remaining personality configuration files are discarded.
The embodiment of the invention also provides a personalized configuration backup and recovery system of the cloud terminal, which comprises a replaced cloud terminal, a replacement cloud terminal and the residual cloud terminals in the same local area network;
the replaced cloud terminal is used for generating a personalized configuration file and sending the personalized configuration file to the rest cloud terminals in the local area network in a broadcasting mode;
the residual cloud terminal is used for receiving the personalized configuration file sent by the replaced cloud terminal, searching according to the personalized configuration file retrieved by the replaced cloud terminal and sending the searched personalized configuration file;
the replacement cloud terminal is used for replacing the replaced cloud terminal and accessing the peripheral equipment of the replaced cloud terminal, searching the personalized configuration file of the replaced cloud terminal in the residual cloud terminals in the local area network and recovering according to the feedback of the residual cloud terminals.
In the above scheme, the replaced cloud terminal is specifically configured to generate a personalized configuration file according to at least one currently accessed peripheral device, where the personalized configuration file includes a personalized configuration, a peripheral identifier, and a personalized configuration version number.
In the above scheme, the file name of the personalized configuration file is named by a hash value of a peripheral identifier in the personalized configuration.
In the above scheme, the replacement cloud terminal is specifically configured to generate a peripheral identifier by using a peripheral device accessed to the replaced cloud terminal, and search in the remaining cloud terminals in the local area network according to the peripheral identifier as a search condition; and more particularly for recovering from a received personality profile
And the residual cloud terminal is used for receiving the peripheral equipment mark, searching all the individual configuration files locally and analyzing, and sending the individual configuration files to the replacement cloud terminal if the peripheral equipment mark exists in the analyzed individual configuration files.
In the above scheme, the replacement cloud terminal is further configured to select the personality configuration file with the highest personality configuration version number for recovery when at least two personality configuration files are received, and discard the remaining personality configuration files.
Compared with the prior art, the invention can automatically backup and restore the personalized configuration, avoid manual operation errors, reduce the maintenance difficulty, and only need to replace hardware by an administrator without processing software.
Drawings
Fig. 1 is a flowchart of a method for backing up and restoring a personalized configuration of a cloud terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides a personalized configuration backup and recovery method for a cloud terminal, which is realized by the following steps as shown in figure 1:
step 101: the replaced cloud terminal generates a personalized configuration file and sends the personalized configuration file to the remaining cloud terminals in the local area network in a broadcasting mode;
specifically, the replaced cloud terminal generates a personalized configuration file according to at least one currently accessed peripheral device, wherein the personalized configuration file comprises personalized configuration, a peripheral identifier and a personalized configuration version number.
The personalized configuration comprises a terminal host name, a terminal network configuration, a terminal screen resolution, a cloud server IP and other configurations.
And the file name of the personalized configuration file is named by the hash value of the peripheral equipment identifier in the personalized configuration.
When the peripheral equipment is a USB keyboard and mouse (other USB equipment), the personalized configuration file can be generated through VID or PID;
when the peripheral equipment is a display, the personalized configuration file can be generated through the serial number of the EDID;
and the peripheral identification of the personalized configuration file is generated according to the peripheral information combination of all the peripheral equipment.
The personalized configuration version number in the personalized configuration file can use modification time as the version number, and can also use incremental numbers as the version number.
And the replaced cloud terminal automatically updates the personalized configuration file after the configuration is modified every time, and modifies the version number.
The replaced cloud terminal can also automatically update the personalized configuration file each time the cloud terminal is started.
And the rest cloud terminals in the local area network receive the personalized configuration file and then store the personalized configuration file to the local area, and if the personalized configuration file exists, the same-name file is covered.
Step 102: the replacing cloud terminal replaces the replaced cloud terminal and accesses the peripheral equipment of the replaced cloud terminal;
specifically, the replacement cloud terminal accesses at least one peripheral device of the replaced cloud terminal.
In static IP, the replacement cloud terminal does not set IP and cannot use IP protocol communication, but can use a self-defined arp broadcast packet for communication.
Step 103: the replacing cloud terminal searches the personalized configuration file of the replaced cloud terminal in the residual cloud terminals in the local area network;
specifically, the replacement cloud terminal generates the peripheral identifier by accessing at least one peripheral device of the replaced cloud terminal, or generates the peripheral identifier according to a combination of all the accessed peripheral devices.
And searching in the residual cloud terminals in the local area network by taking the peripheral identification as a searching condition, receiving the peripheral identification by the residual cloud terminals, searching all the personality configuration files locally and analyzing, and sending the personality configuration files to the replacement cloud terminal if the peripheral identification exists in the personality configuration files after analysis.
It should be noted that the remaining cloud terminals are independently searched, so that each cloud terminal sends a personality configuration file to the replacement cloud terminal if the cloud terminal is searched.
Step 104: and the replacement cloud terminal recovers according to the feedback of the residual cloud terminal.
Specifically, the replacement cloud terminal recovers according to the received personality configuration file.
And when the replacement cloud terminal receives at least two personalized configuration files, selecting the personalized configuration file with the highest personalized configuration version number for recovery, and discarding the rest personalized configuration files.
And if the replacing cloud terminal receives the personality configuration files sent back by the plurality of cloud terminals, discarding the personality configuration files if the version numbers are consistent or smaller than the currently received personality configuration files.
And the replacing cloud terminal analyzes the personalized configuration file and restores the original personalized configuration.
The embodiment of the invention also provides a personalized configuration backup and recovery system of the cloud terminal, which comprises a replaced cloud terminal, a replacement cloud terminal and the residual cloud terminals in the same local area network;
the replaced cloud terminal is used for generating a personalized configuration file and sending the personalized configuration file to the rest cloud terminals in the local area network in a broadcasting mode;
the remaining cloud terminals are used for receiving the personalized configuration files sent by the replaced cloud terminals, searching according to the personalized configuration files retrieved by the replaced cloud terminals and sending the searched personalized configuration files;
the replacement cloud terminal is used for replacing the replaced cloud terminal and accessing the peripheral equipment of the replaced cloud terminal, searching the personalized configuration file of the replaced cloud terminal in the residual cloud terminals in the local area network and recovering according to the feedback of the residual cloud terminals.
The replaced cloud terminal is specifically used for generating a personalized configuration file according to at least one piece of peripheral equipment which is accessed currently, wherein the personalized configuration file comprises personalized configuration, peripheral identification and a personalized configuration version number.
And the file name of the personalized configuration file is named by the hash value of the peripheral equipment identifier in the personalized configuration.
The replacement cloud terminal is specifically used for generating a peripheral identification by using peripheral equipment accessed to the replaced cloud terminal, and searching in the residual cloud terminals in the local area network according to the peripheral identification as a searching condition; and more particularly for recovering from a received personality profile
And the residual cloud terminal is used for receiving the peripheral mark, searching all the individual configuration files locally and analyzing, and sending the individual configuration files to the replacement cloud terminal if the peripheral mark exists in the analyzed individual configuration files.
The replacement cloud terminal is further used for selecting the personalized configuration file with the highest personalized configuration version number for recovery when at least two personalized configuration files are received, and discarding the rest personalized configuration files.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (8)

1. A method for backing up and recovering personalized configuration of a cloud terminal is characterized by comprising the following steps: the replaced cloud terminal generates a personalized configuration file and sends the personalized configuration file to the remaining cloud terminals in the local area network in a broadcasting mode; the replacing cloud terminal replaces the replaced cloud terminal and accesses to the peripheral equipment of the replaced cloud terminal, and the replacing cloud terminal searches the personalized configuration file of the replaced cloud terminal in the residual cloud terminals in the local area network and recovers the personalized configuration file according to the feedback of the residual cloud terminals;
the personalized configuration comprises a terminal host name, terminal network configuration, terminal screen resolution and a cloud server IP;
the replaced cloud terminal generates a personalized configuration file according to at least one piece of peripheral equipment which is accessed currently, wherein the personalized configuration file comprises personalized configuration, peripheral identification and a personalized configuration version number.
2. The method for backing up and restoring the personalized configuration of the cloud terminal according to claim 1, wherein a file name of the personalized configuration file is named with a hash value of a peripheral identifier in the personalized configuration.
3. The method for backing up and restoring the personalized configuration of the cloud terminal according to claim 2, wherein the replacing cloud terminal searches for the personalized configuration of the replaced cloud terminal in the remaining cloud terminals in the local area network and restores the personalized configuration according to the feedback of the remaining cloud terminals, specifically: the replacement cloud terminal generates a peripheral identification by accessing peripheral equipment of the replaced cloud terminal, searches in a residual cloud terminal in a local area network according to the peripheral identification as a search condition, receives the peripheral identification, searches all personality configuration files locally and analyzes the personality configuration files, sends the personality configuration files to the replacement cloud terminal if the peripheral identification exists in the personality configuration files after the peripheral identification is analyzed, and the replacement cloud terminal recovers according to the received personality configuration files.
4. The method for backing up and restoring the personalized configurations of the cloud terminal according to claim 3, wherein when the replacement cloud terminal receives at least two personalized configurations, the personalized configuration file with the highest personalized configuration version number is selected for restoration, and the rest personalized configuration files are discarded.
5. A personalized configuration backup and recovery system of a cloud terminal is characterized by comprising a replaced cloud terminal, a replacement cloud terminal and residual cloud terminals in the same local area network;
the replaced cloud terminal is used for generating a personalized configuration file and sending the personalized configuration file to the rest cloud terminals in the local area network in a broadcasting mode;
the residual cloud terminal is used for receiving the personalized configuration file sent by the replaced cloud terminal, searching according to the personalized configuration file retrieved by the replaced cloud terminal and sending the searched personalized configuration file;
the replacement cloud terminal is used for replacing the replaced cloud terminal and accessing the peripheral equipment of the replaced cloud terminal, searching the personalized configuration file of the replaced cloud terminal in the residual cloud terminal in the local area network and recovering according to the feedback of the residual cloud terminal;
the personalized configuration comprises a terminal host name, terminal network configuration, terminal screen resolution and a cloud server IP;
the replaced cloud terminal is specifically configured to generate a personalized configuration file according to at least one currently accessed peripheral device, where the personalized configuration file includes a personalized configuration, a peripheral identifier, and a personalized configuration version number.
6. The personalized configuration backup and restoration system according to claim 5, wherein a file name of the personalized configuration file is named with a hash value of a peripheral identifier in the personalized configuration.
7. The personalized configuration backup and restoration system according to claim 6, wherein the replacement cloud terminal is specifically configured to generate a peripheral identifier with a peripheral device accessing the replaced cloud terminal, and search in the remaining cloud terminals in the local area network according to the peripheral identifier as a search condition; the system is also specifically used for recovering according to the received personalized configuration file;
and the residual cloud terminal is used for receiving the peripheral identification, searching all the individual configuration files locally and analyzing, and sending the individual configuration files to the replacement cloud terminal if the peripheral identification exists in the analyzed individual configuration files.
8. The cloud terminal personality configuration backup and restore system of claim 7, wherein the replacement cloud terminal is further configured to select a personality profile with a highest personality configuration version number for restore when at least two personality profiles are received, and discard the remaining personality profiles.
CN201811356903.8A 2018-11-15 2018-11-15 Personalized configuration backup and recovery method and system for cloud terminal Active CN109586955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811356903.8A CN109586955B (en) 2018-11-15 2018-11-15 Personalized configuration backup and recovery method and system for cloud terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811356903.8A CN109586955B (en) 2018-11-15 2018-11-15 Personalized configuration backup and recovery method and system for cloud terminal

Publications (2)

Publication Number Publication Date
CN109586955A CN109586955A (en) 2019-04-05
CN109586955B true CN109586955B (en) 2022-02-25

Family

ID=65922480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811356903.8A Active CN109586955B (en) 2018-11-15 2018-11-15 Personalized configuration backup and recovery method and system for cloud terminal

Country Status (1)

Country Link
CN (1) CN109586955B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1322411C (en) * 2003-03-31 2007-06-20 微软公司 Peripheral equipment driving program maintenance method of network peripheral equipment
CN103299289A (en) * 2010-12-03 2013-09-11 雷蛇(亚太)私人有限公司 A collaboration management system
CN105022495A (en) * 2014-11-14 2015-11-04 西安百利信息科技有限公司 Cloud service based keyboard system and method capable of implementing customization on key position combination and mapping relationship
CN105681105A (en) * 2016-03-09 2016-06-15 上海斐讯数据通信技术有限公司 Network element configuration information synchronization method and device
CN106534226A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 Processing method and apparatus for data migration
CN106909859A (en) * 2017-04-14 2017-06-30 成都知道创宇信息技术有限公司 A kind of Mini-type intelligent device for keyboard conversion
CN107276835A (en) * 2017-08-11 2017-10-20 郑州云海信息技术有限公司 A kind of clustered deploy(ment) collocation method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101385680B (en) * 2007-09-11 2011-04-20 深圳迈瑞生物医疗电子股份有限公司 Monitoring equipment and configuration management method thereof
US8284699B1 (en) * 2009-04-30 2012-10-09 Palo Alto Networks, Inc. Managing network devices
CN102495774B (en) * 2011-12-02 2014-06-04 浪潮(北京)电子信息产业有限公司 Method and system for realizing system recovery of computer
JP6237413B2 (en) * 2014-03-31 2017-11-29 富士通株式会社 Backup device, backup method and backup program
WO2018134785A1 (en) * 2017-01-20 2018-07-26 Qoopa Sas System and method for the persistence of security agents in electronic devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1322411C (en) * 2003-03-31 2007-06-20 微软公司 Peripheral equipment driving program maintenance method of network peripheral equipment
CN103299289A (en) * 2010-12-03 2013-09-11 雷蛇(亚太)私人有限公司 A collaboration management system
CN105022495A (en) * 2014-11-14 2015-11-04 西安百利信息科技有限公司 Cloud service based keyboard system and method capable of implementing customization on key position combination and mapping relationship
CN106534226A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 Processing method and apparatus for data migration
CN105681105A (en) * 2016-03-09 2016-06-15 上海斐讯数据通信技术有限公司 Network element configuration information synchronization method and device
CN106909859A (en) * 2017-04-14 2017-06-30 成都知道创宇信息技术有限公司 A kind of Mini-type intelligent device for keyboard conversion
CN107276835A (en) * 2017-08-11 2017-10-20 郑州云海信息技术有限公司 A kind of clustered deploy(ment) collocation method and system

Also Published As

Publication number Publication date
CN109586955A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
JP6416745B2 (en) Failover and recovery for replicated data instances
US7237243B2 (en) Multiple device management method and system
US20110119358A1 (en) Systems and methods for operating networked computer systems
US10826817B2 (en) Routing table synchronization method, apparatus, and system
CN103841179A (en) Cloud desktop system
CN111200532A (en) Method, device, equipment and medium for master-slave switching of database cluster node
US20150350154A1 (en) Using Distributed Network Elements to Send Authoritative DNS Responses
CN109684155B (en) Monitoring configuration method, device, equipment and readable storage medium
US7720941B2 (en) Methods, systems and computer program products for network element information management
CN112506702B (en) Disaster recovery method, device, equipment and storage medium for data center
JP2011216072A (en) Repurposable recovery environment
CN106911729A (en) A kind of operating system remote installation method suitable for domestic processor
CN105843707A (en) Quick recovery method and equipment of database
US11010238B2 (en) Management system of storage system
SG173453A1 (en) Method and apparatus for tracking device management data changes
CN105224441A (en) Virtual machine information harvester, method and virtual machine information maintaining method and system
CN104506893A (en) Information updating method, cloud server and CRM (customer relation management) server
CN109586955B (en) Personalized configuration backup and recovery method and system for cloud terminal
US20120124198A1 (en) Method and management apparatus for detecting communication apparatus coupled to communication network
Cisco Enterprise-Specific MIB
Cisco Enterprise-Specific MIB
Cisco Enterprise-Specific MIB
Cisco Enterprise-Specific MIB
CN105516315A (en) File recovery method and device
KR20190020548A (en) Server for integrated management of client terminal

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