CN106648986A - Data backup method and data backup device - Google Patents

Data backup method and data backup device Download PDF

Info

Publication number
CN106648986A
CN106648986A CN201611202255.1A CN201611202255A CN106648986A CN 106648986 A CN106648986 A CN 106648986A CN 201611202255 A CN201611202255 A CN 201611202255A CN 106648986 A CN106648986 A CN 106648986A
Authority
CN
China
Prior art keywords
user
data
user data
application program
statistics
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
CN201611202255.1A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201611202255.1A priority Critical patent/CN106648986A/en
Publication of CN106648986A publication Critical patent/CN106648986A/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
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data backup method and a data backup device, relating to the technical field of communication, and solving the problem that inconvenience is brought to a user due to a result of loss of user data after backup of an application program in the prior art. The method comprises the following steps: displaying a user data statistic result corresponding to the application program to the user when the application program needs to be backed up; and backing up the corresponding user data and the application program according to selection of the user on the user data statistic result.

Description

A kind of data back up method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of data back up method and device.
Background technology
When user needs to use application program (i.e. the App) for oneself commonly using on new intelligent mobile terminal, general meeting Re-download, or using key function of changing planes App is transferred on new equipment from used equipment;Needing backup in addition During the related data of App, such as by other terminal or to be applied carrying out using comparatively laborious or indirectly means.
After App is re-downloaded on new equipment, account information can be obtained by logging in, but before cannot obtaining Some data informations for being accumulated, will re-download, such as the offline map of map software, dictionary or the offline word of learning software Storehouse and offline word bag, wechat collection caching and expression bag, some inquiries and search for the caching that the users such as record are reluctant to lose File etc..A current various keys are changed planes function, predominantly contact person, note, application, picture, video, music etc. number of duplication According to, and application therein is, simply various application self transmissions are on new equipment and install, to be equally unable to reach transmission The effect of aforementioned data.And changing planes two mobile phones of often may require that of a key just can be completed while closely operating.If in addition When simply backing up some user data of popular software, it will usually have various limitations, such as wechat chat record migration needs to use To Wifi networks, and backuping to computer then needs to download its fail-safe software.Other offline maps being previously mentioned are currently with dictionary Backup functionality is not provided.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of data back up method and device, to solve prior art The problem that many user data loss are made troubles to user after middle Application Backup.
On the one hand, the present invention provides a kind of data back up method, including:When needing Application Backup, to user Show the corresponding user data statistics of the application program;According to choosing of the user to the user data statistics Select, corresponding user data is backed up together with the application program.
Optionally, it is described to display to the user that the corresponding user data statistics of the application program includes:Answer described With in program cache all customer data counted according to different data type or cache location, and by statistics to The user shows.
Optionally, the data type of the user data is included in document, picture, audio frequency, video and web page interlinkage extremely Few one kind.
Optionally, the cache location of the user data includes the CACHE DIRECTORY of the user data.
Optionally, the selection according to the user to the user data statistics, by corresponding user data Back up together with the application program including:Data type or cache location that the user selects are received, by corresponding data class The user data of type or the user data of respective cache position are backed up together with the application program.
Optionally, the selection according to the user to the user data statistics, by corresponding user data Back up together with the application program including:Receive data type or cache location that the user selects;It is aobvious to the user Show the user data that every kind of data type includes, or the user data that every kind of cache location includes is shown to the user;Will The user data that the user selects is backed up together with the application program.
Further, the selection according to the user to the user data statistics, by corresponding user data with After the application program is backed up together, methods described also includes:When needs are carried out to the user data in the application program During backup, the corresponding user data statistics of the application program is displayed to the user that;According to the user to the number of users The selection of result according to statistics, the corresponding relation set up between the user data and the application program;Correspondence pass will be established The user data of system carries out data backup, so that the application program installed in other equipment is according to the corresponding relation Import the user data.
On the other hand, embodiments of the invention also provide a kind of data backup device, including:Display unit, needs for working as During by Application Backup, the corresponding user data statistics of the application program is displayed to the user that;Backup units, are used for It is according to selection of the user to the user data statistics, corresponding user data is standby together with the application program Part.
Optionally, the display unit, specifically for:By all customer data cached in the application program according to not Same data type or cache location is counted, and statistics is shown to the user.
Optionally, the backup units, specifically for:Data type or cache location that the user selects are received, will The user data of corresponding data type or the user data of respective cache position are backed up together with the application program;Or connect Receive data type or cache location that the user selects;The user data that every kind of data type includes is shown to the user, Or show the user data that every kind of cache location includes to the user;The user data that the user is selected is answered with described Backed up together with program.
Data back up method provided in an embodiment of the present invention and device, when user enables new terminal device or wish will Data carry out backup preserve when, can by user wish preserve data and application together with packing backup, so by Install on new equipment and apply and directly read these data, so that using the state that user is most accustomed to is rapidly entered, having Effect improves Consumer's Experience.
Description of the drawings
Fig. 1 is a kind of flow chart of data back up method provided in an embodiment of the present invention;
Fig. 2 is another kind of flow chart of data back up method provided in an embodiment of the present invention;
Fig. 3 provides a kind of structural representation of data backup device for the embodiment of the present invention.
Specific embodiment
Further to illustrate the present invention to reach technological means and effect that predetermined purpose is taken, below in conjunction with accompanying drawing And preferred embodiment, the present invention is described in detail as after.By the explanation of specific embodiment, should be to the present invention Reach technological means that predetermined purpose taken and effect be able to more deeply and it is specific understand, but appended diagram is only carried For reference with purposes of discussion, not for being any limitation as to the present invention.
As shown in figure 1, embodiments of the invention provide a kind of data back up method, including:
S11, when needing Application Backup, displays to the user that the corresponding user data statistics knot of the application program Really;
S12, according to selection of the user to the user data statistics, corresponding user data is answered with described Backed up together with program.
Data back up method provided in an embodiment of the present invention, when user enables new terminal device or data is entered in hope When row backup is preserved, user can be wished the data for preserving packing backup together with application, so can be set in new These data are applied and directly read in standby upper installation, so that using the state that user is most accustomed to is rapidly entered, effectively being lifted Consumer's Experience.
Specifically, a variety of application programs are installed, user every time can using these application programs in mobile terminal Some can be produced with the user-dependent data.For the application for possessing data backup value, its caching Generally between several M to hundreds of M, such as the offline word bag that hundred words are cut can have as many as 300 M to size.And these are data cached Some can be divided into again, the map of existing download, map off-line data, navigating resources such as in the application cache of Baidu map The metastable cachings such as bag, also there is the temporal caches such as real-time road, ephemeral data.When user needs to enter some application programs During row backup, in order to avoid important user data loss, the corresponding user data of the application program can be displayed to the user that Statistics, waits user that the user data for wanting to remain is selected from these user data statisticses.
Optionally, in step s 11, display to the user that the corresponding user data statistics of the application program can be wrapped Include:
The all customer data cached in the application program is united according to different data type or cache location Meter, and statistics is shown to the user.Optionally, the data type of user data may include document, picture, audio frequency, One or more in video and web page interlinkage.The cache location of user data may include the CACHE DIRECTORY of user data, different Its cache location of user data under file is different.
Illustrate, in one embodiment of the invention, when user wants to back up wechat, can count in wechat Various user data, and statistics is shown to user:Express one's feelings bag, the caching of collection, speech message and the chat of download Picture etc..Optionally, the statistics can include the size that every kind of user data takes up room, the number of files that the inside includes Amount, the storage location of each file or folder, renewal time of file etc..Optionally, in an alternative embodiment of the invention In, it is also possible to do not counted and shown according to the type of user data, but used according to the cache location of various files Amount according to statistics and shows that the user data during identical file is pressed from both sides counted together and shown.
Optionally, when these statisticses are shown to user, both can be particularly shown under user data of all categories It is detailed, it is also possible to the user data of each classification to be shown by different level, in ground floor data category is only shown to, when user's point After hitting one of which data category, can further show in such data there is which specific data file.So, both facilitate Collection and uniform disposal of the user to each class user data, also allows for the concrete file that user is checked under each data category, and Carry out for some files individually operated.
User has been selected after corresponding user data, can be tied according to user to user data statistics in step s 12 The selection of fruit, corresponding user data is backed up together with the application program.
Illustrate, when the statistics of user data is shown to user according to data category, user can select it In a class or a few class data backing up together with application program.Such as, select to carry out the offline map datum in high moral map Backup, and real time traffic data is selected to be not backed up.And work as the system for showing user data to user according to data buffer storage position During meter result, user can select to back up the data in one of them or several files together with application.
Can be needed to select the data type to be backed up according to oneself due to user, and be packed together with application, Form an installation kit, therefore when user needs restoring data or on new equipment installs this and apply, only need to directly make Installed with installation kit, it is possible to obtain the application with relative users data, without the need for user corresponding user is downloaded again Data, greatly improve Consumer's Experience.
Optionally, in the specific implementation, both the unification of the user data of a certain type or cache location can be backed up, File in all types of or cache location can also further be selected, be backed up according to the selection result to file. Embodiments of the invention are not limited this.So, collection and uniform disposal of the user to each class user data had both been facilitated, also just In the concrete file that user is checked under each data category, and carry out for some files individually operated.
For example, in one embodiment of the invention, the selection according to user to the user data statistics, by phase The user data answered is backed up together with the application program and may include:Receive data type or cache bit that the user selects Put, the user data of the user data of corresponding data type or respective cache position is backed up together with the application program.
In another embodiment of the present invention, the selection according to the user to the user data statistics, will Corresponding user data is backed up together with the application program and may include:
Receive data type or cache location that the user selects;
The user data that every kind of data type includes is shown to the user, or every kind of cache bit is shown to the user Put the user data for including;
The user data that the user selects is backed up together with the application program.
Further, because application program may be accompanied by use the renewal of user data, when carrying out data backup, It is possible to all back up whole application program and corresponding user data, and is only once to back up front On the basis of to update user data back up, so as to by the user data of renewal by former application program read use.In order to Above-mentioned purpose is realized, in one embodiment of the invention, according to selection of the user to the user data statistics, After corresponding user data is backed up together with the application program, methods described may also include:
When needing to back up the user data in the application program, the application program correspondence is displayed to the user that User data statistics;
According to selection of the user to the user data statistics, the user data is set up with the application journey Corresponding relation between sequence;For example, by filename, file storage location etc. set up between user data and application program it is right Should be related to;
The user data for establishing corresponding relation is carried out into data backup, so that the described of installation should in other equipment The user data is imported according to the corresponding relation with program.
Illustrate, it is assumed that user uses " cruel my music " to download and plays song, user carries out for the first time " my sound cruel It is happy " backup when, by including all locally downloading song pack together with application program backup.Hereafter, user " cruel my music " is used to download a few film songs again, user wishes to be also carried out this newly downloaded a few film song standby Part, then the statistics of the various user data that " cruel my music " includes can be displayed to the user that, for example, can be according to renewal Various user data are ranked up and are selected for user by the morning and evening of time.Then can be set up according to the cache location of these songs Song and the corresponding relation of " cruel my music " application program, the song for establishing corresponding relation is backed up.So, other set " cruel my music " application program of standby upper installation can import corresponding songs according to these corresponding relations set up.
The data back up method that the present invention is provided is described in detail below by specific embodiment.
As shown in Fig. 2 in the present embodiment, data backup procedure may include following steps:
S201, user select the application program for wanting to pack;
S202, the user data for scanning application program correlation and slitting are enumerated and selected for user;
S203, receive user select want retain subscriber data with it is data cached;
S204, by the selected user data of user with application together be packaged as installation kit;
The renewal of S205, receive user to user data is asked;
S206, the corresponding relation set up between the user data and application program for updating;
S207, backup that the user data for establishing corresponding relation is packed;
The application program installed in S208, other equipment imports the number of users of the renewal according to the corresponding relation According to.
The present embodiment increases App user data packing function, Neng Gougen on the intelligent mobile terminal with mobile phone as representative Need to carry out the application to be packed data scanning according to user, and selective packing is carried out to different data types, and should With being packaged into installation kit jointly.So just easily user data can be backed up and dump, so as to when being necessary Carry out data recovery.Equally can be installed on other equipment and be directly read user data therein, so as to suitable In by the application of oneself intactly from a device replication to another equipment.Under so just can saving on new equipment again The process of data is carried and accumulates, user just can continue in new equipment on the basis of legacy data in the way of oneself is most adapted to On using the application, so as to save the time for user, there is provided convenient, effectively improve Consumer's Experience.
Accordingly, as shown in figure 3, embodiments of the invention also provide a kind of data backup device, including:
Display unit 31, for when needing Application Backup, displaying to the user that the corresponding use of the application program User data statistics;
Backup units 32, for the selection according to the user to the user data statistics, by corresponding user Data are backed up together with the application program.
Data backup device provided in an embodiment of the present invention, when user enables new terminal device or data is entered in hope When row backup is preserved, user can be wished the data for preserving packing backup together with application, so can be set in new These data are applied and directly read in standby upper installation, so that using the state that user is most accustomed to is rapidly entered, effectively being lifted Consumer's Experience.
Optionally, display unit 31, are particularly used in:By all customer data cached in the application program according to not Same data type or cache location is counted, and statistics is shown to the user.
Optionally, the data type of user data may include the one kind in document, picture, audio frequency, video and web page interlinkage Or it is several.The cache location of user data may include the CACHE DIRECTORY of user data, the user data under different files its delay Deposit position different.
Optionally, backup units 32, are particularly used in:Data type or cache location that the user selects are received, will The user data of corresponding data type or the user data of respective cache position are backed up together with the application program;
Optionally, backup units 32, are particularly used in:Receive data type or cache location that the user selects;To The user shows the user data that every kind of data type includes, or shows the use that every kind of cache location includes to the user User data;The user data that the user selects is backed up together with the application program.
Although being example purpose, the preferred embodiments of the present invention are had been disclosed for, those skilled in the art will recognize Various improvement, increase and replacement are also possible, therefore, the scope of the present invention should be not limited to above-described embodiment.

Claims (10)

1. a kind of data back up method, it is characterised in that include:
When needing Application Backup, the corresponding user data statistics of the application program is displayed to the user that;
According to selection of the user to the user data statistics, by corresponding user data and the application program one Play backup.
2. method according to claim 1, it is characterised in that described to display to the user that the corresponding user of the application program Data statistics result includes:
The all customer data cached in the application program is counted according to different data type or cache location, and Statistics is shown to the user.
3. method according to claim 2, it is characterised in that the data type of the user data include document, picture, At least one in audio frequency, video and web page interlinkage.
4. method according to claim 2, it is characterised in that the cache location of the user data includes the number of users According to CACHE DIRECTORY.
5. the method according to any one of claim 2 to 4, it is characterised in that it is described according to the user to the use The selection of user data statistics, by corresponding user data back up together with the application program including:
Data type or cache location that the user selects are received, by the user data or respective cache of corresponding data type The user data of position is backed up together with the application program.
6. the method according to any one of claim 2 to 4, it is characterised in that it is described according to the user to the use The selection of user data statistics, by corresponding user data back up together with the application program including:
Receive data type or cache location that the user selects;
The user data that every kind of data type includes is shown to the user, or every kind of cache location bag is shown to the user The user data for including;
The user data that the user selects is backed up together with the application program.
7. method according to claim 1, it is characterised in that according to the user to the user data statistics Select, after corresponding user data is backed up together with the application program, methods described also includes:
When needing to back up the user data in the application program, the corresponding use of the application program is displayed to the user that User data statistics;
According to selection of the user to the user data statistics, set up the user data and the application program it Between corresponding relation;
The user data for establishing corresponding relation is carried out into data backup, so that the application journey installed in other equipment Sequence imports the user data according to the corresponding relation.
8. a kind of data backup device, it is characterised in that include:
Display unit, for when needing Application Backup, displaying to the user that the corresponding user data of the application program Statistics;
Backup units, for the selection according to the user to the user data statistics, by corresponding user data with The application program is backed up together.
9. device according to claim 8, it is characterised in that the display unit, specifically for:By the application program The all customer data of middle caching is counted according to different data type or cache location, and by statistics to the use Family shows.
10. device according to claim 8 or claim 9, it is characterised in that the backup units, specifically for:Receive the use Data type or cache location that family selects, by the user data of corresponding data type or the user data of respective cache position Back up together with the application program;
Or
Receive data type or cache location that the user selects;
The user data that every kind of data type includes is shown to the user, or every kind of cache location bag is shown to the user The user data for including;
The user data that the user selects is backed up together with the application program.
CN201611202255.1A 2016-12-23 2016-12-23 Data backup method and data backup device Pending CN106648986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611202255.1A CN106648986A (en) 2016-12-23 2016-12-23 Data backup method and data backup device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611202255.1A CN106648986A (en) 2016-12-23 2016-12-23 Data backup method and data backup device

Publications (1)

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

Family

ID=58828306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611202255.1A Pending CN106648986A (en) 2016-12-23 2016-12-23 Data backup method and data backup device

Country Status (1)

Country Link
CN (1) CN106648986A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110716825A (en) * 2018-07-12 2020-01-21 阿里巴巴集团控股有限公司 Data disaster tolerance processing method, device and system
CN113641533A (en) * 2020-04-27 2021-11-12 青岛海信移动通信技术股份有限公司 Terminal and short message processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346697A (en) * 2011-09-27 2012-02-08 宇龙计算机通信科技(深圳)有限公司 Method and system for backing up and recovering Android package (APK) and mobile terminal
CN103415848A (en) * 2011-05-27 2013-11-27 英派尔科技开发有限公司 Seamless application backup and recovery using metadata
CN103885858A (en) * 2014-03-11 2014-06-25 惠州Tcl移动通信有限公司 Method and system for mobile phone backup and data recovery
US9201739B1 (en) * 2012-12-10 2015-12-01 Emc Corporation Method and system for a database management system add-in for third party backup and restore applications
CN105988896A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Backup method and device of mobile terminal data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103415848A (en) * 2011-05-27 2013-11-27 英派尔科技开发有限公司 Seamless application backup and recovery using metadata
CN102346697A (en) * 2011-09-27 2012-02-08 宇龙计算机通信科技(深圳)有限公司 Method and system for backing up and recovering Android package (APK) and mobile terminal
US9201739B1 (en) * 2012-12-10 2015-12-01 Emc Corporation Method and system for a database management system add-in for third party backup and restore applications
CN103885858A (en) * 2014-03-11 2014-06-25 惠州Tcl移动通信有限公司 Method and system for mobile phone backup and data recovery
CN105988896A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Backup method and device of mobile terminal data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110716825A (en) * 2018-07-12 2020-01-21 阿里巴巴集团控股有限公司 Data disaster tolerance processing method, device and system
CN110716825B (en) * 2018-07-12 2023-04-28 阿里巴巴集团控股有限公司 Data disaster recovery processing method, device and system
CN113641533A (en) * 2020-04-27 2021-11-12 青岛海信移动通信技术股份有限公司 Terminal and short message processing method

Similar Documents

Publication Publication Date Title
CN111176976B (en) Test data generation method and device, storage medium and electronic device
CN107784086B (en) Webpage loading method, terminal equipment and computer readable storage medium
CN104461504B (en) A kind of management method of end application
KR101496875B1 (en) Apparatus and methods for retrieving/downloading content on a communication device
CN108038114A (en) A kind of path query method, terminal, computer-readable recording medium
CN100574527C (en) The method of automatically updating cell-phone user interface
CN108200220A (en) A kind of method of data synchronization, server and storage medium
CN104967647A (en) Message push method and apparatus
CN103874032A (en) Information pushing method and device based on mobile terminals
CN104866522A (en) Method and device for providing answer information for questioner
WO2005069783A3 (en) Methods and apparatus for searching backup data based on content and attributes
CN104461505B (en) A kind of terminal
CN106681971A (en) Form data processing method and device
CN108121783A (en) A kind of automatic cleaning method, device, computer and storage medium for storing data
CN105101003A (en) Alarm clock music ringtone setting method on loudspeaker box, system and the loudspeaker box
CN102932759A (en) Information sharing method and device
CN105975470A (en) Method and device for processing historical records
CN102486926A (en) Method and system for acquiring personalized music media information
CN106648986A (en) Data backup method and data backup device
CN109597574A (en) Distributed data storage method, server and readable storage medium storing program for executing
CN102932366A (en) Method and device for managing multimedia resource, and player
CN103593233A (en) Method and system for pushing software information
CN105915636B (en) A kind of synchronous method and device of contact information
CN106257928A (en) Audio file acquisition methods, update notification sending method, equipment and system
CN107766488A (en) A kind of information query method, terminal, computer-readable recording medium

Legal Events

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

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication