CN117271218A - Method for restarting IDV cloud desktop system - Google Patents

Method for restarting IDV cloud desktop system Download PDF

Info

Publication number
CN117271218A
CN117271218A CN202311292712.0A CN202311292712A CN117271218A CN 117271218 A CN117271218 A CN 117271218A CN 202311292712 A CN202311292712 A CN 202311292712A CN 117271218 A CN117271218 A CN 117271218A
Authority
CN
China
Prior art keywords
cloud
cloud desktop
dock
management module
desktop
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.)
Pending
Application number
CN202311292712.0A
Other languages
Chinese (zh)
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.)
Xi'an Leifeng Electronic Technology Co ltd
Original Assignee
Xi'an Leifeng Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Leifeng Electronic Technology Co ltd filed Critical Xi'an Leifeng Electronic Technology Co ltd
Priority to CN202311292712.0A priority Critical patent/CN117271218A/en
Publication of CN117271218A publication Critical patent/CN117271218A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

A restarting device in an IDV cloud desktop system comprises an IDV cloud terminal and a cloud desktop server; the cloud desktop system is connected to a cloud desktop server through an IDV cloud terminal, and restarting operation is performed in the cloud desktop system; the internal restarting method comprises the following steps: s1, creating a user in a cloud desktop management module, and creating Yun Jingxiang; s2, manufacturing a cloud mirror image; s3, creating a dock cloud desktop; s4, caching the cloud desktop to the cloud terminal; s5, automatically opening a dock cloud desktop entering a user; s6, running a daemon process of the cloud desktop container; s7, restarting operation in a dock cloud desktop; s8, the cloud desktop container daemon monitors and acquires the exit state code of the dock cloud desktop, and reacts; s9, backing up a dock cloud desktop by the cloud terminal management module; s10, a cloud terminal management module starts a dock cloud desktop starting instruction, and the dock cloud desktop is restarted to start; s11, presenting an effect interface of restarting bare metal in a dock cloud desktop interface of a user; the method has the advantages of simplicity and convenience in operation, data safety and high efficiency.

Description

Method for restarting IDV cloud desktop system
Technical Field
The invention relates to the technical field of IDV cloud desktops, in-system restarting method of an IDV cloud desktop
Background
The IDV cloud desktop (Intelligent Desktop Virtualization) is different from the virtual desktop infrastructure VDI in that all desktop computing resources are highly concentrated in a data center and sent to terminal equipment through an interface, and the IDV adopts more distributed methods to meet the operation technical requirements, and simultaneously, the management and deployment functions are simplified in a centralized mode. The significant challenges that VDI typically present include early cost, storage-related technical challenges, uncertain TCOs, and in many cases reliance on the network, make off-line use very difficult. In addition, VDI has certain limitations on the various available peripherals because peripherals that consume large amounts of bandwidth resources can expose problems that occur at low bandwidths.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide a restarting device and a restarting method in an IDV cloud desktop system, which can realize restarting operation in an operating system at a user level without clicking on the computer again, thereby overcoming the defect that shutdown can only be realized after restarting in the past, and greatly improving the convenience and efficiency of operation.
In order to achieve the above purpose, the invention adopts the following technical scheme: a restarting device in an IDV cloud desktop system comprises a cloud terminal and a cloud desktop server which can mutually carry out network communication; a plurality of dock cloud desktops can be operated on the cloud terminal;
the cloud terminal comprises a cloud desktop management module I and a cloud desktop operation module; the cloud desktop management module I is connected with the cloud desktop server and used for completing the local deployment from the cloud desktop to the cloud terminal and the remote control of the locally deployed cloud desktop; the cloud desktop running system completes the starting and running of the cloud desktop according to the indication of the cloud desktop server and the real-time management and control instruction execution of the dock cloud desktop by an administrator, so as to provide cloud desktop service for users;
the cloud desktop server comprises a cloud terminal management module, a cloud desktop management module II, a cloud user management module and a cloud mirror management module; the cloud terminal management module is used for completing the initialization deployment, access authentication control and remote control of the cloud terminal; the cloud user management module is used for creating a user using the system and providing user authentication service; the cloud desktop management module is used for providing creation, deployment and access control of the cloud desktops, so that legal access users can use the cloud desktops.
A restarting method in an IDV cloud desktop system comprises the following steps:
step S1, creating a user in a cloud desktop management module, and creating a cloud mirror image for the user;
step S2, the cloud mirror image is a dock mirror image, a user adopts a container technology, installs a required operating system and applicable software, and finally pushes the mirror image created based on the container technology into a dock warehouse in a cloud mirror image management module, so that the complete cloud mirror image is manufactured;
step S3, creating a dock cloud desktop for a user based on a cloud mirror image;
step S4, caching the cloud desktop to the cloud terminal by a cloud terminal management module through a dynamic downloading mechanism of a dock mirror image;
step S5, after the caching is completed, the user can automatically start and enter a dock cloud desktop of the user;
step S6, the cloud terminal management module starts to run a daemon process of the cloud desktop container;
step S7, in the dock cloud desktop, the user can normally use the operating system, and when the restarting operation is required, the user clicks a restarting button in the operating system;
step S8, the cloud desktop container daemon of the cloud terminal management module I monitors and acquires the exit state code of the dock cloud desktop, and the state at the moment is obtained through an analysis algorithm: the user clicks in the system to restart and exit, and the dock cloud desktop is in a shutdown state;
step S9, the cloud terminal management module immediately backs up the dock cloud desktop to ensure the safety of user data;
step S10, a cloud terminal management module starts a dock cloud desktop starting instruction, and the dock cloud desktop is restarted to start;
step S11, displaying a bare metal restarting interface in a dock cloud desktop of the user.
The beneficial effects of the invention are as follows:
the invention has the advantages that: the cloud terminal and the cloud desktop server communicate, so that the restarting operation of the user level in the operating system can be realized, the startup is not required to be clicked again, the defect that shutdown can only be realized after restarting in the past is overcome, and the convenience and the efficiency of the operation are greatly improved. Meanwhile, the cloud desktop server provides various management modules, can realize management of cloud terminals, cloud desktops and cloud users, and identification and management of biological characteristics, and has important effects on the safety and stability of a cloud desktop system.
In summary, the invention realizes the function of restarting operation in the IDV cloud desktop system through the internal restarting step, and ensures the safety of user data through the backup function of the cloud terminal management module. The cloud desktop management method has the advantages of simplicity and convenience in operation, data safety and high efficiency, and is suitable for the scenes of enterprises, education institutions and the like needing cloud desktop management.
Drawings
Fig. 1 is a schematic structural diagram of a restarting device in an IDV cloud desktop system according to the present invention.
Fig. 2 is a flowchart of a restart method in the IDV dock cloud desktop system of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made more apparent and fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the invention are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a restarting method in an IDV cloud desktop system of the present invention is illustrated, including an IDV cloud terminal capable of performing network communication and a cloud desktop server, where a plurality of dock cloud desktops are operated on the IDV cloud terminal;
the IDV cloud terminal comprises a cloud desktop management module I, a cloud desktop operation module and a biological characteristic equipment management module; the cloud desktop management module I is communicated with the cloud desktop server and is used for completing the local deployment from the cloud desktop to the IDV cloud terminal and the remote control of the locally deployed cloud desktop; the dock cloud desktop operation system is used for completing the starting operation of the cloud desktop and real-time management and control instructions of an administrator on the dock cloud desktop according to the indication of the cloud desktop server, and providing dock cloud desktop service for users;
the container technology refers to a kernel lightweight switching system layer virtualization technology
The dock cloud desktop is a virtual computer running on an IDV cloud terminal and based on a container technology, and provides the same office, learning, entertainment and other functions as those of a traditional personal computer for a personal user;
the cloud desktop server comprises a cloud terminal management module, a cloud desktop management module II, a cloud user management module and a cloud mirror management module; the cloud terminal management module is used for completing the initialization deployment, access authentication control and remote control of the IDV cloud terminal; the cloud user management module is used for creating a user using the system and providing user authentication service; the cloud desktop management module II is used for providing creation, deployment and access control of a dock cloud desktop, so that a legal access user can use the dock cloud desktop; the cloud image management module is used for converting dynamic differences of the dock images into cloud terminal downloading cloud desktop to provide services.
The device provided by the invention uses the IDV cloud terminal to carry out network communication with the cloud desktop server, and provides a cloud terminal management module, a cloud desktop management module I, a cloud desktop management module II, a cloud user management module and a biological characteristic management module in the cloud desktop server. The user can connect to the cloud desktop server through the cloud terminal, click to restart in the operating system, and the cloud terminal management module controls the user level to restart.
When a user clicks a restart button in the operating system, the cloud desktop system will close the currently running docker container (i.e., the cloud desktop), instead of restarting the entire system as in a normal computer. This is because of the special nature of the docker mechanism, which is a virtualization technology, multiple independent containers, each with its own operating system and application, can run on the same physical machine. Thus, clicking the restart button within the dock cloud desktop will only close the currently running container. The user needs to click on the cloud desktop again to reuse.
A restarting method in an IDV cloud desktop system, as shown in figure 2, comprises the following steps:
step S1, creating a user in a cloud desktop management module, and creating a cloud mirror image for the user;
step S2, the cloud mirror image is a dock mirror image, a user adopts a container technology, installs a required operating system and applicable software, and finally pushes the mirror image created based on the container technology into a dock warehouse in a cloud mirror image management module, so that the complete cloud mirror image is manufactured;
step S3, creating a dock cloud desktop for a user based on a cloud mirror image;
step S4, caching a dock cloud desktop to a cloud terminal by a cloud terminal management module through a dynamic downloading mechanism of the dock mirror image;
step S5, after the caching is completed, the user can automatically start and enter a dock cloud desktop of the user;
step S6, the cloud terminal management module starts to run a daemon process of the dock cloud desktop container;
firstly, writing a daemon program in a cloud terminal management module, and interacting with a Docker daemon by calling a Docker API;
when the daemon is started, the configuration information of the Docker API is transmitted into a program for establishing connection with the Docker daemon;
the daemon program periodically polls the Docker daemon to acquire the state information of the current Docker container and carries out corresponding processing according to the state information;
when the daemon detects that the state of the Docker container changes, such as the container is created, started, stopped or abnormally exited, the daemon immediately carries out corresponding processing on the container, such as backing up data and restarting the container;
the daemon can also perform operations such as log recording and error processing so as to ensure the stability and the safety of the system;
step S7, in the dock cloud desktop, the user can normally use the operating system, and when the restart operation is required, the user clicks a restart button in the computer operating system;
after clicking a restarting button in the operating system, the operating system sends a restarting instruction to the cloud desktop container;
after receiving the restarting instruction, the cloud desktop container performs a series of cleaning and closing operations, such as saving user data, releasing resources and unloading loaded drivers;
the cloud desktop container finally executes an exit instruction to exit from the inside of the Docker container, and simultaneously sends an exit status code to Docker daemon;
the Docker daemon transmits the exit status code to a daemon of the cloud terminal management module;
the daemon will judge the reason of the restart event according to the exit status code and determine whether to perform backup operation;
if the daemon judges that backup operation is needed, the daemon sends a backup instruction to the cloud desktop container to backup the data in the container;
after the backup is completed, the daemon program sends a starting instruction to the Docker daemon to restart the cloud desktop container;
the Docker daemon starts a new cloud desktop container and transmits the state code of the container to the daemon;
the daemon program judges the result of the starting event according to the container state code, and if the starting is successful, the daemon program updates the state information of the cloud desktop in the cloud terminal management module and displays the restarting effect to the user;
in summary, after the user clicks the restart button in the intelligent cloud desktop, the cloud desktop container performs cleaning and closing operations first, then exits the container and sends a status code to the Docker daemon, and finally the daemon program of the cloud terminal management module processes the restart event and performs corresponding backup and start operations;
step S8, the cloud desktop container daemon of the cloud terminal management module I monitors and acquires the exit state code of the dock cloud desktop, and obtains that the state is due to the fact that the user system clicks in the user system to restart and exit, and immediately reacts to the state, and the dock cloud desktop is in a shutdown state;
when the cloud desktop container daemon monitors a Docker cloud desktop container exit event, judging whether an exit state code is in a processing range or not:
1) The application program automatically exits: if the application program in the Docker cloud desktop container automatically exits and an exit state code is not set during the exiting, the exit state code of the container is 0;
2) Application program exception exit: if an exception occurs to an application in the Docker cloud desktop container during execution, such as throwing an uncaptured exception or the executed command returns an error code other than 0, then the exit status code of the container is an integer value other than 0;
3) Docker cloud desktop container exit: if the Docker engine detects an abnormal condition in the Docker cloud desktop container, for example, the memory of the Docker cloud desktop container is insufficient, the exit status code of the Docker cloud desktop container is an integer value other than 0;
through event analysis, excluding application program events, finding an event of system exit, finding a click restarting event in a user system, if the operation type of the event is 'die', indicating that the dock cloud desktop is stopped running, and if the attribute value of the 'exitCode' of the stopped event is '129', indicating that the dock desktop is in-system restarting trigger, and restarting the dock cloud desktop at the moment;
if the cloud desktop container is a restarting event in the user system, the cloud desktop container is stopped by clicking a restarting button in the user system, and the requirements of further processing are met.
Step S9, the cloud desktop container daemon of the cloud terminal management module immediately backs up the dock cloud desktop after monitoring that the dock cloud desktop triggers a restarting event so as to ensure the safety of user data;
the cloud terminal management module can use the snapshot function of the dock cloud desktop to carry out backup. A snapshot is a backup mode of a virtual machine, and can backup the virtual machine under the condition of no shutdown. The cloud terminal management module can initiate snapshot operation by calling an API interface provided by the cloud platform, and the state of the current dock cloud desktop is saved as a snapshot;
the cloud terminal management module can compress and encrypt the backup data after the backup is completed so as to ensure the safety of the backup data;
the cloud terminal management module can store the backup data into the cloud storage service to ensure the reliability and durability of the backup data;
through the implementation mode, the cloud terminal management module can timely backup the dock cloud desktop, so that the safety of user data is guaranteed, and meanwhile, the storage of backup data can also utilize the high-availability and high-reliability cloud storage service provided by the cloud platform, so that the reliability and durability of the backup data are guaranteed.
Step S10, a cloud terminal management module immediately starts a dock cloud desktop starting instruction, and the cloud desktop is restarted to start;
the cloud terminal management module receives a cloud desktop container daemon starting instruction, and the Docker engine runs a corresponding container on the terminal after receiving the instruction and exposes the container to the local computer so that a user can access an application program in the container through the local computer;
step S11, a one-time restarting interface similar to a bare metal is presented in a dock cloud desktop of a user.

Claims (2)

1. The restarting device in the IDV cloud desktop system is characterized by comprising an IDV cloud terminal and a cloud desktop server which can mutually perform network communication; a plurality of dock cloud desktops can be operated on the cloud terminal;
the IDV cloud terminal comprises a cloud desktop management module I and a cloud desktop operation module; the cloud desktop management module I is connected with the cloud desktop server and used for completing the local deployment from the cloud desktop to the cloud terminal and the remote control of the locally deployed cloud desktop; the running system of the dock cloud desktop finishes the starting and running of the cloud desktop according to the indication of the cloud desktop server and the real-time management and control instruction execution of an administrator on the dock cloud desktop, so as to provide dock cloud desktop service for users;
the cloud desktop server comprises a cloud terminal management module, a cloud desktop management module II, a cloud user management module and a cloud mirror management module; the cloud terminal management module is used for completing the initialization deployment, access authentication control and remote control of the IDV cloud terminal; the cloud user management module is used for creating a user using the system and providing user authentication service; the cloud desktop management module II is used for providing creation, deployment and access control of the dock cloud desktops, so that legal access users can use the dock cloud desktops.
2. The restarting method in the IDV cloud desktop system is characterized by comprising the following steps of:
step S1, creating a user in a cloud desktop management module, and creating a cloud mirror image for the user;
step S2, the cloud mirror image is a dock mirror image, a user adopts a container technology, installs a required operating system and applicable software, and finally pushes the mirror image created based on the container technology into a dock warehouse in a cloud mirror image management module, so that the complete cloud mirror image is manufactured;
step S3, creating a dock cloud desktop for a user based on a cloud mirror image;
step S4, caching a dock cloud desktop to a cloud terminal by a cloud terminal management module through a dynamic downloading mechanism of the dock mirror image;
step S5, after the caching is completed, the user can automatically start and enter a dock cloud desktop of the user;
step S6, the cloud terminal management module starts to run a daemon process of the cloud desktop container;
step S7, in the dock cloud desktop, the user can normally use the operating system, and when the restarting operation is required, the user clicks a restarting button in the operating system;
step S8, the cloud desktop container daemon of the cloud terminal management module I monitors and acquires the exit state code of the dock cloud desktop, and the state at the moment is obtained through an analysis algorithm: the user clicks in the system to restart and exit, and the dock cloud desktop is in a shutdown state;
step S9, the cloud terminal management module immediately backs up the dock cloud desktop to ensure the safety of user data;
step S10, a cloud terminal management module starts a dock cloud desktop starting instruction, and the dock cloud desktop is restarted to start;
step S11, displaying a bare metal restarting interface in a dock cloud desktop of the user.
CN202311292712.0A 2023-10-08 2023-10-08 Method for restarting IDV cloud desktop system Pending CN117271218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311292712.0A CN117271218A (en) 2023-10-08 2023-10-08 Method for restarting IDV cloud desktop system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311292712.0A CN117271218A (en) 2023-10-08 2023-10-08 Method for restarting IDV cloud desktop system

Publications (1)

Publication Number Publication Date
CN117271218A true CN117271218A (en) 2023-12-22

Family

ID=89211998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311292712.0A Pending CN117271218A (en) 2023-10-08 2023-10-08 Method for restarting IDV cloud desktop system

Country Status (1)

Country Link
CN (1) CN117271218A (en)

Similar Documents

Publication Publication Date Title
US20220179682A1 (en) Task processing method, apparatus, and system based on distributed system
US7703091B1 (en) Methods and apparatus for installing agents in a managed network
US7284236B2 (en) Mechanism to change firmware in a high availability single processor system
US7509375B2 (en) Management system for multimodule multiprocessor machines
CN106959866A (en) A kind of log collection client and its upgrade method
CN109542744B (en) Method, device, storage medium and terminal for detecting abnormal starting problem of terminal
US20040083358A1 (en) Reboot manager usable to change firmware in a high availability single processor system
CN102567047B (en) Fast computer startup
US20090204667A1 (en) User-Initiated Computer Support Using Out-Of-Band Network
CN106980493B (en) Firmware management method and device
CN114679380B (en) Method and related device for creating edge cluster
CN111124286A (en) Libcloud-based multi-cloud management implementation method
US10942831B2 (en) Automating and monitoring rolling cluster reboots
CN113515316A (en) Novel edge cloud operating system
CN112214227A (en) Edge server mirror image customization and deployment system and method
CN108762886A (en) The fault detect restoration methods and system of virtual machine
CN112948008A (en) Ironic based physical bare computer management method
CN112612635A (en) Multi-level protection method for application program
CN115766405B (en) Fault processing method, device, equipment and storage medium
EP4250119A1 (en) Data placement and recovery in the event of partition failures
CN117271218A (en) Method for restarting IDV cloud desktop system
CN109634782B (en) Method and device for detecting system robustness, storage medium and terminal
CN112527469B (en) Fault-tolerant combination method of cloud computing server
CN108804147A (en) Link closedown method, device and client
CN109101253B (en) Management method and device for host in cloud computing system

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