CN106547650A - The backup method of data, apparatus and system - Google Patents
The backup method of data, apparatus and system Download PDFInfo
- Publication number
- CN106547650A CN106547650A CN201610956836.8A CN201610956836A CN106547650A CN 106547650 A CN106547650 A CN 106547650A CN 201610956836 A CN201610956836 A CN 201610956836A CN 106547650 A CN106547650 A CN 106547650A
- Authority
- CN
- China
- Prior art keywords
- backup
- data
- terminal
- backed
- progress msg
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of backup method of data, apparatus and system, and the backup method of the data includes:The backup request of first terminal is received, the data to be backed up of the first terminal is backed up according to the backup request;Receive the synchronization request of second terminal;The synchronization request is used for the data backup to be backed up to the second terminal;The backup progress msg of the current data to be backed up is obtained according to the synchronization request;The backup progress msg is sent to the second terminal, so that the second terminal carries out backup operation according to the backup progress msg.The backup method of the data of the present embodiment, apparatus and system, due to when the data that certain terminal downloads other-end uploads onto the server are received, backup progress msg is sent to the terminal, consequently facilitating according to the progress msg, terminal determines whether current data to be downloaded are complete, improve the efficiency of data syn-chronization.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of backup method of data, apparatus and system.
Background technology
With the continuous popularization of terminal, the cloud service of terminaloriented also develops constantly.By by data backup to cloud
Server, efficiently avoid the risk of loss of data, bring more facilities to user.
At present, user can only apply for an account, and cloud service just can be used on many station terminals.So as to easily will not
With the data backup of terminal to high in the clouds, can additionally pass through cloud service by the data syn-chronization on other-end to other end
End.
However, data are uploaded to Cloud Server by terminal when being backed up, backup progress is not recorded in backup procedure,
Than such as whether backup is finished.Therefore, when by the data syn-chronization of cloud server end to other-end, also data cannot be known whether
Completely, can just know whether completely, to reduce the synchronous efficiency of data after needing contrast.
The content of the invention
The embodiment of the present invention provides a kind of backup method of data, apparatus and system, to solve the backup side of available data
The low technical problem of the efficiency comparison of method.
To solve the above problems, the technical scheme that the present invention is provided is as follows:
In a first aspect, the embodiment of the present invention provides a kind of backup method of data, which includes:
The backup request that first terminal sends is received, according to be backed up data of the backup request to the first terminal
Backed up;
Receive the synchronization request that second terminal sends;The synchronization request is used for the data backup to be backed up to described
Second terminal;
The backup progress msg of presently described data to be backed up is obtained according to the synchronization request;
The backup progress msg is sent to the second terminal, so that the second terminal is believed according to the backup progress
Breath carries out backup operation.
Second aspect, the embodiment of the present invention also provide a kind of back-up device of data, and which includes:
Backup request receiver module, for receiving the backup request of first terminal transmission, according to the backup request to institute
The data to be backed up for stating first terminal are backed up;
Synchronization request receiver module, for receiving the synchronization request of second terminal transmission;The synchronization request is for by institute
Data backup to be backed up is stated to the second terminal;
Acquisition module, for the backup progress msg of presently described data to be backed up is obtained according to the synchronization request;
Sending module, for sending the backup progress msg to the second terminal so that the second terminal according to
The backup progress msg carries out backup operation.
The third aspect, the embodiment of the present invention also provide a kind of standby system of data, including server and terminal, the clothes
Business device includes the back-up device of the data that above-mentioned second aspect is provided.
The backup method of the data of the present embodiment, apparatus and system, by receiving the backup request that first terminal sends, root
The data to be backed up of the first terminal are backed up according to the backup request;Receive the synchronization request that second terminal sends;This is same
Step request is used for the data backup to be backed up to the second terminal;The current data to be backed up are obtained according to the synchronization request
Backup progress msg;The backup progress msg is sent to the second terminal.Due to receiving certain terminal downloads other-end
During the data for uploading onto the server, backup progress msg is sent to the terminal, consequently facilitating the terminal is true according to the progress msg
Whether settled front data to be downloaded are complete, improve the efficiency of data syn-chronization.
Description of the drawings
The flow chart of the backup method of the data that Fig. 1 is provided for one embodiment of the invention.
The flow chart of the backup method of the data that Fig. 2 is provided for another embodiment of the present invention.
The flow chart of the backup method of the data that Fig. 3 is provided for yet another embodiment of the invention.
Fig. 4 is the schematic diagram of the standby system of data provided in an embodiment of the present invention.
Fig. 5 is the structural representation of the back-up device of data provided in an embodiment of the present invention.
Fig. 6 is the preferred structure schematic diagram of the back-up device of data provided in an embodiment of the present invention.
Fig. 7 be data provided in an embodiment of the present invention standby system in server structural representation.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, the every other enforcement obtained under the premise of creative work is not made by those skilled in the art
Example, belongs to the scope of protection of the invention.
Term " first ", " second " and " the 3rd " in the present invention etc. is for distinguishing different objects, rather than for retouching
State particular order.Additionally, term " comprising " and " having " and their any deformations, it is intended that cover non-exclusive including.
For example contain series of steps or unit process, method, system, product or equipment be not limited to the step of listing or
Unit, but alternatively also include the step of not listing or unit, or alternatively also include for these processes, method, product
Other intrinsic steps of product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments
It is contained at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly it is understood by, embodiment described herein can be combined with other embodiments.
Refer to Fig. 1, the flow chart of the backup method of the data that Fig. 1 is provided for one embodiment of the invention.
The backup method of the data of this preferred embodiment, including:
Step S101, receives the backup request that first terminal sends, and treats standby to the first terminal according to the backup request
Number evidence is backed up.
For example, when server (namely Cloud Server) receives the request of the data backup of first terminal transmission, to this
In one terminal, data to be backed up are backed up.Specifically, such as data to be backed up are uploaded to the service by the first terminal
Device.
Step S102, receives the synchronization request that second terminal sends.
For example, the server receives the request of the data syn-chronization that second terminal sends, and the synchronization request is for treating standby by this
Number evidence is downloaded to the second terminal.Such as, the synchronization request is asking for the download data to be backed up that the second terminal sends
Ask.Wherein the first terminal and the second terminal are different terminals.
Step S103, obtains the backup progress msg of the current data to be backed up according to the synchronization request.
For example, when the server receives the request of the data syn-chronization that the second terminal sends, the server is obtained should
The current backup progress of data to be backed up, obtains backing up progress msg.Whether the backup progress msg has such as been backed up for data
Percentage of complete information and Backup Data etc..
Step S104, sends the backup progress msg to the second terminal.
For example, server sends the backup progress msg for getting to the second terminal, so that the second terminal root
Backup operation is carried out according to the backup progress msg.
The backup method of the data of the present embodiment, by receiving the backup request that first terminal sends, please according to the backup
The data to be backed up to the first terminal are asked to back up;Receive the synchronization request that second terminal sends;The synchronization request is used for
By the data backup to be backed up to the second terminal;The backup progress letter of the current data to be backed up is obtained according to the synchronization request
Breath;The backup progress msg is sent to the second terminal.Due to being uploaded to service receiving certain terminal downloads other-end
During the data of device, send backup progress msg to the terminal, conveniently know whether current data to be downloaded complete, from without
The contrast carried out by file, improves the efficiency of data syn-chronization.
Refer to Fig. 2, the flow chart of the backup method of the data that Fig. 2 is provided for another embodiment of the present invention.
The backup method of the data of this preferred embodiment, including:
Step S201, receives the backup request that first terminal sends, and treats standby to the first terminal according to the backup request
Number evidence is backed up.
For example, when server (namely Cloud Server) receives the request of the data backup of first terminal transmission, to this
In one terminal, data to be backed up are backed up.Specifically, the data to be backed up are uploaded to the clothes by the such as first terminal
Business device.
Step S202, receives the synchronization request that second terminal sends.
For example, server receives the request of the data syn-chronization that second terminal sends, and the synchronization request is used for this is to be backed up
Data are downloaded to the second terminal.Such as, the synchronization request is the request for downloading the data to be backed up that second terminal sends.Its
In the first terminal and the second terminal be different terminals.
Step S203, obtains the backup progress msg of the current data to be backed up according to the synchronization request.
For example, when server receives the request of the data syn-chronization that the second terminal sends, server obtains this and treats standby
Number obtains backing up progress msg according to current backup progress.Whether the backup progress msg such as backs up what is finished for data
Percentage of information or Backup Data etc..
In order to improve the accuracy of backup progress msg, server can obtain the data that data to be backed up have currently been backed up
Capacity, according to the procurement of reserve capacity backup progress msg.That is, this to obtain the data to be backed up according to the synchronization request current
The step of backup progress msg, includes:
A, the corresponding storage location information of the data to be backed up is obtained according to the synchronization request.
B, the corresponding spare capacity for currently completing data backup of the acquisition storage location information.
C, the initial capacity for obtaining the data to be backed up.
D, the backup progress msg is generated according to the spare capacity and the initial capacity.
For example, when server receives the request of the data syn-chronization that the second terminal sends, the data to be backed up are obtained
Concrete storage location in the server, the such as file belonging to data to be backed up.Server obtains current this document
In capacity, namely the capacity for currently having backed up.Server also obtains the raw capacity of data to be backed up, namely initial capacity.
Specifically, such as server sends to the first terminal and obtains instruction.The first terminal receives the acquisition and instructs
Afterwards, the first terminal returns the raw capacity to server.Being calculated with the raw capacity according to the capacity for currently having backed up should
Backup progress msg.Afterwards, server can calculate current between the raw capacity of spare capacity and the data to be backed up
Ratio, according to this than being worth to the backup progress msg.
It should be understood that server can also calculate current between the raw capacity of spare capacity and the data to be backed up
Difference, the backup progress msg is obtained according to the difference.Namely above-mentioned steps d, according to the spare capacity and the initial capacity
The step of generating the backup progress msg includes:
D11, the difference value for obtaining the spare capacity and the initial capacity;
D12, the backup progress msg is generated according to the difference value.
For example, server calculates current difference between spare capacity and the raw capacity, and is generated according to the difference
The backup progress msg.For example, difference is bigger, and the percentage of the backup progress is less.Difference is less, the percentage of the backup progress
Than bigger.Specifically, the percentage of the backup progress can be obtained by lookup table mode.
Step S204, detects whether the backup progress msg meets pre-conditioned.
For example, server detects whether the data to be backed up upload and finishes, namely whether backup ratio is 100%.
Step S205, if the backup progress msg is unsatisfactory for, and this is pre-conditioned, sends information to the second terminal.
For example, when the data to be backed up are not uploaded to be finished, server sends information, the prompting to the second terminal
Information is such as " current data has been not backed up, and backup ratio is 80%, if wait to be backed up finishing to download again ".That is, this carries
Show that information carries the backup progress msg.
After the step of this sends information to the second terminal, said method may also include step:
E, receive the selection instruction that the second terminal is returned according to the information.
For example, the second terminal obtains "Yes" or the "No" that user is selected in information, namely selection instruction.It
The selection instruction is back to server by the second terminal afterwards, and server receives the selection instruction.
F, according to the selection instruction by the data syn-chronization to be backed up to the second terminal.
For example, if user selects "No", namely the selection instruction is to download when being currently not backed up the data for finishing, server
It is by the current data is activation for being not backed up finishing to second terminal, synchronous with the current data of server to complete.
When user selects "Yes", namely the selection instruction is when being not download currently to be not backed up the data for finishing, server after
Whether continuous detection data to be backed up back up and finish.If the data to be backed up that server detect have been backed up when finishing, clothes
Device be engaged in just by the data is activation to be backed up to second terminal, to complete the synchronization of data.
In order to improve the flexibility of server, server can be when detecting the data backup to be backed up and finishing, sending out
Go out cue, namely when the Status of Backups information meets pre-conditioned, the method also includes:
G, cue is sent to the second terminal.
For example, when server detects the data backup to be backed up to be finished, cue is sent to the second terminal, with
Just the user of the second terminal is reminded to carry out data download at present.Avoid user from needing oneself to be monitored, improve use
Experience at family.
Step S206, if the Status of Backups information meets, this is pre-conditioned, by the data syn-chronization to be backed up to this second
Terminal.
For example, when the data to be backed up are uploaded to be finished, server directly by the data is activation to be backed up to second terminal,
To complete the synchronization of data.
In order to improve the flexibility of server, server can be when detecting the data backup to be backed up and finishing, sending out
Go out cue, namely when the Status of Backups information meets pre-conditioned, the method also includes:
Cue is sent to the second terminal.
The backup method of the data of the present embodiment, by receiving the backup request that first terminal sends, please according to the backup
The data to be backed up to the first terminal are asked to back up;Receive the synchronization request that second terminal sends;The synchronization request is used for
By the data backup to be backed up to the second terminal;The backup progress letter of the current data to be backed up is obtained according to the synchronization request
Breath, detect whether the backup progress msg meets pre-conditioned, when the backup progress msg is unsatisfactory for pre-conditioned, to this
Two terminals send information, and the information carries the backup progress msg;If the Status of Backups information meets the default bar
Part, then by the data syn-chronization to be backed up to the second terminal.Due to being uploaded to clothes receiving certain terminal downloads other-end
During the data of business device, information is sent to the terminal, consequently facilitating according to user's request downloading data, improve flexibility.
Refer to Fig. 3, the flow chart of the backup method of the data that Fig. 3 is provided for yet another embodiment of the invention.
The backup method of the data of this preferred embodiment, including:
Step S301, receives the backup request that A terminals send, according to be backed up data of the backup request to the A terminals
Backed up.
For example, with reference to Fig. 4, when A terminal to server 70 sends the backup request of " data XX are backed up to server 70 ",
Server 70 receives the backup request, and server 70 is backed up to data XX of A terminals.Specifically, A terminals are by data XX
Upload onto the server 70.It should be understood that setting up network connection between A terminals and server 70.
Step S302, receives the synchronization request that B terminals send.
For example, when B terminal to server 70 sends synchronization request, namely the synchronization request is by the data in server 70
The request that XX is downloaded, server 70 receive the synchronization request.It should be understood that B terminals also set up net between server 70
Network connects.Wherein, the synchronization request is used for the data backup (or download) to be backed up to the B terminals.
Step S303, obtains the backup progress msg of the current data to be backed up according to the synchronization request.
For example, server 70 first sends a procurement of reserve capacity instruction to A terminals, and A terminals obtain the initial of data XX afterwards
Capacity, such as initial capacity are 100M.A terminals send the initial capacity to server 70 afterwards.Server 70 is also obtained works as
Front data XX back up to the capacity that is actually backed up in server 70, are such as 60M, and then server 70 is calculated and is actually backed up capacity
With the ratio of initial capacity, namely 60%.As can be seen here, current backup progress msg is current backup progress to be not backed up
Finish, backup ratio is 60%.
Step S304, sends the backup progress msg to the B terminals.
For example, server 70 sends above-mentioned backup progress to B terminals.Specifically, data XX are not backed up by server 70
Finish, backup ratio is that 60% information is sent to B terminals.It is, of course, preferable to, whether server 70 can detect data XX
Backup is finished, and when data XX are not backed up finishing, server 70 can send information to the B terminals, and information is concrete
For " current data is not backed up finishing, if wait backup to be downloaded when finishing again ".
If the user of B terminals selects "Yes", the continuation of server 70 to detect whether data XX back up and finish, work as service
Data XX that device 70 detect are backed up when finishing, and send cue to B terminals, and data XX are sent to the B terminals.
If the user of B terminals selects "No", directly by partial data XX, (partial data XX is the number to server 70
The data being actually backed up according to XX in the server) send to the B terminals.Finish when server 70 detects the data XX backup
When, cue is sent to B terminals, and remaining data XX are sent to the B terminals.
The backup method of the data of the present embodiment, by receiving the backup request that A terminals send, according to the backup request pair
The data to be backed up of the A terminals are backed up;Receive the synchronization request that B terminals send;The synchronization request is used for this is to be backed up
Data backup is to the B terminals;The backup progress msg of the current data to be backed up is obtained according to the synchronization request;To the B terminals
The backup progress msg is sent, so that B terminals carry out backup operation according to the backup progress msg.Due to receiving B terminals
When downloading the data that A terminals upload onto the server, server sends backup progress msg to the B terminals, facilitates B terminals to know and works as
Whether front data to be downloaded are complete, and the contrast without carrying out file improves the efficiency of data syn-chronization.
Fig. 5 is refer to, Fig. 5 is the structural representation of the back-up device of data provided in an embodiment of the present invention.Such as Fig. 5 institutes
Show, the back-up device 40 of the data of this preferred embodiment includes:Backup request receiver module 41, synchronization request receiver module 42,
Acquisition module 43, sending module 44.
Backup request receiver module 41, for receiving the backup request of first terminal transmission, according to the backup request to this
The data to be backed up of first terminal are backed up.
Synchronization request receiver module 42, for receiving the synchronization request of second terminal transmission;The synchronization request is used for should
Data backup to be backed up is to the second terminal.
Acquisition module 43, for the backup progress msg of the current data to be backed up is obtained according to the synchronization request.
Sending module 44, for sending the backup progress msg to the second terminal.
As shown in fig. 6, the acquisition module 43 includes:Position acquisition submodule 431, spare capacity acquisition submodule 432, just
Beginning procurement of reserve capacity submodule 433, progress acquisition submodule 434.
Position acquisition submodule 431, for obtaining the corresponding storage location letter of the data to be backed up according to the synchronization request
Breath.
Spare capacity acquisition submodule 432, for obtaining, the storage location information is corresponding currently to complete data backup
Spare capacity.
Initial capacity acquisition submodule 433, for obtaining the initial capacity of the data to be backed up.
Progress acquisition submodule 434, for generating the backup progress msg according to the spare capacity and the initial capacity.
The sending module 44 includes:Detection sub-module 441, sending submodule 442, synchronous submodule 443.
The detection sub-module 441, for detecting whether the backup progress msg meets pre-conditioned.
The sending submodule 442, for when the backup progress msg be unsatisfactory for this it is pre-conditioned when, to the second terminal send out
Information is sent, the information carries the backup progress msg.
The synchronous submodule 443, for when the Status of Backups information meet this it is pre-conditioned when, will be the data to be backed up same
Walk to the second terminal.
The device also includes:Command reception module 45, synchronization module 46 and reminding module 47.
Command reception module 45, for receiving the selection instruction that the second terminal is returned according to the information.
Synchronization module 46, for according to the selection instruction by the data syn-chronization to be backed up to the second terminal.
The reminding module 47, for when the Status of Backups information meets pre-conditioned, sending prompting to the second terminal
Signal.
When being embodied as, above modules can be realized as independent entity, it is also possible to be combined, and made
Realize for same or several entities, being embodied as of above modules can be found in embodiment of the method above, and here is not
Repeat again.
The back-up device of the data of this preferred embodiment, it is by receiving the backup request that first terminal sends, standby according to this
Part request is backed up to the data to be backed up of the first terminal;Receive the synchronization request that second terminal sends;The synchronization request
For by the data backup to be backed up to the second terminal;Entered according to the backup that the synchronization request obtains the current data to be backed up
Degree information;The backup progress msg is sent to the second terminal.Due to being uploaded to receiving certain terminal downloads other-end
During the data of server, backup progress msg is sent to the terminal, conveniently know whether current data to be downloaded are complete, so as to
The contrast of file need not be carried out, the efficiency of data syn-chronization is improve.
In addition, returning Fig. 4, the present invention also provides a kind of standby system 100 of data, it include server 70, at least one
Individual A terminals and B terminals, the wherein server 70 can include the back-up device that any data provided by example is performed as described above,
The back-up device of the data specifically refers to the specific descriptions that example is performed as described above, and will not be described here.A the or B terminals can have
Body is the such as equipment such as panel computer, mobile phone.
So that the system includes an A terminal and B terminals as an example, specifically, during work, A terminal to server 70 sends standby
Part request, server 70 receive the backup request that A terminals send, and server 70 treats standby to the A terminals according to the backup request
Number evidence is backed up;B terminal to server 70 sends synchronization request, and server 70 receives the synchronization request that B terminals send;Should
Synchronization request is used for the data backup to be backed up to the B terminals;Server 70 obtains current this according to the synchronization request and treats standby
The backup progress msg of number evidence;Server 70 sends the backup progress msg to the B terminals afterwards.Afterwards, B terminals are according to this
Back up into row information and backed up.
It is understood that the structure and functional realiey of the wherein back-up device of the data may refer to above it is detailed
Description, here is omitted.
The server of the present embodiment, wherein can be with the integrated back-up device that any data provided by example is performed as described above, such as
Shown in Fig. 7, the server 70 can include the memory 71, of one or more computer-readable recording mediums or
The processor 72 of person more than one processing core, power supply 73, communication unit 74, input block 75, and the portion such as display unit 76
Part.It will be understood by those skilled in the art that the server architecture illustrated in Fig. 7 does not constitute the restriction to server, can wrap
Include than illustrating more or less of part, or combine some parts, or different part arrangements.
Memory 71 can be used to store software program and module, and processor 72 is stored in the soft of memory 71 by operation
Part program and module, so as to perform various function application and data processing.
Processor 72 is the control centre of server, using various interfaces and each portion of the whole server of connection
Point, software program and/or module in memory 71 are stored in by running or performing, and call and be stored in memory 71
Data, the various functions and processing data of execute server, so as to carry out integral monitoring to server.Optionally, processor
72 may include one or more processing cores;Preferably, processor 72 can integrated application processor and modem processor, its
In, application processor mainly processes operating system, user interface and application program etc., and modem processor is mainly processed wirelessly
Communication.It is understood that above-mentioned modem processor can not also be integrated in processor 72.
Server 70 also includes the power supply 73 (such as battery) powered to all parts.Preferably, power supply 73 can pass through
Power-supply management system is logically contiguous with processor 72, so as to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 73 can also include one or more direct current or AC power, recharging system, power failure
The random component such as detection circuit, power supply changeover device or inverter, power supply status indicator.
During communication unit 74 can be used to receive and send messages, the reception and transmission of signal.Especially, communication unit 74 is received
The signal that terminal sends, and signal is transferred to into one or more than one processor 72 is processed.Meanwhile, communication unit 74 will place
The feedback signal that reason device 72 sends is sent to terminal.
The input block 75 can be used for the numeral or character information of receives input, and produce and user's setting and function
The relevant keyboard of control, mouse, action bars, optics or trace ball signal input.
The display unit 76 can be used to showing by user input information or be supplied to the information and server of user
Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.
Display unit 76 may include display floater, optionally, can adopt liquid crystal display (LCD, Liquid Crystal
Display), the form such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) is configuring display surface
Plate.
Specifically in the present embodiment, the processor 72 in server can be according to following instruction, by one or more
The corresponding executable file of process of application program be loaded in memory 71, and storage is stored in run by processor 72
Application program in device 71 is so as to realize various functions, as follows:
The backup request that first terminal sends is received, the data to be backed up of the first terminal is carried out according to the backup request
Backup;The synchronization request that second terminal sends is received, the synchronization request is used for the data backup to be backed up to the second terminal;
The backup progress msg of the current data to be backed up is obtained according to the synchronization request;The backup progress is sent to the second terminal to believe
Breath, so that the second terminal carries out backup operation according to the backup progress msg.
In some embodiments, processor 72 also runs the application program being stored in memory 71, as follows:According to this
Synchronization request obtains the corresponding storage location information of the data to be backed up;Obtain the storage location information it is corresponding currently complete number
According to the spare capacity of backup;Obtain the initial capacity of the data to be backed up;Being generated with the initial capacity according to the spare capacity should
Backup progress msg.
In some embodiments, processor 72 also runs the application program being stored in memory 71, as follows:Detection should
Whether backup progress msg meets pre-conditioned;If the backup progress msg be unsatisfactory for it is pre-conditioned, to the second terminal send out
Information is sent, the information carries the backup progress msg;If the Status of Backups information meets pre-conditioned, this is treated
Backup Data is synchronized to the second terminal.
Further, processor 72 also runs the application program being stored in memory 71, as follows:Receive the second terminal
According to the selection instruction that the information is returned;According to the selection instruction by the data syn-chronization to be backed up to the second terminal.
Further, when the Status of Backups information meets pre-conditioned, processor 72 also runs and is stored in memory 71
In application program, it is as follows:Cue is sent to the second terminal.
The server of this preferred embodiment, by receiving the backup request that first terminal sends, according to the backup request pair
The data to be backed up of the first terminal are backed up;Receive the synchronization request that second terminal sends;The synchronization request is used for should
Data backup to be backed up is to the second terminal;The backup progress msg of the current data to be backed up is obtained according to the synchronization request;
The backup progress msg is sent to the second terminal.Due to receiving what certain terminal downloads other-end uploaded onto the server
During data, backup progress msg is sent to the terminal, conveniently know whether current data to be downloaded are complete, without entering
The contrast of style of writing part, improves the efficiency of data syn-chronization.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Instruct related hardware to complete with by program, the program can be stored in a computer-readable recording medium, storage
Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
A kind of backup method of the data for being provided to the embodiment of the present invention above, apparatus and system have carried out detailed Jie
Continue, specific case used herein is set forth to the principle and embodiment of the present invention, the explanation of above example is only
It is to be used to help understand the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to the present invention's
Thought, will change in specific embodiments and applications, and in sum, this specification content should not be construed as
Limitation of the present invention.
Claims (10)
1. a kind of backup method of data, it is characterised in that include:
The backup request that first terminal sends is received, the data to be backed up of the first terminal is carried out according to the backup request
Backup;
The synchronization request that second terminal sends is received, the synchronization request is used for the data backup to be backed up to described second
Terminal;
The backup progress msg of presently described data to be backed up is obtained according to the synchronization request;
The backup progress msg is sent to the second terminal, so that the second terminal is entered according to the backup progress msg
Row backup operation.
2. the backup method of data according to claim 1, it is characterised in that described that institute is obtained according to the synchronization request
The step of stating data to be backed up current backup progress msg includes:
The corresponding storage location information of the data to be backed up is obtained according to the synchronization request;
Obtain the corresponding spare capacity for currently completing data backup of the storage location information;
Obtain the initial capacity of the data to be backed up;
The backup progress msg is generated with the initial capacity according to the spare capacity.
3. the backup method of data according to claim 1, it is characterised in that described to send described to the second terminal
The step of backup progress msg, includes:
Whether the detection backup progress msg meets pre-conditioned;
If it is described backup progress msg be unsatisfactory for it is described pre-conditioned, to the second terminal send information, it is described to carry
Show that information carries the backup progress msg;
If the Status of Backups information meets described pre-conditioned, by the data syn-chronization to be backed up to the second terminal.
4. the backup method of data according to claim 3, it is characterised in that carry in described transmission to the second terminal
After the step of showing information, also including step:
Receive the selection instruction that the second terminal is returned according to the information;
According to the selection instruction by the data syn-chronization to be backed up to the second terminal.
5. the backup method of data according to claim 3, it is characterised in that if the Status of Backups information meets described
Pre-conditioned, methods described also includes:Cue is sent to the second terminal.
6. a kind of back-up device of data, it is characterised in that include:
Backup request receiver module, for receiving the backup request of first terminal transmission, according to the backup request to described the
The data to be backed up of one terminal are backed up;
Synchronization request receiver module, for receiving the synchronization request of second terminal transmission, the synchronization request is for treating described
Backup Data backs up to the second terminal;
Acquisition module, for the backup progress msg of presently described data to be backed up is obtained according to the synchronization request;
Sending module, for sending the backup progress msg to the second terminal, so that the second terminal is according to described
Backup progress msg carries out backup operation.
7. the back-up device of data according to claim 6, it is characterised in that the acquisition module, including:
Position acquisition submodule, for obtaining the corresponding storage location information of the data to be backed up according to the synchronization request;
Spare capacity acquisition submodule, holds for obtaining the corresponding backup for currently completing data backup of the storage location information
Amount;
Initial capacity acquisition submodule, for obtaining the initial capacity of the data to be backed up;
Progress acquisition submodule, for generating the backup progress msg with the initial capacity according to the spare capacity.
8. the back-up device of data according to claim 6, it is characterised in that the sending module includes:
Detection sub-module, for detecting whether the backup progress msg meets pre-conditioned;
Sending submodule, for when the backup progress msg is unsatisfactory for described pre-conditioned, sending to the second terminal
Information, the information carry the backup progress msg;
Synchronous submodule, for when the Status of Backups information meets described pre-conditioned, by the data syn-chronization to be backed up
To the second terminal.
9. the back-up device of data according to claim 8, it is characterised in that described device also includes:Command reception mould
Block and synchronization module;
The command reception module, for receiving the selection instruction that the second terminal is returned according to the information;
The synchronization module, for according to the selection instruction by the data syn-chronization to be backed up to the second terminal.
10. a kind of standby system of data, including server and terminal, it is characterised in that the server includes that such as right will
Seek the back-up device of the data described in 6 to 9 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610956836.8A CN106547650B (en) | 2016-10-25 | 2016-10-25 | Backup method, the apparatus and system of data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610956836.8A CN106547650B (en) | 2016-10-25 | 2016-10-25 | Backup method, the apparatus and system of data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106547650A true CN106547650A (en) | 2017-03-29 |
CN106547650B CN106547650B (en) | 2019-10-25 |
Family
ID=58393243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610956836.8A Active CN106547650B (en) | 2016-10-25 | 2016-10-25 | Backup method, the apparatus and system of data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106547650B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113347233A (en) * | 2021-05-20 | 2021-09-03 | 深圳软牛科技有限公司 | Method, device, equipment and storage medium for extracting call and WIFI data from cloud |
CN115509810A (en) * | 2022-09-26 | 2022-12-23 | 广州市保伦电子有限公司 | Remote backup method and device for cloud data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101399729A (en) * | 2007-09-28 | 2009-04-01 | 鸿富锦精密工业(深圳)有限公司 | Management system and method for file download and upload |
CN103139313A (en) * | 2013-03-13 | 2013-06-05 | 惠州Tcl移动通信有限公司 | File transfer method and file transfer system between mobile terminals |
CN104486434A (en) * | 2014-12-23 | 2015-04-01 | 深圳供电局有限公司 | Mobile terminal and file upload and download methods of mobile terminal |
-
2016
- 2016-10-25 CN CN201610956836.8A patent/CN106547650B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101399729A (en) * | 2007-09-28 | 2009-04-01 | 鸿富锦精密工业(深圳)有限公司 | Management system and method for file download and upload |
CN103139313A (en) * | 2013-03-13 | 2013-06-05 | 惠州Tcl移动通信有限公司 | File transfer method and file transfer system between mobile terminals |
CN104486434A (en) * | 2014-12-23 | 2015-04-01 | 深圳供电局有限公司 | Mobile terminal and file upload and download methods of mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113347233A (en) * | 2021-05-20 | 2021-09-03 | 深圳软牛科技有限公司 | Method, device, equipment and storage medium for extracting call and WIFI data from cloud |
CN113347233B (en) * | 2021-05-20 | 2022-09-20 | 深圳软牛科技有限公司 | Method, device, equipment and storage medium for extracting call and WIFI data from cloud |
CN115509810A (en) * | 2022-09-26 | 2022-12-23 | 广州市保伦电子有限公司 | Remote backup method and device for cloud data |
CN115509810B (en) * | 2022-09-26 | 2024-04-05 | 广东保伦电子股份有限公司 | Remote backup method and device for cloud data |
Also Published As
Publication number | Publication date |
---|---|
CN106547650B (en) | 2019-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5345768B2 (en) | Content distribution method, server, terminal, and content distribution system | |
CN106502834A (en) | The backup method of data, apparatus and system | |
CN102866758A (en) | Dynamic power supply management system and method for universal sequence bus concentrator | |
CN102810071B (en) | Control method, control device and computer | |
CN103500116A (en) | Method and system for clearing data generated by application program | |
CN105511985A (en) | Data backup method and terminal | |
CN105630628A (en) | Application restoration method and apparatus | |
CN103309737A (en) | Method and device for switching operating system | |
CN105187733A (en) | Video processing method, device and terminal | |
CN104267795A (en) | Capacity management method, capacity management device and electronic equipment | |
CN107463435A (en) | Application process priority management method, apparatus, storage medium and electronic equipment | |
CN103634032B (en) | Data transfering method, system and mobile terminal | |
CN106502783A (en) | A kind of EMS memory management process and terminal device | |
CN106528333A (en) | Data backup method and apparatus | |
CN106547650A (en) | The backup method of data, apparatus and system | |
CN104615333B (en) | The group technology and play system of a kind of playback equipment | |
CN109376033A (en) | Snap backup method, device, computer equipment and storage medium | |
CN107302591A (en) | Method of data synchronization, device, storage medium and electronic equipment | |
CN105335192B (en) | A kind of information processing method and electronic equipment | |
CN102830943A (en) | Method and system for playing multimedia files in external USB (universal serial bus) storage on the basis of Android platform | |
CN107797832B (en) | Application cleaning method and device, storage medium and electronic equipment | |
CN103685405B (en) | Network service system and the method updating firmware thereof | |
CN113721936B (en) | Application management method, intelligent terminal, device and storage medium | |
CN103077052A (en) | Method and device for processing unsmooth operation problem of mobile terminal | |
CN106358085A (en) | Method for managing tasks under television standby state and television |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |