CN105786654A - Data backup method and device and electronic equipment - Google Patents

Data backup method and device and electronic equipment Download PDF

Info

Publication number
CN105786654A
CN105786654A CN201610115433.0A CN201610115433A CN105786654A CN 105786654 A CN105786654 A CN 105786654A CN 201610115433 A CN201610115433 A CN 201610115433A CN 105786654 A CN105786654 A CN 105786654A
Authority
CN
China
Prior art keywords
electronic equipment
backed
data
backup
battery
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
CN201610115433.0A
Other languages
Chinese (zh)
Inventor
郭镇龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610115433.0A priority Critical patent/CN105786654A/en
Publication of CN105786654A publication Critical patent/CN105786654A/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/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention discloses a data backup method, a data backup device and electronic equipment, wherein the method comprises the following steps: determining data to be backed up; detecting whether the current battery state of the electronic equipment meets a backup condition; and if so, backing up the data to be backed up. By applying the embodiment of the invention, when the battery state of the electronic equipment meets the backup condition, the data is backed up, and the consumption of the battery power is reduced. And then when the user wants to use the electronic equipment, the residual battery capacity of the electronic equipment can meet the requirements of the user, and the user experience effect is improved.

Description

A kind of data back up method, device and electronic equipment
Technical field
The present invention relates to technical field of data processing, particularly to a kind of data back up method, device and electronic equipment.
Background technology
Along with the development of electronic device technology and software engineering, the data (such as telephone number, note, photo etc.) in electronic equipment (such as mobile phone, panel computer etc.) also get more and more.
In order to ensure the safety of data in electronic equipment, it is generally the case that need data are backed-up.
But, current electronic equipment substantially adopts battery to be powered.If data backup is unreasonable for opportunity, then data backup can accelerate the consumption of battery electric quantity, then may result in user further when being intended to use electronic equipment, and battery dump energy is not enough, it is impossible to meet the needs of user.
Summary of the invention
The purpose of the embodiment of the present invention is in that to provide a kind of data back up method, device and electronic equipment, it is possible to the problem solving how to reduce battery power consumption.
For reaching above-mentioned purpose, the embodiment of the invention discloses a kind of data back up method, be applied to electronic equipment, including:
Determine data to be backed up;
Whether the battery status detecting presently described electronic equipment meets backup condition;
If it is satisfied, back up described data to be backed up.
Optionally, whether the battery status of the presently described electronic equipment of described detection meets backup condition, including:
Judge whether the battery current residual electricity of described electronic equipment and the ratio of the total electricity of battery are not less than preset first threshold value, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
Optionally, whether the battery status of the presently described electronic equipment of described detection meets backup condition, including:
Judge whether the battery of presently described electronic equipment is in charged state, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
Optionally, the described data to be backed up of described backup, including:
Adopt single-threaded back mechanism, back up described data to be backed up.
Optionally, described method also includes:
Calculate the backup duration backing up described data to be backed up;
Obtain the standby time of current electronic device;
According to described backup duration and described standby time, it is determined whether meet and suspend backup condition;
Described data to be backed up are backed up if it is satisfied, suspend.
Optionally, after backing up described data to be backed up, described method also includes:
Whether the ratio of the battery current residual electricity and the total electricity of battery that detect described electronic equipment is not more than default Second Threshold, backs up described data to be backed up if it is, suspend.
Optionally, after backing up described data to be backed up, described method also includes:
Detect the process that described electronic equipment backstage is currently running;
Close detected process.
For reaching above-mentioned purpose, the embodiment of the invention discloses a kind of data backup device, be applied to electronic equipment, comprise determining that module, first detection module and backup module, wherein,
Described determine module, be used for determining data to be backed up;
Described first detection module, whether the battery status for detecting presently described electronic equipment meets backup condition;
Described backup module, for when described first detection module detects that the battery status of presently described electronic equipment meets backup condition, backing up described data to be backed up.
Optionally, described first detection module, specifically for:
Judge whether the battery current residual electricity of described electronic equipment and the ratio of the total electricity of battery are not less than preset first threshold value, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
Optionally, described first detection module, specifically for:
Judge whether the battery of presently described electronic equipment is in charged state, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
Optionally, described backup module, specifically for:
Adopt single-threaded back mechanism, back up described data to be backed up.
Optionally, described device also includes: first suspends module,
Described first suspends module, for calculating the backup duration backing up described data to be backed up;Obtain the standby time of current electronic device;According to described backup duration and described standby time, it is determined whether meet and suspend backup condition;Described data to be backed up are backed up if it is satisfied, suspend.
Optionally, described device also includes: second suspends module,
Described second suspends module, and whether the ratio of battery current residual electricity and the total electricity of battery for detecting described electronic equipment is not more than default Second Threshold, backs up described data to be backed up if it is, suspend.
Optionally, described device also includes: the second detection module and closedown module, wherein,
Described second detection module, for detecting the process that described electronic equipment backstage is currently running;
Described closedown module, for closing the process that described detection module detects.
For reaching above-mentioned purpose, the embodiment of the invention discloses a kind of electronic equipment, described electronic equipment includes: housing, processor, memorizer, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and memorizer and arranges on circuit boards;Power circuit, powers for each circuit or the device for electronic equipment;Memorizer is used for storing executable program code;Processor runs the program corresponding with executable program code by reading the executable program code of storage in memorizer, for performing following steps:
Determine data to be backed up;
Whether the battery status detecting presently described electronic equipment meets backup condition;
If it is satisfied, back up described data to be backed up.
For reaching above-mentioned purpose, embodiments providing a kind of storage medium, wherein, this storage medium is used for storing application program, and described application program is for operationally performing a kind of data back up method described in the embodiment of the present invention.
For reaching above-mentioned purpose, embodiments providing a kind of application program, wherein, this application program is for operationally performing a kind of data back up method described in the embodiment of the present invention.
As seen from the above technical solutions, the embodiment of the invention discloses a kind of data back up method, device and electronic equipment, method comprises determining that data to be backed up;Whether the battery status detecting presently described electronic equipment meets backup condition;If it is, back up described data to be backed up.
The technical scheme that the application embodiment of the present invention provides, when the battery status at electronic equipment meets backup condition, carries out the backup of data, decreases the consumption of battery electric quantity.And then when making user be intended to use electronic equipment, the battery dump energy of electronic equipment can meet the needs of user, improves Consumer's Experience effect.
Certainly, arbitrary product or the method for implementing the present invention must be not necessarily required to reach all the above advantage simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The first schematic flow sheet of the data back up method being applied to electronic equipment that Fig. 1 provides for the embodiment of the present invention;
The second schematic flow sheet of the data back up method being applied to electronic equipment that Fig. 2 provides for the embodiment of the present invention;
The third schematic flow sheet of the data back up method being applied to electronic equipment that Fig. 3 provides for the embodiment of the present invention;
4th kind of schematic flow sheet of the data back up method being applied to electronic equipment that Fig. 4 provides for the embodiment of the present invention;
The first structural representation of the data backup device being applied to electronic equipment that Fig. 5 provides for the embodiment of the present invention;
The second structural representation of the data backup device being applied to electronic equipment that Fig. 6 provides for the embodiment of the present invention;
The third structural representation of the data backup device being applied to electronic equipment that Fig. 7 provides for the embodiment of the present invention;
4th kind of structural representation of the data backup device being applied to electronic equipment that Fig. 8 provides for the embodiment of the present invention;
The structural representation of a kind of electronic equipment that Fig. 9 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
In order to solve prior art problem, embodiments provide a kind of data back up method, device and electronic equipment.A kind of the data back up method first below embodiment of the present invention provided is introduced.
The first schematic flow sheet of the data back up method being applied to electronic equipment that Fig. 1 provides for the embodiment of the present invention, it is possible to including:
S101: determine data to be backed up;
Concrete, in actual applications, data to be backed up can be telephone number, note, picture etc., and the embodiment of the present invention is not treated the type of Backup Data and is defined.
In actual applications, it is possible to the data that user selects are defined as data to be backed up, it is also possible to data will be scanned and be defined as data to be backed up, and such as scan picture file, audio file etc..
S102: whether the battery status detecting presently described electronic equipment meets backup condition, if it is satisfied, perform S103;
Concrete, in actual applications, whether the battery status detecting presently described electronic equipment meets backup condition, may determine that whether the ratio of the battery current residual electricity of described electronic equipment and the total electricity of battery is not less than preset first threshold value, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
Exemplary, it is assumed that preset first threshold value is 50%, it is determined that the battery current residual electricity of electronic equipment and the ratio of the total electricity of battery are prior art, and it is not repeated by the embodiment of the present invention at this.Assume to determine that the battery current residual electricity of electronic equipment and the ratio of the total electricity of battery are 55% more than preset first threshold value, then it represents that the battery status of presently described electronic equipment meets backup condition.
Concrete, in actual applications, whether the battery status detecting presently described electronic equipment meets backup condition, it can be determined that whether the battery of presently described electronic equipment is in charged state, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
Concrete, it is judged that whether the battery of presently described electronic equipment is in charged state is prior art, and it is not repeated by the embodiment of the present invention.
S103: back up described data to be backed up.
Concrete, in actual applications, it is possible to adopt single-threaded back mechanism (i.e. backup of same time forms data), back up described data to be backed up.For multithreading back mechanism (namely the same time backs up many data simultaneously), in the unit interval, the electricity that the electricity ratio multithreading backup that single-threaded backup consumes consumes is few, and then saves the consumption of battery electric quantity.
Apply embodiment illustrated in fig. 1 of the present invention, when the battery status at electronic equipment meets backup condition, carry out the backup of data, decrease the consumption of battery electric quantity.And then when making user be intended to use electronic equipment, the battery dump energy of electronic equipment can meet the needs of user, improves Consumer's Experience effect.
The second schematic flow sheet of the data back up method being applied to electronic equipment that Fig. 2 provides for the embodiment of the present invention, embodiment illustrated in fig. 2 of the present invention, on the basis of embodiment illustrated in fig. 1, increases following four step,
S104: calculate the backup duration backing up described data to be backed up;
S105: obtain the standby time of current electronic device;
S106: according to described backup duration and described standby time, it is determined whether meet and suspend backup condition, if it is satisfied, perform S107;
S107: suspend and back up described data to be backed up.
Concrete, the standby time calculating the BACKUP TIME backing up data to be backed up and acquisition electronic equipment is prior art, and it is not repeated by the embodiment of the present invention at this.
According to described backup duration and described standby time, it is determined whether meet and suspend backup condition, it can be determined that whether described backup duration, more than described standby time, if it is, represent and meet time-out backup condition, then suspends and back up data to be backed up;According to described backup duration and described standby time, the ratio of described backup duration and described standby time can also be calculated, it is judged that calculated ratio, whether more than default ratio, if it is, represent and meet time-out backup condition, then suspends and backs up data to be backed up.
In actual applications, it is also possible to according to current time and the time started backing up data to be backed up, it is determined that the duration that backup spends, it is judged that the duration that backup spends, whether more than preset duration, backs up data to be backed up if it is, suspend.
Exemplary, it is assumed that preset duration is 30 minutes, when determining the spent duration of current backup more than 30 minutes, suspends backup.
Apply embodiment illustrated in fig. 2 of the present invention, when current backup meets and suspends backup condition, suspend backup, further reduce the consumption of battery electric quantity.
The third schematic flow sheet of the data back up method being applied to electronic equipment that Fig. 3 provides for the embodiment of the present invention, embodiment illustrated in fig. 3 of the present invention, on the basis of embodiment illustrated in fig. 1, increases following two step,
S108: whether the ratio of the battery current residual electricity and the total electricity of battery that detect described electronic equipment is not more than default Second Threshold, if it is, perform S109;
S109: suspend and back up described data to be backed up.
Concrete, in actual applications, it is determined that the battery current residual electricity of electronic equipment and the ratio of the total electricity of battery are prior art, and it is not repeated by the embodiment of the present invention at this
Exemplary, it is assumed that default Second Threshold is 30%, and along with the backup of data, battery electric quantity is also in continuous minimizing.When the ratio of present battery dump energy and the total electricity of battery is less than 30%, suspend backup.
In actual applications, presetting Second Threshold can be identical with above-mentioned preset first threshold value, it is also possible to differ.
Apply embodiment illustrated in fig. 3 of the present invention, when the current residual electricity of electric device battery is less, suspends backup, further reduce the consumption of battery electric quantity.
4th kind of schematic flow sheet of the data back up method being applied to electronic equipment that Fig. 4 provides for the embodiment of the present invention, embodiment illustrated in fig. 4 of the present invention, on the basis of embodiment illustrated in fig. 1, increases following two step,
S110: detect the process that described electronic equipment backstage is currently running;
S111: close detected process.
Concrete, the process that detection electronic equipment backstage is currently running is prior art, and it is not repeated by the embodiment of the present invention at this.
Assume in the process of Backup Data, detect that the process that electronic equipment backstage is currently running is a, then close process a.
It should be noted that the embodiment of the present invention illustrates for process a, it is only an instantiation of the present invention, is not intended that limitation of the invention.
Apply embodiment illustrated in fig. 4 of the present invention, in the process of data backup, the process of running background is closed, further reduce the consumption of battery electric quantity.
Corresponding with above-mentioned embodiment of the method, the embodiment of the present invention also provides for a kind of data backup device.
The first structural representation of the data backup device being applied to electronic equipment that Fig. 5 provides for the embodiment of the present invention, it is possible to comprise determining that module 201, first detection module 202 and backup module 203, wherein,
Determine module 201, be used for determining data to be backed up;
First detection module 202, whether the battery status for detecting presently described electronic equipment meets backup condition;
Concrete, in actual applications, the first detection module 202 shown in the embodiment of the present invention, specifically may be used for:
Judge whether the battery current residual electricity of described electronic equipment and the ratio of the total electricity of battery are not less than preset first threshold value, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
Concrete, in actual applications, the first detection module 202 shown in the embodiment of the present invention, specifically can be also used for:
Judge whether the battery of presently described electronic equipment is in charged state, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
Backup module 203, for when first detection module 202 detects that the battery status of presently described electronic equipment meets backup condition, backing up described data to be backed up.
Concrete, in actual applications, the backup module 203 shown in the embodiment of the present invention, specifically may be used for:
When first detection module 202 detects that the battery status of presently described electronic equipment meets backup condition, adopt single-threaded back mechanism, back up described data to be backed up.
Apply embodiment illustrated in fig. 5 of the present invention, when the battery status at electronic equipment meets backup condition, carry out the backup of data, decrease the consumption of battery electric quantity.And then when making user be intended to use electronic equipment, the battery dump energy of electronic equipment can meet the needs of user, improves Consumer's Experience effect.
The second structural representation of the data backup device being applied to electronic equipment that Fig. 6 provides for the embodiment of the present invention, embodiment illustrated in fig. 6 of the present invention, on the basis of embodiment illustrated in fig. 5, increases by the first time-out module 204, wherein,
First suspends module 204, for calculating the backup duration backing up described data to be backed up;Obtain the standby time of current electronic device;According to described backup duration and described standby time, it is determined whether meet and suspend backup condition;Described data to be backed up are backed up if it is satisfied, suspend.
Apply embodiment illustrated in fig. 6 of the present invention, when current backup meets and suspends backup condition, suspend backup, further reduce the consumption of battery electric quantity.
The third structural representation of the data backup device being applied to electronic equipment that Fig. 7 provides for the embodiment of the present invention, embodiment illustrated in fig. 7 of the present invention, on the basis of embodiment illustrated in fig. 5, increases by the second time-out module 205,
Second suspends module 206, and whether the ratio of battery current residual electricity and the total electricity of battery for detecting described electronic equipment is not more than default Second Threshold, backs up described data to be backed up if it is, suspend.
Apply embodiment illustrated in fig. 7 of the present invention, when the current residual electricity of electric device battery is less, suspends backup, further reduce the consumption of battery electric quantity.
4th kind of structural representation of the data backup device being applied to electronic equipment that Fig. 8 provides for the embodiment of the present invention, embodiment illustrated in fig. 8 of the present invention, on the basis of embodiment illustrated in fig. 5, increases by the second detection module 206 and closes module 207, wherein,
Second detection module 206, for detecting the process that described electronic equipment backstage is currently running;
Close module 207, for closing the process that detection module 207 detects.
Apply embodiment illustrated in fig. 8 of the present invention, in the process of data backup, the process of running background is closed, further reduce the consumption of battery electric quantity.
The structural representation of a kind of electronic equipment that Fig. 9 provides for the embodiment of the present invention;May include that housing 301, processor 302, memorizer 303, circuit board 304 and power circuit 305, wherein, circuit board 304 is placed in the interior volume that housing 301 surrounds, processor 302 and memorizer 303 and is arranged on circuit board 304;Power circuit 305, powers for each circuit or the device for electronic equipment;Memorizer 303 is used for storing executable program code;Processor 302 runs the program corresponding with executable program code by reading the executable program code of storage in memorizer 303, for performing following steps:
Determine data to be backed up;
Whether the battery status detecting presently described electronic equipment meets backup condition;
If it is satisfied, back up described number to be backed up.
This electronic equipment exists in a variety of forms, includes but not limited to:
(1) mobile communication equipment: the feature of this kind equipment is to possess mobile communication function, and to provide speech, data communication for main target.This kind equipment includes: smart mobile phone (such as iPhone), multimedia handset, functional mobile phone, and low-end mobile phone etc..
(2) super mobile personal computer equipment: this kind equipment belongs to the category of personal computer, has calculating and processes function, generally also possessing mobile Internet access characteristic.This class of electronic devices includes: PDA, MID and UMPC equipment etc., for instance iPad.
(3) portable entertainment device: this kind equipment can show and play content of multimedia.This kind equipment includes: audio frequency, video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigator.
(4) other have the electronic apparatus of data interaction function.
Apply embodiment illustrated in fig. 9 of the present invention, when the battery status at electronic equipment meets backup condition, carry out the backup of data, decrease the consumption of battery electric quantity.And then when making user be intended to use electronic equipment, the battery dump energy of electronic equipment can meet the needs of user, improves Consumer's Experience effect.
It addition, the embodiment of the present invention additionally provides a kind of storage medium, being used for storing application program, described application program is for performing the data back up method that the embodiment of the present invention provides;Wherein, the data back up method that the embodiment of the present invention provides, it is possible to including:
Determine data to be backed up;
Whether the battery status detecting presently described electronic equipment meets backup condition;
If it is satisfied, back up described data to be backed up.
Wherein, whether the battery status of the presently described electronic equipment of described detection meets backup condition, including:
Judge whether the battery current residual electricity of described electronic equipment and the ratio of the total electricity of battery are not less than preset first threshold value, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
Wherein, whether the battery status of the presently described electronic equipment of described detection meets backup condition, including:
Judge whether the battery of presently described electronic equipment is in charged state, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
Wherein, the described data to be backed up of described backup, including:
Adopt single-threaded back mechanism, back up described data to be backed up.
Wherein, described method also includes:
Calculate the backup duration backing up described data to be backed up;
Obtain the standby time of current electronic device;
According to described backup duration and described standby time, it is determined whether meet and suspend backup condition;
Described data to be backed up are backed up if it is satisfied, suspend.
Wherein, after backing up described data to be backed up, described method also includes:
Whether the ratio of the battery current residual electricity and the total electricity of battery that detect described electronic equipment is not more than default Second Threshold, backs up described data to be backed up if it is, suspend.
Wherein, after backing up described data to be backed up, described method also includes:
Detect the process that described electronic equipment backstage is currently running;
Close detected process.
It addition, the embodiment of the present invention additionally provides a kind of application program, for performing the data back up method that the embodiment of the present invention provides;Wherein, the data back up method that the embodiment of the present invention provides, it is possible to including:
Determine data to be backed up;
Whether the battery status detecting presently described electronic equipment meets backup condition;
If it is satisfied, back up described data to be backed up.
Wherein, whether the battery status of the presently described electronic equipment of described detection meets backup condition, including:
Judge whether the battery current residual electricity of described electronic equipment and the ratio of the total electricity of battery are not less than preset first threshold value, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
Wherein, whether the battery status of the presently described electronic equipment of described detection meets backup condition, including:
Judge whether the battery of presently described electronic equipment is in charged state, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
Wherein, the described data to be backed up of described backup, including:
Adopt single-threaded back mechanism, back up described data to be backed up.
Wherein, described method also includes:
Calculate the backup duration backing up described data to be backed up;
Obtain the standby time of current electronic device;
According to described backup duration and described standby time, it is determined whether meet and suspend backup condition;
Described data to be backed up are backed up if it is satisfied, suspend.
Wherein, after backing up described data to be backed up, described method also includes:
Whether the ratio of the battery current residual electricity and the total electricity of battery that detect described electronic equipment is not more than default Second Threshold, backs up described data to be backed up if it is, suspend.
Wherein, after backing up described data to be backed up, described method also includes:
Detect the process that described electronic equipment backstage is currently running;
Close detected process.
It should be noted that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment.
Each embodiment in this specification all adopts relevant mode to describe, between each embodiment identical similar part mutually referring to, what each embodiment stressed is the difference with other embodiments.Especially for device embodiment, owing to it is substantially similar to embodiment of the method, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment can be by the hardware that program carrys out instruction relevant and completes, described program can be stored in computer read/write memory medium, the storage medium obtained designated herein, as: ROM/RAM, magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.All make within the spirit and principles in the present invention any amendment, equivalent replacement, improvement etc., be all contained in protection scope of the present invention.

Claims (10)

1. a data back up method, it is characterised in that be applied to electronic equipment, including:
Determine data to be backed up;
Whether the battery status detecting presently described electronic equipment meets backup condition;
If it is satisfied, back up described data to be backed up.
2. method according to claim 1, it is characterised in that whether the battery status of the presently described electronic equipment of described detection meets backup condition, including:
Judge whether the battery current residual electricity of described electronic equipment and the ratio of the total electricity of battery are not less than preset first threshold value, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
3. method according to claim 1, it is characterised in that whether the battery status of the presently described electronic equipment of described detection meets backup condition, including:
Judge whether the battery of presently described electronic equipment is in charged state, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
4. method according to claim 1, it is characterised in that the described data to be backed up of described backup, including:
Adopt single-threaded back mechanism, back up described data to be backed up.
5. method according to claim 1, it is characterised in that described method also includes:
Calculate the backup duration backing up described data to be backed up;
Obtain the standby time of current electronic device;
According to described backup duration and described standby time, it is determined whether meet and suspend backup condition;
Described data to be backed up are backed up if it is satisfied, suspend.
6. method according to claim 1, it is characterised in that after backing up described data to be backed up, described method also includes:
Whether the ratio of the battery current residual electricity and the total electricity of battery that detect described electronic equipment is not more than default Second Threshold, backs up described data to be backed up if it is, suspend.
7. method according to claim 1, it is characterised in that after backing up described data to be backed up, described method also includes:
Detect the process that described electronic equipment backstage is currently running;
Close detected process.
8. a data backup device, it is characterised in that be applied to electronic equipment, comprises determining that module, first detection module and backup module, wherein,
Described determine module, be used for determining data to be backed up;
Described first detection module, whether the battery status for detecting presently described electronic equipment meets backup condition;
Described backup module, for when described first detection module detects that the battery status of presently described electronic equipment meets backup condition, backing up described data to be backed up.
9. device according to claim 8, it is characterised in that described first detection module, specifically for:
Judge whether the battery current residual electricity of described electronic equipment and the ratio of the total electricity of battery are not less than preset first threshold value, if it is, represent that the battery status of presently described electronic equipment meets backup condition.
10. an electronic equipment, it is characterised in that described electronic equipment includes: housing, processor, memorizer, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and memorizer and arranges on circuit boards;Power circuit, powers for each circuit or the device for electronic equipment;Memorizer is used for storing executable program code;Processor runs the program corresponding with executable program code by reading the executable program code of storage in memorizer, for performing following steps:
Determine data to be backed up;
Whether the battery status detecting presently described electronic equipment meets backup condition;
If it is satisfied, back up described data to be backed up.
CN201610115433.0A 2016-03-01 2016-03-01 Data backup method and device and electronic equipment Pending CN105786654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610115433.0A CN105786654A (en) 2016-03-01 2016-03-01 Data backup method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610115433.0A CN105786654A (en) 2016-03-01 2016-03-01 Data backup method and device and electronic equipment

Publications (1)

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

Family

ID=56387493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610115433.0A Pending CN105786654A (en) 2016-03-01 2016-03-01 Data backup method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105786654A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528347A (en) * 2016-11-14 2017-03-22 广东欧珀移动通信有限公司 Data backup method and mobile terminal
CN106569916A (en) * 2016-11-07 2017-04-19 广东欧珀移动通信有限公司 Data backup method and mobile terminal
CN106648974A (en) * 2016-11-16 2017-05-10 广东欧珀移动通信有限公司 Data backup method and mobile terminal
CN107145386A (en) * 2017-04-28 2017-09-08 广东欧珀移动通信有限公司 Data migration method, terminal device and computer-readable recording medium
CN112181717A (en) * 2019-07-03 2021-01-05 北京智明星通科技股份有限公司 Data backup method and device for mobile phone game and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7954006B1 (en) * 2008-12-02 2011-05-31 Pmc-Sierra, Inc. Method and apparatus for archiving data during unexpected power loss
CN102750205A (en) * 2012-06-12 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Data backup method of mobile terminals and mobile terminal
CN103582875A (en) * 2011-06-03 2014-02-12 苹果公司 Method and apparatus for multi-source restore
CN104008027A (en) * 2014-05-06 2014-08-27 可牛网络技术(北京)有限公司 Data backup method and device for mobile terminal and mobile terminal
CN105511985A (en) * 2015-12-01 2016-04-20 魅族科技(中国)有限公司 Data backup method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7954006B1 (en) * 2008-12-02 2011-05-31 Pmc-Sierra, Inc. Method and apparatus for archiving data during unexpected power loss
CN103582875A (en) * 2011-06-03 2014-02-12 苹果公司 Method and apparatus for multi-source restore
CN102750205A (en) * 2012-06-12 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Data backup method of mobile terminals and mobile terminal
CN104008027A (en) * 2014-05-06 2014-08-27 可牛网络技术(北京)有限公司 Data backup method and device for mobile terminal and mobile terminal
CN105511985A (en) * 2015-12-01 2016-04-20 魅族科技(中国)有限公司 Data backup method and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569916A (en) * 2016-11-07 2017-04-19 广东欧珀移动通信有限公司 Data backup method and mobile terminal
CN106528347A (en) * 2016-11-14 2017-03-22 广东欧珀移动通信有限公司 Data backup method and mobile terminal
CN106528347B (en) * 2016-11-14 2019-08-20 Oppo广东移动通信有限公司 A kind of data back up method and mobile terminal
CN106648974A (en) * 2016-11-16 2017-05-10 广东欧珀移动通信有限公司 Data backup method and mobile 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
CN112181717A (en) * 2019-07-03 2021-01-05 北京智明星通科技股份有限公司 Data backup method and device for mobile phone game and electronic equipment

Similar Documents

Publication Publication Date Title
CN105786654A (en) Data backup method and device and electronic equipment
CN105760259A (en) Data backup method and device and electronic equipment
EP2175625B1 (en) Method and apparatus for unlocking a portable terminal using piezoelectric sensors
CN104899029A (en) Screen control method and apparatus
CN104539009B (en) charging management method and device
CN103631934A (en) Garbage-file detecting method and device
CN107045443A (en) background process control method, device and intelligent terminal
CN102087585A (en) Touch screen terminal and unlocking method thereof
US20090244026A1 (en) Touch screen display for electronic device and method of determining touch interaction therewith
CN103631359A (en) Information processing method and electronic equipment
CN105137831B (en) Energy-saving mode open method and device
CN106208212A (en) Terminal unit charge control method, device and terminal unit
EP2105824A1 (en) Touch screen display for electronic device and method of determining touch interaction therewith
CN112165140B (en) Charging and discharging control method and device and power supply equipment
CN103248763A (en) Communication method and mobile terminal
CN105334939A (en) Terminal power consumption control method and terminal power consumption control device
CN109032898A (en) A kind of display methods of icon, device, equipment and storage medium
CN102307257A (en) Event reminding method in charging process and terminal
CN103902011A (en) Electronic device controlling method and electronic device
CN106250182A (en) File processing method and device and electronic equipment
CN107302633A (en) application control method, device, storage medium and electronic equipment
CN104375851A (en) Intelligent terminal and energy saving method thereof
CN106249898A (en) Prompting method and device for insufficient storage space and mobile device
CN107734121A (en) Method for controlling volume, device, storage medium and electronic equipment
CN205958716U (en) A system and electronic equipment that is arranged in accurate electronic equipment's of sureness battery state of charge

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: 20160720

RJ01 Rejection of invention patent application after publication