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

Data backup device and method and terminal Download PDF

Info

Publication number
CN105786647A
CN105786647A CN201610104258.5A CN201610104258A CN105786647A CN 105786647 A CN105786647 A CN 105786647A CN 201610104258 A CN201610104258 A CN 201610104258A CN 105786647 A CN105786647 A CN 105786647A
Authority
CN
China
Prior art keywords
terminal
backup
data
data backup
screen duration
Prior art date
Application number
CN201610104258.5A
Other languages
Chinese (zh)
Inventor
堐国强
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Priority to CN201610104258.5A priority Critical patent/CN105786647A/en
Publication of CN105786647A publication Critical patent/CN105786647A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/1415Saving, restoring, recovering or retrying at system level
    • G06F11/142Reconfiguring to eliminate the error
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/86Event-based monitoring

Abstract

The invention discloses a data backup device.The device comprises an obtaining module, a first judgment module, a second judgment module and a backup module, wherein the obtaining module is used for obtaining the continuous screen turn-off time duration when a screen of a terminal is turned off; the first judgment module is used for judging whether a continuous screen turn-off time duration value is larger than or equal to a screen turn-off time duration threshold value; the second judging module is used for judging whether the terminal is in the static state or not when the continuous screen turn-off time duration value is larger than or equal to the screen turn-off time duration threshold value; the backup module is used for performing data backup on the terminal when the terminal is in the static state.The invention further discloses a data backup method and the terminal.By adopting the data backup device and method and the terminal, data backup can be performed on the terminal flexibly, the data backup efficiency can be improved, and the data backup cannot be performed on the terminal when a user uses the terminal.

Description

Data backup device, method and terminal

Technical field

The present invention relates to communication technical field, particularly relate to a kind of data backup device, method and terminal.

Background technology

More and more general along with mobile terminal, mobile terminal has become as the part in people's life.In the terminal, the data such as address list, communications records are very important for a user, once these data exceptioies or loss, it will user is caused serious impact, brings great inconvenience to the live and work of user.Therefore, existing mobile terminal provides data backup function, a set time, this terminal is carried out data backup, when this set time, this terminal is likely to be at user operation state, if user is in frequent operation terminal, if then now terminal being carried out data backup, terminal power consumption will be made to increase sharply, also terminal is easily made to be in high load capacity duty, backup efficiency is low, and affects the service life of terminal, it is also possible to cause that mistake occurs in backup.

Summary of the invention

Present invention is primarily targeted at a kind of data backup device of proposition, method and terminal, flexibly this terminal can be carried out data backup, improve data backup efficiency, user can be avoided and when using this terminal, terminal is carried out data backup.

For achieving the above object, the present invention provides a kind of data backup device, and this device includes:

Acquisition module, for when terminal is in and puts out screen, obtaining and put out screen duration;

Whether first judge module, put out screen duration more than or equal to putting out screen duration threshold values described in being used for judging;

Second judge module, for putting out screen duration more than or equal to when putting out screen duration threshold values described, it is judged that whether described terminal remains static;

Backup module, for when described terminal remains static, carrying out data backup to described terminal.

Optionally, described device also includes the 3rd judge module, for when described terminal remains static, it is judged that whether described terminal is in idle condition;

Described backup module, is additionally operable to, when described terminal is in idle condition, described terminal be carried out data backup.

Optionally, described device also includes detection module, for, in the process that described terminal carries out data backup, detecting whether described terminal meets stopping backup condition;

Described backup module, is additionally operable to, when described terminal meets stopping backup condition, stop described terminal is carried out data backup.

Optionally, described detection module, it is additionally operable to detect described terminal whether bright screen, if described terminal bright screen, it is determined that described terminal meets and stops backup condition.

Optionally, described detection module, it is additionally operable to detect described terminal whether bright screen, if described terminal bright screen, then obtains bright screen duration;And be used for judging that whether described bright screen duration is more than or equal to bright screen duration threshold values, when described bright screen duration is more than or equal to bright screen duration threshold values, it is determined that described terminal meets stopping backup condition.

Additionally, for achieving the above object, the present invention also proposes a kind of terminal, including the data backup device described in any of the above-described item.

Additionally, for achieving the above object, the present invention also proposes a kind of data back up method, and the method includes:

When terminal is in and puts out screen, obtain and put out screen duration;

Whether screen duration is put out more than or equal to putting out screen duration threshold values described in judgement;

If described in put out screen duration more than or equal to put out screen duration threshold values, then judge whether described terminal remains static;

If described terminal remains static, then described terminal is carried out data backup.

Optionally, put out screen duration more than or equal to putting out screen duration threshold values if described, then, after judging the step whether described terminal remains static, the method also includes:

If described terminal remains static, then judge whether described terminal is in idle condition;

If described terminal is in idle condition, then described terminal is carried out data backup.

Optionally, described method also includes:

In the process that described terminal is carried out data backup, detect whether described terminal meets stopping backup condition;

If described terminal meets stops backup condition, then stop described terminal is carried out data backup.

Optionally, the whether satisfied step stopping backup condition of the described terminal of described detection includes:

Detect described terminal whether bright screen, if described terminal bright screen, it is determined that described terminal meets and stops backup condition.

Optionally, the whether satisfied step stopping backup condition of the described terminal of described detection includes:

Detect described terminal whether bright screen, if described terminal bright screen, then obtain bright screen duration;

Judge that whether described bright screen duration is more than or equal to bright screen duration threshold values;

If described bright screen duration is more than or equal to bright screen duration threshold values, it is determined that described terminal meets stopping backup condition.

The data backup device of the present invention, method and terminal, this data backup device includes: acquisition module, for when terminal is in and puts out screen, obtaining and put out screen duration;First judge module, is used for judging that whether this puts out screen duration more than or equal to putting out screen duration threshold values;Second judge module, for putting out screen duration more than or equal to when putting out screen duration threshold values at this, it is judged that whether this terminal remains static;Backup module, for when this terminal remains static, carrying out data backup to this terminal;Namely shield duration more than or equal to putting out screen duration threshold values putting out of this terminal, and when this terminal remains static, this terminal is carried out data backup;Flexibly this terminal can be carried out data backup, improve data backup efficiency, user can be avoided and when using this terminal, terminal is carried out data backup.

Accompanying drawing explanation

Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention;

Fig. 2 is the radio communication device schematic diagram of mobile terminal as shown in Figure 1;

Fig. 3 is the structural representation of the first embodiment of data backup device of the present invention;

Fig. 4 is the structural representation of the second embodiment of data backup device of the present invention;

Fig. 5 is the structural representation of the 3rd embodiment of data backup device of the present invention;

Fig. 6 is the schematic flow sheet of the first embodiment of data back up method of the present invention;

Fig. 7 is the schematic flow sheet of the second embodiment of data back up method of the present invention;

Fig. 8 is the schematic flow sheet of the 3rd embodiment of data back up method of the present invention.

The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.

Detailed description of the invention

Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.

The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for being conducive to the explanation of the present invention, itself do not have specific meaning.Therefore, " module " and " parts " can mixedly use.

Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include the mobile terminal of such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for the element of mobile purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.

Fig. 1 is the hardware configuration signal 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, user input unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 illustrates the mobile terminal with various assembly, it should be understood that be not required for implementing 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 the radio communication between mobile terminal 100 and radio communication device or network.

A/V input block 120 is used for receiving audio or video signal.

User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and can 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, when touch pad is superimposed upon on display unit 151 as a layer, it is possible to form touch screen.

Sensing unit 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration of mobile terminal 100 or speed is moved and direction etc., and generate order or the signal of operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense this sliding-type phone and open or close.It addition, sensing unit 140 can detect power subsystem 190 and whether provide whether 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 charger) port, wired or wireless FPDP, memory card port, for connecting the port of the device with identification module, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses the various information of mobile terminal 100 and can include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..It addition, the device (hereinafter referred to " identification device ") with identification module can take the form of smart card, therefore, identify that device can be connected with mobile terminal 100 via port or other connecting device.Interface unit 170 may be used for receiving from the input (such as, data message, electric power etc.) of external device (ED) and the one or more elements being transferred in mobile terminal 100 by the input received or may be used for transmission data between mobile terminal and external device (ED).

Additionally, when mobile terminal 100 is connected with external base, interface unit 170 can serve as and allows to provide the path of mobile terminal 100 or can serve as to allow to be transferred to the path of mobile terminal from the various command signals of base input by it from base electric power by it.May serve as whether identification mobile terminal is accurately fitted within the signal base from the various command signals of base input or electric power.Output unit 150 is configured to provide output signal (such as, audio signal, video signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can include display unit 151 etc..

Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show the user interface (UI) relevant with call or other communicate (such as, text messaging, multimedia file download etc.) or graphic user interface (GUI).When being in video calling pattern or image capture mode when mobile terminal 100, display unit 151 can show the image of image and/or the reception caught, UI or GUI illustrating video or image and correlation function etc..

Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch screen time, display unit 151 can serve as input equipment and output device.Display unit 151 can include at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, 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 be such as TOLED (transparent organic light emitting diode) display etc..According to the specific embodiment wanted, 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 detecting touch input pressure and touch input position and touch input area.

Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can temporarily store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And, memorizer 160 can store the vibration about the various modes exported when touching and being applied to touch screen and the data of audio signal.

Memorizer 160 can include the storage medium of at least one type, described storage medium includes 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, CD etc..And, mobile terminal 100 can be connected the network storage device cooperation of the storage function performing memorizer 160 with by network.

Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.It addition, controller 180 can include the multi-media module 181 for reproducing (or playback) multi-medium data, multi-media module 181 can construct in controller 180, or it is so structured that separates with controller 180.Controller 180 can perform pattern recognition process, so that the handwriting input performed on the touchscreen or picture drafting input are identified as character or image.

Power subsystem 190 receives external power or internal power under the control of controller 180 and provides the suitable electric power operated needed for each element and assembly.

Various embodiment described herein can to use such as computer software, hardware or its any combination of computer-readable medium to implement.Hardware is implemented, embodiment described herein can pass through to use 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, microprocessor, at least one that is designed to perform in the electronic unit of function described herein to implement, in some cases, such embodiment can be implemented in controller 180.Implementing for software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memorizer 160 and be performed by controller 180.

So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, by the slide type mobile terminal in the various types of mobile terminals describing such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.

Mobile terminal 100 as shown in Figure 1 may be constructed such that utilization operates via such as wired and radio communication device and the satellite-based communicator of frame or packet transmission data.

The communicator being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.

Such communicator can use different air interfaces and/or physical layer.Such as, the air interface used by communicator includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications device (UMTS) (especially, Long Term Evolution (LTE)), global mobile communication device (GSM) etc..As non-limiting example, as explained below relates to cdma communication device, but such instruction is equally applicable to other type of device.

With reference to Fig. 2, cdma wireless communication device can include multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that device as shown in Figure 2 can include multiple BSC2750.

Each BS270 can service one or more subregion (or region), by each subregion of multidirectional antenna or the antenna covering pointing to specific direction radially away from BS270.Or, each subregion can be covered by two or more antennas for diversity reception.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).

Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as the sub-device of base station transceiver (BTS) or other equivalent terms.In this case, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be referred to as multiple cellular station.

In fig. 2 it is shown that several global pick devices (GPS) satellite 300.Satellite 300 helps to position at least one in multiple mobile terminals 100.

In fig. 2, depict multiple satellite 300, but it is understood that, it is possible to use any number of satellite obtains useful location information.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other technology of the position of mobile terminal can be followed the tracks of.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.

As a typical operation of radio communication device, BS270 receives the reverse link signal from various mobile terminals 100.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Each reverse link signal that certain base station 270 receives is processed in specific BS270.The data obtained are forwarded to relevant BSC275.BSC provides call resource distribution and the mobile management function of the coordination of soft switching process included between BS270.The data received also are routed to MSC280 by BSC275, and it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly controls BS270 so that forward link signals to be sent to mobile terminal 100.

Structure based on above-mentioned mobile terminal hardware configuration, communicator, it is proposed to each embodiment of data backup device of the present invention.

With reference to the structural representation of the first embodiment that Fig. 3, Fig. 3 are data backup device of the present invention, this device includes:

Acquisition module 10, for when terminal is in and puts out screen, obtaining and put out screen duration;

First judge module 11, is used for judging that whether this puts out screen duration more than or equal to putting out screen duration threshold values;

Second judge module 12, for putting out screen duration more than or equal to when putting out screen duration threshold values at this, it is judged that whether this terminal remains static;

Backup module 13, for when this terminal remains static, carrying out data backup to this terminal.

This terminal can be the mobile terminal such as smart mobile phone, panel computer.Whether this acquisition module 10 real-time monitoring terminal puts out screen, when this terminal is in and puts out screen, obtains and puts out screen duration.Optionally, this acquisition module 10 receive put out screen instruction after, obtain put out screen duration;This puts out screen instruction can trigger generations when user presses the screen locking key in terminal, and this puts out screen instruction also can the triggering generation when putting out of receiving that user input on terminal touch screen shields gesture.

This puts out screen duration threshold values and can be arranged as required to, and this puts out screen duration threshold values can have one or more;As in one embodiment, this puts out screen duration threshold values only one of which, is 5 seconds;In another embodiment, this puts out screen duration threshold values has multiple, each puts out screen duration threshold values to should a user of terminal, as, this terminal has two users using, then this puts out screen duration threshold values two, respectively 5 seconds and 10 seconds, wherein, what user A was corresponding puts out screen duration is 5 seconds, and what user B was corresponding puts out screen duration is 10 seconds.

This first judge module 11 judges that whether this puts out screen duration more than or equal to putting out screen duration threshold values, data backup is carried out the need of to terminal to primarily determine that, screen duration is put out more than or equal to when putting out screen duration threshold values at this, can primarily determine that and need terminal is carried out data backup, screen duration is put out less than when putting out screen duration threshold values, it may be determined that temporarily terminal need not be carried out data backup at this.

In one embodiment, this judge module first obtains the active user of this terminal, and according to default user and the mapping relations putting out screen duration threshold values, obtains corresponding the putting out of active user and shield duration threshold values;Judge again this put out screen duration whether corresponding more than or equal to active user put out screen duration.

This second judge module 12 puts out screen duration more than or equal to when putting out screen duration threshold values in the judged result of this first judge module 11 for this, judge whether terminal remains static, when this terminal remains static, can determine that and need terminal is carried out data backup, when this terminal is in nonstatic state, even if then this terminal is in and puts out screen, it is not required that terminal is carried out data backup.When this terminal remains static, it was shown that show that user need not use this terminal.

Optionally, this second judge module 12 is additionally operable to: obtain the translational speed of this terminal, and judges that whether the translational speed of this terminal is less than or equal to default speed threshold;If the translational speed of this terminal is less than or equal to default speed threshold, it is determined that this terminal remains static.Optionally, the translational speed of this terminal can be obtained by the velocity sensor of this terminal built-in.This speed threshold can be arranged as required to, and the translational speed of this terminal can be the translational speed of the translational speed of horizontal direction and/or vertical direction.In one embodiment, this velocity sensor is gravity sensor, obtains this terminal translational speed in the vertical direction by this gravity sensor, and judges that whether this terminal translational speed in the vertical direction is less than or equal to default speed threshold;If the translational speed in the vertical direction of this terminal is less than or equal to default speed threshold, it is determined that this terminal remains static.

Optionally, this second judge module 12 is additionally operable to: obtain the translational speed of this terminal, and judges that whether the translational speed of this terminal is less than or equal to default speed threshold;If the translational speed of this terminal is less than or equal to default speed threshold, then whether continue the translational speed the judging terminal persistent period less than or equal to default speed threshold more than or equal to the first preset duration;The translational speed of this terminal less than or equal to persistent period of default speed threshold more than or equal to the first preset duration time, it is determined that this terminal remains static.

Terminal is carried out data backup by this backup module 13, optionally, can all data of this terminal be backed-up, it is possible to the data default to be backed up in this terminal are backed-up.User can pre-set data to be backed up as required, as the picture library in terminal, address list, message registration etc. are set to data to be backed up.These data to be backed up include application program, at terminal recorded data or file etc..

Optionally, this backup module 13 is additionally operable to: obtains this terminal and carried out the backup progress of data backup in last time, and the backup progress according to this acquisition continues this terminal is carried out data backup.

Optionally, this backup module 13 is additionally operable to: first obtain the data to be backed up in this terminal, it is determined that the backup priority of these data to be backed up;Backup priority according to these data to be backed up order from high to low is treated Backup Data successively and is backed-up.Concrete, can according to the significance level of data to be backed up, use frequency, use duration, nearest use time etc. to determine the backup priority of these data to be backed up.As in one embodiment, use frequency according to data to be backed up determines the backup priority of data to be backed up, the backup priority using data to be backed up that frequency is high is set to height, the backup priority using data to be backed up that frequency is low is set to low, the data to be backed up being first high to backup priority are backed-up, and the data to be backed up being then low to backup priority again are backed-up.

Adopt above-described embodiment, shield duration more than or equal to putting out screen duration threshold values putting out of this terminal, and when this terminal remains static, this terminal is carried out data backup;Flexibly this terminal can be carried out data backup, improve data backup efficiency, user can be avoided and when using this terminal, terminal is carried out data backup.

Structural representation with reference to the second embodiment that Fig. 4, Fig. 4 are data backup device of the present invention.

Based on the first embodiment of above-mentioned data backup device, this device includes the 3rd judge module 14, for when this terminal remains static, it is judged that whether this terminal is in idle condition;

This backup module 13, is additionally operable to, when this terminal is in idle condition, this terminal be carried out data backup.

3rd judge module 14 is when the judged result of this second judge module 12 remains static for this terminal, continue to judge whether terminal is in idle condition, finally to determine the need for terminal is carried out data backup, when this terminal is in idle condition, determine and need terminal is carried out data backup, when this terminal is in busy state, though then this terminal be in put out screen and remain static, it is not required that terminal is carried out data backup.

Optionally, the 3rd judge module 14 is additionally operable to: obtain this terminal system resource make consumption, it is judged that the system resource of this terminal make consumption whether less than or equal to making consumption threshold values;If the system resource of this terminal make consumption less than or equal to making consumption threshold values, it is determined that this terminal is in idle condition, otherwise determines that this terminal is in busy state.The system resource of this terminal includes CPU and/or internal memory.

Optionally, the 3rd judge module 14 is additionally operable to: obtain the number of the application program that this terminal is currently opened, it is judged that whether the number of the application program that this terminal is currently opened is less than or equal to default number threshold values;If the number of the application program that this terminal is currently opened is less than or equal to number threshold values, it is determined that this terminal is in idle condition, otherwise determine that this terminal is in busy state.As, in one embodiment, this predetermined number is 3, and the number of the application program that this terminal is currently opened is 2, respectively wechat application and browser application, it is determined that this terminal is in idle condition.

In this embodiment, this backup module 13 puts out screen and this terminal remains static for being in this terminal, and when this terminal is in idle condition, this terminal is carried out data backup.

Structural representation with reference to the 3rd embodiment that Fig. 5, Fig. 5 are data backup device of the present invention.

Based on first embodiment or second embodiment of above-mentioned data backup device, this device also includes detection module 15, for, in the process that this terminal carries out data backup, detecting whether this terminal meets stopping backup condition;

This backup module 13, is additionally operable to, when this terminal meets stopping backup condition, stop this terminal is carried out data backup.

This detection module 15 detects whether this terminal meets stopping backup condition, to determine the need for stopping this terminal is carried out data backup.

Optionally, this detection module 15, it is additionally operable to detect this terminal whether bright screen, if this terminal bright screen, it is determined that this terminal meets and stops backup condition.Concrete, this detection module 15 monitors the screen state of this terminal in real time, monitor the screen state of this terminal from put out screen become bright screen time, the screen state of this terminal be currently bright screen, it is determined that this terminal meets stopping backup condition.

Optionally, this detection module 15, it is additionally operable to detect this terminal whether bright screen, if this terminal bright screen, then obtains bright screen duration;And be used for judging that whether this bright screen duration is more than or equal to bright screen duration threshold values, when this bright screen duration is more than or equal to bright screen duration threshold values, it is determined that this terminal meets stopping backup condition.Concrete, this detection module 15 monitors the screen state of this terminal in real time, monitor the screen state of this terminal from put out screen become bright screen time, the screen state of this terminal is currently bright screen, obtain the bright screen persistent period of this terminal, when the bright screen duration of this terminal is more than or equal to bright screen duration threshold values, it is determined that this terminal meets stopping backup condition.

Optionally, this detection module 15, it is additionally operable to detect this terminal whether bright screen, if this terminal bright screen, then detection user's touch operation frequency on the terminal;And for judging that whether this user touch operation frequency on the terminal is more than or equal to default touch frequency threshold;And for when user's touch operation frequency on the terminal is more than or equal to default touch frequency threshold, it is determined that this terminal meets and stops backup condition.User's touch operation on the terminal is click action, double-click action, sliding action etc., this detection module 15 obtains user's touch operation frequency on the terminal, touch operation frequency according to this user and the frequent threshold values of touch preset, determine user's whether this terminal of frequent operation, when the touch operation frequency of this user is more than or equal to the frequent threshold values of touch, determining this terminal of user's frequent operation, this terminal meets stopping backup condition.

Further, the present invention also provides for a kind of terminal, including the data backup device of any of the above-described embodiment.

With reference to the schematic flow sheet of the first embodiment that Fig. 6, Fig. 6 are data back up method of the present invention, the method includes:

S10, when terminal is in and puts out screen, obtain put out screen duration.

This terminal can be the mobile terminal such as smart mobile phone, panel computer.In this step, whether real-time monitoring terminal puts out screen, when this terminal is in and puts out screen, obtains and puts out screen duration.Optionally, receive put out screen instruction after, obtain put out screen duration;This puts out screen instruction can trigger generations when user presses the screen locking key in terminal, and this puts out screen instruction also can the triggering generation when putting out of receiving that user input on terminal touch screen shields gesture.

S11, judge that this puts out screen duration whether more than or equal to putting out screen duration threshold values, if this puts out screen duration more than or equal to putting out screen duration threshold values, then perform step S12.

This puts out screen duration threshold values and can be arranged as required to, and this puts out screen duration threshold values can have one or more;As in one embodiment, this puts out screen duration threshold values only one of which, is 5 seconds;In another embodiment, this puts out screen duration threshold values has multiple, each puts out screen duration threshold values to should a user of terminal, as, this terminal has two users using, then this puts out screen duration threshold values two, respectively 5 seconds and 10 seconds, wherein, what user A was corresponding puts out screen duration is 5 seconds, and what user B was corresponding puts out screen duration is 10 seconds.

In this step, judge that whether this puts out screen duration more than or equal to putting out screen duration threshold values, data backup is carried out the need of to terminal to primarily determine that, screen duration is put out more than or equal to when putting out screen duration threshold values at this, can primarily determine that and need terminal is carried out data backup, screen duration is put out less than when putting out screen duration threshold values, it may be determined that temporarily terminal need not be carried out data backup at this.

In one embodiment, in this step, first obtain the active user of this terminal, and according to default user and the mapping relations putting out screen duration threshold values, obtain corresponding the putting out of active user and shield duration threshold values;Judge again this put out screen duration whether corresponding more than or equal to active user put out screen duration.

S12, judge whether this terminal remains static, if this terminal remains static, then perform step S13.

In this step, it is judged that whether terminal remains static, when this terminal remains static, can determine that and need terminal is carried out data backup, when this terminal is in nonstatic state, even if then this terminal is in and puts out screen, it is not required that terminal is carried out data backup.When this terminal remains static, it was shown that show that user need not use this terminal.

Optionally, it is judged that the step whether this terminal remains static is: obtain the translational speed of this terminal, and judge that whether the translational speed of this terminal is less than or equal to default speed threshold;If the translational speed of this terminal is less than or equal to default speed threshold, it is determined that this terminal remains static.Optionally, the translational speed of this terminal can be obtained by the velocity sensor of this terminal built-in.This speed threshold can be arranged as required to, and the translational speed of this terminal can be the translational speed of the translational speed of horizontal direction and/or vertical direction.In one embodiment, this velocity sensor is gravity sensor, obtains this terminal translational speed in the vertical direction by this gravity sensor, and judges that whether this terminal translational speed in the vertical direction is less than or equal to default speed threshold;If the translational speed in the vertical direction of this terminal is less than or equal to default speed threshold, it is determined that this terminal remains static.

Optionally, it is judged that the step whether this terminal remains static is: obtain the translational speed of this terminal, and judge that whether the translational speed of this terminal is less than or equal to default speed threshold;If the translational speed of this terminal is less than or equal to default speed threshold, then whether continue the translational speed the judging terminal persistent period less than or equal to default speed threshold more than or equal to the first preset duration;The translational speed of this terminal less than or equal to persistent period of default speed threshold more than or equal to the first preset duration time, it is determined that this terminal remains static.

S13, this terminal is carried out data backup.

In this step, terminal is carried out data backup, optionally, all data of this terminal can be backed-up, it is possible to the data default to be backed up in this terminal are backed-up.User can pre-set data to be backed up as required, as the picture library in terminal, address list, message registration etc. are set to data to be backed up.These data to be backed up include application program, at terminal recorded data or file etc..

Optionally, in this step, obtain this terminal and carried out the backup progress of data backup in last time, and the backup progress according to this acquisition continues this terminal is carried out data backup.

Optionally, in this step, the data to be backed up in this terminal are first obtained, it is determined that the backup priority of these data to be backed up;Backup priority according to these data to be backed up order from high to low is treated Backup Data successively and is backed-up.Concrete, can according to the significance level of data to be backed up, use frequency, use duration, nearest use time etc. to determine the backup priority of these data to be backed up.As in one embodiment, use frequency according to data to be backed up determines the backup priority of data to be backed up, the backup priority using data to be backed up that frequency is high is set to height, the backup priority using data to be backed up that frequency is low is set to low, the data to be backed up being first high to backup priority are backed-up, and the data to be backed up being then low to backup priority again are backed-up.

Schematic flow sheet with reference to the second embodiment that Fig. 7, Fig. 7 are data back up method of the present invention.

Based on the second embodiment of above-mentioned data back up method, after step s 12, the method also includes:

If this terminal of S14 remains static, then judge whether this terminal is in idle condition.

In this step, when this terminal remains static, continue to judge whether terminal is in idle condition, finally to determine the need for terminal is carried out data backup, when this terminal is in idle condition, it is determined that need terminal is carried out data backup, when this terminal is in busy state, even if then this terminal is in and puts out screen and remain static, it is not required that terminal is carried out data backup.

Optionally, it is judged that whether this terminal is in the step of idle condition is: obtain this terminal system resource make consumption, it is judged that the system resource of this terminal make consumption whether less than or equal to making consumption threshold values;If the system resource of this terminal make consumption less than or equal to making consumption threshold values, it is determined that this terminal is in idle condition, otherwise determines that this terminal is in busy state.The system resource of this terminal includes CPU and/or internal memory.

Optionally, it is judged that whether this terminal is in the step of idle condition is: obtain the number of the application program that this terminal is currently opened, it is judged that whether the number of the application program that this terminal is currently opened is less than or equal to default number threshold values;If the number of the application program that this terminal is currently opened is less than or equal to number threshold values, it is determined that this terminal is in idle condition, otherwise determine that this terminal is in busy state.As, in one embodiment, this predetermined number is 3, and the number of the application program that this terminal is currently opened is 2, respectively wechat application and browser application, it is determined that this terminal is in idle condition.

If this terminal of S15 is in idle condition, then this terminal is carried out data backup.

This step S15 is identical with above-mentioned steps S13, does not repeat them here.

Schematic flow sheet with reference to the 3rd embodiment that Fig. 8, Fig. 8 are data back up method of the present invention.

Based on first embodiment or second embodiment of above-mentioned data back up method, after step S13 or S15, the method also includes:

S16, in the process that this terminal is carried out data backup, detect this terminal and whether meet and stop backup condition.

In this step, detect whether this terminal meets stopping backup condition, to determine the need for stopping this terminal is carried out data backup.

Optionally, detect this terminal and whether meet the step stopping backup condition and include: detect this terminal whether bright screen, if this terminal bright screen, it is determined that this terminal meets and stops backup condition.Concrete, monitor the screen state of this terminal in real time, monitor the screen state of this terminal from put out screen become bright screen time, the screen state of this terminal be currently bright screen, it is determined that this terminal meets stopping backup condition.

Optionally, detect this terminal and whether meet the step stopping backup condition and include: detect this terminal whether bright screen, if this terminal bright screen, then obtain bright screen duration;Judge that whether this bright screen duration is more than or equal to bright screen duration threshold values;If this bright screen duration is more than or equal to bright screen duration threshold values, it is determined that this terminal meets stopping backup condition.Concrete, monitor the screen state of this terminal in real time, monitor the screen state of this terminal from put out screen become bright screen time, the screen state of this terminal is currently bright screen, obtain the bright screen persistent period of this terminal, when the bright screen duration of this terminal is more than or equal to bright screen duration threshold values, it is determined that this terminal meets stopping backup condition.

Optionally, detect this terminal and whether meet the step stopping backup condition and include: detect this terminal whether bright screen, if this terminal bright screen, then judge that whether this terminal is still in idle condition;If this terminal is still in idle condition, it is determined that this terminal meets stopping backup condition.

Optionally, detect this terminal and whether meet the step stopping backup condition and include: detect this terminal whether bright screen, if this terminal bright screen, then detection user's touch operation frequency on the terminal;Judge that whether this user touch operation frequency on the terminal is more than or equal to default touch frequency threshold;When user's touch operation frequency on the terminal is more than or equal to default touch frequency threshold, it is determined that this terminal meets and stops backup condition.User's touch operation on the terminal is click action, double-click action, sliding action etc., in this step, obtain user's touch operation frequency on the terminal, touch operation frequency according to this user and the frequent threshold values of touch preset, determine user's whether this terminal of frequent operation, when the touch operation frequency of this user is more than or equal to the frequent threshold values of touch, it is determined that this terminal of user's frequent operation, this terminal meets stopping backup condition.

If this terminal of S17 meets stops backup condition, then stop this terminal is carried out data backup.

In this step, stop this terminal is carried out data backup, also can the backup progress of simultaneously minute book secondary data backup.

Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to above-described embodiment method and realize, hardware can certainly be passed through, but in a lot of situation, the former is embodiment more preferably.Based on such understanding, the part that prior art is contributed by technical scheme substantially 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), including 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 that each embodiment of the present invention is somebody's turn to do.

These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.

Claims (11)

1. a data backup device, it is characterised in that described device includes:
Acquisition module, for when terminal is in and puts out screen, obtaining and put out screen duration;
Whether first judge module, put out screen duration more than or equal to putting out screen duration threshold values described in being used for judging;
Second judge module, for putting out screen duration more than or equal to when putting out screen duration threshold values described, it is judged that whether described terminal remains static;
Backup module, for when described terminal remains static, carrying out data backup to described terminal.
2. data backup device as claimed in claim 1, it is characterised in that described device also includes the 3rd judge module, for when described terminal remains static, it is judged that whether described terminal is in idle condition;
Described backup module, is additionally operable to, when described terminal is in idle condition, described terminal be carried out data backup.
3. data backup device as claimed in claim 1 or 2, it is characterised in that described device also includes detection module, for, in the process that described terminal carries out data backup, detecting whether described terminal meets stopping backup condition;
Described backup module, is additionally operable to, when described terminal meets stopping backup condition, stop described terminal is carried out data backup.
4. data backup device as claimed in claim 3, it is characterised in that described detection module, is additionally operable to detect described terminal whether bright screen, if described terminal bright screen, it is determined that described terminal meets and stops backup condition.
5. data backup device as claimed in claim 3, it is characterised in that described detection module, is additionally operable to detect described terminal whether bright screen, if described terminal bright screen, then obtains bright screen duration;And be used for judging that whether described bright screen duration is more than or equal to bright screen duration threshold values, when described bright screen duration is more than or equal to bright screen duration threshold values, it is determined that described terminal meets stopping backup condition.
6. a terminal, it is characterised in that include the data backup device as described in any one of claim 1 to 5.
7. a data back up method, it is characterised in that described method includes:
When terminal is in and puts out screen, obtain and put out screen duration;
Whether screen duration is put out more than or equal to putting out screen duration threshold values described in judgement;
If described in put out screen duration more than or equal to put out screen duration threshold values, then judge whether described terminal remains static;
If described terminal remains static, then described terminal is carried out data backup.
8. data back up method as claimed in claim 7, it is characterised in that put out screen duration more than or equal to putting out screen duration threshold values if described, then, after judging the step whether described terminal remains static, the method also includes:
If described terminal remains static, then judge whether described terminal is in idle condition;
If described terminal is in idle condition, then described terminal is carried out data backup.
9. data back up method as claimed in claim 7 or 8, it is characterised in that described method also includes:
In the process that described terminal is carried out data backup, detect whether described terminal meets stopping backup condition;
If described terminal meets stops backup condition, then stop described terminal is carried out data backup.
10. data back up method as claimed in claim 9, it is characterised in that whether the described terminal of described detection meets the step stopping backup condition includes:
Detect described terminal whether bright screen, if described terminal bright screen, it is determined that described terminal meets and stops backup condition.
11. data back up method as claimed in claim 9, it is characterised in that whether the described terminal of described detection meets the step stopping backup condition includes:
Detect described terminal whether bright screen, if described terminal bright screen, then obtain bright screen duration;
Judge that whether described bright screen duration is more than or equal to bright screen duration threshold values;
If described bright screen duration is more than or equal to bright screen duration threshold values, it is determined that described terminal meets stopping backup condition.
CN201610104258.5A 2016-02-25 2016-02-25 Data backup device and method and terminal CN105786647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610104258.5A CN105786647A (en) 2016-02-25 2016-02-25 Data backup device and method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610104258.5A CN105786647A (en) 2016-02-25 2016-02-25 Data backup device and method and terminal

Publications (1)

Publication Number Publication Date
CN105786647A true CN105786647A (en) 2016-07-20

Family

ID=56403521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610104258.5A CN105786647A (en) 2016-02-25 2016-02-25 Data backup device and method and terminal

Country Status (1)

Country Link
CN (1) CN105786647A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302542A (en) * 2016-10-17 2017-01-04 广东欧珀移动通信有限公司 A kind of method of Data Migration and terminal
CN107145386A (en) * 2017-04-28 2017-09-08 广东欧珀移动通信有限公司 Data migration method, terminal device and computer-readable recording medium
CN107145386B (en) * 2017-04-28 2020-06-26 Oppo广东移动通信有限公司 Data migration method, terminal device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6560617B1 (en) * 1993-07-20 2003-05-06 Legato Systems, Inc. Operation of a standby server to preserve data stored by a network server
CN101800807A (en) * 2009-12-29 2010-08-11 上海闻泰电子科技有限公司 Real-time intelligent backup method of mobile terminal
CN101916201A (en) * 2010-08-06 2010-12-15 中兴通讯股份有限公司 Android-based mobile terminal cold-boot method and device
CN102841827A (en) * 2012-06-28 2012-12-26 宇龙计算机通信科技(深圳)有限公司 Method for backuping database files and communication terminal
CN103019521A (en) * 2012-12-31 2013-04-03 广东欧珀移动通信有限公司 Method and device for screen off of mobile terminal
CN103237115A (en) * 2013-03-25 2013-08-07 广东欧珀移动通信有限公司 Terminal download control method and mobile terminal implementing same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6560617B1 (en) * 1993-07-20 2003-05-06 Legato Systems, Inc. Operation of a standby server to preserve data stored by a network server
CN101800807A (en) * 2009-12-29 2010-08-11 上海闻泰电子科技有限公司 Real-time intelligent backup method of mobile terminal
CN101916201A (en) * 2010-08-06 2010-12-15 中兴通讯股份有限公司 Android-based mobile terminal cold-boot method and device
CN102841827A (en) * 2012-06-28 2012-12-26 宇龙计算机通信科技(深圳)有限公司 Method for backuping database files and communication terminal
CN103019521A (en) * 2012-12-31 2013-04-03 广东欧珀移动通信有限公司 Method and device for screen off of mobile terminal
CN103237115A (en) * 2013-03-25 2013-08-07 广东欧珀移动通信有限公司 Terminal download control method and mobile terminal implementing same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302542A (en) * 2016-10-17 2017-01-04 广东欧珀移动通信有限公司 A kind of method of Data Migration and terminal
CN107145386A (en) * 2017-04-28 2017-09-08 广东欧珀移动通信有限公司 Data migration method, terminal device and computer-readable recording medium
CN107145386B (en) * 2017-04-28 2020-06-26 Oppo广东移动通信有限公司 Data migration method, terminal device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN104935725B (en) Mobile terminal and utilize the method that virtual frame region realizes function point analysis
CN104808944B (en) Touch operation inducing method and device
WO2017143847A1 (en) Associated application multi-screen display device and method, and terminal
EP3514684A1 (en) Memory recovery method and apparatus
EP2533579B1 (en) Mobile terminal and battery power saving mode switching method thereof
CN104978115B (en) Content display method and device
CN104808912B (en) Inputting interface method of adjustment and device
EP2330806B1 (en) Mobile terminal and method for controlling charging thereof
CN104834462A (en) Unlocking method for terminal equipment and terminal equipment
CN104869230B (en) Method for controlling mobile terminal and device
CN104899062A (en) Application booting method and apparatus
KR20090100933A (en) Mobile terminal and screen displaying method thereof
CN105094618A (en) Method and device for managing background applications
US10587747B2 (en) Method, apparatus, terminal, and storage medium for entering numeric symbols using touch screen frame
CN104714874A (en) Method for intelligently optimizing internal storage of mobile terminal and mobile terminal
CN104991819A (en) Terminal application switching method and apparatus
WO2016173414A1 (en) Mobile terminal and quick start method and device for application program thereof
CN104660912A (en) Photographing method and photographing device
CN104932815A (en) Mobile terminal and operation method thereof
EP3654165A1 (en) Method and apparatus for switching applications in split screen mode, and related device thereof
CN104850345A (en) Mobile terminal and fast task switching method therefor
CN104915141A (en) Method and device for previewing object information
CN104750420A (en) Screen capturing method and device
CN106130734A (en) The control method of mobile terminal and control device
CN105511719A (en) Notification information display method and device

Legal Events

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

Application publication date: 20160720

RJ01 Rejection of invention patent application after publication