CN107562570A - Data reconstruction method and mobile terminal - Google Patents

Data reconstruction method and mobile terminal Download PDF

Info

Publication number
CN107562570A
CN107562570A CN201710643681.7A CN201710643681A CN107562570A CN 107562570 A CN107562570 A CN 107562570A CN 201710643681 A CN201710643681 A CN 201710643681A CN 107562570 A CN107562570 A CN 107562570A
Authority
CN
China
Prior art keywords
data
mobile terminal
backup
delta
delta 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
CN201710643681.7A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710643681.7A priority Critical patent/CN107562570A/en
Publication of CN107562570A publication Critical patent/CN107562570A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of mobile terminal, and it includes memory, processor and is stored in the data recovery procedures that can be run on the memory and on the processor, and following steps are realized when the data recovery procedures are by the computing device:Judge whether the data in mobile terminal changes;If so, obtaining the delta data of mobile terminal, the delta data is backed up, and generates BACKUP TIME label corresponding with delta data;Time shaft is generated according to multiple BACKUP TIME labels;Detect whether to receive the selection instruction to each BACKUP TIME label on time shaft;If so, recover delta data corresponding to the BACKUP TIME label of selection;Compared with prior art, the present invention realizes automatically backup data, saves user's operation, improves Consumer's Experience;The time shaft of multiple BACKUP TIME label generations, data more directly perceived and that easily selection needs return to are enabled users to, facilitates user to be backed up and recovered, improves Consumer's Experience.

Description

Data reconstruction method and mobile terminal
Technical field
The present invention relates to mobile communication technology field, more particularly to a kind of data reconstruction method and the use data recovery side The mobile terminal of method.
Background technology
Nowadays, mobile terminal turns into one of instrument indispensable in life, and its function is stronger and stronger;With intelligence Exemplified by mobile phone, user can at any time be taken pictures, see video and using various APP etc., frequency of use more and more higher, and then hand The data stored in machine are also more and more.At the same time, the system update of mobile phone is more frequent, once mobile phone in system update or Gone wrong during brush machine, may all cause the loss of user data, greatly influence the normal life of user, therefore mobile phone In user data backup and recover just be particularly important.
But current data backup and resume method is all based on greatly the initiative of user, at some time point to data Backed up manually, user can only use the file backed up to carry out data recovery;In addition, if the file of user ID accounts for According to local spatial it is bigger in the case of, under particularly multiple backup instances, then need mobile phone that there is very big memory headroom, Or other storage mediums such as hard disk, service cloud are exported to, and it is inconvenient for user, it have impact on Consumer's Experience.
Therefore, it is necessary to a kind of data reconstruction method and mobile terminal are provided to solve above-mentioned technical problem.
The content of the invention
For above-mentioned the deficiencies in the prior art, it is a primary object of the present invention to provide a kind of data reconstruction method and shifting Dynamic terminal, it is intended to solve that existing backup method is cumbersome, Backup Data occupies larger memory headroom, and data recovery is single, no It is enough flexibly, can not intuitively select, it is caused in-convenience in use, the problem of influenceing Consumer's Experience.
To achieve these goals, technical scheme is as follows:A kind of mobile terminal, the mobile terminal include depositing Reservoir, processor and it is stored in the data recovery procedures that can be run on the memory and on the processor, the data Following steps are realized when recovery routine is by the computing device:
Judge whether the data in mobile terminal changes;
If the data change, the delta data of the mobile terminal is obtained, the delta data is backed up, And generate BACKUP TIME label corresponding with the delta data;
According to multiple BACKUP TIME label generation time shafts;
Detect the mobile terminal and whether receive selection of the user to each BACKUP TIME label on the time shaft and refer to Order;
If receiving the selection instruction, recover the delta data corresponding to the BACKUP TIME label of selection.
Alternatively, the processor is additionally operable to perform the data recovery procedures, to realize following steps:
The delta data is to the primary data that backs up in advance corresponding to the BACKUP TIME label selected according to user It is updated, while data recovery is carried out to the mobile terminal according to the primary data after renewal.
Alternatively, before the step of described " delta data for obtaining the mobile terminal ", the processor is additionally operable to hold The row data recovery procedures, to realize following steps:
Judge whether the mobile terminal currently meets backup condition;
If meeting backup condition, described in execution the step of " delta data for obtaining the mobile terminal ".
Alternatively, the processor is additionally operable to perform the data recovery procedures, to realize following steps:
Judge whether the data volume of the delta data exceedes given threshold, set if the data volume of the delta data exceedes Determine threshold value, then described in execution the step of " delta data for obtaining the mobile terminal ";Or
Judge whether current time reaches preset time point, if the current time reaches the preset time point, hold Described in row the step of " delta data for obtaining the mobile terminal ".
Equally, present invention also offers a kind of data reconstruction method, applied to mobile terminal, the data reconstruction method bag Include following steps:
Judge whether the data in mobile terminal changes;
If the data change, the delta data of the mobile terminal is obtained, the delta data is backed up, And generate BACKUP TIME label corresponding with the delta data;
According to multiple BACKUP TIME label generation time shafts;
Detect whether the mobile terminal receives selection behaviour of the user to each BACKUP TIME label on the time shaft Make;
If receiving the selection operation, recover the delta data corresponding to the BACKUP TIME label of selection.
Alternatively, the step of described " recovering the delta data corresponding to the BACKUP TIME label of user's selection ", wraps Include:
The delta data is to the primary data that backs up in advance corresponding to the BACKUP TIME label selected according to user It is updated, while data recovery is carried out to the mobile terminal according to the primary data after renewal.
Alternatively, also include before the step of described " delta data for obtaining the mobile terminal ":
Judge whether the mobile terminal currently meets backup condition;
If meeting backup condition, described in execution the step of " delta data for obtaining the mobile terminal ".
Alternatively, the step of described " judging whether the mobile terminal currently meets backup condition " is specially:
Judge whether the data volume of the delta data exceedes given threshold, set if the data volume of the delta data exceedes Determine threshold value, then described in execution the step of " delta data for obtaining the mobile terminal ";Or
Judge whether current time reaches preset time point, if the current time reaches the preset time point, hold Described in row the step of " delta data for obtaining the mobile terminal ".
Alternatively, the step of described " being backed up to the delta data ", includes:
Detect uploading instructions of the user to the delta data after backup;
If detecting the uploading instructions, the delta data is backuped into server.
In addition, to achieve the above object, present invention also offers a kind of computer-readable recording medium, the computer can Read to be stored with data recovery procedures on medium, the data recovery procedures realize that data as described above are extensive when being executed by processor Compound method.
Compared to prior art, data reconstruction method proposed by the invention, mobile terminal and computer-readable storage medium Matter, judges whether the data in mobile terminal changes;If the data change, the change of the mobile terminal is obtained Change data, the delta data is backed up, and generate BACKUP TIME label corresponding with the delta data;According to multiple The BACKUP TIME label generates time shaft;Detect whether the mobile terminal receives user to each described standby on the time shaft The selection operation of part time tag;If receiving the selection operation, recover institute corresponding to the BACKUP TIME label of selection State delta data;It is achieved thereby that being backed up automatically to the delta data in mobile terminal, user's operation is saved, is improved Consumer's Experience;Meanwhile the present invention is only backed up to delta data in backup, that is, has carried out incremental backup, reduced standby Dependence of part file to big memory headroom, repeatedly under backup, the space required for backup file is all relatively less than normal, saves user behaviour Make, be more convenient user, improve Consumer's Experience;In addition, repeatedly backing up the delta data, while generate corresponding with delta data BACKUP TIME label, the time shaft of multiple BACKUP TIME labels generation, allow users to more directly perceived and easily select needs The data time point returned to, facilitates user to be backed up and recovered, and personal data that are more flexible and comprehensively protecting user, carries Consumer's Experience is risen.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the high-level schematic functional block diagram of data recovery procedures first embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of data recovery procedures second embodiment of the present invention;
Fig. 5 is the implementation process diagram of data reconstruction method first embodiment of the present invention;
Fig. 6 is the implementation process diagram of data reconstruction method second embodiment of the present invention;
Fig. 7 is the implementation process diagram of data reconstruction method 3rd embodiment of the present invention;
Fig. 8 is the user interface schematic diagram of the embodiment of BACKUP TIME axle one generated after temporally backing up;
Fig. 9 is the user interface schematic diagram that user is configured to the backup mode of mobile terminal.
Reference:
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc. The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on the above-mentioned hardware configuration of mobile terminal 100 and communications network system, each embodiment of the inventive method is proposed.
First, the present invention proposes a kind of mobile terminal, and the mobile terminal includes memory, processor and is stored in described On memory and the data recovery procedures 400 that can run on the processor.
As shown in figure 3, it is the high-level schematic functional block diagram of the first embodiment of data recovery procedures 400 of the present invention.In this implementation In example, the data recovery procedures 400 can be divided into one or more modules, and one or more of modules are stored in institute In the memory 109 for stating mobile terminal 100, and by one or more processors (being the controller 110 in the present embodiment) institute Perform, to complete the present invention.For example, in figure 3, the data recovery procedures 400 can be divided into data judge module 401st, backup module 402, time shaft generation module 403, selecting module 404 and Backup Data recovery module 405 are obtained.This hair Bright alleged module refers to a kind of series of computation machine programmed instruction section that can complete specific function, more suitable than computer program Together in implementation procedure of the description software in the mobile terminal 100.Below by the specific of just above-mentioned each functional module 401-405 Function is described in detail.Wherein:
The data judge module 401, for judging whether the data in mobile terminal changes;And judging to tie In the case that fruit is is (affirmative), i.e., described data are changed, and perform the acquisition module 402.
In the present embodiment, data judge module 401 first determines whether data therein become when execution data judge Change;If in judged result when being, to perform the automated back-up process for obtaining backup module 402, and if it is determined that arriving mobile terminal In data do not change, then do not do subsequent treatment.Specifically, judging whether the data in mobile terminal changes The step of include:(1) detect whether the mobile terminal has backed up primary data first;(2) if being backed up in the mobile terminal There is the primary data, then compare the data in the mobile terminal and the primary data, judge in the mobile terminal Data whether changed compared to the primary data;(3) if the determination result is YES, i.e., the number in described mobile terminal Changed according to compared to the primary data, then judge that the data in the mobile terminal are changed.Further, Whether primary data is backed up based on the detection mobile terminal in current procedures (1), if the result detected is negative, i.e. institute State and the primary data is not present in mobile terminal, data judge module 401 can not perform.Explanation is needed exist for, in order to The judgement to data in mobile terminal change is realized, it is necessary to back up the primary data in advance, if in mobile terminal from Backup was not carried out, that is, the primary data of backup is not present, then was needed standby for the first time to the data progress in mobile terminal Part, generate primary data.Wherein, the primary data of backup and the class for the data being compared with primary data are needed exist for Type is consistent, and it can be selected to set by user, and the primary data includes but is not limited to:Photo, video, music, application, contact People, document, the application of various officials etc., it can include all data types in mobile terminal, and user is in above-mentioned data type Middle selection needs the object backed up.
The acquisition backup module 402, occurs for the judged result in the data judge module 401 for the data During change, the delta data of the mobile terminal is obtained, the delta data is backed up, and is generated and the delta data Corresponding BACKUP TIME label.
In the present embodiment, when the result that data judge module 401 performs is yes, obtaining backup module 402 can perform automatically Backup procedure;The delta data of mobile terminal is obtained, the delta data is after being compared with the primary data, relatively Data of increase, deletion or renewal of primary data etc., the delta data is backed up, i.e., relative to the initial number According to upper carry out incremental backup, the multiple backup of identical data is avoided, causes the waste of memory space;Meanwhile to the change number After being backed up, BACKUP TIME label corresponding with the delta data is generated, it is corresponding to back up the delta data each time BACKUP TIME label be all different, these different BACKUP TIME labels are arranged in chronological order, you can with perform Time shaft generation module 403.
Wherein, in the present embodiment, in order to further reduce the occupancy to memory space, standby to delta data progress Part, while generate identification information corresponding with the delta data;The identification information is that different types of data is handled Afterwards, mark data with uniqueness and that occupancy memory space is small is extracted;The change number is so backed up each time According to, all backed up by the way of identification information is extracted, rather than the particular content full backup by the delta data.Tool Body, for different data types, different backup policy can be used, will be remarked additionally below by example:(1) it is directed to The data type of content can be obtained from internet, such as various official's applications, it is only necessary to back-up application title, version number and individual The identification informations such as login account, without being backed up entirely applying, to save space;(2) the less data of local space-consuming are directed to Type, such as contact person, memorandum, time indicator is added after compressible, stroke identification information, needs to recover data for follow-up When use;(3) the larger content of local space-consuming, such as video and photo, the identification information of data content, such as file are obtained Name, timestamp, creation time etc., and unique identification information corresponding to generation, it will only take the mark for depositing number space very little Know information and be retained in local, original data content is uploaded into Cloud Server is preserved, when needing to be recovered, by only One identification information accesses server, and downloads initial data and recover into mobile phone.
The time shaft generation module 403, for after being backed up to the delta data, generating and the change number According to corresponding BACKUP TIME label, BACKUP TIME label corresponding to the delta data backed up each time be all it is different, this A little different BACKUP TIME labels are arranged in chronological order, generate the time shaft.
In the present embodiment, the BACKUP TIME label generally includes the key messages such as time, refer to Fig. 8, Fig. 8 be by The user interface schematic diagram of the BACKUP TIME axle generated after time backup, the change number of the mobile terminal in backup different times It is as can be seen from Figure 8, raw in mobile terminal according to rear, a BACKUP TIME label corresponding to each delta data Include time point into BACKUP TIME label corresponding with the delta data, and time point can in order described in arrangement form when Countershaft.
The selecting module 404, for detecting whether the mobile terminal receives user to each described on the time shaft The selection instruction of BACKUP TIME label.
Here, selecting module 404 is upon execution, it is necessary to which the selection instruction of user, the selection instruction are users to described The selection at the time point on time shaft, each BACKUP TIME label include its unique time point;If mobile terminal is received To the selection instruction of user, i.e. mobile terminal detects selection instruction, then recovery module 405 continues executing with.It is extensive in whole data It is herein one of them, it is necessary to which the part of user's manual handle is seldom in multiple program, it determines choosing of the user to Backup Data Select, temporarily substituted without automatic method.
The recovery module 405, the selection instruction is being received, then recovered corresponding to the BACKUP TIME label of selection The delta data.
In the present embodiment, the change according to corresponding to the BACKUP TIME label that user selects of recovery module 405 Data are updated to the primary data backed up in advance, while the mobile terminal is entered according to the primary data after renewal Row data recovery;Its one side will be updated to primary data, the delta data selected when selecting module 404 is performed with just Beginning data merge, on the other hand, and it is most important, the data in mobile terminal are recovered, after renewal The delta data and primary data of primary data, i.e. selection carry out data recovery to mobile terminal together.
By above-mentioned module 401-405, whether data recovery procedures of the invention are judging the data in mobile terminal Change;If the data change, the delta data of the mobile terminal is obtained, the delta data is carried out standby Part, and generate BACKUP TIME label corresponding with the delta data;According to multiple BACKUP TIME label generation time shafts; Detect whether the mobile terminal receives selection operation of the user to each BACKUP TIME label on the time shaft;If receive The selection operation, then recover the delta data corresponding to the BACKUP TIME label of selection;It is it is achieved thereby that automatic right Delta data in mobile terminal is backed up, and is saved user's operation, is improved Consumer's Experience;Meanwhile the present invention is backing up When, only delta data is backed up, that is, has carried out incremental backup, reduces dependence of the backup file to big memory headroom, Repeatedly under backup, the space required for backup file is all relatively less than normal, saves user's operation, is more convenient user, improves user Experience;In addition, repeatedly backing up the delta data, while generate BACKUP TIME label corresponding with delta data, multiple backups The time shaft of time tag generation, data time point more directly perceived and that easily selection needs return to is allowed users to, it is convenient User is backed up and recovered, and personal data that are more flexible and comprehensively protecting user, improves Consumer's Experience, and operate letter It is single, it is easy to accomplish.
Further, the first embodiment based on the invention described above data recovery procedures 400, proposes data recovery of the present invention The second embodiment of program 400.Fig. 4 is refer to, Fig. 4 is the functional module of the second embodiment of data recovery procedures 400 of the present invention Schematic diagram, compared with first embodiment, in the present embodiment, data recovery procedures 400 also include backup condition judgment module 406 with And data removing module 407.In the present embodiment, each functional module is described as follows:
The backup condition judgment module 406, for judging whether the mobile terminal currently meets backup condition, if symbol Backup condition is closed, then performs the acquisition and puts on record module 402.
In the present embodiment, backup condition judgment module 406 includes two kinds of execution patterns, can be selected as needed, One of which executive mode is:Judge whether the data volume of the delta data exceedes given threshold, if the delta data Data volume exceedes given threshold, then performs the acquisition and put on record module 402;In this kind of executive mode kind, it is necessary to preset threshold Value, when the data volume of delta data exceedes given threshold, then performs next module, if detection is not less than the data recovery journey Sequence stops corresponding;The threshold value could be arranged to specific data type data volume corresponding with its, can also be directly disposed as interior Deposit variable quantity;Now for example, its mobile phone is arranged to be backed up when datarams size variation is more than 1G by user B, So, user B mobile phones can detect the change of datarams size in mobile phone in real time, when datarams change more than 1G, such as user B The photo and the song of download shot in one month is altogether more than 1G, then now user B mobile phone can carry out incremental backup automatically, This part delta data more than 1G is backed up, while by the time backed up at that time, adds time tag, that is, automatically generates The BACKUP TIME label;The later user B each datarams change of mobile phone carries out incremental backup automatically more than 1G;Together When the delta data that backs up every time can produce corresponding to BACKUP TIME label, and then generate Backup Data time shaft, it is same with this When to different types of data generate identification information.It is standby in mobile phone by sliding so when user B needs to carry out data recovery Part time shaft checks the Main change backed up every time, then directly chooses the time point to be returned on a timeline, ten It is convenient to divide.Similarly, user can also combine data object and scope and carry out specific threshold value setting to mobile phone, such as:Contact person Change (including increase, delete, update) more than 10, newly-increased photo more than 30, music file is newly-increased more than 200M etc.;Work as user When these data variations in mobile phone reach above-mentioned given threshold, incremental backup is carried out automatically, backs up the data of these changes, together When the delta data that backs up every time can produce corresponding to BACKUP TIME label, and then generate Backup Data time shaft, it is same with this When to different types of data generate identification information;Facilitate user intuitively to select to need the data recovery carried out, lift user's body Test.
Another executive mode is:Judge whether current time reaches preset time point, if the current time reaches The preset time point, then perform the acquisition and put on record module 402.In this kind of executive mode kind, it is necessary to preset the time difference, Current time reaches preset time point, then performs next module;Now for example, mobile phone is arranged to carry out by user A every months Data backup, user A mobile phone monthly automatically can be to the data incremental backup of progress in mobile phone, every time backup afterwards The identification information of content change is recorded afterwards, and generates time tag of putting on record, and then generates Backup Data time shaft;So work as user B need carry out data recovery when, the Main change backed up every time is checked by the BACKUP TIME axle slided in mobile phone, then when The time point to be returned to directly is chosen on countershaft, it is very convenient.
Further, it is also possible to which above two executive mode is combined, judge whether current time reaches preset time point, If the current time reaches the preset time point, while judges whether the data volume of the delta data exceedes setting threshold Value, if the data volume of the delta data exceedes given threshold, perform described obtain and put on record module 402.Performing this kind of side During formula, preset threshold value and time difference, only when both reach simultaneously, then next module can be performed, will not done herein Go out instantiation,
It should be noted that the present embodiment compares embodiment illustrated in fig. 3, more data removing modules of a Backup Data 407, specifically, data removing module 407 is specifically used for deleting old Backup Data, old Backup Data here is included initially Data, non-selected delta data;The primary data after according to renewal carries out data recovery to the mobile terminal Afterwards, detect whether to receive the instruction for deleting legacy data, if receiving, the legacy data is deleted;Specially by intelligent terminal Backup Data is deleted, it is only necessary to retain the primary data after renewal, it is of course also possible to by the legacy data in server together Delete.In order to avoid taking the excessive situation of memory space by server caused by foregoing backup mode, here, being directed to Deleted data content in primary data after renewal, after user recovers the backup version not comprising the partial data, then Think that user has given up the partial data content, the partial data can be deleted in the server, memory space is saved to reach Purpose, it is illustrated below:
Such as:According to time tandem, there is the delta data of 3 parts of backups in January, 2 months and March, wherein back up for 2 months The part A in the delta data of backup in January is deleted in delta data, backup in 2 months is deleted in the delta data of backup in March Part B in delta data, wherein all data (primary data comprising A and part B) have uploaded onto the server, and work as and use Family has carried out a data recovery, when selection recovers to the delta data of backup in 2 months, then it is assumed that user has given up January and 2 months The part A data of difference, then part A data can be deleted in server data, to save space.
In addition, present invention also offers a kind of data reconstruction method, the data reconstruction method is applied to move shown in Fig. 1 to 2 Dynamic terminal, the mobile terminal include memory and processor.
As shown in fig. 6, it is the implementing procedure figure of the first embodiment of data reconstruction method of the present invention.In the present embodiment, According to different demands, the execution sequence of the step in flow chart shown in Fig. 6 can change, and some steps can be omitted.Institute Stating data reconstruction method includes:
Step S501, judges whether the data in mobile terminal changes, if data change, performs step S502, on the contrary terminate flow.
In the present embodiment, first determine whether the data of mobile intelligent terminal change;If when judged result is to be, hold Row obtaining step S502 automated back-up process, and if it is determined that do not changed to the data in mobile terminal, then do not do Subsequent treatment.Specifically, judge that the step of whether data in mobile terminal changes includes:(1) first described in detection Whether mobile terminal has backed up primary data;(2) if backup has the primary data in the mobile terminal, by the movement Data in terminal compare with the primary data, judge data in the mobile terminal compared to the primary data whether Changed;(3) if the determination result is YES, i.e., the data in described mobile terminal are become compared to the primary data Change, then judge that the data in the mobile terminal are changed.Further, based on the detection shifting in current procedures (1) Whether dynamic terminal has backed up primary data, is not present if the result detected is negative, i.e., in described mobile terminal described initial Data, flow terminate.Explanation is needed exist for, in order to realize the judgement to data in mobile terminal change, it is necessary to pre- The primary data is first backed up, if never carrying out backup in mobile terminal, that is, the primary data of backup is not present, then Need to carry out first time backup to the data in mobile terminal, generate primary data.Wherein, the described initial of backup is needed exist for The type of data and the data being compared with primary data is consistent, and it can be selected to set by user, the initial data packets Include but be not limited to:Photo, video, music, application, contact person, document, the application of various officials etc., it can include mobile terminal In all data types, user selects to need the object that backs up in above-mentioned data type.
Step S502, if the data change, the delta data of the mobile terminal is obtained, to the delta data Backed up, and generate BACKUP TIME label corresponding with the delta data.
In the present embodiment, when the data change, obtain the delta data of mobile terminal, the delta data be with After the primary data is compared, with respect to data of the increase of primary data, deletion or renewal etc., to the delta data Backed up, i.e., relative to incremental backup is carried out in the primary data, avoid the multiple backup of identical data, cause storage empty Between waste;Meanwhile after being backed up to the delta data, BACKUP TIME label corresponding with the delta data is generated, It is all different to back up BACKUP TIME label corresponding to the delta data each time, and these different BACKUP TIME labels are on time Between sequentially arranged, you can to perform step S503.
Wherein, in the present embodiment, in order to further reduce the occupancy to memory space, standby to delta data progress Part, while generate identification information corresponding with the delta data;The identification information is that different types of data is handled Afterwards, mark data with uniqueness and that occupancy memory space is small is extracted;The change number is so backed up each time According to, all backed up by the way of identification information is extracted, rather than the particular content full backup by the delta data.Tool Body, for different data types, different backup policy can be used, will be remarked additionally below by example:(1) it is directed to The data type of content can be obtained from internet, such as various official's applications, it is only necessary to back-up application title, version number and individual The identification informations such as login account, without being backed up entirely applying, to save space;(2) the less data of local space-consuming are directed to Type, such as contact person, memorandum, time indicator is added after compressible, stroke identification information, needs to recover data for follow-up When use;(3) the larger content of local space-consuming, such as video and photo, the identification information of data content, such as file are obtained Name, timestamp, creation time etc., and unique identification information corresponding to generation, it will only take the mark for depositing number space very little Know information and be retained in local, original data content is uploaded into Cloud Server is preserved, when needing to be recovered, by only One identification information accesses server, and downloads initial data and recover into mobile phone.
Step S503, time shaft is generated according to multiple BACKUP TIME labels;In the present embodiment, the BACKUP TIME Label generally includes the key messages such as time, refer to Fig. 8, and Fig. 8 is the user of the BACKUP TIME axle generated after temporally backing up Interface schematic diagram, mobile terminal is after the delta data of backup different times, one corresponding to each delta data The BACKUP TIME label, as can be seen from Figure 8, BACKUP TIME mark corresponding with the delta data is generated in mobile terminal Label include time point, and time point can time shaft described in arrangement form in order.
Step S504, detects whether the mobile terminal receives user to each BACKUP TIME label on the time shaft Selection operation;Herein, it is necessary to which the selection instruction of user, the selection instruction are users to the time point on the time shaft Selection, each BACKUP TIME label include its unique time point;If mobile terminal receives the selection instruction of user, i.e., Mobile terminal detects selection instruction, then continues executing with step S505 conversely, then terminating flow.In whole data recovery procedures In, it is necessary to the part of user's manual handle is seldom, be herein one of them, it determines the selection of user to Backup Data, temporarily There is no automatic method to substitute.
Step S505, if receiving the selection operation, recover the change corresponding to the BACKUP TIME label of selection Change data;Further, wrapped corresponding to the BACKUP TIME label for recovering user's selection the step of the delta data The delta data corresponding to the BACKUP TIME label selected according to user is included to carry out more the primary data backed up in advance Newly, while according to the primary data after renewal to the mobile terminal data recovery is carried out;Its one side will be to initial number According to being updated, the delta data selected when step S504 is performed merges with primary data, on the other hand, and it is most heavy Want, the data in mobile terminal are recovered, using the delta data and initial number of the primary data after renewal, i.e. selection According to together to mobile terminal progress data recovery.
By above-mentioned steps S501-S505, data reconstruction method of the invention is judging that the data in mobile terminal is It is no to change;If the data change, the delta data of the mobile terminal is obtained, the delta data is carried out standby Part, and generate BACKUP TIME label corresponding with the delta data;According to multiple BACKUP TIME label generation time shafts; Detect whether the mobile terminal receives selection operation of the user to each BACKUP TIME label on the time shaft;If receive The selection operation, then recover the delta data corresponding to the BACKUP TIME label of selection;It is it is achieved thereby that automatic right Delta data in mobile terminal is backed up, and is saved user's operation, is improved Consumer's Experience;Meanwhile the present invention is backing up When, only delta data is backed up, that is, has carried out incremental backup, reduces dependence of the backup file to big memory headroom, Repeatedly under backup, the space required for backup file is all relatively less than normal, saves user's operation, is more convenient user, improves user Experience;In addition, repeatedly backing up the delta data, while generate BACKUP TIME label corresponding with delta data, multiple backups The time shaft of time tag generation, data time point more directly perceived and that easily selection needs return to is allowed users to, it is convenient User is backed up and recovered, and personal data that are more flexible and comprehensively protecting user, improves Consumer's Experience, and operate letter It is single, it is easy to accomplish.
Further, based on above-mentioned first embodiment, the second embodiment of data reconstruction method of the present invention is proposed.Such as Fig. 6 It is shown, it is the implementing procedure figure of data reconstruction method second embodiment of the present invention.In the present embodiment, according to different demands, The execution sequence of the step in flow chart shown in Fig. 6 can change, and some steps can be omitted.The data reconstruction method bag Include:
Step S601, judges whether the data in mobile terminal changes, if data change, performs step S602, on the contrary terminate flow.
In the present embodiment, first determine whether the data of mobile intelligent terminal change;If when judged result is to be, hold Row obtaining step S502 automated back-up process, and if it is determined that do not changed to the data in mobile terminal, then do not do Subsequent treatment.Specifically, judge that the step of whether data in mobile terminal changes includes:(1) first described in detection Whether mobile terminal has backed up primary data;(2) if backup has the primary data in the mobile terminal, by the movement Data in terminal compare with the primary data, judge data in the mobile terminal compared to the primary data whether Changed;(3) if the determination result is YES, i.e., the data in described mobile terminal are become compared to the primary data Change, then judge that the data in the mobile terminal are changed.
Step S602, if the data change, judge whether the mobile terminal currently meets backup condition, that is, sentence Whether the data volume of the disconnected delta data exceedes given threshold, if the data volume of the delta data exceedes given threshold, Perform step S603.
Step 603, if exceeding given threshold, the delta data of the mobile terminal is obtained, and then performs step S604, The delta data is backed up.
In the present embodiment, judge whether the data volume of the delta data exceedes given threshold, if the delta data Data volume exceedes given threshold, then obtains the delta data of the mobile terminal;In this kind of executive mode kind, it is necessary to preset Threshold value, when the data volume of delta data exceedes given threshold, then next module is performed, if detection is not less than the data recovery Program stopped is corresponding;The threshold value could be arranged to specific data type data volume corresponding with its, can also be directly disposed as Internal memory variable quantity;It is existing for example, user B its mobile phone is arranged to carry out when datarams size variation is more than 1G it is standby Part, so, user B mobile phones can detect the change of datarams size in mobile phone in real time, when datarams change is more than 1G, such as use Photo that family B is shot in mono- month and the song downloaded are altogether more than 1G, then now to carry out increment automatically standby for user B mobile phone Part, this part delta data more than 1G is backed up, while by the time backed up at that time, add time tag, i.e., automatically Generate the BACKUP TIME label;It is standby to carry out increment more than 1G automatically for the later user B each datarams change of mobile phone Part;The delta data backed up every time simultaneously can produce corresponding BACKUP TIME label, and then generate Backup Data time shaft, with This generates identification information to different types of data simultaneously.So when user B needs to carry out data recovery, by sliding in mobile phone BACKUP TIME axle check the Main change backed up every time, then directly choose the time point to be returned to i.e. on a timeline Can, it is very convenient.Similarly, user can also combine data object and scope and carry out specific threshold value setting to mobile phone, such as:Connection It is that people changes (including increase, delete, update) more than 10, newly-increased photo more than 30, music file is newly-increased more than 200M etc.;When When these data variations in user mobile phone reach above-mentioned given threshold, incremental backup is carried out automatically, backs up the number of these changes According to, while the delta data backed up every time can produce corresponding BACKUP TIME label, and then Backup Data time shaft is generated, with This generates identification information to different types of data simultaneously;User is facilitated intuitively to select to need the data recovery carried out, lifting is used Experience at family.
Wherein, in the present embodiment, in order to further reduce the occupancy to memory space, standby to delta data progress Part, while generate identification information corresponding with the delta data;The identification information is that different types of data is handled Afterwards, mark data with uniqueness and that occupancy memory space is small is extracted;The change number is so backed up each time According to, all backed up by the way of identification information is extracted, rather than the particular content full backup by the delta data.Tool Body, for different data types, different backup policy can be used, will be remarked additionally below by example:(1) it is directed to The data type of content can be obtained from internet, such as various official's applications, it is only necessary to back-up application title, version number and individual The identification informations such as login account, without being backed up entirely applying, to save space;(2) the less data of local space-consuming are directed to Type, such as contact person, memorandum, time indicator is added after compressible, stroke identification information, needs to recover data for follow-up When use;(3) the larger content of local space-consuming, such as video and photo, the identification information of data content, such as file are obtained Name, timestamp, creation time etc., and unique identification information corresponding to generation, it will only take the mark for depositing number space very little Know information and be retained in local, original data content is uploaded into Cloud Server is preserved, when needing to be recovered, by only One identification information accesses server, and downloads initial data and recover into mobile phone.
In the present embodiment, when the data change, obtain the delta data of mobile terminal, the delta data be with After the primary data is compared, with respect to data of the increase of primary data, deletion or renewal etc., to the delta data Backed up, i.e., relative to incremental backup is carried out in the primary data, avoid the multiple backup of identical data, cause storage empty Between waste;Meanwhile after being backed up to the delta data, BACKUP TIME label corresponding with the delta data is generated, It is all different to back up BACKUP TIME label corresponding to the delta data each time, and these different BACKUP TIME labels are on time Between sequentially arranged, you can to perform step S604.
Step S604, time shaft is generated according to multiple BACKUP TIME labels;In the present embodiment, the BACKUP TIME Label generally includes the key messages such as time, refer to Fig. 8, and Fig. 8 is the user of the BACKUP TIME axle generated after temporally backing up Interface schematic diagram, mobile terminal is after the delta data of backup different times, one corresponding to each delta data The BACKUP TIME label, as can be seen from Figure 8, BACKUP TIME mark corresponding with the delta data is generated in mobile terminal Label include time point, and time point can time shaft described in arrangement form in order.
Step S605, detects whether the mobile terminal receives user to each BACKUP TIME label on the time shaft Selection operation;Herein, it is necessary to which the selection instruction of user, the selection instruction are users to the time point on the time shaft Selection, each BACKUP TIME label include its unique time point;If mobile terminal receives the selection instruction of user, i.e., Mobile terminal detects selection instruction, then continues executing with step S606 conversely, then terminating flow.In whole data recovery procedures In, it is necessary to the part of user's manual handle is seldom, be herein one of them, it determines the selection of user to Backup Data, temporarily There is no automatic method to substitute.
Step S606, if receiving the selection operation, recover the change corresponding to the BACKUP TIME label of selection Change data;Further, wrapped corresponding to the BACKUP TIME label for recovering user's selection the step of the delta data The delta data corresponding to the BACKUP TIME label selected according to user is included to carry out more the primary data backed up in advance Newly, while according to the primary data after renewal to the mobile terminal data recovery is carried out;Its one side will be to initial number According to being updated, the delta data that step S605 is selected and primary data are merged, on the other hand, and it is most important, Data in mobile terminal are recovered, using the primary data after renewal, the i.e. delta data of selection and primary data one Rise and data recovery is carried out to mobile terminal.
Further, based on above-mentioned first and second embodiment, the 3rd embodiment of data reconstruction method of the present invention is proposed.Such as It is the implementing procedure figure of data reconstruction method second embodiment of the present invention shown in Fig. 7.In the present embodiment, according to different need Ask, the execution sequence of the step in flow chart shown in Fig. 6 can change, and some steps can be omitted.The data recovery side Method includes:
Step S701, judges whether the data in mobile terminal changes, if data change, performs step S702, on the contrary terminate flow.
Difference with embodiment two is:Step S702, if the data change, judge that the mobile terminal is current Whether meet backup condition, that is, judge whether current time reaches preset time point, if the current time reaches described preset Time point, then perform step S703.Judge whether current time reaches preset time point, if current time arrival is described pre- If time point, then step S703 is performed.In this kind of executive mode kind, it is necessary to preset the time difference, current time reaches default Time point, then perform next module;Now for example, mobile phone is arranged to carry out a data backup by user A every months, afterwards User A mobile phone can monthly carry out an incremental backup to the data in mobile phone automatically, record content change after backup every time Identification information, and time tag of putting on record is generated, and then generate Backup Data time shaft;So when user B needs progress data extensive When multiple, the Main change backed up every time is checked by the BACKUP TIME axle slided in mobile phone, then directly chosen on a timeline It is the time point to be returned to, very convenient.
Step S703, if the current time reaches the preset time point, obtain the change number of the mobile terminal According to.
In the present embodiment, in order to save the storage space of mobile terminal, a selection operation is added, step S704, Uploading instructions of the user to the delta data after backup are detected, if detecting the uploading instructions, perform step S705, The delta data is backuped in server, if not detecting the uploading instructions, performs step S705', directly will The delta data backup is in the mobile terminal;Whether back up in mobile terminal or back up in server end, backup While the delta data, BACKUP TIME axle corresponding with the delta data is generated, to perform step S706.
Step S706, time shaft is generated according to multiple BACKUP TIME labels, then performs step S707.
Step S707, detects whether the mobile terminal receives user to each BACKUP TIME label on the time shaft Selection operation;Herein, it is necessary to which the selection instruction of user, the selection instruction are users to the time point on the time shaft Selection, each BACKUP TIME label include its unique time point;If mobile terminal receives the selection instruction of user, i.e., Mobile terminal detects selection instruction, then continues executing with step S708, conversely, then terminating flow.
Step S708, if receiving the selection operation, recover the change corresponding to the BACKUP TIME label of selection Change data;Further, wrapped corresponding to the BACKUP TIME label for recovering user's selection the step of the delta data The delta data corresponding to the BACKUP TIME label selected according to user is included to carry out more the primary data backed up in advance Newly, while according to the primary data after renewal to the mobile terminal data recovery is carried out;Its one side will be to initial number According to being updated, the delta data that step S707 is selected and primary data are merged, on the other hand, and it is most important, Data in mobile terminal are recovered, using the primary data after renewal, the i.e. delta data of selection and primary data one Rise and data recovery is carried out to mobile terminal.
It should be noted that further, the data reconstruction method of the present embodiment three also includes data and deleted, specifically, After the primary data after according to renewal carries out data recovery to the mobile terminal, detect whether to receive deletion legacy data Instruction, if receiving, the legacy data is deleted;The step is specifically used for deleting old Backup Data, old backup here Data include primary data, non-selected delta data;Specially the Backup Data in intelligent terminal is deleted, it is only necessary to protect The primary data after renewal is stayed, it is of course also possible to which the legacy data in server is together deleted.In order to avoid by foregoing Backup mode caused by server take the excessive situation of memory space, here, in primary data in the updated The data content of deletion, after user recovers the backup version not comprising the partial data, then it is assumed that user has given up the part Data content, the partial data can be deleted in the server, to reach the purpose for saving memory space.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

  1. A kind of 1. mobile terminal, it is characterised in that:The mobile terminal includes memory, processor and is stored in the memory Data recovery procedures that are upper and can running on the processor, are realized when the data recovery procedures are by the computing device Following steps:
    Judge whether the data in mobile terminal changes;
    If the data change, the delta data of the mobile terminal is obtained, the delta data is backed up, and it is raw Into BACKUP TIME label corresponding with the delta data;
    According to multiple BACKUP TIME label generation time shafts;
    Detect whether to receive selection instruction of the user to each BACKUP TIME label on the time shaft;
    If receiving the selection instruction, recover the delta data corresponding to the BACKUP TIME label of selection.
  2. 2. mobile terminal as claimed in claim 1, it is characterised in that:The processor is additionally operable to perform the data recovery journey Sequence, to realize following steps:
    The primary data backed up in advance is carried out according to the delta data corresponding to the BACKUP TIME label that user selects Renewal, while data recovery is carried out to the mobile terminal according to the primary data after renewal.
  3. 3. mobile terminal as claimed in claim 1, it is characterised in that:" delta data for obtaining the mobile terminal " Before step, the processor is additionally operable to perform the data recovery procedures, to realize following steps:
    Judge whether the mobile terminal currently meets backup condition;
    If meeting backup condition, described in execution the step of " delta data for obtaining the mobile terminal ".
  4. 4. mobile terminal as claimed in claim 3, it is characterised in that:The processor is additionally operable to perform the data recovery journey Sequence, to realize following steps:
    Judge whether the data volume of the delta data exceedes given threshold, if the data volume of the delta data exceedes setting threshold Value, then described in execution the step of " delta data for obtaining the mobile terminal ";Or
    Judge whether current time reaches preset time point, if the current time reaches the preset time point, perform institute The step of stating " delta data for obtaining the mobile terminal ".
  5. 5. a kind of data reconstruction method, applied to mobile terminal, it is characterised in that the data reconstruction method includes following step Suddenly:
    Judge whether the data in mobile terminal changes;
    If the data change, the delta data of the mobile terminal is obtained, the delta data is backed up, and it is raw Into BACKUP TIME label corresponding with the delta data;
    According to multiple BACKUP TIME label generation time shafts;
    Detect whether to receive selection instruction of the user to each BACKUP TIME label on the time shaft;
    If receiving the selection instruction, recover the delta data corresponding to the BACKUP TIME label of selection.
  6. 6. data reconstruction method as claimed in claim 5, it is characterised in that:It is described " recover user selection the backup when Between the delta data corresponding to label " the step of include:
    The primary data backed up in advance is carried out according to the delta data corresponding to the BACKUP TIME label that user selects Renewal, while data recovery is carried out to the mobile terminal according to the primary data after renewal.
  7. 7. data reconstruction method as claimed in claim 5, it is characterised in that:It is described " to obtain the change number of the mobile terminal According to " the step of before also include:
    Judge whether the mobile terminal currently meets backup condition;
    If meeting backup condition, described in execution the step of " delta data for obtaining the mobile terminal ".
  8. 8. data reconstruction method as claimed in claim 7, it is characterised in that:It is described " judge the mobile terminal it is current whether Meet backup condition " the step of be specially:
    Judge whether the data volume of the delta data exceedes given threshold, if the data volume of the delta data exceedes setting threshold Value, then described in execution the step of " delta data for obtaining the mobile terminal ";Or
    Judge whether current time reaches preset time point, if the current time reaches the preset time point, perform institute The step of stating " delta data for obtaining the mobile terminal ".
  9. 9. data reconstruction method as claimed in claim 5, it is characterised in that:Described " being backed up to the delta data " Step includes:
    Detect uploading instructions of the user to the delta data after backup;
    If detecting the uploading instructions, the delta data is backuped into server.
  10. A kind of 10. computer-readable recording medium, it is characterised in that:Data recovery journey is stored with the computer-readable medium Sequence, the data reconstruction method as described in claim any one of 5-9 is realized when the data recovery procedures are executed by processor.
CN201710643681.7A 2017-07-31 2017-07-31 Data reconstruction method and mobile terminal Pending CN107562570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710643681.7A CN107562570A (en) 2017-07-31 2017-07-31 Data reconstruction method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710643681.7A CN107562570A (en) 2017-07-31 2017-07-31 Data reconstruction method and mobile terminal

Publications (1)

Publication Number Publication Date
CN107562570A true CN107562570A (en) 2018-01-09

Family

ID=60974789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710643681.7A Pending CN107562570A (en) 2017-07-31 2017-07-31 Data reconstruction method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107562570A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753484A (en) * 2018-12-18 2019-05-14 维沃移动通信有限公司 A kind of file access pattern method and mobile terminal
CN109976946A (en) * 2019-02-27 2019-07-05 深圳点猫科技有限公司 It is a kind of for educating the scheduling system history data restoration methods and device of cloud platform
CN110825564A (en) * 2019-11-04 2020-02-21 北京联想协同科技有限公司 Data backup method and device and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1532682A (en) * 2003-03-20 2004-09-29 ������������ʽ���� External storage device and data recovering method and program for external storage device
CN101901175A (en) * 2010-02-11 2010-12-01 宇龙计算机通信科技(深圳)有限公司 Data backup method and electronic terminal
US8028194B2 (en) * 2008-07-25 2011-09-27 Inmage Systems, Inc Sequencing technique to account for a clock error in a backup system
CN102662798A (en) * 2012-04-12 2012-09-12 青岛海信移动通信技术股份有限公司 Data recovery method and terminal for Android system
CN106708663A (en) * 2016-12-16 2017-05-24 郑州云海信息技术有限公司 Automatic backup method and device of database

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1532682A (en) * 2003-03-20 2004-09-29 ������������ʽ���� External storage device and data recovering method and program for external storage device
US8028194B2 (en) * 2008-07-25 2011-09-27 Inmage Systems, Inc Sequencing technique to account for a clock error in a backup system
CN101901175A (en) * 2010-02-11 2010-12-01 宇龙计算机通信科技(深圳)有限公司 Data backup method and electronic terminal
CN102662798A (en) * 2012-04-12 2012-09-12 青岛海信移动通信技术股份有限公司 Data recovery method and terminal for Android system
CN106708663A (en) * 2016-12-16 2017-05-24 郑州云海信息技术有限公司 Automatic backup method and device of database

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753484A (en) * 2018-12-18 2019-05-14 维沃移动通信有限公司 A kind of file access pattern method and mobile terminal
CN109976946A (en) * 2019-02-27 2019-07-05 深圳点猫科技有限公司 It is a kind of for educating the scheduling system history data restoration methods and device of cloud platform
CN110825564A (en) * 2019-11-04 2020-02-21 北京联想协同科技有限公司 Data backup method and device and computer storage medium

Similar Documents

Publication Publication Date Title
CN107145293A (en) A kind of screenshot method, mobile terminal and storage medium
CN107613110A (en) Method, terminal and the computer-readable recording medium that adjustment terminal interface is shown
CN107436779A (en) A kind of application management method, equipment and computer-readable recording medium
CN107704571A (en) Information intelligent recommends method, apparatus and computer-readable recording medium
CN107517494A (en) A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium
CN107682627A (en) A kind of acquisition parameters method to set up, mobile terminal and computer-readable recording medium
CN107241494A (en) A kind of quick inspection method of data content, mobile terminal and storage medium
CN109032466A (en) Long screenshot method, mobile terminal and storage medium based on double screen
CN107844231A (en) A kind of interface display method, mobile terminal and computer-readable recording medium
CN107656774A (en) Adaptive regulation method, device, terminal device and the storage medium of systematic parameter
CN107729103A (en) A kind of method for switching theme, mobile terminal and computer-readable storage medium
CN107273035A (en) Application program recommends method and mobile terminal
CN107885438A (en) A kind of mobile terminal device and its control method, computer-readable recording medium
CN107229390A (en) A kind of desktop icons aligning method, mobile terminal and computer-readable recording medium
CN107463324A (en) A kind of image display method, mobile terminal and computer-readable recording medium
CN107181865A (en) Processing method, terminal and the computer-readable recording medium of unread short messages
CN108241752A (en) Photo display methods, mobile terminal and computer readable storage medium
CN107656743A (en) A kind of discharging method of application, terminal and readable storage medium storing program for executing
CN107678698A (en) Data cached method for cleaning, server, terminal and computer-readable recording medium
CN107992455A (en) A kind of text handling method, terminal and computer-readable recording medium
CN107589895A (en) Select method, mobile terminal and the computer-readable recording medium of text
CN108170348A (en) A kind of thumbnail method for previewing, equipment and computer readable storage medium
CN107247606A (en) Application management method, device and computer-readable recording medium
CN109840125A (en) A kind of terminal control method, terminal and computer readable storage medium
CN107562570A (en) Data reconstruction method and mobile terminal

Legal Events

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

Application publication date: 20180109