Virtual machine snapshot management method, electronic device, and computer readable medium

By asynchronously processing snapshot events in the virtual machine copy and generating disk and memory snapshots, the problem of slow virtual machine snapshot generation and unrecoverability is solved, efficient snapshot generation and recovery is achieved, and the user experience is improved.

CN112667358BActive Publication Date: 2024-09-13CLP GREAT WALL INTERNET SECURITY TECH RES INST (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011624758.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-31
Publication Date
2024-09-13
Estimated Expiration
2040-12-31

AI Technical Summary

Technical Problem

Existing virtual machine snapshot technology has problems such as low operating efficiency and poor user experience. After the virtual machine is deleted, the snapshot cannot be restored and the generation speed is slow, which affects the user experience.

Method used

By storing state information at a point in time in a virtual machine copy, processing snapshot events asynchronously, and generating disk snapshots and memory snapshots, snapshots can be automatically generated when the virtual machine is idle. Snapshots at multiple points in time are supported and multiple snapshots can be generated. Use virtual machine live migration technology to build replicas and reduce downtime.

Benefits of technology

It improves the generation efficiency and user experience of virtual machine snapshots, enables the virtual machine to be restored to its previous state after deletion, improves user experience, and saves computing and storage resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112667358B
    Figure CN112667358B
Patent Text Reader

Abstract

The present disclosure provides a method for managing virtual machine snapshots, comprising: generating a virtual machine snapshot at a target time point according to virtual machine state information at a target time point stored in a virtual machine copy; wherein the virtual machine copy stores virtual machine state information at at least one time point. The present disclosure also provides an electronic device and a computer-readable medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a virtual machine snapshot management method, an electronic device, and a computer-readable medium. Background Art

[0002] A virtual machine snapshot is a copy of the state of a virtual machine at a certain moment, which can be used to restore the virtual machine according to the snapshot when a problem occurs, or to restore the virtual machine to its running state at that moment according to the snapshot after it is started.

[0003] Existing virtual machine snapshot technology has problems such as low operating efficiency and poor user experience. Summary of the Invention

[0004] Embodiments of the present disclosure provide a virtual machine snapshot management method, an electronic device, and a computer-readable medium.

[0005] In a first aspect, the present disclosure provides a method for managing virtual machine snapshots.

[0006] Treatment methods include:

[0007] Generate a virtual machine snapshot at the target time point based on the virtual machine state information at the target time point stored in the virtual machine replica;

[0008] The virtual machine replica stores virtual machine state information of at least one time point, and the target time point is one of the at least one time point.

[0009] In some embodiments, the virtual machine snapshot includes a disk snapshot and a memory snapshot.

[0010] In some embodiments, the virtual machine state information at the target time point includes a disk modification location at the target time point, and the step of generating a disk snapshot at the target time point based on the virtual machine state information at the target time point stored in the virtual machine replica includes:

[0011] A disk snapshot at the target time point is generated according to the disk modification position at the target time point stored in the virtual machine replica.

[0012] In some embodiments, the step of generating a disk snapshot at the target time point based on the disk modification position at the target time point stored in the virtual machine replica includes:

[0013] The data after the disk modification position in the disk file of the virtual machine is copied to generate a disk snapshot at the target time point.

[0014] In some embodiments, the virtual machine state information at the target time point includes a memory modification location at the target time point and a memory change record after the target time point. The step of generating a memory snapshot at the target time point based on the virtual machine state information at the target time point stored in the virtual machine replica includes:

[0015] A memory snapshot at the target time point is generated according to the memory modification position at the target time point and the memory change record after the target time point stored in the virtual machine copy.

[0016] In some embodiments, the step of generating a memory snapshot at the target time point based on the memory modification location at the target time point and the memory change record after the target time point stored in the virtual machine replica includes:

[0017] Copy the current memory file;

[0018] Determine the memory file corresponding to the target time point by copying the current memory file according to the memory modification position at the target time point and the memory change record after the target time point;

[0019] The memory file corresponding to the target time point is stored to generate a memory snapshot at the target time point.

[0020] In some embodiments, before the step of generating a virtual machine snapshot at the target time point based on the virtual machine state information at the target time point stored in the virtual machine replica, the management method further includes:

[0021] Creating a copy of the virtual machine;

[0022] The virtual machine state information at the time point of creating the virtual machine copy is stored in the virtual machine copy.

[0023] In some embodiments, after the step of storing, in the virtual machine replica, the virtual machine state information at the time of creating the virtual machine replica, the management method further includes:

[0024] When a snapshot event occurs, the virtual machine state information at the time point when the snapshot event occurs is stored in the virtual machine replica.

[0025] In some embodiments, after the step of generating a virtual machine snapshot at the target time point based on the virtual machine state information at the target time point stored in the virtual machine replica, the management method further includes:

[0026] A signal is generated that a snapshot of the virtual machine at the target time point has been generated.

[0027] In some embodiments, the management method further comprises:

[0028] Adjusting the memory read location of the virtual machine according to the memory snapshot at the target time point;

[0029] Adjusting the disk read position of the virtual machine according to the disk snapshot at the target time point;

[0030] The memory snapshot and the disk snapshot are loaded to restore the virtual machine to the target time point.

[0031] In a second aspect, an embodiment of the present disclosure provides an electronic device, comprising:

[0032] one or more processors;

[0033] a memory having one or more programs stored thereon, which, when executed by the one or more processors, causes the one or more processors to perform any of the aforementioned methods for managing virtual machine snapshots;

[0034] One or more I / O interfaces are connected between the processor and the memory and configured to implement information interaction between the processor and the memory.

[0035] In a third aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements any of the above-mentioned methods for managing virtual machine snapshots.

[0036] The disclosed embodiments provide a method for managing virtual machine snapshots, an electronic device for executing the management method, and a computer-readable medium storing information capable of implementing the management method. In the management method, a virtual machine replica of a virtual machine is constructed, and the virtual machine state information at the time when the snapshot event occurs is stored in the virtual machine replica. When the virtual machine is in an idle state, a virtual machine snapshot is generated based on the virtual machine state information stored in the virtual machine replica, thereby achieving automatic generation of virtual machine snapshots without affecting user use. In the management method, multiple virtual machine snapshots can also be generated simultaneously based on the virtual machine state information at multiple time points. The generated virtual machine snapshots include memory snapshots and disk snapshots. Even if the virtual machine is deleted, the deleted virtual machine can be restored, thereby further improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. The above and other features and advantages will become more apparent to those skilled in the art by describing the detailed exemplary embodiments with reference to the accompanying drawings, in which:

[0038] Figure 1A flowchart of a management method provided in an embodiment of the present disclosure;

[0039] Figure 2 A flowchart of some steps in another management method provided in an embodiment of the present disclosure;

[0040] Figure 3 A flowchart of some steps in another management method provided in an embodiment of the present disclosure;

[0041] Figure 4 A flowchart of some steps in another management method provided in an embodiment of the present disclosure;

[0042] Figure 5 A flowchart of some steps in another management method provided in an embodiment of the present disclosure;

[0043] Figure 6 A flowchart of some steps in another management method provided in an embodiment of the present disclosure;

[0044] Figure 7 A flowchart of some steps in another management method provided in an embodiment of the present disclosure;

[0045] Figure 8 A block diagram of an electronic device according to an embodiment of the present disclosure;

[0046] Figure 9 A block diagram of the composition of a computer-readable medium provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0047] To enable those skilled in the art to better understand the technical solution of the present disclosure, the virtual machine snapshot management method, electronic device, and computer-readable medium provided by the present disclosure are described in detail below with reference to the accompanying drawings.

[0048] Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the scope of this disclosure to those skilled in the art.

[0049] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.

[0050] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0051] The terms used herein are used only to describe specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a," "an," and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements, and / or components is specified, but the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or groups thereof is not excluded.

[0052] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted as having an idealized or overly formal meaning unless expressly defined as such herein.

[0053] The inventors of the embodiments of the present disclosure have discovered through research that the existing virtual machine snapshots of scenes are either disk-based snapshots or scene snapshots based on the virtual machine's own snapshot technology. However, the existing virtual machine snapshot technology has the following problems: after the virtual machine is deleted, the snapshot can no longer be used for recovery; the generation speed of the virtual machine snapshot is slow, usually taking several seconds, minutes or even longer, with poor timeliness, which seriously affects the user experience.

[0054] In view of this, firstly, referring to Figure 1 The present disclosure provides a method for managing virtual machine snapshots, the method comprising:

[0055] In step S100, a virtual machine snapshot at the target time point is generated based on the virtual machine state information at the target time point stored in the virtual machine replica;

[0056] The virtual machine replica stores virtual machine state information of at least one time point, and the target time point is one of the at least one time point.

[0057] In the disclosed embodiment, the virtual machine replica stores virtual machine state information at at least one time point, each of which corresponds to a snapshot event. The snapshot event is a program event that triggers a snapshot. The disclosed embodiment does not specifically limit the specific type of snapshot event.

[0058] In the embodiment of the present disclosure, the virtual machine snapshot includes a disk snapshot and a memory snapshot. Step S100 is executed when the virtual machine is in an idle state. That is, in the embodiment of the present disclosure, when a snapshot event occurs, the disk snapshot and the memory snapshot are not generated synchronously with the snapshot event. When a snapshot event occurs, the virtual machine state information at the time point when the snapshot event occurs is stored in the virtual machine replica, and a virtual machine snapshot can be generated based on the virtual machine state information. When the virtual machine is in an idle state, the virtual machine snapshot is generated through step S100. That is, in the embodiment of the present disclosure, the synchronous processing logic of the snapshot event and the virtual machine snapshot is changed to asynchronous processing logic.

[0059] The inventors of the disclosed embodiments have discovered that, in the prior art, when a virtual machine snapshot is needed, the virtual machine usually needs to be shut down. However, when the memory files and disk files that need to be copied are large, the efficiency of the virtual machine snapshot is often low, resulting in excessive virtual machine downtime, which affects the user experience. In the disclosed embodiments, the synchronous processing logic for snapshot events and virtual machine snapshots is changed to asynchronous processing logic. When a snapshot event occurs, the virtual machine does not need to be shut down for a long time. Instead, the virtual machine is shut down to generate a virtual machine snapshot when it is idle. This can make the user unaware of the process of generating the virtual machine snapshot, thereby improving the user experience.

[0060] It should also be noted that, in the disclosed embodiments, the process of building the virtual machine replica only requires a brief pause in the virtual machine's operation. As an optional implementation, in the disclosed embodiments, the virtual machine replica is built using virtual machine live migration technology. This technology takes milliseconds to build the virtual machine replica, making it imperceptible to the user. The disclosed embodiments do not specifically limit the virtual machine live migration technology employed.

[0061] In the embodiment of the present disclosure, the disk snapshot and memory snapshot of the virtual machine at the target time point are simultaneously generated in step S100. Even after the virtual machine is deleted, the deleted virtual machine can be restored based on the generated disk snapshot and memory snapshot.

[0062] It should also be noted that when the virtual machine copy stores virtual machine state information at multiple time points, multiple virtual machine snapshots can be generated based on the virtual machine state information at multiple time points, that is, multiple virtual machine snapshots can be generated concurrently in the embodiment of the present disclosure.

[0063] In the virtual machine snapshot management method provided in the embodiment of the present disclosure, a virtual machine copy of the virtual machine is constructed, and the virtual machine state information at the time point when the snapshot event occurs is stored in the virtual machine copy. When the virtual machine is in an idle state, a virtual machine snapshot is generated based on the virtual machine state information stored in the virtual machine copy, thereby realizing the automatic generation of virtual machine snapshots without affecting user use; in the management method, multiple virtual machine snapshots can also be generated simultaneously based on the virtual machine state information at multiple time points; the generated virtual machine snapshots include memory snapshots and disk snapshots, and even if the virtual machine is deleted, the deleted virtual machine can be restored, thereby further improving the user experience.

[0064] In the disclosed embodiment, the virtual machine is a QEMU virtual machine, and the QEMU virtual machine supports the QCOW2 disk image format. QCOW2 supports copy on write (COW), that is, the QCOW2 image only reflects the modifications made to the underlying disk image. Therefore, when a snapshot event occurs, the location of the disk modification at the time of the snapshot event is marked. When the virtual machine is in an idle state, a disk snapshot of the virtual machine can be generated based on the disk file in the QCOW2 format. That is, the disk file in the QCOW2 format is copied to the location of the disk modification at the time of the marked snapshot event, and a disk snapshot can be obtained.

[0065] Accordingly, in some embodiments, the virtual machine state information at the target time point includes the disk modification position at the target time point, referring to Figure 2 , step S100 includes:

[0066] In step S110 , a disk snapshot at the target time point is generated according to the disk modification position at the target time point stored in the virtual machine replica.

[0067] Accordingly, refer to Figure 3 In some embodiments, step S110 includes:

[0068] In step S111 , the data after the disk modification position in the disk file of the virtual machine is copied to generate a disk snapshot at the target time point.

[0069] Generating a memory snapshot requires saving all memory files to the hard disk. In the disclosed embodiment, as an optional implementation, when a snapshot event occurs, the modified location of the memory at the time of the snapshot event is marked in the virtual machine copy, and the memory changes after the time of the snapshot event are recorded in the virtual machine copy. When the virtual machine is idle, the memory file at the time of the snapshot event can be reversely inferred based on the recorded memory changes and the current memory file, thereby generating a memory snapshot at the time of the snapshot event.

[0070] Accordingly, in some embodiments, the virtual machine state information at the target time point includes the memory modification location at the target time point and the memory change record after the target time point, referring to Figure 2 , step S100 includes:

[0071] In step S120, a memory snapshot at the target time point is generated according to the memory modification position at the target time point and the memory change record after the target time point stored in the virtual machine copy.

[0072] Accordingly, refer to Figure 4 In some embodiments, step S120 includes:

[0073] In step S121, the current memory file is copied;

[0074] In step S122, according to the memory modification position at the target time point and the memory change record after the target time point, the memory file corresponding to the target time point is determined by copying the current memory file;

[0075] In step S123, the memory file corresponding to the target time point is stored to generate a memory snapshot at the target time point.

[0076] As an optional implementation, in step S122, the current memory file is reversed based on the memory change record after the target time point, so as to obtain the memory file at the target time point.

[0077] In some embodiments, reference Figure 5 Before step S100, the management method further includes:

[0078] In step S201, the virtual machine replica is created;

[0079] In step S202, virtual machine state information at the time point when the virtual machine copy is created is stored in the virtual machine copy.

[0080] It should be noted that, in the disclosed embodiment, the virtual machine state information stored in the virtual machine replica at the time of creation of the virtual machine replica in step S202 includes a record of memory changes after the time of creation of the virtual machine replica. When the virtual machine is idle, memory snapshots corresponding to respective time points can be generated based on the record of memory changes after the time of creation of the virtual machine replica. Therefore, when a snapshot event occurs, it is not necessary to generate a record of memory changes after the time of the snapshot event for each snapshot event.

[0081] As an optional implementation, in the disclosed embodiment, in step S201, the virtual machine replica is constructed using virtual machine live migration technology. The construction time required by the virtual machine live migration technology is in milliseconds, so the user is unaware of the process. The disclosed embodiment does not specifically limit the virtual machine live migration technology employed.

[0082] In the embodiment of the present disclosure, whenever a snapshot event occurs, the virtual machine state information at the time point of the snapshot event is stored in the virtual machine replica, so that a virtual machine snapshot corresponding to the snapshot event is generated through step S100 when the virtual machine is in an idle state.

[0083] Accordingly, refer to Figure 5 In some embodiments, after step S202, the management method further includes:

[0084] In step S203, when a snapshot event occurs, the virtual machine state information at the time point when the snapshot event occurs is stored in the virtual machine replica.

[0085] It should be noted that, as an optional implementation, if the virtual machine copy stores a record of memory changes after the time point when the virtual machine copy was created, in step S203, the record of memory changes after the time point when the snapshot event occurred may no longer be stored, thereby saving computing and storage resources and improving efficiency.

[0086] In an embodiment of the present disclosure, the user will be notified after the virtual machine snapshot is generated.

[0087] Accordingly, refer to Figure 6 In some embodiments, after step S100, the management method further includes:

[0088] In step S300, a signal indicating that a snapshot of the virtual machine at the target time point has been generated is generated.

[0089] It should be noted that the embodiment of the present disclosure does not specifically limit how to display the signal. For example, a prompt tone may be sent to notify the user that the virtual machine snapshot has been generated, or a message window may be used to display a message indicating that the virtual machine snapshot has been generated.

[0090] As described above, in the embodiment of the present disclosure, a disk snapshot and a memory snapshot of the virtual machine at the target time point are generated. Even after the virtual machine is deleted, the deleted virtual machine can be restored based on the generated disk snapshot and memory snapshot.

[0091] Accordingly, refer to Figure 7 In some embodiments, after step S100, the management method further includes:

[0092] In step S401, the memory read location of the virtual machine is adjusted according to the memory snapshot at the target time point;

[0093] In step S402, the disk read position of the virtual machine is adjusted according to the disk snapshot at the target time point;

[0094] In step S403, the memory snapshot and the disk snapshot are loaded to restore the virtual machine to the target time point.

[0095] Secondly, refer to Figure 8 , an embodiment of the present disclosure provides an electronic device, comprising:

[0096] One or more processors 101;

[0097] A memory 102 storing one or more programs, which, when executed by one or more processors, enables the one or more processors to implement any of the aforementioned virtual snapshot management methods;

[0098] One or more I / O interfaces 103 are connected between the processor and the memory and are configured to implement information exchange between the processor and the memory.

[0099] Among them, the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); the I / O interface (read-write interface) 103 is connected between the processor 101 and the memory 102, and can realize information interaction between the processor 101 and the memory 102, including but not limited to a data bus (Bus), etc.

[0100] In some embodiments, the processor 101 , the memory 102 , and the I / O interface 103 are connected to each other via a bus 104 , and further connected to other components of the computing device.

[0101] The virtual machine snapshot management method has been described in detail above and will not be repeated here.

[0102] Thirdly, refer to Figure 9 The embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which implements any of the above-mentioned virtual snapshot management methods when the program is executed by a processor.

[0103] The virtual machine snapshot management method has been described in detail above and will not be repeated here.

[0104] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As is well known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable, and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0105] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly indicated, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Claims

1. A method for managing virtual machine snapshots, characterized in that: The management method comprises: Creating a copy of the virtual machine, storing in the copy of the virtual machine state information at the time of creating the copy of the virtual machine; when a snapshot event occurs, storing in the copy of the virtual machine state information at the time of the snapshot event; When the virtual machine is in an idle state, generating a snapshot of the virtual machine at the target time point according to the virtual machine state information at the target time point stored in the virtual machine copy; The virtual machine replica stores virtual machine state information of at least one time point, and the target time point is one of the at least one time point.

2. The management method according to claim 1, characterized in that: The virtual machine snapshot includes a disk snapshot and a memory snapshot.

3. The management method according to claim 2, characterized in that: The virtual machine state information at the target time point includes the disk modification position at the target time point, and the step of generating the disk snapshot at the target time point according to the virtual machine state information at the target time point stored in the virtual machine copy includes: A disk snapshot at the target time point is generated according to the disk modification position at the target time point stored in the virtual machine replica.

4. The management method according to claim 3, characterized in that: The step of generating a disk snapshot at the target time point according to the disk modification position at the target time point stored in the virtual machine replica comprises: The data after the disk modification position in the disk file of the virtual machine is copied to generate a disk snapshot at the target time point.

5. The management method according to claim 2, characterized in that: The virtual machine state information at the target time point includes the memory modification position at the target time point and the memory change record after the target time point, and the step of generating the memory snapshot at the target time point according to the virtual machine state information at the target time point stored in the virtual machine copy also includes: A memory snapshot at the target time point is generated according to the memory modification position at the target time point and the memory change record after the target time point stored in the virtual machine copy.

6. The management method according to claim 5, characterized in that: The step of generating a memory snapshot at the target time point according to the memory modification position at the target time point and the memory change record after the target time point stored in the virtual machine copy includes: Copy the current memory file; According to the memory modification position at the target time point and the memory change record after the target time point, determine the memory file corresponding to the target time point by copying the current memory file; The memory file corresponding to the target time point is stored to generate a memory snapshot at the target time point.

7. The management method according to any one of claims 1 to 6, characterized in that: After the step of generating a virtual machine snapshot at the target time point according to the virtual machine state information at the target time point stored in the virtual machine replica, the management method further includes: A signal is generated that the virtual machine snapshot at the target time point has been generated.

8. The management method according to any one of claims 1 to 6, characterized in that: The management method also includes: Adjusting the memory read position of the virtual machine according to the memory snapshot at the target time point; Adjusting the disk read position of the virtual machine according to the disk snapshot at the target time point; The memory snapshot and the disk snapshot are loaded to restore the virtual machine to the target time point.

9. An electronic device, comprising: one or more processors; A storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the management method according to any one of claims 1 to 8; One or more I / O interfaces are connected between the processor and the memory and are configured to implement information interaction between the processor and the memory.

10. A computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the management method according to any one of claims 1 to 8.