Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Disk snapshot creation method and disk snapshot creation device

A snapshot and disk technology, applied to program control devices, instruments, error detection/correction, etc., can solve the problems of long creation time of the first full snapshot, user unavailability, and storage space occupied by snapshots

Active Publication Date: 2018-09-25
ALIBABA GRP HLDG LTD
View PDF14 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] However, in the cloud computing environment, since a large number of disks are hosted in the hands of cloud service providers, the above solutions have shortcomings
[0009] In the first and second schemes, the user needs to stop the server or application, which will cause the user's application to be unavailable for a certain period of time; in the third scheme, since a large number of disks are mirrored by the cloud service provider Created and initialized, especially the system disk of a virtual machine, if a full backup is performed first for each disk, and then an incremental backup is performed later, the created snapshot will occupy a large amount of storage space, and the time to create the first full snapshot is too long long

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Disk snapshot creation method and disk snapshot creation device
  • Disk snapshot creation method and disk snapshot creation device
  • Disk snapshot creation method and disk snapshot creation device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0061] The first embodiment of the present invention proposes a method for creating a disk snapshot. figure 1 Shown is a flow chart of the steps of the method for creating a disk snapshot according to the first embodiment of the present invention. Such as figure 1 As shown, the method for creating a disk snapshot in the first embodiment of the present invention includes the following steps:

[0062] S101. Provide multiple public images and initial snapshots corresponding to the public images, where the public images are associated with a public image ID;

[0063] In this step, multiple public images and initial snapshots corresponding to the public images are stored in the server. In a specific example, the user wants to download a public image from the storage server to the disk, use the public image to initialize the disk and create a virtual machine, and the user downloads the public image of a data file. Steps in Copying the public image of . In this step, since the pu...

no. 2 example

[0075] The second embodiment of the present invention proposes a method for creating a disk snapshot. figure 2 Shown is a flowchart of the steps of the method for creating a disk snapshot according to the second embodiment of the present invention. Such as figure 2 As shown, the method for creating a disk snapshot in the second embodiment of the present invention includes the following steps:

[0076] S201. Provide multiple public images and initial snapshots corresponding to the public images, where the public images are associated with a public image ID;

[0077] S202, receiving an instruction sent by the terminal to create a snapshot of the data file in the terminal disk;

[0078] S203. According to the public image ID associated with the data file, determine an initial snapshot corresponding to the public image associated with the public image ID;

[0079] S204, comparing the data file with the initial snapshot to acquire incremental data;

[0080] S205. Create a cur...

no. 3 example

[0128] The third embodiment of the present invention proposes a method for creating a disk snapshot, such as Figure 4 As shown, the method for creating the disk snapshot may include the following steps:

[0129] S301, receiving an instruction sent by the terminal to create a snapshot of the data file in the terminal disk;

[0130] S302. According to the public image ID associated with the data file, search whether there is a public image corresponding to the public image ID in the storage server;

[0131] S303. When the public image exists, compare the data file with an initial snapshot corresponding to the public image;

[0132] S304 When the data file is the same as the initial snapshot corresponding to the public image, use the initial snapshot as a current snapshot of the data file.

[0133] The above steps S301 to S303 are the same as or similar to steps S201 to S203 in the previous embodiment, and will not be repeated here. This embodiment focuses on the differences ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a disk snapshot creation method and a disk snapshot creation device. The disk snapshot creation method comprises the steps that multiple public mirror images and initial snapshots corresponding to the public mirror images are provided, wherein the public mirror images are associated with public mirror image ID; an instruction of creating data file snapshots in a terminal disk sent by a terminal is received; according to the public mirror image ID associated with the data files, the initial snapshots corresponding to the public mirror images associated with the public mirror image ID are determined; the data files and the initial snapshots are compared to obtain incremental data; based on the initial snapshots and the incremental data, current snapshots of the data files are created. By adopting the disk snapshot creation method, when the data files of the terminal disk are initialized by the public mirror images, existing snapshots of already existing public mirror images are directly used as a part of snapshots, accordingly current snapshots of the disk are quickly created, the phenomenon is avoided that existing data is stored repeatedly in a storage server, and accordingly the occupied space of the storage server is decreased.

Description

technical field [0001] The present application relates to the technical field of computer storage, in particular to a disk snapshot creation method and a disk snapshot creation device. Background technique [0002] The main function of the snapshot is to enable online data recovery. When the storage device fails or the file is damaged, the data can be recovered in time, and the data can be restored to the state at the point in time when the snapshot was generated. In addition, snapshots provide a new data access channel for storage users. When the original data is processed by online applications, users can access snapshot data and use snapshots for testing and other work. [0003] In the era of booming cloud computing business, snapshot technology has become indispensable as an important disaster recovery method. Especially for disk snapshots, it is the most important thing. When the user's virtual machine is invaded, misoperated and other reasons cause data loss, snapshot...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/14G06F9/455
CPCG06F9/45558G06F11/1448G06F2009/45579
Inventor 林锦成
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products