Unlock instant, AI-driven research and patent intelligence for your innovation.

Snapshot processing method and device and electronic equipment

A processing method and technology of a processing device, applied in the computer field, can solve problems such as deleting snapshot conflicts, and achieve the effect of avoiding conflicts and safely deleting physical snapshots

Pending Publication Date: 2020-09-29
ALIBABA GRP HLDG LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a snapshot processing method and device and electronic equipment to solve the defect in the prior art that conflicts occur when deleting snapshots due to the existence of complex reference relationships

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
  • Snapshot processing method and device and electronic equipment
  • Snapshot processing method and device and electronic equipment
  • Snapshot processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 2 It is a flow chart of an embodiment of the snapshot processing method provided by the present invention. The execution subject of the method may be the above-mentioned business system, various servers with data processing capabilities, or devices or chips integrated on these devices . Such as figure 2 As shown, the snapshot processing method includes the following steps:

[0032] S201. Receive a reference instruction for generating a target object based on a physical snapshot.

[0033] The embodiments of the present invention can be applied to scenarios such as disk rollback, image creation, and image sharing, and target objects in the embodiments of the present invention can include but are not limited to images and disks. When the user wants to generate a target object based on a certain physical snapshot (for example, perform a disk rollback on the physical snapshot, or generate a mirror image on the physical snapshot), a reference instruction of the ta...

Embodiment 2

[0038] image 3 It is a flow chart of another embodiment of the snapshot processing method provided by the present invention. Such as image 3 shown in the above figure 2 On the basis of the illustrated embodiment, the snapshot processing method provided in this embodiment may further include the following steps:

[0039] S301. Receive a reference instruction for generating a target object based on a physical snapshot.

[0040] S302. Create a virtual snapshot that has a one-to-one correspondence with the target object according to the reference instruction.

[0041] In the embodiment of the present invention, after receiving a referencing instruction of a target object for a physical snapshot, first, a virtual snapshot having a one-to-one correspondence with the target object is established according to the instruction. Steps S301 to S302 in this embodiment are the same as the above figure 2 Steps S201 to S202 in the illustrated embodiment are the same, see for details ...

Embodiment 3

[0053] Figure 4 It is a flowchart of another embodiment of the snapshot processing method provided by the present invention. Such as Figure 4 shown in the above figure 2 and image 3 On the basis of the illustrated embodiment, each physical snapshot can be provided with a virtual snapshot count value for recording the number of virtual snapshots corresponding to the physical snapshot. The snapshot processing method provided by this embodiment can also include the following steps:

[0054] S401. Receive a reference instruction for generating a target object based on a physical snapshot.

[0055] S402. According to the reference instruction above, create a virtual snapshot having a one-to-one correspondence with the target object, and perform an operation of adding one to the count value of the virtual snapshot.

[0056] S403. When receiving the first deletion instruction to delete the target object, delete the virtual snapshot that has a one-to-one correspondence with th...

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 embodiment of the invention provides a snapshot processing method and device and electronic equipment. The method comprises the steps of receiving a reference instruction for generating a target object based on a physical snapshot; and according to the reference instruction, establishing virtual snapshots having a one-to-one correspondence relationship with the target objects, the virtual snapshots including a reference relationship of the target objects to the physical snapshots. According to the embodiment of the invention, the virtual snapshot is established between the physical snapshot and the target object, so that a one-to-many corresponding relationship between a single physical snapshot and a plurality of target objects quoting the physical snapshot is realized, the virtual snapshot can be converted into the one-to-one correspondence between the virtual snapshot and the target object, and the reference relationship of the target object to the physical snapshot is managed,so that the conflict caused by the complex reference relationship when the physical snapshot is deleted is avoided, and the safe deletion of the physical snapshot is realized.

Description

technical field [0001] The present invention relates to the technical field of computers, in particular to a snapshot processing method and device and electronic equipment. Background technique [0002] A snapshot, as a complete copy of a specific data set at a specific point in time, can be used in various scenarios such as disk rollback, mirror creation, or mirror sharing. In enterprise-level data backup, snapshots play an increasingly important role. [0003] In the process of implementing the present invention, the inventor found at least the following problems in the prior art: in the prior art, the reference relationship between the disk or the image and the snapshot is relatively complicated, and when deleting the snapshot, it often occurs due to the complex reference relationship. A conflict situation arises. Contents of the invention [0004] Embodiments of the present invention provide a snapshot processing method and apparatus and electronic equipment to solve...

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): G06F3/06G06F11/14
CPCG06F3/062G06F3/0652G06F3/0676G06F11/1448
Inventor 林锦成
Owner ALIBABA GRP HLDG LTD