CN106569917A - Data backup method and mobile terminal - Google Patents
Data backup method and mobile terminal Download PDFInfo
- Publication number
- CN106569917A CN106569917A CN201610977295.7A CN201610977295A CN106569917A CN 106569917 A CN106569917 A CN 106569917A CN 201610977295 A CN201610977295 A CN 201610977295A CN 106569917 A CN106569917 A CN 106569917A
- Authority
- CN
- China
- Prior art keywords
- data
- new data
- server
- backed
- mobile terminal
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Telephone Function (AREA)
Abstract
Embodiments of the invention provide a data backup method and a mobile terminal. The data backup method comprises the steps of obtaining multiple to-be-backuped data types, wherein each to-be-backuped data type is corresponding to a priority, and each priority is corresponding to a synchronous frequency; monitoring data corresponding to the multiple to-be-backuped data types according to the synchronous frequencies; and when new data existing in the data corresponding to the data type i is monitored, enabling the new data to be backuped to a server, wherein the data type i is any one data type in the multiple to-be-backuped data types. By adoption of the embodiments of the data backup method, the visit quantity to the server can be reduced, so that the load pressure of the server can be lowered.
Description
Technical field
The present invention relates to data processing field, and in particular to a kind of data back up method and mobile 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 etc.)
It is capable of achieving to take pictures with mobile terminal, note, foradownloaded video etc., the data volume preserved in mobile terminal is also more and more, thus,
Need to back up the significant data in mobile terminal.Add with data renewal speed as the number of users of mobile terminal increases
Hurry up, data backup is more frequent, thus, the access pressure of server is substantially increased, when the visit capacity of server is more than one
During fixed number mesh, servers go down is likely to result in, so that it cannot normally and server communication.
The content of the invention
A kind of data back up method and mobile terminal are embodiments provided, the visit capacity to server can be reduced,
So as to reduce the load pressure of server.
Embodiment of the present invention first aspect provides a kind of data back up method, including:
Multiple data types to be backed up are obtained, one priority of each data type correspondence to be backed up is each described
Priority one synchronizing frequency of correspondence;
The corresponding data of the plurality of data type to be backed up are monitored according to the synchronizing frequency;
When monitoring that new data occur in the corresponding data of data type i, the new data is backed up to into server, it is described
Data type i is any data type in the plurality of data type to be backed up.
Embodiment of the present invention second aspect provides a kind of mobile terminal, including:
Acquiring unit, for obtaining multiple data types to be backed up, each data type correspondence to be backed up is excellent
First level, one synchronizing frequency of each priority correspondence;
Monitoring means, for being supervised to the corresponding data of the plurality of data type to be backed up according to the synchronizing frequency
Survey;
Backup units, for when monitoring that new data occur in the corresponding data of data type i, the new data being backed up
To server, data type i is any data type in the plurality of data type to be backed up.
The embodiment of the present invention third aspect provides a kind of mobile terminal, including:
Processor and memorizer;Wherein, the processor is by calling code in the memorizer or instruction to perform
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, multiple data types to be backed up are obtained, each data type correspondence to be backed up is excellent
First level, each priority one synchronizing frequency of correspondence are entered to the corresponding data of multiple data types to be backed up according to synchronizing frequency
The new data, when monitoring that new data occur in the corresponding data of data type i, is backed up to server, data class by row monitoring
Type i is any data type in multiple data types to be backed up.So as to can be used for by adjusting synchronizing frequency to reduce to clothes
The access frequency of business device, that is, reduce the visit capacity of server.
Description of the drawings
For the technical scheme being illustrated more clearly that in 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 is a kind of 3rd embodiment schematic flow sheet of data back up method provided in an embodiment of the present invention;
Fig. 5 a are a kind of first embodiment structural representations of mobile terminal provided in an embodiment of the present invention;
Fig. 5 b are the structural representations of the backup units of the mobile terminal described by Fig. 5 a provided in an embodiment of the present invention;
Fig. 5 c are the another structural representations of the backup units of the mobile terminal described by Fig. 5 a provided in an embodiment of the present invention
Figure;
Fig. 5 d are the another structural representations of the mobile terminal described by Fig. 5 a provided in an embodiment of the present invention;
Fig. 5 e are the another structural representations of the mobile terminal described by Fig. 5 a provided in an embodiment of the present invention;
Fig. 6 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 obtained under the premise of creative work is not made by those of ordinary skill in the art
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 intrinsic for these processes, method, product or equipment step 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
It is 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 combined 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.It is virtual to take
On business device platform, manager can be with specific central processing unit (Central Processing Unit, CPU), internal memory and magnetic
Disk characteristic provides server, and these server systems are all provided by online mode.The system that cloud provider provides is due to function
Difference also there are different " specifications " with price.This product of Cloud Server generally has two key dimensions:CPU and internal memory.When
So, Cloud Server can also be the server of the server or third-party application 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 etc.), cable network set up communication connection.Wherein, said system can be used to realize following process, mobile
Terminal obtains multiple data types to be backed up, one priority of each data type correspondence to be backed up, each priority correspondence one
The corresponding data of multiple data types to be backed up are monitored according to synchronizing frequency, are monitoring data class by individual synchronizing frequency
When new data occur in the corresponding data of type i, the new data is backed up to into server, data type i is multiple data class to be backed up
Any data type in type.
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 first embodiment schematic flow sheet of data back up method.Data back up method described in the present embodiment, including with
Lower step:
101st, multiple data types to be backed up are obtained, one priority of each data type correspondence to be backed up is each
One synchronizing frequency of the priority correspondence.
Wherein, above-mentioned multiple data types to be backed up can be set by user, above-mentioned data type can for it is following at least
It is a kind of:Photo, video file, address list, note, audio file, word document, pdf document, application installation package, application plug-in
Etc..For example, multiple data types to be backed up can be:Photo and address list.
Alternatively, after data type to be backed up is obtained, the preferential of each data type to be backed up can be set by the user
Level.For example, data type to be backed up be address list, video file, photo, audio file when, its corresponding priority from height to
It is low to be followed successively by address list, video file, photo, audio file, can be according to the corresponding relation between priority and synchronizing frequency
Determine the corresponding synchronizing frequency of each priority.Certainly, the corresponding relation between the priority and synchronizing frequency can perform sheet
It is configured before inventive embodiments.
Alternatively, after the corresponding priority of each data type to be backed up is determined, it is also possible to be set by the user each
The corresponding synchronizing frequency of priority.For example, set data type to be backed up for address list, file, photo, audio frequency it is corresponding
Priority is followed successively by address list, video file, photo, audio file from high to low, and the high corresponding synchronizing frequency of priority is high,
The low corresponding synchronizing frequency of priority is low, can set address list of monitoring per 12 hours, and primary video was monitored per 24 hours
File, monitored a film,fault per 36 hours, and an audio file was monitored per 48 hours.
102nd, the corresponding data of the plurality of data type to be backed up are monitored according to the synchronizing frequency.
Wherein, one synchronizing frequency of each data type correspondence to be backed up, and its corresponding data is monitored according to synchronizing frequency.
For example, priority is followed successively by logical address list, video file, photo, audio file from high to low, according to the synchronizing frequency of setting,
An address list was monitored per 12 hours, primary video file was monitored per 24 hours, a film,fault was monitored per 36 hours, per 48 hours
Audio file of monitoring.Different data types to be backed up is monitored by different synchronizing frequencies, so as to per number
Also differ according to the frequency of your backups of type, without being monitored to all data types in real time and in the corresponding data of data type
Report delta data to implement data backup to server once changing, so as to reduce the access times to server, subtract
Light server load.
103rd, when monitoring that new data occur in the corresponding data of data type i, the new data is backed up to into server,
Data type i is any data type in the plurality of data type to be backed up.
Wherein, the new data during the present invention is implemented, refers to and once monitors the moment upper, the number never occurred in mobile terminal
According to, for example, monitored the photo that the moment newly clapped with this monitoring moment in last time, and for example, monitoring moment last time and this
The film that the download that the secondary monitoring moment newly claps is completed, and for example, arrived with this monitoring reception at monitoring moment last time
A note, currently, mobile terminal can also carry out deletion action to data, but the part deleted is not new data.
When monitoring that new data occur in the corresponding data of any data type i, the new data can be backed up to server, data type i
For any data type in multiple data types to be backed up.
Alternatively, it is above-mentioned that the new data is backed up to into server, it may include following steps:
31), judge whether the server current accessed amount exceedes default load threshold.
32), when the server current accessed amount exceedes the load threshold, described general is performed in preset time period
The new data backs up to server.
Wherein, the load value of server can be by being used to represent the load pressure undertaken by the processor of mobile terminal, generally
In the case of, the load value of server can be represented by hundred-mark system, and certainly, the program of server operation is more, its corresponding load pressure
Power is bigger, or, the visit capacity of server is bigger, and its corresponding load pressure is bigger.
Wherein, above-mentioned default load threshold can be configured by user or system default.Above-mentioned preset time period can be by
User is voluntarily arranged, or, the preset time period is obtained from server by mobile terminal.Preset time period can be:13:00-18:
00, or, the acquisition modes of preset time period can be:Server is counted to the user's visit capacity in a period of time, by which
In, user's visit capacity was marked less than the time period of a certain threshold value, thus, can determine that the visit of when every day server
The amount of asking is less, then illustrate that now server is more idle, can using the visit capacity of the server less time period as it is default when
Between section.Before new data is backed up to server, can determine whether whether the current visit capacity of server exceedes default load threshold,
When server current accessed amount exceedes default load threshold, new data can be backed up to server in preset time period, with
Avoid server access pressure excessive, more than its default load threshold.For example, preset time period can be:Two o'clock in the morning is to morning
7 points, the visit capacity of time period server is less, can be automatically by backup delay to when default by setting mobile terminal
Between perform in section.
Alternatively, it is above-mentioned that the new data is backed up to into server, it may include following steps:
33), judge memory size shared by the new data whether more than the first predetermined threshold value;
34), exceed first predetermined threshold value in memory size shared by the new data, the new data is split as many
The plurality of packet is backed up to the server using multithreading or multi-process by individual packet;
35), first predetermined threshold value is less than or equal in memory size shared by the new data, will be the new data standby
Part is to the server.
Wherein, above-mentioned first predetermined threshold value can be voluntarily arranged by user, or system default.At new data place, internal memory is big
It is little more than the first predetermined threshold value when, the new data can be split as multiple packets, will be multiple using multithreading or multi-process
Packet backs up to server, thus, backup efficiency can be lifted.It is default less than or equal to first in memory size shared by new data
New data can be backed up to server by threshold value, thus, multiple data then can need not be split as when new data internal memory is less
Bag, but directly backup to server.Thus, can be decided whether according to the memory size of new data using multi-process or many
Thread, thus, not only can rationally reduce the power consumption of mobile terminal, can also realize quick backup to new data.
Further, above-mentioned mobile terminal can adopt multithreading or multi-process structure to realize data backup to new data,
After new data to be split as multiple packets, each packet can correspond to a thread or a process, with data class
As a example by type is photo, multiple pictures is split as into multiple packets, the plurality of packet is backed up to into server, it is standby so as to improve
Part efficiency.
As can be seen that by the embodiment of the present invention, obtaining multiple data types to be backed up, each data type pair to be backed up
Answer a priority, one synchronizing frequency of each priority correspondence, according to synchronizing frequency to multiple data type correspondences to be backed up
Data be monitored, when monitoring that new data occur in the corresponding data of data type i, the new data is backed up to into service
Device, data type i are any data type in multiple data types to be backed up.So as to can be used for by adjusting synchronizing frequency
To reduce the access frequency to server, that is, reduce the visit capacity of server.
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, multiple data types to be backed up are obtained, one priority of each data type correspondence to be backed up is each
One synchronizing frequency of the priority correspondence.
302nd, the corresponding data of the plurality of data type to be backed up are monitored according to the synchronizing frequency.
303rd, when monitoring that new data occur in the corresponding data of data type i, judge the memory size of the new data
Whether the second predetermined threshold value is more than.
Wherein, the second predetermined threshold value voluntarily can be arranged by user or system default.First, it may be determined that data type i pair
Whether the memory size of the new data answered, then, judge the memory size more than the second predetermined threshold value.
Specifically, the second predetermined threshold value is determined when monitoring that data type i has new data to occur, if by new data
Back up to server.For example, it is illustrated by photo of data type, the second predetermined threshold value is 100,000,000, by the synchronization for setting
Frequency, monitored a film,fault per 36 hours, big in the shared internal memory for monitoring new data (multiple pictures) and the new data
When 100,000,000, this 100,000,000 new data is backed up, that is, is backed up to server, when new data internal memory is less than 100,000,000, can
The backup of data is not carried out, and continues photo to be monitored according to synchronizing frequency.So as to, can in new data negligible amounts, not to service
Device conducts interviews, thus, it is possible to decrease the visit capacity of server.When user is not frequently taken a picture or mobile terminal using photographing unit
When merely add several photos, the size for increasing picture data newly may not be more than 100,000,000, at this moment can be without carrying out number of pictures
According to backup, so as to do not affect user using while alleviate the access pressure to server.
304th, when the memory size of the new data is more than second predetermined threshold value, the new data is backed up to into clothes
Business device, data type i is any data type in the plurality of data type to be backed up.
Wherein, step 301,302 and step 304 can refer to the corresponding steps of the data back up method described by Fig. 2.
As can be seen that by the embodiment of the present invention, obtaining multiple data types to be backed up, each data type pair to be backed up
Answer a priority, one synchronizing frequency of each priority correspondence, according to synchronizing frequency to multiple data type correspondences to be backed up
Data be monitored, when monitoring that new data occur in the corresponding data of data type i, and in the memory size of the new data
During more than the second factor threshold value, the new data is backed up to into server, during data type i is multiple data types to be backed up
Any data type.So as to, can be used to reduce the access frequency to server by adjusting synchronizing frequency, also, by setting
The second predetermined threshold value is put, when only the memory size of new data is more than second predetermined threshold value, just server is conducted interviews, because
And, it is possible to decrease the visit capacity of server.
Consistent with the abovely, Fig. 4 is referred to, is a kind of the 3rd 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:
401st, multiple data types to be backed up are obtained, one priority of each data type correspondence to be backed up is each
One synchronizing frequency of the priority correspondence.
402nd, the corresponding data of the plurality of data type to be backed up are monitored according to the synchronizing frequency.
403rd, when monitoring that new data occur in the corresponding data of data type i, determine the mobile terminal current electric quantity.
Wherein, the running status of the detectable battery of mobile terminal, so as to obtain current electric quantity.
404th, judge whether the current electric quantity can complete for the new data to back up to the server.
Alternatively, mobile terminal can determine estimated backup electricity according to the memory size of new data, if current electric quantity is more than
The estimated backup electricity, then illustrate that current electric quantity can complete for new data to back up to server.If current electric quantity is less than or waits
In estimated backup electricity, then illustrate that current electric quantity can not complete for new data to back up to server.Wherein, mobile terminal can root
Estimated backup electricity is determined according to the memory size of new data, specific embodiment can be as follows:Mobile terminal can obtain its backup note
Record, further determines that 1% electricity of consumption can transmit how many data.Thus, it may be determined that the memory size of new data obtains estimated standby
Part electricity.
405th, can complete for the new data to back up to the server in the current electric quantity, will be the new data standby
To server, data type i is any data type in the plurality of data type to be backed up to part.
Alternatively, can not complete for new data to back up to server in current electric quantity, then point out user to be charged, if
New data is then backed up to server, during data type i is multiple data types to be backed up under charged state by mobile terminal
Any data type.
Wherein, step 401,402 and step 405 can refer to the corresponding steps of the data back up method described by Fig. 2.
As can be seen that by the embodiment of the present invention, obtaining multiple data types to be backed up, each data type pair to be backed up
Answer a priority, one synchronizing frequency of each priority correspondence, according to synchronizing frequency to multiple data type correspondences to be backed up
Data be monitored, when monitoring that new data occur in the corresponding data of data type i, and in the memory size of the new data
During more than the second factor threshold value, the new data is backed up to into server, during data type i is multiple data types to be backed up
Any data type.So as to can be used to reduce the access frequency to server by adjusting synchronizing frequency, also, only working as
When front electricity can complete data backup to be carried out to new data, just carry out data backup, can not only reduce the visit capacity of server,
And the success rate of data backup can be ensured.
Consistent with the abovely, the device of above-mentioned data back up method is below carried out, it is specific as follows:
Fig. 5 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:Acquiring unit 501, monitoring means 502 and backup units 503, it is specific as follows:
Acquiring unit 501, for obtaining multiple data types to be backed up, each data type correspondence to be backed up
Priority, one synchronizing frequency of each priority correspondence;
Monitoring means 502, for being entered to the corresponding data of the plurality of data type to be backed up according to the synchronizing frequency
Row monitoring;
Backup units 503, for when monitoring that new data occur in the corresponding data of data type i, by the new data
Server is backed up to, data type i is any data type in the plurality of data type to be backed up.
Alternatively, such as Fig. 5 b, the backup units 503 of the terminal described by Fig. 5 a may include:First judge module, 5031 He
First backup module 5032, it is specific as follows:
First judge module 5031, for judging whether the current accessed amount of the server exceedes default load threshold;
First backup module 5032, when exceeding the load threshold for the current accessed amount in the server, pre-
If in the time period, execution is described backs up to server by the new data.
Alternatively, such as Fig. 5 c, the backup units 503 of the terminal described by Fig. 5 a may include:Second judge module, 4033 He
Second backup module 5034, it is specific as follows:
Second judge module 5033, for judging memory size shared by the new data whether more than the first predetermined threshold value;
Second backup module 5034, is internal memory shared by the new data for the judged result in first judge module
Size exceedes first predetermined threshold value, and the new data is split as multiple packets, will using multithreading or multi-process
The plurality of packet backs up to the server;
Second backup module 5034, also particularly useful for:
First predetermined threshold value is less than or equal in memory size shared by the new data, the new data is backed up to
The server.
Alternatively, such as Fig. 5 d, a kind of modification structures of Fig. 5 d for Fig. 5 c, which also includes:First judging unit 504, specifically
It is as follows:
First judging unit 504, for when monitoring that new data occur in the corresponding data of data type i, judging described
Whether the memory size of new data is more than the second predetermined threshold value, and is described in the judged result of first judging unit 504
When the memory size of new data is more than second predetermined threshold value, the new data is backed up to into institute by the backup units 503
State server.
Alternatively, such as Fig. 5 e, a kind of modification structures of Fig. 5 e for Fig. 5 c, which also includes:Determining unit 505 and second judges
Unit 506, it is specific as follows:
Determining unit 505, for when monitoring that new data occur in the corresponding data of data type i, determining the movement
Terminal current electric quantity;
Second judging unit 506, for judging whether the current electric quantity can complete for the new data to back up to institute
Server is stated, can complete for the current electric quantity in the judged result of second judging unit 506 will be the new data standby
The new data is backed up to the server by the backup units 503 to the server by part.
As can be seen that by the embodiment of the present invention, obtaining multiple data types to be backed up, each data type pair to be backed up
Answer a priority, one synchronizing frequency of each priority correspondence;According to the synchronizing frequency to the plurality of data to be backed up
The corresponding data of type are monitored;When monitoring that new data occur in the corresponding data of data type i, will be the new data standby
To server, data type i is any data type in the plurality of data type to be backed up to part.So as to reduce
Request number of times to server, reduces server load.
Fig. 6 is referred to, is a kind of second embodiment structural representation of mobile terminal provided in an embodiment of the present invention.This reality
The mobile terminal described in example is applied, including:At least one input equipment 1000;At least one outut device 2000;At least one
Individual processor 3000, such as CPU;With memorizer 4000, above-mentioned input equipment 1000, outut device 2000,3000 and of processor
Memorizer 4000 is connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse.
The concretely display screen of above-mentioned outut device 2000.
Above-mentioned memorizer 4000 can be high-speed RAM memorizer, alternatively nonvolatile storage (non-volatile
Memory), such as disk memory.Above-mentioned memorizer 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated
Go out the program code stored during equipment 2000 and processor 3000 are used to call memorizer 4000, perform following operation:
Above-mentioned processor 3000, is used for:
Multiple data types to be backed up are obtained, one priority of each data type correspondence to be backed up is each described
Priority one synchronizing frequency of correspondence;
The corresponding data of the plurality of data type to be backed up are monitored according to the synchronizing frequency;
When monitoring that new data occur in the corresponding data of data type i, the new data is backed up to into server, it is described
Data type i is any data type in the plurality of data type to be backed up.
Alternatively, the new data is backed up to server by above-mentioned processor 3000, including:
Judge whether the current accessed amount of the server exceedes default load threshold;
When the current accessed amount of the server exceedes the load threshold, perform in preset time period described by institute
State new data and back up to server.
Alternatively, the new data is backed up to server by above-mentioned processor 3000, including:
Judge memory size shared by the new data whether more than the first predetermined threshold value;
Exceed first predetermined threshold value in memory size shared by the new data, the new data is split as into many numbers
According to bag, the plurality of packet is backed up to by the server using multithreading or multi-process;
First predetermined threshold value is less than or equal in memory size shared by the new data, the new data is backed up to
The server.
Alternatively, above-mentioned processor 3000, it is described the new data is backed up to into server before, also particularly useful for:
Judge the memory size of the new data whether more than the second predetermined threshold value;
When the memory size of the new data is more than second predetermined threshold value, perform described by new data backup
To the server.
Alternatively, above-mentioned processor 3000, it is described the new data is backed up to into server before, also particularly useful for:
Determine the mobile terminal current electric quantity;
Judge whether the current electric quantity can complete for the new data to back up to the server;
Can complete for the new data to back up to the server in the current electric quantity, perform described by the new number
According to backing up to 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, includes 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, " include " that (comprising) word is not excluded for other compositions
Part or step, "a" or "an" are 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 adopt 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 using the calculating for wherein including computer usable program code at one or more
The computer program implemented in machine usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.)
The form of product.Computer program is stored/distributed in suitable medium, is provided or as the one of hardware together with other hardware
Part, it would however also be possible to employ other distribution forms, such as passes through 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 flow process and/or square frame in block diagram.These computer program instructions can be provided
Processor to general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is 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 and can guide computer or other programmable data processing devices with spy
Determine in 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 can be also loaded in 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 which.Correspondingly, the specification and drawings are only institute
The exemplary illustration of the present invention defined by attached claim, 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:
Multiple data types to be backed up are obtained, one priority of each data type correspondence to be backed up is each described preferential
Level one synchronizing frequency of correspondence;
The corresponding data of the plurality of data type to be backed up are monitored according to the synchronizing frequency;
When monitoring that new data occur in the corresponding data of data type i, the new data is backed up to into server, the data
Type i is any data type in the plurality of data type to be backed up.
2. method according to claim 1, it is characterised in that described that the new data is backed up to into server, including:
Judge whether the current accessed amount of the server exceedes default load threshold;
When the current accessed amount of the server exceedes the load threshold, perform in preset time period it is described will it is described newly
Data backup is to server.
3. method according to claim 1, it is characterised in that described that the new data is backed up to into server, including:
Judge memory size shared by the new data whether more than the first predetermined threshold value;
Exceed first predetermined threshold value in memory size shared by the new data, the new data is split as into multiple data
The plurality of packet is backed up to the server using multithreading or multi-process by bag;
First predetermined threshold value is less than or equal in memory size shared by the new data, the new data is backed up to described
Server.
4. the method according to any one of claims 1 to 3, it is characterised in that the new data is backed up to into clothes described
Before business device, methods described also includes:
Judge the memory size of the new data whether more than the second predetermined threshold value;
When the memory size of the new data is more than second predetermined threshold value, execution is described to back up to institute by the new data
State server.
5. the method according to any one of claims 1 to 3, it is characterised in that the new data is backed up to into clothes described
Before business device, methods described also includes:
Determine the mobile terminal current electric quantity;
Judge whether the current electric quantity can complete for the new data to back up to the server;
Can complete for the new data to back up to the server in the current electric quantity, execution is described will be the new data standby
Part is to server.
6. a kind of mobile terminal, it is characterised in that include:
Acquiring unit, for obtaining multiple data types to be backed up, each data type to be backed up corresponds to a priority,
One synchronizing frequency of each priority correspondence;
Monitoring means, for being monitored to the corresponding data of the plurality of data type to be backed up according to the synchronizing frequency;
Backup units, for when monitoring that new data occur in the corresponding data of data type i, the new data being backed up to clothes
Business device, data type i is any data type in the plurality of data type to be backed up.
7. mobile terminal according to claim 6, it is characterised in that the backup units include:
First judge module, for judging whether the current accessed amount of the server exceedes default load threshold;
First backup module, when exceeding the load threshold for the current accessed amount in the server, in preset time period
Interior execution is described to back up to server by the new data.
8. mobile terminal according to claim 6, it is characterised in that the backup units include:
Second judge module, for judging memory size shared by the new data whether more than the first predetermined threshold value;
Second backup module, for exceeding for memory size shared by the new data in the judged result of first judge module
The new data is split as multiple packets by first predetermined threshold value, will be the plurality of using multithreading or multi-process
Packet backs up to the server;
Second backup module, also particularly useful for:
First predetermined threshold value is less than or equal in memory size shared by the new data, the new data is backed up to described
Server.
9. the mobile terminal according to any one of claim 6 to 8, it is characterised in that the mobile terminal also includes:
First judging unit, for when monitoring that new data occur in the corresponding data of data type i, judging the new data
Whether memory size is more than the second predetermined threshold value, and first judging unit judged result be the new data internal memory
When size is more than second predetermined threshold value, the new data is backed up to into the server by the backup units.
10. the mobile terminal according to any one of claim 6 to 8, it is characterised in that the mobile terminal also includes:
Determining unit, for when monitoring that new data occur in the corresponding data of data type i, determining that the mobile terminal is current
Electricity;
Second judging unit, for judging whether the current electric quantity can complete for the new data to back up to the service
Device, can complete for the new data to back up to the clothes for the current electric quantity in the judged result of second judging unit
During business device, the new data is backed up to into the server by the backup units.
11. a kind of mobile terminals, it is characterised in that include:
Processor and memorizer;Wherein, the processor is by calling code in the memorizer or instruction to perform such as power
Profit requires the method described in 1 to 5 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610977295.7A CN106569917B (en) | 2016-11-07 | 2016-11-07 | Data backup method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610977295.7A CN106569917B (en) | 2016-11-07 | 2016-11-07 | Data backup method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106569917A true CN106569917A (en) | 2017-04-19 |
CN106569917B CN106569917B (en) | 2020-06-16 |
Family
ID=58539888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610977295.7A Active CN106569917B (en) | 2016-11-07 | 2016-11-07 | Data backup method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106569917B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107315657A (en) * | 2017-06-19 | 2017-11-03 | 浙江大华技术股份有限公司 | A kind of method and device of data backup |
CN107688513A (en) * | 2017-09-02 | 2018-02-13 | 长沙曙通信息科技有限公司 | A kind of disaster tolerant backup system data recovery prejudges implementation method |
CN108874580A (en) * | 2017-05-09 | 2018-11-23 | 上海爱数信息技术股份有限公司 | A kind of method backed up parallel, system, device and the medium of database |
CN110084371A (en) * | 2019-03-27 | 2019-08-02 | 平安国际智慧城市科技股份有限公司 | Model iteration update method, device and computer equipment based on machine learning |
CN112527560A (en) * | 2020-12-09 | 2021-03-19 | 广州技象科技有限公司 | Data backup method and device based on self-adaption of Internet of things terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155018A (en) * | 2006-09-28 | 2008-04-02 | 华为技术有限公司 | Data synchronization method and its implementing device and system |
CN102346784A (en) * | 2011-11-14 | 2012-02-08 | 苏州阔地网络科技有限公司 | Database backup method and system |
CN105162820A (en) * | 2015-06-25 | 2015-12-16 | 广东欧珀移动通信有限公司 | Data synchronous method and equipment |
CN105183585A (en) * | 2015-08-27 | 2015-12-23 | 北京金山安全软件有限公司 | Data backup method and device |
CN105224421A (en) * | 2015-10-19 | 2016-01-06 | 北京金山安全软件有限公司 | Data backup method and device and electronic equipment |
CN105511985A (en) * | 2015-12-01 | 2016-04-20 | 魅族科技(中国)有限公司 | Data backup method and terminal |
CN105637841A (en) * | 2013-10-17 | 2016-06-01 | 微软技术许可有限责任公司 | Data classification for adaptive synchronization |
-
2016
- 2016-11-07 CN CN201610977295.7A patent/CN106569917B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155018A (en) * | 2006-09-28 | 2008-04-02 | 华为技术有限公司 | Data synchronization method and its implementing device and system |
CN102346784A (en) * | 2011-11-14 | 2012-02-08 | 苏州阔地网络科技有限公司 | Database backup method and system |
CN105637841A (en) * | 2013-10-17 | 2016-06-01 | 微软技术许可有限责任公司 | Data classification for adaptive synchronization |
CN105162820A (en) * | 2015-06-25 | 2015-12-16 | 广东欧珀移动通信有限公司 | Data synchronous method and equipment |
CN105183585A (en) * | 2015-08-27 | 2015-12-23 | 北京金山安全软件有限公司 | Data backup method and device |
CN105224421A (en) * | 2015-10-19 | 2016-01-06 | 北京金山安全软件有限公司 | Data backup method and device and electronic equipment |
CN105511985A (en) * | 2015-12-01 | 2016-04-20 | 魅族科技(中国)有限公司 | Data backup method and terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874580A (en) * | 2017-05-09 | 2018-11-23 | 上海爱数信息技术股份有限公司 | A kind of method backed up parallel, system, device and the medium of database |
CN107315657A (en) * | 2017-06-19 | 2017-11-03 | 浙江大华技术股份有限公司 | A kind of method and device of data backup |
CN107688513A (en) * | 2017-09-02 | 2018-02-13 | 长沙曙通信息科技有限公司 | A kind of disaster tolerant backup system data recovery prejudges implementation method |
CN110084371A (en) * | 2019-03-27 | 2019-08-02 | 平安国际智慧城市科技股份有限公司 | Model iteration update method, device and computer equipment based on machine learning |
CN112527560A (en) * | 2020-12-09 | 2021-03-19 | 广州技象科技有限公司 | Data backup method and device based on self-adaption of Internet of things terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106569917B (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106569917A (en) | Data backup method and mobile terminal | |
EP2977854B1 (en) | Method, apparatus, and user terminal for removing malicious power consuming application | |
CN108776934B (en) | Distributed data calculation method and device, computer equipment and readable storage medium | |
CN104486138A (en) | Flow monitoring method and device and monitoring server | |
CN111800462B (en) | Micro service instance processing method, micro service instance processing device, computer equipment and storage medium | |
CN105302637A (en) | Restoration method and apparatus for jamming caused by system process runtime exception and mobile terminal | |
CN106547578A (en) | The loading method and device of terminal applies APP | |
CN111478857B (en) | Interface current limiting control method and device and electronic equipment | |
CN105956138A (en) | Database connection control method and apparatus | |
CN110308985B (en) | Cloud exclusive server resource management method, device, equipment and storage medium | |
CN112947830A (en) | Popup window display method and device, computer equipment and storage medium | |
CN104168309A (en) | Data backup and operation method based on cloud service | |
CN106940880A (en) | A kind of U.S. face processing method, device and terminal device | |
CN109800204A (en) | Data distributing method and Related product | |
CN111813573A (en) | Communication method of management platform and robot software and related equipment thereof | |
CN106648974A (en) | Data backup method and mobile terminal | |
CN108984339A (en) | Data reconstruction method and Related product | |
CN106383731B (en) | A kind of data migration method and mobile terminal | |
CN112783605A (en) | Thermal migration method, device, equipment and storage medium of virtual machine | |
CN106815062A (en) | A kind of business pipelined data processing method and processing device | |
CN111352719A (en) | Transaction book-keeping service data processing method, device and system | |
CN106445582A (en) | Application copy deletion method and terminal | |
CN109150593B (en) | Method and device for managing resources in cloud data system | |
CN112153719A (en) | Communication method, device, system and computer readable storage medium | |
CN105228139A (en) | A kind of call processing method based on smart machine, device and equipment |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |