CN105786650A - Data management method and device - Google Patents

Data management method and device Download PDF

Info

Publication number
CN105786650A
CN105786650A CN201610109484.2A CN201610109484A CN105786650A CN 105786650 A CN105786650 A CN 105786650A CN 201610109484 A CN201610109484 A CN 201610109484A CN 105786650 A CN105786650 A CN 105786650A
Authority
CN
China
Prior art keywords
data
backup
terminal applies
backed
backup data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610109484.2A
Other languages
Chinese (zh)
Inventor
张烨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610109484.2A priority Critical patent/CN105786650A/en
Publication of CN105786650A publication Critical patent/CN105786650A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/62Uninstallation

Abstract

The invention provides a data management method and device.The data management method comprises the steps of receiving an uninstalling instruction, wherein the uninstalling instruction is used for uninstalling a terminal application; according to the uninstalling instruction, obtaining data to be backed up corresponding to the terminal application; backing up the data to be backed up to obtain backup data; on the basis of the backup data, recovering the terminal application.According to the data management method and device, due to the fact that data is backed up conveniently when the uninstalling instruction is received, the data of the terminal application can be recovered, the function completeness is improved, and data losses are avoided.

Description

The management method of data and device
Technical field
The present invention relates to field of terminal technology, particularly relate to management method and the device of a kind of data.
Background technology
Along with the development of the terminal such as smart mobile phone, panel computer, the available function of terminal gets more and more.Such as, it is possible to various application program is installed, to be supplied to user's service for life miscellaneous, Consumer's Experience is drastically increased.
Along with continuing on of user, types of applications will generate various data, owing to user is very important by these data.But, when terminal applies is deleted by mistake, if user data is not backed-up before, after deletion, cause that user data is also deleted in the lump, thus causing the loss of data, the data before also cannot reducing, cause the user heavy losses;Visible existing backup mode perfect in shape and function is poor, it is easy to lose data.
Summary of the invention
The embodiment of the present invention provides management method and the device of a kind of data, and the management method perfect in shape and function to solve existing data is poor, be easily lost the technical problem of data.
For solving the problems referred to above, technical scheme provided by the invention is as follows:
The embodiment of the present invention provides the management method of a kind of data, comprising:
Receiving unloading command, described unloading command is for discharging terminal application;
According to described unloading command, obtain the data to be backed up that described terminal applies is corresponding;
Described data to be backed up are backed-up, obtain Backup Data;
Based on described Backup Data, described terminal applies is recovered.
The embodiment of the present invention also provides for the managing device of a kind of data, comprising:
Receiver module, is used for receiving unloading command, and described unloading command is for discharging terminal application;
Acquisition module, for according to described unloading command, obtaining the data to be backed up that described terminal applies is corresponding;
Backup module, for described data to be backed up are backed-up, obtains Backup Data;
Recover module, for described terminal applies being recovered based on described Backup Data.
Compared to prior art, the management method of the data of the present embodiment and device, by receiving unloading command, this unloading command is for discharging terminal application;According to this unloading command, obtain the data to be backed up that this terminal applies is corresponding;These data to be backed up are backed-up, obtain Backup Data;Based on this Backup Data, this terminal applies is recovered;Owing to when receiving unloading command, just data being backed-up such that it is able to the data of terminal applies are recovered, improves perfect in shape and function, it is prevented that loss of data.
Accompanying drawing explanation
The flow chart of the management method of the data that Fig. 1 provides for the embodiment of the present invention one;
The flow chart of the management method of the data that Fig. 2 provides for the embodiment of the present invention two;
The flow chart of the management method of the data that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of the managing device of the data that Fig. 4 provides for the embodiment of the present invention four;
The preferred structure schematic diagram of the managing device of the data that Fig. 5 provides for the embodiment of the present invention four.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those skilled in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Refer to the flow chart of the management method of the data that Fig. 1, Fig. 1 provide for the embodiment of the present invention one.
The management method of the data of this preferred embodiment, including:
Step S101, receives unloading command, and this unloading command is for discharging terminal application.
Such as, when user selects certain application program to carry out unloading operation, terminal receives this unloading command, and wherein, this unloading command is for discharging terminal application, and this terminal can be the equipment such as mobile phone, panel computer.
Step S102, according to this unloading command, obtains the data to be backed up that this terminal applies is corresponding;
Such as, when terminal receives this unloading command, it is determined that this application program needs the data of backup, i.e. data to be backed up.These data to be backed up be such as terminal applies file, the title of application program, the version number of application program and application data etc. are installed.
These data to be backed up are backed-up, obtain Backup Data by step S103.
Such as, the data needing backup in this application program are backed-up by terminal, and Backup Data can be backuped in this locality or server corresponding to this application program by such as terminal.
Step S104, recovers this terminal applies based on this Backup Data.
Such as, after user uninstalls certain application program, when this application program is installed again, it is not necessary to re-download this application program, directly uses the Backup Data of this application program that terminal applies is carried out data recovery, improve efficiency.
The management method of the data of this preferred embodiment, owing to when receiving unloading command, being just backed-up data such that it is able to the data of terminal applies are recovered, improves perfect in shape and function, it is prevented that loss of data.
Refer to the flow chart of the management method of the data that Fig. 2, Fig. 2 provide for the embodiment of the present invention two.
The management method of the data of this preferred embodiment, including:
Step 201, receives unloading command, and this unloading command is for discharging terminal application;
Such as, when user selects certain application program to carry out unloading operation, terminal receives this unloading command, and wherein, this unloading command is for discharging terminal application, and this terminal can be the equipment such as mobile phone, panel computer.
Step 202, according to this unloading command, obtains the data to be backed up that this terminal applies is corresponding;
Such as, when terminal is when receiving this unloading command, it is determined that this application program needs the data of backup, i.e. data to be backed up.These data to be backed up are such as the application message (such as installing file) of application program, the title of application program, the version number of application program and application data etc..
These data to be backed up are backed-up, obtain Backup Data by step 203;
Such as, the data needing backup in this application program are backed-up by terminal, and Backup Data can be backuped in this locality or server corresponding to this application program by such as terminal.
Searching this Backup Data for the ease of user, the above-mentioned step that these data to be backed up are backed-up includes:
(1) display reminding information, this information is used for pointing out user to input storage position;
(2) the storage position that user inputs is received according to this information;
(3) by this data backup to be backed up to this storage position.
Such as, when terminal gets data to be backed up, display reminding frame, to point out user to input store path, afterwards, user inputs concrete store path in prompting frame, and these data to be backed up are stored in the position that this store path is corresponding by terminal afterwards.
Certainly, in order to save the memory space of terminal, the Backup Data of the application program again do not installed in user's long period can also be deleted by terminal, and namely after this obtains the step of Backup Data, the method also includes:
Whether A, detection receive installation instruction in preset duration;
If B does not receive this installation instruction in preset duration, then this Backup Data is deleted.
Such as, terminal is previously stored with preset duration, and such as user is provided with the pot-life of data namely this preset duration in advance in terminal;Whether terminal detection receives the installation instruction of user's input in this preset duration, and this installation instruction is used for installing this application program;This preset duration can set based on experience value.
Step 204, receives installation instruction, and this installation instruction is used for installing this terminal applies;
Such as, when user installs the application program unloaded before again, terminal receives this installation instruction.
Step 205, according to this installation instruction, searches the Backup Data corresponding with this terminal applies;
Such as, when terminal receives this installation instruction, the Backup Data of this application program is just obtained;
In order to improve search efficiency, it is possible to according to the Backup Data of this application program of name lookup of application program, i.e. the step of the Backup Data that this lookup is corresponding with this terminal applies includes:
M, obtain the first identification information of this terminal applies;
Such as, this first identification information is the title of user's application to be installed program;When terminal receives installation instruction, obtain the title of this application program;
N, the second corresponding for all with presetting database for this first identification information Backup Datas identification information is mated;
Such as, terminal stores the Backup Data of the application program having multiple unloading in advance in presetting database, and this Backup Data can include the title of the application program of correspondence namely the second identification information.Such as, the title of the title of the application program of acquisition with all application programs in presetting database is compared by terminal;If the title of the application program obtained is identical with the title of an application program in presetting database, then judge this first identification information and this second identification information match.If the title of any one application program in the title of the application program obtained and presetting database is different from, then judging that this first identification information and this second identification information do not mate, now this application program is not carried out data recovery by terminal.
If this first identification information of L and this second identification information match, then Backup Data corresponding for this second identification information is defined as the Backup Data corresponding with this terminal applies.
When the title of the application program obtained is identical with the title of an application program in presetting database, by the Backup Data of this application program in presetting database, the Backup Data used during as terminal to the terminal applies recovery again installed.
Step 206, based on the Backup Data that this terminal applies is corresponding, recovers this terminal applies.
Such as, after user uninstalls certain application program, when this application program is installed again, this application program need not be re-downloaded, directly according to the step S205 Backup Data got, terminal applies is carried out data recovery, namely the data of backup when using this application program to unload, this application program carried out data recovery.
The management method of the data of this preferred embodiment, due to when receiving unloading command, just data are backed-up, when receiving installation instruction again, obtain this Backup Data, and to using this Backup Data that the data of terminal applies are recovered, further increase perfect in shape and function, it is prevented that loss of data.
Refer to the flow chart of the management method of the data that Fig. 3, Fig. 3 provide for the embodiment of the present invention three.
The present embodiment is described in detail for terminal applies for wechat, the management method of the data of this preferred embodiment, including:
Step 301, receives unloading command, and this unloading command is used for unloading wechat;
Such as, when user unloads wechat, terminal receives this unloading command, and wherein, this unloading command is used for unloading wechat, and this terminal can be the equipment such as mobile phone, panel computer.
Step 302, according to this unloading command, obtains the data to be backed up that this wechat is corresponding;
Such as, when terminal receives this unloading command, it is determined that need the data of backup in this wechat, the data of these needs backup are such as the application message (such as installing file) of wechat, the title of wechat, the version number of wechat and chat record etc..
These data to be backed up are backed-up, obtain Backup Data by step 303;
Such as, the application message (such as installing file) of wechat, the title of wechat, the version number of wechat and chat record etc. are backed-up by terminal, and terminal can by above-mentioned information back-up to local or that this application program is corresponding server.
Step 304, whether detection receives installation instruction in preset duration;
Such as, terminal is previously stored with preset duration, and this preset duration is such as 1 month, and terminal detects in 1 month, if receive the operation again installing wechat that user triggers.If terminal was not received by the operation of installation again that user triggers in 1 month, then perform step 305;If terminal received the operation of installation again that user triggers in 1 month, then perform step 306;
Step 305, if not receiving this installation instruction in preset duration, then deletes this Backup Data;
When terminal was not received by the operation of installation again that user triggers in 1 month, then time by unloading wechat, the data deletion of backup falls, to save memory space.
Step 306, if receiving this installation instruction in preset duration, then according to this installation instruction, searches the Backup Data corresponding with this wechat.
Such as, terminal stores the Backup Data of multiple application program in presetting database, the Backup Data of such as QQ, the Backup Data of wechat, Alipay Backup Data etc..When terminal received the operation of installation again that user triggers in 1 month, then in presetting database, search the Backup Data of wechat.
Step 307, based on the Backup Data that this wechat is corresponding, recovers this wechat.
Such as, after user uninstalls wechat, when again wechat being installed, wechat need not be re-downloaded, directly use the data (namely step S306 obtain Backup Data) of backup during unloading wechat, the wechat of this installation is carried out data recovery, improves efficiency.
The management method of the data of this preferred embodiment, due to when receiving unloading command, just the data of wechat are backed-up, when receiving installation instruction again, obtain this Backup Data, and to using this Backup Data that the data of wechat are recovered, further increase perfect in shape and function, it is prevented that loss of data.
Refer to the structural representation of the managing device of the data that Fig. 4, Fig. 4 provide for the embodiment of the present invention four.The managing device 40 of the data of this preferred embodiment includes: receiver module 41, acquisition module 42, backup module 43, recovery module 44;
Receiver module 41, is used for receiving unloading command, and this unloading command is for discharging terminal application;
Acquisition module 42, for according to this unloading command, obtaining the data to be backed up that this terminal applies is corresponding;
Backup module 43, for these data to be backed up are backed-up, obtains Backup Data;
Recover module 44, for this terminal applies being recovered based on this Backup Data.
As it is shown in figure 5, the managing device of these data also includes: detection module 45 and removing module 46;This backup module 43 includes: prompting submodule 431, first receives submodule 432, backup submodule 433;
Prompting submodule 431, for display reminding information, this information is used for pointing out user to input storage position;
First receives submodule 432, for receiving the storage position that user inputs according to this information;
Backup submodule 433, for by this data backup to be backed up to this storage position.
This recovery module 44 includes: second receives submodule 441, lookup submodule 442, recovery submodule 443;
Second receives submodule 441, is used for receiving installation instruction, and this installation instruction is used for installing this terminal applies;
Search submodule 442, for according to this installation instruction, searching the Backup Data corresponding with this terminal applies;
Recover submodule 443, for the Backup Data corresponding based on this terminal applies, this terminal applies is recovered.
This lookup submodule 442 specifically for:
Obtain the first identification information of this terminal applies;
The second corresponding for all with presetting database for this first identification information Backup Datas identification information is mated;
If this first identification information and this second identification information match, then Backup Data corresponding for this second identification information is defined as the Backup Data corresponding with this terminal applies.
This device also includes: detection module 45 and removing module 46;
This detection module 45, for after obtaining Backup Data, whether detection receives installation instruction in preset duration;
This removing module 46, for when not receiving this installation instruction in preset duration, deleting this Backup Data.
When being embodied as, above modules can realize as independent entity, it is also possible to carries out combination in any, realizes as same or several entities, and being embodied as of above modules referring to embodiment of the method above, can not repeat them here.
The managing device of the data of this preferred embodiment, due to when receiving unloading command, just data are backed-up, when receiving installation instruction, obtain this Backup Data, and to using this Backup Data that the data of terminal applies are recovered, further increase perfect in shape and function, it is prevented that loss of data.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can be by the hardware that program carrys out instruction relevant and completes, this program can be stored in a computer-readable recording medium, storage medium may include that read only memory (ROM, ReadOnlyMemory), random access memory (RAM, RandomAccessMemory), disk or CD etc..
Management method and the device of a kind of the data above embodiment of the present invention provided are described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for those skilled in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. the management method of data, it is characterised in that including:
Receiving unloading command, described unloading command is for discharging terminal application;
According to described unloading command, obtain the data to be backed up that described terminal applies is corresponding;
Described data to be backed up are backed-up, obtain Backup Data;
Based on described Backup Data, described terminal applies is recovered.
2. the management method of data according to claim 1, it is characterised in that the described step that described data to be backed up are backed-up includes:
Display reminding information, described information is used for pointing out user to input storage position;
Receive the storage position that user inputs according to described information;
By described data backup to be backed up to described storage position.
3. the management method of data according to claim 1, it is characterised in that the described step described terminal applies recovered based on described Backup Data includes:
Receiving installation instruction, described installation instruction is used for installing described terminal applies;
According to described installation instruction, search the Backup Data corresponding with described terminal applies;
Based on the Backup Data that described terminal applies is corresponding, described terminal applies is recovered.
4. the management method of data according to claim 3, it is characterised in that the step of the Backup Data that described lookup is corresponding with described terminal applies includes:
Obtain the first identification information of described terminal applies;
The second corresponding for all with presetting database for described first identification information Backup Datas identification information is mated;
If described first identification information and described second identification information match, then Backup Data corresponding for described second identification information is defined as the Backup Data corresponding with described terminal applies.
5. the management method of data according to claim 1, it is characterised in that after the described step obtaining Backup Data, described method also includes:
Whether detection receives installation instruction in preset duration;
If not receiving described installation instruction in preset duration, then described Backup Data is deleted.
6. the managing device of data, it is characterised in that including:
Receiver module, is used for receiving unloading command, and described unloading command is for discharging terminal application;
Acquisition module, for according to described unloading command, obtaining the data to be backed up that described terminal applies is corresponding;
Backup module, for described data to be backed up are backed-up, obtains Backup Data;
Recover module, for described terminal applies being recovered based on described Backup Data.
7. the managing device of data according to claim 6, it is characterised in that described backup module includes:
Prompting submodule, for display reminding information, described information is used for pointing out user to input storage position;
First receives submodule, for receiving the storage position that user inputs according to described information;
Backup submodule, for by described data backup to be backed up to described storage position.
8. the managing device of data according to claim 6, it is characterised in that described recovery module includes:
Second receives submodule, is used for receiving installation instruction, and described installation instruction is used for installing described terminal applies;
Search submodule, for according to described installation instruction, searching the Backup Data corresponding with described terminal applies;
Recover submodule, for the Backup Data corresponding based on described terminal applies, described terminal applies is recovered.
9. the managing device of data according to claim 8, it is characterised in that described lookup submodule specifically for:
Obtain the first identification information of described terminal applies;
The second corresponding for all with presetting database for described first identification information Backup Datas identification information is mated;
If described first identification information and described second identification information match, then Backup Data corresponding for described second identification information is defined as the Backup Data corresponding with described terminal applies.
10. the managing device of data according to claim 6, it is characterised in that described device also includes: detection module and removing module;
Described detection module, for after obtaining Backup Data, whether detection receives installation instruction in preset duration;
Described removing module, for when not receiving described installation instruction in preset duration, deleting described Backup Data.
CN201610109484.2A 2016-02-26 2016-02-26 Data management method and device Pending CN105786650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610109484.2A CN105786650A (en) 2016-02-26 2016-02-26 Data management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610109484.2A CN105786650A (en) 2016-02-26 2016-02-26 Data management method and device

Publications (1)

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

Family

ID=56402976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610109484.2A Pending CN105786650A (en) 2016-02-26 2016-02-26 Data management method and device

Country Status (1)

Country Link
CN (1) CN105786650A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383753A (en) * 2016-09-13 2017-02-08 北京小米移动软件有限公司 Application backup method and device and application restoration method and device
CN108471470A (en) * 2018-03-14 2018-08-31 维沃移动通信有限公司 A kind of message prompt method and mobile terminal
CN109189406A (en) * 2018-07-27 2019-01-11 努比亚技术有限公司 A kind of application management method, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831035A (en) * 2012-08-20 2012-12-19 腾讯科技(深圳)有限公司 Information backup method and device
US20140114924A1 (en) * 2012-10-19 2014-04-24 International Business Machines Corporation Data loading tool
CN104881299A (en) * 2014-02-28 2015-09-02 可牛网络技术(北京)有限公司 Application program freezing method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831035A (en) * 2012-08-20 2012-12-19 腾讯科技(深圳)有限公司 Information backup method and device
US20140114924A1 (en) * 2012-10-19 2014-04-24 International Business Machines Corporation Data loading tool
CN104881299A (en) * 2014-02-28 2015-09-02 可牛网络技术(北京)有限公司 Application program freezing method and apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383753A (en) * 2016-09-13 2017-02-08 北京小米移动软件有限公司 Application backup method and device and application restoration method and device
CN106383753B (en) * 2016-09-13 2019-09-17 北京小米移动软件有限公司 Using backup, restoring method and device
CN108471470A (en) * 2018-03-14 2018-08-31 维沃移动通信有限公司 A kind of message prompt method and mobile terminal
CN109189406A (en) * 2018-07-27 2019-01-11 努比亚技术有限公司 A kind of application management method, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106407356B (en) Data backup method and device
CN102591745B (en) Method and device for system recovery based on android system and intelligent equipment
CN102831035A (en) Information backup method and device
US8260752B1 (en) Systems and methods for change tracking with multiple backup jobs
CN102346697A (en) Method and system for backing up and recovering Android package (APK) and mobile terminal
CN101167058B (en) Apparatus, method and system for restoring files
CN104881299A (en) Application program freezing method and apparatus
CN103577567A (en) Method for uninstalling application and deleting garbage file in Android system
CN103473277A (en) Snapshot method and device for file systems
CN105468475A (en) Backup method and backup device of database
CN102223361A (en) Communication systems and data synchronization methods
CN101714107A (en) Database backup and recovery method and device in ERP system
CN103034592A (en) Data processing method and device
CN104461773A (en) Backup deduplication method of virtual machine
CN102750204A (en) Data recovery method and device
CN105786650A (en) Data management method and device
CN103634032B (en) Data transfering method, system and mobile terminal
CN103176867A (en) Fast file differential backup method
CN105760251A (en) Data backup method and device
CN111581017A (en) Backup and recovery system and method for modern application
CN104951348A (en) Interruptible recovery upgrading method and device
CN104407942A (en) Off-site storage based Linux operation system backup recovery method
CN109753379B (en) Snapshot data backup and deletion method, device and system
CN106055372A (en) Method and device for uninstalling application
CN104765631A (en) Restoration method and device for application program of mobile terminal

Legal Events

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

Application publication date: 20160720

RJ01 Rejection of invention patent application after publication