CN106648974A - Data backup method and mobile terminal - Google Patents

Data backup method and mobile terminal Download PDF

Info

Publication number
CN106648974A
CN106648974A CN201611018501.8A CN201611018501A CN106648974A CN 106648974 A CN106648974 A CN 106648974A CN 201611018501 A CN201611018501 A CN 201611018501A CN 106648974 A CN106648974 A CN 106648974A
Authority
CN
China
Prior art keywords
data
mobile terminal
backed
backup
preset kind
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
CN201611018501.8A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611018501.8A priority Critical patent/CN106648974A/en
Publication of CN106648974A publication Critical patent/CN106648974A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The embodiment of the invention provides a data backup method and a mobile terminal. The method comprises the following steps: monitoring whether the newly added data size corresponding to the preset type data stored in the mobile terminal satisfies a preset backup condition; determining to-be-backuped data according to the newly added data size corresponding to the preset type data when the newly added data size corresponding to the preset type data satisfies the preset backup condition; and backuping the to-be-backuped data to a server. The updated data can be immediately backuped by use of the data backup method provided by the embodiment of the invention.

Description

A kind of data back up method and mobile terminal
Technical field
The present invention relates to data processing field, and in particular to a kind of data back up method and mobile terminal.
Background technology
As information technology is fast-developing, using more and more frequently, user makes mobile terminal (such as mobile phone, panel computer) It is capable of achieving to take pictures with mobile terminal, note, foradownloaded video etc., thus, the data volume preserved in mobile terminal is also more and more, It is then desired to back up to the significant data in mobile terminal.In prior art, User logs in Cloud Server is needed, and selected Selecting needs the data of backup, then, is backuped to server, but, often due to backup is not in time, information may be caused to lose Lose (for example, mobile terminal is lost or damaged).
The content of the invention
A kind of data back up method and mobile terminal are embodiments provided, the data of renewal can be carried out in time standby Part.
Embodiment of the present invention first aspect provides a kind of data back up method, including:
Whether the corresponding newly-increased data volume of preset kind data stored in monitoring mobile terminal meets default backup condition;
When the corresponding newly-increased data volume of the preset kind data meets the default backup condition, according to described default The corresponding newly-increased data volume of categorical data determines data to be backed up;
By the data backup to be backed up to server.
Embodiment of the present invention second aspect provides a kind of mobile terminal, including:
Monitoring unit, for monitoring mobile terminal in store the corresponding newly-increased data volume of preset kind data whether meet Default backup condition;
First determining unit, increases newly for being that the preset kind data are corresponding in the monitoring result of the monitoring unit When data volume meets the default backup condition, number to be backed up is determined according to the corresponding newly-increased data volume of the preset kind data According to;
Backup units, for by the data backup to be backed up to server.
The embodiment of the present invention third aspect provides a kind of mobile terminal, including:
Processor and memory;Wherein, code during the processor is by calling the memory or instruction are performing The some or all of step of the method described by first aspect.
Implement the embodiment of the present invention, have the advantages that:
By the embodiment of the present invention, the corresponding newly-increased data volume of the preset kind data for storing in the terminal meets pre- During equipment part condition, data to be backed up are determined according to the corresponding newly-increased data volume of preset kind data, and data to be backed up are standby Part is to server.Thus, in time data backup can be carried out to the newly-increased data volume of preset kind data.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can be attached to obtain others according to these accompanying drawings Figure.
Fig. 1 is a kind of network architecture schematic diagram of data backup system provided in an embodiment of the present invention;
Fig. 2 is a kind of first embodiment schematic flow sheet of data back up method provided in an embodiment of the present invention;
Fig. 3 is a kind of second embodiment schematic flow sheet of data back up method provided in an embodiment of the present invention;
Fig. 4 a are a kind of first embodiment structural representations of mobile terminal provided in an embodiment of the present invention;
Fig. 4 b are the structural representations of the first determining unit of the mobile terminal described by Fig. 4 a provided in an embodiment of the present invention Figure;
Fig. 4 c are the structural representations of the backup units of the mobile terminal described by Fig. 4 a provided in an embodiment of the present invention;
Fig. 4 d are the another structural representations of the mobile terminal described by Fig. 4 a provided in an embodiment of the present invention;
Fig. 5 is a kind of second embodiment structural representation of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
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 carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and " Four " it is etc. for distinguishing different objects, rather than for describing particular order.Additionally, term " comprising " and " having " and it Any deformation, it is intended that cover and non-exclusive include.For example contain the process of series of steps or unit, method, be System, product or equipment are not limited to the step of listing or unit, but alternatively also include the step of not listing or list Unit, or alternatively also include other steps intrinsic for these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments In being contained at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly it is understood by, embodiment described herein can be in combination with other embodiments.
Mobile terminal described by the embodiment of the present invention can include smart mobile phone (as Android phone, iOS mobile phones, Windows Phone mobile phones etc.), panel computer, palm PC, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., above-mentioned mobile terminal is only citing, and non exhaustive, including but not limited to upper State mobile terminal.
It should be noted that server involved in the embodiment of the present invention can be Cloud Server, Cloud Server is usual " virtual " server operated on identical physical hardware is referred to, Cloud Server is used as physical server.Virtual clothes On business device platform, keeper can be with specific central processing unit (Central Processing Unit, CPU), internal memory and magnetic Disk characteristic provides server, and these cloud server systems are all provided by online mode.The system that cloud provider provides is due to work( Energy difference also has different " specifications " with price.This product of Cloud Server generally has two key dimensions:CPU and internal memory. Certainly, server can also be the server of operator.
Fig. 1 is referred to, Fig. 1 is to embodiments provide a kind of network architecture of data backup system, the network structure Frame may include:Mobile terminal and server, can pass through wireless fidelity network, mobile communications network between mobile terminal and server (such as 2G, 3G, 4G, 5G), cable network set up communication connection.Wherein, said system can be used to realize following process, mobile Terminal, monitors whether the corresponding newly-increased data volume of preset kind data stored in mobile terminal meets default backup condition, When the corresponding newly-increased data volume of preset kind data meets default backup condition, according to the corresponding newly-increased data of preset kind data Amount determines data to be backed up, by data backup to be backed up to server.
Based on the network architecture of the data backup system described by Fig. 1, Fig. 2 is referred to, be provided in an embodiment of the present invention A kind of embodiment schematic flow sheet of data back up method.Data back up method described in the present embodiment, including following step Suddenly:
201st, monitor whether the corresponding newly-increased data volume of preset kind data stored in mobile terminal meets default backup Condition.
Wherein, above-mentioned preset kind data can be following at least one:Photo, video file, address list, note, audio frequency File, word document, pdf document, application installation package, application plug-in etc..Newly-increased data volume in present invention enforcement, refers to When last time backup, the data never occurred in mobile terminal, for example, the photo just clapped, and for example, currently downloaded Into a film, and for example, a note being currently received, currently, mobile terminal can also carry out deletion behaviour to data Make, but the part deleted is not newly-increased data volume.
Alternatively, above-mentioned steps 201 can be implemented as follows:
Whether the memory size for monitoring the newly-increased data volume of the preset kind data stored in the mobile terminal is big In the first predetermined threshold value, if so, then confirm that the corresponding newly-increased data volume of the preset kind data meets the default backup bar Part.
Wherein, the first predetermined threshold value can voluntarily be arranged by system default or user.For example, the first predetermined threshold value can be 100M, then, the memory size of the newly-increased data volume of the preset kind data stored in mobile terminal is monitored is more than first During predetermined threshold value, then explanation meets default backup condition.
Alternatively, above-mentioned steps 201 can be implemented as follows:
The quantity of newly-increased data volume of the preset kind data stored in the mobile terminal is monitored whether more than the Two predetermined threshold values, if so, then confirm that the corresponding newly-increased data volume of the preset kind data meets the default backup condition.
Wherein, the second predetermined threshold value can voluntarily be arranged by system default or user.For example, the second predetermined threshold value can be 100 (individual), then, the quantity of the newly-increased data volume of the preset kind data stored in mobile terminal is monitored is more than second During predetermined threshold value, then explanation meets default backup condition.
Still optionally further, before execution step 201, can also comprise the steps of:
Current time and last BACKUP TIME are judged whether more than preset time threshold, if so, then execution step 201, Thus, being capable of achieving to carry out data backup at set intervals.Thus, the company of being always maintained between mobile terminal and server need not allow Relation is connect, so, it is possible to decrease the power consumption of mobile terminal.
Still optionally further, before execution step 201, can also comprise the steps of:
Judge whether current location matches with predeterminated position, if so, then execution step 201, thus, being capable of achieving according to specifying Position just carries out data backup.For example, user is provided with predeterminated position for family, then, when being only in, just perform sheet Inventive embodiments.
Still optionally further, before execution step 201, can also comprise the steps of:
Mobile terminal and server are bound.
Wherein, mobile terminal can be bound with server, i.e., in the environment of having wireless network, mobile terminal with service Communication connection can be set up between device, for example, the binding of mobile terminal and server by registering a cloud account, and be able to can lead to Cross mobile terminal and log in cloud account, to realize the communication connection between mobile terminal and server.
202nd, when the corresponding newly-increased data volume of the preset kind data meets the default backup condition, according to described The corresponding newly-increased data volume of preset kind data determines data to be backed up.
Wherein, when the corresponding newly-increased data volume of preset kind data meets default backup condition, can further determine that new Increase the data for needing to back up in data volume, specifically can refer to following manner:
Alternatively, it is above-mentioned that data to be backed up are determined according to the corresponding newly-increased data volume of the preset kind data, including:
21), judge the current electric quantity of the mobile terminal whether more than the 3rd predetermined threshold value;
22), when the current electric quantity of the mobile terminal is more than three predetermined threshold value, by the preset kind data Corresponding newly-increased data volume is used as the data to be backed up;
23), when the current electric quantity of the mobile terminal is less than or equal to three predetermined threshold value, choose described default Partial data amount in the corresponding newly-increased data volume of categorical data is used as the data to be backed up.
Wherein, the 3rd predetermined threshold value can be arranged voluntarily or system default by user.Mobile terminal can determine whether in step 21 Whether current electric quantity is more than the 3rd predetermined threshold value, if the current electric quantity of mobile terminal is less than or equal to the 3rd predetermined threshold value, can A certain partial data amount in the corresponding newly-increased data volume of the preset kind data is chosen as data to be backed up, for example, from pre- If the farthest multiple data of selected distance current time are used as data to be backed up in the corresponding newly-increased data volume of categorical data, and example Such as, multiple data are randomly selected as data to be backed up, the plurality of data from the corresponding newly-increased data volume of preset kind data Memory size be less than a certain predetermined threshold value.In addition, when the current electric quantity of mobile terminal is more than three predetermined threshold values, will be default The corresponding newly-increased data volume of categorical data as data to be backed up, therefore, can be capable of achieving standby when the electricity of mobile terminal is sufficient The newly-increased data volume that part updates, in the not enough power supply of mobile terminal, is capable of achieving the newly-increased data volume that incremental backup updates.
Alternatively, following steps are may include between step 202 and step 203:
The communication connection set up between mobile terminal and server.
Wherein, when mobile terminal detects the mobile terminal meets default backup condition, mobile terminal can be to server Send connection request, the writable account for pre-saving of mobile terminal and password, so as to, log in the server, mobile terminal with Communication connection is set up between server.
203rd, by the data backup to be backed up to server.
Wherein, establish between the mobile terminal and the server after communication connection, can will be to be backed up in mobile terminal Data backup is to server.
Alternatively, it is above-mentioned by the data backup to be backed up to server, it may include following steps:
31), the data to be backed up are split as into multiple packets;
32) priority of each packet in the plurality of packet, is determined;
33), according to priority order from high to low by the data backup to be backed up to the server.
Wherein, data to be backed up can be taken apart, so as to obtain multiple packets, one can be arranged to each packet Priority, certainly, it is low that priority has height to have, so as to, it is capable of achieving the packet priority high to priority and backups to server, and it is excellent Server is backuped to after the low packet of first level, thus, being capable of achieving to be surrounded by data sequence backup, certainly, the priority can be by moving The system of dynamic terminal carries out random arrangement.
Alternatively, it is above-mentioned to the data backup to be backed up to server, including:
34), the data to be backed up are carried out into data compression, obtains compressed data packets;
35), the compressed data packets are encrypted, encryption data bag is obtained;
36), the encryption data bag is backed up into server.
Wherein, in step 34, mobile terminal can treat Backup Data and carry out data compression, obtain compressed data packets, thus, The memory size of data to be backed up to a certain extent, can be reduced, so as to, the time-consuming of data backup can be shortened, in step 35, can Compressed data packets are encrypted, thus, in data backup procedure, the security of data backup can be improved, obtain encrypting number According to bag, finally, step 36 can back up to server to encryption data bag.
Alternatively, above-mentioned steps 35 can also include following situation:For example, treat Backup Data to be classified, obtain many Individual classification, each classification may make up a packet, so as to, multiple packets are obtained, each packet can correspond to a kind of data Compress mode, so as to, multiple compression data packets being obtained, the plurality of compression data packet can be positioned in a file, then will This document folder is compressed, and obtains last compression data packet.Thus, targetedly data compression can be carried out to data, such as This, the memory size of compressible data to be backed up.
For example, for image class data, it is compressed using compression of images mode, for voice class data, using voice Class compress mode is compressed, for text class data, be compressed using text class compress mode etc., certainly, inhomogeneity The corresponding compression process of data can be carried out using multi-process or multithreading, thus, being capable of achieving rapid data compression.
Alternatively, it is above-mentioned to the data backup to be backed up to server, including:
37), the packet to be backed up is encrypted, encryption data bag is obtained;
38), the encryption data bag is carried out into data compression, obtains compressed data packets;
39), the compressed data packets are backed up into server.
Wherein, in step 37, mobile terminal can treat Backup Data and carry out data encryption, obtain encryption data bag, thus, The security of data to be backed up to a certain extent, can be improved, so as to can be securely backed up can be right into server, step 38 Encryption data carries out data compression, so as to reduce the time-consuming of data backup, thus, in backup procedure, can improve data standby The efficiency of part, finally, step 36 can back up to server to compressed data packets.Thus, safety can efficiently treat standby again Number evidence backs up to server.
Alternatively, above-mentioned steps 37 can also include following situation:
For example, treat Backup Data to be classified, obtain multiple classifications, each classification may make up a packet, so as to, Multiple packets are obtained, each packet can correspond to a kind of data encryption mode, so as to, multiple data encryption bags are obtained, can be by The plurality of data encryption bag is positioned in a file, then this document folder is encrypted, and obtains last ciphered compressed bag. Thus, targetedly data encryption can be carried out to data, thus, the security of data to be backed up can be improved.For example, for figure As class data, it is encrypted using image encryption mode, for voice class data, is encrypted using voice class cipher mode, For text class data, be encrypted using text class cipher mode etc., certainly, the corresponding ciphering process of inhomogeneity data can Carried out using multi-process or multithreading, thus, being capable of achieving Fast Data Encipherment.Thus, can i.e. efficiently again safely Treat Backup Data and back up to server.
As can be seen that by the embodiment of the present invention, the corresponding newly-increased number of the preset kind data for storing in the terminal When meeting default backup condition according to amount, data to be backed up are determined according to the corresponding newly-increased data volume of preset kind data, and will be treated Backup Data backs up to server.Thus, in time data backup can be carried out to the newly-increased data volume of preset kind data.
Consistent with the abovely, Fig. 3 is referred to, is a kind of the second enforcement of data back up method provided in an embodiment of the present invention Example schematic flow sheet.Data back up method described in the present embodiment, comprises the following steps:
301st, monitor whether the corresponding newly-increased data volume of preset kind data stored in mobile terminal meets default backup Condition.
302nd, when the corresponding newly-increased data volume of the preset kind data meets the default backup condition, according to described The corresponding newly-increased data volume of preset kind data determines data to be backed up.
303rd, judge the load of the mobile terminal whether more than the 4th predetermined threshold value.
Wherein, the 4th predetermined threshold value can voluntarily be arranged by system default or user.The load of mobile terminal can be by being used for Represent the load pressure that undertaken of processor of mobile terminal, it is generally the case that the load of mobile terminal can represent by hundred-mark system, Certainly, the program of running of mobile terminal is more, and its corresponding load is bigger, thus, can close some is not for current Critically important program, thus, can be optimized to the system of mobile terminal on certain procedures.
304th, when the load of the mobile terminal is more than four predetermined threshold value, be currently running many are determined It is present in N number of application of default blacklist in individual application, wherein, the N is more than 1 or the integer that is equal to.
Wherein, default blacklist can be configured before the embodiment of the present invention is performed, and the default blacklist is used to arrange Some are not critically important applications, thus, in data backup, the application that can be closed in default blacklist.In mobile terminal Load when being more than four predetermined threshold values, can determine that the application that be currently running is default in this according to above-mentioned default blacklist Application in blacklist, it is assumed that N number of application is present in the default blacklist, then, N number of application can be closed.For example, preset black Comprising using A, using B, using C and apply D, the application being currently running includes list:Using C and apply E, then, should It is present in default blacklist with C.
Alternatively, when the load of mobile terminal is less than or equal to four predetermined threshold values, can direct execution step 306.
305th, N number of application is closed.
306th, by the data backup to be backed up to server.
Wherein, above-mentioned steps 301-302, the specific descriptions of step 306 can refer to the data back up method described by Fig. 2 Step 201-203.
As can be seen that by the embodiment of the present invention, pre- equipment can be met in the corresponding newly-increased data volume of preset kind data During part condition, data to be backed up are determined according to the corresponding newly-increased data volume of preset kind data, also, in the load of mobile terminal During more than four predetermined threshold values, some applications for being currently running and belonging to default blacklist are closed, so, it is possible to decrease mobile The load of terminal, the performance of preferential mobile terminal lifts data backup efficiency.
Consistent with the abovely, the device of the data back up method for providing for the enforcement embodiments of the present invention below, specifically It is as follows:
Fig. 4 a are referred to, is a kind of example structure schematic diagram of mobile terminal provided in an embodiment of the present invention.This enforcement Mobile terminal described in example, including:Monitoring unit 401, the first determining unit 402 and backup units 403, it is specific as follows:
Monitoring unit 401, for monitoring mobile terminal in the corresponding newly-increased data volume of preset kind data that stores whether Meet default backup condition;
First determining unit 402, for the monitoring result of the monitoring unit 401 be the preset kind data correspondence Newly-increased data volume when meeting the default backup condition, determined according to the corresponding newly-increased data volume of the preset kind data and treated Backup Data;
Backup units 403, for by the data backup to be backed up to server.
Alternatively, above-mentioned monitoring unit 401 specifically for:
Whether the memory size for monitoring the newly-increased data volume of the preset kind data stored in the mobile terminal is big In the first predetermined threshold value, if so, then confirm that the corresponding newly-increased data volume of the preset kind data meets the default backup bar Part;
Or,
The quantity of newly-increased data volume of the preset kind data stored in the mobile terminal is monitored whether more than the Two predetermined threshold values, if so, then confirm that the corresponding newly-increased data volume of the preset kind data meets the default backup condition.
Alternatively, such as Fig. 4 b, the first determining unit 402 of the mobile terminal described by Fig. 4 a may include:Judge module 4021 and determining module 4022, it is specific as follows:
Judge module 4021, for judging the current electric quantity of the mobile terminal whether more than the 3rd predetermined threshold value;
First determining module 4022, for being the current of the mobile terminal in the judged result of the judge module 4021 When electricity is more than three predetermined threshold value, using the corresponding newly-increased data volume of the preset kind data as the number to be backed up According to;
First determining module 4022, is additionally operable to:
In the current electric quantity that the judged result of the judge module 4021 is the mobile terminal less than or equal to described the During three predetermined threshold values, the partial data amount in the corresponding newly-increased data volume of the preset kind data is chosen as described to be backed up Data.
Alternatively, such as Fig. 4 c, the backup units 403 of the mobile terminal described by Fig. 4 a may include:Division module 4031, Two determining modules 4032 and backup module 4033, it is specific as follows:
Division module 4031, for the data to be backed up to be split as into multiple packets;
Second determining module 4032, for determining the plurality of packet in each packet priority;
Backup module 4033, for according to priority order from high to low by the data backup to be backed up to institute State server.
Alternatively, such as Fig. 4 d, Fig. 4 d are a kind of modification structures of the mobile terminal described by Fig. 4 a, and it also includes:Judge Unit 404, the second determining unit 405 and closing unit 406, it is specific as follows:
Judging unit 404, in first determining unit 402 according to the corresponding newly-increased number of the preset kind data Determine after data to be backed up according to amount, judge the load of the mobile terminal whether more than the 4th predetermined threshold value;
Second determining unit 405, for big in the load that the judged result of the judging unit 404 is the mobile terminal When four predetermined threshold value, the N number of application for being present in default blacklist in the multiple applications being currently running is determined, Wherein, the N is more than 1 or the integer that is equal to;
Closing unit 406, for closing N number of application, by the backup units 403 by the data backup to be backed up To the server.
As can be seen that by the mobile terminal described by the embodiment of the present invention, what is can stored in the mobile terminal is default It is true according to the corresponding newly-increased data volume of preset kind data when the corresponding newly-increased data volume of categorical data meets default backup condition Fixed data to be backed up, and by data backup to be backed up to server.Thus, can in time to the newly-increased data volume of preset kind data Carry out data backup.
Consistent with the abovely, Fig. 5 is referred to, is a kind of second embodiment knot of mobile terminal provided in an embodiment of the present invention Structure schematic diagram.Mobile terminal described in the present embodiment, including:At least one input equipment 1000;At least one output sets Standby 2000;At least one processor 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000, Processor 3000 and memory 4000 are connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse.
The concretely display screen of above-mentioned output equipment 2000.
Above-mentioned memory 4000 can be high-speed RAM memory, alternatively nonvolatile storage (non-volatile Memory), such as magnetic disc store.Above-mentioned memory 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated Going out equipment 2000 and processor 3000 is used to call the program code stored in memory 4000, performs following operation:
Above-mentioned processor 3000, is used for:
Whether the corresponding newly-increased data volume of preset kind data stored in monitoring mobile terminal meets default backup condition;
When the corresponding newly-increased data volume of the preset kind data meets the default backup condition, according to described default The corresponding newly-increased data volume of categorical data determines data to be backed up;
By the data backup to be backed up to server.
Alternatively, the corresponding newly-increased data volume of preset kind data for storing in the monitoring of above-mentioned processor 3000 mobile terminal Whether satisfaction presets backup condition, including:
Whether the memory size for monitoring the newly-increased data volume of the preset kind data stored in the mobile terminal is big In the first predetermined threshold value, if so, then confirm that the corresponding newly-increased data volume of the preset kind data meets the default backup bar Part;
Or,
The quantity of newly-increased data volume of the preset kind data stored in the mobile terminal is monitored whether more than the Two predetermined threshold values, if so, then confirm that the corresponding newly-increased data volume of the preset kind data meets the default backup condition.
Alternatively, above-mentioned processor 3000 determines number to be backed up according to the corresponding newly-increased data volume of the preset kind data According to, including:
Judge the current electric quantity of the mobile terminal whether more than the 3rd predetermined threshold value;
When the current electric quantity of the mobile terminal is more than three predetermined threshold value, by preset kind data correspondence Newly-increased data volume as the data to be backed up;
When the current electric quantity of the mobile terminal is less than or equal to three predetermined threshold value, the preset kind is chosen Partial data amount in the corresponding newly-increased data volume of data is used as the data to be backed up.
Alternatively, above-mentioned processor 3000 is by the data backup to be backed up to server, including:
The data to be backed up are split as into multiple packets;
Determine the priority of each packet in the plurality of packet;
According to priority order from high to low by the data backup to be backed up to the server.
Alternatively, above-mentioned processor 3000, determines described according to the corresponding newly-increased data volume of the preset kind data After data to be backed up, and by the data backup to be backed up to the server before, also particularly useful for:
Judge the load of the mobile terminal whether more than the 4th predetermined threshold value;
The mobile terminal load be more than four predetermined threshold value when, determine be currently running it is multiple should It is present in N number of application of default blacklist with, wherein, the N is more than 1 or the integer that is equal to;
Close N number of application, perform it is described by the data backup to be backed up to the server.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, including the part or all of step of any data back up method described in said method embodiment during the program performing Suddenly.
Although here combines each embodiment, and invention has been described, however, implementing the present invention for required protection During, those skilled in the art are by checking the accompanying drawing, disclosure and appended claims, it will be appreciated that and it is real Other changes of the existing open embodiment.In the claims, " including " (comprising) word be not excluded for other composition Part or step, "a" or "an" is not excluded for multiple situations.Single processor or other units can realize claim In some functions enumerating.Mutually different has been recited in mutually different dependent some measures, it is not intended that these are arranged Apply to combine and produce good effect.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer journey Sequence product.Therefore, the present invention can using complete hardware embodiment, complete software embodiment or with reference to software and hardware in terms of The form of embodiment.And, the present invention can be adopted and wherein include the calculating of computer usable program code at one or more The computer program implemented in machine usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) The form of product.Computer program is stored/distributed in suitable medium, is provided together with other hardware or as the one of hardware Part, it would however also be possible to employ other distribution forms, such as by Internet or other wired or wireless telecommunication systems.
The present invention be with reference to the embodiment of the present invention method, device (equipment) and computer program flow chart with/ Or block diagram is describing.It should be understood that can by each flow process in computer program instructions flowchart and/or block diagram and/ Or the combination of square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer program instructions can be provided To the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices producing one Individual machine so that produced for realizing by the instruction of computer or the computing device of other programmable data processing devices The device of the function of specifying in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
Although with reference to specific features and embodiment, invention has been described, it is clear that, without departing from this In the case of bright spirit and scope, various modifications and combinations can be carried out to it.Correspondingly, the specification and drawings are only institute The exemplary illustration of the invention that attached claim is defined, and be considered as cover in the scope of the invention any and all and repair Change, change, combining or equivalent.Obviously, those skilled in the art the present invention can be carried out it is various change and modification and not Depart from the spirit and scope of the present invention.So, if the present invention these modification and modification belong to the claims in the present invention and its Within the scope of equivalent technologies, then the present invention is also intended to comprising these changes and modification.

Claims (11)

1. a kind of data back up method, it is characterised in that include:
Whether the corresponding newly-increased data volume of preset kind data stored in monitoring mobile terminal meets default backup condition;
When the corresponding newly-increased data volume of the preset kind data meets the default backup condition, according to the preset kind The corresponding newly-increased data volume of data determines data to be backed up;
By the data backup to be backed up to server.
2. method according to claim 1, it is characterised in that the preset kind data stored in the monitoring mobile terminal Whether corresponding newly-increased data volume meets default backup condition, including:
The memory size of newly-increased data volume of the preset kind data stored in the mobile terminal is monitored whether more than the One predetermined threshold value, if so, then confirms that the corresponding newly-increased data volume of the preset kind data meets the default backup condition;
Or,
Whether the quantity for monitoring the newly-increased data volume of the preset kind data stored in the mobile terminal is pre- more than second If threshold value, if so, then confirm that the corresponding newly-increased data volume of the preset kind data meets the default backup condition.
3. the method according to any one of claim 1 or 2, it is characterised in that described according to the preset kind data pair The newly-increased data volume answered determines data to be backed up, including:
Judge the current electric quantity of the mobile terminal whether more than the 3rd predetermined threshold value;
It is when the current electric quantity of the mobile terminal is more than three predetermined threshold value, the preset kind data are corresponding new Increase data volume as the data to be backed up;
When the current electric quantity of the mobile terminal is less than or equal to three predetermined threshold value, the preset kind data are chosen Partial data amount in corresponding newly-increased data volume is used as the data to be backed up.
4. the method according to any one of claim 1 or 2, it is characterised in that it is described by the data backup to be backed up extremely Server, including:
The data to be backed up are split as into multiple packets;
Determine the priority of each packet in the plurality of packet;
According to priority order from high to low by the data backup to be backed up to the server.
5. the method according to any one of claim 1 to 2, it is characterised in that described according to the preset kind data Corresponding newly-increased data volume determined after data to be backed up, and it is described by the data backup to be backed up to the server it Before, methods described also includes:
Judge the load of the mobile terminal whether more than the 4th predetermined threshold value;
When the load of the mobile terminal is more than four predetermined threshold value, in determining the multiple applications being currently running It is present in N number of application of default blacklist, wherein, the N is more than 1 or the integer that is equal to;
Close N number of application, perform it is described by the data backup to be backed up to the server.
6. a kind of mobile terminal, it is characterised in that include:
Monitoring unit, for monitoring mobile terminal in store the corresponding newly-increased data volume of preset kind data whether meet default Backup condition;
First determining unit, for the monitoring result of the monitoring unit be the corresponding newly-increased data of the preset kind data When amount meets the default backup condition, data to be backed up are determined according to the corresponding newly-increased data volume of the preset kind data;
Backup units, for by the data backup to be backed up to server.
7. mobile terminal according to claim 6, it is characterised in that the monitoring unit specifically for:
The memory size of newly-increased data volume of the preset kind data stored in the mobile terminal is monitored whether more than the One predetermined threshold value, if so, then confirms that the corresponding newly-increased data volume of the preset kind data meets the default backup condition;
Or,
Whether the quantity for monitoring the newly-increased data volume of the preset kind data stored in the mobile terminal is pre- more than second If threshold value, if so, then confirm that the corresponding newly-increased data volume of the preset kind data meets the default backup condition.
8. the mobile terminal according to any one of claim 6 or 7, it is characterised in that first determining unit includes:
Judge module, for judging the current electric quantity of the mobile terminal whether more than the 3rd predetermined threshold value;
First determining module, it is described for being more than in the current electric quantity that the judged result of the judge module is the mobile terminal During three predetermined threshold values, using the corresponding newly-increased data volume of the preset kind data as the data to be backed up;
First determining module, is additionally operable to:
In the current electric quantity that the judged result of the judge module is the mobile terminal less than or equal to the described 3rd default threshold During value, the partial data amount in the corresponding newly-increased data volume of the preset kind data is chosen as the data to be backed up.
9. the mobile terminal according to any one of claim 6 or 7, it is characterised in that the backup units include:
Division module, for the data to be backed up to be split as into multiple packets;
Second determining module, for determining the plurality of packet in each packet priority;
Backup module, for according to priority order from high to low by the data backup to be backed up to the service Device.
10. the mobile terminal according to any one of claim 6 or 7, it is characterised in that the mobile terminal also includes:
Judging unit, treats for being determined according to the corresponding newly-increased data volume of the preset kind data in first determining unit After Backup Data, judge the load of the mobile terminal whether more than the 4th predetermined threshold value;
Second determining unit, for being more than the described 4th in the load that the judged result of the judging unit is the mobile terminal During predetermined threshold value, the N number of application for being present in default blacklist in the multiple applications being currently running is determined, wherein, the N It is more than 1 or the integer that is equal to;
Closing unit, for closing N number of application, by the backup units by the data backup to be backed up to the service Device.
11. a kind of mobile terminals, it is characterised in that include:
Processor and memory;Wherein, code during the processor is by calling the memory or instruction are performing such as power Profit requires the method described in 1 to 5 any one.
CN201611018501.8A 2016-11-16 2016-11-16 Data backup method and mobile terminal Pending CN106648974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611018501.8A CN106648974A (en) 2016-11-16 2016-11-16 Data backup method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611018501.8A CN106648974A (en) 2016-11-16 2016-11-16 Data backup method and mobile terminal

Publications (1)

Publication Number Publication Date
CN106648974A true CN106648974A (en) 2017-05-10

Family

ID=58809043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611018501.8A Pending CN106648974A (en) 2016-11-16 2016-11-16 Data backup method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106648974A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109829318A (en) * 2018-12-17 2019-05-31 北京奇安信科技有限公司 A kind of encrypted backup processing method and processing device of file
CN110572508A (en) * 2019-09-03 2019-12-13 捷开通讯(深圳)有限公司 Address book synchronization method and device, storage medium and electronic equipment
CN111917917A (en) * 2020-06-29 2020-11-10 维沃移动通信有限公司 File backup method and device and electronic equipment
CN113342575A (en) * 2021-06-21 2021-09-03 深圳互联先锋科技有限公司 Database data remote backup method and device based on real-time encryption
CN116610492A (en) * 2023-05-25 2023-08-18 深圳市数存科技有限公司 Incremental data characteristic analysis method and data backup device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770897A (en) * 2004-11-04 2006-05-10 日本电气株式会社 Data-backup system for mobile communication terminal
CN1905531A (en) * 2006-08-11 2007-01-31 白杰 Method for processing data being transmitted and method and apparatus for transmitting data
CN101764880A (en) * 2009-12-21 2010-06-30 宇龙计算机通信科技(深圳)有限公司 Information backup method and terminal
CN101901175A (en) * 2010-02-11 2010-12-01 宇龙计算机通信科技(深圳)有限公司 Data backup method and electronic terminal
CN105786654A (en) * 2016-03-01 2016-07-20 北京金山安全软件有限公司 Data backup method and device and electronic equipment
CN105786649A (en) * 2016-02-26 2016-07-20 广东欧珀移动通信有限公司 Data backup method and device
CN106055424A (en) * 2016-05-19 2016-10-26 青岛海信移动通信技术股份有限公司 Method and device for exception handling of information database

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770897A (en) * 2004-11-04 2006-05-10 日本电气株式会社 Data-backup system for mobile communication terminal
CN1905531A (en) * 2006-08-11 2007-01-31 白杰 Method for processing data being transmitted and method and apparatus for transmitting data
CN101764880A (en) * 2009-12-21 2010-06-30 宇龙计算机通信科技(深圳)有限公司 Information backup method and terminal
CN101901175A (en) * 2010-02-11 2010-12-01 宇龙计算机通信科技(深圳)有限公司 Data backup method and electronic terminal
CN105786649A (en) * 2016-02-26 2016-07-20 广东欧珀移动通信有限公司 Data backup method and device
CN105786654A (en) * 2016-03-01 2016-07-20 北京金山安全软件有限公司 Data backup method and device and electronic equipment
CN106055424A (en) * 2016-05-19 2016-10-26 青岛海信移动通信技术股份有限公司 Method and device for exception handling of information database

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨佩璐,白皓编著: "《网络信息安全与防护》", 30 September 2009 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109829318A (en) * 2018-12-17 2019-05-31 北京奇安信科技有限公司 A kind of encrypted backup processing method and processing device of file
CN110572508A (en) * 2019-09-03 2019-12-13 捷开通讯(深圳)有限公司 Address book synchronization method and device, storage medium and electronic equipment
CN110572508B (en) * 2019-09-03 2021-02-26 捷开通讯(深圳)有限公司 Address book synchronization method and device, storage medium and electronic equipment
CN111917917A (en) * 2020-06-29 2020-11-10 维沃移动通信有限公司 File backup method and device and electronic equipment
CN113342575A (en) * 2021-06-21 2021-09-03 深圳互联先锋科技有限公司 Database data remote backup method and device based on real-time encryption
CN116610492A (en) * 2023-05-25 2023-08-18 深圳市数存科技有限公司 Incremental data characteristic analysis method and data backup device
CN116610492B (en) * 2023-05-25 2024-02-02 深圳市数存科技有限公司 Incremental data characteristic analysis method and data backup device

Similar Documents

Publication Publication Date Title
CN106648974A (en) Data backup method and mobile terminal
CN104468611A (en) Data security processing method and device based on dual-system switching
CN109040076B (en) Data processing method, system, device, equipment and medium
CN104184900B (en) Data processing method, system and mobile terminal
CN105812332A (en) Data protection method
CN109756579B (en) Block chain-based Internet of things information secure transmission system and transmission method
CN105678192A (en) Smart card based secret key application method and application apparatus
CN105843653A (en) TA (trusted application) configuration method and device
CN105101169A (en) Method and apparatus of information processing by trusted execution environment, terminal and SIM card
CN106569917A (en) Data backup method and mobile terminal
CN101047701B (en) System and method for ensuring safety operation of applied program
CN105320891A (en) Method and device for securely loading system image for computer
CN115208697A (en) Adaptive data encryption method and device based on attack behavior
CN106383731B (en) A kind of data migration method and mobile terminal
CN109769010B (en) Method, device, equipment and storage medium for accessing CloudStack server based on SDK
CN103592927A (en) Method for binding product server and service function through license
CN105095784A (en) Terminal data writing and reading methods and devices
CN105868625A (en) Method and device for intercepting restart deletion of file
CN113704818A (en) Key management method and device for encrypted data storage system and terminal equipment
CN106203578B (en) A kind of smart card, application of IC cards security service call method and device
CN105095694B (en) The method and system of webpage calling plug-in unit
CN103425936B (en) A kind of method realizing data confidentiality and electronic equipment
CN106097600B (en) Device management method, system and financial self-service equipment based on ATL
CN106569918A (en) Data backup method and mobile terminal
US20140335847A1 (en) Method for establishing secure card history and audit for property hand-over

Legal Events

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

Application publication date: 20170510