CN106383753B - Using backup, restoring method and device - Google Patents

Using backup, restoring method and device Download PDF

Info

Publication number
CN106383753B
CN106383753B CN201610822999.7A CN201610822999A CN106383753B CN 106383753 B CN106383753 B CN 106383753B CN 201610822999 A CN201610822999 A CN 201610822999A CN 106383753 B CN106383753 B CN 106383753B
Authority
CN
China
Prior art keywords
data
application program
backup
application
operational order
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.)
Active
Application number
CN201610822999.7A
Other languages
Chinese (zh)
Other versions
CN106383753A (en
Inventor
于淼
梁博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610822999.7A priority Critical patent/CN106383753B/en
Publication of CN106383753A publication Critical patent/CN106383753A/en
Application granted granted Critical
Publication of CN106383753B publication Critical patent/CN106383753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure is directed to application backup, restoring method and devices.This includes: the operational order for receiving reduction application program using restoring method, and the operational order includes the application backup point label of application program to be restored, the temporal information and version information when using backup point label including the Application Backup;The application program is restored according to the operational order of the reduction application program.Above-mentioned technical proposal can arbitrarily carry out version switching to the same application.Avoid because upgrading after, new version it is unstable or not applicable, user's use is caused to perplex.Reduce installing and uninstalling repeatedly for application program.

Description

Using backup, restoring method and device
Technical field
This disclosure relates to field of terminal equipment, more particularly to application backup, restoring method and device.
Background technique
Mobile phone application diversification, perfect in shape and function it is current, using installation to mobile phone, application version with function increase not Disconnected upgrading.It but is not that the version that upgrades every time is all very stable or be suitable for user.In the related technology, mobile phone backup refers to hand The capsule information such as the data in machine, including address list, short message, message registration, application software, game are backed up, to prevent data It loses.Although a disadvantage is that needing artificially to back up the data in mobile phone.The time point of backup is uncertain, is similar to single Pure data save.
Summary of the invention
The embodiment of the present disclosure provides application backup, restoring method and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, it provides a kind of using backup method, comprising:
Monitor whether the downloading or upgrade request that receive user to application program;
When receiving the downloading or upgrade request, downloads or upgrade the application program and back up the downloading or liter Application program after grade.
Above-mentioned technical proposal works as reception by the downloading or upgrade request for monitoring whether to receive user to application program To when downloading or upgrade request, downloading or upgrade applications simultaneously back up the application program after downloading or upgrading.So as to root According to application upgrade function point, real-time, intelligent backup application program is not omitted and is changed using each function.
In one embodiment, the method may also include that
Whether monitoring preset data backup time reaches;
When the preset data backup time reaches, the data at the application program current time are backed up.
In one embodiment, answering in the downloading or after upgrading the application program and backing up the downloading or upgrade After program, the method may also include that
For the application assigned application backup point label after the downloading or upgrading, the application backup point label includes Temporal information and version information when the Application Backup.
In one embodiment, after the data at the backup application program current time, the method may be used also Include:
Data backup point label is distributed for the application data of the backup, the data backup point label includes described The temporal information of the data backup of application program.
According to the second aspect of an embodiment of the present disclosure, it provides a kind of using restoring method, comprising:
The operational order of reduction application program is received, the operational order includes the application backup of application program to be restored Point label, the temporal information and version information when using backup point label including the Application Backup;
The application program is restored according to the operational order of the reduction application program.
Above-mentioned technical proposal, by receiving the operational order of reduction application program, operational order includes application to be restored Temporal information and version information when the application backup point label of program using backup point label includes Application Backup, Application program is restored according to the operational order of reduction application program.So as to arbitrarily carry out version switching to the same application. Avoid because upgrading after, new version it is unstable or not applicable, user's use is caused to perplex.Reduce the installation repeatedly of application program And unloading.
In one embodiment, the method may also include that
The operational order for restoring the data of the application program is received, the operational order includes the number of data to be restored According to backup point label, the data backup point label includes the temporal information of the data backup of the application program;
The data of the application program are restored according to the operational order for the data for restoring the application program.
In one embodiment, the operational order reduction according to the data for restoring the application program is described applies journey The data of sequence, it may include:
Current application program is matched with the data;
When successful match, the data of the application program are restored according to the data backup point label;
When matching unsuccessful, prompt information is exported, the prompt information user prompts user to reselect data backup Point label.
In one embodiment, the method may also include that
Whether display restores the prompt information of the data of application program;
When receiving the operation for not restoring the data of application program, the data of current application program are emptied.
According to the third aspect of an embodiment of the present disclosure, it provides a kind of using restoring method, comprising:
The operational order of the data of reduction application program is received, the operational order includes that the data of data to be restored are standby Part point label, the data backup point label includes the temporal information of the data backup of the application program;
The data of the application program are restored according to the operational order of the data of the reduction application program.
Above-mentioned technical proposal, the operational order of the data by receiving reduction application program, operational order includes to be restored Data data backup point label, data backup point label includes the temporal information of the data backup of application program, according to also The data of the operational order reduction application program of the data of former application program.Thus in the case where not restoring application program, it can Only to restore the data of application program, to keep reduction mode more flexible, meet user demand.
In one embodiment, the operational order reduction of the data according to the reduction application program is described applies journey The data of sequence, it may include:
Current application program is matched with the data;
When successful match, the data of the application program are restored according to the data backup point label;
When matching unsuccessful, prompt information is exported, the prompt information user prompts data backup point mark described in user Label are mismatched with current application program.
According to a fourth aspect of embodiments of the present disclosure, it provides a kind of using back-up device, comprising:
First monitoring modular, downloading or upgrade request for monitoring whether to receive user to application program;
First backup module, for when the first monitoring module monitors receive the downloading or upgrade request, downloading or Upgrade the application program and backs up the application program after the downloading or upgrading.
In one embodiment, described device may also include that
Second monitoring modular, for monitoring whether preset data backup time reaches;
Second backup module, for backing up when the second monitoring module monitors are reached to the preset data backup time The data at the application program current time.
In one embodiment, described device may also include that
First distribution module, it is described for the application assigned application backup point label for the downloading or after upgrading Temporal information and version information when using backup point label including the Application Backup.
In one embodiment, described device may also include that
Second distribution module, for distributing data backup point label, the data for the application data of the backup Backup point label includes the temporal information of the data backup of the application program.
According to a fifth aspect of the embodiments of the present disclosure, it provides a kind of using reduction apparatus, comprising:
First receiving module, for receiving the operational order of reduction application program, the operational order includes to be restored The application backup point label of application program, temporal information when using backup point label including the Application Backup with And version information;
The operation of first recovery module, the reception reduction application program for being received according to first receiving module refers to It enables and restores the application program.
In one embodiment, described device may also include that
Second receiving module, for receiving the operational order for restoring the data of the application program, the operational order packet Data backup point label containing data to be restored, the data backup point label include the data backup of the application program Temporal information;
Second recovery module, the data of the reduction application program for being received according to second receiving module Operational order restores the data of the application program.
In one embodiment, second recovery module, it may include:
Matched sub-block, for matching current application program with the data;
Submodule is restored, for being restored according to the data backup point label when the matched sub-block successful match The data of the application program;
Prompting submodule, for exporting prompt information, the prompt information when matched sub-block matching is unsuccessful User prompts user to reselect data backup point label.
In one embodiment, described device may also include that
Display module, for showing the prompt information for whether restoring the data of application program;
Module is emptied, for emptying and working as when the display module receives the operation for not restoring the data of application program The data of preceding application program.
According to a sixth aspect of an embodiment of the present disclosure, it provides a kind of using reduction apparatus, comprising:
Receiving module, the operational order of the data for receiving reduction application program, the operational order includes to be restored Data data backup point label, the data backup point label include the data backup of the application program time letter Breath;
Recovery module, the operational order reduction of the data of the reduction application program for being received according to the receiving module The data of the application program.
In one embodiment, the recovery module, it may include:
Matched sub-block, for matching current application program with the data;
Submodule is restored, for restoring the application program according to the data backup point label when successful match Data;
Prompting submodule, for when matching unsuccessful, exporting prompt information, the prompt information user prompts user institute It states data backup point label and current application program mismatches.
According to the 7th of the embodiment of the present disclosure the aspect, provide a kind of using back-up device, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Monitor whether the downloading or upgrade request that receive user to application program;
When receiving the downloading or upgrade request, downloads or upgrade the application program and back up the downloading or liter Application program after grade.
According to the eighth aspect of the embodiment of the present disclosure, provide a kind of using reduction apparatus, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The operational order of reduction application program is received, the operational order includes the application backup of application program to be restored Point label, the temporal information and version information when using backup point label including the Application Backup;
The application program is restored according to the Application Backup point label.
According to the 9th of the embodiment of the present disclosure the aspect, provide a kind of using reduction apparatus, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The operational order of the data of reduction application program is received, the operational order includes that the data of data to be restored are standby Part point label, the data backup point label includes the temporal information of the data backup of the application program;
The data of the application program are restored according to the data backup point label.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the flow chart shown according to an exemplary embodiment using backup method.
Fig. 2 be it is shown according to an exemplary embodiment another apply backup method flow chart.
Fig. 3 be it is shown according to an exemplary embodiment another apply backup method flow chart.
Fig. 4 be it is shown according to an exemplary embodiment another apply backup method flow chart.
Fig. 5 is the flow chart shown according to an exemplary embodiment using restoring method.
Fig. 6 be it is shown according to an exemplary embodiment another apply restoring method flow chart.
Fig. 7 be it is shown according to an exemplary embodiment another apply restoring method flow chart.
Fig. 8 is another flow chart for applying restoring method shown according to an exemplary embodiment.
Fig. 9 is the block diagram shown according to an exemplary embodiment using back-up device.
Figure 10 be it is shown according to an exemplary embodiment another apply back-up device block diagram.
Figure 11 be it is shown according to an exemplary embodiment another apply back-up device block diagram.
Figure 12 be it is shown according to an exemplary embodiment another apply back-up device block diagram.
Figure 13 is the block diagram shown according to an exemplary embodiment using reduction apparatus.
Figure 14 be it is shown according to an exemplary embodiment another apply reduction apparatus block diagram.
Figure 15 is the block diagram shown according to an exemplary embodiment using the second recovery module 134 in reduction apparatus.
Figure 16 be it is shown according to an exemplary embodiment another apply reduction apparatus block diagram.
Figure 17 is another block diagram for applying reduction apparatus shown according to an exemplary embodiment.
Figure 18 is another block diagram using recovery module 172 in reduction apparatus shown according to an exemplary embodiment.
Figure 19 is the block diagram shown according to an exemplary embodiment for being suitable for application backup, reduction apparatus.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart using backup method shown according to an exemplary embodiment, as shown in Figure 1, this is answered Include the following steps S101-S102 with backup method:
In step s101, the downloading or upgrade request that receive user to application program are monitored whether.
In step s 102, when receiving downloading or upgrade request, downloading or upgrade applications and back up downloading or Application program after upgrading.
The above method is applied in terminal, and terminal for example can be mobile phone, after application program is installed to mobile phone, to pacify for the first time The backup point as application program is filled and upgrades every time later, after the completion of application program is installed and successfully or every time upgraded, by this Application Backup is into mobile phone.
After the completion of application program is installed and successfully or every time upgraded, in addition to by the Application Backup into mobile phone, it is It is not take up the memory of mobile phone, can not also be backed up in mobile phone, but by the Application Backup to cloud, i.e., in the application Program is installed perhaps complete upgrading each time after upgrade by the application program of installation or each time after version upload To cloud.
The above method of the embodiment of the present disclosure, by monitoring whether that receiving user asks the downloading or upgrading of application program Ask, when receiving downloading or upgrade request, downloading or upgrade applications and back up downloading or upgrading after application program.From And can be according to application upgrade function point, real-time, intelligent backup application program is not omitted and is changed using each function.
In one embodiment, as shown in Fig. 2, the above method can also include the steps of S103-S104:
In step s 103, whether monitoring preset data backup time reaches.
In step S104, when preset data backup time reaches, the data at backup application current time.
It may include two parts, the data backup of Application Backup and application program using backup.Preset data is standby Part moment can set and adjust according to the actual demand of user, for example, a data are backed up weekly, it is regular using data Backup provides initial data for application program reduction and data convert.
In one embodiment, as shown in figure 3, after step s 102, the above method can also include the steps of S105:
It in step s105, is the application assigned application backup point label after downloading or upgrading, using backup point mark Temporal information and version information when label include Application Backup.
It is each application assigned after downloading or every time upgrade applications for the ease of restoring application program Using backup point label.In application program reduction, the application program version to be restored can be selected according to application backup point label This.
In one embodiment, as shown in figure 4, after step s 104, the above method can also include the steps of S106:
In step s 106, data backup point label, data backup point label packet are distributed for the application data of backup Include the temporal information of the data backup of application program.
Data backup point label is established after each application data for the ease of restoring the data of application program, Database is written.When restoring the data of application program, the application program to be restored can be selected according to data backup point label Data.
The above-mentioned technical proposal of embodiment of the present disclosure offer is provided below with specific embodiment.
Embodiment one
Embodiment one applies backup method using what the embodiment of the present disclosure provided, and by taking application program C as an example, preset data is standby Part moment is primary at interval of backup in one week.This approach includes the following steps A1-A7:
Step A1 receives the installation instruction of user, installs application program C.
Step A2, whether detection application program C installs success, when application program C installs successfully standby part application program C, Application Backup point label is established, database is written.
Step A3, the data of backup application C, and data backup point label is established for the data of application program C, it is written Database.
Whether step A4, monitoring preset data backup time reach, and when reaching, are transferred to step A3.
Step A5, whether monitoring application program C needs to upgrade, when needing to upgrade, upgrade applications C.
Step A6, the application program C after backup upgrading, and establish using backup point label, database is written.
Step A7 is transferred to step A5 when monitoring that application program C needs to upgrade again.
Embodiment one, application program is after being installed to mobile phone, to install for the first time and upgrade application program the most every time later Backup point, establish Application Backup point label.The data of application do primary backup at regular intervals, and it is standby to establish data Part point label.So as to which according to application upgrade function point, real-time, intelligent backup application program is not omitted each function and is become More, and data schedule backup is applied, provides initial data for application program reduction and data convert.Due to application program and answer It can individually be backed up with the data of program, so that the program and data of application not only can be restored independently, can also be combined also Original can more preferably meet user demand.
Fig. 5 is a kind of flow chart using restoring method shown according to an exemplary embodiment, as shown in figure 5, this is answered Include the following steps S501-S502 with restoring method:
In step S501, the operational order of reduction application program is received, operational order includes application program to be restored Application backup point label, temporal information and version information when using backup point label including Application Backup.
In step S502, application program is restored according to the operational order of reduction application program.
The above method of the embodiment of the present disclosure, by receive reduction application program operational order, operational order include to Temporal information when the application backup point label of the application program of reduction using backup point label includes Application Backup and Version information restores application program according to the operational order of reduction application program.So as to arbitrarily be carried out to the same application Version switching.Avoid because upgrading after, new version it is unstable or not applicable, user's use is caused to perplex.Reduce application program Install and uninstall repeatedly.
In one embodiment, as shown in fig. 6, the above method can also include the steps of S503-S504:
In step S503, the operational order of the data of reduction application program is received, operational order includes number to be restored According to data backup point label, data backup point label includes the temporal information of the data backup of application program.
In step S504, according to the data of the operational order reduction application program of the data of reduction application program.
In the embodiment of the present disclosure, the reduction of application can be divided into the number of two parts, application program reduction and application program According to reduction, the two can be restored independently, can also combine reduction.In addition to restoring application program, in the present embodiment, to application Data can also be restored, can more preferably meet user demand.
In one embodiment, step S504 may be implemented as step A1-A3:
Step B1 matches current application program with data.
Step B2 restores the data of application program according to data backup point label when successful match.
Step B3 exports prompt information, it is standby that prompt information user prompts user to reselect data when matching unsuccessful Part point label.
When restoring application program, current application program is matched with data, sees whether application program is adapted to number According to data structure and field restore application program if successful match, if matching is unsuccessful, can prompt user weight New selection data backup point label.Since application program reduction and data convert are split, any data backup can be restored Data at point label, to make more flexible using restoring.
In one embodiment, as shown in fig. 7, the above method can also include the steps of S505-S506:
In step S505, whether display restores the prompt information of the data of application program.
In step S506, when receiving the operation for not restoring the data of application program, current application program is emptied Data.
After restoring application program, user is also an option that the data for not restoring application program, answers if user does not restore With the data of program, then current data is emptied, thus further satisfaction user demand.
Embodiment two
Embodiment two applies restoring method using what the embodiment of the present disclosure provided, still by taking application program C as an example, in embodiment Application Backup has been carried out to application program C in one and has applied data backup, in the present embodiment, application program C has been carried out Reduction, this approach includes the following steps C1-C7:
Backup point label is applied in step C1, selection, according to the backup file of application backup point tag extraction application program C.
Step C2, it is determined whether the data of reduction application program C.
Step C3 empties the data of current application program C when not restoring the data of application program C, and only journey is applied in reduction Sequence.
Step C4 selects the data backup point label of application data when restoring the data of application program C.
Step C5, according to data backup point tag extraction backup data file, matcher and data.
Step C6 when successful match, while restoring the program and data of application program C.
Step C7 prompts user to reselect data backup point label when matching unsuccessful.
Embodiment two, user can select the application program for needing to restore according to program backup point label, apply in reduction When program, user can choose whether that the data of matching application program only restore application program, clearly if non-matched data Empty current data according to selected application program adaptation data, while restoring application program and data if matched data.To User can to it is same application arbitrarily carry out version switching, avoid because upgrading after, new version it is unstable or not applicable, to Family use causes to perplex, and reduces installing and uninstalling repeatedly for application, avoids loss of data, while program and data are split, Reduction is flexible.
In above-described embodiment, the data of application program and application program can be restored simultaneously;It can also only reduction application Program does not restore the data of application program;The data that application program can also only be restored, do not restore application program.It is described below It is the embodiment for only restoring the data of application program.
Fig. 8 is another flow chart for applying restoring method shown according to an exemplary embodiment, as shown in figure 8, should Include the following steps S801-S802 using restoring method:
In step S801, the operational order of the data of reduction application program is received, operational order includes number to be restored According to data backup point label, data backup point label includes the temporal information of the data backup of application program.
In step S802, according to the data of the operational order reduction application program of the data of reduction application program.
For example, user has backed up the data of some application program in April, it is currently July, user feels 5-7 Month data not with or data during this produce mistake, then the data that can be backed up data convert to April, Otiose or wrong data can be weeded out in this way.
The above method of the embodiment of the present disclosure, the operational order of the data by receiving reduction application program, operational order Data backup point label comprising data to be restored, data backup point label include the time letter of the data backup of application program Breath, according to the data of the operational order reduction application program of the data of reduction application program.To not restore application program In the case of, the data that can only restore application program meet user demand to keep reduction mode more flexible.
In one embodiment, step S802 may be implemented as step B1-B3:
Step D1 matches current application program with data.
Step D2 restores the data of application program according to data backup point label when successful match.
Step D3 exports prompt information when matching unsuccessful, and prompt information user prompts user data backup point label It is mismatched with current application program.
When restoring the data of application program, current application program is matched with the data to be restored, is seen current Application program whether be adapted to the data structure and field of the data to be restored and restore application program if successful match Data, if matching is unsuccessful, the data and current application program for prompting user to be restored are mismatched.User can select again Select data backup point label.Since the data at any data backup point label can be restored, to make the data convert of application It is more flexible.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 9 is a kind of block diagram using back-up device shown according to an exemplary embodiment, which can be by soft Part, hardware or both are implemented in combination with as some or all of of electronic equipment.As shown in figure 9, this applies back-up device Include:
First monitoring modular 91 is configured as the downloading or upgrade request that monitor whether to receive user to application program;
First backup module 92 is configured as when the first monitoring modular 91 monitors and receives downloading or upgrade request, under Load or upgrade applications simultaneously back up the application program after downloading or upgrading.
The above-mentioned apparatus of the embodiment of the present disclosure, by monitoring whether that receiving user asks the downloading or upgrading of application program Ask, when receiving downloading or upgrade request, downloading or upgrade applications and back up downloading or upgrading after application program.From And can be according to application upgrade function point, real-time, intelligent backup application program is not omitted and is changed using each function.
In one embodiment, as shown in Figure 10, above-mentioned apparatus may also include that
Second monitoring modular 93, is configured as whether monitoring preset data backup time reaches;
Second backup module 94 is configured as when the second monitoring modular 93 monitors that preset data backup time reaches, The data at backup application current time.
In one embodiment, as shown in figure 11, above-mentioned apparatus may also include that
First distribution module 95 is configured as answering for the application assigned application backup point label after downloading or upgrading Temporal information and version information when with backup point label including Application Backup.
In one embodiment, as shown in figure 12, above-mentioned apparatus may also include that
Second distribution module 96 is configured as distributing data backup point label for the application data of backup, and data are standby Part point label includes the temporal information of the data backup of application program.
Figure 13 is a kind of block diagram using reduction apparatus shown according to an exemplary embodiment, which can be by soft Part, hardware or both are implemented in combination with as some or all of of electronic equipment.As shown in figure 13, this applies reduction apparatus Include:
First receiving module 131 is configured as receiving the operational order of reduction application program, and operational order includes to be restored Application program application backup point label, temporal information and version when using backup point label including Application Backup Information;
First recovery module 132 is configured as the reception reduction application program received according to the first receiving module 131 Operational order restores application program.
The above-mentioned apparatus of the embodiment of the present disclosure, by receive reduction application program operational order, operational order include to Temporal information when the application backup point label of the application program of reduction using backup point label includes Application Backup and Version information restores application program according to the operational order of reduction application program.So as to arbitrarily be carried out to the same application Version switching.Avoid because upgrading after, new version it is unstable or not applicable, user's use is caused to perplex.Reduce application program Install and uninstall repeatedly.
In one embodiment, as shown in figure 14, above-mentioned apparatus may also include that
Second receiving module 133 is configured as receiving the operational order of the data of reduction application program, and operational order includes The data backup point label of data to be restored, data backup point label include the temporal information of the data backup of application program;
Second recovery module 134 is configured as the data of the reduction application program received according to the second receiving module 133 Operational order reduction application program data.
In one embodiment, as shown in figure 15, the second recovery module 134, it may include:
Matched sub-block 151 is configured as matching current application program with data;
Submodule 152 is restored, is configured as when 151 successful match of matched sub-block, also according to data backup point label The data of former application program;
Prompting submodule 153 is configured as when matched sub-block 151 matches unsuccessful, exports prompt information, prompts letter Breath user prompts user to reselect data backup point label.
In one embodiment, as shown in figure 16, above-mentioned apparatus may also include that
Display module 135 is configured as the prompt information whether display restores the data of application program;
Module 136 is emptied, is configured as when display module 135 receives the operation for not restoring the data of application program, Empty the data of current application program.
Figure 17 is another block diagram for applying reduction apparatus shown according to an exemplary embodiment, which can pass through Software, hardware or both are implemented in combination with as some or all of of electronic equipment.As shown in figure 17, the application is also original-pack It sets and includes:
Receiving module 171 is configured as receiving the operational order of the data of reduction application program, and operational order includes to also The data backup point label of former data, data backup point label includes the temporal information of the data backup of application program;
Recovery module 172, the operation for being configured as the data of the reduction application program received according to receiving module 171 refer to Enable the data of reduction application program.
The above-mentioned apparatus of the embodiment of the present disclosure, the operational order of the data by receiving reduction application program, operational order Data backup point label comprising data to be restored, data backup point label include the time letter of the data backup of application program Breath, according to the data of the operational order reduction application program of the data of reduction application program.To not restore application program In the case of, the data that can only restore application program meet user demand to keep reduction mode more flexible.
In one embodiment, as shown in figure 18, recovery module 172, it may include:
Matched sub-block 181 is configured as matching current application program with data;
Submodule 182 is restored, is configured as when 181 successful match of matched sub-block, also according to data backup point label The data of former application program;
Prompting submodule 183 is configured as when matched sub-block 181 matches unsuccessful, exports prompt information, prompts letter Ceasing user prompts user data backup point label and current application program to mismatch.
The embodiment of the present disclosure also provides a kind of using back-up device, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Monitor whether the downloading or upgrade request that receive user to application program;
When receiving the downloading or upgrade request, downloads or upgrade the application program and back up the downloading or liter Application program after grade.
Above-mentioned processor is also configured to
Whether monitoring preset data backup time reaches;
When the preset data backup time reaches, the data at the application program current time are backed up.
Above-mentioned processor is also configured to
For the application assigned application backup point label after the downloading or upgrading, the application backup point label includes Temporal information and version information when the Application Backup.
Above-mentioned processor is also configured to
Data backup point label is distributed for the application data of the backup, the data backup point label includes described The temporal information of the data backup of application program.
The embodiment of the present disclosure also provides a kind of using reduction apparatus, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The operational order of reduction application program is received, the operational order includes the application backup of application program to be restored Point label, the temporal information and version information when using backup point label including the Application Backup;
The application program is restored according to the Application Backup point label.
Above-mentioned processor is also configured to
The operational order for restoring the data of the application program is received, the operational order includes the number of data to be restored According to backup point label, the data backup point label includes the temporal information of the data backup of the application program;
The data of the application program are restored according to the operational order for the data for restoring the application program.
Above-mentioned processor is also configured to
Current application program is matched with the data;
When successful match, the data of the application program are restored according to the data backup point label;
When matching unsuccessful, prompt information is exported, the prompt information user prompts user to reselect data backup Point label.
Above-mentioned processor is also configured to
Whether display restores the prompt information of the data of application program;
When receiving the operation for not restoring the data of application program, the data of current application program are emptied.
The embodiment of the present disclosure also provides a kind of using reduction apparatus, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The operational order of the data of reduction application program is received, the operational order includes that the data of data to be restored are standby Part point label, the data backup point label includes the temporal information of the data backup of the application program;
The data of the application program are restored according to the data backup point label.
Above-mentioned processor is also configured to
Current application program is matched with the data;
When successful match, the data of the application program are restored according to the data backup point label;
When matching unsuccessful, prompt information is exported, the prompt information user prompts data backup point mark described in user Label are mismatched with current application program.
Figure 19 is shown according to an exemplary embodiment a kind of for application backup, the block diagram of reduction apparatus, the device Suitable for terminal device.For example, device 1200 can be mobile phone, and computer, digital broadcasting terminal, messaging device, Game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 1200 may include following one or more components: processing component 1202, memory 1204, power supply module 1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module 1214, and Communication component 1216.
The integrated operation of the usual control device 1200 of processing component 1202, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1202 may include one or more processors 1220 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 may include one or more moulds Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 may include multi-media module, To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in device 1200.These data Example includes the instruction of any application or method for operating on device 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of device 1200.Power supply module 1206 may include power management System, one or more power supplys and other with for device 1200 generate, manage, and distribute the associated component of electric power.
Multimedia component 1208 includes the screen of one output interface of offer between described device 1200 and user.? In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1208 includes a front camera and/or rear camera.When device 1200 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat Gram wind (MIC), when device 1200 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication Component 1216 is sent.In some embodiments, audio component 1210 further includes a loudspeaker, is used for output audio signal.
I/O interface 1212 provides interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor module 1214 can detecte the state that opens/closes of device 1200, the relative positioning of component, such as institute The display and keypad that component is device 1200 are stated, sensor module 1214 can be with detection device 1200 or device 1,200 1 The position change of a component, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/deceleration and dress Set 1200 temperature change.Sensor module 1214 may include Jie Jinchuanganqi, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1200,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1204 of instruction, above-metioned instruction can be executed by the processor 1220 of device 1200 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1200 When device executes so that device 1200 be able to carry out it is above-mentioned using backup method, which comprises
Monitor whether the downloading or upgrade request that receive user to application program;
When receiving the downloading or upgrade request, downloads or upgrade the application program and back up the downloading or liter Application program after grade.
In one embodiment, the method may also include that
Whether monitoring preset data backup time reaches;
When the preset data backup time reaches, the data at the application program current time are backed up.
In one embodiment, answering in the downloading or after upgrading the application program and backing up the downloading or upgrade After program, the method may also include that
For the application assigned application backup point label after the downloading or upgrading, the application backup point label includes Temporal information and version information when the Application Backup.
In one embodiment, after the data at the backup application program current time, the method may be used also Include:
Data backup point label is distributed for the application data of the backup, the data backup point label includes described The temporal information of the data backup of application program.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1200 When device executes so that device 1200 be able to carry out it is above-mentioned using restoring method, which comprises
The operational order of reduction application program is received, the operational order includes the application backup of application program to be restored Point label, the temporal information and version information when using backup point label including the Application Backup;
The application program is restored according to the operational order of the reduction application program.
In one embodiment, the method may also include that
The operational order for restoring the data of the application program is received, the operational order includes the number of data to be restored According to backup point label, the data backup point label includes the temporal information of the data backup of the application program;
The data of the application program are restored according to the operational order for the data for restoring the application program.
In one embodiment, the operational order reduction according to the data for restoring the application program is described applies journey The data of sequence, it may include:
Current application program is matched with the data;
When successful match, the data of the application program are restored according to the data backup point label;
When matching unsuccessful, prompt information is exported, the prompt information user prompts user to reselect data backup Point label.
In one embodiment, the method may also include that
Whether display restores the prompt information of the data of application program;
When receiving the operation for not restoring the data of application program, the data of current application program are emptied.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1200 When device executes so that device 1200 be able to carry out it is above-mentioned using restoring method, which comprises
The operational order of the data of reduction application program is received, the operational order includes that the data of data to be restored are standby Part point label, the data backup point label includes the temporal information of the data backup of the application program;
The data of the application program are restored according to the operational order of the data of the reduction application program.
In one embodiment, the operational order reduction of the data according to the reduction application program is described applies journey The data of sequence, it may include:
Current application program is matched with the data;
When successful match, the data of the application program are restored according to the data backup point label;
When matching unsuccessful, prompt information is exported, the prompt information user prompts data backup point mark described in user Label are mismatched with current application program.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (5)

1. a kind of apply restoring method characterized by comprising
The operational order of reduction application program is received, the operational order includes the application backup point mark of application program to be restored Label, the temporal information and version information when using backup point label including the Application Backup;
According to the backup file using backup point tag extraction application program;
The operational order for restoring the data of the application program is received, the operational order includes that the data of data to be restored are standby Part point label, the data backup point label includes the temporal information of the data backup of the application program;
According to the data backup point tag extraction backup data file;
Match the data of the application program and application program;
When successful match, while restoring the program and data of application program;
When matching unsuccessful, user is prompted to reselect data backup point label.
2. the method according to claim 1, wherein in the operational order according to the reduction application program After restoring the application program, the method also includes:
Whether display restores the prompt information of the data of application program;
When receiving the operation for not restoring the data of application program, the data of current application program are emptied.
3. a kind of apply reduction apparatus characterized by comprising
First receiving module, for receiving the operational order of reduction application program, the operational order includes application to be restored The application backup point label of program, the temporal information and version when using backup point label including the Application Backup This information;
Second receiving module, for receiving the operational order for restoring the data of the application program, the operational order include to The data backup point label of the data of reduction, the data backup point label include the time of the data backup of the application program Information;
Recovery module, it is standby according to the data for according to the backup file using backup point tag extraction application program Part point tag extraction backup data file;Match the data of the application program and application program;When successful match, simultaneously also The program and data of former application program;When matching unsuccessful, user is prompted to reselect data backup point label.
4. device according to claim 3, which is characterized in that described device further include:
Display module, for showing the prompt information for whether restoring the data of application program;
Module is emptied, for emptying and currently answering when the display module receives the operation for not restoring the data of application program With the data of program.
5. a kind of apply reduction apparatus characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The operational order of reduction application program is received, the operational order includes the application backup point mark of application program to be restored Label, the temporal information and version information when using backup point label including the Application Backup;
The operational order for restoring the data of the application program is received, the operational order includes that the data of data to be restored are standby Part point label, the data backup point label includes the temporal information of the data backup of the application program;
According to the backup file using backup point tag extraction application program, according to the data backup point tag extraction number According to backup file;
Match the data of the application program and application program;
When successful match, while restoring the program and data of application program;
When matching unsuccessful, user is prompted to reselect data backup point label.
CN201610822999.7A 2016-09-13 2016-09-13 Using backup, restoring method and device Active CN106383753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610822999.7A CN106383753B (en) 2016-09-13 2016-09-13 Using backup, restoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610822999.7A CN106383753B (en) 2016-09-13 2016-09-13 Using backup, restoring method and device

Publications (2)

Publication Number Publication Date
CN106383753A CN106383753A (en) 2017-02-08
CN106383753B true CN106383753B (en) 2019-09-17

Family

ID=57936456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610822999.7A Active CN106383753B (en) 2016-09-13 2016-09-13 Using backup, restoring method and device

Country Status (1)

Country Link
CN (1) CN106383753B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112799370B (en) * 2019-10-28 2022-04-29 广州汽车集团股份有限公司 Control device, and vehicle-mounted system software restoration method and system
CN111045867B (en) * 2019-12-05 2024-04-09 深圳市科力锐科技有限公司 Data recovery method, device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461595A (en) * 2013-09-23 2015-03-25 联想(北京)有限公司 Application software upgrading roll-back method and device and electronic equipment
CN104636375A (en) * 2013-11-12 2015-05-20 中兴通讯股份有限公司 Method and device for automatically backing up application data and restoring application data according to needs
CN105607971A (en) * 2015-12-24 2016-05-25 努比亚技术有限公司 Data backup device and method
CN105677513A (en) * 2016-01-04 2016-06-15 北京小米移动软件有限公司 Method and device for restoring backup data
CN105786650A (en) * 2016-02-26 2016-07-20 广东欧珀移动通信有限公司 Data management method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461595A (en) * 2013-09-23 2015-03-25 联想(北京)有限公司 Application software upgrading roll-back method and device and electronic equipment
CN104636375A (en) * 2013-11-12 2015-05-20 中兴通讯股份有限公司 Method and device for automatically backing up application data and restoring application data according to needs
CN105607971A (en) * 2015-12-24 2016-05-25 努比亚技术有限公司 Data backup device and method
CN105677513A (en) * 2016-01-04 2016-06-15 北京小米移动软件有限公司 Method and device for restoring backup data
CN105786650A (en) * 2016-02-26 2016-07-20 广东欧珀移动通信有限公司 Data management method and device

Also Published As

Publication number Publication date
CN106383753A (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN104469741A (en) Terminal configuration method and device
US9886264B2 (en) Method and device for upgrading firmware
CN105848190A (en) OTA upgrading method and apparatus
CN104156236A (en) Storage space saving method and device
CN105553963B (en) The control method and device of positioning service
CN105204915A (en) Application program updating method, device and system
CN104484200A (en) Method and device for updating firmware
CN105098888A (en) Charging method and device
CN105607926A (en) Application icon update method and apparatus, electronic device and server
CN104951336A (en) Application program installation method and device
CN106488335A (en) Live-broadcast control method and device
CN105068848B (en) Method for upgrading system and device
CN105094931A (en) Software upgrading method and device
CN104267877A (en) Display method and device of expression pictures and electronic device
CN104376239A (en) Terminal unlocking method and device
CN104320774A (en) Updating method, device and facility
CN106231093A (en) Alarm clock prompting method and device
CN105306752A (en) Method and device for generating event prompt
CN104010072A (en) Electric quantity prompt method and device
CN105653165A (en) Method and device for regulating character display
CN104869169B (en) The update method and device of cloud business card
CN106383753B (en) Using backup, restoring method and device
CN106528113A (en) File compiling method and apparatus
CN105282295A (en) Candidate contact recommendation method and device
CN108577709B (en) Intelligent mop working method and device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant