CN106201789A - Data backup method and device and terminal - Google Patents

Data backup method and device and terminal Download PDF

Info

Publication number
CN106201789A
CN106201789A CN201610601839.XA CN201610601839A CN106201789A CN 106201789 A CN106201789 A CN 106201789A CN 201610601839 A CN201610601839 A CN 201610601839A CN 106201789 A CN106201789 A CN 106201789A
Authority
CN
China
Prior art keywords
terminal
file
file destination
data backup
data
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.)
Pending
Application number
CN201610601839.XA
Other languages
Chinese (zh)
Inventor
白斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610601839.XA priority Critical patent/CN106201789A/en
Publication of CN106201789A publication Critical patent/CN106201789A/en
Pending legal-status Critical Current

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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/184Distributed file systems implemented as replicated file system
    • G06F16/1844Management specifically adapted to replicated file systems

Abstract

The invention discloses a data backup method, a data backup device and a terminal. The method comprises the following steps: when a data backup request of a user is received, establishing a file transmission connection with a second terminal according to the data backup request; when the file transmission connection is successfully established, generating a copy request aiming at the target file; and transmitting the target file to the second terminal through the file transmission connection according to the replication request, wherein the second terminal copies the target file. The method and the device have the advantages that the data backup of the target file is achieved without manual operation of a user, operation steps of the user are simplified, the support of a cloud server is not needed, the data backup cost is greatly reduced, and the difficulty of the data backup between terminals is reduced.

Description

Data back up method, device and terminal
Technical field
The present invention relates to technical field of data processing, particularly relate to a kind of data back up method, device and terminal.
Background technology
At present, the data backup mode between terminal typically has following two: one is to carry out end by cloud server Data in first terminal such as, are first backed up by the data backup between end, afterwards, are arrived by this backup files passe Cloud server, finally, the second terminal is by downloading this backup file from cloud server, thus realizes the number between terminal According to backup;Another way is mainly by user by setting up the connection between terminal, and realizes the most standby by this connection Part, such as, the data in first terminal can first be backed up by user, then by the way of FTP focus by first terminal and Second terminal is set up FTP and is connected, and finally, is connected the backup file copy in first terminal to the second terminal by this FTP, with Realize the data backup between terminal.
But, the problem that presently, there are is: above-mentioned first kind of way need by cloud server could realize terminal it Between data backup, relatively costly;In above-mentioned second way data backup procedure between whole terminal, need experience many Individual process (as to the Application Backup in first terminal, backing up photos), each process is the most comparatively laborious and complicated, Er Qiexu Want user manually from first terminal, data file to be transferred to the second terminal, add the difficulty of data backup between terminal undoubtedly Degree, user operation step is various.
Summary of the invention
The purpose of the present invention is intended to solve one of above-mentioned technical problem the most to a certain extent.
To this end, the first of the present invention purpose is to propose a kind of data back up method.The method achieve without user Manually file destination is carried out data backup, simplify the operating procedure of user, and need not the support of cloud server, significantly Reduce the cost of data backup, reduce the difficulty of data backup between terminal.
Second object of the present invention is to propose another kind of data back up method.
Third object of the present invention is to propose a kind of data backup device.
Fourth object of the present invention is to propose another kind of data backup device.
5th purpose of the present invention is to propose a kind of terminal.
6th purpose of the present invention is to propose another kind of terminal.
For reaching above-mentioned purpose, the data back up method of first aspect present invention embodiment, it is applied to first terminal, described side Method includes: when receiving the data backup requests of user, sets up between the second terminal according to described data backup requests File transmission connects;When the transmission connection establishment success of described file, generate the duplicate requests for file destination;According to described Described file destination is transferred to described second terminal by the transmission connection of described file by duplicate requests, and wherein, described second eventually End copies described file destination.
Data back up method according to embodiments of the present invention, when receiving the data backup requests of user, according to data Backup request set up with between the second terminal file transmit is connected, and file transmission connection establishment success time, generation for The duplicate requests of file destination, afterwards, can be transferred to second eventually by file transmission connection by file destination according to duplicate requests End, wherein, the second terminal copy targeting file.I.e. during whole data backup, only need to transmit connection establishment at file After success, automatically the data of first terminal are backuped to the second terminal, it is not necessary to it is standby that user manually carries out data to file destination Part, simplify the operating procedure of user, and need not the support of cloud server, greatly reduce the cost of data backup, fall The difficulty of data backup between low terminal.
Wherein, in one embodiment of the invention, described file destination at least includes the data message of application program.
According to one embodiment of present invention, described generation for the duplicate requests of file destination, including: obtain described should By the storing directory of program;Using the file under described storing directory as described file destination, and generate for described target literary composition The described duplicate requests of part.
Wherein, in one embodiment of the invention, described file transmission connection include FTP connect, bluetooth connect, wireless WiFi connect in any one.
For reaching above-mentioned purpose, the data back up method of second aspect present invention embodiment, it is applied to the second terminal, including: Receive the file transmission establishment of connection request that described first terminal sends, and set up and described first according to the described request of setting up File transmission between terminal connects, and wherein, the described request of setting up is standby in the data receiving user by described first terminal During part request, generate according to described data backup requests;Copy described first terminal and connect transmission by the transmission of described file File destination, wherein, described file destination be by described first terminal described file transmission connection establishment success time, according to The duplicate requests for described file destination generated is transmitted.
Data back up method according to embodiments of the present invention, the file transmission establishment of connection receiving first terminal transmission please Asking, and be connected with the file transmission between first terminal according to setting up request foundation, wherein, foundation request is to be existed by first terminal When receiving the data backup requests for user, generate according to data backup requests, and copy first terminal and pass through file Transmission connects the file destination sent, and wherein, file destination is by first terminal when file transmission connection establishment success, according to The duplicate requests for file destination generated is transmitted.I.e. during whole data backup, only need to pass at file After the success of defeated connection establishment, automatically the data of first terminal are backuped to the second terminal, it is not necessary to user is manually to file destination Carry out data backup, simplify the operating procedure of user, and need not the support of cloud server, greatly reduce data backup Cost, reduce the difficulty of data backup between terminal.
Wherein, in one embodiment of the invention, described file destination at least includes the data message of application program.
According to one embodiment of present invention, when the data message that described file destination is described application program, in institute Stating after copying the file destination that described first terminal connects transmission by the transmission of described file, described method also includes: according to The data message of described application program obtains the installation kit of described application program;Perform the installation kit of described application program, to incite somebody to action Described application program is installed to described second terminal.
Wherein, in one embodiment of the invention, described file transmission connection include FTP connect, bluetooth connect, wireless WiFi connect in any one.
For reaching above-mentioned purpose, the data backup device of third aspect present invention embodiment, it is configured in first terminal, described Device includes: set up module, for when receiving the data backup requests of user, according to described data backup requests set up with File transmission between second terminal connects;Generation module, for described file transmission connection establishment success time, generate for The duplicate requests of file destination;Document transmission module, for connecting institute by the transmission of described file according to described duplicate requests Stating file destination and be transferred to described second terminal, wherein, described second terminal copies described file destination.
Data backup device according to embodiments of the present invention, can ask in the data backup receiving user by setting up module When asking, setting up according to data backup requests and be connected with the file transmission between the second terminal, generation module connects in file transmission When being successfully established, generating the duplicate requests for file destination, document transmission module is according to duplicate requests by file transmission even Connect and file destination is transferred to the second terminal, wherein, the second terminal copy targeting file.I.e. in the process of whole data backup In, only after file transmission connection establishment success, automatically the data of first terminal need to be backuped to the second terminal, it is not necessary to user Manually file destination is carried out data backup, simplify the operating procedure of user, and need not the support of cloud server, significantly Reduce the cost of data backup, reduce the difficulty of data backup between terminal.
Wherein, in one embodiment of the invention, described file destination at least includes the data message of application program.
According to one embodiment of present invention, described generation module includes: acquiring unit, is used for obtaining described application program Storing directory;Signal generating unit, is used for the file under described storing directory as described file destination, and generates for described The described duplicate requests of file destination.
Wherein, in one embodiment of the invention, described file transmission connection include FTP connect, bluetooth connect, wireless WiFi connect in any one.
For reaching above-mentioned purpose, the data backup device of fourth aspect present invention embodiment, it is configured in the second terminal, described Device includes: receiver module, for receiving the file transmission establishment of connection request that described first terminal sends, wherein, described The request of foundation is by described first terminal when receiving the data backup requests of user, generates according to described data backup requests 's;Set up module, be connected for setting up to transmit with the file between described first terminal according to the described request of setting up;Backup mould Block, connects, by the transmission of described file, the file destination sent for copying described first terminal, and wherein, described file destination is By described first terminal when the transmission connection establishment success of described file, please according to the duplication for described file destination generated Ask and be transmitted.
Data backup device according to embodiments of the present invention, can receive, by receiver module, the file biography that first terminal sends Defeated establishment of connection is asked, and sets up module and is connected with the file transmission between first terminal according to setting up request foundation, wherein, builds Vertical request is by first terminal when receiving the data backup requests of user, generates according to data backup requests, backs up mould Block copy first terminal connects, by file transmission, the file destination sent, and wherein, file destination is at file by first terminal During transmission connection establishment success, it is transmitted according to the duplicate requests for file destination generated.I.e. standby in whole data During Fen, only after file transmission connection establishment success, automatically the data of first terminal need to be backuped to the second terminal, Manually file destination is carried out data backup without user, simplify the operating procedure of user, and need not cloud server Support, greatly reduce the cost of data backup, reduce the difficulty of data backup between terminal.
Wherein, in one embodiment of the invention, described file destination at least includes the data message of application program.
According to one embodiment of present invention, when the data message that described file destination is described application program, described Device also includes: acquisition module, is sent out by the transmission connection of described file for copying described first terminal at described backup module After the file destination sent, obtain the installation kit of described application program according to the data message of described application program;Module is installed, For performing the installation kit of described application program, so that described application program is installed to described second terminal.
Wherein, in one embodiment of the invention, described file transmission connection include FTP connect, bluetooth connect, wireless WiFi connect in any one.
For reaching above-mentioned purpose, the terminal of fifth aspect present invention embodiment, including: housing;Processor;Memorizer;Circuit Plate and power circuit;Wherein, described circuit board is placed in the interior volume that described housing surrounds, described processor and described storage Device is arranged on described circuit board;Described power circuit, powers for each circuit or the device for described terminal;Described storage Device is used for storing executable program code;Described processor comes by reading the executable program code of storage in described memorizer Run the program corresponding with executable program code, for execution: when receiving the data backup requests of user, according to institute State data backup requests foundation to be connected with the file transmission between the second terminal;When the transmission connection establishment success of described file, Generate the duplicate requests for file destination;Connected described file destination by the transmission of described file according to described duplicate requests Being transferred to described second terminal, wherein, described second terminal copies described file destination.
For reaching above-mentioned purpose, the terminal of sixth aspect present invention embodiment, including: housing;Processor;Memorizer;Circuit Plate and power circuit;Wherein, described circuit board is placed in the interior volume that described housing surrounds, described processor and described storage Device is arranged on described circuit board;Described power circuit, powers for each circuit or the device for described terminal;Described storage Device is used for storing executable program code;Described processor comes by reading the executable program code of storage in described memorizer Run the program corresponding with executable program code, for execution: receive the file transmission connection that described first terminal sends Foundation request, and according to described set up request set up with between described first terminal file transmit be connected, wherein, described in build Vertical request is by described first terminal when receiving the data backup requests of user, generates according to described data backup requests 's;Copying described first terminal and connect, by the transmission of described file, the file destination sent, wherein, described file destination is by institute State first terminal described file transmission connection establishment success time, according to generate the duplicate requests for described file destination enter Row sends.
Aspect and advantage that the present invention adds will part be given in the following description, and part will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or that add aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially with easy to understand, wherein:
Fig. 1 is the flow chart of data back up method according to an embodiment of the invention;
Fig. 2 is the structural representation of data backup device according to an embodiment of the invention;
Fig. 3 is the structural representation of the data backup device according to one specific embodiment of the present invention;
Fig. 4 is the flow chart of data back up method in accordance with another embodiment of the present invention;
Fig. 5 is the structural representation of the data backup device according to another embodiment of the present invention;
Fig. 6 is the structural representation of the data backup device according to further embodiment of the present invention.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish Same or similar label represents same or similar element or has the element of same or like function.Below with reference to attached The embodiment that figure describes is exemplary, it is intended to is used for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the data back up method of the embodiment of the present invention, device and terminal are described.
Fig. 1 is the flow chart of data back up method according to an embodiment of the invention.It should be noted that the present invention is real The data back up method executing example can be applicable to data backup device, and this data backup device can be configured in first terminal, and this is years old One terminal can be that smart mobile phone, panel computer, palm PC, personal digital assistant etc. have the hardware of various operating system and set Standby.
The data back up method of the embodiment of the present invention can be described with first terminal side.As it is shown in figure 1, this data backup Method may include that
S110, when receiving the data backup requests of user, sets up between the second terminal according to data backup requests File transmission connect.
For example, it is assumed that the data back up method of the embodiment of the present invention can be applicable to first terminal, this first terminal can Providing the user the application program being capable of data backup, this application program can provide the user the triggering bar of data backup Part, such as, this trigger condition can be the push button for data backup, when user touches the push button of this application program Time, data backup requests can be sent to first terminal.After first terminal is in the data backup requests receiving user, can root Transmit establishment of connection request according to this data backup requests to the surrounding broadcast file of first terminal, and receive the second terminal When really building vertical request, the file transmission set up between first terminal and the second terminal connects.
Wherein, in one embodiment of the invention, this document transmission connection may include but be not limited to FTP connection, bluetooth Connect and any one in wireless WiFi connection etc..Additionally, above-mentioned second terminal can be smart mobile phone, panel computer, the palm Computer, personal digital assistant etc. have the hardware device of various operating system.
S120, when file transmission connection establishment success, generates the duplicate requests for file destination.
Wherein, in one embodiment of the invention, this file destination at least includes the data message etc. of application program, example As, this file destination may also include the information such as photo.
In an embodiment of the present invention, above-mentioned file destination can be regarded as the data to be backed up in first terminal, and this treats standby Number is according to being backed up the second terminal, and wherein, the determination mode of this file destination can have a variety of, such as, and can be according to above-mentioned number Determine the file destination corresponding to this request according to backup request, i.e. determine that user triggers which or which file in first terminal Data backup requests, and after determining using the file corresponding to this data backup requests as this file destination;Such as, this mesh Mark file can also be pre-set rule, i.e. when file transmission connection establishment success, true according to rule set in advance Fixed prespecified which or which file needs to back up.
As a kind of example, the process that implements for the duplicate requests of file destination that generates can be as follows: can obtain should By the storing directory of program, and using the file under this storing directory as file destination, and generate the duplication for file destination Request.
Such as, as a example by file destination is as photo, the photograph album in first terminal/Camera catalogue can be obtained (the most above-mentioned Storing directory) under all photos, and using these photos as file destination, ultimately producing the duplication for these all photos please Ask.And for example, as a example by file destination is for the data message of application A PP, the data/app catalogue in first terminal can be obtained The APK installation package file of all application A PP under (the most above-mentioned storing directory), and generate the APK peace for these APP The duplicate requests of dress APMB package.
S130, is transferred to second terminal by file transmission connection by file destination according to duplicate requests, and wherein, second eventually End copy targeting file.
Specifically, after generating for the duplicate requests of file destination, can be according to this duplicate requests by above-mentioned file File destination is transferred to the second terminal by transmission connection.Second terminal can copy this file destination, to realize first terminal Data backup to the purpose in the second terminal.Such as, the second terminal, when receiving this file destination, can first generate and this target The target directory that file is corresponding, and the file destination that this is received copy to correspondence target directory under, with realize terminal it Between data backup.
Data back up method according to embodiments of the present invention, when receiving the data backup requests of user, according to data Backup request set up with between the second terminal file transmit is connected, and file transmission connection establishment success time, generation for The duplicate requests of file destination, afterwards, can be transferred to second eventually by file transmission connection by file destination according to duplicate requests End, wherein, the second terminal copy targeting file.I.e. during whole data backup, only need to transmit connection establishment at file After success, automatically the data of first terminal are backuped to the second terminal, it is not necessary to it is standby that user manually carries out data to file destination Part, simplify the operating procedure of user, and need not the support of cloud server, greatly reduce the cost of data backup, fall The difficulty of data backup between low terminal.
In order to realize above-described embodiment, the invention allows for a kind of data backup device.
Fig. 2 is the structural representation of data backup device according to an embodiment of the invention.It should be noted that this The data backup device of bright embodiment can be configured in first terminal.Wherein, this first terminal can be smart mobile phone, flat board electricity Brain, palm PC, personal digital assistant etc. have the hardware device of various operating system.
As in figure 2 it is shown, this data backup device may include that sets up module 210, generation module 220 and file transmission mould Block 230.
Specifically, set up module 210 and can be used for when receiving the data backup requests of user, according to data backup requests Set up to transmit with the file between the second terminal and be connected.Wherein, in one embodiment of the invention, file transmission connection can be wrapped Include but be not limited to any one in FTP connection, bluetooth connection and wireless WiFi connection etc..Additionally, above-mentioned second terminal is permissible It it is the hardware device with various operating system such as smart mobile phone, panel computer, palm PC, personal digital assistant.
For example, it is assumed that the data backup device of the embodiment of the present invention can be applicable to first terminal, this first terminal can Providing the user the application program being capable of data backup, this application program can provide the user the triggering bar of data backup Part, such as, this trigger condition can be the push button for data backup, when user touches the push button of this application program Time, data backup requests can be sent to first terminal.
Set up module 210 after the data backup requests receiving user, can be according to this data backup requests to first The surrounding broadcast file transmission establishment of connection request of terminal, and when receiving the second terminal and really building vertical request, set up File transmission between first terminal and the second terminal connects.
Generation module 220 can be used for, when file transmission connection establishment success, generating the duplicate requests for file destination. Wherein, in one embodiment of the invention, this file destination at least includes the data message etc. of application program, such as, this mesh Mark file may also include the information such as photo.
In an embodiment of the present invention, above-mentioned file destination can be regarded as the data to be backed up in first terminal, and this treats standby Number is according to being backed up the second terminal, and wherein, the determination mode of this file destination can have a variety of, such as, and can be according to above-mentioned number Determine the file destination corresponding to this request according to backup request, i.e. determine that user triggers which or which file in first terminal Data backup requests, and after determining using the file corresponding to this data backup requests as this file destination;Such as, this mesh Mark file can also be pre-set rule, i.e. when file transmission connection establishment success, true according to rule set in advance Fixed prespecified which or which file needs to back up.
As a kind of example, as it is shown on figure 3, this generation module 220 comprises the steps that acquiring unit 221 and signal generating unit 222. Wherein, acquiring unit 221 can be used for obtaining the storing directory of application program.Signal generating unit 222 can be used under storing directory File is as file destination, and generates the duplicate requests for file destination.
Such as, as a example by file destination is as photo, acquiring unit 221 can obtain the photograph album in first terminal/Camera mesh All photos under record (the most above-mentioned storing directory), and using these photos as file destination, signal generating unit 222 generate for The duplicate requests of these all photos.And for example, as a example by file destination is for the data message of application A PP, acquiring unit 221 can The APK installation kit of all application A PP under data/app catalogue (the most above-mentioned storing directory) in acquisition first terminal File, signal generating unit 222 generates the duplicate requests of the APK installation package file for these APP.
Document transmission module 230 can be used for by file transmission connection, file destination being transferred to second according to duplicate requests Terminal, wherein, the second terminal copy targeting file.
More specifically, after generation module 220 generates for the duplicate requests of file destination, document transmission module 230 Connection can be transmitted according to this duplicate requests by above-mentioned file and file destination is transferred to the second terminal.Second terminal can copy this File destination, to realize the data of first terminal are backuped to the purpose in the second terminal.Such as, the second terminal is receiving this During file destination, can first generate the target directory corresponding with this file destination, and the file destination that this is received copy to right Under the target directory answered, to realize the data backup between terminal.
Data backup device according to embodiments of the present invention, can ask in the data backup receiving user by setting up module When asking, setting up according to data backup requests and be connected with the file transmission between the second terminal, generation module connects in file transmission When being successfully established, generating the duplicate requests for file destination, document transmission module is according to duplicate requests by file transmission even Connect and file destination is transferred to the second terminal, wherein, the second terminal copy targeting file.I.e. in the process of whole data backup In, only after file transmission connection establishment success, automatically the data of first terminal need to be backuped to the second terminal, it is not necessary to user Manually file destination is carried out data backup, simplify the operating procedure of user, and need not the support of cloud server, significantly Reduce the cost of data backup, reduce the difficulty of data backup between terminal.
Fig. 4 is the flow chart of data back up method in accordance with another embodiment of the present invention.It should be noted that the present invention The data back up method of embodiment can be applicable to data backup device, and this data backup device is configured in the second terminal, and this is years old Two terminals can be that smart mobile phone, panel computer, palm PC, personal digital assistant etc. have the hardware of various operating system and set Standby.
The data back up method of the embodiment of the present invention can the second end side be described.As shown in Figure 4, this data backup Method may include that
S410, receives the file transmission establishment of connection request that first terminal sends, and sets up and the according to the request of foundation File transmission between one terminal connects, and wherein, the request of foundation is to be received the data backup requests of user by first terminal Time, generate according to data backup requests.
For example, it is assumed that the data back up method of the embodiment of the present invention can be applicable to the second terminal, this second terminal can Provide the user the application program being capable of data backup, can receive, by this application program, the file biography that first terminal sends Defeated establishment of connection is asked.When receiving the file transmission establishment of connection request that first terminal sends, can be according to this foundation Request is set up to transmit with the file between first terminal and is connected.
It is to say, when first terminal receives the data backup requests of user, can according to this data backup requests to The surrounding broadcast file transmission establishment of connection request of first terminal.Second terminal, when receiving this foundation request, can be set up Transmit with the file between first terminal and be connected.Wherein, in one embodiment of the invention, file transmission connection can include but It is not limited to that FTP connects, bluetooth connects and any one in wireless WiFi connection etc..
S420, copy first terminal connects, by file transmission, the file destination sent, and wherein, file destination is by first Terminal, when file transmission connection establishment success, is transmitted according to the duplicate requests for file destination generated.
Specifically, during first terminal file transmission connection establishment success between the second terminal, can generate for the The duplicate requests of the file destination in one terminal, and this file destination is transmitted by file transmission connection according to this duplicate requests To the second terminal.Second terminal can connect the file destination copying the transmission of this first terminal by this document transmission.As one Example, the second terminal, when receiving this file destination, can generate the target directory corresponding with this file destination, and by this target File copy is to the target directory of this correspondence, to realize the data backup between terminal.Wherein, in one embodiment of the present of invention In, this file destination at least includes the data message etc. of application program, and such as, this file destination may also include the information such as photo.
In order to promote Consumer's Experience further, simplify user operation, as a kind of example, when file destination is application program Data message time, copy first terminal by file transmission connect send file destination after, this data back up method May also include that data message according to application program obtains the installation kit of application program, and perform the installation kit of application program, with Application program is installed to the second terminal.
It is to say, the second terminal is after copy first terminal connects, by file transmission, the file destination sent, can Obtain the installation kit of this application program, and perform operation to be installed, all installation package files to be installed in the second terminal.
Data back up method according to embodiments of the present invention, the file transmission establishment of connection receiving first terminal transmission please Asking, and be connected with the file transmission between first terminal according to setting up request foundation, wherein, foundation request is to be existed by first terminal When receiving the data backup requests for user, generate according to data backup requests, and copy first terminal and pass through file Transmission connects the file destination sent, and wherein, file destination is by first terminal when file transmission connection establishment success, according to The duplicate requests for file destination generated is transmitted.I.e. during whole data backup, only need to pass at file After the success of defeated connection establishment, automatically the data of first terminal are backuped to the second terminal, it is not necessary to user is manually to file destination Carry out data backup, simplify the operating procedure of user, and need not the support of cloud server, greatly reduce data backup Cost, reduce the difficulty of data backup between terminal.
Fig. 5 is the structural representation of the data backup device according to another embodiment of the present invention.It should be noted that this The data backup device of inventive embodiments can be configured in the second terminal.
As it is shown in figure 5, this data backup device may include that receiver module 510, sets up module 520 and backup module 530。
Specifically, receiver module 510 can be used for receiving the file transmission establishment of connection request that first terminal sends, its In, the request of foundation is by first terminal when receiving the data backup requests of user, generates according to data backup requests.This Outward, in an embodiment of the present invention, file transmission connection may include but be not limited to FTP connection, bluetooth connects and wireless WiFi connects Any one in connecing etc..
Set up module 520 to can be used for setting up to transmit with the file between first terminal according to the request of foundation being connected.
It is to say, when first terminal receives the data backup requests of user, can according to this data backup requests to The surrounding broadcast file transmission establishment of connection request of first terminal.Receiver module 510 in the second terminal receives this and builds During vertical request, set up the file transmission that module 520 can set up between first terminal and be connected.
Backup module 530 can be used for copying first terminal and connects the file destination sent, wherein, target by file transmission File is that the duplicate requests for file destination according to generating is carried out by first terminal when file transmission connection establishment success Send.
Specifically, during first terminal file transmission connection establishment success between the second terminal, can generate for the The duplicate requests of the file destination in one terminal, and this file destination is transmitted by file transmission connection according to this duplicate requests To the second terminal.Backup module 530 in second terminal can connect the mesh copying the transmission of this first terminal by this document transmission Mark file.As a kind of example, backup module 530, when receiving this file destination, can generate corresponding with this file destination Target directory, and this file destination is copied the target directory of this correspondence to, to realize the data backup between terminal.Wherein, In one embodiment of the invention, this file destination at least includes the data message etc. of application program, such as, this file destination May also include the information such as photo.
In order to promote Consumer's Experience further, simplify user operation, as a kind of example, when file destination is application program Data message time, as shown in Figure 6, data backup device may also include that acquisition module 540 and installs module 550.Wherein, obtain Delivery block 540 can be used for after backup module 530 copies the file destination that first terminal connects transmission by file transmission, root Data message according to application program obtains the installation kit of application program.Module 550 is installed and can be used for performing the installation of application program Bag, to install application program to the second terminal.
Data backup device according to embodiments of the present invention, can receive, by receiver module, the file biography that first terminal sends Defeated establishment of connection is asked, and sets up module and is connected with the file transmission between first terminal according to setting up request foundation, wherein, builds Vertical request is by first terminal when receiving the data backup requests of user, generates according to data backup requests, backs up mould Block copy first terminal connects, by file transmission, the file destination sent, and wherein, file destination is at file by first terminal During transmission connection establishment success, it is transmitted according to the duplicate requests for file destination generated.I.e. standby in whole data During Fen, only after file transmission connection establishment success, automatically the data of first terminal need to be backuped to the second terminal, Manually file destination is carried out data backup without user, simplify the operating procedure of user, and need not cloud server Support, greatly reduce the cost of data backup, reduce the difficulty of data backup between terminal.
In order to realize above-described embodiment, the invention allows for a kind of terminal, it is possible to understand that this terminal can be first terminal, Including: housing;Processor;Memorizer;Circuit board and power circuit;Wherein, circuit board is placed in the interior volume that housing surrounds, Processor and memorizer are arranged on circuit boards;Power circuit, powers for each circuit or the device for terminal;Memorizer is used In storage executable program code;Processor runs by reading the executable program code of storage in memorizer and can perform The program that program code is corresponding, for execution:
S110 ', when receiving the data backup requests of user, sets up between the second terminal according to data backup requests File transmission connect.
S120 ', when file transmission connection establishment success, generates the duplicate requests for file destination.
S130 ', transmits connection according to duplicate requests by file and file destination is transferred to the second terminal, wherein, second Terminal copy targeting file.
In order to realize above-described embodiment, the invention allows for another kind of terminal, it is possible to understand that this terminal can be the second end End, including: housing;Processor;Memorizer;Circuit board and power circuit;Wherein, in circuit board is placed in the space that housing surrounds Portion, processor and memorizer are arranged on circuit boards;Power circuit, powers for each circuit or the device for terminal;Storage Device is used for storing executable program code;Processor is run by the executable program code of storage in reading memorizer and can Perform the program that program code is corresponding, for execution:
S410 ', receives the file transmission establishment of connection request that first terminal sends, and sets up and the according to the request of foundation File transmission between one terminal connects, and wherein, the request of foundation is to be received the data backup requests of user by first terminal Time, generate according to data backup requests.
S420 ', copy first terminal connects, by file transmission, the file destination sent, and wherein, file destination is by the One terminal, when file transmission connection establishment success, is transmitted according to the duplicate requests for file destination generated.
In describing the invention, it is to be understood that term " first ", " second " are only used for describing purpose, and can not It is interpreted as instruction or hint relative importance or the implicit quantity indicating indicated technical characteristic.Thus, define " the One ", the feature of " second " can express or implicitly include at least one this feature.In describing the invention, " multiple " It is meant that at least two, such as two, three etc., unless otherwise expressly limited specifically.
In the present invention, unless otherwise clearly defined and limited, term " install ", " being connected ", " connection ", " fixing " etc. Term should be interpreted broadly, and connects for example, it may be fixing, it is also possible to be to removably connect, or integral;Can be that machinery connects Connect, it is also possible to be electrical connection;Can be to be joined directly together, it is also possible to be indirectly connected to by intermediary, in can being two elements The connection in portion or the interaction relationship of two elements, unless otherwise clear and definite restriction.For those of ordinary skill in the art For, above-mentioned term concrete meaning in the present invention can be understood as the case may be.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be in office One or more embodiments or example combine in an appropriate manner.Additionally, in the case of the most conflicting, the skill of this area The feature of the different embodiments described in this specification or example and different embodiment or example can be tied by art personnel Close and combination.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not by shown or discuss suitable Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the present invention Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have the electricity of one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory (ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the present invention can be integrated in a processing module, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated mould Block both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.Described integrated module is such as When fruit is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..Although having shown that above and retouching Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, above-described embodiment can be changed, revise, replace and become by those of ordinary skill in the art within the scope of the invention Type.

Claims (10)

1. a data back up method, is applied to first terminal, it is characterised in that comprise the following steps:
When receiving the data backup requests of user, set up the file between the second terminal according to described data backup requests Transmission connects;
When the transmission connection establishment success of described file, generate the duplicate requests for file destination;
By the transmission connection of described file, described file destination is transferred to described second terminal according to described duplicate requests, its In, described second terminal copies described file destination.
2. data back up method as claimed in claim 1, it is characterised in that wherein, described file destination at least includes application The data message of program.
3. data back up method as claimed in claim 2, it is characterised in that described generation please for the duplication of file destination Ask, including:
Obtain the storing directory of described application program;
Using the file under described storing directory as described file destination, and generate the described duplication for described file destination please Ask.
4. data back up method as claimed any one in claims 1 to 3, it is characterised in that wherein, the transmission of described file is even Connect include FTP connect, bluetooth connect, wireless WiFi connect in any one.
5. a data back up method, is applied to the second terminal, it is characterised in that comprise the following steps:
Receive the file transmission establishment of connection request that described first terminal sends, and set up with described according to the described request of setting up File transmission between first terminal connects, and wherein, the described request of setting up is to be received the data of user by described first terminal During backup request, generate according to described data backup requests;
Copy described first terminal by described file transmission connect send file destination, wherein, described file destination be by Described first terminal is when the transmission connection establishment success of described file, according to the duplicate requests for described file destination generated It is transmitted.
6. data back up method as claimed in claim 5, it is characterised in that wherein, described file destination at least includes application The data message of program.
7. data back up method as claimed in claim 6, it is characterised in that when described file destination is described application program During data message, after the described first terminal of described copy connects, by the transmission of described file, the file destination sent, described Method also includes:
Data message according to described application program obtains the installation kit of described application program;
Perform the installation kit of described application program, to install described application program to described second terminal.
8. the data back up method as according to any one of claim 5 to 7, it is characterised in that wherein, the transmission of described file is even Connect include FTP connect, bluetooth connect, wireless WiFi connect in any one.
9. a data backup device, is configured in first terminal, it is characterised in that including:
Set up module, for when receiving the data backup requests of user, set up and second according to described data backup requests File transmission between terminal connects;
Generation module, for when the transmission connection establishment success of described file, generating the duplicate requests for file destination;
Document transmission module, for being transferred to described file destination by the transmission connection of described file according to described duplicate requests Described second terminal, wherein, described second terminal copies described file destination.
10. a terminal, it is characterised in that including: housing, processor, memorizer, circuit board and power circuit, wherein, described Circuit board is placed in the interior volume that described housing surrounds, described processor and described memorizer and is arranged on described circuit board; Described power circuit, powers for each circuit or the device for described terminal;Described memorizer is used for storing executable program Code;Described processor runs and described executable program by reading the executable program code of storage in described memorizer The program that code is corresponding, for performing following steps:
When receiving the data backup requests of user, set up the file between the second terminal according to described data backup requests Transmission connects;
When the transmission connection establishment success of described file, generate the duplicate requests for file destination;
By the transmission connection of described file, described file destination is transferred to described second terminal according to described duplicate requests, its In, described second terminal copies described file destination.
CN201610601839.XA 2016-07-27 2016-07-27 Data backup method and device and terminal Pending CN106201789A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610601839.XA CN106201789A (en) 2016-07-27 2016-07-27 Data backup method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610601839.XA CN106201789A (en) 2016-07-27 2016-07-27 Data backup method and device and terminal

Publications (1)

Publication Number Publication Date
CN106201789A true CN106201789A (en) 2016-12-07

Family

ID=57495361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610601839.XA Pending CN106201789A (en) 2016-07-27 2016-07-27 Data backup method and device and terminal

Country Status (1)

Country Link
CN (1) CN106201789A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291578A (en) * 2017-06-19 2017-10-24 上海闻泰电子科技有限公司 Mobile terminal data backup method and device
CN108268346A (en) * 2018-02-13 2018-07-10 苏州龙信信息科技有限公司 Data back up method, device, equipment and storage medium
CN108628706A (en) * 2018-05-02 2018-10-09 北京新桥信通科技股份有限公司 Method, apparatus, system and the storage medium of data backup
CN109525666A (en) * 2018-11-16 2019-03-26 维沃移动通信有限公司 A kind of data back up method and mobile terminal
CN109783275A (en) * 2018-12-17 2019-05-21 北京春鸿科技有限公司 The method and terminal of file backup are carried out to multiple wifi storage equipment
CN109862623A (en) * 2019-02-19 2019-06-07 苏州开心盒子软件有限公司 Wireless backup method, apparatus, equipment and storage medium
CN115080505A (en) * 2021-09-08 2022-09-20 荣耀终端有限公司 Data migration method, terminal, storage medium, and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090276439A1 (en) * 2008-06-08 2009-11-05 Apple Inc. System and method for simplified data transfer
CN103092721A (en) * 2011-10-31 2013-05-08 联想(北京)有限公司 Application backing up method, electronic equipment and system
CN105187534A (en) * 2015-09-10 2015-12-23 努比亚技术有限公司 Information backup equipment and method, and information backup system
CN105468417A (en) * 2015-11-27 2016-04-06 小米科技有限责任公司 Application software installation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090276439A1 (en) * 2008-06-08 2009-11-05 Apple Inc. System and method for simplified data transfer
CN103092721A (en) * 2011-10-31 2013-05-08 联想(北京)有限公司 Application backing up method, electronic equipment and system
CN105187534A (en) * 2015-09-10 2015-12-23 努比亚技术有限公司 Information backup equipment and method, and information backup system
CN105468417A (en) * 2015-11-27 2016-04-06 小米科技有限责任公司 Application software installation method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291578A (en) * 2017-06-19 2017-10-24 上海闻泰电子科技有限公司 Mobile terminal data backup method and device
CN108268346A (en) * 2018-02-13 2018-07-10 苏州龙信信息科技有限公司 Data back up method, device, equipment and storage medium
CN108268346B (en) * 2018-02-13 2021-03-30 苏州龙信信息科技有限公司 Data backup method, device, equipment and storage medium
CN108628706A (en) * 2018-05-02 2018-10-09 北京新桥信通科技股份有限公司 Method, apparatus, system and the storage medium of data backup
CN109525666A (en) * 2018-11-16 2019-03-26 维沃移动通信有限公司 A kind of data back up method and mobile terminal
CN109783275A (en) * 2018-12-17 2019-05-21 北京春鸿科技有限公司 The method and terminal of file backup are carried out to multiple wifi storage equipment
CN109862623A (en) * 2019-02-19 2019-06-07 苏州开心盒子软件有限公司 Wireless backup method, apparatus, equipment and storage medium
CN115080505A (en) * 2021-09-08 2022-09-20 荣耀终端有限公司 Data migration method, terminal, storage medium, and program product
CN115080505B (en) * 2021-09-08 2023-07-14 荣耀终端有限公司 Data migration method, terminal, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN106201789A (en) Data backup method and device and terminal
US20140075301A1 (en) Information processing apparatus, control method, and recording medium
CN104123199A (en) Method and device for recovering application program and mobile terminal
CN106843978B (en) SDK access method and system
CN101843091B (en) Electronic camera, storage medium, and data transfer method
KR101422563B1 (en) Method and system for efficient download of data package
CN106095624A (en) Data recovery method and device, terminal equipment and server
CN104639424B (en) Data transmission method and related equipment and system
EP2595368A2 (en) Management device, information processing system, management method, and storage medium
CN106155679A (en) Information processing system, information processor and information processing method
KR20100136441A (en) Method and apparatus for wireless digital content management
KR101238374B1 (en) Method and appratus for supplying mashup service
CN106126274A (en) Control method and device for application program data in mobile terminal and mobile terminal
CN106127687A (en) Picture combination method and device, electronic equipment and system
CN103412773A (en) Method and device for obtaining files
CN104618445B (en) A kind of file consolidation method and apparatus based on cloud storage space
CN109274709A (en) The synchronous method and system of a kind of programming works in education operating system
CN112015651A (en) Data processing method and device
CN110675894B (en) HDCP key online burning method and device and electronic equipment
US20170094076A1 (en) Image processing device, image processing method, and non-transitory computer readable medium
CN104239104B (en) Method, device and terminal for unloading application program APP
CN106899630A (en) The method for viewing thumbnail and device of picture in Dropbox
KR20190098516A (en) Method for managing data related to application and electronic device thereof
CN109388356B (en) Image forming apparatus, control method thereof, and computer readable medium
CN103927382A (en) Tender editing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication