CN104765657B - A kind of data back up method, data reconstruction method and relevant apparatus - Google Patents

A kind of data back up method, data reconstruction method and relevant apparatus Download PDF

Info

Publication number
CN104765657B
CN104765657B CN201510204733.1A CN201510204733A CN104765657B CN 104765657 B CN104765657 B CN 104765657B CN 201510204733 A CN201510204733 A CN 201510204733A CN 104765657 B CN104765657 B CN 104765657B
Authority
CN
China
Prior art keywords
mobile terminal
data
backup
server
configuration information
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.)
Expired - Fee Related
Application number
CN201510204733.1A
Other languages
Chinese (zh)
Other versions
CN104765657A (en
Inventor
陈启安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510204733.1A priority Critical patent/CN104765657B/en
Publication of CN104765657A publication Critical patent/CN104765657A/en
Application granted granted Critical
Publication of CN104765657B publication Critical patent/CN104765657B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of data back up method, data reconstruction method and relevant apparatus, wherein above-mentioned data back up method includes: whether detection mobile terminal currently meets preset data backup condition;If the mobile terminal currently meets preset data backup condition: obtain the data for needing to back up on the mobile terminal, wherein the data that the needs back up include: user data;Obtain the mobile device international identity code of the mobile terminal;In the file that the data storage for needing to back up on the mobile terminal that will acquire is named to the mobile device international identity code with the mobile terminal on server, so that the mobile terminal downloads corresponding data using the mobile device international identity code of the mobile terminal from the server.Technical solution provided by the invention can effectively simplify the data backup operation of mobile terminal.

Description

A kind of data back up method, data reconstruction method and relevant apparatus
Technical field
The present invention relates to redundancy technique fields, and in particular to a kind of data back up method, data reconstruction method and related dress It sets.
Background technique
With being continuously increased for user demand, the update of cell-phone function is continuous in Internet era, for manufacturer, is It meets the needs of users constantly mobile phone will be upgraded, but often will appear in the escalation process of mobile phone The possibility that userdata.img (user data) subregion is damaged or is wiped free of, therefore user needs before upgrading to mobile phone Userdata.img in mobile phone is backed up.
Currently, user mainly backs up the userdata.img in mobile phone by following method: installation such as 360 hands The userdata.img data of mobile phone are synchronized to personal meter using its backup functionality by the third party softwares such as machine aided hand, pea pods On calculation machine (PC, Personal Compute), then the data on PC are synchronized to server.But above-mentioned backup scenario needs PC carries out data relay, cumbersome.
Summary of the invention
The present invention provides a kind of data back up method, data reconstruction method and relevant apparatus, for simplifying mobile terminal Data backup operation.
First aspect present invention provides a kind of data back up method, comprising:
Whether detection mobile terminal currently meets preset data backup condition;
If above-mentioned mobile terminal currently meets preset data backup condition:
Obtain the data for needing to back up on above-mentioned mobile terminal, wherein the data of above-mentioned needs backup include: number of users According to;
Obtain the mobile device international identity code of above-mentioned mobile terminal;
The data storage on the above-mentioned mobile terminal that will acquire needing to back up on server with above-mentioned mobile terminal In the file of mobile device international identity code name, so that above-mentioned mobile terminal utilizes the mobile device state of above-mentioned mobile terminal Border identity code downloads corresponding data from above-mentioned server.
Second aspect of the present invention provides a kind of data reconstruction method based on above-mentioned data back up method, comprising: service Device receives the Backup Data request message from mobile terminal, wherein above-mentioned Backup Data request message includes above-mentioned mobile whole The mobile device international identity code at end;
It is searched according to the mobile device international identity code of above-mentioned mobile terminal international with the mobile device of above-mentioned mobile terminal The file of identity code name;
Data in the above-mentioned file found are sent to above-mentioned mobile terminal, so as in the recovery of above-mentioned mobile terminal State data.
Third aspect present invention provides a kind of data backup device, comprising:
Detection unit, for detecting whether mobile terminal currently meets preset data backup condition;
First acquisition unit, for detect that above-mentioned mobile terminal currently meets preset data standby when above-mentioned detection unit When part condition, the data for needing to back up on above-mentioned mobile terminal are obtained, wherein the data of above-mentioned needs backup include: number of users According to;
Second acquisition unit, for obtaining the mobile device international identity code of above-mentioned mobile terminal;
Storage unit, the data storage for needing to back up on the above-mentioned mobile terminal for obtaining above-mentioned second acquisition unit In the file that the mobile device international identity code with above-mentioned mobile terminal on to server is named, so as to above-mentioned mobile terminal Corresponding data are downloaded from above-mentioned server using the mobile device international identity code of above-mentioned mobile terminal.
Fourth aspect present invention provides the server based on above-mentioned data backup device, comprising:
Receiving unit, for receiving the Backup Data request message from mobile terminal, wherein above-mentioned Backup Data request Message includes the mobile device international identity code of above-mentioned mobile terminal;
Searching unit, for being searched according to the mobile device international identity code of above-mentioned mobile terminal with above-mentioned mobile terminal The file of mobile device international identity code name;
Transmission unit, the data in above-mentioned file for finding above-mentioned searching unit are sent to above-mentioned mobile whole End, so that above-mentioned mobile terminal restores above-mentioned data.
Therefore in the present invention when detecting that mobile terminal meets preset data backup condition, automatic obtain is moved It moves the mobile device international identity code (IMEI, International Mobile Equipment Identity) of terminal and needs The data to be backed up, and store in the file named to the IMEI with the mobile terminal on server, to realize shifting The automatic data backup of dynamic terminal, and data relay need not be carried out by PC, it is effectively simplified the data backup behaviour of mobile terminal Make.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is a kind of data back up method one embodiment flow diagram provided by the invention;
Fig. 2 is a kind of another embodiment flow diagram of data back up method provided by the invention;
Fig. 3 is a kind of data reconstruction method one embodiment flow diagram provided by the invention;
Fig. 4 is a kind of data backup device one provided by the invention and applies a structural schematic diagram;
Fig. 5 is a kind of server one provided by the invention and applies a structural schematic diagram.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality Applying example is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, the common skill in this field Art personnel every other embodiment obtained without making creative work belongs to the model that the present invention protects It encloses.
The embodiment of the present invention provides a kind of data back up method, data reconstruction method and relevant apparatus, the data backup side Method includes: whether detection mobile terminal currently meets preset data backup condition;If above-mentioned mobile terminal currently meets default Data backup condition, then: obtaining the data for needing to back up on above-mentioned mobile terminal, wherein the data packet of above-mentioned needs backup It includes: user data;Obtain the mobile device international identity code of above-mentioned mobile terminal;It is needed on the above-mentioned mobile terminal that will acquire standby In the file that the data storage of part is named to the mobile device international identity code with above-mentioned mobile terminal on server, so as to Above-mentioned mobile terminal downloads corresponding data using the mobile device international identity code of above-mentioned mobile terminal from above-mentioned server. The data reconstruction method includes: that server receives the Backup Data request message from mobile terminal, wherein above-mentioned Backup Data Request message includes the mobile device international identity code of above-mentioned mobile terminal;According to the mobile device world body of above-mentioned mobile terminal Part code searches the file named with the mobile device international identity code of above-mentioned mobile terminal;It will be in the above-mentioned file that found Data be sent to above-mentioned mobile terminal, so that above-mentioned mobile terminal restores above-mentioned data.The embodiment of the present invention also provides accordingly Data backup device and server, be described in detail separately below.
A kind of data back up method provided in an embodiment of the present invention is described below, referring to Fig. 1, the present invention is implemented Example in data back up method include:
101, whether detection mobile terminal currently meets preset data backup condition;
In the embodiment of the present invention, whether data backup device detection mobile terminal currently meets preset data backup item Part thens follow the steps 102 if the mobile terminal currently meets preset data backup condition, if the mobile terminal is currently discontented with The preset data backup condition of foot, then return step 101 immediately or after waiting preset duration or predeterminable event being waited to occur.
Optionally, above-mentioned preset data backup condition is that mobile terminal is in Wireless Fidelity (Wi-Fi, Wireless- Fidelity) in the network environment of network, then the currently used network environment of data backup device detection mobile terminal whether be Wi-Fi network, if detecting, the currently used network environment of the mobile terminal is Wi-Fi network, determines that mobile terminal is current Meet preset data backup condition, executes step 102;If detecting, the currently used network environment of the mobile terminal is not Wi-Fi network then determines that the mobile terminal is currently unsatisfactory for preset data backup condition, return step 101.
Optionally, above-mentioned preset data backup condition is to receive upgrading preparation instruction, then mobile terminal is being risen Before grade (such as over the air (OTA, Over the Air Technology) upgrading) or line brush, to data backup Device sends upgrading preparation instruction, and data backup device determines that the mobile terminal is current when detecting the upgrading preparation instruction Meet preset data backup condition, executes step 102;Otherwise, it is determined that be currently unsatisfactory for preset data standby for the mobile terminal Part condition, return step 101.For example, when mobile terminal is carrying out system upgrade
Certainly, other data backup conditions also can be set in the embodiment of the present invention and detect otherwise mobile whole Whether end currently meets preset data backup condition, such as data backup device provides manual backup control, and user can lead to It crosses and triggers the manual backup control and carry out trigger data backup process, data backup device detects whether the manual backup control is touched Hair, when detecting that the manual backup control is triggered, determines that the mobile terminal currently meets preset data backup condition, holds Row step 102, otherwise, it is determined that the mobile terminal is currently unsatisfactory for preset data backup condition, return step 101.The present invention Whether embodiment does not meet the specific implementation side of preset data backup condition currently to data backup device detection mobile terminal Formula is set.
102, the data for needing to back up on above-mentioned mobile terminal are obtained;
Wherein, the data of above-mentioned needs backup include: user data (i.e. userdata.img).Certainly, above-mentioned needs are standby The data of part can also include other data, such as the contact information significant data stored in mobile terminal, not limit herein It is fixed.
Optionally, data backup template is set in data backup device in advance, and user can pass through the data backup mould Plate chooses the data for needing automated back-up, and for significant datas such as userdata.img, can be in the data backup template It is set as essential option, user can not cancel in the data backup template selectes essential option, when data backup device determines to move When dynamic terminal currently meets preset data backup condition, data backup device obtains the shifting according to the data backup template automatically The data for needing to back up in dynamic terminal.
103, the IMEI of above-mentioned mobile terminal is obtained;
In the embodiment of the present invention, IMEI is the unique identification number for distinguishing mobile terminal, and IMEI is stored in the terminal. Data backup device obtains the IMEI of above-mentioned mobile terminal, and specifically, the IMEI that data backup device obtains mobile terminal can be with It realizes referring to prior art, is not construed as limiting herein.
104, the data for needing to back up on the above-mentioned mobile terminal that will acquire are stored to whole with above-mentioned movement on server In the file of the IMEI name at end, so that above-mentioned mobile terminal utilizes the IMEI of above-mentioned mobile terminal above and below above-mentioned server Carry corresponding data.
In the embodiment of the present invention, data backup device is created on the server with the text of the IMEI name of above-mentioned mobile terminal Part folder, the data for later obtaining step 102 are stored in this document folder, so that subsequent movement terminal passes through its IMEI to the service Device request data.
It should be noted that mobile terminal in the embodiment of the present invention can for mobile phone, tablet computer or it is other need into The mobile terminal of row data backup, the data backup device in the embodiment of the present invention can integrate in above-mentioned mobile terminal, or Person, can also be independently of above-mentioned mobile terminal, and can be communicated by wired or wireless way and above-mentioned mobile terminal Device is not construed as limiting herein.
Therefore in the present invention when detecting that mobile terminal meets preset data backup condition, automatic obtain is moved The data that the IMEI and needs of dynamic terminal are backed up, and store the file named to the IMEI with the mobile terminal on server In, to realize the automatic data backup of mobile terminal, and data relay need not be carried out by PC, be effectively simplified mobile whole The data backup operation at end.
The data back up method in the embodiment of the present invention is described with another embodiment below, referring to Fig. 2, this hair Data back up method in bright embodiment, comprising:
201, whether detection mobile terminal currently meets preset data backup condition;
In the embodiment of the present invention, whether data backup device detection mobile terminal currently meets preset data backup item Part thens follow the steps 202 if the mobile terminal currently meets preset data backup condition, if the mobile terminal is currently discontented with The preset data backup condition of foot, then return step 201 immediately or after waiting preset duration or predeterminable event being waited to occur.
Optionally, above-mentioned preset data backup condition is that mobile terminal is in the network environment of Wi-Fi network, then counts It whether is Wi-Fi network according to the currently used network environment of back-up device detection mobile terminal, if detecting, the mobile terminal is worked as The preceding network environment used is Wi-Fi network, then determines that mobile terminal currently meets preset data backup condition, execute step 202;If detecting, the currently used network environment of the mobile terminal is not Wi-Fi network, determines the mobile terminal currently not Meet preset data backup condition, return step 201.
Optionally, above-mentioned preset data backup condition is to receive upgrading preparation instruction, then mobile terminal is being risen Before grade (such as OTA upgrading) or line brush, upgrading preparation instruction is sent to data backup device, data backup device is detecting When to the upgrading preparation instruction, determines that the mobile terminal currently meets preset data backup condition, execute step 202;Otherwise, Determine that the mobile terminal is currently unsatisfactory for preset data backup condition, return step 201.For example, when mobile terminal exists Carry out system upgrade
Certainly, other data backup conditions also can be set in the embodiment of the present invention and detect otherwise mobile whole Whether end currently meets preset data backup condition, such as data backup device provides manual backup control, and user can lead to It crosses and triggers the manual backup control and carry out trigger data backup process, data backup device detects whether the manual backup control is touched Hair, when detecting that the manual backup control is triggered, determines that the mobile terminal currently meets preset data backup condition, holds Row step 202, otherwise, it is determined that the mobile terminal is currently unsatisfactory for preset data backup condition, return step 201.The present invention Whether embodiment does not meet the specific implementation side of preset data backup condition currently to data backup device detection mobile terminal Formula is set.
202, the data for needing to back up on above-mentioned mobile terminal are obtained;
Wherein, the data of above-mentioned needs backup include: user data (i.e. userdata.img).Certainly, above-mentioned needs are standby The data of part can also include other data, such as the contact information significant data stored in mobile terminal, not limit herein It is fixed.
Optionally, data backup template is set in data backup device in advance, and user can pass through the data backup mould Plate chooses the data for needing automated back-up, and for significant datas such as userdata.img, can be in the data backup template It is set as essential option, user can not cancel in the data backup template selectes essential option, when data backup device determines to move When dynamic terminal currently meets preset data backup condition, data backup device obtains the shifting according to the data backup template automatically The data for needing to back up in dynamic terminal.
203, the IMEI of above-mentioned mobile terminal is obtained;
In the embodiment of the present invention, IMEI is the unique identification number for distinguishing mobile terminal, and IMEI is stored in the terminal. Data backup device obtains the IMEI of above-mentioned mobile terminal, and specifically, the IMEI that data backup device obtains mobile terminal can be with It realizes referring to prior art, is not construed as limiting herein.
204, the hardware configuration information of above-mentioned mobile terminal is obtained;
In the embodiment of the present invention, data backup device obtains the hardware configuration information of mobile terminal, specifically, mobile terminal Hardware configuration information may include such as the next item down or two permutation and combination: central processing unit (CPU, Central Processing Unit) model and Double Data Rate synchronous DRAM (DDR, Double Data Rate) model, when So, the hardware configuration information of mobile terminal is also possible to other ardware model numbers or other several main hardwares in the embodiment of the present invention Model permutation and combination, be not construed as limiting herein.
205, the hardware configuration information of the data and above-mentioned mobile terminal that need to back up on the above-mentioned mobile terminal that will acquire Binding storage is into the file named on server with the IMEI of above-mentioned mobile terminal, so that above-mentioned mobile terminal is using upper The IMEI and hardware configuration information for stating mobile terminal download corresponding data from above-mentioned server;
In the embodiment of the present invention, data backup device is created on the server with the text of the IMEI name of above-mentioned mobile terminal Part folder, the data for later obtaining step 202 are stored in this document folder, and the data and above-mentioned hardware configuration information are tied up Fixed storage, so that subsequent movement terminal passes through its IMEI and hardware configuration information to the server request data, by server base Corresponding data are searched in the IMEI of the mobile terminal, and the hardware configuration information sent to the mobile terminal is verified, and is taken The hardware configuration information that the hardware configuration information that the data are bound and the mobile terminal are sent is compared by business device, is comparing knot When fruit is consistent, the data found are just sent to the mobile terminal.
It should be noted that mobile terminal in the embodiment of the present invention can for mobile phone, tablet computer or it is other need into The mobile terminal of row data backup, the data backup device in the embodiment of the present invention can integrate in above-mentioned mobile terminal, or Person, can also be independently of above-mentioned mobile terminal, and can be communicated by wired or wireless way and above-mentioned mobile terminal Device is not construed as limiting herein.
Therefore in the present invention when detecting that mobile terminal meets preset data backup condition, automatic obtain is moved The data that the IMEI and needs of dynamic terminal are backed up, and store the file named to the IMEI with the mobile terminal on server In, to realize the automatic data backup of mobile terminal, and data relay need not be carried out by PC, be effectively simplified mobile whole The data backup operation at end.Further, the hardware configuration information of mobile terminal is obtained in the embodiment of the present invention as verification information, The data of storage are bound with hardware configuration information, to avoid stealing use from server by identical IMEI by malice The data at family further improve the safety of data.
A kind of data reconstruction method of the invention is described with an embodiment below, the data in the embodiment of the present invention Restoration methods are based on the data back up method in Fig. 1 or embodiment illustrated in fig. 2, referring to Fig. 3, the data in the embodiment of the present invention Restoration methods include:
301, server receives the Backup Data request message from mobile terminal;
Wherein, above-mentioned Backup Data request message includes the IMEI of above-mentioned mobile terminal.
The data that mobile terminal backups on the server are stored in the embodiment of the present invention, on server, wherein above-mentioned Data include: user data (i.e. userdata.img), specifically, the data of mobile terminal are backuped to the reality on the server Existing mode is referred to the description in Fig. 1 or embodiment illustrated in fig. 2.
In the embodiment of the present invention, mobile terminal can send above-mentioned backup number from trend server after the completion of system upgrade According to request message, above-mentioned Backup Data request message is sent to server alternatively, mobile terminal can also be triggered manually from user, It is not construed as limiting herein.
302, the file named with the IMEI of above-mentioned mobile terminal is searched according to the IMEI of above-mentioned mobile terminal;
In the embodiment of the present invention, the data of mobile terminal are stored in the IMEI with the mobile terminal on above-mentioned server and order In the file of name, when server receives above-mentioned Backup Data request message, according in the Backup Data request message IMEI searches the file that server local is named with the IMEI.
303, the data in the above-mentioned file found are sent to above-mentioned mobile terminal, so that above-mentioned mobile terminal is extensive Multiple above-mentioned data;
In the embodiment of the present invention, the data in the above-mentioned file found are sent to above-mentioned mobile terminal by server, After the data of above-mentioned acquisition for mobile terminal server, data recovery is carried out using the data obtained from server, alternatively, mobile whole The data obtained from server are compared by end with local original data, are comparing mobile terminal locally original data When appearance is damaged or is wiped free of, the data obtained from server is just used to carry out data recovery, otherwise, discarding is obtained from server The data taken.
Optionally, above-mentioned Backup Data request message further include: the hardware configuration information of above-mentioned mobile terminal, and, it is above-mentioned The hardware configuration information of the data of mobile terminal and above-mentioned mobile terminal binds storage in above-mentioned server.Then in step 302 It finds so that after the file of the IMEI name of above-mentioned mobile terminal, server verification is tied up with the data in the file found Whether fixed hardware configuration information and the above-mentioned Backup Data request message hardware configuration information for including are consistent;If consistent, hold Row step 303 does not execute step 303 if inconsistent, further, when hard with the data binding in the file that finds When the hardware configuration information that part configuration information and above-mentioned Backup Data request message include is inconsistent, above-mentioned server can also be to Above-mentioned mobile terminal sends reminder message of the instruction without download permission.Specifically, the hardware configuration information of above-mentioned mobile terminal can To include such as the next item down or two permutation and combination: CPU model and DDR type number, certainly, mobile terminal in the embodiment of the present invention Hardware configuration information be also possible to other ardware model numbers or other several main hardwares model permutation and combination, do not make herein It limits.
It should be noted that mobile terminal in the embodiment of the present invention can for mobile phone, tablet computer or it is other need into The mobile terminal of row data backup, is not construed as limiting herein.
Therefore the data that mobile terminal obtains the IMEI of mobile terminal automatically and needs back up in the present invention, and deposit It stores up in the file that the IMEI with the mobile terminal on server is named, so that the automaticdata for realizing mobile terminal is standby Part, and data relay need not be carried out by PC, it is effectively simplified the data backup operation of mobile terminal, also, after a backup, Mobile terminal can send the corresponding data of Backup Data request message acquisition to server and be restored.
The data backup device in the embodiment of the present invention is described with an embodiment below, referring to Fig. 4, of the invention Data backup device 400 in embodiment includes:
Detection unit 401, for detecting whether mobile terminal currently meets preset data backup condition;
First acquisition unit 402, for detecting that above-mentioned mobile terminal currently meets preset data when detection unit 401 When backup condition, the data for needing to back up on above-mentioned mobile terminal are obtained, wherein the data of above-mentioned needs backup include: user Data (i.e. userdata.img);
Second acquisition unit 403, for obtaining the IMEI of above-mentioned mobile terminal;
Storage unit 404, the data for needing to back up on the above-mentioned mobile terminal for obtaining second acquisition unit 403 are deposited It stores up in the file that the IMEI with above-mentioned mobile terminal on server is named, so that above-mentioned mobile terminal utilizes above-mentioned movement The IMEI of terminal downloads corresponding data from above-mentioned server.
Optionally, the data backup device in the embodiment of the present invention further include: third acquiring unit, for obtaining above-mentioned shifting The hardware configuration information of dynamic terminal;Storage unit 404 is specifically used for: the above-mentioned mobile terminal that second acquisition unit 403 is obtained The hardware configuration information binding storage of the upper above-mentioned mobile terminal for needing the data backed up to obtain with above-mentioned third acquiring unit is arrived In the file that the IMEI with above-mentioned mobile terminal on server is named, so that above-mentioned mobile terminal utilizes above-mentioned mobile terminal IMEI and hardware configuration information corresponding data are downloaded from above-mentioned server.
Optionally, detection unit 401 is specifically used for: whether the currently used network environment of detection mobile terminal is wirelessly to protect True network;If detecting, the currently used network environment of above-mentioned mobile terminal is wireless fidelity network, determines that mobile terminal is worked as Before meet preset data backup condition;If detecting, the currently used network environment of above-mentioned mobile terminal is not Wireless Fidelity net Network then determines that mobile terminal is currently unsatisfactory for preset data backup condition.
It should be noted that mobile terminal in the embodiment of the present invention can for mobile phone, tablet computer or it is other need into The mobile terminal of row data backup, the data backup device in the embodiment of the present invention can integrate in above-mentioned mobile terminal, or Person, can also be independently of above-mentioned mobile terminal, and can be communicated by wired or wireless way and above-mentioned mobile terminal Device is not construed as limiting herein.
It should be understood that data backup device in the embodiment of the present invention can data as referred in above method embodiment it is standby Part device, can be used to implement all the technical solutions in the foregoing method embodiment, the function of each functional module can root According to the method specific implementation in above method embodiment, specific implementation process can refer to the associated description in above-described embodiment, Details are not described herein again.
Therefore in the present invention when detecting that mobile terminal meets preset data backup condition, automatic obtain is moved The data that the IMEI and needs of dynamic terminal are backed up, and store the file named to the IMEI with the mobile terminal on server In, to realize the automatic data backup of mobile terminal, and data relay need not be carried out by PC, be effectively simplified mobile whole The data backup operation at end.
The server in the embodiment of the present invention is described with an embodiment below, wherein the server is based on Fig. 4 The data backup device in embodiment is stated, referring to Fig. 5, the server 500 in the embodiment of the present invention includes:
Receiving unit 501, for receiving the Backup Data request message from mobile terminal, wherein above-mentioned Backup Data Request message includes the IMEI of above-mentioned mobile terminal;
Searching unit 502, for being searched according to the IMEI of above-mentioned mobile terminal with the IMEI name of above-mentioned mobile terminal File;
Transmission unit 503, the data in above-mentioned file for finding searching unit 502 are sent to above-mentioned movement Terminal, so that above-mentioned mobile terminal restores above-mentioned data, wherein above-mentioned data include: user data.
Optionally, above-mentioned Backup Data request message further include: the hardware configuration information of above-mentioned mobile terminal;Above-mentioned movement The hardware configuration information of the data of terminal and above-mentioned mobile terminal binds storage in above-mentioned server;In the embodiment of the present invention Server further include: verification unit, for verifying the hard of the binding of the data in the above-mentioned file found with searching unit 502 Whether part configuration information and the above-mentioned Backup Data request message hardware configuration information for including are consistent;Transmission unit 503 is above-mentioned The check results of verification unit are triggering when being.
It should be noted that mobile terminal in the embodiment of the present invention can for mobile phone, tablet computer or it is other need into The mobile terminal of row data backup, is not construed as limiting herein.
It should be understood that server in the embodiment of the present invention can be such as the server that refers in above method embodiment, it can be with For realizing whole technical solutions in above method embodiment, the function of each functional module can be according to above method reality The method specific implementation in example is applied, specific implementation process can refer to the associated description in above-described embodiment, and details are not described herein again.
Therefore the data that mobile terminal obtains the IMEI of mobile terminal automatically and needs back up in the present invention, and deposit It stores up in the file that the IMEI with the mobile terminal on server is named, so that the automaticdata for realizing mobile terminal is standby Part, and data relay need not be carried out by PC, it is effectively simplified the data backup operation of mobile terminal, also, after a backup, Mobile terminal can send the corresponding data of Backup Data request message acquisition to server and be restored.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of said units, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this hair Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The above are to a kind of description of data back up method, data reconstruction method and relevant apparatus provided by the present invention, For those of ordinary skill in the art, thought according to an embodiment of the present invention, in specific embodiments and applications It will change, to sum up, the contents of this specification are not to be construed as limiting the invention.

Claims (8)

1. a kind of data back up method characterized by comprising
Whether detection mobile terminal currently meets preset data backup condition, and the preset data backup condition is to receive Upgrade preparation instruction;
If the mobile terminal currently meets preset data backup condition:
Obtain the data for needing to back up on the mobile terminal, wherein described to need the data that back up to include: Userdata.img, is arranged data backup template in data backup device in advance, and user can pass through the data backup template The data for needing automated back-up are chosen, wherein userdata.img data are essential option, Yong Huwu in the data backup template Method is cancelled in the data backup template selectes essential option;
Obtain the mobile device international identity code of the mobile terminal;
The data for needing to back up on the mobile terminal that will acquire are stored to the movement with the mobile terminal on server In the file of equipment international identity code name, so that the mobile terminal utilizes the mobile device world body of the mobile terminal Part code downloads corresponding data from the file of the server;
If the mobile terminal is currently unsatisfactory for preset data backup condition: immediately or waits preset duration or wait pre- If the step of whether event currently meets preset data backup condition back to the detection mobile terminal after occurring;
The data storage on the mobile terminal that will acquire needing to back up on server with the mobile terminal In the file of mobile device international identity code name, before further include:
Obtain the hardware configuration information of the mobile terminal;
The data storage on the mobile terminal that will acquire needing to back up on server with the mobile terminal In the file of mobile device international identity code name, comprising:
The hardware configuration information binding of the data and the mobile terminal that need to back up on the mobile terminal that will acquire stores In the file that the mobile device international identity code with the mobile terminal on to server is named, so as to the mobile terminal By the mobile device international identity code of the mobile terminal and hardware configuration information to the server request data;
The mobile terminal sends Backup Data request message from trend server after the completion of system upgrade, comprising: by servicing Device searches corresponding data based on the mobile device international identity code of the mobile terminal, and sends to the mobile terminal hard Part configuration information is verified, the hardware that the hardware configuration information and the mobile terminal that server binds the data are sent Configuration information is compared, and when comparison result is consistent, the data found are just issued the mobile terminal.
2. data back up method according to claim 1, which is characterized in that whether the detection mobile terminal currently meets Preset data backup condition, comprising:
Detect whether the currently used network environment of mobile terminal is wireless fidelity network;
If detecting, the currently used network environment of the mobile terminal is wireless fidelity network, determines that mobile terminal is currently full The preset data backup condition of foot;
If detecting, the currently used network environment of the mobile terminal is not wireless fidelity network, determines that mobile terminal is current It is unsatisfactory for preset data backup condition.
3. a kind of data reconstruction method based on the described in any item data back up method of claim 1 to 2, which is characterized in that Include:
Server receives the Backup Data request message from mobile terminal, wherein the Backup Data request message includes institute State the mobile device international identity code of mobile terminal;
It is searched according to the mobile device international identity code of the mobile terminal with the mobile device international identity of the mobile terminal The file of code name;
Data in the file found are sent to the mobile terminal, so that the mobile terminal restores the number According to.
4. data reconstruction method according to claim 3, which is characterized in that the Backup Data request message further include: The hardware configuration information of the mobile terminal;The hardware configuration information of the data of the mobile terminal and the mobile terminal is in institute It states and binds storage in server;
The mobile device world searched according to the mobile device international identity code of the mobile terminal with the mobile terminal Identity code name file, include: later
The hardware configuration information and the Backup Data request message of data binding in the file for verifying and finding Including hardware configuration information it is whether consistent;
If consistent, the step of data in the file that will be found are sent to the mobile terminal is executed;
If inconsistent, the step that the data in the file that will be found are sent to the mobile terminal is not executed Suddenly.
5. a kind of data backup device characterized by comprising
Detection unit, for detecting whether mobile terminal currently meets preset data backup condition, the preset data are standby Part condition is to receive upgrading preparation instruction: if the mobile terminal currently meets preset data backup condition: it is counted According to backup, if the mobile terminal is currently unsatisfactory for preset data backup condition: immediately or wait preset duration or waiting Predeterminable event returns after occurring executes the judgement behaviour whether the detection mobile terminal currently meets preset data backup condition Make;
First acquisition unit, for detecting that the mobile terminal currently meets preset data backup item when the detection unit When part, the data for needing to back up on the mobile terminal are obtained, wherein described to need the data that back up to include: Userdata.img, is arranged data backup template in data backup device in advance, and user can pass through the data backup template The data for needing automated back-up are chosen, wherein userdata.img data are essential option, Yong Huwu in the data backup template Method is cancelled in the data backup template selectes essential option;
Second acquisition unit, for obtaining the mobile device international identity code of the mobile terminal;
Storage unit, the data storage for needing to back up on the mobile terminal for obtaining the second acquisition unit to clothes In the file that the mobile device international identity code with the mobile terminal being engaged on device is named, so as to mobile terminal utilization The mobile device international identity code of the mobile terminal downloads corresponding data from the file of the server;
The data backup device further include:
Third acquiring unit, for obtaining the hardware configuration information of the mobile terminal;
The storage unit is specifically used for: the data that will need to back up on the mobile terminal that the second acquisition unit obtains With the third acquiring unit obtain the mobile terminal hardware configuration information binding storage on server with described In the file of the mobile device international identity code name of mobile terminal, so that the mobile terminal passes through the mobile terminal Mobile device international identity code and hardware configuration information download corresponding request data on the file of the server, Corresponding data are searched based on the mobile device international identity code of the mobile terminal by server, and the mobile terminal is sent out The hardware configuration information sent is verified, and the hardware configuration information and the mobile terminal that server binds the data are sent Hardware configuration information be compared, comparison result be it is consistent when, the data found are just issued into the mobile terminal;
The mobile terminal sends Backup Data request message from trend server after the completion of system upgrade, comprising: by servicing Device searches corresponding data based on the mobile device international identity code of the mobile terminal, and sends to the mobile terminal hard Part configuration information is verified, the hardware that the hardware configuration information and the mobile terminal that server binds the data are sent Configuration information is compared, and when comparison result is consistent, the data found are just issued the mobile terminal.
6. data backup device according to claim 5, which is characterized in that
The detection unit is specifically used for: whether the currently used network environment of detection mobile terminal is wireless fidelity network;If It detects that the currently used network environment of the mobile terminal is wireless fidelity network, then it is default to determine that mobile terminal currently meets Data backup condition;If detecting, the currently used network environment of the mobile terminal is not wireless fidelity network, is determined Mobile terminal is currently unsatisfactory for preset data backup condition.
7. a kind of server based on the described in any item data backup devices of claim 5 to 6 characterized by comprising
Receiving unit, for receiving the Backup Data request message from mobile terminal, wherein the Backup Data request message Mobile device international identity code including the mobile terminal;
Searching unit, for being searched according to the mobile device international identity code of the mobile terminal with the movement of the mobile terminal The file of equipment international identity code name;
Transmission unit, the data in the file for finding the searching unit are sent to the mobile terminal, So that the mobile terminal restores the data.
8. server according to claim 7, which is characterized in that the Backup Data request message further include: the shifting The hardware configuration information of dynamic terminal;The hardware configuration information of the data of the mobile terminal and the mobile terminal is in the service Storage is bound in device;
The server further include:
Verification unit, the hardware configuration for verifying the data binding in the file found with the searching unit are believed It ceases whether consistent with the Backup Data request message hardware configuration information for including;
Transmission unit triggering when the check results of the verification unit are to be.
CN201510204733.1A 2015-04-27 2015-04-27 A kind of data back up method, data reconstruction method and relevant apparatus Expired - Fee Related CN104765657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510204733.1A CN104765657B (en) 2015-04-27 2015-04-27 A kind of data back up method, data reconstruction method and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510204733.1A CN104765657B (en) 2015-04-27 2015-04-27 A kind of data back up method, data reconstruction method and relevant apparatus

Publications (2)

Publication Number Publication Date
CN104765657A CN104765657A (en) 2015-07-08
CN104765657B true CN104765657B (en) 2019-04-16

Family

ID=53647502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510204733.1A Expired - Fee Related CN104765657B (en) 2015-04-27 2015-04-27 A kind of data back up method, data reconstruction method and relevant apparatus

Country Status (1)

Country Link
CN (1) CN104765657B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867961A (en) * 2015-12-07 2016-08-17 乐视移动智能信息技术(北京)有限公司 System upgrading and degrading method and device
CN105653713B (en) * 2015-12-30 2017-10-17 广东欧珀移动通信有限公司 It is a kind of to determine the method and device that EIC equipment identification code is present
CN105847030A (en) * 2016-03-14 2016-08-10 联想(北京)有限公司 Information processing method and electronic equipment
CN107402840A (en) * 2016-05-20 2017-11-28 西安中兴新软件有限责任公司 The method and mobile terminal of data backup
CN107945858A (en) * 2017-12-14 2018-04-20 无锡祥生医疗科技股份有限公司 Upgrading backup method, the apparatus and system of diasonograph
CN110781030A (en) * 2019-09-09 2020-02-11 晶晨半导体(深圳)有限公司 Backup method for user data in android system upgrading process
CN110673868B (en) * 2019-09-17 2023-04-11 Oppo广东移动通信有限公司 System data processing method, device and storage medium
CN110780889A (en) * 2019-10-14 2020-02-11 广州微算互联信息技术有限公司 Cloud mobile phone data cloning method and cloud mobile phone data restoring method
CN111163161A (en) * 2019-12-27 2020-05-15 李超 Automatic backup and automatic clearing method for intelligent terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904848A (en) * 2006-08-21 2007-01-31 杭州华为三康技术有限公司 Data backup system and method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7792799B2 (en) * 2002-10-10 2010-09-07 Perlego Systems, Inc. Backing up a wireless computing device
CN101098343B (en) * 2007-06-12 2012-08-01 深圳市融创天下科技股份有限公司 Information interchange method for handset and network server
CN101626571A (en) * 2009-08-05 2010-01-13 中兴通讯股份有限公司 Card information backup method and system of user identification card
CN101867915A (en) * 2010-06-13 2010-10-20 优视科技有限公司 Address book data backup and recovery method based on mobile terminal and system
CN103646044A (en) * 2013-11-19 2014-03-19 北京奇虎科技有限公司 Mobile terminal identification method and device
CN103617098B (en) * 2013-12-03 2017-06-16 上海爱数信息技术股份有限公司 Intelligent backup method and intelligent backup system based on data variation
CN104881335B (en) * 2015-03-16 2019-06-18 Oppo广东移动通信有限公司 A kind of back-up application restoring method and terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904848A (en) * 2006-08-21 2007-01-31 杭州华为三康技术有限公司 Data backup system and method

Also Published As

Publication number Publication date
CN104765657A (en) 2015-07-08

Similar Documents

Publication Publication Date Title
CN104765657B (en) A kind of data back up method, data reconstruction method and relevant apparatus
CN106569869B (en) Plug-in unit packaging method and device
CN109829308A (en) The management method and device of control strategy, storage medium, electronic device
CN110519711A (en) A kind of information push method, device, storage medium and server
CN104598286B (en) The Oftware updating method and device of mobile terminal
CN102176775A (en) Intelligent configuration device and method
CN107133086A (en) Task processing method, device and system based on distributed system
CN105677561B (en) The multi-platform test method of mobile product and system
CN110515762A (en) Data reconstruction method, device, terminal device and storage medium
CN107894891A (en) Program packaging method and device and program installation method and device
CN105975278A (en) Application interface skin switching method and device
CN108052094A (en) A kind of extension card identification method, device and frequency converter
CN109213530A (en) A kind of communication connecting method based on USB, mobile terminal and storage medium
CN110502268A (en) Application program update method, apparatus, server and storage medium
CN105721659B (en) Incoming call processing method and device
CN108646577B (en) Client operation management method and client
CN108108173A (en) A kind of information processing method and device
CN101110813B (en) Movable data synchronization method remaining compatibility
CN104092661B (en) The communication means and device of virtual machine serial ports
CN105119944B (en) Application starting method and related device
CN106569914A (en) Data backup method, data restoration method and systems
CN111722850B (en) Processing method, device and system for multi-system application
CN105607913B (en) The operation processing method and device of interconnecting application
CN107479926A (en) System carries the upgrade method and device of application program
CN106304028B (en) The method and device of address book backup and recovery

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523841 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190416