CN105653394B - The method and apparatus of data backup - Google Patents
The method and apparatus of data backup Download PDFInfo
- Publication number
- CN105653394B CN105653394B CN201410648094.3A CN201410648094A CN105653394B CN 105653394 B CN105653394 B CN 105653394B CN 201410648094 A CN201410648094 A CN 201410648094A CN 105653394 B CN105653394 B CN 105653394B
- Authority
- CN
- China
- Prior art keywords
- mirror image
- data
- increment mirror
- increment
- backup
- 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.)
- Active
Links
Abstract
The invention discloses a kind of method and apparatus of data backup, belong to field of computer technology.The described method includes: receiving the backup request of the first increment mirror image of corresponding target virtual machine, Data Identification to be filtered is carried in backup request, create the second increment mirror image, other data in addition to the corresponding data of Data Identification to be filtered in first increment mirror image are copied in the second increment mirror image, data in second increment mirror image are backed up, are the Backup Data of the first increment mirror image by obtained backup data store.Using the present invention, the flexibility of data backup can be improved.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of method and apparatus of data backup.
Background technique
With the continuous development of computer technology, virtual machine is increasingly valued by people, and virtual machine is to pass through software
Simulation one has the function of complete hardware system, operates in the complete computers in a completely isolated environment, leads in virtual machine
It often include foundation image and increment mirror image, after virtual machine starting, it will usually which work is on increment mirror image, wherein foundation image
In data be usually read-only status, the data in foundation image can be created each virtual machine-readable based on the foundation image
It takes, increment mirror image is for storing the data after user modifies to the data in foundation image and user to increment mirror
The data that are written as in, further include snapshot image in virtual machine, snapshot image is a kind of with increment mirror image be basic mirror image mirror
Picture.Data backup is that the important way of fast quick-recovery is carried out to virtual machine.
Virtual machine application is installed in terminal, for creating and managing virtual machine, is also equipped in virtual machine
The backup application that increment mirror image is backed up, if user needs to back up the increment mirror image in some virtual machine,
Then user starts backup application, and clicks the backup key in the application program, and backup application generates the corresponding increasing
The backup request for measuring mirror image, is sent to virtual machine application, virtual machine application by the total data in the increment mirror image,
It is sent to backup application, corresponding data are sent to backup server by backup application, and backup server will be corresponding
Data stored as the Backup Data of the increment mirror image.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Since the data in increment mirror image are usually encrypted state, backup application can not parse the data, can only be right
Data carry out integrated operation, therefore can only be backed up the total data in the increment mirror image by the above method, if with
When family does not need to be backed up certain data, the purpose of corresponding data backup is unable to reach by the above method, thus, make
The flexibility for obtaining data backup is poor.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of method and apparatus of data backup.Institute
It is as follows to state technical solution:
In a first aspect, providing a kind of method of data backup, which comprises
The backup request of the first increment mirror image of corresponding target virtual machine is received, is carried in the backup request to be filtered
Data Identification;
The second increment mirror image is created, the corresponding data of the Data Identification to be filtered will be removed in the first increment mirror image
Outer other data copy in the second increment mirror image;
Data in the second increment mirror image are backed up, are first increment by obtained backup data store
The Backup Data of mirror image.
Second aspect, provides a kind of device of data backup, and described device includes:
Receiving module, the backup request of the first increment mirror image for receiving corresponding target virtual machine, the backup request
In carry Data Identification to be filtered;
Replication module will remove the data to be filtered in the first increment mirror image for creating the second increment mirror image
Other data outside corresponding data are identified to copy in the second increment mirror image;
Memory module, for being backed up to the data in the second increment mirror image, the backup data store that will be obtained
For the Backup Data of the first increment mirror image.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, the backup request of the first increment mirror image of corresponding target virtual machine is received, in backup request
Data Identification to be filtered is carried, the second increment mirror image is created, the Data Identification to be filtered that removes in the first increment mirror image is corresponded to
Data outside other data copy in the second increment mirror image, the data in the second increment mirror image are backed up, will be obtained
Backup data store be the first increment mirror image Backup Data, in this way, by creation blank increment mirror image, with storage first increase
Other data in addition to the corresponding data of Data Identification to be filtered in mirror image are measured, and then reaches and specified data is backed up
Purpose, it is thus possible to improve the flexibility of data backup.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of method flow diagram of data backup provided in an embodiment of the present invention;
Fig. 2 is a kind of surface chart of virtual machine application provided in an embodiment of the present invention;
Fig. 3 is a kind of apparatus structure schematic diagram of data backup provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
The embodiment of the invention provides a kind of methods of data backup, as shown in Figure 1, the process flow of this method can wrap
Include following step:
Step 101, receive the backup request of the first increment mirror image of corresponding target virtual machine, carried in backup request to
Filter Data Identification.
Step 102, the second increment mirror image is created, the corresponding data of Data Identification to be filtered will be removed in the first increment mirror image
Outer other data copy in the second increment mirror image.
Step 103, the data in the second increment mirror image are backed up, is the first increment by obtained backup data store
The Backup Data of mirror image.
In the embodiment of the present invention, the backup request of the first increment mirror image of corresponding target virtual machine is received, in backup request
Data Identification to be filtered is carried, the second increment mirror image is created, the Data Identification to be filtered that removes in the first increment mirror image is corresponded to
Data outside other data copy in the second increment mirror image, the data in the second increment mirror image are backed up, will be obtained
Backup data store be the first increment mirror image Backup Data, in this way, by creation blank increment mirror image, with storage first increase
Other data in addition to the corresponding data of Data Identification to be filtered in mirror image are measured, and then reaches and specified data is backed up
Purpose, it is thus possible to improve the flexibility of data backup.
Embodiment two
The embodiment of the invention provides a kind of method of data backup, this method can be realized by terminal, which can be with
It is arbitrary terminal, such as desktop computer, laptop etc..
Below in conjunction with specific embodiment, process flow shown in FIG. 1 is described in detail, content can be as
Under:
Step 101, receive the backup request of the first increment mirror image of corresponding target virtual machine, carried in backup request to
Filter Data Identification.
Wherein, virtual machine be by software simulate one have the function of complete hardware system, operate in one completely every
From the complete computers in environment, a variety of mirror-image formats are can be used in the local disk in virtual machine, for example, raw is (without adding
Work), qcow2, VMDK (the virtual disk format of VMWare Virtual Machine Disk Format, virtual machine VMware)
Deng being described in detail by taking the mirror-image format of qcow2 as an example in the embodiment of the present invention.
For qcow2 mirror-image format, the file of two qcow2 mirror-image formats is generally included in the local disk of virtual machine,
That is foundation image and increment mirror image, the data in foundation image are usually read-only status, and the data in increment mirror image are usually can
Read can write state, increment mirror image be mainly used for recording and storing user to the modifications of the data in foundation image and user to
The data being written in increment mirror image, virtual machine may be usually based on the work of increment mirror image, the data and right that user can be written
Data after data in foundation image are modified are stored in increment mirror image.
In an implementation, as shown in Fig. 2, virtual machine application can be equipped in terminal, for creating virtual machine.If
User needs to create virtual machine, then can click the creation virtual machine key in virtual machine application, and terminal generates creation and asks
It asks, multiple foundation images can be previously stored in terminal, when terminal receives request to create, virtual machine application can be passed through
Program prompt user selects foundation image of the foundation image as virtual machine from above-mentioned multiple foundation images, then, by
Step guidance user carries out subsequent operation, for example, the size of prompt user input or selection virtual machine local disk, prompt user's choosing
The position etc. for selecting virtual machine installation, to complete the creation process of virtual machine.After the completion of virtual machine creating, this earth magnetism of virtual machine
It include a foundation image and an increment mirror image (i.e. the first increment mirror image) in disk, user can install certain soft for virtual machine
Part, corresponding data can store in the first increment mirror image.In order to allow virtual machine in the event of a failure can fast quick-recovery, or
Person can quickly create the virtual machine of multiple same configurations, can back up to the first increment mirror image in virtual machine, specifically
Ground can be equipped with the backup application backed up to the increment mirror image in virtual machine in terminal, in order to reinforce user's
The backup functionality of backup application can be integrated into virtual machine application by usage experience, and the embodiment of the present invention is with void
It incorporates in quasi- machine application program and is described in detail for the backup functionality of backup application, for using back-up application journey
Similarly, details are not described herein, and concrete processing procedure can for the treatment process that increment mirror image in ordered pair virtual machine is backed up
With are as follows: it, can be with if user needs to back up the first increment mirror image in current virtual machine (i.e. target virtual machine)
Click backup key, terminal display information input frame, user can input Data Identification to be filtered in information input frame, such as to
Cross title or the number etc. of filter data, wherein Data Identification to be filtered corresponding data can be to be stored in target virtual machine
Log class data etc., after the completion of input, user can click determining key, at this point, the available user of terminal is in information input
The Data Identification to be filtered inputted in frame, generates the backup request of the first increment mirror image of corresponding target virtual machine, and terminal can be with
Receive the backup request.
Step 102, the second increment mirror image is created, the corresponding data of Data Identification to be filtered will be removed in the first increment mirror image
Outer other data copy in the second increment mirror image.
Wherein, the first increment mirror image and the corresponding foundation image of the second increment mirror image are identical.
In an implementation, when terminal receives backup request, the increasing of a blank can be created by virtual machine application
It measures mirror image (i.e. the second increment mirror image), the corresponding relationship of data and Data Identification can be previously stored in the first increment mirror image,
Then, terminal can search in the above-mentioned corresponding relationship of the first increment mirrored storage, and it is corresponding to obtain Data Identification to be filtered
Data, terminal can be marked obtained data, and unmarked data are copied in the second increment mirror image, this
When, other numbers in addition to the corresponding data of Data Identification to be filtered for being stored in the second increment mirror image in the first increment mirror image
According to.
Optionally, the processing mode of above-mentioned steps 102 can be varied, three kinds of optional processing modes presented below,
It can specifically include following three kinds of modes:
Mode one creates the second increment mirror image if target virtual machine is currently not based on the work of the first increment mirror image, will
First increment mirror image and the second increment mirror image carry out carry, will remove the corresponding number of Data Identification to be filtered in the first increment mirror image
It is copied in the second increment mirror image according to outer other data, cancels the carry to the second increment mirror image.
Wherein, carry, which refers to, is articulated to the increment mirror image in virtual machine in terminal in some already present catalogue, for example,
In the catalogue of hard disk in terminal.
In an implementation, when terminal receives backup request, whether terminal can detecte target virtual machine currently based on the
One increment mirror image work, if the terminal determine that target virtual machine is not presently within starting state or the current base of target virtual machine
In other increment mirror images work in addition to the first increment mirror image, then terminal can create the second increment by virtual machine application
Mirror image, wherein the second increment mirror image can be the increment mirror image of blank, since virtual machine application is usually not arranged certain
Data in a increment mirror image copy to the function of another increment mirror image, and therefore, in order to achieve the above object, terminal can incite somebody to action
First increment mirror image and the second increment mirror image carry, at this point, the icon of two hard disks will be increased in the catalogue of the hard disk in terminal,
In this way, terminal can be written and read the data in the first increment mirror image and the second increment mirror image, then, terminal can be incited somebody to action
Other data in addition to the corresponding data of Data Identification to be filtered in first increment mirror image copy in the second increment mirror image, multiple
After the completion of system, terminal can unload the second increment mirror image from the catalogue of above-mentioned hard disk, at this point, the second increasing in the catalogue of hard disk
The icon for measuring the corresponding hard disk of mirror image disappears.Terminal can also unload the first increment mirror image from the catalogue of above-mentioned hard disk, this
When, the icon of the corresponding hard disk of the first increment mirror image disappears in the catalogue of hard disk, in this way, can make target virtual machine is subsequent can
To be worked based on the first increment mirror image.
Mode two creates corresponding first increment mirror image if target virtual machine is currently based on the work of the first increment mirror image
Snapshot image, the data in the first increment mirror image are copied in snapshot image, and set third increment for snapshot image
Mirror image;The second increment mirror image is created, the first increment mirror image and the second increment mirror image are subjected to carry, it will be in the first increment mirror image
Other data in addition to the corresponding data of Data Identification to be filtered copy in the second increment mirror image, cancel to the second increment mirror image
Carry.
Wherein, the mirror image of snapshot image to be a kind of with some increment mirror image be basic mirror image, is stored in snapshot image pair
Data in the increment mirror image modify after data and user's write-in new data etc..
It in an implementation, if a terminal detects that target virtual machine is in working condition, and is based on the first increment mirror
As work, then terminal can create the snapshot image of the first increment mirror image by virtual machine application, at this point, target virtual machine
From becoming working based on snapshot image based on the work of the first increment mirror image, then, terminal can set increment for snapshot image
Mirror image, specifically, since target virtual machine is currently based on snapshot image work, target virtual machine can be to the first increment mirror
Data in picture and snapshot image are written and read, in this way, terminal can will be in the first increment mirror image by target virtual machine
Data copy in snapshot image, after the completion of duplication, snapshot image can be revised as third increment mirror image by terminal, and third increases
It is identical to measure mirror image foundation image corresponding with the first increment mirror image.
Terminal can create an increment mirror image (i.e. the second increment mirror image) by virtual machine application, wherein second
Increment mirror image can be the increment mirror image an of blank, and then, terminal can hang the first increment mirror image and the second increment mirror image
It is downloaded in terminal in the catalogue of hard disk, at this point, terminal can carry out the data in the first increment mirror image and the second increment mirror image
Read-write operation, in this way, terminal can be by other numbers in addition to the corresponding data of Data Identification to be filtered in the first increment mirror image
According to copying in the second increment mirror image, after the completion of duplication, terminal can unload the second increment mirror image from the catalogue of above-mentioned hard disk
It carries, terminal can also unload the first increment mirror image, and in order to save disk occupied space, user can be by the first increment mirror
As deleting.
Mode three creates corresponding first increment mirror image if target virtual machine is currently based on the work of the first increment mirror image
Snapshot image, the first increment mirror image is subjected to read-only carry, and the second increment mirror image is subjected to carry, by the first increment mirror image
In other data in addition to the corresponding data of Data Identification to be filtered copy in the second increment mirror image, cancel to the second increment
The carry of mirror image;Cancel snapshot image.
Wherein, it can be set in virtual machine application there are two types of carry mode, such as read-only carry and carry.Read-only carry
When can be to increment mirror image progress carry, terminal can only read the data in increment mirror image, but cannot modify in increment mirror image
Data or data are written into increment mirror image, the increment mirror image for carrying out read-only carry can be corresponding virtual machine and be used
Increment mirror image.When carry be can be to increment mirror image progress carry, terminal can be written and read the data in increment mirror image
Operation, the increment mirror image for carrying out carry is usually the increment mirror image for being not in use state.
In an implementation, if target virtual machine is currently based on the work of the first increment mirror image, terminal can create the first increasing
The snapshot image of mirror image is measured, at this point, target virtual machine is based on snapshot image work from becoming based on the work of the first increment mirror image, the
One increment mirror image is the foundation image of snapshot image, and data therein are used by target virtual machine, at this point, saving disk occupies sky
Between, the first increment mirror image can be carried out to read-only carry, meanwhile, carry can be carried out to the second increment mirror image, then, terminal can
Other data in addition to the corresponding data of Data Identification to be filtered in the first increment mirror image are copied to the second increment mirror image
In, after the completion of duplication, terminal can be unloaded the second increment mirror image, at this point, terminal can also by the first increment mirror image into
Row unloading, after completing the above process, terminal can cancel snapshot image by virtual machine application, and specifically, terminal can be with
Data in first increment mirror image are copied in snapshot image, and set third increment mirror image for snapshot image, at this point, mesh
Virtual machine is marked to work based on third increment mirror image.
Terminal can also be without the processing of the cancellation snapshot image in aforesaid way three, the then processing of above-mentioned steps 102
If mode can also include: that target virtual machine is currently based on the work of the first increment mirror image, corresponding first increment mirror image is created
Snapshot image, the first increment mirror image is subjected to read-only carry, and the second increment mirror image is subjected to carry, by the first increment mirror image
In other data in addition to the corresponding data of Data Identification to be filtered copy in the second increment mirror image, cancel to the second increment
The carry of mirror image.
The treatment process of above-mentioned steps 102 can also include other modes, for example, terminal can be created in addition to aforesaid way
The snapshot image for building corresponding first increment mirror image, the data in the first increment mirror image are copied in snapshot image, and by snapshot
Mirror settings be third increment mirror image, it is then possible to by the first increment mirror image carry out carry, delete the first increment mirror image in
The corresponding data of Data Identification are filtered, cancel the carry to the first increment mirror image, corresponding subsequent treatment process can be with are as follows: eventually
End can back up the data in the first increment mirror image, be the backup of the first increment mirror image by obtained backup data store
Data, due to the characteristic of qcow2 mirror-image format, although deleting certain data in above-mentioned processing method, the first increment mirror
The disk space that data as in occupy is there is no reducing, and for aforesaid way, terminal can also pass through virtual machine application
Capacity reducing is carried out to the disk space that the first increment mirror image occupies, to reach effect identical with above-mentioned three kinds of modes.
Step 103, the data in the second increment mirror image are backed up, is the first increment by obtained backup data store
The Backup Data of mirror image.
In an implementation, the data in the available second increment mirror image of terminal, and the data are backed up, it is backed up
Data, user can preset the storage address of a Backup Data, can be by the backup number after terminal obtains Backup Data
According to storage into the corresponding storage region of above-mentioned storage address.
It is alternatively possible to which backup server is arranged for backup procedure, backup server can carry out corresponding data standby
Part and storage, correspondingly, the treatment process of above-mentioned steps 103 may include the following contents: being carried to backup server transmission
The backup messages of the mark of data and the first increment mirror image in second increment mirror image, so that backup server is by the second increment mirror
Data as in are stored as the Backup Data of the first increment mirror image.
In an implementation, the mark (such as first of the data in the available second increment mirror image of terminal and the first increment mirror image
The title etc. of increment mirror image), backup messages are generated, backup server is sent to, it, can when backup server receives backup messages
To extract the mark and data of the first increment mirror image therein, the mark and the data can be corresponded to storage by backup server,
To store the Backup Data of the first increment mirror image in backup server.Backup server also available first increment mirror
As the mark of corresponding foundation image, it is then possible to by the number in the data and the second increment mirror image in corresponding foundation image
It is stored according to the Backup Data as target virtual machine.
In the embodiment of the present invention, the backup request of the first increment mirror image of corresponding target virtual machine is received, in backup request
Data Identification to be filtered is carried, the second increment mirror image is created, the Data Identification to be filtered that removes in the first increment mirror image is corresponded to
Data outside other data copy in the second increment mirror image, the data in the second increment mirror image are backed up, will be obtained
Backup data store be the first increment mirror image Backup Data, in this way, by creation blank increment mirror image, with storage first increase
Other data in addition to the corresponding data of Data Identification to be filtered in mirror image are measured, and then reaches and specified data is backed up
Purpose, it is thus possible to improve the flexibility of data backup.
Embodiment three
Based on the same technical idea, the embodiment of the invention also provides a kind of devices of data backup, as shown in figure 3,
The device includes:
Receiving module 310, the backup request of the first increment mirror image for receiving corresponding target virtual machine, in backup request
Carry Data Identification to be filtered;
Replication module 320 will remove Data Identification pair to be filtered in the first increment mirror image for creating the second increment mirror image
Other data outside the data answered copy in the second increment mirror image;
Obtained backup data store is by memory module 330 for backing up to the data in the second increment mirror image
The Backup Data of first increment mirror image.
Optionally, replication module 320 are used for:
If target virtual machine is currently not based on the work of the first increment mirror image, the second increment mirror image is created, first is increased
Measure mirror image and the second increment mirror image progress carry, by the first increment mirror image in addition to the corresponding data of Data Identification to be filtered
Other data copy in the second increment mirror image, cancel the carry to the second increment mirror image.
Optionally, replication module 320 are used for:
If target virtual machine is currently based on the work of the first increment mirror image, looking in the mirror fastly for corresponding first increment mirror image is created
Picture copies to the data in the first increment mirror image in snapshot image, and sets third increment mirror image for snapshot image;
The second increment mirror image is created, the first increment mirror image and the second increment mirror image are subjected to carry, by the first increment mirror image
In other data in addition to the corresponding data of Data Identification to be filtered copy in the second increment mirror image, cancel to the second increment
The carry of mirror image.
Optionally, replication module 320 are used for:
If target virtual machine is currently based on the work of the first increment mirror image, looking in the mirror fastly for corresponding first increment mirror image is created
First increment mirror image carries out read-only carry, and the second increment mirror image carried out carry by picture, by the first increment mirror image except to
Other data outside the corresponding data of filtering Data Identification copy in the second increment mirror image, cancel the extension to the second increment mirror image
It carries;
Cancel snapshot image.
Optionally, memory module 330 are used for:
The backup for carrying the mark of data and the first increment mirror image in the second increment mirror image is sent to backup server
Message, so that backup server is stored the data in the second increment mirror image as the Backup Data of the first increment mirror image.
In the embodiment of the present invention, the backup request of the first increment mirror image of corresponding target virtual machine is received, in backup request
Data Identification to be filtered is carried, the second increment mirror image is created, the Data Identification to be filtered that removes in the first increment mirror image is corresponded to
Data outside other data copy in the second increment mirror image, the data in the second increment mirror image are backed up, will be obtained
Backup data store be the first increment mirror image Backup Data, in this way, by creation blank increment mirror image, with storage first increase
Other data in addition to the corresponding data of Data Identification to be filtered in mirror image are measured, and then reaches and specified data is backed up
Purpose, it is thus possible to improve the flexibility of data backup.
It should be understood that the device of data backup provided by the above embodiment is when carrying out data backup, only with above-mentioned
The division progress of each functional module can according to need and for example, in practical application by above-mentioned function distribution by different
Functional module is completed, i.e., the internal structure of terminal is divided into different functional modules, with complete it is described above whole or
Partial function.In addition, the device of data backup provided by the above embodiment and the embodiment of the method for data backup belong to same structure
Think, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Example IV
Referring to FIG. 4, the terminal can be used for reality it illustrates terminal structure schematic diagram involved in the embodiment of the present invention
The method that the data backup provided in above-described embodiment is provided.Specifically:
Terminal 1000 may include communication unit 110, include one or more computer readable storage medium
Memory 120, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WIFI (Wireless
Fidelity, Wireless Fidelity) module 170, include one or more than one the processor 180 and power supply of processing core
190 equal components.It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in figure
Including perhaps combining certain components or different component layouts than illustrating more or fewer components.Wherein:
Communication unit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, the communication unit 110
Can for RF (Radio Frequency, radio frequency) circuit, router, modem, etc. network communication equipments.Particularly, when
When communication unit 110 is RF circuit, after the downlink information of base station is received, transfer at one or more than one processor 180
Reason;In addition, the data for being related to uplink are sent to base station.RF circuit usually as communication unit include but is not limited to antenna,
At least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler,
LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..In addition, communication unit 110 can also be by wireless
Communication is communicated with network and other equipment.Any communication standard or agreement can be used in the wireless communication, including but not limited to
GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General
Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code
Point multiple access), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long
Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in the software journey of memory 120 by operation
Sequence and module, thereby executing various function application and data processing.Memory 120 can mainly include storing program area and deposit
Store up data field, wherein storing program area can application program needed for storage program area, at least one function (for example sound is broadcast
Playing function, image player function etc.) etc.;Storage data area can store according to terminal 1000 use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.Correspondingly,
Memory 120 can also include Memory Controller, to provide the visit of processor 180 and input unit 130 to memory 120
It asks.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Preferably, input unit 130 may include touching
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used
Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table
Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Preferably,
Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 1000 that are supplied to user
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.
Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal
Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel
141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby
After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event
Corresponding visual output is provided on display panel 141.Although in the example shown, touch sensitive surface 131 and display panel 141 are conducts
Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display
Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 1000 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings
Device.Optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to the bright of ambient light
The brightness of display panel 141 secretly is adjusted, proximity sensor can close display panel 141 when terminal 1000 is moved in one's ear
And/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for terminal
The other sensors such as 1000 gyroscope, barometer, hygrometer, thermometer, the infrared sensors that can also configure, it is no longer superfluous herein
It states.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 1000.Sound
Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to by loudspeaker 161 by frequency circuit 160
Voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is received by voicefrequency circuit 160
After be converted to audio data, then by after the processing of audio data output processor 180, be sent to through RF circuit 110 such as another
Terminal, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earplug is inserted
Hole, to provide the communication of peripheral hardware earphone Yu terminal 1000.
In order to realize wireless communication, wireless communication unit 170, the wireless communication unit 170 can be configured in the terminal
It can be WIFI module.WIFI belongs to short range wireless transmission technology, and unit 170 can help terminal 1000 by wireless communication
User sends and receive e-mail, browses webpage and access streaming video etc., it provides wireless broadband internet access for user.
Although showing wireless communication unit 170 in figure, but it is understood that, and it is not belonging to must be configured into for terminal 1000,
It can according to need in the range for not changing disclosed essence and omit completely.
Processor 180 is the control centre of terminal 1000, utilizes each portion of various interfaces and connection whole mobile phone
Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120
Interior data execute the various functions and processing data of terminal 1000, to carry out integral monitoring to mobile phone.Optionally, it handles
Device 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modulation /demodulation processing
Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located
Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 1000 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event
Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 1000 can also include camera, bluetooth module etc., and details are not described herein.In this implementation
In example, terminal further includes having memory and one perhaps more than one program one of them or more than one program being deposited
It is stored in memory, and is configured to execute the one or more programs packet by one or more than one processor
Instruction containing the method for carrying out embodiment of the present disclosure offer:
The backup request of the first increment mirror image of corresponding target virtual machine is received, carries data to be filtered in backup request
Mark;
The second increment mirror image is created, it will be other in addition to the corresponding data of Data Identification to be filtered in the first increment mirror image
Data copy in the second increment mirror image;
Data in second increment mirror image are backed up, are the standby of the first increment mirror image by obtained backup data store
Part data.
Optionally, the second increment mirror image is created, the corresponding data of Data Identification to be filtered will be removed in the first increment mirror image
Outer other data copy in the second increment mirror image, comprising:
If target virtual machine is currently not based on the work of the first increment mirror image, the second increment mirror image is created, first is increased
Measure mirror image and the second increment mirror image progress carry, by the first increment mirror image in addition to the corresponding data of Data Identification to be filtered
Other data copy in the second increment mirror image, cancel the carry to the second increment mirror image.
Optionally, the second increment mirror image is created, the corresponding data of Data Identification to be filtered will be removed in the first increment mirror image
Outer other data copy in the second increment mirror image, comprising:
If target virtual machine is currently based on the work of the first increment mirror image, looking in the mirror fastly for corresponding first increment mirror image is created
Picture copies to the data in the first increment mirror image in snapshot image, and sets third increment mirror image for snapshot image;
The second increment mirror image is created, the first increment mirror image and the second increment mirror image are subjected to carry, by the first increment mirror image
In other data in addition to the corresponding data of Data Identification to be filtered copy in the second increment mirror image, cancel to the second increment
The carry of mirror image.
Optionally, the second increment mirror image is created, the corresponding data of Data Identification to be filtered will be removed in the first increment mirror image
Outer other data copy in the second increment mirror image, comprising:
If target virtual machine is currently based on the work of the first increment mirror image, looking in the mirror fastly for corresponding first increment mirror image is created
First increment mirror image carries out read-only carry, and the second increment mirror image carried out carry by picture, by the first increment mirror image except to
Other data outside the corresponding data of filtering Data Identification copy in the second increment mirror image, cancel the extension to the second increment mirror image
It carries;
Cancel snapshot image.
Optionally, the data in the second increment mirror image are backed up, is the first increment by obtained backup data store
The Backup Data of mirror image, comprising:
The backup for carrying the mark of data and the first increment mirror image in the second increment mirror image is sent to backup server
Message, so that backup server is stored the data in the second increment mirror image as the Backup Data of the first increment mirror image.
In the embodiment of the present invention, the backup request of the first increment mirror image of corresponding target virtual machine is received, in backup request
Data Identification to be filtered is carried, the second increment mirror image is created, the Data Identification to be filtered that removes in the first increment mirror image is corresponded to
Data outside other data copy in the second increment mirror image, the data in the second increment mirror image are backed up, will be obtained
Backup data store be the first increment mirror image Backup Data, in this way, by creation blank increment mirror image, with storage first increase
Other data in addition to the corresponding data of Data Identification to be filtered in mirror image are measured, and then reaches and specified data is backed up
Purpose, it is thus possible to improve the flexibility of data backup.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (11)
1. a kind of method of data backup, which is characterized in that the described method includes:
The backup request of the first increment mirror image of corresponding target virtual machine is received, carries data to be filtered in the backup request
Mark;
Create the second increment mirror image, by the first increment mirror image in addition to the corresponding data of the Data Identification to be filtered
Other data copy in the second increment mirror image;
Data in the second increment mirror image are backed up, are the first increment mirror image by obtained backup data store
Backup Data.
2. the method according to claim 1, wherein the second increment mirror image of the creation, by first increment
Other data in addition to the corresponding data of the Data Identification to be filtered in mirror image copy in the second increment mirror image, wrap
It includes:
If the target virtual machine is currently not based on the first increment mirror image work, the second increment mirror image is created, by institute
It states the first increment mirror image and the second increment mirror image carries out carry, the number to be filtered will be removed in the first increment mirror image
It copies in the second increment mirror image, cancels to the second increment mirror image according to the other data identified outside corresponding data
Carry.
3. the method according to claim 1, wherein the second increment mirror image of the creation, by first increment
Other data in addition to the corresponding data of the Data Identification to be filtered in mirror image copy in the second increment mirror image, wrap
It includes:
If the target virtual machine is currently based on the first increment mirror image work, the corresponding first increment mirror image is created
Snapshot image, the data in the first increment mirror image are copied in the snapshot image, and the snapshot image is set
It is set to third increment mirror image;
The second increment mirror image is created, the first increment mirror image and the second increment mirror image are subjected to carry, by described first
Other data in addition to the corresponding data of the Data Identification to be filtered in increment mirror image copy to the second increment mirror image
In, cancel the carry to the second increment mirror image.
4. the method according to claim 1, wherein the second increment mirror image of the creation, by first increment
Other data in addition to the corresponding data of the Data Identification to be filtered in mirror image copy in the second increment mirror image, wrap
It includes:
If the target virtual machine is currently based on the first increment mirror image work, the corresponding first increment mirror image is created
Snapshot image, the first increment mirror image is subjected to read-only carry, and the second increment mirror image is subjected to carry, will described in
Other data in addition to the corresponding data of the Data Identification to be filtered in first increment mirror image copy to second increment
In mirror image, cancel the carry to the second increment mirror image;
Cancel the snapshot image.
5. the method according to claim 1, wherein described standby to the data progress in the second increment mirror image
Part, it is the Backup Data of the first increment mirror image by obtained backup data store, comprising:
The mark for carrying data and the first increment mirror image in the second increment mirror image is sent to backup server
Backup messages, so that the backup server is using the data in the second increment mirror image as the standby of the first increment mirror image
Part data are stored.
6. a kind of device of data backup, which is characterized in that described device includes:
Receiving module, the backup request of the first increment mirror image for receiving corresponding target virtual machine are taken in the backup request
With Data Identification to be filtered;
Replication module will remove the Data Identification to be filtered in the first increment mirror image for creating the second increment mirror image
Other data outside corresponding data copy in the second increment mirror image;
Obtained backup data store is institute for backing up to the data in the second increment mirror image by memory module
State the Backup Data of the first increment mirror image.
7. device according to claim 6, which is characterized in that the replication module is used for:
If the target virtual machine is currently not based on the first increment mirror image work, the second increment mirror image is created, by institute
It states the first increment mirror image and the second increment mirror image carries out carry, the number to be filtered will be removed in the first increment mirror image
It copies in the second increment mirror image, cancels to the second increment mirror image according to the other data identified outside corresponding data
Carry.
8. device according to claim 6, which is characterized in that the replication module is used for:
If the target virtual machine is currently based on the first increment mirror image work, the corresponding first increment mirror image is created
Snapshot image, the data in the first increment mirror image are copied in the snapshot image, and the snapshot image is set
It is set to third increment mirror image;
The second increment mirror image is created, the first increment mirror image and the second increment mirror image are subjected to carry, by described first
Other data in addition to the corresponding data of the Data Identification to be filtered in increment mirror image copy to the second increment mirror image
In, cancel the carry to the second increment mirror image.
9. device according to claim 6, which is characterized in that the replication module is used for:
If the target virtual machine is currently based on the first increment mirror image work, the corresponding first increment mirror image is created
Snapshot image, the first increment mirror image is subjected to read-only carry, and the second increment mirror image is subjected to carry, will described in
Other data in addition to the corresponding data of the Data Identification to be filtered in first increment mirror image copy to second increment
In mirror image, cancel the carry to the second increment mirror image;
Cancel the snapshot image.
10. device according to claim 6, which is characterized in that the memory module is used for:
The mark for carrying data and the first increment mirror image in the second increment mirror image is sent to backup server
Backup messages, so that the backup server extracts the mark and described of the first increment mirror image from the backup messages
Data in two increment mirror images, and using the data in the second increment mirror image as the Backup Data of the first increment mirror image
It is stored.
11. a kind of computer readable storage medium, which is characterized in that be stored with program in the storage medium, described program is used
Method in instruction hardware relevant to described program, to complete data backup as claimed in claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410648094.3A CN105653394B (en) | 2014-11-14 | 2014-11-14 | The method and apparatus of data backup |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410648094.3A CN105653394B (en) | 2014-11-14 | 2014-11-14 | The method and apparatus of data backup |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105653394A CN105653394A (en) | 2016-06-08 |
CN105653394B true CN105653394B (en) | 2019-01-15 |
Family
ID=56479943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410648094.3A Active CN105653394B (en) | 2014-11-14 | 2014-11-14 | The method and apparatus of data backup |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105653394B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106708658B (en) * | 2016-11-29 | 2018-12-04 | 维沃移动通信有限公司 | A kind of data back up method, mobile terminal and storage server |
CN115756968B (en) * | 2022-12-02 | 2023-07-21 | 西安货达网络科技有限公司 | Data backup method and system based on network and cloud platform |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102150124A (en) * | 2008-10-02 | 2011-08-10 | 日立系统解决方案有限公司 | Information backup/restoration processing apparatus and information backup/restoration processing system |
CN102521083A (en) * | 2011-12-13 | 2012-06-27 | 广州杰赛科技股份有限公司 | Backup method and system of virtual machine in cloud computing system |
CN102915278A (en) * | 2012-09-19 | 2013-02-06 | 浪潮(北京)电子信息产业有限公司 | Data deduplication method |
CN103678036A (en) * | 2013-11-15 | 2014-03-26 | 上海爱数软件有限公司 | Backup method based on virtual machine operation information data finding |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7617262B2 (en) * | 2005-12-19 | 2009-11-10 | Commvault Systems, Inc. | Systems and methods for monitoring application data in a data replication system |
-
2014
- 2014-11-14 CN CN201410648094.3A patent/CN105653394B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102150124A (en) * | 2008-10-02 | 2011-08-10 | 日立系统解决方案有限公司 | Information backup/restoration processing apparatus and information backup/restoration processing system |
CN102521083A (en) * | 2011-12-13 | 2012-06-27 | 广州杰赛科技股份有限公司 | Backup method and system of virtual machine in cloud computing system |
CN102915278A (en) * | 2012-09-19 | 2013-02-06 | 浪潮(北京)电子信息产业有限公司 | Data deduplication method |
CN103678036A (en) * | 2013-11-15 | 2014-03-26 | 上海爱数软件有限公司 | Backup method based on virtual machine operation information data finding |
Also Published As
Publication number | Publication date |
---|---|
CN105653394A (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104636047B (en) | The method, apparatus and touch screen terminal operated to the object in list | |
CN105278937B (en) | A kind of method and device showing pop-up box message | |
CN104618217B (en) | Share method, terminal, server and the system of resource | |
CN104869465B (en) | video playing control method and device | |
CN104915091B (en) | A kind of method and apparatus for the prompt information that Shows Status Bar | |
CN106488296B (en) | A kind of method and apparatus showing video barrage | |
CN103631580B (en) | Method and device for generating theme icon | |
CN104965722B (en) | A kind of method and device of display information | |
CN104021129B (en) | Show the method and terminal of group picture | |
CN106484262A (en) | A kind of generation method of application of attending to anything else, device and terminal | |
CN106775833A (en) | device driver loading method, terminal and system | |
CN105739839B (en) | The selection method and device of multimedia menu item | |
CN108090345A (en) | Linux system external command performs method and device | |
CN106231575A (en) | Method for processing short messages and device | |
CN105278925B (en) | The method and device of rubbish removing is carried out to the software of unloading | |
CN106210838B (en) | Caption presentation method and device | |
CN106708555B (en) | A kind of method and apparatus loading plug-in unit | |
CN107423050A (en) | A kind of method and apparatus for penetrating operation | |
CN104978237B (en) | The method and apparatus for repairing dynamic link library file | |
CN105653394B (en) | The method and apparatus of data backup | |
CN106484615B (en) | The method and apparatus of record log | |
CN105302589B (en) | A kind of method and device obtaining unloading information | |
CN104615451B (en) | A kind of method and device starting application | |
CN106484480A (en) | A kind of determination method of application of attending to anything else, device and terminal | |
CN105872041B (en) | The processing method and processing device of operation object |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190729 Address after: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403 Co-patentee after: Tencent cloud computing (Beijing) limited liability company Patentee after: Tencent Technology (Shenzhen) Co., Ltd. Address before: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403 Patentee before: Tencent Technology (Shenzhen) Co., Ltd. |
|
TR01 | Transfer of patent right |