CN105653394A - Data backup method and device - Google Patents

Data backup method and device Download PDF

Info

Publication number
CN105653394A
CN105653394A CN201410648094.3A CN201410648094A CN105653394A CN 105653394 A CN105653394 A CN 105653394A CN 201410648094 A CN201410648094 A CN 201410648094A CN 105653394 A CN105653394 A CN 105653394A
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.)
Granted
Application number
CN201410648094.3A
Other languages
Chinese (zh)
Other versions
CN105653394B (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410648094.3A priority Critical patent/CN105653394B/en
Publication of CN105653394A publication Critical patent/CN105653394A/en
Application granted granted Critical
Publication of CN105653394B publication Critical patent/CN105653394B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data backup method and device, and belongs to the technical field of computers. The method includes the following steps: receiving a backup request of a first incremental mirror image of a corresponding target virtual machine, wherein the backup request carries a data identification to be filtered; establishing a second incremental mirror image, and copying the other data except data corresponding to the data identification to be filtered to the second incremental mirror image; and perform backup on the data in the second incremental mirror image, and storing the obtained backup data into backup data of the first incremental mirror image. Through the data backup method and device, the flexibility of data backup can be improved.

Description

The method of data backup and device
Technical field
The present invention relates to field of computer technology, in particular to method and the device of a kind of data backup.
Background technology
Along with the development of computer technology, virtual machine is more and more subject to people's attention, virtual machine simulates one by software to have complete hardware system function, operate in the complete computers in a completely isolated environment, virtual machine includes basis mirror image and increment mirror image usually, after virtual machine activation, usually can be operated on increment mirror image, wherein, data in the mirror image of basis are generally a read states, data in the mirror image of basis can be read by each virtual machine created based on this basis mirror image, increment mirror image be for store user to basis mirror image in data modify after data, and the data that user writes in increment mirror image, virtual machine also comprises snapshot image, snapshot image is the mirror image of a kind of mirror image based on increment mirror image. data backup is the important way that virtual machine carries out fast quick-recovery.
Terminal is provided with virtual machine application, for creating and managing virtual machines, also it is provided with the backup application that the increment mirror image in virtual machine backs up, if user needs to be backed up by the increment mirror image in certain virtual machine, then user starts backup application, and click the backup button in this application program, backup application generates should the backup request of increment mirror image, it is sent to virtual machine application, virtual machine application is by all data in this increment mirror image, it is sent to backup application, corresponding data are sent to backup services device by backup application, the Backup Data of corresponding data as this increment mirror image is stored by backup services device.
In the process realizing the present invention, contriver finds that prior art at least exists following problem:
Owing to the data in increment mirror image are generally encrypted state, backup application cannot resolve these data, data can only be carried out overall operation, therefore all data in this increment mirror image can only be backed up by aforesaid method, if when user does not need to back up some data, the object of corresponding data backup cannot be reached by aforesaid method, thus so that the handiness of data backup is poor.
Summary of the invention
In order to solve the problem of prior art, embodiments provide method and the device of a kind of data backup.Described technical scheme is as follows:
First aspect, it provides a kind of method of data backup, described method comprises:
Receive the backup request of the first increment mirror image of corresponding target virtual machine, described backup request carries data to be filtered mark;
Create the 2nd increment mirror image, other data except the data corresponding except described data to be filtered mark in described first increment mirror image are copied in described 2nd increment mirror image;
Data in described 2nd increment mirror image are backed up, is the Backup Data of described first increment mirror image by the backup data store obtained.
Second aspect, it provides the device of a kind of data backup, described device comprises:
Receiver module, for receiving the backup request of the first increment mirror image of corresponding target virtual machine, carries data to be filtered mark in described backup request;
Other data except the data corresponding except described data to be filtered mark in described first increment mirror image, for creating the 2nd increment mirror image, are copied in described 2nd increment mirror image by replication module;
The backup data store obtained, for the data in described 2nd increment mirror image being backed up, is the Backup Data of described first increment mirror image by memory module.
The useful effect that the technical scheme that the embodiment of the present invention provides is brought is:
In the embodiment of the present invention, receive the backup request of the first increment mirror image of corresponding target virtual machine, backup request carries data to be filtered mark, create the 2nd increment mirror image, other data except the data corresponding except data to be filtered mark in first increment mirror image are copied in the 2nd increment mirror image, data in 2nd increment mirror image are backed up, by the Backup Data that the backup data store obtained is the first increment mirror image, like this, by creating blank increment mirror image, with other data except the data of data to be filtered mark correspondence stored in the first increment mirror image, and then reach the object backed up by specific data, thus, the handiness of data backup can be improved.
Accompanying drawing explanation
In order to the technical scheme being illustrated more clearly in the embodiment of the present invention, below the accompanying drawing used required in embodiment being described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of a kind of data backup that the embodiment of the present invention provides;
Fig. 2 is the surface chart of a kind of virtual machine application that the embodiment of the present invention provides;
Fig. 3 is the apparatus structure schematic diagram of a kind of data backup that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of terminal that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Embodiments providing a kind of method of data backup, as shown in Figure 1, the treatment scheme of the method can comprise following step:
Step 101, receives the backup request of the first increment mirror image of corresponding target virtual machine, carries data to be filtered mark in backup request.
Step 102, creates the 2nd increment mirror image, other data except the data corresponding except data to be filtered mark in the first increment mirror image is copied in the 2nd increment mirror image.
Data in 2nd increment mirror image are backed up by step 103, are the Backup Data of the first increment mirror image by the backup data store obtained.
In the embodiment of the present invention, receive the backup request of the first increment mirror image of corresponding target virtual machine, backup request carries data to be filtered mark, create the 2nd increment mirror image, other data except the data corresponding except data to be filtered mark in first increment mirror image are copied in the 2nd increment mirror image, data in 2nd increment mirror image are backed up, by the Backup Data that the backup data store obtained is the first increment mirror image, like this, by creating blank increment mirror image, with other data except the data of data to be filtered mark correspondence stored in the first increment mirror image, and then reach the object backed up by specific data, thus, the handiness of data backup can be improved.
Embodiment two
Embodiments providing a kind of method of data backup, the method can be realized by terminal, and this terminal can be arbitrary terminal, such as desktop computer, notebook computer etc.
Below in conjunction with embodiment, the treatment scheme shown in Fig. 1 being described in detail, content can be as follows:
Step 101, receives the backup request of the first increment mirror image of corresponding target virtual machine, carries data to be filtered mark in backup request.
Wherein, virtual machine be one simulated by software there is complete hardware system function, complete computers in a completely isolated environment that operates in, this local disk in virtual machine can use multiple mirror-image format, such as, raw (without processing), qcow2, VMDK (VMWareVirtualMachineDiskFormat, the virtual disk form of virtual machine VMware) etc., the embodiment of the present invention is described in detail for the mirror-image format of qcow2.
For qcow2 mirror-image format, this local disk of virtual machine generally includes the file of two qcow2 mirror-image format, i.e. basis mirror image and increment mirror image, data in the mirror image of basis are generally a read states, data in increment mirror image are generally can be read to write state, increment mirror image is mainly used in recording and stores user to the amendment of the data in the mirror image of basis, and the data that user writes in increment mirror image, virtual machine can work based on increment mirror image usually, can by user write data and to basis mirror image in data modify after data be stored in increment mirror image.
In enforcement, as shown in Figure 2, terminal can be provided with virtual machine application, for creating virtual machine. if user needs to create virtual machine, then can click the establishment virtual machine button in virtual machine application, terminal generates request to create, terminal can be previously stored with multiple bases mirror image, when terminal receives request to create, user can be pointed out to select a basic mirror image as the basic mirror image of virtual machine from the mirror image of above-mentioned multiple bases by virtual machine application, then, user is progressively guided to carry out subsequent operations, such as, the size of prompting user's input or selection this local disk of virtual machine, point out the position etc. that user selects virtual machine to install, thus complete the establishment process of virtual machine. after virtual machine creating completes, this local disk of virtual machine comprises a basic mirror image and an increment mirror image (i.e. the first increment mirror image), and user can install some software for virtual machine, and corresponding data can be stored in the first increment mirror image. in order to allow the virtual machine can quick-recovery soon when there is fault, or can the virtual machine of the multiple identical configuration of fast creation, the first increment mirror image in virtual machine can be backed up, specifically, terminal can be provided with to the backup application that the increment mirror image in virtual machine backs up, in order to strengthen the experience of user, can the backup function of backup application be incorporated in virtual machine application, the backup function that the embodiment of the present invention incorporates backup application in virtual machine application is described in detail, for the treating processes using backup application to be backed up by the increment mirror image in virtual machine similarly, do not repeat them here, concrete treating processes can be: if user needs to be backed up by the first increment mirror image in current virtual machine (i.e. target virtual machine), then can click backup button, terminal demonstration information input frame, user can input data to be filtered mark in information input frame, such as the title or numbering etc. of data to be filtered, wherein, the data of data to be filtered mark correspondence can be the daily record class data etc. stored in target virtual machine, after having inputted, user can click and determine button, now, terminal can obtain the data to be filtered mark that user inputs in information input frame, generate the backup request of the first increment mirror image of corresponding target virtual machine, terminal can receive this backup request.
Step 102, creates the 2nd increment mirror image, other data except the data corresponding except data to be filtered mark in the first increment mirror image is copied in the 2nd increment mirror image.
Wherein, the basic mirror image that the first increment mirror image is corresponding with the 2nd increment mirror image is identical.
In enforcement, when terminal receives backup request, a blank increment mirror image (i.e. the 2nd increment mirror image) can be created by virtual machine application, first increment mirror image can be previously stored with data and the corresponding relation of data mark, then, terminal can be searched in the above-mentioned corresponding relation of the first increment mirrored storage, obtain the data that data to be filtered mark is corresponding, the data obtained can be marked by terminal, unmarked data are copied in the 2nd increment mirror image, now, 2nd increment mirror image stores other data except the data corresponding except data to be filtered mark in the first increment mirror image.
Can selection of land, the processing mode of above-mentioned steps 102 can be varied, below provide three kinds of optional processing modes, specifically can comprise following three kinds of modes:
Mode one, if target virtual machine is current not based on the first increment mirror image work, then create the 2nd increment mirror image, undertaken the first increment mirror image and the 2nd increment mirror image hanging load, other data except the data corresponding except data to be filtered mark in first increment mirror image are copied in the 2nd increment mirror image, cancels the extension to the 2nd increment mirror image and carry.
Wherein, hang during load refers to and be articulated in terminal by the increment mirror image in virtual machine certain catalogue already present, such as, in the catalogue of the hard disk in terminal.
In enforcement, when terminal receives backup request, terminal can detect target virtual machine currently whether based on the first increment mirror image work, if terminal determines that target virtual machine is not currently in startup state, or target virtual machine currently works based on other increment mirror image except the first increment mirror image, then terminal can create the 2nd increment mirror image by virtual machine application, wherein, 2nd increment mirror image can be blank increment mirror image, owing to virtual machine application does not arrange the function that the data in certain increment mirror image copy another increment mirror image usually, therefore, in order to achieve the above object, first increment mirror image and the 2nd increment mirror image can be hung load by terminal, now, the catalogue of the hard disk in terminal will increase the icon of two hard disks, like this, data in first increment mirror image and the 2nd increment mirror image can be carried out read-write operation by terminal, then, other data except the data corresponding except data to be filtered mark in first increment mirror image can be copied in the 2nd increment mirror image by terminal, after duplication completes, 2nd increment mirror image can be unloaded by terminal from the catalogue of above-mentioned hard disk, now, in the catalogue of hard disk, the icon of the hard disk that the 2nd increment mirror image is corresponding disappears. first increment mirror image can also be unloaded by terminal from the catalogue of above-mentioned hard disk, now, in the catalogue of hard disk the hard disk that the first increment mirror image is corresponding icon disappear, like this, it is possible to make target virtual machine follow-up can based on first increment mirror image work.
Mode two, if target virtual machine is currently based on the first increment mirror image work, then creates the snapshot image of corresponding first increment mirror image, the data in the first increment mirror image is copied in snapshot image, and snapshot image is set to the 3rd increment mirror image; Create the 2nd increment mirror image, undertaken the first increment mirror image and the 2nd increment mirror image hanging load, other data except the data corresponding except data to be filtered mark in the first increment mirror image are copied in the 2nd increment mirror image, cancels the extension to the 2nd increment mirror image and carry.
Wherein, snapshot image is the mirror image of a kind of mirror image based on certain increment mirror image, stores the data after the data in this increment mirror image being modified and the new data etc. of user's write in snapshot image.
In enforcement, if terminal detects that target virtual machine is in working order, and be based on the first increment mirror image work, then terminal can create the snapshot image of the first increment mirror image by virtual machine application, now, target virtual machine turns into working based on snapshot image from based on the first increment mirror image work, then, snapshot image can be set to increment mirror image by terminal, specifically, owing to target virtual machine currently works based on snapshot image, therefore the data in the first increment mirror image and snapshot image can be carried out read-write operation by target virtual machine, like this, data in first increment mirror image can be copied in snapshot image by target virtual machine by terminal, after duplication completes, snapshot image can be revised as the 3rd increment mirror image by terminal, the basic mirror image that 3rd increment mirror image is corresponding with the first increment mirror image is identical.
Terminal can create an increment mirror image (i.e. the 2nd increment mirror image) by virtual machine application, wherein, 2nd increment mirror image can be a blank increment mirror image, then, in the catalogue that first increment mirror image and the 2nd increment mirror image can be mounted in terminal hard disk by terminal, now, data in first increment mirror image and the 2nd increment mirror image can be carried out read-write operation by terminal, like this, other data except the data corresponding except data to be filtered mark in first increment mirror image can be copied in the 2nd increment mirror image by terminal, after duplication completes, 2nd increment mirror image can be unloaded by terminal from the catalogue of above-mentioned hard disk, first increment mirror image can also be unloaded by terminal, space is taken in order to save disk, first increment mirror image can be deleted by user.
Mode three, if target virtual machine is currently based on the first increment mirror image work, then create the snapshot image of corresponding first increment mirror image, first increment mirror image is carried out read-only extension load, and undertaken the 2nd increment mirror image hanging load, other data except the data corresponding except data to be filtered mark in first increment mirror image are copied in the 2nd increment mirror image, cancels the extension to the 2nd increment mirror image and carry; Cancel snapshot image.
Wherein, virtual machine application can be provided with two kinds and hang load mode, such as read-only extension load and extension load. When read-only extension load can be carry out increment mirror image hanging load, terminal can only read the data in increment mirror image, but the data in increment mirror image can not be revised or write data in increment mirror image, carry out the increment mirror image that the virtual machine that the read-only increment mirror image hanging load can be corresponding is using. When extension load can be carry out increment mirror image hanging load, the data in increment mirror image can be carried out read-write operation by terminal, and the increment mirror image carrying out hanging load is generally the increment mirror image not being in using state.
In enforcement, if target virtual machine is currently based on the first increment mirror image work, then terminal can create the snapshot image of the first increment mirror image, now, target virtual machine turns into working based on snapshot image from based on the first increment mirror image work, first increment mirror image is the basic mirror image of snapshot image, data wherein are used by target virtual machine, now, save disk and take space, first increment mirror image can be carried out read-only extension load, simultaneously, can carry out the 2nd increment mirror image hanging load, then, other data except the data corresponding except data to be filtered mark in first increment mirror image can be copied in the 2nd increment mirror image by terminal, after duplication completes, 2nd increment mirror image can be unloaded by terminal, now, first increment mirror image can also be unloaded by terminal, after completing said process, terminal can cancel snapshot image by virtual machine application, specifically, data in first increment mirror image can be copied in snapshot image by terminal, and snapshot image is set to the 3rd increment mirror image, now, target virtual machine works based on the 3rd increment mirror image.
Terminal can not also carry out the process of the cancellation snapshot image in aforesaid way three, then the processing mode of above-mentioned steps 102 can also comprise: if target virtual machine is currently based on the first increment mirror image work, then create the snapshot image of corresponding first increment mirror image, first increment mirror image is carried out read-only extension load, and undertaken the 2nd increment mirror image hanging load, other data except the data corresponding except data to be filtered mark in first increment mirror image are copied in the 2nd increment mirror image, cancels the extension to the 2nd increment mirror image and carry.
The treating processes of above-mentioned steps 102 is except aforesaid way, other modes can also be comprised, such as, terminal can create the snapshot image of corresponding first increment mirror image, data in first increment mirror image are copied in snapshot image, and snapshot image is set to the 3rd increment mirror image, then, can be undertaken the first increment mirror image hanging load, delete the data that the mark of the data to be filtered in the first increment mirror image is corresponding, cancel the extension to the first increment mirror image to carry, treating processes follow-up accordingly can be: the data in the first increment mirror image can be backed up by terminal, by the Backup Data that the backup data store obtained is the first increment mirror image, due to the characteristic of qcow2 mirror-image format, although above-mentioned treatment process deletes some data, but the disk space that the data in the first increment mirror image take does not reduce, for aforesaid way, the disk space that first increment mirror image takies can also be carried out capacity reducing by virtual machine application by terminal, thus reach the effect identical with above-mentioned three kinds of modes.
Data in 2nd increment mirror image are backed up by step 103, are the Backup Data of the first increment mirror image by the backup data store obtained.
In enforcement, terminal can obtain the data in the 2nd increment mirror image, and these data are backed up, obtain Backup Data, user can pre-set the storage address of a Backup Data, after terminal obtains Backup Data, it is possible to by this backup data store in storage area corresponding to above-mentioned storage address.
Can selection of land, backup services device can be set for backup process, corresponding data can be backed up and store by backup services device, accordingly, the treating processes of above-mentioned steps 103 can comprise following content: the backup messages sending the mark carrying data in the 2nd increment mirror image and the first increment mirror image to backup services device, so that the Backup Data of the data in the 2nd increment mirror image as the first increment mirror image is stored by backup services device.
In enforcement, terminal can obtain the mark (title etc. such as the first increment mirror image) of the data in the 2nd increment mirror image and the first increment mirror image, generate backup messages, it is sent to backup services device, when backup services device receives backup messages, it is possible to extracting mark and the data of the first increment mirror image wherein, backup services device can by this mark and this data corresponding stored, thus, backup services device stores the Backup Data of the first increment mirror image. Backup services device can also obtain the mark of basic mirror image corresponding to the first increment mirror image, then, it is possible to is stored by the Backup Data of the data in the data in the basic mirror image of correspondence and the 2nd increment mirror image as target virtual machine.
In the embodiment of the present invention, receive the backup request of the first increment mirror image of corresponding target virtual machine, backup request carries data to be filtered mark, create the 2nd increment mirror image, other data except the data corresponding except data to be filtered mark in first increment mirror image are copied in the 2nd increment mirror image, data in 2nd increment mirror image are backed up, by the Backup Data that the backup data store obtained is the first increment mirror image, like this, by creating blank increment mirror image, with other data except the data of data to be filtered mark correspondence stored in the first increment mirror image, and then reach the object backed up by specific data, thus, the handiness of data backup can be improved.
Embodiment three
Based on identical technical conceive, the embodiment of the present invention additionally provides the device of a kind of data backup, and as shown in Figure 3, this device comprises:
Receiver module 310, for receiving the backup request of the first increment mirror image of corresponding target virtual machine, carries data to be filtered mark in backup request;
Other data except the data corresponding except data to be filtered mark in first increment mirror image, for creating the 2nd increment mirror image, are copied in the 2nd increment mirror image by replication module 320;
The backup data store obtained, for the data in the 2nd increment mirror image being backed up, is the Backup Data of the first increment mirror image by memory module 330.
Can selection of land, replication module 320, for:
If target virtual machine is current not based on the first increment mirror image work, then create the 2nd increment mirror image, undertaken the first increment mirror image and the 2nd increment mirror image hanging load, other data except the data corresponding except data to be filtered mark in first increment mirror image are copied in the 2nd increment mirror image, cancels the extension to the 2nd increment mirror image and carry.
Can selection of land, replication module 320, for:
If target virtual machine currently based on the first increment mirror image work, then creates the snapshot image of corresponding first increment mirror image, the data in the first increment mirror image is copied in snapshot image, and snapshot image is set to the 3rd increment mirror image;
Create the 2nd increment mirror image, undertaken the first increment mirror image and the 2nd increment mirror image hanging load, other data except the data corresponding except data to be filtered mark in the first increment mirror image are copied in the 2nd increment mirror image, cancels the extension to the 2nd increment mirror image and carry.
Can selection of land, replication module 320, for:
If target virtual machine is currently based on the first increment mirror image work, then create the snapshot image of corresponding first increment mirror image, first increment mirror image is carried out read-only extension load, and undertaken the 2nd increment mirror image hanging load, other data except the data corresponding except data to be filtered mark in first increment mirror image are copied in the 2nd increment mirror image, cancels the extension to the 2nd increment mirror image and carry;
Cancel snapshot image.
Can selection of land, memory module 330, for:
The backup messages of the mark carrying data in the 2nd increment mirror image and the first increment mirror image is sent, so that the Backup Data of the data in the 2nd increment mirror image as the first increment mirror image is stored by backup services device to backup services device.
In the embodiment of the present invention, receive the backup request of the first increment mirror image of corresponding target virtual machine, backup request carries data to be filtered mark, create the 2nd increment mirror image, other data except the data corresponding except data to be filtered mark in first increment mirror image are copied in the 2nd increment mirror image, data in 2nd increment mirror image are backed up, by the Backup Data that the backup data store obtained is the first increment mirror image, like this, by creating blank increment mirror image, with other data except the data of data to be filtered mark correspondence stored in the first increment mirror image, and then reach the object backed up by specific data, thus, the handiness of data backup can be improved.
It should be understood that the device of the data backup of above-described embodiment offer is when carrying out data backup, only it is illustrated with the division of above-mentioned each function module, in practical application, can complete by different function modules as required and by above-mentioned functions distribution, it is divided into different function modules, to complete all or part of function described above by the internal structure of terminal. In addition, the device of data backup that above-described embodiment provides and the embodiment of the method for data backup belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Embodiment four
Please refer to Fig. 4, it illustrates the terminal structure schematic diagram involved by the embodiment of the present invention, this terminal may be used for implementing the method for the data backup of offer in above-described embodiment.Specifically:
Terminal 1000 can comprise communication unit 110, the storer 120 including one or more computer-readable recording mediums, input unit 130, display unit 140, sensor 150, voice frequency circuit 160, WIFI (WirelessFidelity, Wireless Fidelity) module 170, include one or the parts such as treater 180 that more than one processes core and power supply 190. It will be appreciated by those skilled in the art that, the restriction of the not structure paired terminal of the terminal structure shown in figure, it is possible to comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged. Wherein:
Communication unit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, this communication unit 110 can be RF (RadioFrequency, radio frequency) circuit, router, modulator-demodulator unit, etc. network communication equipment. especially, when the unit 110 that communicates be RF circuit, after the reception of the downlink information of base station, transfer to one or more than one treater 180 processes, in addition, the data relating to upper row are sent to base station. usually, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more vibrator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA (LowNoiseAmplifier, low-noise amplifier), duplexer etc. in addition, communicating unit 110 can also by radio communication and network and other devices communicating. described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (GlobalSystemofMobilecommunication, global system for mobile communications), GPRS (GeneralPacketRadioService, general packet radio service), CDMA (CodeDivisionMultipleAccess, code division multple access), WCDMA (WidebandCodeDivisionMultipleAccess, the many locations of wideband code division), LTE (LongTermEvolution, long-term evolution), e-mail, SMS (ShortMessagingService, Short Message Service) etc. storer 120 can be used for storing software program and module, and treater 180 is stored in software program and the module of storer 120 by running, thus performs the application of various function and data processing. storer 120 can mainly comprise storage program district and store data field, wherein, stores program district and can store the application program needed for operating system, at least one function (such as sound-playing function, image player function etc.) etc., store the data (such as audio frequency data, phone directory etc.) etc. that data field can store the use according to terminal 1000 and create. in addition, storer 120 can comprise high-speed random access memory, it is also possible to comprises nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts. correspondingly, storer 120 can also comprise storer controller, to provide treater 180 and input unit 130 to the access of storer 120.
Input unit 130 can be used for receiving numeral or the character information of input, and produces to arrange with user and function controls relevant keyboard, mouse, operating stick, optics or track ball signal input. Preferably, input unit 130 and can comprise touch-sensitive surperficial 131 and other input units 132. Touch-sensitive surperficial 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses finger, touch any applicable object such as pen or the operation of annex on touch-sensitive surperficial 131 or near touch-sensitive surperficial 131) thereon, and drive corresponding coupling device according to the formula set in advance.Optionally, touch-sensitive surperficial 131 can comprise touch detecting apparatus and touch controller two parts. Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, send signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives treater 180, and can the order sent of receiving processor 180 and performed. In addition, it is possible to adopt the broad varietys such as resistance-type, condenser type, infrared rays and surface acoustic wave to realize touch-sensitive surperficial 131. Except touch-sensitive surperficial 131, input unit 130 can also comprise other input units 132. Preferably, other input units 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), track ball, mouse, operating stick etc.
Display unit 140 can be used for showing the various graphical user interface of information or the information being supplied to user and the terminal 1000 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its arbitrary combination. Display unit 140 can comprise display panel 141, optionally, the form such as LCD (LiquidCrystalDisplay, liquid-crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display panel 141. Further, touch-sensitive surperficial 131 can cover display panel 141, when touch-sensitive surperficial 131 detect thereon or after neighbouring touch operation, send treater 180 to determine the type of touch event, provide corresponding vision to export with preprocessor 180 on display panel 141 according to the type of touch event. Although in the example shown, touch-sensitive surperficial 131 is realize input and input function as two independent parts with display panel 141, but in certain embodiments, it is possible to integrated and realize input and output function with display panel 141 by touch-sensitive surperficial 131.
Terminal 1000 also can comprise at least one sensor 150, such as optical sensor, motion-sensing device and other sensors. Optical sensor can comprise ambient light sensor and close to sensor, wherein, ambient light sensor can regulate the brightness of display panel 141 according to the light and shade of environment light, when terminal 1000 moves in one's ear, can close display panel 141 and/or backlight close to sensor. As the one of motion-sensing device, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, size and the direction of gravity can be detected out time static, can be used for identifying the application (such as anyhow shielding switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for other sensors such as the also configurable gyrostat of terminal 1000, weather gauge, wet bulb thermometer, thermometer, infrared sensors, do not repeat them here.
Voice frequency circuit 160, loud speaker 161, microphone 162 can provide the audio frequency interface between user and terminal 1000. Voice frequency circuit 160 the audio frequency data that receive can be changed after electrical signal, be transferred to loud speaker 161, be converted to voice signal by loud speaker 161 and export; On the other hand, the voice signal of collection is converted to electrical signal by microphone 162, audio frequency data are converted to after receiving by voice frequency circuit 160, after again audio frequency data output processing device 180 being processed, through RF circuit 110 to be sent to such as another terminal, or export audio frequency data to storer 120 to process further.Voice frequency circuit 160 also may comprise earphone jack, to provide peripheral hardware earphone and the communication of terminal 1000.
In order to realize radio communication, this terminal can being configured with wireless communication unit 170, this wireless communication unit 170 can be WIFI module. WIFI belongs to short range wireless transmission technology, and terminal 1000 can help user to send and receive e-mail by wireless communication unit 170, browse webpage and access streaming media etc., and its broadband internet wireless for user provides is accessed. Although there is shown wireless communication unit 170, it should be understood that, it does not belong to must forming of terminal 1000, can omit in the scope not changing disclosed essence as required completely.
Treater 180 is the control center of terminal 1000, utilize various interface and each part of the whole mobile phone of connection, by running or perform the software program that is stored in storer 120 and/or module, and call the data being stored in storer 120, perform various function and the process data of terminal 1000, thus mobile phone is carried out integral monitoring. Optionally, treater 180 can comprise one or more process core; Preferably, treater 180 can Integrated predict model treater and modem processor, wherein, answer purpose processor mainly to process operating system, user interface and application program etc., modem processor mainly processes radio communication. It should be appreciated that above-mentioned modem processor can not also be integrated in treater 180.
Terminal 1000 also comprises to the power supply 190 (such as battery) that each parts are powered, preferably, power supply can be connected with treater 180 logic by power-supply management system, thus realized the functions such as management charging, electric discharge and power managed by power-supply management system. Power supply 190 can also comprise one or more direct current or AC power, recharges system, power failure detection circuit, Power convert device or the random component such as invertor, power supply status indicator.
Although not illustrating, terminal 1000 can also comprise camera, bluetooth module etc., does not repeat them here. In the present embodiment, terminal also includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to perform the instruction containing the method for carrying out disclosure embodiment offer of described or more than one routine package by one or more than one treater:
Receive the backup request of the first increment mirror image of corresponding target virtual machine, backup request carries data to be filtered mark;
Create the 2nd increment mirror image, other data except the data corresponding except data to be filtered mark in the first increment mirror image are copied in the 2nd increment mirror image;
Data in 2nd increment mirror image are backed up, is the Backup Data of the first increment mirror image by the backup data store obtained.
Can selection of land, create the 2nd increment mirror image, other data except the data corresponding except data to be filtered mark in the first increment mirror image copied in the 2nd increment mirror image, comprising:
If target virtual machine is current not based on the first increment mirror image work, then create the 2nd increment mirror image, undertaken the first increment mirror image and the 2nd increment mirror image hanging load, other data except the data corresponding except data to be filtered mark in first increment mirror image are copied in the 2nd increment mirror image, cancels the extension to the 2nd increment mirror image and carry.
Can selection of land, create the 2nd increment mirror image, other data except the data corresponding except data to be filtered mark in the first increment mirror image copied in the 2nd increment mirror image, comprising:
If target virtual machine currently based on the first increment mirror image work, then creates the snapshot image of corresponding first increment mirror image, the data in the first increment mirror image is copied in snapshot image, and snapshot image is set to the 3rd increment mirror image;
Create the 2nd increment mirror image, undertaken the first increment mirror image and the 2nd increment mirror image hanging load, other data except the data corresponding except data to be filtered mark in the first increment mirror image are copied in the 2nd increment mirror image, cancels the extension to the 2nd increment mirror image and carry.
Can selection of land, create the 2nd increment mirror image, other data except the data corresponding except data to be filtered mark in the first increment mirror image copied in the 2nd increment mirror image, comprising:
If target virtual machine is currently based on the first increment mirror image work, then create the snapshot image of corresponding first increment mirror image, first increment mirror image is carried out read-only extension load, and undertaken the 2nd increment mirror image hanging load, other data except the data corresponding except data to be filtered mark in first increment mirror image are copied in the 2nd increment mirror image, cancels the extension to the 2nd increment mirror image and carry;
Cancel snapshot image.
Can selection of land, the data in the 2nd increment mirror image are backed up, are the Backup Data of the first increment mirror image by the backup data store obtained, comprising:
The backup messages of the mark carrying data in the 2nd increment mirror image and the first increment mirror image is sent, so that the Backup Data of the data in the 2nd increment mirror image as the first increment mirror image is stored by backup services device to backup services device.
In the embodiment of the present invention, receive the backup request of the first increment mirror image of corresponding target virtual machine, backup request carries data to be filtered mark, create the 2nd increment mirror image, other data except the data corresponding except data to be filtered mark in first increment mirror image are copied in the 2nd increment mirror image, data in 2nd increment mirror image are backed up, by the Backup Data that the backup data store obtained is the first increment mirror image, like this, by creating blank increment mirror image, with other data except the data of data to be filtered mark correspondence stored in the first increment mirror image, and then reach the object backed up by specific data, thus, the handiness of data backup can be improved.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be completed by hardware, can also be completed by the hardware that program carrys out instruction relevant, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage media mentioned can be read-only storage, disk or CD etc.
The foregoing is only the better embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment of doing, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the method for a data backup, it is characterised in that, described method comprises:
Receive the backup request of the first increment mirror image of corresponding target virtual machine, described backup request carries data to be filtered mark;
Create the 2nd increment mirror image, other data except the data corresponding except described data to be filtered mark in described first increment mirror image are copied in described 2nd increment mirror image;
Data in described 2nd increment mirror image are backed up, is the Backup Data of described first increment mirror image by the backup data store obtained.
2. method according to claim 1, it is characterised in that, other data except the data corresponding except described data to be filtered mark in described first increment mirror image are copied in described 2nd increment mirror image, comprise by described establishment the 2nd increment mirror image:
If described target virtual machine is current not based on described first increment mirror image work, then create the 2nd increment mirror image, undertaken described first increment mirror image and described 2nd increment mirror image hanging load, other data except the data corresponding except described data to be filtered mark in described first increment mirror image are copied in described 2nd increment mirror image, cancels the extension to described 2nd increment mirror image and carry.
3. method according to claim 1, it is characterised in that, other data except the data corresponding except described data to be filtered mark in described first increment mirror image are copied in described 2nd increment mirror image, comprise by described establishment the 2nd increment mirror image:
If described target virtual machine is currently based on described first increment mirror image work, then create the snapshot image of corresponding described first increment mirror image, data in described first increment mirror image are copied in described snapshot image, and described snapshot image is set to the 3rd increment mirror image;
Create the 2nd increment mirror image, undertaken described first increment mirror image and described 2nd increment mirror image hanging load, other data except the data corresponding except described data to be filtered mark in described first increment mirror image are copied in described 2nd increment mirror image, cancels the extension to described 2nd increment mirror image and carry.
4. method according to claim 1, it is characterised in that, other data except the data corresponding except described data to be filtered mark in described first increment mirror image are copied in described 2nd increment mirror image, comprise by described establishment the 2nd increment mirror image:
If described target virtual machine is currently based on described first increment mirror image work, then create the snapshot image of corresponding described first increment mirror image, described first increment mirror image is carried out read-only extension load, and undertaken described 2nd increment mirror image hanging load, other data except the data corresponding except described data to be filtered mark in described first increment mirror image are copied in described 2nd increment mirror image, cancels the extension to described 2nd increment mirror image and carry;
Cancel described snapshot image.
5. method according to claim 1, it is characterised in that, described data in described 2nd increment mirror image are backed up, it is the Backup Data of described first increment mirror image by the backup data store obtained, comprising:
The backup messages of the mark carrying data in described 2nd increment mirror image and described first increment mirror image is sent, so that the Backup Data of the data in described 2nd increment mirror image as described first increment mirror image is stored by described backup services device to backup services device.
6. the device of a data backup, it is characterised in that, described device comprises:
Receiver module, for receiving the backup request of the first increment mirror image of corresponding target virtual machine, carries data to be filtered mark in described backup request;
Other data except the data corresponding except described data to be filtered mark in described first increment mirror image, for creating the 2nd increment mirror image, are copied in described 2nd increment mirror image by replication module;
The backup data store obtained, for the data in described 2nd increment mirror image being backed up, is the Backup Data of described first increment mirror image by memory module.
7. device according to claim 6, it is characterised in that, described replication module, for:
If described target virtual machine is current not based on described first increment mirror image work, then create the 2nd increment mirror image, undertaken described first increment mirror image and described 2nd increment mirror image hanging load, other data except the data corresponding except described data to be filtered mark in described first increment mirror image are copied in described 2nd increment mirror image, cancels the extension to described 2nd increment mirror image and carry.
8. device according to claim 6, it is characterised in that, described replication module, for:
If described target virtual machine is currently based on described first increment mirror image work, then create the snapshot image of corresponding described first increment mirror image, data in described first increment mirror image are copied in described snapshot image, and described snapshot image is set to the 3rd increment mirror image;
Create the 2nd increment mirror image, undertaken described first increment mirror image and described 2nd increment mirror image hanging load, other data except the data corresponding except described data to be filtered mark in described first increment mirror image are copied in described 2nd increment mirror image, cancels the extension to described 2nd increment mirror image and carry.
9. device according to claim 6, it is characterised in that, described replication module, for:
If described target virtual machine is currently based on described first increment mirror image work, then create the snapshot image of corresponding described first increment mirror image, described first increment mirror image is carried out read-only extension load, and undertaken described 2nd increment mirror image hanging load, other data except the data corresponding except described data to be filtered mark in described first increment mirror image are copied in described 2nd increment mirror image, cancels the extension to described 2nd increment mirror image and carry;
Cancel described snapshot image.
10. device according to claim 6, it is characterised in that, described memory module, for:
The backup messages of the mark carrying data in described 2nd increment mirror image and described first increment mirror image is sent, so that the Backup Data of the data in described 2nd increment mirror image as described first increment mirror image is stored by described backup services device to backup services device.
CN201410648094.3A 2014-11-14 2014-11-14 The method and apparatus of data backup Active CN105653394B (en)

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 true CN105653394A (en) 2016-06-08
CN105653394B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708658A (en) * 2016-11-29 2017-05-24 维沃移动通信有限公司 Data backup method, mobile terminal and storage server
CN113127430A (en) * 2019-12-30 2021-07-16 北京懿医云科技有限公司 Mirror image information processing method and device, computer readable medium and electronic equipment
CN114328018A (en) * 2021-12-28 2022-04-12 阿里巴巴(中国)有限公司 Snapshot creating method, computing device and storage medium
CN115756968A (en) * 2022-12-02 2023-03-07 龙刚(烟台)科技咨询有限公司 Network-based data backup method and system and cloud platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100049753A1 (en) * 2005-12-19 2010-02-25 Commvault Systems, Inc. Systems and methods for monitoring application data in a data replication system
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100049753A1 (en) * 2005-12-19 2010-02-25 Commvault Systems, Inc. Systems and methods for monitoring application data in a data replication system
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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708658A (en) * 2016-11-29 2017-05-24 维沃移动通信有限公司 Data backup method, mobile terminal and storage server
CN106708658B (en) * 2016-11-29 2018-12-04 维沃移动通信有限公司 A kind of data back up method, mobile terminal and storage server
CN113127430A (en) * 2019-12-30 2021-07-16 北京懿医云科技有限公司 Mirror image information processing method and device, computer readable medium and electronic equipment
CN113127430B (en) * 2019-12-30 2024-05-03 北京懿医云科技有限公司 Mirror image information processing method, mirror image information processing device, computer readable medium and electronic equipment
CN114328018A (en) * 2021-12-28 2022-04-12 阿里巴巴(中国)有限公司 Snapshot creating method, computing device and storage medium
CN115756968A (en) * 2022-12-02 2023-03-07 龙刚(烟台)科技咨询有限公司 Network-based data backup method and system and cloud platform

Also Published As

Publication number Publication date
CN105653394B (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN103472906A (en) Method and device for switching double screens of terminal, and terminal equipment
CN104298666B (en) Webpage sharing method and device
CN104951212A (en) Method, device and system for processing desktop data of mobile terminal
CN105302408A (en) Method and apparatus for adjusting position of hover button and terminal
CN104951179A (en) Method and device for refreshing page
CN103747130B (en) A kind of control method of terminal equipment and device
CN103455603A (en) Method and device for caching webpage content and loading webpage and terminal device
CN104252341A (en) Method and device for resurfacing application program and client side device of application program
CN104850406A (en) Page switching method and device
CN104142868A (en) Connection establishment method and device
CN104301315A (en) Method and device for limiting information access
CN106951161A (en) A kind of information processing method and electronic equipment
CN104915091A (en) Method and device for displaying status bar prompt message
CN103269374A (en) Method, device and equipment for recording synchronization
CN105224556A (en) Waterfall stream interface display packing and device
CN104166646B (en) A kind of method and apparatus for inputting uniform resource locator
CN103488392A (en) Editing method and device used for editable content of touch screen, and terminal
CN103631625A (en) Data acquisition method, user terminal, server and system
CN108090345A (en) Linux system external command performs method and device
CN104991699A (en) Video display control method and apparatus
CN105653394A (en) Data backup method and device
CN103533139B (en) Data management method and device of multi-card user and mobile terminal
CN103399657A (en) Mouse pointer control method, device and terminal device
CN105095259A (en) Waterfall flow object display method and device
CN103631592A (en) Configuration method, calling method, device and equipment for displaying resources

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