CN108874585A - File backup method, apparatus and system - Google Patents

File backup method, apparatus and system Download PDF

Info

Publication number
CN108874585A
CN108874585A CN201810517171.XA CN201810517171A CN108874585A CN 108874585 A CN108874585 A CN 108874585A CN 201810517171 A CN201810517171 A CN 201810517171A CN 108874585 A CN108874585 A CN 108874585A
Authority
CN
China
Prior art keywords
data
server
identifier
image data
terminals
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
CN201810517171.XA
Other languages
Chinese (zh)
Other versions
CN108874585B (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.)
Nanjing Yunxinda Technology Co., Ltd.
Original Assignee
Beijing Polar Second Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Polar Second Technology Co Ltd filed Critical Beijing Polar Second Technology Co Ltd
Priority to CN201810517171.XA priority Critical patent/CN108874585B/en
Publication of CN108874585A publication Critical patent/CN108874585A/en
Application granted granted Critical
Publication of CN108874585B publication Critical patent/CN108874585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This disclosure relates to a kind of file backup method, apparatus and system.The method includes:The incremental data for running on the target virtual machine of target terminal is obtained according to the first instruction that first server is sent;Processing incremental data obtains multiple fragment datas and the corresponding first identifier of each fragment data, sends each first identifier to first server;Multiple fragment datas are stored to second server;When detecting that multiple fragment datas have been stored to second server, the second instruction is sent to first server, obtains Image Data to indicate that first server recombinates multiple fragment datas according to first identifier, and Image Data are stored to second server.Pass through the cooperation between back-up terminals, first server and second server, it is not necessarily to carry out integration of equipments and the system maintenance of redundancy for target terminal and different public clouds according to the file backup method of the embodiment of the present disclosure, apparatus and system, it is easy to use, be conducive to the efficiency for improving Backup Data.

Description

File backup method, apparatus and system
Technical field
This disclosure relates to field of computer technology more particularly to a kind of file backup method, apparatus and system.
Background technique
With gradualling mature for cloud computing technology, more and more users are gradually their local data to cloud Transfer.Convenience, reliability and the almost limitless ductility for making full use of cloud to store, gradually decrease to local data The dependence at center and self-built computer room.
In the related technology, enterprise generallys use following system backup mode.Self-built computer room:Private computer equipment is carried out Unified management and use, enterprises shared system resource, the data of share storage;Self-built private clound:By the privately owned calculating of enterprise Machine equipment is virtualized into private clound, to make full use of the value of enterprise's private computer equipment, improves utilization rate, unified user Formula, data are completely stored in inside the private clound of oneself, protect the safety of data assets;Using public cloud storing data, with Public cloud it is gradual mature and stablize, under cost advantage and enough safety assurances, enterprise gradually the application of oneself and Core data is stored to public cloud, thus realize that oneself is only responsible for the main business of profession, and the O&M work of computer equipment Make all trustships to public cloud.
But when carrying out system backup using the modes such as self-built computer room and self-built private clound, entire standby system has backup Software, server, storage and filing system are constituted, and system is complicated, module is more, and different components are generally required to different suppliers Buying is related to complicated buying and system integration work, generally requires professional or service provider completes, server is built Very big manpower and financial resources will be expended with O&M;In actual operation, it needs to reserve more resource in the server, once it needs Dilatation works the buying that can be related to multiple complexity again and the system integration, time-consuming and laborious.System backup is carried out using public cloud When, it needs to increase the complexity of system backup in face of different public clouds.
Summary of the invention
In view of this, the present disclosure proposes a kind of file backup methods, apparatus and system.
According to the one side of the disclosure, a kind of file backup method is provided, the method is applied to back-up terminals, special Sign is, including:
The incremental data for running on the target virtual machine of target terminal is obtained according to the first instruction that first server is sent;
The incremental data is handled to obtain multiple fragment datas and the corresponding first identifier of each fragment data, And each first identifier is sent to the first server;
The multiple fragment data is stored to second server, wherein the storage address of each fragment data and each The first identifier of the fragment data is corresponding;
When detecting that the multiple fragment data has been stored to the second server, sent out to the first server The second instruction is sent, obtains Number of Images to indicate that the first server recombinates the multiple fragment data according to the first identifier According to, and the Image Data are stored to second server.
In one possible implementation, the instruction first server is according to first identifier recombination Multiple fragment datas obtain Image Data, and the Image Data are stored to second server, including:
Indicate that the first server obtains the corresponding fragment data of each first identifier, weight from the second server Each the multiple fragment data of group obtains Image Data, and assigns second identifier to the Image Data;By the Image Data It stores to the second server, wherein the storage address of Image Data second identifier corresponding with the Image Data It is corresponding.
In one possible implementation, the method also includes:
In the third instruction for restoring the incremental data for receiving first server transmission, third instruction is obtained The second identifier of the corresponding Image Data of the incremental data of carrying;It is corresponding to obtain second identifier described in the second server The Image Data;The Image Data are sent to the target terminal, so that the target terminal is according to the Image Data Generate the corresponding virtual machine of the Image Data.
According to another aspect of the present disclosure, a kind of file backup method is provided, the method is applied to first server, Including:
The first instruction is sent to back-up terminals, to indicate that the back-up terminals acquisition runs on the destination virtual of target terminal The incremental data of machine;
Receive the corresponding first identifier of each fragment data in multiple fragment datas that back-up terminals are sent, wherein described Multiple fragment datas are that the back-up terminals handle to obtain data according to the incremental data;
When receiving the second instruction that the back-up terminals are sent, the multiple segment is recombinated according to the first identifier Data obtain Image Data, and the Image Data are stored to second server.
In one possible implementation, the multiple fragment data is recombinated according to the first identifier and obtains Number of Images According to, and the Image Data are stored to second server, including:
The corresponding fragment data of each first identifier is obtained from second server according to each first identifier, In, the storage address of each fragment data first identifier corresponding with each fragment data is corresponding;
It recombinates the multiple fragment data and obtains Image Data, and assign second identifier to the Image Data;
The Image Data are stored to the second server, wherein the storage address of the Image Data with it is described The corresponding second identifier of Image Data is corresponding.
In one possible implementation, the method also includes:
When detecting the operation for restoring the incremental data, it is corresponding that carrying incremental data is sent to the back-up terminals The third of the second identifier of Image Data instructs, to indicate that the back-up terminals obtain the second mark described in the second server Know corresponding Image Data, the Image Data are sent to the target terminal, so that the target terminal is reflected according to As data generate the corresponding virtual machine of the Image Data.
In one possible implementation, the first server includes one or more servers.
According to another aspect of the present disclosure, a kind of file backup device is provided, described device is applied to back-up terminals, packet It includes:
First obtains module, and the first instruction for being sent according to first server obtains the target for running on target terminal The incremental data of virtual machine;
Processing module obtains multiple fragment datas and each fragment data pair for being handled the incremental data The first identifier answered, and each first identifier is sent to the first server;
Memory module, for storing the multiple fragment data to second server, wherein each fragment data Storage address is corresponding with the first identifier of each fragment data;
First sending module, for when detecting that the multiple fragment data has been stored to the second server, The second instruction is sent to the first server, to indicate that the first server is the multiple according to first identifier recombination Fragment data obtains Image Data, and the Image Data are stored to second server.
In one possible implementation, first sending module includes:
It indicates submodule, is used to indicate the first server from the second server and obtains each first identifier pair The fragment data answered recombinates each the multiple fragment data and obtains Image Data, and assigns second identifier to the Image Data; The Image Data are stored to the second server, wherein the storage address of the Image Data and the Image Data Corresponding second identifier is corresponding.
In one possible implementation, described device further includes:
Second obtains module, for referring in the third for restoring the incremental data for receiving first server transmission When enabling, the second identifier for the corresponding Image Data of incremental data that third instruction carries is obtained;
Third obtains module, for obtaining the corresponding Image Data of second identifier described in the second server;
Second sending module, for sending the Image Data to the target terminal so that the target terminal according to The Image Data generate the corresponding virtual machine of the Image Data.
According to another aspect of the present disclosure, a kind of file backup device is provided, described device is applied to first server, Including:
Third sending module, for sending the first instruction to back-up terminals, to indicate that the back-up terminals acquisition is run on The incremental data of the target virtual machine of target terminal;
Receiving module is marked for receiving each fragment data corresponding first in multiple fragment datas that back-up terminals are sent Know, wherein the multiple fragment data is that the back-up terminals handle to obtain data according to the incremental data;
Recombination module, when for being instructed receive the back-up terminals transmission second, according to the first identifier weight The multiple fragment data of group obtains Image Data, and the Image Data are stored to second server.
In one possible implementation, the recombination module includes:
Acquisition submodule, it is corresponding for obtaining each first identifier from second server according to each first identifier Fragment data, wherein the storage address of each fragment data first identifier corresponding with each fragment data is corresponding;
Submodule is recombinated, obtains Image Data for recombinating the multiple fragment data, and assign to the Image Data Second identifier;
Sub-module stored, for storing the Image Data to the second server, wherein the Image Data Storage address second identifier corresponding with the Image Data is corresponding.
In one possible implementation, described device further includes:
4th sending module, for being sent to the back-up terminals when detecting the operation for restoring the incremental data The third instruction of the second identifier of the corresponding Image Data of incremental data is carried, to indicate that the back-up terminals obtain described second The Image Data are sent to the target terminal, so that described by the corresponding Image Data of second identifier described in server Target terminal generates the corresponding virtual machine of the Image Data according to the Image Data.
In one possible implementation, the first server includes one or more servers.
According to another aspect of the present disclosure, a kind of file backup system is provided, which includes:
Target virtual machine generates incremental data to be backed up during running on target terminal;
Second server stores the incremental data for backing up;
Back-up terminals are connected with the target terminal and second server respectively, be configured as perform claim require 1 to Method described in any one of 3;
First server is connect with the back-up terminals, is configured as perform claim and is required described in any one of 4 to 7 Method.
According to another aspect of the present disclosure, a kind of file backup device is provided, including:Processor;It is handled for storage The memory of device executable instruction;Wherein, the processor is configured to executing the above method.
According to another aspect of the present disclosure, a kind of non-volatile computer readable storage medium storing program for executing is provided, is stored thereon with Computer program instructions, wherein the computer program instructions realize the above method when being executed by processor.
The disclosure passes through the cooperation between back-up terminals, first server for the incremental number of the target virtual machine of target terminal According to second server is backed up to, target terminal is realized to data backup end to end between second server, without in order to standby Part data are that target terminal additionally adds equipment or additionally reserves resource, low in cost and will not result in waste of resources;Data Storage and obtaining completed by back-up terminals, target terminal is without directly carrying out data backup, therefore nothing with second server Target terminal is needed to carry out the integrated and maintenance of redundancy to second server, it is easy to use, be conducive to the efficiency for improving Backup Data. Also, in the disclosure, the control data flow between back-up terminals and first server is independently of back-up terminals and second server Backup Data stream, effectively avoid controlling interference of the data to Backup Data in backup procedure, be conducive to ensure Backup Data Safety and reliability.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become It is clear.
Detailed description of the invention
Comprising in the description and constituting the attached drawing of part of specification and specification together illustrates the disclosure Exemplary embodiment, feature and aspect, and for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of file backup method shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of file backup method shown according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of file backup method shown according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of file backup method shown according to an exemplary embodiment.
Fig. 5 is a kind of schematic diagram of the file backup system shown according to an exemplary embodiment in use state.
Fig. 6 is a kind of block diagram of file backup device shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of file backup device shown according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of file backup device shown according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of file backup device shown according to an exemplary embodiment.
Figure 10 is a kind of block diagram of file backup device shown according to an exemplary embodiment.
Figure 11 is a kind of block diagram of file backup device shown according to an exemplary embodiment.
Specific embodiment
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.It is identical in attached drawing Appended drawing reference indicate element functionally identical or similar.Although the various aspects of embodiment are shown in the attached drawings, remove It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, giving numerous details in specific embodiment below to better illustrate the disclosure. It will be appreciated by those skilled in the art that without certain details, the disclosure equally be can be implemented.In some instances, for Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight the purport of the disclosure.
Fig. 1 is a kind of flow chart of file backup method shown according to an exemplary embodiment.This method can be applied In back-up terminals, wherein the back-up terminals can be integrated machine, desktop computer or notebook etc., it is not limited here.Such as Fig. 1 Shown, this method may include:
Step 100, the target virtual machine for running on target terminal is obtained according to the first instruction that first server is sent Incremental data.
In one possible implementation, virtual machine (Virtual Machine) can be expressed as, and be simulated by software With complete hardware system function, operate in complete computer in a completely isolated environment.In target terminal Can run one or more virtual machines, target terminal can include but is not limited to it is following any one:All-in-one machine, desktop computer Or notebook etc..
Wherein, first server can be Cloud Server.First server can be used for controlling back-up terminals backup or extensive The incremental data of complicated target virtual machine.First server can be equipped with administration interface, and user can pass through administration interface and first Server interacts.It in one possible implementation, may include multiple first servers, multiple first server It can be set in the same apparatus, can also be separately positioned in different equipment, it is not limited here.
In one possible implementation, back-up terminals and first server can be integrated into an equipment, this sets It is standby to can be set in the private network of user, it is communicated by the private network of user with the target terminal of user.
In one possible implementation, incremental data can be expressed as, and the same target virtual machine is later standby Part time point generates the data of variation relative to it in the point of BACKUP TIME earlier.
In one possible implementation, a back-up terminals can connect multiple target terminals.For example, each target Terminal can possess unique identification (such as can be the Internet protocol address of target terminal), and the first instruction, which can carry, to be directed to The unique identification of the target terminal, back-up terminals can determine that the unique identification is corresponding according to the unique identification in the first instruction Target terminal.In this way, can be further reduced for target terminal carry out data backup alternate device quantity, reduce at This.
Step 101, the incremental data is handled to obtain multiple fragment datas and each fragment data is corresponding First identifier, and each first identifier is sent to the first server.
In one possible implementation, it can according to need select the character of suitable type as fragment data One mark, as long as the first identifier can play unique function of distinguishing different fragments data, it is not limited here.Example Such as, the corresponding first identifier of fragment data can the fragment data is obtained by hash algorithm according to cryptographic Hash.
Stripping and slicing, duplicate removal, compression and unrest can be carried out to incremental data for back-up terminals by handling the incremental data Sequence etc., first identifier of the cryptographic Hash as fragment data that then back-up terminals will carry out Hash operation acquisition to fragment data.
First server can establish the standby of multiple back-up jobs corresponding with first identifier after receiving first identifier Part state, and the Status of Backups can be embodied in administration interface, so that the progress that user can be backed up with monitoring data.
Step 102, the multiple fragment data is stored to second server, wherein the storage of each fragment data Address is corresponding with the first identifier of each fragment data.
In one possible implementation, second server can be the publicly-owned Cloud Server that service provider provides, for example, Data center etc..Second server can be used for storing the incremental data to be backed up of target virtual machine.
It in one possible implementation, may include multiple second servers, the system of multiple second server Framework can be different, can also be partly or entirely identical.
Application programming interfaces corresponding with each second server can be preset in first server and back-up terminals (API, Application Programming Interface) so that first server and back-up terminals can respectively with Each second server is communicated.Wherein, application programming interfaces can be expressed as the linking of software systems difference component part Agreement.In this way, it is not necessary that target terminal and multiple second servers are carried out the system integration and maintenance, can by back-up terminals, Cooperation between first server and second server realizes target terminal to data end to end between second server Backup.
Step 103, when detecting that the multiple fragment data has been stored to the second server, to described first Server sends the second instruction, is obtained with indicating that the first server recombinates the multiple fragment data according to the first identifier It stores to Image Data, and by the Image Data to second server.
Generally, Image Data are referred to as image file (image), can be expressed as source money to be backed up in the future Material is stored to formation on the storage mediums such as hard disk after format is converted to source material information complete copy.
For example, if incremental data progress stripping and slicing is obtained multiple fragment datas, wherein each fragment data may include increasing It measures the segment of data and identifies the sequence identification of the time sequencing of the fragment data cutting, then recombinate multiple fragment datas and reflected As data may include successively combining the segment for the incremental data that each fragment data includes according to the sequence identification of each fragment data Obtain Image Data.
In a kind of example, back-up terminals can be communicated with target terminal, back-up terminals, first server and second service It can be in communication with each other between device.Wherein, above-mentioned communication mode can be wire communication and be also possible to wirelessly communicate, and not limit herein It is fixed.
Back-up terminals can receive the first instruction of first server transmission, and according to first command detection and obtain fortune Row is in the incremental data of the target virtual machine of target terminal.When getting incremental data, back-up terminals can be to the incremental number Multiple fragment datas are obtained according to (such as the processing such as stripping and slicing, duplicate removal, compression and random ordering can be carried out to incremental data) is handled And the corresponding first identifier of each fragment data, and by the corresponding first identifier of multiple fragment data (such as first identifier Can be the corresponding cryptographic Hash of multiple fragment data) it is sent to first server.Back-up terminals pass multiple fragment data It is defeated and store to second server, and can be when detecting that multiple fragment data has been stored to second server, to One server sends the second instruction, to indicate that the first server recombinates the multiple fragment data according to the first identifier Image Data are obtained, and the Image Data are stored to second server.
The disclosure passes through the cooperation between back-up terminals, first server for the incremental number of the target virtual machine of target terminal According to second server is backed up to, target terminal is realized to data backup end to end between second server, without in order to standby Part data are that target terminal additionally adds equipment or additionally reserves resource, low in cost and will not result in waste of resources;Data Storage and obtaining completed by back-up terminals, target terminal is without directly carrying out data backup, therefore nothing with second server Target terminal is needed to carry out the integrated and maintenance of redundancy to second server, it is easy to use, be conducive to the efficiency for improving Backup Data. Also, in the disclosure, the control data flow between back-up terminals and first server is independently of back-up terminals and second server Backup Data stream, effectively avoid controlling interference of the data to Backup Data in backup procedure, be conducive to ensure Backup Data Safety and reliability.
As an example of the present embodiment, step 202 may include:Indicate the first server from second clothes Business device obtains the corresponding fragment data of each first identifier, recombinates each the multiple fragment data and obtains Image Data, and is right The Image Data assign second identifier.The Image Data are stored to the second server, wherein the Image Data Storage address second identifier corresponding with the Image Data it is corresponding.
For example, the corresponding first identifier of each fragment data can be used as each fragment data depositing in second server Store up address.First server can obtain each when receiving the second instruction according to each first identifier from second server The corresponding fragment data of one mark, and multiple fragment data is recombinated to obtain Image Data, and assign the Image Data Give second identifier (such as second identifier can be the cryptographic Hash of the Image Data).Image Data are stored to the second service Device, wherein the storage address of the Image Data can be the corresponding second identifier of the Image Data.
In one possible implementation, it can according to need select the character of suitable type as Image Data Two marks, as long as the second identifier can play the function of uniquely distinguishing different Image Data, it is not limited here.Example Such as, the corresponding second identifier of Image Data can the Image Data are obtained by hash algorithm according to cryptographic Hash.
It should be noted that those skilled in the art can according to need the connection side of selection back-up terminals and target terminal Formula, such as can also be that multiple back-up terminals connect multiple target terminals, it is not limited here.
In one possible implementation, first server is detecting that Image Data have stored to second server When, it can be sent to second server and delete instruction, to delete the corresponding multiple fragment datas of the Image Data, it is possible thereby to subtract The system redundancy of few second server.
Fig. 2 is a kind of flow chart of file backup method shown according to an exemplary embodiment.As shown in Fig. 2, Fig. 2 with Difference between Fig. 1 is, the method also includes:
Step 200, it in the third instruction for restoring the incremental data for receiving first server transmission, obtains The second identifier for the corresponding Image Data of incremental data that third instruction carries.
Step 201, the corresponding Image Data of second identifier described in the second server are obtained.
Step 202, the Image Data are sent to the target terminal, so that the target terminal is according to the Number of Images According to the corresponding virtual machine of the generation Image Data.
For example, back-up terminals can receive first server transmission for restoring the of the incremental data When three instructions, the second identifier for the corresponding Image Data of incremental data that third instruction carries is obtained (for example, the second identifier can Think the cryptographic Hash of the Image Data), since the storage address of Image Data is corresponding with its second identifier (for example, the image The storage address of data can be second identifier), therefore back-up terminals can be according to the second identifier from the second server The corresponding Image Data of middle acquisition second identifier.
Third instruction can carry the unique identification for target terminal, and back-up terminals can be determined according to the unique identification The corresponding target terminal of the unique identification.Back-up terminals can send the image when getting Image Data to target terminal Data, so that the target terminal generates the corresponding virtual machine of the Image Data according to the Image Data.Thus at target end Complete the recovery to incremental data in end.
The disclosure can control back-up terminals by first server and obtain that incremental data is corresponding reflects from second server Image Data are sent as data, and to target terminal, so that target terminal generates the corresponding void of Image Data according to Image Data The acquisition operation of quasi- machine, data is completed by back-up terminals according to the control of first server, and the direct face of target terminal is not necessarily to Cumbersome operation is carried out to different second servers, compatibility is strong, and data recovering efficiency is high.
Fig. 3 is a kind of flow chart of file backup method shown according to an exemplary embodiment.This method can be applied In first server.As shown in figure 3, this method may include:
Step 300, the first instruction is sent to back-up terminals, to indicate that the back-up terminals acquisition runs on target terminal The incremental data of target virtual machine.
Step 301, the corresponding first identifier of each fragment data in multiple fragment datas that back-up terminals are sent is received, In, the multiple fragment data is that the back-up terminals handle to obtain data according to the incremental data.
Step 302, when receiving the second instruction that the back-up terminals are sent, according to first identifier recombination Multiple fragment datas obtain Image Data, and the Image Data are stored to second server.
In a kind of example, back-up terminals can be communicated with target terminal, back-up terminals, first server and second service It can be in communication with each other between device.Wherein, above-mentioned communication mode can be wire communication and be also possible to wirelessly communicate, and not limit herein It is fixed.User can preset the frequency of your backups of backup target virtual machine incremental data (for example, user can be set in first server Backup in every 30 seconds is primary), first server can send the first instruction (for example, the first clothes to back-up terminals with the frequency of your backups Business device can send one time first instruction to back-up terminals with every 30 seconds), to indicate that back-up terminals acquisition runs on target terminal The incremental data of target virtual machine.
Back-up terminals obtain the incremental data of the target virtual machine of target terminal according to first instruction, to incremental data Processing obtains multiple fragment datas and the corresponding first identifier of each fragment data, and sends each first to first server Mark, first server receive the corresponding first identifier of each fragment data in multiple fragment datas that back-up terminals are sent.
Multiple fragment data is transmitted and is stored to second server by back-up terminals, and can detect multiple segments Data have been stored in second server, send the second instruction for recombinating multiple fragment datas to first server, the One server recombinates the multiple fragment data when receiving the second instruction of back-up terminals transmission, according to the first identifier Image Data are obtained, and the Image Data are stored to second server.
The disclosure passes through the cooperation between back-up terminals, first server for the incremental number of the target virtual machine of target terminal According to second server is backed up to, target terminal is realized to data backup end to end between second server, without being target Terminal is that Backup Data additionally adds equipment or additionally reserves resource, low in cost and will not result in waste of resources;Data Storage and acquisition are completed by back-up terminals, and target terminal is not necessarily to directly carry out data backup with second server, there is no need to Target terminal carries out the integrated and maintenance of redundancy to second server, easy to use, is conducive to the efficiency for improving Backup Data.And And in the disclosure, control data flow between back-up terminals and first server is independently of back-up terminals and second server Backup Data stream effectively avoids controlling interference of the data to Backup Data in backup procedure, is conducive to the peace for ensureing Backup Data Full property and reliability.
As an example of the present embodiment, step 302 may include:According to each first identifier from second server It is middle to obtain the corresponding fragment data of each first identifier, wherein the storage address of each fragment data and each segment The corresponding first identifier of data is corresponding;It recombinates the multiple fragment data and obtains Image Data, and the Image Data are assigned Give second identifier;The Image Data are stored to the second server, wherein the storage address of the Image Data and institute It is corresponding to state the corresponding second identifier of Image Data.
Description to step 202 above may refer to the description of step 302, details are not described herein.
Fig. 4 is a kind of flow chart of file backup method shown according to an exemplary embodiment.As shown in figure 4, Fig. 4 with The difference of Fig. 3 is that this method further includes:
Step 400, it when detecting the operation for restoring the incremental data, is sent to the back-up terminals and carries incremental number According to the third instruction of the second identifier of corresponding Image Data, to indicate that the back-up terminals obtain institute in the second server The corresponding Image Data of second identifier are stated, the Image Data are sent to the target terminal, so that the target terminal root The corresponding virtual machine of the Image Data is generated according to the Image Data.
The description of step 400 may refer to above to step 200 to step 202, details are not described herein.
The disclosure can control back-up terminals by first server and obtain that incremental data is corresponding reflects from second server Image Data are sent as data, and to target terminal, so that target terminal generates the corresponding void of Image Data according to Image Data The acquisition operation of quasi- machine, data is completed by back-up terminals according to the control of first server, and the direct face of target terminal is not necessarily to Cumbersome operation is carried out to different second servers, compatibility is strong, and data recovering efficiency is high.
In one possible implementation, a kind of file backup system is provided, which may include:
Target virtual machine generates incremental data to be backed up during running on target terminal;Second server is used for Backup stores the incremental data;Back-up terminals are connected with the target terminal and second server respectively, are configured as holding Row step 100 is to step 103 and step 200 to method described in 202;First server is connect, quilt with the back-up terminals It is configured to execute step 300 to method described in step 302 and step 400.
Fig. 5 is a kind of schematic diagram of the file backup system shown according to an exemplary embodiment in use state.Such as Fig. 5 Shown, this document standby system may include:Virtual machine host (example of target terminal), the virtual machine for running on target terminal (example of target virtual machine), all-in-one machine array (examples of back-up terminals), backup server (example of first server) and Multiple data centers' (example of second server), wherein data center can be the public cloud provided by service provider.
All-in-one machine array is referred to as backup all-in-one machine, and generally, all-in-one machine array can be expressed as backing up soft Part, backup server and disk (storage medium) are integrated into a framework and an equipment of formation.The all-in-one machine array It can be set in the private network of user, communicated by the private network of user with the target terminal of user.
Data center can be the Cloud Server that each service provider provides.Wherein, data center can support such as object The a variety of data storage methods of (object storage) in section are stored, it is not limited here.
Backup server can be equipped with administration interface, and user can be interacted by administration interface and backup server. Backup server can also include control server and data processing server, wherein control server can be used for and one The interaction that machine array and data center are instructed, data processing server can be used for handling data.Control server sum number It can integrate in the same entity, can also be integrated in respectively in different entities, it is not limited here according to processing server.
For example, backup server can use classical structure, including:
Interface layer:Api interface is provided and is used to manage the friendship of all-in-one machine array and api interface for administration interface and user Mutually, and it is responsible for safety and certification;Backup server can include but is not limited to following any interface:Account management interface (Account);User interface (User);All-in-one machine management interface (Briks);Virtual Machine Manager interface (VM);Back-up plan pipe It manages interface (BackupPlan);Virtual machine host management interface (Host);Backup Images file management interface (VMSnapshot); Version Control interface (Version);Data center information interface (DataCenter).
Timed task layer:Timed task is including but not limited to following to appoint for all asynchronous logics in processing system Business:All-in-one machine status monitoring and scheduler task;All-in-one machine task distributes task;Backup Images file life cycle management task; Asynchronous message handles task;
Business Logic:Main service logic realizes part, including but not limited to following functions:Account management (Account);User management (User);All-in-one machine management (Briks);Virtual Machine Manager (VM);Back-up plan management (BackupPlan);Virtual machine host manages (Host);Backup Images file management (VMSnapshot);Version management (Version);Data center information management (DataCenter).
Data storage layer:It is responsible for the storage that center backup is all data required for service system, may include but not It is limited to following data storage class:Relevant database (SQL Azure);Non-relational database (Azure Table);At a high speed Distributed caching (Redis on Azure).
Public cloud (data center) management and docking layer:Contain the Software Development Kit (Software of public cloud Development Kit, SDK) and unified encapsulation can have been carried out to data to be backed up as desired.
User can configure the data center for wishing to use, different types of number by administration interface in control server It can be standardized according to the parameter at center as unified parameter format.For example, the parameter format can include but is not limited to following It anticipates a seed type:Number, model, geographic area, title and access key of data center etc..Wherein, for sensitivities such as keys Information, control server is encrypted using solidification Encryption Algorithm (such as rivest, shamir, adelman), to ensure the peace of sensitive information Entirely.In addition, control server regularly updates the password of these sensitive informations also by security logic, to meet the need of safety It asks.
Be provided with data center after, user can in control server register account number and the account it is corresponding not With the sub- account of permission, unique identifier (such as can be Mobile Directory Number) can be set for each sub- account. It is possible thereby to which the sub- account by different rights operates control server.For example, account information can include but is not limited to it is following Type:The number of account, the title of account, the type etc. of account, the corresponding data center's number of account, account are corresponding virtual Machine maximum, minimum number, account creation time and account renewal time etc.;Sub- account information can include but is not limited to sow Class:Sub- account title, login password, sub- account number, the corresponding account number of sub- account, unique identifier, sub- account power Limit, sub- account creation time and sub- account renewal time.
User can be by there is the sub- account of setting back-up plan to add back-up plan in control server, wherein standby Part plan may include the interval backed up every time, the backup number for retaining quick cloud recovery, the backup quantity of reservation beyond the clouds etc.. Different back-up plans may correspond to different prices.In this way, user can be selected according to the backup requirements of itself it is different Back-up plan, so that the data backup of user is more economical, it is more efficient.
After the completion of back-up plan configuration, user can increase binding all-in-one machine array by administration interface under account Information, at this point, the information of the all-in-one machine array can include but is not limited to the mark of all-in-one machine array, all-in-one machine array is corresponding Account number, the title of all-in-one machine array, the state of all-in-one machine array, the wound of the key of all-in-one machine array, all-in-one machine array Build time and renewal time etc..
Then, user can log in all-in-one machine array, complete using the mark of all-in-one machine array and the key of all-in-one machine array The registration of integral machine array.
Complete one and array registration after, can in all-in-one machine the relevant key information of typing virtual machine host, can To be expressed as being mounted with the physical machine of virtualization software.In this way, the accessible virtual machine host of all-in-one machine array.Wherein, one Machine array can be encrypted by key information of the preset Encryption Algorithm to virtual machine host, to ensure data safety.
All-in-one machine array can send heartbeat signal to control server with preset frequency (such as can be with every 30 seconds to control Control server sends a heartbeat signal), if control server detects that the time point of received heartbeat signal and backup count The frequency of your backups corresponding time point for including in drawing is when matching, and can send the to one and array in response to the heartbeat signal One instruction, to notify all-in-one machine array to back up the virtual machine for running on virtual machine place.
All-in-one machine array can be caught when receiving the first instruction by calling preset key information to access virtual machine Obtain the incremental data of virtual machine.Then, handled in local to the incremental data (such as can be by incremental number for all-in-one machine array According to progress piecemeal, duplicate removal, compression and encryption etc.) obtain multiple fragment datas.Wherein, each fragment data respectively corresponds one One mark (such as can be encrypted cryptographic Hash), each first identifier can with unique identification its corresponding fragment data.One The corresponding first identifier of multiple fragment datas can be sent to control server by body machine array, and control server can establish more The Status of Backups of the corresponding back-up job of a first identifier, and the Status of Backups can be embodied in administration interface, so that handy The progress that family can be backed up with monitoring data.
All-in-one machine array can be by calling API corresponding with data center to upload multiple fragment datas and storing to number According to center, wherein each fragment data can be the corresponding first identifier of each fragment data in the storage address of data center.
When all-in-one machine array detection has been uploaded to data center to multiple fragment datas, all-in-one machine array can be to control Control server send second instruction, control server can according to this second instruction by Status of Backups be revised as fragment data on It passes and completes, and the recombination instruction for carrying multiple first identifiers can be sent to data processing server, data processing server exists When receiving recombination instruction, the corresponding API of data center can be passed through from number according to multiple first identifiers in recombination instruction Obtain the corresponding fragment data of each first identifier according to center, by the recombination of multiple fragment datas become image file (Image Data Example), image file is stored to data center by data center corresponding API, and image file corresponding second is marked Knowledge is sent to control server, and control server can be associated with second identifier by multiple first identifiers, and by Status of Backups Backup is revised as to complete.This completes a backups.
The disclosure realizes target terminal extremely by the cooperation between back-up terminals, first server and second server Data backup end to end between second server, without additionally adding equipment for target terminal or additionally reserving resource, at This is cheap and will not result in waste of resources;The storage and acquisition of data are completed by back-up terminals, without to target terminal and not Same public cloud carries out the integrated and maintenance of redundancy, easy to use, is conducive to the efficiency for improving Backup Data.Also, the disclosure In, the Backup Data of control data flow between back-up terminals and first server independently of back-up terminals and second server Stream effectively avoids controlling interference of the data to Backup Data in backup procedure, is conducive to the safety for ensureing Backup Data and can By property.
When user wishes to restore the corresponding data of the back-up job, can carry out being directed to the backup work in administration interface The operation of the recovery data of work, control server send the third for carrying the second identifier in response to the operation to all-in-one machine array Instruction (can carry the unique identification of virtual machine host) in third instruction, all-in-one machine array can be according in third instruction Second identifier the corresponding image file of second identifier is obtained from data center by the corresponding API of data center, and according to void The unique identification of quasi- machine host determines virtual machine host, which is sent to virtual machine host, virtual machine host according to The image file restores to obtain the corresponding virtual machine of the image file.Thus it completes to restore for the data of target virtual machine.
The disclosure can control back-up terminals by first server and obtain that incremental data is corresponding reflects from second server Image Data are sent as data, and to target terminal, so that target terminal generates the corresponding void of Image Data according to Image Data The acquisition operation of quasi- machine, data is completed by back-up terminals according to the control of first server, and the direct face of target terminal is not necessarily to Cumbersome operation is carried out to different second servers, compatibility is strong, and data recovering efficiency is high.
Fig. 6 is a kind of block diagram of file backup device shown according to an exemplary embodiment.As shown in fig. 6, the device May include:
First obtains module 41, and the first instruction for being sent according to first server obtains the mesh for running on target terminal Mark the incremental data of virtual machine.
Processing module 42 obtains multiple fragment datas and each fragment data for being handled the incremental data Corresponding first identifier, and each first identifier is sent to the first server.
Memory module 43, for storing the multiple fragment data to second server, wherein each fragment data Storage address it is corresponding with the first identifier of each fragment data.
First sending module 44, for detecting that the multiple fragment data stored to the second server When, the second instruction is sent to the first server, to indicate the first server according to first identifier recombination Multiple fragment datas obtain Image Data, and the Image Data are stored to second server.
The disclosure passes through the cooperation between back-up terminals, first server for the incremental number of the target virtual machine of target terminal According to second server is backed up to, target terminal is realized to data backup end to end between second server, without being target Terminal is that Backup Data additionally adds equipment or additionally reserves resource, low in cost and will not result in waste of resources;Data Storage and acquisition are completed by back-up terminals, and target terminal is not necessarily to directly carry out data backup with second server, there is no need to Target terminal carries out the integrated and maintenance of redundancy to second server, easy to use, is conducive to the efficiency for improving Backup Data.And And in the disclosure, control data flow between back-up terminals and first server is independently of back-up terminals and second server Backup Data stream effectively avoids controlling interference of the data to Backup Data in backup procedure, is conducive to the peace for ensureing Backup Data Full property and reliability.
Fig. 7 is a kind of block diagram of file backup device shown according to an exemplary embodiment.For ease of description, scheming Part related to the present embodiment is only illustrated in 7.Label component function having the same identical with Fig. 6 in Fig. 7, in order to For the sake of simplicity, the detailed description to these components is omitted.As shown in fig. 7,
In one possible implementation, first sending module 44 includes:
It indicates submodule 441, is used to indicate the first server from the second server and obtains each first mark Know corresponding fragment data, recombinates each the multiple fragment data and obtain Image Data, and assign second to the Image Data Mark.The Image Data are stored to the second server, wherein the storage address of the Image Data and the image The corresponding second identifier of data is corresponding.
In one possible implementation, described device further includes:
Second obtains module 45, in the third for being used to restore the incremental data for receiving first server transmission When instruction, the second identifier for the corresponding Image Data of incremental data that third instruction carries is obtained.
Third obtains module 46, for obtaining the corresponding Number of Images of second identifier described in the second server According to.
Second sending module 47, for sending the Image Data to the target terminal, so that the target terminal root The corresponding virtual machine of the Image Data is generated according to the Image Data.
The disclosure can control back-up terminals by first server and obtain that incremental data is corresponding reflects from second server Image Data are sent as data, and to target terminal, so that target terminal generates the corresponding void of Image Data according to Image Data The acquisition operation of quasi- machine, data is completed by back-up terminals according to the control of first server, and the direct face of target terminal is not necessarily to Cumbersome operation is carried out to different second servers, compatibility is strong, and data recovering efficiency is high.
Fig. 8 is a kind of block diagram of file backup device shown according to an exemplary embodiment.As shown in figure 8, the device Including:
Third sending module 51, for sending the first instruction to back-up terminals, to indicate that the back-up terminals obtain operation In the incremental data of the target virtual machine of target terminal.
Receiving module 52, for receiving each fragment data corresponding first in multiple fragment datas that back-up terminals are sent Mark, wherein the multiple fragment data is that the back-up terminals handle to obtain data according to the incremental data.
Recombination module 53, when for being instructed receive the back-up terminals transmission second, according to the first identifier It recombinates the multiple fragment data and obtains Image Data, and the Image Data are stored to second server.
The disclosure passes through the cooperation between back-up terminals, first server for the incremental number of the target virtual machine of target terminal According to second server is backed up to, target terminal is realized to data backup end to end between second server, without being target Terminal is that Backup Data additionally adds equipment or additionally reserves resource, low in cost and will not result in waste of resources;Data Storage and acquisition are completed by back-up terminals, and target terminal is not necessarily to directly carry out data backup with second server, there is no need to Target terminal carries out the integrated and maintenance of redundancy to second server, easy to use, is conducive to the efficiency for improving Backup Data.And And in the disclosure, control data flow between back-up terminals and first server is independently of back-up terminals and second server Backup Data stream effectively avoids controlling interference of the data to Backup Data in backup procedure, is conducive to the peace for ensureing Backup Data Full property and reliability.
Fig. 9 is a kind of block diagram of file backup device shown according to an exemplary embodiment.For ease of description, scheming Part related to the present embodiment is only illustrated in 9.Label component function having the same identical with Fig. 8 in Fig. 9, in order to For the sake of simplicity, the detailed description to these components is omitted.As shown in figure 9,
In one possible implementation, the recombination module 53 includes:
Acquisition submodule 531, for obtaining each first identifier from second server according to each first identifier Corresponding fragment data, wherein the storage address of each fragment data first identifier phase corresponding with each fragment data It is corresponding.
Submodule 532 is recombinated, obtains Image Data for recombinating the multiple fragment data, and assign to the Image Data Give second identifier.
Sub-module stored 533, for storing the Image Data to the second server, wherein the Number of Images According to storage address second identifier corresponding with the Image Data it is corresponding.
In one possible implementation, described device further includes:
4th sending module 54, for being sent out to the back-up terminals when detecting the operation for restoring the incremental data The third instruction for the second identifier for carrying the corresponding Image Data of incremental data is sent, to indicate that the back-up terminals obtain described the The Image Data are sent to the target terminal by the corresponding Image Data of second identifier described in two servers, so that institute It states target terminal and generates the corresponding virtual machine of the Image Data according to the Image Data.
In one possible implementation, the first server includes one or more servers.
The disclosure can control back-up terminals by first server and obtain that incremental data is corresponding reflects from second server Image Data are sent as data, and to target terminal, so that target terminal generates the corresponding void of Image Data according to Image Data The acquisition operation of quasi- machine, data is completed by back-up terminals according to the control of first server, and the direct face of target terminal is not necessarily to Cumbersome operation is carried out to different second servers, compatibility is strong, and data recovering efficiency is high.
Figure 10 is a kind of block diagram of file backup device shown according to an exemplary embodiment.For example, device 800 can be with It is mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building Equipment, personal digital assistant etc..
Referring to Fig.1 0, device 800 may include following one or more components:Processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of device 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-volatile computer readable storage medium storing program for executing is additionally provided, for example including calculating The memory 804 of machine program instruction, above-mentioned computer program instructions can be executed above-mentioned to complete by the processor 820 of device 800 Method.
Figure 11 is a kind of block diagram of file backup device shown according to an exemplary embodiment.For example, device 1900 can To be provided as a server.Referring to Fig.1 1, it further comprises one or more places that device 1900, which includes processing component 1922, Manage device and memory resource represented by a memory 1932, for store can by the instruction of the execution of processing component 1922, Such as application program.The application program stored in memory 1932 may include it is one or more each correspond to one The module of group instruction.In addition, processing component 1922 is configured as executing instruction, to execute the above method.
Device 1900 can also include that a power supply module 1926 be configured as the power management of executive device 1900, and one Wired or wireless network interface 1950 is configured as device 1900 being connected to network and input and output (I/O) interface 1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-volatile computer readable storage medium storing program for executing is additionally provided, for example including calculating The memory 1932 of machine program instruction, above-mentioned computer program instructions can be executed by the processing component 1922 of device 1900 to complete The above method.
The disclosure can be system, method and/or computer program product.Computer program product may include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the disclosure.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes:Portable computer diskette, random access memory (RAM), read-only is deposited hard disk It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing disclosure operation can be assembly instruction, instruction set architecture (ISA) instructs, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages The source code or object code that any combination is write, the programming language include the programming language-of object-oriented such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the disclosure Face.
Referring herein to according to the flow chart of the method, apparatus (system) of the embodiment of the present disclosure and computer program product and/ Or block diagram describes various aspects of the disclosure.It should be appreciated that flowchart and or block diagram each box and flow chart and/ Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show system, method and the computer journeys according to multiple embodiments of the disclosure The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or lead this technology Other those of ordinary skill in domain can understand each embodiment disclosed herein.

Claims (10)

1. a kind of file backup method, the method is applied to back-up terminals, which is characterized in that including:
The incremental data for running on the target virtual machine of target terminal is obtained according to the first instruction that first server is sent;
Handled to obtain multiple fragment datas and the corresponding first identifier of each fragment data to the incremental data, and to The first server sends each first identifier;
The multiple fragment data is stored to second server, wherein the storage address of each fragment data with it is each described The first identifier of fragment data is corresponding;
When detecting that the multiple fragment data has been stored to the second server, the is sent to the first server Two instructions obtain Image Data to indicate that the first server recombinates the multiple fragment data according to the first identifier, And the Image Data are stored to second server.
2. the method according to claim 1, wherein the instruction first server is according to first mark The multiple fragment data of weight sensing group obtains Image Data, and the Image Data are stored to second server, including:
Indicate that the first server obtains the corresponding fragment data of each first identifier from the second server, recombination is each The multiple fragment data obtains Image Data, and assigns second identifier to the Image Data;The Image Data are stored To the second server, wherein the storage address of Image Data second identifier corresponding with the Image Data is opposite It answers.
3. the method according to claim 1, wherein the method also includes:
In the third instruction for restoring the incremental data for receiving first server transmission, obtains third instruction and carry The corresponding Image Data of incremental data second identifier;
Obtain the corresponding Image Data of second identifier described in the second server;
The Image Data are sent to the target terminal, so that the target terminal is reflected according to Image Data generation As the corresponding virtual machine of data.
4. a kind of file backup method, the method is applied to first server, which is characterized in that including:
The first instruction is sent to back-up terminals, to indicate that the back-up terminals acquisition runs on the target virtual machine of target terminal Incremental data;
Receive the corresponding first identifier of each fragment data in multiple fragment datas that back-up terminals are sent, wherein the multiple Fragment data is that the back-up terminals handle to obtain data according to the incremental data;
When receiving the second instruction that the back-up terminals are sent, the multiple fragment data is recombinated according to the first identifier Image Data are obtained, and the Image Data are stored to second server.
5. according to the method described in claim 4, it is characterized in that, recombinating the multiple fragment data according to the first identifier Image Data are obtained, and the Image Data are stored to second server, including:
The corresponding fragment data of each first identifier is obtained from second server according to each first identifier, wherein each The storage address of fragment data first identifier corresponding with each fragment data is corresponding;
It recombinates the multiple fragment data and obtains Image Data, and assign second identifier to the Image Data;
The Image Data are stored to the second server, wherein the storage address of the Image Data and the image The corresponding second identifier of data is corresponding.
6. according to the method described in claim 4, it is characterized in that, the method also includes:
When detecting the operation for restoring the incremental data, is sent to the back-up terminals and carry the corresponding image of incremental data The third of the second identifier of data instructs, to indicate that the back-up terminals obtain second identifier pair described in the second server The Image Data are sent to the target terminal by the Image Data answered, so that the target terminal is according to the Number of Images According to the corresponding virtual machine of the generation Image Data.
7. the method according to any one of claim 4 to 6, which is characterized in that the first server includes one Or multiple servers.
8. a kind of file backup device, described device is applied to back-up terminals, which is characterized in that including:
First obtains module, and the first instruction for being sent according to first server obtains the destination virtual for running on target terminal The incremental data of machine;
Processing module, for being handled to obtain multiple fragment datas to the incremental data and each fragment data is corresponding First identifier, and each first identifier is sent to the first server;
Memory module, for storing the multiple fragment data to second server, wherein the storage of each fragment data Address is corresponding with the first identifier of each fragment data;
First sending module, for when detecting that the multiple fragment data has been stored to the second server, to institute It states first server and sends the second instruction, to indicate that the first server recombinates the multiple segment according to the first identifier Data obtain Image Data, and the Image Data are stored to second server.
9. a kind of file backup device, described device is applied to first server, which is characterized in that including:
Third sending module, for sending the first instruction to back-up terminals, to indicate that the back-up terminals acquisition runs on target The incremental data of the target virtual machine of terminal;
Receiving module, the corresponding first identifier of each fragment data in multiple fragment datas for receiving back-up terminals transmission, Wherein, the multiple fragment data is that the back-up terminals handle to obtain data according to the incremental data;
Recombination module, for recombinating institute according to the first identifier when receiving the second instruction that the back-up terminals are sent It states multiple fragment datas and obtains Image Data, and the Image Data are stored to second server.
10. a kind of file backup system, which is characterized in that including:
Target virtual machine generates incremental data to be backed up during running on target terminal;
Second server stores the incremental data for backing up;
Back-up terminals are connected with the target terminal and second server respectively, are configured as perform claim and require in 1 to 3 Method described in any one;
First server is connect with the back-up terminals, is configured as side described in any one of perform claim requirement 4 to 7 Method.
CN201810517171.XA 2018-05-25 2018-05-25 File backup method, device and system Active CN108874585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810517171.XA CN108874585B (en) 2018-05-25 2018-05-25 File backup method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810517171.XA CN108874585B (en) 2018-05-25 2018-05-25 File backup method, device and system

Publications (2)

Publication Number Publication Date
CN108874585A true CN108874585A (en) 2018-11-23
CN108874585B CN108874585B (en) 2021-01-22

Family

ID=64333885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810517171.XA Active CN108874585B (en) 2018-05-25 2018-05-25 File backup method, device and system

Country Status (1)

Country Link
CN (1) CN108874585B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976669A (en) * 2019-03-15 2019-07-05 百度在线网络技术(北京)有限公司 A kind of edge storage method, device and storage medium
CN111010449A (en) * 2019-12-25 2020-04-14 南京医睿科技有限公司 Image information output method, system, device, medium, and electronic apparatus
CN111651305A (en) * 2020-08-05 2020-09-11 腾讯科技(深圳)有限公司 Virtual machine backup method, virtual machine backup assembly and cloud computing system
CN113297157A (en) * 2020-02-24 2021-08-24 长鑫存储技术有限公司 Machine file processing method and system
CN113366450A (en) * 2019-02-01 2021-09-07 三菱电机株式会社 Information processing apparatus, backup method, recovery method, and program
CN115543979A (en) * 2022-09-29 2022-12-30 广州鼎甲计算机科技有限公司 Method, device, equipment, storage medium and program product for deleting repeated data
CN117648288A (en) * 2022-09-05 2024-03-05 华为技术有限公司 File processing method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231727A (en) * 2011-03-18 2011-11-02 杭州奕锐电子有限公司 Crypto-delta-transfer-based remote sharing backup recovery method
CN103064760A (en) * 2012-12-19 2013-04-24 华为技术有限公司 Backup method and backup device
CN103235811A (en) * 2013-04-24 2013-08-07 微梦创科网络科技(中国)有限公司 Data storage method and device
CN104932956A (en) * 2015-06-19 2015-09-23 华南理工大学 Big-data-oriented cloud disaster tolerant backup method
CN105120005A (en) * 2015-09-11 2015-12-02 厦门喜鱼网络科技有限公司 Game server hot-update method, servers and system
CN105677507A (en) * 2014-11-21 2016-06-15 中国移动通信集团公司 Cloud backup system and method for enterprise data
CN106302702A (en) * 2016-08-10 2017-01-04 华为技术有限公司 Burst storage method, the Apparatus and system of data
US9557938B2 (en) * 2014-05-13 2017-01-31 Netapp, Inc. Data retrieval based on storage device activation schedules
US20170031778A1 (en) * 2015-07-30 2017-02-02 Amplidata N.V. Hybrid Distributed Storage System
CN107832625A (en) * 2017-11-21 2018-03-23 江苏神州信源系统工程有限公司 A kind for the treatment of method and apparatus of document

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231727A (en) * 2011-03-18 2011-11-02 杭州奕锐电子有限公司 Crypto-delta-transfer-based remote sharing backup recovery method
CN103064760A (en) * 2012-12-19 2013-04-24 华为技术有限公司 Backup method and backup device
CN103235811A (en) * 2013-04-24 2013-08-07 微梦创科网络科技(中国)有限公司 Data storage method and device
US9557938B2 (en) * 2014-05-13 2017-01-31 Netapp, Inc. Data retrieval based on storage device activation schedules
CN105677507A (en) * 2014-11-21 2016-06-15 中国移动通信集团公司 Cloud backup system and method for enterprise data
CN104932956A (en) * 2015-06-19 2015-09-23 华南理工大学 Big-data-oriented cloud disaster tolerant backup method
US20170031778A1 (en) * 2015-07-30 2017-02-02 Amplidata N.V. Hybrid Distributed Storage System
US10241872B2 (en) * 2015-07-30 2019-03-26 Amplidata N.V. Hybrid distributed storage system
CN105120005A (en) * 2015-09-11 2015-12-02 厦门喜鱼网络科技有限公司 Game server hot-update method, servers and system
CN106302702A (en) * 2016-08-10 2017-01-04 华为技术有限公司 Burst storage method, the Apparatus and system of data
CN107832625A (en) * 2017-11-21 2018-03-23 江苏神州信源系统工程有限公司 A kind for the treatment of method and apparatus of document

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
伍江江: ""面向服务应急响应的数据保护关键技术研究"", 《中国博士学位论文全文数据库 信息科技辑》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113366450A (en) * 2019-02-01 2021-09-07 三菱电机株式会社 Information processing apparatus, backup method, recovery method, and program
CN109976669A (en) * 2019-03-15 2019-07-05 百度在线网络技术(北京)有限公司 A kind of edge storage method, device and storage medium
CN109976669B (en) * 2019-03-15 2023-07-28 百度在线网络技术(北京)有限公司 Edge storage method, device and storage medium
CN111010449A (en) * 2019-12-25 2020-04-14 南京医睿科技有限公司 Image information output method, system, device, medium, and electronic apparatus
CN111010449B (en) * 2019-12-25 2022-08-02 医渡云(北京)技术有限公司 Image information output method, system, device, medium, and electronic apparatus
CN113297157A (en) * 2020-02-24 2021-08-24 长鑫存储技术有限公司 Machine file processing method and system
CN113297157B (en) * 2020-02-24 2024-06-07 长鑫存储技术有限公司 Machine file processing method and processing system
CN111651305A (en) * 2020-08-05 2020-09-11 腾讯科技(深圳)有限公司 Virtual machine backup method, virtual machine backup assembly and cloud computing system
CN111651305B (en) * 2020-08-05 2020-11-03 腾讯科技(深圳)有限公司 Virtual machine backup method, virtual machine backup assembly and cloud computing system
CN117648288A (en) * 2022-09-05 2024-03-05 华为技术有限公司 File processing method and electronic equipment
CN115543979A (en) * 2022-09-29 2022-12-30 广州鼎甲计算机科技有限公司 Method, device, equipment, storage medium and program product for deleting repeated data
CN115543979B (en) * 2022-09-29 2023-08-08 广州鼎甲计算机科技有限公司 Method, apparatus, device, storage medium and program product for deleting duplicate data

Also Published As

Publication number Publication date
CN108874585B (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN108874585A (en) File backup method, apparatus and system
CN110401715B (en) Resource collection task management method, device, storage medium and system
CN110687821B (en) Intelligent home control system and method based on block chain
CN108595970A (en) Configuration method, device, terminal and the storage medium of processing component
CN110598879B (en) Garbage collection method, device, equipment and storage medium based on block chain
CN109076331A (en) The control method of electronic equipment and electronic equipment
CN111339086B (en) Block processing method, and data query method and device based on block chain
US9635118B1 (en) Dynamic push notifications based on indoor micro-locations
US11153713B2 (en) Performing device communications based on relative positioning
CN105378624A (en) Showing interactions as they occur on a whiteboard
CN110826103B (en) Method, device, equipment and storage medium for processing document authority based on blockchain
CN109691057A (en) Sensitive content is convertibly fetched via private contents distribution network
CN111045568B (en) Virtual article processing method, device, equipment and storage medium based on block chain
CN107862514A (en) Mass transit card management method, apparatus and system, storage medium
US12093747B2 (en) Workload orchestration in a multi-cloud environment
KR101768813B1 (en) System for providing remote consulting service and security solution thereof
CN107070654A (en) information collecting method and device
CN109241423A (en) Information recommendation method, device, electronic equipment and storage medium
US10694361B2 (en) Computer-implemented agent assisted electronic business cards
US10743068B2 (en) Real time digital media capture and presentation
US10334027B2 (en) Collaborative communication between colony applications
CN110597868B (en) Information query method, device, terminal and storage medium based on block chain
CN107037989A (en) Data processing method and device in distributed computing system
CN111694892A (en) Resource transfer method, device, terminal, server and storage medium
CN110177250A (en) A kind of method and apparatus for the offer procurement information in video call process

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190307

Address after: Room 309 and 310, Block A, Hatching Building, 99 Tuanjie Road, Jiangbei New District, Nanjing, Jiangsu Province, 210000

Applicant after: Nanjing Yunxinda Technology Co., Ltd.

Address before: 100089 No. 2-331, No. 11 Wanliuzhong Road, Haidian District, Beijing

Applicant before: Beijing polar second Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant