CN106777219A - For the data processing method and device of Visualized data centre - Google Patents

For the data processing method and device of Visualized data centre Download PDF

Info

Publication number
CN106777219A
CN106777219A CN201611215337.XA CN201611215337A CN106777219A CN 106777219 A CN106777219 A CN 106777219A CN 201611215337 A CN201611215337 A CN 201611215337A CN 106777219 A CN106777219 A CN 106777219A
Authority
CN
China
Prior art keywords
virtual machine
snapshot
disk file
snapshots
disk
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.)
Granted
Application number
CN201611215337.XA
Other languages
Chinese (zh)
Other versions
CN106777219B (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.)
Beijing Mars high tech digital technology Co.,Ltd.
Original Assignee
BEIJING ASIA CREATION 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 BEIJING ASIA CREATION TECHNOLOGY Co Ltd filed Critical BEIJING ASIA CREATION TECHNOLOGY Co Ltd
Priority to CN201611215337.XA priority Critical patent/CN106777219B/en
Publication of CN106777219A publication Critical patent/CN106777219A/en
Application granted granted Critical
Publication of CN106777219B publication Critical patent/CN106777219B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/188Virtual file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/128Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Embodiments of the invention provide a kind of data processing method and device for Visualized data centre.The method includes:Host is accessed, the virtual machine storage disk to being deployed in host creates virtual machine snapshot and the step of generate backup;Judge whether backup is the step of backing up completely, when being when backing up completely, first snapshot is created to itself and the index of virtual machine snapshot, the first snapshot and the two creation time is set up, when not being to create N snapshots to itself and set up the index of virtual machine snapshot, N snapshots and the two creation time when backing up completely;The step of snapshots of N 1 comprising 1 full dose disk file of backup of N and the N snapshots comprising the increment disk file after 1 backup of N are obtained according to index;The step of full dose disk file and increment disk file are merged based on the snapshots of N 1 and N snapshots;And, delete virtual machine in virtual machine snapshot the step of.

Description

For the data processing method and device of Visualized data centre
Technical field
The invention belongs to technical field of data processing, more particularly to a kind of data processing side for Visualized data centre Method and device.
Background technology
VMware vSphere are leading virtual platforms, allow users to assertorically to virtualize any application, Redefine availability and simplify Visualized data centre, finally realize the strong architecture on demand of highly usable, recovery capability, All it is preferable basic platform for any cloud computing environment.VSphere can reduce data center's cost, increase system With apply the uptime, and significantly simplify IT service datas center mode.VSphere can be used as the data of software definition The key foundation building block at center, accelerates the speed that available data center changes to cloud computing, while also supporting the publicly-owned of compatibility Cloud service, so that for industry rs only mixing cloud mode is laid a good foundation.
VMFS (VMware Virtual Machine File System) is a kind of high performance clustered file systems, it Make the application of Intel Virtualization Technology beyond the limitation of individual system.The design of VMFS, build and optimization is directed to virtual server ring Border, can allow multiple virtual machines to access a clustered storage pool for integration jointly, so as to significantly improve resource utilization.VMDK (VMWareVirtual Machine Disk Format) is the virtual hard disk file that virtual machine VMware is created, and is present in In VMFS.A VMDK file representatives VMFS physical hard disk on a virtual machine, all customer data and relevant virtual server Configuration information be stored in VMDK files.
Although virtualization can bring many excellent properties, the backup problem in vSphere environment to it is many backup and Storage administrator brings new challenge.Snapping technique can not interrupt virtual machine operation and complete to the standby of virtual machine current state Part, using multiple snapshots, multiple positions can be also preserved so that various workflows are used.When creating snapshot, will connect for virtual machine The virtual disk for connecing creates a series of increment disks (VMDK) to retain the disk situation of special time, and new sub- disk is created During all of write operation of virtual machine can all go to the sub- disk simultaneously, such father's disk is at a static state.
The time point image of the disk that the backup scenario based on snapshot can be used, but largely snapshot is difficult to manage, and takes A large amount of disk spaces, and it is unprotected when there is hardware fault.A large amount of fast notes produce negative shadow to the performance of virtual machine Ring, performance reduction is based on snapshot or snapshot tree holding time in situ, the depth of tree and performs virtual machine and its visitor after snapshot The degree that family machine operating system is changed.32 snapshots can at most be retained due to every virtual machine, cause user to retain The time dotted state of finite number.
The content of the invention
Embodiments of the invention provide a kind of data processing method and device for Visualized data centre.
On the one hand, the embodiment of the present invention provides a kind of data processing method for Visualized data centre, including:Access Host, the virtual machine storage disk to being deployed in host creates virtual machine snapshot and the step of generate backup;Judge backup Whether it is the step of backing up completely, when being to create the first snapshot to itself and set up virtual machine snapshot, first fast when backing up completely According to the index with the two creation time, when not being when backing up completely, to itself creating N snapshots and setting up virtual machine snapshot, N The index of snapshot and the two creation time, wherein, N is the integer more than 2, and N snapshots include virtual machine from after the N-1 times backup Increment disk file;According to index obtain comprising the N-1 time back up full dose disk file N-1 snapshots and comprising N- The step of N snapshots of the increment disk file after 1 backup;Full dose disk file is merged based on N-1 snapshots and N snapshots The step of with increment disk file;And, delete virtual machine in virtual machine snapshot the step of.
On the other hand, the embodiment of the present invention provides a kind of data processing equipment for Visualized data centre, including:Visit Ask unit, judging unit, processing unit and combining unit.The access unit is configured as accessing host, to being deployed in host The virtual machine storage disk of machine creates virtual machine snapshot and generates backup.The judging unit be configured as judging backup whether be Full backup, when being when creating the first snapshot to itself and setting up virtual machine snapshot, the first snapshot and created with the two when backing up completely Between index, when not being to create N snapshots to itself and set up virtual machine snapshot, N snapshots to be created with the two when backing up completely The index of time, wherein, N is the integer more than 2, and N snapshots include increment disk text of the virtual machine from after the N-1 times backup Part.The processing unit is configured as being obtained comprising the N-1 times the N-1 snapshots and bag of the full dose disk file of backup according to index N snapshots containing the increment disk file after the N-1 times backup.The combining unit is configured as fast based on N-1 snapshots and N According to merging full dose disk file and increment disk file.Wherein, the processing unit be additionally configured to delete virtual machine in it is virtual Machine snapshot.
Another further aspect, the embodiment of the present invention provides a kind of data processing equipment for Visualized data centre, including:Deposit Reservoir, processor and bus;The memory and processor are connected by bus and complete mutual communication;The memory is used for Store program codes;The processor is run and executable program generation by reading the executable program code stored in memory The corresponding program of code, for performing the above-mentioned data processing method for Visualized data centre.
A kind of data processing method and device for Visualized data centre provided in an embodiment of the present invention, by accessing The host and virtual machine storage disk to being deployed in host is created and snapshot and backed up, sets up itself snapshot, virtual machine The index of snapshot and the two creation time, according to the index obtain the full dose disk file comprising last full backup snapshot and Snapshot comprising the increment disk file from after last full backup, closes with to full dose disk file and increment disk file And, the disk file after merging maintains the data consistency of same magnetic disk of virtual machine file, optimizes data in magnetic disk, improves disk text The access speed of part, the snapshot produced when backing up completely stored in deleting virtual machine after disk file merging is breached every 32 limitations of snapshot of platform virtual machine are such that it is able to create the protection that unlimited snapshot completes virtual machine.
Brief description of the drawings
The features and advantages of the present invention can be more clearly understood from by reference to accompanying drawing, accompanying drawing is schematical without that should manage Solution is to carry out any limitation to the present invention, in the accompanying drawings:
Fig. 1 shows a kind of method flow diagram of the data processing method for Visualized data centre according to embodiment;
Fig. 2 shows a kind of structured flowchart of the data processing equipment for being used for Visualized data centre according to embodiment;
Fig. 3 shows the structured flowchart of the data processing equipment for being used for Visualized data centre according to another embodiment;
Fig. 4 shows the computing device reality of the data processing equipment for Visualized data centre according to another embodiment Existing structural representation.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is described.
The feature and exemplary embodiment of various aspects of the invention is described more fully below.In following detailed description In, it is proposed that many details, to provide complete understanding of the present invention.But, to those skilled in the art It will be apparent that the present invention can be implemented in the case of some details in not needing these details.Below to implementing The description of example is better understood from just for the sake of being provided by showing example of the invention to of the invention.The present invention is never limited In any concrete configuration set forth below and algorithm, but cover under the premise of without departing from the spirit of the present invention element, Any modification, replacement and the improvement of part and algorithm.In the the accompanying drawings and the following description, known structure and skill is not shown Art, to avoid that unnecessary obscuring is caused to the present invention.
Additionally, described feature, structure or characteristic can be combined in one or more implementations in any suitable manner In example.In the following description, there is provided many details fully understand so as to be given to embodiments of the invention.However, It will be appreciated by persons skilled in the art that technical scheme can be put into practice without in the specific detail or more It is many, or can be using other methods, constituent element, material etc..In other cases, be not shown in detail or describe known features, Material or operation to avoid obscuring major technique intention of the invention it should be noted that in the case where not conflicting, this Shen Please in embodiment and the feature in embodiment can be mutually combined.
Fig. 1 shows a kind of method flow diagram of the data processing method for Visualized data centre according to embodiment. As shown in figure 1, the method comprises the following steps:S110, accesses host, and the virtual machine storage disk to being deployed in host is created Build virtual machine snapshot and generate backup.S120, judges whether backup is to back up completely, when being that itself is created when backing up completely First snapshot simultaneously sets up the index of virtual machine snapshot, the first snapshot and the two creation time, when not being when backing up completely, to itself Create N snapshots and set up the index of virtual machine snapshot, N snapshots and the two creation time, wherein, N is the integer more than 2, N snapshots include increment disk file of the virtual machine from after the N-1 times backup.It should be understood that the increment disk can represent virtual Difference between the situation existed when the present situation of disk and last time execution snapshot.If there is multiple snapshots, then increment magnetic Disk can represent the difference between each snapshot.If Client OS writes each block of virtual disk, increment disk File with Quick Extended and can become identical with the size of whole virtual disk.S130, obtains standby comprising the N-1 times according to index The N-1 snapshots of the full dose disk file of part and the N snapshots comprising the increment disk file after the N-1 times backup.S140, base Merge full dose disk file and increment disk file in N-1 snapshots and N snapshots.S150, deletes the virtual machine in virtual machine Snapshot.Virtual machine storage disk by accessing host and to being deployed in host creates snapshot and backs up, and sets up certainly The index of body snapshot, virtual machine snapshot and the two creation time, the full dose magnetic comprising last full backup is obtained according to the index The snapshot of disk file and the snapshot comprising the increment disk file from after last full backup, with to full dose disk file and increment Disk file is merged, and the disk file after merging maintains the data consistency of same magnetic disk of virtual machine file, optimizes disk Data, improve the access speed of disk file, are produced during the backup completely stored in deleting virtual machine after disk file merging Snapshot, breach 32 limitations of snapshot of every virtual machine such that it is able to create the protection that unlimited snapshot completes virtual machine.
In some instances, S140 can also include the position according to increment disk file and the data block of full dose disk file Confidence ceases to obtain increment disk relative to the data block changing content of full dose disk file to complete full dose disk file and increasing Measure the merging of disk file.
In some instances, the method can also include updating full dose disk file and increment disk file after merging Positional information.
In some instances, above-mentioned positional information can include original position, data offset and data block size.
When virtual machine breaks down or other reasonses result in the need for carrying out data recovery to virtual machine, it is used for based on above-mentioned The data processing method of Visualized data centre, in certain embodiments, the method can also include according to the index selection time The snapshot of the virtual machine storage disk of point rollback itself storage, the fast of virtual machine storage disk is extracted according to index selection time point According to.In some instances, the method can also include the mirror image of the snapshot for creating virtual machine storage disk, during according to index selection Between put extract virtual machine storage disk snapshot.The data recovery of virtual machine storage disk can be carried out by the above method, In one example, the method can also include existing the newly-built virtual machine of the snapshot importing of virtual machine storage disk or direct carry On former virtual machine, to carry out the data recovery of virtual machine storage disk.
Above in conjunction with Fig. 1, describe in detail at the data for Visualized data centre according to embodiments of the present invention Reason method, below in conjunction with Fig. 2 and Fig. 3, describe in detail is used at the data of Visualized data centre according to embodiments of the present invention Reason device.
Fig. 2 shows a kind of structured flowchart of the data processing equipment for being used for Visualized data centre according to embodiment.Such as Fig. 2 Shown, the device 200 can include:Access unit 210, judging unit 220, processing unit 230 and combining unit 240.The visit Ask that unit 210 can be configured as accessing host, the virtual machine storage disk to being deployed in host creates virtual machine snapshot And generate backup.The judging unit 220 can be configured as judging whether backup is to back up completely, right when being when backing up completely Itself create the first snapshot and set up the index of virtual machine snapshot, the first snapshot and the two creation time, when not being to back up completely When, N snapshots are created to itself and the index of virtual machine snapshot, N snapshots and the two creation time is set up, wherein, N be more than 2 integer, N snapshots include increment disk file of the virtual machine from after the N-1 times backup.The processing unit 230 can be matched somebody with somebody Be set to according to index obtain comprising the N-1 time backup full dose disk file N-1 snapshots and comprising the N-1 times back up after The N snapshots of increment disk file.The combining unit 240 can be configured as merging full dose based on N-1 snapshots and N snapshots Disk file and increment disk file.Wherein, the virtual machine that the processing unit 230 can be additionally configured to delete in virtual machine is fast According to.In one example, can be by calling access interface, such as VMware vStorage API, to access host and right The virtual machine creating snapshot that is deployed in the host is simultaneously backed up completely.It should be understood that above-mentioned API full name are Application Programming Interface, can be expressed as application programming interface, be that some are pre-defined Function, it is therefore an objective to application program is provided and is able to access one group of ability of routine based on certain software or hardware with developer, and Source code, or the details for understanding internal work mechanism need not be accessed.The device 200 can set as virtual machine protection storage It is standby, or be arranged in the protection storage device, can be by the device 200, after completion virtual machine is backed up completely, program is to protecting The file system that disk file is deposited in shield storage device creates snapshot and sets up file system snapshot index simultaneously in data magnetic Virtual machine snapshot is deleted after disk Piece file mergence.The device 200 can be by accessing host and to being deployed in host Virtual machine storage disk create and snapshot and backed up, set up the rope of itself snapshot, virtual machine snapshot and the two creation time Draw, the snapshot of the full dose disk file comprising last full backup is obtained and comprising from after last full backup according to the index The snapshot of increment disk file, is merged with to full dose disk file and increment disk file, and the disk file after merging is protected The data consistency with magnetic disk of virtual machine file is held, has optimized data in magnetic disk, improved the access speed of disk file, in disk text Part deletes the snapshot produced when backing up completely stored in virtual machine after merging, breach 32 limitations of snapshot of every virtual machine Such that it is able to create the protection that unlimited snapshot completes virtual machine.
In some instances, the combining unit 240 of the device 200 can be additionally configured to according to increment disk file and complete The positional information of data block of disk file is measured to obtain data block changing content of the increment disk relative to full dose disk file To complete the merging of full dose disk file and increment disk file.In some instances, the device can also include updating block The positional information of the full dose disk file and increment disk file that are configured as updating after merging.In some instances, upper rheme Confidence breath can include original position, data offset and data block size.For example, combining unit is additionally configured to according to index Original position, the data-bias of the full dose disk file in increment disk file and the N-1 snapshots in N snapshots are obtained respectively Amount and data block size obtain data block changing content of the increment disk relative to full dose disk file.In one example, should Storage device can carry out the merging of above-mentioned virtual machine increment disk file for virtual machine carry at any time.
When virtual machine breaks down or other reasonses result in the need for carrying out data recovery to virtual machine, it is used for based on above-mentioned The data processing equipment of Visualized data centre, Fig. 3 shows to be used for the data of Visualized data centre according to another embodiment The structured flowchart of processing unit.As shown in figure 3, the device 300 can include that access unit 310, judging unit 320, treatment are single Unit 330, combining unit 340 and recovery unit 350.The recovery unit 350 is configured as according to index selection time point rollback certainly The mirror image of the snapshot of the virtual machine storage disk of body storage or the snapshot of establishment virtual machine storage disk, according to the index selection time Point extracts the snapshot of virtual machine storage disk.In one example, the recovery unit 350 in the device 300 can also be configured It is that the snapshot of virtual machine storage disk is imported into newly-built virtual machine or direct carry on former virtual machine.
Data processing equipment for Visualized data centre according to embodiments of the present invention may correspond to according to the present invention Executive agent in the data processing method for Visualized data centre of embodiment, and for Visualized data centre Above and other operation and/or function of the modules in data processing equipment is respectively in order to realize the phase of the method in Fig. 1 Flow is answered, for sake of simplicity, will not be repeated here.
Fig. 4 shows the computing device reality of the data processing equipment for Visualized data centre according to another embodiment Existing structural representation.As shown in figure 4, the data processing side for Visualized data centre described with reference to Fig. 1, Fig. 2 and Fig. 3 Method and at least a portion for the data processing equipment of Visualized data centre can be realized by computing device, including memory 404th, processor 403 and bus 410;The memory 404 and processor 403 are connected by bus 410 and completed mutual leading to Letter;The memory 404 is used for store program codes;The processor 430 is by reading the executable program stored in memory 404 Code runs program corresponding with executable program code, as shown in Figure 1 for Visualized data centre for performing Data processing method.In some instances, the computing device 400 can also include input equipment 401, input port 402, defeated Exit port 405 and output equipment 906.Wherein, input port 402, processor 403, memory 404 and output port 405 are connected with each other by bus 410, and input equipment 401 and output equipment 406 pass through input port 402 and output port respectively 405 are connected with bus 410, and then are connected with the other assemblies of computing device 400.It should be noted that output interface here Can also be represented with I/O interfaces with input interface.Specifically, input equipment 401 is received from outside input information, and is passed through Input port 402 will be input into information transmission to processor 403;The computer that processor 403 is based on being stored in memory 404 can be held Row instruction is processed to generate output information input information, and output information is temporarily or permanently stored in memory In 404, output information is then sent to by output equipment 406 by output port 405;Output equipment 406 is defeated by output information Go out to the outside of computing device 400.
Above-mentioned memory 404 includes the mass storage for data or instruction.For example it is unrestricted, memory 404 may include HDD, floppy disk, flash memory, CD, magneto-optic disk, tape or USB (USB) driver or two Individual or more the combination of the above.In a suitable case, memory 404 may include removable or non-removable (or solid Medium calmly).In a suitable case, memory 404 can be inside or outside computing device 400.In a particular embodiment, Memory 404 is non-volatile solid state memory.In a particular embodiment, memory 404 includes read-only storage (ROM). In the case of suitable, the ROM can be the ROM of masked edit program, programming ROM (PROM), erasable PROM (EPROM), electricity can Erasing PROM (EEPROM), electrically-alterable ROM (EAROM) or the combination of flash memory or two or more the above.
Bus 410 includes hardware, software or both, and the part of computing device 400 is coupled to each other together.For example And it is unrestricted, bus 410 may include AGP (AGP) or other graphics bus, enhancing Industry Standard Architecture (EISA) Bus, Front Side Bus (FSB), super transmission (HT) interconnection, the interconnection of Industry Standard Architecture (ISA) bus, infinite bandwidth, low pin count (LPC) bus, memory bus, micro- channel architecture (MCA) bus, periphery component interconnection (PCI) bus, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, local (VLB) bus of VESA or other conjunctions The combination of suitable bus or two or more the above.In a suitable case, bus 410 may include one or more Bus 410.Although the embodiment of the present invention has been described and illustrated specific bus, the present invention considers any suitable bus or mutual Even.
At the data for Visualized data centre that combination Fig. 3 descriptions are realized by the computing device 400 shown in Fig. 4 During reason device, input equipment 401 is used to access host, and it is fast that the virtual machine storage disk to being deployed in host creates virtual machine According to and generate backup, in a particular embodiment, the I/O interfaces being connected with output equipment can include hardware, software or both, carry For one or more interfaces for the communication between computing device 400 and one or more I/O equipment.In suitable situation Under, computing device 400 may include one or more of these I/O equipment.One or more of these I/O equipment can allow people and calculating Communication between machine system 400.For example it is unrestricted, I/O equipment may include keyboard, keypad, microphone, monitor, It is mouse, printer, scanner, loudspeaker, still camera, contact pilotage, handwriting pad, touch-screen, trace ball, video camera, another The combination of one suitable I/O equipment or two or more the above.I/O equipment may include one or more sensors. The embodiment of the present invention considers any suitable I/O equipment and any suitable I/O interfaces for them.In suitable situation Under, I/O interfaces may include one or more devices or can allow for processor 403 to drive one or more of these I/O equipment Software driver.In a suitable case, I/O interfaces may include one or more I/O interfaces.Although the embodiment of the present invention is described With show specific I/O interfaces, but the embodiment of the present invention considers any suitable I/O interfaces.The processor 403 is based on storage The computer executable instructions stored in device 404, judge whether backup is to back up completely, judge whether backup is to back up completely, When being to create the first snapshot to itself and set up the rope of virtual machine snapshot, the first snapshot and the two creation time when backing up completely Draw, when not being when backing up completely, to itself creating N snapshots and setting up virtual machine snapshot, N snapshots and the two creation time Index, wherein, N is the integer more than 2, and N snapshots include increment disk file of the virtual machine from after the N-1 times backup;According to Index obtain comprising the N-1 time backup full dose disk file N-1 snapshots and comprising the N-1 times back up after increment disk The N snapshots of file;Full dose disk file and increment disk file are merged based on N-1 snapshots and N snapshots;And, delete Virtual machine snapshot in virtual machine.Then can be when needed via output port 405 and output equipment 406 by the magnetic after merging Disk file is exported.
In a suitable case, computer executable instructions may include one or more be based on semiconductor or other are integrated Circuit (IC) (for example, such as field programmable gate array (FPGA) or application-specific integrated circuit (ASIC)), hard disk drive (HDD), mixing Hard disk drive (HHD), CD, CD drive (ODD), magneto-optic disk, magneto optical driver, floppy disk, floppy disk (FDD), tape, hologram memory medium, solid-state drive (SSD), ram driver, safe digital card or driving or other are suitable Computer-readable non-transitory storage medium or two or more the above combination.
Need clearly, the invention is not limited in particular configuration that is described above and being shown in figure and treatment.Also, For brevity, the detailed description to known method technology is omitted here.In the above-described embodiments, have been described and illustrated some Specific step is as an example.But, method of the present invention process is not limited to described and illustrated specific steps, this area Technical staff can understand it is of the invention spirit after be variously modified, change and add, or change step between Sequentially.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Unit and algorithm steps, can be realized, with electronic hardware, computer software or the combination of the two in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, foregoing description is The specific work process of system, device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, for example multiple units or component Can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.In addition, shown or beg for The coupling each other of opinion or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some ports, device or unit Or communication connection, or electricity, machinery or other forms connections.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize embodiment of the present invention scheme Purpose.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or replacement should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (13)

1. a kind of data processing method for Visualized data centre, including:
Host is accessed, the virtual machine storage disk to being deployed in host creates virtual machine snapshot and generates backup;
Judge whether the backup is to back up completely, when being when backing up completely, to itself creating the first snapshot and setting up the void The index of plan machine snapshot, first snapshot and the two creation time, when not being to create N snapshots to itself when backing up completely And the index of the virtual machine snapshot, the N snapshots and the two creation time is set up, wherein, N is the integer more than 2, described N snapshots include increment disk file of the virtual machine from after the N-1 times backup;
According to it is described index obtain comprising the N-1 time backup full dose disk file N-1 snapshots and comprising the N-1 times back up The N snapshots of increment disk file afterwards;
The full dose disk file and the increment disk file are merged based on the N-1 snapshots and the N snapshots;And
Delete the virtual machine snapshot in the virtual machine.
2. method according to claim 1, wherein, it is described to merge described based on the N-1 snapshots and the N snapshots The step of full dose disk file and the increment disk file, includes:According to increment disk file and the full dose disk file The positional information of data block is obtaining data block changing content of the increment disk relative to the full dose disk file with complete Into the merging of the full dose disk file and the increment disk file.
3. method according to claim 1, also includes:Update the full dose disk file and the increment magnetic after merging The positional information of disk file.
4. according to the method in claim 2 or 3, wherein, the positional information include original position, data offset sum According to block size.
5. the method according to any one of claims 1 to 3, also includes:According to the index selection time point rollback itself The mirror image of the snapshot of the virtual machine storage disk of storage or the snapshot of the establishment virtual machine storage disk, according to the rope Draw the snapshot that selection time point extracts the virtual machine storage disk.
6. method according to claim 5, wherein, the institute stored according to the index selection time point rollback itself The mirror image of the snapshot for stating virtual machine storage disk or the snapshot for creating the virtual machine storage disk, during according to the index selection Between include the step of put the snapshot for extracting the virtual machine storage disk, the snapshot of the virtual machine storage disk is imported newly-built Virtual machine or direct carry on former virtual machine.
7. a kind of data processing equipment for Visualized data centre, including:
Access unit, is configured as accessing host, and the virtual machine storage disk to being deployed in host creates virtual machine snapshot And generate backup;
Judging unit, is configured as judging whether the backup is to back up completely, when being when backing up completely, first to be created to itself Snapshot simultaneously sets up the index of the virtual machine snapshot, first snapshot and the two creation time, right when not being when backing up completely Itself create N snapshots and set up the index of the virtual machine snapshot, the N snapshots and the two creation time, wherein, N is Integer more than 2, the N snapshots include increment disk file of the virtual machine from after the N-1 times backup;
Processing unit, is configured as being obtained comprising the N-1 times N-1 snapshot of the full dose disk file of backup according to the index With the N snapshots comprising the increment disk file after the N-1 times backup;
Combining unit, is configured as merging the full dose disk file and described based on the N-1 snapshots and the N snapshots Increment disk file;
Wherein, the processing unit, is additionally configured to delete the virtual machine snapshot in the virtual machine.
8. device according to claim 7, wherein, the combining unit is additionally configured to:According to increment disk file and The positional information of the data block of the full dose disk file is obtaining the increment disk relative to the full dose disk file Data block changing content is completing the merging of the full dose disk file and the increment disk file.
9. device according to claim 7, also including updating block, is configured as updating the full dose disk after merging The positional information of file and the increment disk file.
10. device according to claim 8 or claim 9, wherein, the positional information include original position, data offset and Data block size.
11. device according to any one of claim 7 to 9, also including recovery unit, is configured as according to the index The snapshot of the virtual machine storage disk of selection time point rollback itself storage creates the fast of the virtual machine storage disk According to mirror image, the snapshot of the virtual machine storage disk is extracted according to the index selection time point.
12. devices according to claim 11, wherein, the recovery unit is additionally configured to for the virtual machine to store magnetic The snapshot of disk imports newly-built virtual machine or direct carry on former virtual machine.
A kind of 13. data processing equipments for Visualized data centre, including:
Memory, processor and bus;
The memory and the processor are connected by the bus and complete mutual communication;
The memory is used for store program codes;
The processor is run and the executable program by reading the executable program code stored in the memory The corresponding program of code, at the data for Visualized data centre any one of perform claim requirement 1 to 6 Reason method.
CN201611215337.XA 2016-12-23 2016-12-23 Data processing method and device for virtualized data center Active CN106777219B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611215337.XA CN106777219B (en) 2016-12-23 2016-12-23 Data processing method and device for virtualized data center

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611215337.XA CN106777219B (en) 2016-12-23 2016-12-23 Data processing method and device for virtualized data center

Publications (2)

Publication Number Publication Date
CN106777219A true CN106777219A (en) 2017-05-31
CN106777219B CN106777219B (en) 2020-03-03

Family

ID=58927238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611215337.XA Active CN106777219B (en) 2016-12-23 2016-12-23 Data processing method and device for virtualized data center

Country Status (1)

Country Link
CN (1) CN106777219B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908755A (en) * 2017-11-21 2018-04-13 郑州云海信息技术有限公司 A kind of snapshot document processing method and processing device
CN108573049A (en) * 2018-04-20 2018-09-25 联想(北京)有限公司 Data processing method and distributed storage devices
CN109358988A (en) * 2018-12-10 2019-02-19 郑州云海信息技术有限公司 A kind of restoration methods, device, system and the readable storage medium storing program for executing of cloud Backup Data
CN109614055A (en) * 2018-12-21 2019-04-12 杭州宏杉科技股份有限公司 Snapshot creation method, device, electronic equipment and machine readable storage medium
CN109614051A (en) * 2018-12-13 2019-04-12 北京金山云网络技术有限公司 A kind of method for cleaning of Backup Data, device, electronic equipment and storage medium
CN109783272A (en) * 2017-11-10 2019-05-21 阿里巴巴集团控股有限公司 Disk snapshot processing method, device and equipment
CN110442427A (en) * 2019-07-29 2019-11-12 腾讯科技(深圳)有限公司 A kind of virtual machine snapshot management method, device, equipment and storage medium
CN111309527A (en) * 2020-02-29 2020-06-19 上海爱数信息技术股份有限公司 Method for reserving and restoring user snapshot in virtual backup system
CN113254823A (en) * 2021-05-13 2021-08-13 浙江网商银行股份有限公司 Webpage data processing method and device
CN113312309A (en) * 2020-02-26 2021-08-27 顺丰科技有限公司 Management method and device of snapshot chain and storage medium
CN113434461A (en) * 2020-03-23 2021-09-24 顺丰科技有限公司 Snapshot creating method and device and snapshot restoring method and device
CN113626256A (en) * 2021-07-16 2021-11-09 济南浪潮数据技术有限公司 Virtual machine disk data backup method, device, terminal and storage medium
CN113728313A (en) * 2019-04-22 2021-11-30 Emc Ip控股有限公司 Intelligent defragmentation of file systems inside VMs to quickly restore and efficiently deduplicate data in the cloud
CN114518937A (en) * 2022-01-27 2022-05-20 广州鼎甲计算机科技有限公司 Virtual machine backup scheduling method, system, device and storage medium
CN115454723A (en) * 2022-09-28 2022-12-09 安超云软件有限公司 Data backup and recovery method and system based on storage snapshot
CN117033084A (en) * 2023-10-09 2023-11-10 武汉吧哒科技股份有限公司 Virtual machine backup method and device, electronic equipment and storage medium
CN117130980A (en) * 2023-10-24 2023-11-28 杭州优云科技有限公司 Virtual machine snapshot management method and device
CN117435404A (en) * 2023-12-21 2024-01-23 成都云祺科技有限公司 Processing method, system and data recovery method for permanent incremental backup data storage

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594849A (en) * 2011-01-06 2012-07-18 阿里巴巴集团控股有限公司 Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device
CN103699459A (en) * 2013-12-31 2014-04-02 汉柏科技有限公司 Method and system for incremental backup of virtual machine data based on Qcow2 snapshots
CN105022656A (en) * 2014-04-21 2015-11-04 中国电信股份有限公司 Management method and device of virtual machine snapshot
US20160283329A1 (en) * 2015-03-27 2016-09-29 Emc Corporation Virtual point in time access between snapshots
US9465518B1 (en) * 2007-10-11 2016-10-11 Parallels IP Holdings GmbH Method and system for creation, analysis and navigation of virtual snapshots

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9465518B1 (en) * 2007-10-11 2016-10-11 Parallels IP Holdings GmbH Method and system for creation, analysis and navigation of virtual snapshots
CN102594849A (en) * 2011-01-06 2012-07-18 阿里巴巴集团控股有限公司 Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device
CN103699459A (en) * 2013-12-31 2014-04-02 汉柏科技有限公司 Method and system for incremental backup of virtual machine data based on Qcow2 snapshots
CN105022656A (en) * 2014-04-21 2015-11-04 中国电信股份有限公司 Management method and device of virtual machine snapshot
US20160283329A1 (en) * 2015-03-27 2016-09-29 Emc Corporation Virtual point in time access between snapshots

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783272A (en) * 2017-11-10 2019-05-21 阿里巴巴集团控股有限公司 Disk snapshot processing method, device and equipment
CN109783272B (en) * 2017-11-10 2023-01-24 阿里巴巴集团控股有限公司 Disk snapshot processing method, device and equipment
CN107908755A (en) * 2017-11-21 2018-04-13 郑州云海信息技术有限公司 A kind of snapshot document processing method and processing device
CN108573049A (en) * 2018-04-20 2018-09-25 联想(北京)有限公司 Data processing method and distributed storage devices
CN109358988A (en) * 2018-12-10 2019-02-19 郑州云海信息技术有限公司 A kind of restoration methods, device, system and the readable storage medium storing program for executing of cloud Backup Data
CN109614051A (en) * 2018-12-13 2019-04-12 北京金山云网络技术有限公司 A kind of method for cleaning of Backup Data, device, electronic equipment and storage medium
CN109614055A (en) * 2018-12-21 2019-04-12 杭州宏杉科技股份有限公司 Snapshot creation method, device, electronic equipment and machine readable storage medium
CN113728313A (en) * 2019-04-22 2021-11-30 Emc Ip控股有限公司 Intelligent defragmentation of file systems inside VMs to quickly restore and efficiently deduplicate data in the cloud
CN110442427A (en) * 2019-07-29 2019-11-12 腾讯科技(深圳)有限公司 A kind of virtual machine snapshot management method, device, equipment and storage medium
CN113312309A (en) * 2020-02-26 2021-08-27 顺丰科技有限公司 Management method and device of snapshot chain and storage medium
CN111309527B (en) * 2020-02-29 2022-07-15 上海爱数信息技术股份有限公司 Method for reserving and restoring user snapshot in virtual backup system
CN111309527A (en) * 2020-02-29 2020-06-19 上海爱数信息技术股份有限公司 Method for reserving and restoring user snapshot in virtual backup system
CN113434461A (en) * 2020-03-23 2021-09-24 顺丰科技有限公司 Snapshot creating method and device and snapshot restoring method and device
CN113254823A (en) * 2021-05-13 2021-08-13 浙江网商银行股份有限公司 Webpage data processing method and device
CN113626256B (en) * 2021-07-16 2023-12-22 济南浪潮数据技术有限公司 Virtual machine disk data backup method, device, terminal and storage medium
CN113626256A (en) * 2021-07-16 2021-11-09 济南浪潮数据技术有限公司 Virtual machine disk data backup method, device, terminal and storage medium
CN114518937A (en) * 2022-01-27 2022-05-20 广州鼎甲计算机科技有限公司 Virtual machine backup scheduling method, system, device and storage medium
CN115454723A (en) * 2022-09-28 2022-12-09 安超云软件有限公司 Data backup and recovery method and system based on storage snapshot
CN117033084A (en) * 2023-10-09 2023-11-10 武汉吧哒科技股份有限公司 Virtual machine backup method and device, electronic equipment and storage medium
CN117033084B (en) * 2023-10-09 2024-01-19 武汉吧哒科技股份有限公司 Virtual machine backup method and device, electronic equipment and storage medium
CN117130980A (en) * 2023-10-24 2023-11-28 杭州优云科技有限公司 Virtual machine snapshot management method and device
CN117130980B (en) * 2023-10-24 2024-02-27 杭州优云科技有限公司 Virtual machine snapshot management method and device
CN117435404A (en) * 2023-12-21 2024-01-23 成都云祺科技有限公司 Processing method, system and data recovery method for permanent incremental backup data storage
CN117435404B (en) * 2023-12-21 2024-05-28 成都云祺科技有限公司 Processing method, system and data recovery method for permanent incremental backup data storage

