CN105843710A - Data backup and recovery device and method - Google Patents

Data backup and recovery device and method Download PDF

Info

Publication number
CN105843710A
CN105843710A CN201610218947.9A CN201610218947A CN105843710A CN 105843710 A CN105843710 A CN 105843710A CN 201610218947 A CN201610218947 A CN 201610218947A CN 105843710 A CN105843710 A CN 105843710A
Authority
CN
China
Prior art keywords
backup
mobile terminal
data
external memory
memory space
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
CN201610218947.9A
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 CN201610218947.9A priority Critical patent/CN105843710A/en
Publication of CN105843710A publication Critical patent/CN105843710A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a data backup and recovery device. The data backup and recovery device comprises a backup module, an indication module and a recovery module, wherein the backup module is used for copying preset backup data to external memory space connected with a mobile terminal when the mobile terminal receives factory reset operation or system reinstallation operation; the indication module is used for indicating the mobile terminal to respond to the received factory reset operation or system reinstallation operation after backup operation of the preset backup data is finished; the recovery module is used for recovering the preset backup data to the mobile terminal after the mobile terminal finishes the received factory reset operation or system reinstallation operation. The invention further discloses a data backup and recovery method. According to the data backup and recovery device and method, user operation can be reduced on the premise that user data are protected from loss.

Description

Data backup and resume device and method
Technical field
The present invention relates to technical field of mobile terminals, be specifically related to a kind of data backup and resume device and side Method.
Background technology
It is well known that mobile terminal based on android system usually because application data incompatible or The reasons such as person's system file damage cause normally using, thus need factory reset even brush machine Recover, and these operations will result directly in the loss of user data, such as, in factory reset or After person's brush machine, the application program etc. of address list, short message and installation in mobile phone all can be lost, and impact is used Family normally uses.In prior art, for avoiding user data loss, user is in brush machine or factory reset Time, mobile terminal can be connected with computer, the user data that then will be needed by loaded down with trivial details manual operation Back up to computer, and after completing brush machine or factory reset operation, then by loaded down with trivial details manual operation Backup Data in computer is reduced to mobile terminal, and whole process is the most loaded down with trivial details.
Summary of the invention
The present invention provides a kind of data backup and resume device and method, it is intended to protection user data is not lost Under premise, reduce user operation.
For achieving the above object, the present invention provides a kind of data backup and resume device, and described data are standby Part and recovery device include:
Backup module, for when mobile terminal receives factory reset operation or the operation of brush machine, by pre- If Backup Data backs up to the external memory space that described mobile terminal connects;
Indicating module, for after completing the backup operation of described default Backup Data, indicates described movement Factory reset operation or brush machine that terminal response receives operate;
Recover module, operate it for the factory reset operation or brush machine completing reception at mobile terminal After, recover described default Backup Data to described mobile terminal.
Optionally, described backup module is additionally operable to, and receives factory reset operation or brush at mobile terminal During machine operation, obtain the factory reset operation received or brush machine operates the instruction information carried;And
Described default Backup Data is backed up to the external memory space that described instruction information is specified.
Optionally, described backup module is additionally operable to, and receives factory reset operation or brush at mobile terminal During machine operation, back up to default Backup Data multiple external memory spaces that described mobile terminal connects are read The external memory space that writing rate is the fastest.
Optionally, described recovery module is additionally operable to, and deletes the described of backup in described external memory space and presets Backup Data.
Optionally, described data backup and resume device, also include detecting module and reminding module, wherein,
Described detecting module, is used for when mobile terminal receives factory reset operation or the operation of brush machine, The external memory space that detecting mobile terminal connects;
Described backup module is additionally operable to, when detecting external memory space, by standby for described default Backup Data The external memory space that part connects to described mobile terminal;
Described reminding module, for when not detecting external memory space, output connects external memory space Information;
Described indicating module, is additionally operable to not detect the outside storage that mobile terminal connects in preset time period Space or when receiving the cancellation backup instruction of user, indicates what the response of described mobile terminal received to recover Factory arranges operation or the operation of brush machine.
Additionally, for foregoing invention purpose, the present invention also provides for a kind of data backup and resume method, described Data backup and resume method comprises the following steps:
When mobile terminal receives factory reset operation or the operation of brush machine, default Backup Data is backed up The external memory space connected to described mobile terminal;
After completing the backup operation of described default Backup Data, the response of described mobile terminal is indicated to receive Factory reset operation or the operation of brush machine;
After mobile terminal completes factory reset operation or the operation of brush machine of reception, recover described and preset Backup Data is to mobile terminal.
Optionally, described when mobile terminal receives factory reset operation or the operation of brush machine, will preset Backup Data backs up to the step of the external memory space that described mobile terminal connects and includes:
When mobile terminal receives factory reset operation or the operation of brush machine, obtain the recovery received and dispatch from the factory Operation is set or brush machine operates the instruction information carried;
Described default Backup Data is backed up to the external memory space that described instruction information is specified.
Optionally, described when mobile terminal receives factory reset operation or the operation of brush machine, will preset Backup Data backs up to the step of the external memory space that described mobile terminal connects and includes:
When mobile terminal receives factory reset operation or the operation of brush machine, default Backup Data is backed up The external memory space that read or write speed is the fastest to multiple external memory spaces that described mobile terminal connects.
It is optionally, described after mobile terminal completes factory reset operation or the operation of brush machine of reception, Recover described default Backup Data to after the step of mobile terminal, also include:
Delete the described default Backup Data of backup in described external memory space.
Optionally, described default Backup Data backed up to the external memory space that described mobile terminal connects Before step, also include:
When mobile terminal receives factory reset operation or the operation of brush machine, detecting mobile terminal connects External memory space;
When detecting external memory space, perform described default Backup Data to be backed up to described mobile terminal The step of the external memory space connected;
After the step of the external memory space that described detecting mobile terminal connects, also include:
When not detecting external memory space, output connects the information of external memory space;
In preset time period, do not detect the external memory space of mobile terminal connection or receive user Cancellation backup instruction time, indicate described mobile terminal response receive factory reset operation or brush machine behaviour Make.
The data backup and resume device and method that the present invention proposes, is applied to mobile terminal, it is only necessary to one SD card or USB flash disk serve as the external memory space of mobile terminal, can be in user's brush machine or removing application Automatically default responsible consumer data (such as photo, mail, video, account password etc.) are carried out before data Backup, and can again reduce after removing, decrease and when user plays machine, need manual backup and extensive The troublesome operation of complex data, and protect the significant data of user.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the high-level schematic functional block diagram of data backup and resume device first embodiment of the present invention;
Fig. 3 is that in data backup and resume device the second embodiment of the present invention, mobile phone enters under Recovery pattern Example user interface figure;
Fig. 4 is the schematic flow sheet of data backup and resume method first embodiment of the present invention;
Fig. 5 is the schematic flow sheet of data backup and resume method the second embodiment of the present invention;
Fig. 6 is the schematic flow sheet of data backup and resume method the 3rd embodiment of the present invention.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit The present invention.It should be noted that in the case of not conflicting, in embodiment in the present invention and embodiment Feature can the most arbitrarily combine.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description In, use the suffix of such as " module ", " parts " or " unit " for representing element only for being conducive to this The explanation of invention, itself does not has specific meaning.Therefore, " module " can mixedly make with " parts " With.
Mobile terminal can be implemented in a variety of manners.Such as, the mobile terminal described in the present invention can wrap Include such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (individual digital Assistant), PAD (panel computer), PMP (portable media player), guider etc., this area Skilled artisan will appreciate that, in addition to being used in particular for the element of mobile purpose, according to the enforcement of the present invention The structure of mode can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120, use Family input block 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, control Device 180 processed and power subsystem 190 etc..Fig. 1 shows the mobile terminal with various assembly, but should manage Solve be, it is not required that implement all assemblies illustrated.Can alternatively implement more or less of assembly. Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and channel radio Radio communication between communication system or network.Such as, wireless communication unit can include mobile communication module 111 and wireless Internet module 112 at least one.
Mobile communication module 111 send radio signals to base station (such as, access point, node B etc.), In exterior terminal and server at least one and/or receive from it radio signal.Such radio Signal can include voice call signal, video calling signal or according to text and/or Multimedia Message The various types of data sent and/or receive.
Wireless Internet module 112 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can internal or Externally it is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (nothing Line LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (at a high speed Downlink packets accesses) etc..
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include phase Machine 121 and mike 122, camera 121 in Video Capture pattern or image capture mode by image capturing Static images or the view data of video that device obtains process.Picture frame after process may be displayed on On display unit 151.Picture frame after camera 121 processes can be stored in memorizer 160 (or other storage Medium) in or be transmitted via wireless communication unit 110, two can be provided according to the structure of mobile terminal Individual or more polyphaser 121.Mike 122 can be at telephone calling model, logging mode, speech recognition mode Etc. operational mode receives sound (voice data) via mike, and can be by such acoustic processing For voice data.Audio frequency (voice) data after process can be converted in the case of telephone calling model can The form output of mobile communication base station it is sent to via mobile communication module 112.Mike 122 can be implemented respectively The noise of type eliminates (or suppression) algorithm to eliminate (or suppression) in the process receiving and sending audio signal The noise of middle generation or interference.
It is mobile whole to control that user input unit 130 can generate key input data according to the order of user's input The various operations of end.User input unit 130 allows user to input various types of information, and can wrap Include keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, electric capacity Etc. the sensitive component of change), roller, rocking bar etc..Especially, fold as a layer when touch pad When being added on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or Closed mode), the position of mobile terminal 100, user is for the contact (that is, touch input) of mobile terminal 100 Presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and And generate the order or signal being used for controlling the operation of mobile terminal 100.Such as, implement when mobile terminal 100 During for sliding-type mobile phone, sensing unit 140 can sense this sliding-type phone and open or close. It addition, sensing unit 140 can detect whether whether power subsystem 190 provide electric power or interface unit 170 Couple with external device (ED).
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through. Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery charging Device) port, wired or wireless FPDP, memory card port, there is the device of identification module for connecting Port, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identification module can Be storage for verifying that user uses the various information of mobile terminal 100 and can include that user identifies mould Block (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..It addition, have The device (hereinafter referred to as " identifying device ") of identification module can be to take the form of smart card, therefore, identifies dress Put and can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 may be used for connecing Receive from external device (ED) input (such as, data message, electric power etc.) and will receive input transmission One or more elements in mobile terminal 100 or may be used between mobile terminal and external device (ED) Transmission data.
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing to pass through Its by electric power from base provide that the path of mobile terminal 100 or can serve as allows from base input each Plant command signal and pass through its path being transferred to mobile terminal.From various command signals or the electric power of base input May serve as identifying whether mobile terminal is accurately fitted within the signal on base.Output unit 150 quilt Be configured to vision, audio frequency and/or tactile manner provide output signal (such as, audio signal, video signal, Alarm signal, vibration signal etc.).Output unit 150 can include that display unit 151, audio frequency export mould Block 152 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, when mobile terminal 100 When being in telephone calling model, display unit 151 can show with call or other communicate that (such as, text disappears Breath transmitting-receiving, multimedia file download etc.) relevant user interface (UI) or graphic user interface (GUI).When When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can show catches The image obtained and/or the image of reception, UI or GUI demonstrating video or image and correlation function etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another to form touch screen time, aobvious Show that unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexibility show Show at least one in device, three-dimensional (3D) display etc..Some in these display may be constructed such that Transparence is to allow user to watch from outside, and this is properly termed as transparent display, and typical transparent display can With for example, TOLED (transparent organic light emitting diode) display etc..According to the specific embodiment party wanted Formula, mobile terminal 100 can include two or more display units (or other display device), such as, mobile Terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for Detect touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in call signal at mobile terminal and receive pattern, call mode, note Time under the isotypes such as record pattern, speech recognition mode, broadcast reception mode, wireless communication unit 110 is connect Receive or in memorizer 160 storage voice data transducing audio signal and be output as sound.And, Dio Output Modules 152 can provide the audio frequency output (example relevant to the specific function of mobile terminal 100 execution As, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can include raising one's voice Device, buzzer etc..
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., For example, it is possible to storage realizes the software program of data backup and resume method of the present invention, or can be temporarily The own data (such as, telephone directory, message, still image, video etc.) that maybe will export through output of storage. And, memorizer 160 can be with storage about the vibration of the various modes of output when touch is applied to touch screen Data with audio signal.
Memorizer 160 can include the storage medium of at least one type, described storage medium include flash memory, Hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory (SRAM), read only memory (ROM), electrically erasable Read only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, light Dish etc..And, mobile terminal 100 can be connected the storage function of execution memorizer 160 with by network Network storage device cooperates.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs to lead to voice Control that words, data communication, video calling etc. are relevant and process.Controller 180 can perform pattern to be known Other places are managed, so that the handwriting input performed on the touchscreen or picture drafting input are identified as character or figure Picture.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides behaviour Make the suitable electric power needed for each element and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination Computer-readable medium implement.Implementing for hardware, embodiment described herein can be by using Application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), Programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller Device, microprocessor, it is designed to perform at least one in the electronic unit of function described herein and implements, In some cases, such embodiment can be implemented in controller 180.Software is implemented, all Embodiment such as process or function can perform at least one function or the single software of operation with permission Module is implemented.Software code can by write with any suitable programming language software application (or Program) to implement, software code can be stored in memorizer 160 and be performed by controller 180.
Based on above-mentioned mobile terminal hardware configuration, each enforcement of data backup and resume device of the present invention is proposed Example.
With reference to Fig. 2, in the first embodiment of data backup and resume device of the present invention, this data backup and Recovery device includes:
Backup module 10, is used for when mobile terminal receives factory reset operation or the operation of brush machine, Default Backup Data is backed up to the external memory space that mobile terminal connects;
It should be noted that the data backup and resume device that the present embodiment proposes is mainly used in Android The mobile terminal of system, concrete, this data backup and resume device is embedded in the Recovery of mobile terminal System is run.Wherein, Recovery system is similar to Windows PE, enters Recovery at mobile terminal After pattern, the data within mobile terminal or system can be modified, dispatch from the factory as carried out brush machine and recovery Operation is set etc..
In the present embodiment, it is in advance based on the compiling of difference in functionality code correspondence and generates backup module 10, instruction mould Block 20 and recovery module 30, such as, the backup module 10 that compiling obtains is " backup.bin ", compiling The recovery module 30 obtained is " restore.bin ".Backup module 10, indicating module 20 is generated in compiling After recovering module 30, backup module 10, indicating module 20 and the recovery module 30 that compiling is generated It is integrated in the root file of mobile terminal Recovery system, it is achieved data backup and resume device embedded.
Concrete, damage because of system file or application data are incompatible etc. that situation causes mobile at mobile terminal When terminal cannot normally use, in the power-offstate, user can press simultaneously the key of mobile terminal+ Volume plus/minus key (specifically different according to type difference), so that mobile terminal enters Recovery pattern. After mobile terminal enters Recovery pattern, it is provided that have " wipe data/factory reset " and " install zip From SDcard " etc. option, wherein, when user select perform " wipe data/factory reset " time, The factory reset operation of mobile terminal will be triggered;When user selects to perform " install zip from SDcard " time, user can select " brush machine bag " to trigger the brush machine operation of mobile terminal further.
In the present embodiment, default Backup Data can be preassigned by user, it is possible to by mobile terminal default setting, Such as, all data during the default Backup Data of mobile terminal default setting includes " userdata " subregion With the user storage data in other subregion, wherein, " userdata " partitioned storage has address list, note Breath, system set-up information and mounted application program etc.;User storage data includes that mobile terminal response is used Photo, mail, video and the account/password etc. of family operation storage.
Additionally, the present embodiment is not limiting as mobile terminal connects the type of external memory space, can be pressed by user Be actually needed selection connect, such as, user may be inserted into SD card or TF card etc. as mobile terminal outside Portion's memory space, it is also possible to connect the USB flash disk external memory space as mobile terminal by OTG mode.
In the present embodiment, backup module 10, after completing the backup operation of default Backup Data, sends standby The instruction information that part has operated is to indicating module 20, and to inform indicating module 20, it has completed backup operation.
Indicating module 20, for, after completing the backup operation of default Backup Data, indicating mobile terminal Factory reset operation or brush machine that response receives operate;
After the instruction information that the backup operation receiving backup module 10 transmission completes, indicating module 20 is true Recognize backup module 10 and complete backup operation, the factory reset operation that instruction mobile terminal response receives Or the operation of brush machine.It should be noted that after mobile terminal performs factory reset operation, in mobile terminal All of user data (address list, short message), all third party softwares of installation are all deleted, and move Dynamic terminal is the operating system of pre-burning when only remaining with;After mobile terminal performs the operation of brush machine, not only mobile whole All of user data (address list, short message) in end, all third party softwares of installation are deleted, and And mobile terminal when dispatching from the factory the operating system of pre-burning be also deleted, and burning has new operating system.
Recover module 30, for the factory reset operation or the operation of brush machine that complete to receive at mobile terminal Afterwards, the default Backup Data of backup is recovered to mobile terminal.
In the present embodiment, detecting factory reset operation or the operation of brush machine that mobile terminal completes to receive Afterwards, the default Backup Data that recovery module 30 is recovered to back up, will external memory space to mobile terminal The default Backup Data of middle backup is copied to the respective file position before backup module 10 performs backup operation.
It should be noted that be to make to recover module 30 can will external memory space back up accurately Presetting Backup Data to recover to mobile terminal, backup module 10, when performing backup operation, not only will be preset Backup Data backs up to the external memory space that mobile terminal connects, and also obtains the first number presetting Backup Data According to, and the metadata of acquisition is stored in the association of default Backup Data the outside storage sky that mobile terminal is connected Between.Wherein, metadata, also known as broker data or relay data, is the data describing other data, in other words Being the structured data for information about for providing certain resource, the metadata that the present embodiment obtains is used for describing Preset the document location of Backup Data, attribute and authority etc..
Accordingly, recovery module 30, when performing recovery operation, is preset with specific reference in external memory space The metadata of Backup Data association, is copied to default Backup Data it and performs backup behaviour at backup module 10 Document location before work, and authority is set.So far, the system of mobile terminal is recovered normally to use, and And the user data of storage is also retained.
Furthermore, it is necessary to explanation, backup module 10 perform backup operation or recover module 30 perform During recovery operation, if mobile terminal power down causes backup module 10 or recovery module 30 to operate Interrupting, backup module 10 and recovery module 30 then re-power and enter Recovery mould at mobile terminal After formula, the backup operation before continuation or recovery operation, and the data that do not operated before covering accordingly.
Further, in the present embodiment, recover module 30 and be additionally operable to, delete in external memory space standby The default Backup Data of part.
It will be appreciated by persons skilled in the art that external memory space has the physical store upper limit, work as capacity Man Shi, it is impossible to normally provide service, also cannot be used for backing up default Backup Data and normal data Storage.Therefore, in the present embodiment, recover to moving at the default Backup Data that will back up in external memory space After dynamic terminal, in external memory space, the default Backup Data of backup does not the most continue necessity of storage, Now recover module 30 and delete the default Backup Data of backup in external memory space, to avoid outside storage The waste of capacity in space.
Further, in the present embodiment, this data backup and resume device also includes detecting module and prompting Module, wherein,
Detecting module, for when mobile terminal receives factory reset operation or the operation of brush machine, detecting The external memory space that mobile terminal connects;
Backup module 10 is additionally operable to, and when detecting external memory space, is backed up to by default Backup Data The external memory space that mobile terminal connects;
Reminding module, for when not detecting external memory space, output connects carrying of external memory space Show information;
Indicating module 20, is additionally operable to not detect the outside storage that mobile terminal connects in preset time period Space or when receiving the cancellation backup instruction of user, the recovery that instruction mobile terminal response receives is dispatched from the factory and set Put operation or the operation of brush machine.
It is understood that in actual use, there is user and be not connected with external memory space to mobile Terminal, or connect that interface contact is bad causes the situations such as external memory space loss.In the present embodiment, For guaranteeing that user data is not lost, when mobile terminal receives factory reset operation or the operation of brush machine, First the external memory space connected mobile terminal by detecting module is detected, if detecting, then detects Default Backup Data is backed up to it and detects external memory space by module instruction backup module 10;If not detecing Measure, then the output of detecting module instruction reminding module connects the information of external memory space, continues simultaneously Whether detecting mobile terminal connects external memory space.Wherein, the information display circle that reminding module shows Face is also provided with cancelling the cancellation control of backup operation, and user can select to connect outside storage according to information Space or by cancel control trigger cancel backup instruction.
In preset time period, do not detect the external memory space of mobile terminal connection or receive user Cancellation backup instruction time, detecting module instruction indicating module 20 indicate mobile terminal response receive recovery Default Value operation or the operation of brush machine;The outside storage sky that mobile terminal connects is detected in preset time period Between time, detecting module instruction backup module 10 back up to detect external memory space by default Backup Data. Wherein, the present embodiment is not intended to the value of this preset time period, specifically can arrange according to actual needs, such as, The present embodiment is set to 5 seconds.
The data backup and resume device that the present embodiment proposes, is applied to mobile terminal, it is only necessary to a SD Card or USB flash disk serve as the external memory space of mobile terminal, can be at user's brush machine or removing application number According to automatically default responsible consumer data (such as photo, mail, video, account password etc.) being carried out standby before Part, and can again reduce after removing, decrease when user plays machine and need manual backup and recovery The troublesome operation of data, and protect the significant data of user.
Further, it is proposed that the second embodiment of data backup and resume device of the present invention, the present embodiment with Based on first embodiment, add the detailed description that backup module 10 is performed backup operation, continue ginseng According to Fig. 2, in the present embodiment, this data backup and resume device includes:
Backup module 10, is used for when mobile terminal receives factory reset operation or the operation of brush machine, Obtain the factory reset operation received or brush machine operates the instruction information carried;And
Default Backup Data is backed up to the external memory space that instruction information is specified;
Indicating module 20, for, after completing the backup operation of default Backup Data, indicating mobile terminal Factory reset operation or brush machine that response receives operate;
Recover module 30, for the factory reset operation or the operation of brush machine that complete to receive at mobile terminal Afterwards, the default Backup Data of backup is recovered to mobile terminal.
It should be noted that the difference of the present embodiment and first embodiment is, can be by user in the present embodiment Specifying the external memory space for backup, the most only difference is illustrated by this, and other specifically can refer to the One embodiment, here is omitted.
It will be appreciated by persons skilled in the art that mobile terminal is generally of multiple outside that connects and stores sky Between I/O interface, such as Micro-USB interface and Micro SD interface etc., in actual use, Mobile terminal can be connected with multiple external memory spaces, as adopted by Micro-USB interface by user simultaneously Be connected with USB flash disk by the mode of OTG, as by Micro SD interface insert Micro SD card (or title TF Card, Trans-flash Card).
Therefore, for promote Consumer's Experience, the present embodiment provide select backup external memory space authority to User, user can select the external memory space for backup according to actual needs.Concrete, in the present embodiment, Backup module 10 provide " Restore " option to user, after user enters into this " Restore " option, Can select the external memory space for backup, such as, mobile terminal currently connects Micro SD card And USB flash disk, user may select arbitrary external memory space as backup in the two.
Backup module 10, after the selection information receiving user, generates and stores the instruction of correspondence accordingly Information;When user selects " wipe data/factory reset " or " install zip from SDcard " to perform Time, triggering is carried factory reset operation or the operation of brush machine of instruction information;Backup module 10 is being held During row backup operation, extract factory reset operation or brush machine operates the instruction information carried, by pre-equipment Number is according to backing up to the external memory space that instruction information is specified.
Such as, user specifies USB flash disk to be backup external memory space, then backup module 10 is according to instruction letter Default Backup Data is backed up to the USB flash disk that mobile terminal connects by breath;User specifies SD card outside for backup Memory space, then default Backup Data is backed up to mobile terminal according to instruction information and connects by backup module 10 SD card.
Accordingly, recovery module 30 is when performing the recovery operation presetting Backup Data, if from SD card Recover data, then backup module 10 is backuped to the default Backup Data on SD card and is copied to it in backup Module 10 performs the document location before backup operation;If USB flash disk recovers data, then by backup module 10 Backup to the default Backup Data on USB flash disk and be copied to its file before backup module 10 performs backup operation Position.
The data backup and resume device of above-mentioned second embodiment will be done further application note, specifically below As a example by mobile phone:
User, when starting hand-set, can be forced into Recovery pattern by predetermined manner, here Predetermined manner includes but not limited to: pins key in volume, then presses the start of mobile phone power-on key with automatically into arriving Recovery pattern etc..After entering into Recovery pattern, the user interface of mobile phone would indicate that accordingly Option, as shown in Figure 3: 1, Backup Data is to external SD card;2, Backup Data is to OTG equipment; 3, data are recovered from SD card;4, data are recovered from OTG equipment.
Preset Backup Data herein and use the default setting of mobile terminal, i.e. institute in " userdata " subregion There are user data (such as contact person, message, setting and mounted application program etc.) and other subregion In user storage data (such as photo, mail, video, account password etc.).
User can select backup external memory space according to actual needs, if instructing really according to the selection of user Its selection fixed is 1, then automatically data and the user storage data of userdata subregion are copied to and known Other external SD card;If according to user select instruction to determine it selects is 2, then automatic by userdata The data of subregion and user storage data copy the most identified OTG equipment to (if mobile phone is by OTG side The USB flash disk that formula connects) on.
When mobile phone factory reset or line brush, relevant data will be deleted, when mobile phone completes to recover After Default Value or the operation of line brush, mobile phone will restart and automatically reenter Recovery pattern.This Time, user can select to back up the external memory space of Backup Data according to actual needs, if according to user's Selecting instruction to determine, it selects is 3, then the backup number that automatically will store on the most identified external SD card According to recovery, the Backup Data that i.e. will be stored on external SD card copies userdata subregion and user again to Data storage area;If according to user select instruction to determine it selects is 4, then automatic by the most identified On OTG equipment, the Backup Data of storage recovers, and the Backup Data that i.e. will be stored on OTG equipment is copied again Shellfish is to userdata subregion and user data memory block.After completing data recovery, mobile phone restarts system, i.e. Original data can be recovered so that before these data in mobile phone return to non-factory reset or line brush State, for user normally.
Thus, the embodiment of the present invention can back up the data of userdata subregion, it is possible to backup mobile phone storage User data.After user makes a choice, whole process is run the most automatically, by the backup of Recovery Recover function, decrease and need manual backup when user plays machine and recover the troublesome operation of data, protect use The significant data at family.
Further, it is proposed that the 3rd embodiment of data backup and resume device of the present invention, the present embodiment with Based on first embodiment, add the detailed description that backup module 10 is performed backup operation, continue ginseng According to Fig. 2, in the present embodiment, this data backup and resume device includes:
Backup module 10, is used for when mobile terminal receives factory reset operation or the operation of brush machine, Default Backup Data is backed up to read or write speed in multiple external memory spaces that mobile terminal connects the fastest External memory space;
Indicating module 20, for, after completing the backup operation of default Backup Data, indicating mobile terminal Factory reset operation or brush machine that response receives operate;
Recover module 30, for the factory reset operation or the operation of brush machine that complete to receive at mobile terminal Afterwards, the default Backup Data of backup is recovered to mobile terminal.
It should be noted that the difference of the present embodiment and first embodiment is, can be by backing up in the present embodiment Module 10 is automatically chosen for the external memory space of backup, the most only illustrates this difference, other Specifically can refer to first embodiment, here is omitted.
It will be appreciated by persons skilled in the art that the read or write speed of different external memory space is the most different, Time needed for an equal amount of default Backup Data backs up to different external memory space is the most different, with Sample, by an equal amount of default Backup Data needed for different external memory spaces recoveries to mobile terminal Time is the most different.In the present embodiment, for promoting the backup efficiency presetting Backup Data and recovering efficiency, with Allowing users to normally use mobile terminal faster, backup module 10, will when performing backup operation Default Backup Data back up to mobile terminal connect multiple external memory spaces in read or write speed the fastest outside Portion's memory space, such as, when mobile terminal receives factory reset operation or the operation of brush machine, backup Module 10 recognizes mobile terminal and has been simultaneously connected with Micro SD card and USB flash disk, and the read or write speed of USB flash disk Higher than the read or write speed of Micro SD card, then default Backup Data is backed up to mobile terminal by backup module 10 In the USB flash disk connected.
Further, present invention also offers a kind of data backup and resume method, in conjunction with reference to Fig. 2 and Tu 4, in the first embodiment of data backup and resume method of the present invention, this data backup and resume method bag Include:
Step S10, when mobile terminal receives factory reset operation or the operation of brush machine, by pre-equipment Number is according to backing up to the external memory space that described mobile terminal connects;
It should be noted that the data backup and resume method that the present embodiment proposes is mainly used in Android The mobile terminal of system, data backup and resume device the most as shown in Figure 2 performs, this data backup and Recovery device is embedded in the Recovery system of mobile terminal and runs.Wherein, Recovery system is similar to Windows PE, after mobile terminal enters Recovery pattern, can be to the data within mobile terminal Or system modifies, as carried out the operations such as brush machine and factory reset.
In the present embodiment, it is in advance based on the compiling of difference in functionality code correspondence and generates backup module 10, instruction mould Block 20 and recovery module 30, such as, the backup module 10 that compiling obtains is " backup.bin ", compiles The recovery module 30 arrived is " restore.bin ".Backup module 10, indicating module 20 and extensive is generated in compiling After multiple module 30, the backup module 10, indicating module 20 and the recovery module 30 that compiling are generated are integrated In the root file of mobile terminal Recovery system, it is achieved data backup and resume device embedded.
Concrete, damage because of system file or application data are incompatible etc. that situation causes mobile at mobile terminal When terminal cannot normally use, in the power-offstate, user can press simultaneously the key of mobile terminal+ Volume plus/minus key (specifically different according to type difference), so that mobile terminal enters Recovery pattern. After mobile terminal enters Recovery pattern, it is provided that have " wipe data/factory reset " and " install zip From SDcard " etc. option, wherein, when user select perform " wipe data/factory reset " time, The factory reset operation of mobile terminal will be triggered;When user selects to perform " install zip from SDcard " time, user can select " brush machine bag " to trigger the brush machine operation of mobile terminal further.
In the present embodiment, default Backup Data can be preassigned by user, it is possible to by mobile terminal default setting, Such as, all data during the default Backup Data of mobile terminal default setting includes " userdata " subregion With the user storage data in other subregion, wherein, " userdata " partitioned storage have address list, short message, System set-up information and mounted application program etc.;User storage data includes mobile terminal response user behaviour Make photo, mail, video and the account/password etc. stored.
Additionally, the present embodiment is not limiting as mobile terminal connects the type of external memory space, can be pressed by user Be actually needed selection connect, such as, user may be inserted into SD card or TF card etc. as mobile terminal outside Portion's memory space, it is also possible to connect the USB flash disk external memory space as mobile terminal by OTG mode.
In the present embodiment, backup module 10, after completing the backup operation of default Backup Data, sends standby The instruction information that part has operated is to indicating module 20, and to inform indicating module 20, it has completed backup operation.
Step S20, after completing the backup operation of default Backup Data, instruction mobile terminal response receives Factory reset operation or brush machine operation;
After the instruction information that the backup operation receiving backup module 10 transmission completes, indicating module 20 is true Recognize backup module 10 and complete backup operation, the factory reset operation that instruction mobile terminal response receives Or the operation of brush machine.It should be noted that after mobile terminal performs factory reset operation, in mobile terminal All of user data (address list, short message), all third party softwares of installation are all deleted, and move Dynamic terminal is the operating system of pre-burning when only remaining with;After mobile terminal performs the operation of brush machine, not only mobile whole All of user data (address list, short message) in end, all third party softwares of installation are deleted, and And mobile terminal when dispatching from the factory the operating system of pre-burning be also deleted, and burning has new operating system.
Step S30, after mobile terminal completes factory reset operation or the operation of brush machine of reception, extensive The default Backup Data of multiple backup is to mobile terminal.
In the present embodiment, detecting factory reset operation or the operation of brush machine that mobile terminal completes to receive Afterwards, the default Backup Data that recovery module 30 is recovered to back up, will external memory space to mobile terminal The default Backup Data of middle backup is copied to the respective file position before backup module 10 performs backup operation.
It should be noted that be to make to recover module 30 can will external memory space back up accurately Presetting Backup Data to recover to mobile terminal, backup module 10, when performing backup operation, not only will be preset Backup Data backs up to the external memory space that mobile terminal connects, and also obtains the first number presetting Backup Data According to, and the metadata of acquisition is stored in the association of default Backup Data the outside storage sky that mobile terminal is connected Between.Wherein, metadata, also known as broker data or relay data, is the data describing other data, in other words Being the structured data for information about for providing certain resource, the metadata that the present embodiment obtains is used for describing Preset the document location of Backup Data, attribute and authority etc..
Accordingly, recovery module 30, when performing recovery operation, is preset with specific reference in external memory space The metadata of Backup Data association, is copied to default Backup Data it and performs backup behaviour at backup module 10 Document location before work, and authority is set.So far, the system of mobile terminal is recovered normally to use, and And the user data of storage is also retained.
Furthermore, it is necessary to explanation, backup module 10 perform backup operation or recover module 30 perform During recovery operation, if mobile terminal power down causes backup module 10 or recovery module 30 to operate Interrupting, backup module 10 and recovery module 30 then re-power and enter Recovery mould at mobile terminal After formula, the backup operation before continuation or recovery operation, and the data that do not operated before covering accordingly.
Further, in the present embodiment, after step S30, also include:
Delete the default Backup Data of backup in external memory space.
It will be appreciated by persons skilled in the art that external memory space has the physical store upper limit, work as capacity Man Shi, it is impossible to normally provide service, also cannot be used for backing up default Backup Data and normal data Storage.Therefore, in the present embodiment, recover to moving at the default Backup Data that will back up in external memory space After dynamic terminal, in external memory space, the default Backup Data of backup does not the most continue necessity of storage, Now recover module 30 and delete the default Backup Data of backup in external memory space, to avoid outside storage The waste of capacity in space.
Further, in the present embodiment, before step S10, also include:
When mobile terminal receives factory reset operation or the operation of brush machine, detecting mobile terminal connects External memory space;
When detecting external memory space, perform step S10;
When not detecting external memory space, output connects the information of external memory space;
In preset time period, do not detect the external memory space of mobile terminal connection or receive user Cancellation backup instruction time, instruction mobile terminal response receive factory reset operation or brush machine operation.
It is understood that in actual use, there is user and be not connected with external memory space to mobile Terminal, or connect that interface contact is bad causes the situations such as external memory space loss.In the present embodiment, For guaranteeing that user data is not lost, when mobile terminal receives factory reset operation or the operation of brush machine, First the external memory space connected mobile terminal by detecting module is detected, if detecting, then detects Default Backup Data is backed up to it and detects external memory space by module instruction backup module 10;If not detecing Measure, then the output of detecting module instruction reminding module connects the information of external memory space, continues simultaneously Whether detecting mobile terminal connects external memory space.Wherein, the information display circle that reminding module shows Face is also provided with cancelling the cancellation control of backup operation, and user can select to connect outside storage according to information Space or by cancel control trigger cancel backup instruction.
In preset time period, do not detect the external memory space of mobile terminal connection or receive user Cancellation backup instruction time, detecting module instruction indicating module 20 indicate mobile terminal response receive recovery Default Value operation or the operation of brush machine;The outside storage sky that mobile terminal connects is detected in preset time period Between time, detecting module instruction backup module 10 back up to detect external memory space by default Backup Data. Wherein, the present embodiment is not intended to the value of this preset time period, specifically can arrange according to actual needs, such as, The present embodiment is set to 5 seconds.
The data backup and resume method that the present embodiment proposes, is applied to mobile terminal, it is only necessary to a SD Card or USB flash disk serve as the external memory space of mobile terminal, can be at user's brush machine or removing application number According to automatically default responsible consumer data (such as photo, mail, video, account password etc.) being carried out standby before Part, and can again reduce after removing, decrease when user plays machine and need manual backup and recovery The troublesome operation of data, and protect the significant data of user.
Further, it is proposed that the second embodiment of data backup and resume method of the present invention, the present embodiment with Based on first embodiment, add to backup preset Backup Data detailed description, combine with reference to Fig. 2 with Fig. 5, in the present embodiment, this data backup and resume method includes:
Step S101, when mobile terminal receives factory reset operation or the operation of brush machine, acquisition connects The factory reset operation received or brush machine operate the instruction information carried;
Step S102, backs up to, by default Backup Data, the external memory space that instruction information is specified;
Step S20, after completing the backup operation of default Backup Data, instruction mobile terminal response receives Factory reset operation or brush machine operation;
Step S30, after mobile terminal completes factory reset operation or the operation of brush machine of reception, extensive The default Backup Data of multiple backup is to mobile terminal.
It should be noted that the difference of the present embodiment and first embodiment is, can be by user in the present embodiment Specifying the external memory space for backup, the most only difference is illustrated by this, and other specifically can refer to the One embodiment, here is omitted.
It will be appreciated by persons skilled in the art that mobile terminal is generally of multiple outside that connects and stores sky Between I/O interface, such as Micro-USB interface and Micro SD interface etc., in actual use, Mobile terminal can be connected with multiple external memory spaces, as adopted by Micro-USB interface by user simultaneously Be connected with USB flash disk by the mode of OTG, as by Micro SD interface insert Micro SD card (or title TF Card, Trans-flash Card).
Therefore, for promote Consumer's Experience, the present embodiment provide select backup external memory space authority to User, user can select the external memory space for backup according to actual needs.Concrete, in the present embodiment, Backup module 10 provide " Restore " option to user, after user enters into this " Restore " option, Can select the external memory space for backup, such as, mobile terminal currently connects Micro SD card And USB flash disk, user may select arbitrary external memory space as backup in the two.
Backup module 10, after the selection information receiving user, generates and stores the instruction of correspondence accordingly Information;When user selects " wipe data/factory reset " or " install zip from SDcard " to perform Time, triggering is carried factory reset operation or the operation of brush machine of instruction information;Backup module 10 is being held During row backup operation, extract factory reset operation or brush machine operates the instruction information carried, by pre-equipment Number is according to backing up to the external memory space that instruction information is specified.
Such as, if user specifies USB flash disk to be backup external memory space, then backup module 10 is according to instruction Default Backup Data is backed up to the USB flash disk that mobile terminal connects by information;If user specifies SD card to use for backup External memory space, then default Backup Data is backed up to mobile terminal according to instruction information by backup module 10 The SD card connected.
Accordingly, recovery module 30 is when performing the recovery operation presetting Backup Data, if from SD card Recover data, then backup module 10 is backuped to the default Backup Data on SD card and is copied to it in backup Module 10 performs the document location before backup operation;If USB flash disk recovers data, then by backup module 10 Backup to the default Backup Data on USB flash disk and be copied to its file before backup module 10 performs backup operation Position.
The data backup and resume method of above-mentioned second embodiment will be done further application note, specifically below As a example by mobile phone:
User, when starting hand-set, can be forced into Recovery pattern by predetermined manner, here Predetermined manner includes but not limited to: pins key in volume, then presses the start of mobile phone power-on key with automatically into arriving Recovery pattern etc..After entering into Recovery pattern, the user interface of mobile phone would indicate that accordingly Option, as shown in Figure 3: 1, Backup Data is to external SD card;2, Backup Data is to OTG equipment; 3, data are recovered from SD card;4, data are recovered from OTG equipment.
Preset Backup Data herein and use the default setting of mobile terminal, i.e. institute in " userdata " subregion There are user data (such as contact person, message, setting and mounted application program etc.) and other subregion In user storage data (such as photo, mail, video, account password etc.).
User can select backup external memory space according to actual needs, if instructing really according to the selection of user Its selection fixed is 1, then automatically data and the user storage data of userdata subregion are copied to and known Other external SD card;If according to user select instruction to determine it selects is 2, then automatic by userdata The data of subregion and user storage data copy the most identified OTG equipment to (if mobile phone is by OTG side The USB flash disk that formula connects) on.
When mobile phone factory reset or line brush, relevant data will be deleted, when mobile phone completes to recover After Default Value or the operation of line brush, mobile phone will restart and automatically reenter Recovery pattern.This Time, user can select to back up the external memory space of Backup Data according to actual needs, if according to user's Selecting instruction to determine, it selects is 3, then the backup number that automatically will store on the most identified external SD card According to recovery, the Backup Data that i.e. will be stored on external SD card copies userdata subregion and user again to Data storage area;If according to user select instruction to determine it selects is 4, then automatic by the most identified On OTG equipment, the Backup Data of storage recovers, and the Backup Data that i.e. will be stored on OTG equipment is copied again Shellfish is to userdata subregion and user data memory block.After completing data recovery, mobile phone restarts system, i.e. Original data can be recovered so that before these data in mobile phone return to non-factory reset or line brush State, for user normally.
Thus, the embodiment of the present invention can back up the data of userdata subregion, it is possible to backup mobile phone storage User data.After user makes a choice, whole process is run the most automatically, by the backup of Recovery Recover function, decrease and need manual backup when user plays machine and recover the troublesome operation of data, protect use The significant data at family.
Further, it is proposed that the 3rd embodiment of data backup and resume method of the present invention, the present embodiment with Based on first embodiment, add to backup preset Backup Data detailed description, combine with reference to Fig. 2 with Fig. 6, in the present embodiment, this data backup and resume method includes:
Step S210, when mobile terminal receives factory reset operation or the operation of brush machine, will preset Backup Data backs up to the outside that in multiple external memory spaces that mobile terminal connects, read or write speed is the fastest and deposits Storage space;
Step S220, after completing the backup operation of default Backup Data, instruction mobile terminal response connects The factory reset operation received or the operation of brush machine;
Step S230, after mobile terminal completes factory reset operation or the operation of brush machine of reception, Recover the default Backup Data of backup to mobile terminal.
It should be noted that the difference of the present embodiment and first embodiment is, can be by backing up in the present embodiment Module 10 is automatically chosen for the external memory space of backup, the most only illustrates this difference, other Specifically can refer to first embodiment, here is omitted.
It will be appreciated by persons skilled in the art that the read or write speed of different external memory space is the most different, Time needed for an equal amount of default Backup Data backs up to different external memory space is the most different, with Sample, by an equal amount of default Backup Data needed for different external memory spaces recoveries to mobile terminal Time is the most different.In the present embodiment, for promoting the backup efficiency presetting Backup Data and recovering efficiency, with Allowing users to normally use mobile terminal faster, backup module 10, will when performing backup operation Default Backup Data back up to mobile terminal connect multiple external memory spaces in read or write speed the fastest outside Portion's memory space, such as, when mobile terminal receives factory reset operation or the operation of brush machine, backup Module 10 recognizes mobile terminal and has been simultaneously connected with Micro SD card and USB flash disk, and the read or write speed of USB flash disk Higher than the read or write speed of Micro SD card, then default Backup Data is backed up to mobile terminal by backup module 10 In the USB flash disk connected.
It should be noted that in this article, term " includes ", " comprising " or its other variant any are intended to Contain comprising of nonexcludability, so that include the process of a series of key element, method, article or device Not only include those key elements, but also include other key element being not expressly set out, or also include for this The key element that the process of kind, method, article or device are intrinsic.In the case of there is no more restriction, by language Sentence " including one the ... " key element that limits, it is not excluded that include the process of this key element, method, article or Person's device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned reality Execute example method to add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the technical side of the present invention The part that prior art is contributed by case the most in other words can embody with the form of software product, This computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), bag Include some instructions with so that a station terminal equipment (can be mobile phone, computer, server, air-conditioner, Or the network equipment etc.) perform the method described in each embodiment of the present invention.
For illustrative purposes, description above employs specific term, to provide thorough to the present invention Understand.It will be apparent, however, to one skilled in the art, that in order to put into practice the present invention and be not required to Want concrete details.The specific embodiment of the present invention described above be for purposes of illustration and description and in Existing.They are not intended to detailed or limit the invention to disclosed precise forms.In view of religious doctrine above, Many modifications and variations are possible.Principle and reality thereof in order to explain the present invention best are applied and are illustrated And describe these embodiments so that others skilled in the art can utilize best the present invention and There are the various embodiments of the various amendments being suitable to intended specific use.It is intended to the scope of the present invention by subsequently Claim and its equivalent limit.

Claims (10)

1. a data backup and resume device, it is characterised in that described data backup and resume device bag Include:
Backup module, for when mobile terminal receives factory reset operation or the operation of brush machine, by pre- If Backup Data backs up to the external memory space that described mobile terminal connects;
Indicating module, for after completing the backup operation of described default Backup Data, indicates described movement Factory reset operation or brush machine that terminal response receives operate;
Recover module, operate it for the factory reset operation or brush machine completing reception at mobile terminal After, recover described default Backup Data to described mobile terminal.
Data backup and resume device the most according to claim 1, it is characterised in that described backup Module is additionally operable to, and when mobile terminal receives factory reset operation or the operation of brush machine, obtains reception Factory reset operation or brush machine operate the instruction information carried;And
Described default Backup Data is backed up to the external memory space that described instruction information is specified.
Data backup and resume device the most according to claim 1, it is characterised in that described backup Module is additionally operable to, when mobile terminal receives factory reset operation or the operation of brush machine, by default backup The outside that in multiple external memory spaces that data backup to described mobile terminal connects, read or write speed is the fastest is deposited Storage space.
4. according to the data backup and resume device described in any one of claim 1-3, it is characterised in that Described recovery module is additionally operable to, and deletes the described default Backup Data of backup in described external memory space.
5. according to the data backup and resume device described in any one of claim 1-3, it is characterised in that Described data backup and resume device, also includes detecting module and reminding module, wherein,
Described detecting module, is used for when mobile terminal receives factory reset operation or the operation of brush machine, The external memory space that detecting mobile terminal connects;
Described backup module is additionally operable to, when detecting external memory space, by standby for described default Backup Data The external memory space that part connects to described mobile terminal;
Described reminding module, for when not detecting external memory space, output connects external memory space Information;
Described indicating module, is additionally operable to not detect the outside storage that mobile terminal connects in preset time period Space or when receiving the cancellation backup instruction of user, indicates what the response of described mobile terminal received to recover Factory arranges operation or the operation of brush machine.
6. a data backup and resume method, it is characterised in that described data backup and resume method bag Include following steps:
When mobile terminal receives factory reset operation or the operation of brush machine, default Backup Data is backed up The external memory space connected to described mobile terminal;
After completing the backup operation of described default Backup Data, the response of described mobile terminal is indicated to receive Factory reset operation or the operation of brush machine;
After mobile terminal completes factory reset operation or the operation of brush machine of reception, recover described and preset Backup Data is to mobile terminal.
Data backup and resume method the most according to claim 6, it is characterised in that described in shifting When dynamic terminal receives factory reset operation or the operation of brush machine, default Backup Data is backed up to described shifting The step of the external memory space that dynamic terminal connects includes:
When mobile terminal receives factory reset operation or the operation of brush machine, obtain the recovery received and dispatch from the factory Operation is set or brush machine operates the instruction information carried;
Described default Backup Data is backed up to the external memory space that described instruction information is specified.
Data backup and resume method the most according to claim 6, it is characterised in that described in shifting When dynamic terminal receives factory reset operation or the operation of brush machine, default Backup Data is backed up to described shifting The step of the external memory space that dynamic terminal connects includes:
When mobile terminal receives factory reset operation or the operation of brush machine, default Backup Data is backed up The external memory space that read or write speed is the fastest to multiple external memory spaces that described mobile terminal connects.
9. according to the data backup and resume method described in any one of claim 6-8, it is characterised in that Described after mobile terminal completes factory reset operation or the operation of brush machine of reception, recover described and preset Backup Data, to after the step of mobile terminal, also includes:
Delete the described default Backup Data of backup in described external memory space.
10. according to the data backup and resume method described in any one of claim 6-8, it is characterised in that Before the described step that default Backup Data is backed up to the external memory space that described mobile terminal connects, also Including:
When mobile terminal receives factory reset operation or the operation of brush machine, detecting mobile terminal connects External memory space;
When detecting external memory space, perform described default Backup Data to be backed up to described mobile terminal The step of the external memory space connected;
After the step of the external memory space that described detecting mobile terminal connects, also include:
When not detecting external memory space, output connects the information of external memory space;
In preset time period, do not detect the external memory space of mobile terminal connection or receive user Cancellation backup instruction time, indicate described mobile terminal response receive factory reset operation or brush machine behaviour Make.
CN201610218947.9A 2016-04-08 2016-04-08 Data backup and recovery device and method Pending CN105843710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610218947.9A CN105843710A (en) 2016-04-08 2016-04-08 Data backup and recovery device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610218947.9A CN105843710A (en) 2016-04-08 2016-04-08 Data backup and recovery device and method

Publications (1)

Publication Number Publication Date
CN105843710A true CN105843710A (en) 2016-08-10

Family

ID=56598011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610218947.9A Pending CN105843710A (en) 2016-04-08 2016-04-08 Data backup and recovery device and method

Country Status (1)

Country Link
CN (1) CN105843710A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407826A (en) * 2016-11-07 2017-02-15 珠海市魅族科技有限公司 Data preserving method and device
CN106598759A (en) * 2016-12-16 2017-04-26 广东美晨通讯有限公司 Application processing method, device and system
CN106776117A (en) * 2016-11-16 2017-05-31 努比亚技术有限公司 Data backup device and method
CN107391309A (en) * 2017-07-28 2017-11-24 Tcl移动通信科技(宁波)有限公司 Mobile terminal and its recovery are dispatched from the factory pre-configured processing method and storage medium
CN107656706A (en) * 2017-10-30 2018-02-02 努比亚技术有限公司 A kind of data processing method, terminal and computer-readable storage medium
CN107704337A (en) * 2017-08-22 2018-02-16 北京珠穆朗玛移动通信有限公司 Method, mobile terminal and the device with store function of factory reset
CN107908340A (en) * 2017-09-29 2018-04-13 捷开通讯(深圳)有限公司 Method, mobile terminal and the device with store function of factory reset
CN108572885A (en) * 2017-03-10 2018-09-25 阿里巴巴集团控股有限公司 A kind of operation processing method, device and electronic equipment
CN110704243A (en) * 2019-09-25 2020-01-17 Oppo(重庆)智能科技有限公司 Data recovery method and device, terminal equipment and storage medium
CN110764810A (en) * 2019-11-05 2020-02-07 四川虹美智能科技有限公司 Android application upgrading and repairing method and terminal equipment
WO2020113531A1 (en) * 2018-12-06 2020-06-11 深圳市欢太科技有限公司 Data recovery method and device, and electronic device
CN112559241A (en) * 2019-09-10 2021-03-26 成都鼎桥通信技术有限公司 Method and device for realizing factory-level factory-reset in terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050069327A (en) * 2003-12-31 2005-07-05 주식회사 팬택앤큐리텔 Digital cellular phone to back up and restore data making use of external storage medium and method for doing data
KR20060076528A (en) * 2004-12-29 2006-07-04 엘지전자 주식회사 Method for back-up digital data of mobile communication terminal
CN103338306A (en) * 2013-06-28 2013-10-02 广东欧珀移动通信有限公司 Method and device for coping and recovering user data
CN103761163A (en) * 2014-01-14 2014-04-30 宇龙计算机通信科技(深圳)有限公司 Data loss preventing method and data loss preventing device
CN104572152A (en) * 2013-10-22 2015-04-29 中兴通讯股份有限公司 Smart terminal and virtual memory card and real memory card synchronization method and device
CN104932955A (en) * 2015-05-29 2015-09-23 深圳市创维电器科技有限公司 Method for backing up data during factory setting restoring of mobile terminal, and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050069327A (en) * 2003-12-31 2005-07-05 주식회사 팬택앤큐리텔 Digital cellular phone to back up and restore data making use of external storage medium and method for doing data
KR20060076528A (en) * 2004-12-29 2006-07-04 엘지전자 주식회사 Method for back-up digital data of mobile communication terminal
CN103338306A (en) * 2013-06-28 2013-10-02 广东欧珀移动通信有限公司 Method and device for coping and recovering user data
CN104572152A (en) * 2013-10-22 2015-04-29 中兴通讯股份有限公司 Smart terminal and virtual memory card and real memory card synchronization method and device
CN103761163A (en) * 2014-01-14 2014-04-30 宇龙计算机通信科技(深圳)有限公司 Data loss preventing method and data loss preventing device
CN104932955A (en) * 2015-05-29 2015-09-23 深圳市创维电器科技有限公司 Method for backing up data during factory setting restoring of mobile terminal, and mobile terminal

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407826A (en) * 2016-11-07 2017-02-15 珠海市魅族科技有限公司 Data preserving method and device
CN106776117A (en) * 2016-11-16 2017-05-31 努比亚技术有限公司 Data backup device and method
CN106776117B (en) * 2016-11-16 2021-06-15 努比亚技术有限公司 Data backup device and method
CN106598759A (en) * 2016-12-16 2017-04-26 广东美晨通讯有限公司 Application processing method, device and system
CN108572885A (en) * 2017-03-10 2018-09-25 阿里巴巴集团控股有限公司 A kind of operation processing method, device and electronic equipment
CN107391309A (en) * 2017-07-28 2017-11-24 Tcl移动通信科技(宁波)有限公司 Mobile terminal and its recovery are dispatched from the factory pre-configured processing method and storage medium
CN107391309B (en) * 2017-07-28 2022-06-10 Tcl移动通信科技(宁波)有限公司 Mobile terminal, factory-restoration pre-configuration processing method thereof and storage medium
CN107704337A (en) * 2017-08-22 2018-02-16 北京珠穆朗玛移动通信有限公司 Method, mobile terminal and the device with store function of factory reset
CN107704337B (en) * 2017-08-22 2020-08-25 北京珠穆朗玛移动通信有限公司 Factory setting restoring method, mobile terminal and device with storage function
CN107908340A (en) * 2017-09-29 2018-04-13 捷开通讯(深圳)有限公司 Method, mobile terminal and the device with store function of factory reset
CN107656706A (en) * 2017-10-30 2018-02-02 努比亚技术有限公司 A kind of data processing method, terminal and computer-readable storage medium
WO2020113531A1 (en) * 2018-12-06 2020-06-11 深圳市欢太科技有限公司 Data recovery method and device, and electronic device
CN112867994A (en) * 2018-12-06 2021-05-28 深圳市欢太科技有限公司 Data recovery method and device and electronic equipment
CN112559241A (en) * 2019-09-10 2021-03-26 成都鼎桥通信技术有限公司 Method and device for realizing factory-level factory-reset in terminal
CN110704243A (en) * 2019-09-25 2020-01-17 Oppo(重庆)智能科技有限公司 Data recovery method and device, terminal equipment and storage medium
CN110764810A (en) * 2019-11-05 2020-02-07 四川虹美智能科技有限公司 Android application upgrading and repairing method and terminal equipment

Similar Documents

Publication Publication Date Title
CN105843710A (en) Data backup and recovery device and method
EP2528310B1 (en) Mobile terminal and mode controlling method therein
CN104484200B (en) The method and device upgraded to firmware
CN106201756A (en) Log acquisition device, mobile terminal and method
CN104794014A (en) System operation method and intelligent terminal
CN103440079A (en) Restoration method for operation interface and communication terminal
CN105812567A (en) Mobile terminal control method and device
CN106790581A (en) Application data processing method, device and terminal
CN106412339A (en) Notification message processing method and apparatus
CN106776908B (en) Data cleaning method and device and terminal
CN105511715A (en) Method and device for starting application assistant by means of unframed touch screen
CN105739820A (en) Message prompt display method and device
CN107168818A (en) Terminal and brush machine failure recovery method
CN106126065A (en) A kind of mobile terminal and double screen method for information display thereof
CN106792442B (en) Data migration method and device
CN104318185A (en) Application control method, application control equipment and mobile terminal
CN103634461B (en) Mobile terminal and its control method
CN107341013A (en) One kind start fault handling method, equipment and computer-readable recording medium
CN111656347A (en) Project display method and terminal
CN106897172A (en) System method to set up, device and terminal
EP2442241A1 (en) Mobile terminal and displaying method thereof
CN105827834A (en) Mobile device application method and device
CN106371896B (en) Virutal machine memory configuration method and device, mobile terminal
CN107819944A (en) Delet method, device, equipment and the storage medium of short message
CN105549809B (en) Method and apparatus for notifying content change

Legal Events

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

Application publication date: 20160810

RJ01 Rejection of invention patent application after publication