Also Published As

Publication number Publication date
CN106777219B (en) 2020-03-03

Similar Documents

Publication Publication Date Title
CN106777219A (en) For the data processing method and device of Visualized data centre
US11132264B2 (en) Point-in-time copy restore
US10346780B2 (en) Extraction of system administrator actions to a workflow providing a resolution to a system issue
CN104216793B (en) Application Backup, the method and apparatus recovered
US8868860B2 (en) Restore in cascaded copy environment
US10789135B2 (en) Protection of infrastructure-as-a-service workloads in public cloud
US10360053B1 (en) Systems and methods for completing sets of computing tasks
US11418575B2 (en) Optimizing service deployment in a distributed computing environment
US10031819B2 (en) Checkpoint mechanism in a compute embedded object storage infrastructure
US9652263B2 (en) Migrating servers into a secured environment
US9760449B2 (en) Restoring a point-in-time copy
US10191817B2 (en) Systems and methods for backing up large distributed scale-out data systems
US10169027B2 (en) Upgrade of an operating system of a virtual machine
US9003139B1 (en) Systems and methods for recovering virtual machines after disaster scenarios
CN105867962A (en) System upgrading method and device
US10318612B2 (en) System and method for implementing screen capture
US20180203726A1 (en) Virtual machine migration method and apparatus
US11175804B2 (en) Deploying user interface elements on a screen
CN108139868A (en) For the system and method for image segment frequently used from cache supply
US20170075774A1 (en) Restoring a clone point-in-time copy
CN104978226A (en) Input/output redirection method, virtualization system and method and content delivery device
CN109324867A (en) A kind of virtual machine temporary storage method, restoration methods and device
JP2021197180A (en) Method and system for protecting file using class dispersion and sequential memory storage
US11144364B2 (en) Supporting speculative microprocessor instruction execution
CN108897561B (en) Data storage method and storage 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
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 100190 Room 308, 3 / F, building 6, No.13, Beiertiao, Zhongguancun, Haidian District, Beijing

Patentee after: BEIJING ASIA CREATION TECHNOLOGY Co.,Ltd.

Address before: 100080 17th floor, Silicon Valley Computer City, No.1 xicaochang, Haidian District, Beijing

Patentee before: BEIJING ASIA CREATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CP03 Change of name, title or address

Address after: Room 301, floor 3, building 5, yard 16, Meiliyuan Middle Road, Haidian District, Beijing 100097

Patentee after: Beijing Mars high tech digital technology Co.,Ltd.

Address before: 100190 Room 308, 3 / F, building 6, No.13, Beiertiao, Zhongguancun, Haidian District, Beijing

Patentee before: BEIJING ASIA CREATION TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address