CN106021023A - Application recovery method and device, and terminal - Google Patents
Application recovery method and device, and terminal Download PDFInfo
- Publication number
- CN106021023A CN106021023A CN201610341681.7A CN201610341681A CN106021023A CN 106021023 A CN106021023 A CN 106021023A CN 201610341681 A CN201610341681 A CN 201610341681A CN 106021023 A CN106021023 A CN 106021023A
- Authority
- CN
- China
- Prior art keywords
- backup
- file
- application
- information
- installation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000011084 recovery Methods 0.000 title claims abstract description 38
- 238000009434 installation Methods 0.000 claims abstract description 132
- 230000008569 process Effects 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 9
- 230000006854 communication Effects 0.000 description 9
- 230000008859 change Effects 0.000 description 4
- 239000000203 mixture Substances 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000021186 dishes Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 230000029058 respiratory gaseous exchange Effects 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup 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)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses an application recovery method and device, and terminal equipment. The method comprises the following steps: receiving an application backup instruction sent from first terminal equipment; obtaining the APP information, the installation directory information and the user data of the application installed in the first terminal equipment, wherein the APP information comprises application name information and version information; on the basis of the APP information, the installation directory information and the user data, generating and storing a backup installation file; and receiving an application recovery instruction sent from second terminal equipment, obtaining a backup installation file, and installing the application in the second terminal equipment. The method, the device and the terminal of the invention shorten time required for application backup, the backup installation file can be stored on a cloud server, an uploaded data size is reduced, operation speed during backup and recovery are improved, and experience when the user replaces the terminal equipment is improved.
Description
Technical field
The present invention relates to communication technical field, after particularly relating to a kind of replacing terminal unit, carry out application program
Method, device and the terminal unit recovered.
Background technology
At present, along with the development of intelligent terminal, change planes, brush machine has become in daily life often occurs
Vocabulary, consequently also caused install software problem.The intelligent terminal that user uses is installed with easily
Tens sections or even money software up to a hundred, typically download application program from software store and install.Change planes or brush
If using manpower to reinstall time-consuming effort again after machine, the substantial amounts of cost of labor of consumption can be caused, and lead
Cause the inefficient of data backup.
In order to ensure at the application program that operating system update or brush machine can be installed before quickly installing
APP, before operating system update or brush machine, can be by Application Backup to server, in operation
After system update or brush machine, then from server, the application program of backup is reverted to terminal.At present, exist
When carrying out Application Backup, the scheme generally used is that (all packets of application program are included peace
Dress bag, such as, the apk packet in android system) upload onto the server, when reduction, then from
Server downloads to terminal and installs.Owing to the data volume of the installation kit of application program is bigger, if
The application program once backed up is more, then to take the longest uplink time and data traffic, reduce
The experience of user.
Summary of the invention
In view of this, it is laggard that the technical problem that the invention solves the problems that is to provide a kind of replacing terminal unit
The method of row application recovery, device and terminal unit.
According to an aspect of the present invention, the present invention provides a kind of method of application recovery, including:
Receive the Application Backup instruction that first terminal equipment sends;Obtain in described first terminal equipment and pacify
The APP information of application program, installation directory information and the user data of dress;Wherein, described APP
Information includes: Apply Names information, version information;Based on described APP information, described installation mesh
Record information and described user data generate backup and install file and store;Receive the second terminal unit to send out
The application recovery instruction gone out, obtains described backup and installs file and install in the second terminal unit
Described application program.
Alternatively, the described backup of described acquisition is installed file and installs described answering in the second terminal unit
Include by program: extract described backup and the described APP information in file is installed;Application program business
Shop is downloaded the application corresponding with described APP information file is installed and sets in described second terminal
File is installed in the standby described application of middle installation.
Alternatively, generating software download list according to described APP information, described software download list is protected
Deposit Apply Names and the version number of the application program needing download;Travel through described software download list, according to
Described Apply Names and version number download described application installation file from described application program shop and go forward side by side
Row is installed.
Alternatively, the described backup of described acquisition is installed file and installs described answering in the second terminal unit
Include by program: judge described application install the version number of file whether with phase in described software download list
The version number of corresponding application program is identical, installs file if it is, download this application and pacifies
Dress, if it is not, then display to the user that information.
Alternatively, the described backup of described acquisition is installed file and installs described answering in the second terminal unit
Include by program: extract described backup and the described installation directory information in file and described number of users are installed
According to;According to described installation directory information and described user data, install in described second terminal unit
Described application is installed file and loads described user data, so that application program sets in described second terminal
Installation directory in Bei and user data and its installation directory in described first terminal equipment and
User data is identical.
Alternatively, described based on described APP information, described installation directory information and described number of users
According to generation backup, file is installed and storage includes: judge whether described application program shop has with described
The installation kit that APP is corresponding, if it is not, then obtain this application program in described first terminal equipment
Corresponding installation kit or associated documents, and this installation kit or associated documents are beaten at described backup installation literary composition
In part.
Alternatively, before generating described backup installation file, to described APP information, described peace
Dress directory information, described user data, described associated documents carry out md5 encryption process.
Alternatively, described first terminal equipment and described second terminal unit include: mobile phone, flat board electricity
Brain.
According to another aspect of the present invention, the present invention provides the device of a kind of application recovery, including:
Backup instruction receiver module, for receiving the Application Backup instruction that first terminal equipment sends;Standby
Part information extraction modules, for obtaining the APP of the application program installed in described first terminal equipment
Information, installation directory information and user data;Wherein, described APP information includes: application name
Title information, version information;Back-up application generation module, for based on described APP information, described
Installation directory information and described user data generate backup and install file and store;Back-up application is recovered
Module, for receiving the application recovery instruction that the second terminal unit sends, obtains described backup peace
Dress file also installs described application program in the second terminal unit.
According to another method of the present invention, the present invention provides a kind of terminal unit, including as mentioned above
The device of application recovery.
The method of application recovery, device and terminal unit is carried out after the replacing terminal unit of the present invention,
Backup peace is generated based on the APP information of application program installed, installation directory information and user data
Dress file also installs file access pattern application program according to backup, shorten needed for Application Backup time
Between, backup is installed file and can be stored on Cloud Server, reduces the data volume uploaded, improves
Speed of operation when backup and recovery, improves the operating efficiency of mobile terminal, shortens user and is changing
The duration of set up applications is needed during terminal unit.
Aspect and advantage that the present invention adds will part be given in the following description, and these are by from following
Description becomes obvious, or recognized by the practice of the present invention.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under,
Accompanying drawing during face describes is only some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings:
Fig. 1 is that changes the method carrying out application recovery after terminal unit according to the present invention
The flow chart of embodiment;
Fig. 2 is that changes the device carrying out application recovery after terminal unit according to the present invention
The module diagram of embodiment;
Fig. 3 is to carry out after terminal unit backing up in the device of application recovery according to changing of the present invention
The module diagram of one embodiment of application recovery module.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, wherein
The most same or similar label represents same or similar element or has same or like function
Element.The embodiment described below with reference to accompanying drawing is exemplary, is only used for explaining the present invention, and
It is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative used herein
" one ", " one ", " described " and " being somebody's turn to do " may also comprise plural form.Will be further understood that
, the wording used in the description of the present invention " includes " referring to there is described feature, integer, step
Suddenly, operation, element and/or assembly, but it is not excluded that existence or add other features one or more,
Integer, step, operation, element, assembly and/or their group.It should be understood that when we claim element quilt
" connecting " or during " coupled " to another element, it can be directly connected or coupled to other elements, or
Intermediary element can also be there is in person.Additionally, " connection " used herein or " coupling " can include nothing
Line connects or wireless couples.Wording "and/or" used herein includes what one or more was associated
List the whole of item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (bag
Include technical term and scientific terminology), have with the those of ordinary skill in art of the present invention is general
Understand identical meaning.Should also be understood that those terms defined in such as general dictionary, it should
It is understood to that there is the meaning consistent with the meaning in the context of prior art, and unless as here one
Sample, by specific definitions, otherwise will not be explained by idealization or the most formal implication.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal unit "
Both having included the equipment of wireless signal receiver, it only possesses the setting of wireless signal receiver of non-emissive ability
Standby, include again the equipment receiving and launching hardware, it has and can perform double on bidirectional communication link
To reception and the equipment of transmitting hardware of communication.This equipment may include that honeycomb or other communication equipments,
It has single line display or multi-line display or the honeycomb not having multi-line display or other communication
Equipment;PCS (Personal Communications Service, PCS Personal Communications System), it can combine
Voice, data process, fax and/or its communication ability;PDA (Personal Digital Assistant,
Personal digital assistant), it can include the access of radio frequency receiver, pager, the Internet/intranet, net
Network browser, notepad, calendar and/or GPS (Global Positioning System, global positioning system
System) receptor;Conventional laptop and/or palmtop computer or other equipment, it has and/or includes penetrating
Frequently the conventional laptop of receptor and/or palmtop computer or other equipment.Used herein above " whole
End ", " terminal unit " can be portable, can transport, be arranged on the vehicles (aviation, sea-freight
And/or land) in, or be suitable for and/or be configured at local runtime, and/or with distribution form,
Any other position operating in the earth and/or space is run." terminal " used herein above, " terminal
Equipment " can also is that communication terminal, access terminals, music/video playback terminal, can be such as PDA,
MID (Mobile Internet Device, mobile internet device) and/or have music/video play merit
The mobile phone of energy, it is also possible to be the equipment such as intelligent television, Set Top Box.
Those skilled in the art of the present technique are appreciated that remote network devices used herein above, it include but
It is not limited to computer, network host, single network server, multiple webserver collection or multiple service
The cloud that device is constituted.Here, cloud is by a large amount of computers based on cloud computing (Cloud Computing) or net
Network server is constituted, and wherein, cloud computing is the one of Distributed Calculation, by the loosely-coupled calculating of a group
One super virtual machine of machine collection composition.In embodiments of the invention, remote network devices, terminal
Can realize communicating by any communication mode between equipment with WNS server, include but not limited to, base
In the mobile communication of 3GPP, LTE, WIMAX, based on TCP/IP, the computer network of udp protocol
Network communicates and based on bluetooth, the low coverage wireless transmission method of infrared transmission standard.
It will be appreciated by those skilled in the art that " application ", " application program " alleged by the present invention, " answer
With software " and the concept of similar statement, be those skilled in the art known same concept, refer to by
The instruction of series of computation machine and the computer software being suitable to electronics operation of the organic structure of related data resource.
Unless specified, this name itself is not by programming language kind, rank, the most not by its operation of relying
Operating system or platform limited.In the nature of things, this genus is not the most by any type of terminal institute
Limit.
" first ", " second " hereinafter etc. are only to describe and distinguish, and other are not special
Implication.
Fig. 1 is that changes the method carrying out application recovery after terminal unit according to the present invention
The flow chart of embodiment, as shown in Figure 1:
Step 101, receives the Application Backup instruction that first terminal equipment sends.
Step 102, obtains the APP information of application program, the installation installed in first terminal equipment
Directory information and user data etc..APP information includes: Apply Names information, version information etc..
Step 103, generates backup based on APP information, installation directory information and user data and installs
File also stores.
Step 104, receives the application recovery instruction that the second terminal unit sends, obtains backup peace
Dress file and in the second terminal unit set up applications.
First terminal equipment and the second terminal unit can be mobile phone, panel computer etc..Such as, mobile phone
In multiple application program is installed, it is common that by download application install file or application installation kit carry out
Install.Such as, Android application program APMB package apk is in a kind of Android operation system
Application program installs file format.
Mobile phone-downloaded apk, installs apk and the installation file relevant to this apk to data/app catalogue, and
By apk and the installation file backup relevant to this apk to system/etc catalogue.Judge that whether this apk is
Third party apk, if it is, this apk and relevant file of installing are installed under data/app catalogue,
Backuped under system/etc catalogue simultaneously.
Such as, mobile phone is mounted with XX software, the version 8.0.0 of XX software, the installation on mobile phone
Catalogue is data/app/XX.Obtain the APP information of the XX installed in mobile phone: Apply Names information is
XX, version information are 8.0.0.Installation directory information is data/app/XX, and user data is that user makes
The chat record etc. produced with XX.Generate based on APP information, installation directory information and user data
Backup is installed file and is also stored, backup install file type be specifically as follows XML, Doc document,
Html document etc..Change by user below and be described as a example by terminal unit, in same terminal
Realize backup, recover identical with the scheme that replacing terminal unit carries out recovering.
In one embodiment, user is before changing mobile phone, it is judged that mobile phone needs the APP of transfer, handle
In machine userdata, the catalogue of corresponding A PP is packed respectively, the catalogue used by corresponding A PP in SD card is divided
Do not pack, record APP Bao Ming version number, it is packaged with generating backup and file is installed, literary composition is installed in backup
Part is uploaded to Cloud Server storage or is stored in SDK card.User reads backup after renewing machine and installs literary composition
Part, installs APP based on the APP title in backup installation file, version number on new cell-phone.
Extract backup and the APP information in file is installed, download in application program shop and believe with APP
The application that manner of breathing is corresponding is installed file and installs application installation file in the second terminal unit.Application
Program shop is also called software store, can greatly facilitate user's search and install software, it is provided that be soft
The search of part, download and mounting interface, can search by the way of list in application program shop.
Such as, backup install the APP information in file be Apply Names information be XX, version information
For 8.0.0, in software store, search whether that Apply Names information is XX and version information is
8.0.0 installation file, if having the installation file of this version XX, then terminal in application program shop
Equipment directly can be downloaded from application program shop and install on new cell-phone.
In one embodiment, generating software download list according to APP information, software download list is protected
Deposit the Apply Names of application program and version number needing to download, by traversal download list, according to
Apply Names and version number download application from application program shop and install file and install.
Such as, the APP information having 3 application programs in file is installed in backup, based on 3 APP
Information generates software download list.Software download list have 3 records, each record for application
Title and version number, by traversal download list, according to Apply Names and version number from application program
Shop is downloaded 3 application successively file is installed and installs.
Judge the application program that the version number of application installation file is the most corresponding with software download list
Version number identical, if it is, download this application to install file installing, if it is not, then to
User's display reminding information.
Such as, the XX version installed in old mobile phone is not latest edition, the XX in application program shop
The version of installation procedure has been upgraded to 8.4.0, higher than the XX version 8.0.0 installed before user.To
User's display reminding information, is chosen whether to download, install the application program of latest edition by user.Also may be used
Not display to the user that information, the installation file of up-to-date XX 8.4.0 version is directly downloaded to newly
Install on mobile phone, it is to avoid user recovers or also will the flow of eating dishes without rice or wine that caused of more redaction after reduction
Consume, improve Consumer's Experience.
In one embodiment, extract backup and the installation directory information in file and user data be installed,
According to installation directory information and user data, the second terminal unit is installed application and file is installed and adds
Carry user data so that application program installation directory in the second terminal unit and user data and its
Installation directory and user data in first terminal equipment are identical.
Such as, old mobile phone is mounted with XX software, the version 8.0.0 of XX software, the peace on mobile phone
Dress catalogue is data/app/XX.Extract backup and the installation directory information of XX software in file is installed
Data/app/XX and user data, user data is the chat record that user uses XX to produce.Based on
File is installed in backup, directly downloads the installation procedure of XX 8.0.0 and pacify on new cell-phone in software store
Dress, the installation directory installing XX software in new cell-phone is also data/app/XX, and is added by chat record
It is loaded under corresponding catalogue.
When the XX installation file downloaded on new cell-phone is 8.4.0 version, it is judged that file is installed in backup
In the form of user data whether mate with the form of the application program of current latest edition, if not
Join, then the user data that backup is installed in file is converted to corresponding form, it is to avoid due to user data
The version of version and application program is inconsistent and the problem that causes user cannot check user data.
File is installed generating backup based on APP information, installation directory information and user data and deposits
Chu Shi, it is judged that whether have the installation kit corresponding with APP in application program shop, if it is not, then
In first terminal equipment, obtain installation kit corresponding to this application program or associated documents, and this is installed
Bag or associated documents are beaten in file is installed in backup.
Such as, user needs to back up Games Software, and the APP information of Games Software is: Apply Names
Information is 2.0.0 for celestial sword 1, version information.Apply Names information has been searched whether in software store
For celestial sword 1 and installation file that version information is 2.0.0, if software store does not has Apply Names
Information is the installation file of celestial sword 1, then obtain installation kit corresponding to this Games Software or phase in mobile phone
Close file, and this installation kit or associated documents are beaten in file is installed in backup.In new cell-phone, from
Backup is installed and is extracted installation kit corresponding to this Games Software or associated documents in file and install or copy,
Install or copy path is identical with the installation directory of the Games Software of old mobile phone.
Before generating backup installation file, can be to APP information, installation directory information, user
Data, associated documents carry out md5 encryption process.MD5 is used for guaranteeing that information transmission is complete consistent,
It is one of widely used hash algorithm of computer (translating again digest algorithm, hash algorithm).The effect of MD5
It is to allow Large Copacity information at the lattice being become a kind of secrecy with " compression " before digital signature software signature private key
Formula, it is simply that the byte serial of a random length is transformed into the hexadecimal number word string of a fixed length.Such as,
APP information by its irreversible character string mapping algorithm, is created this unique MD5 by MD5
Informative abstract.
After generating backup and file is installed, backup can be installed file and be sent to by remote interface
Cloud Server and/or backup is installed file backup enter in the external memory card storage of first terminal equipment to deposit
Storage.External memory card storage can include the flash memory devices such as SD card, external mobile hard disk, USB flash disk.Receive
The application recovery instruction that second terminal unit sends, obtains standby from Cloud Server or external memory card storage
Part installs file, installs file set up applications in the second terminal unit according to backup.
Such as, after old mobile phone generates backup installation file, backup is installed files passe to Cloud Server.
New cell-phone passes through user name corresponding to Cloud Server, password login Cloud Server, backup is installed under file
It is downloaded to this locality, according to backup, file set up applications in new cell-phone is installed, makes in mobile phone new, old
The application program installed is identical, and installation path and the user data of application program are the most identical.
Or, after old mobile phone generates backup installation file, backup installation file is stored in SD card.
New cell-phone inserts this SD card, installs file according to the backup in SD card and installs application journey in new cell-phone
Sequence, makes the application program installed in mobile phone new, old identical, the installation path of application program and user
Data are the most identical.
The method carrying out application recovery after replacing terminal in above-described embodiment, should based on install
Generate backup with the APP information of program, installation directory information and user data and file basis are installed
File access pattern application program is installed in backup, shortens the time needed for Application Backup, has saved application
The data traffic that program backup is spent, backup is installed file and can be stored on Cloud Server, reduces
The data volume uploaded, speed of operation when improving backup and recover.
As shown in Figure 2,3, the present invention provide a kind of change terminal unit after carry out application recovery
Device 20, including: backup instruction receiver module 21, backup information extraction module 22, back-up application
Generation module 23 and back-up application recover module 24.Backup instruction receiver module 21 receives first eventually
The Application Backup instruction that end equipment sends.Backup information extraction module 22 obtains first terminal and sets
The APP information of application program, installation directory information and the user data etc. of standby middle installation.APP
Information includes: Apply Names information, version information etc..
Back-up application generation module 23 generates based on APP information, installation directory information and user data
Backup is installed file and stores.What back-up application recovered that module 24 receives that the second terminal unit sends should
Instruct with program recovery, acquisition backup installation file set up applications in the second terminal unit.
Include as it is shown on figure 3, back-up application recovers module 24: information acquisition unit 241, application
Download unit 242 and application installation unit 243.Information acquisition unit 241 is extracted backup and is installed file
In APP information.Application download unit 242 is downloaded and APP information phase in application program shop
File is installed in corresponding application.Application installation unit 243 is installed application in the second terminal unit and is installed
File.
Information acquisition unit 241 generates software download list according to APP information, and software download list is protected
Deposit Apply Names and the version number of the application program needing download.Under application download unit 242 traversal
List table, from application program shop, download application according to Apply Names and version number and file is installed.Application
Download unit 242 judges that the version number of application installation file is the most corresponding with software download list
The version number of application program is identical, installs file if it is, download this application and installs, as
The most no, then display to the user that information.
Information acquisition unit 241 is extracted backup and is installed the installation directory information in file and user data.
Application installation unit 243, according to installation directory information and user data, is installed in the second terminal unit
Application is installed file and loads user data, so that the installation mesh that application program is in the second terminal unit
Record identical with its installation directory in first terminal equipment and user data with user data.
Back-up application generation module 23 judges whether to have in application program shop the peace corresponding with APP
Dress bag, if it is not, then obtain installation kit corresponding to this application program or relevant in first terminal equipment
File, and this installation kit or associated documents are beaten in file is installed in backup.
Back-up application generation module 23 is before generating backup installation file, to APP information, installation
Directory information, user data, associated documents carry out md5 encryption process.Back-up application generation module
23 after generating backup and installing file, backup is installed file and is sent to cloud clothes by remote interface
Business device and/or store during Application Backup is entered the external memory card storage of first terminal equipment.
Back-up application is recovered module 24 and is received the application recovery instruction that the second terminal unit sends,
From Cloud Server or external memory card storage, obtain backup file is installed, file is installed second eventually according to backup
Set up applications in end equipment.
In one embodiment, the present invention provides a kind of terminal unit, sets including replacing terminal as above
The device of application recovery is carried out after Bei.
The method of application recovery, device and end is carried out after the replacing terminal provided in above-described embodiment
End, generates standby based on the APP information of application program installed, installation directory information and user data
Part is installed file and installs file access pattern application program, needed for shortening Application Backup according to backup
Time, saved the data traffic that Application Backup is spent, file is installed in backup can be at cloud
Store on server, reduce the data volume uploaded, speed of operation when improving backup and recover,
Improve the operating efficiency of mobile terminal, shortening user needs when changing terminal unit to install application
The duration of program, improves experience when user changes terminal unit.
Embodiments provide techniques below scheme:
1, a kind of method of application recovery, including: receive the application that first terminal equipment sends
Program backup instructs;
Obtain the APP information of application program, the installation directory letter installed in described first terminal equipment
Breath and user data;Wherein, described APP information includes: Apply Names information, version information;
Backup peace is generated based on described APP information, described installation directory information and described user data
Dress file also stores;
Receive the application recovery instruction that the second terminal unit sends, obtain described backup and file is installed
And described application program is installed in the second terminal unit.
2, the method as described in 1, the described backup of described acquisition installs file and at the second terminal unit
The described application program of middle installation includes:
Extract described backup and the described APP information in file is installed;
Application program shop is downloaded corresponding with described APP information application installation file and
Described application is installed in described second terminal unit file is installed.
3, the method as described in 2, including: generate software download list according to described APP information,
Described software download list preserves Apply Names and the version number of the application program needing download;
Travel through described software download list, according to described Apply Names and version number from described application program
Shop is downloaded described application file is installed and installs.
4, the method as described in 3, the described backup of described acquisition installs file and at the second terminal unit
The described application program of middle installation includes:
Judge that the version number of described application installation file is the most corresponding with described software download list
The version number of application program identical, file is installed if it is, download this application and installs,
If it is not, then display to the user that information.
5, the method as described in 2, the described backup of described acquisition installs file and at the second terminal unit
The described application program of middle installation includes:
Extract described backup and the described installation directory information in file and described user data are installed;
According to described installation directory information and described user data, install in described second terminal unit
Described application is installed file and loads described user data, so that application program sets in described second terminal
Installation directory in Bei and user data and its installation directory in described first terminal equipment and
User data is identical.
6, the method as described in 1, described based on described APP information, described installation directory information and
Described user data generates backup installation file and storage includes:
Judge whether described application program shop has the installation kit corresponding with described APP, if
No, then in described first terminal equipment, obtain installation kit corresponding to this application program or associated documents,
And this installation kit or associated documents are beaten in described backup installation file.
7, the method as described in 6, including: before generating described backup installation file, to described
APP information, described installation directory information, described user data, described associated documents carry out MD5
Encryption.
8, the method as described in 6, including: after generating described backup and installing file, by described
Backup is installed file and is sent to Cloud Server and/or by standby for described backup installation file by remote interface
Part enters in the external memory card storage of described first terminal equipment to store.
9, the method as described in 8, the described backup of described acquisition installs file and at the second terminal unit
The described application program of middle installation includes:
Receive the application recovery instruction that the second terminal unit sends, from described Cloud Server or described
External memory card storage obtains described backup file is installed, according to described backup, file is installed and sets in the second terminal
The standby described application program of middle installation.
10, the method as described in 1, described first terminal equipment and described second terminal unit include:
Mobile phone, panel computer.
11, the device of a kind of application recovery, including: backup instruction receiver module, it is used for receiving
The Application Backup instruction that first terminal equipment sends;
Backup information extraction module, for obtaining the application program of installation in described first terminal equipment
APP information, installation directory information and user data;Wherein, described APP information includes: should
With name information, version information;
Back-up application generation module, for based on described APP information, described installation directory information and
Described user data generates backup and installs file and store;
Back-up application recovers module, and the application recovery sent for receiving the second terminal unit refers to
Order, obtains described backup and installs file and install described application program in the second terminal unit.
12, the device as described in 11, described back-up application recovery module, including:
Information acquisition unit, installs the described APP information in file for extracting described backup;
Application download unit, corresponding with described APP information for downloading in application program shop
Application install file;
Application installation unit, installs file for installing described application in described second terminal unit.
13, the device as described in 12, described information acquisition unit, it is additionally operable to believe according to described APP
Breath generates software download list, and described software download list preserves the application of the application program needing download
Title and version number;
Described application download unit, is additionally operable to travel through described software download list, according to described application name
Claim and version number downloads described application from described application program shop and installs file.
14, the device as described in 13, described application download unit, it is additionally operable to judge that described application is pacified
The version number of version number's application program the most corresponding with described software download list of dress file
Identical, file is installed if it is, download this application and installs, if it is not, then show to user
Show information.
15, the device as described in 12, described information acquisition unit, it is additionally operable to extract described backup peace
Described installation directory information in dress file and described user data;
Described application installation unit, is additionally operable to according to described installation directory information and described user data,
Described application is installed in described second terminal unit file is installed and loads described user data, so that
Application program installation directory in described second terminal unit and user data with it described first
Installation directory and user data in terminal unit are identical.
16, the device as described in 11, described back-up application generation module, it is additionally operable to judge described answering
With whether program shop has the installation kit corresponding with described APP, if it is not, then described
One terminal unit obtains installation kit corresponding to this application program or associated documents, and by this installation kit or
Associated documents are beaten and are installed in file in described backup.
17, the device as described in 16, described back-up application generation module, it is additionally operable in generation described
Before file is installed in backup, to described APP information, described installation directory information, described number of users
Md5 encryption process is carried out according to, described associated documents.
18, the device as described in 16, described back-up application generation module, it is additionally operable in generation described
Backup is installed after file, described backup is installed file by remote interface be sent to Cloud Server with
/ or file backup is installed in described backup enter in the external memory card storage of described first terminal equipment to deposit
Storage.
19, the device as described in 18, described back-up application is recovered module, is additionally operable to receive second eventually
The application recovery instruction that end equipment sends, obtains from described Cloud Server or described external memory card storage
Described backup installs file, installs file according to described backup and installs described answering in the second terminal unit
Use program.
20, a kind of terminal unit, including the dress of the application recovery as described in 11 to 19 any one
Put.
Below it is only the some embodiments of the present invention, it is noted that for the common skill of the art
For art personnel, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications,
These improvements and modifications also should be regarded as protection scope of the present invention.
Claims (10)
1. the method for an application recovery, it is characterised in that including:
Receive the Application Backup instruction that first terminal equipment sends;
Obtain the APP information of application program, the installation directory letter installed in described first terminal equipment
Breath and user data;Wherein, described APP information includes: Apply Names information, version information;
Backup peace is generated based on described APP information, described installation directory information and described user data
Dress file also stores;
Receive the application recovery instruction that the second terminal unit sends, obtain described backup and file is installed
And described application program is installed in the second terminal unit.
2. the method for claim 1, it is characterised in that the described backup of described acquisition is installed
File is also installed described application program in the second terminal unit and is included:
Extract described backup and the described APP information in file is installed;
Application program shop is downloaded corresponding with described APP information application installation file and
Described application is installed in described second terminal unit file is installed.
3. method as claimed in claim 2, it is characterised in that including:
Generating software download list according to described APP information, described software download list preserves under needing
The Apply Names of the application program carried and version number;
Travel through described software download list, according to described Apply Names and version number from described application program business
Shop is downloaded described application file is installed and installs.
4. method as claimed in claim 3, it is characterised in that the described backup of described acquisition is installed
File is also installed described application program in the second terminal unit and is included:
Judge that the version number of described application installation file is the most corresponding with described software download list
The version number of application program is identical, installs file if it is, download this application and installs, as
The most no, then display to the user that information.
5. method as claimed in claim 2, it is characterised in that the described backup of described acquisition is installed
File is also installed described application program in the second terminal unit and is included:
Extract described backup and the described installation directory information in file and described user data are installed;
According to described installation directory information and described user data, install in described second terminal unit
Described application is installed file and loads described user data, so that application program sets in described second terminal
Installation directory in Bei and user data and its installation directory in described first terminal equipment and
User data is identical.
6. the method for claim 1, it is characterised in that described based on described APP information,
Described installation directory information and described user data generate backup installation file and storage includes:
Judge whether described application program shop has the installation kit corresponding with described APP, if
No, then in described first terminal equipment, obtain installation kit corresponding to this application program or associated documents,
And this installation kit or associated documents are beaten in described backup installation file.
7. method as claimed in claim 6, it is characterised in that including:
Before generating described backup installation file, to described APP information, described installation directory letter
Breath, described user data, described associated documents carry out md5 encryption process.
8. the method for claim 1, it is characterised in that:
Described first terminal equipment and described second terminal unit include: mobile phone, panel computer.
9. the device of an application recovery, it is characterised in that including:
Backup instruction receiver module, the Application Backup sent for receiving first terminal equipment refers to
Order;
Backup information extraction module, for obtaining the application program of installation in described first terminal equipment
APP information, installation directory information and user data;Wherein, described APP information includes: should
With name information, version information;
Back-up application generation module, for based on described APP information, described installation directory information and
Described user data generates backup and installs file and store;
Back-up application recovers module, and the application recovery sent for receiving the second terminal unit refers to
Order, obtains described backup and installs file and install described application program in the second terminal unit.
10. a terminal unit, it is characterised in that:
Device including application recovery as claimed in claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610341681.7A CN106021023B (en) | 2016-05-20 | 2016-05-20 | Application program recovery method and device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610341681.7A CN106021023B (en) | 2016-05-20 | 2016-05-20 | Application program recovery method and device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106021023A true CN106021023A (en) | 2016-10-12 |
CN106021023B CN106021023B (en) | 2020-04-07 |
Family
ID=57096577
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610341681.7A Active CN106021023B (en) | 2016-05-20 | 2016-05-20 | Application program recovery method and device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106021023B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357812A (en) * | 2016-10-26 | 2017-01-25 | 京东方科技集团股份有限公司 | Method for transmitting data among Android devices, data transmission device and Bluetooth device |
CN106528696A (en) * | 2016-11-02 | 2017-03-22 | 四川秘无痕信息安全技术有限责任公司 | Method for extracting QQ account number in Android system |
CN106557572A (en) * | 2016-11-11 | 2017-04-05 | 武汉斗鱼网络科技有限公司 | A kind of extracting method and system of Android application program file |
CN107168783A (en) * | 2017-05-10 | 2017-09-15 | 深信服科技股份有限公司 | A kind of data migration method and system |
CN109086898A (en) * | 2018-07-20 | 2018-12-25 | 珠海网地科技有限公司 | A kind of method and system for replacing tablet computer |
CN110417785A (en) * | 2019-07-31 | 2019-11-05 | 湖南微算互联信息技术有限公司 | A kind of installation method, system and the storage medium of cloud mobile phone games |
CN110769014A (en) * | 2018-07-26 | 2020-02-07 | 西安中兴新软件有限责任公司 | Data interaction method and device |
CN111143121A (en) * | 2019-11-22 | 2020-05-12 | 上海商米科技集团股份有限公司 | Method and device for backing up and recovering equipment data in cross-machine mode |
CN113094211A (en) * | 2021-04-23 | 2021-07-09 | 北京天空卫士网络安全技术有限公司 | Backup data processing method and device |
CN113407380A (en) * | 2021-07-14 | 2021-09-17 | 安超云软件有限公司 | Method and device for rapidly recovering cross-cluster disaster recovery, electronic equipment and storage medium |
CN113641370A (en) * | 2021-08-18 | 2021-11-12 | 深圳创维数字技术有限公司 | OTT terminal application program recovery method and device and computer readable storage medium |
CN114546721A (en) * | 2022-02-17 | 2022-05-27 | ***股份有限公司 | Backup method and system for application programs in cluster and computer readable storage medium |
WO2023143237A1 (en) * | 2022-01-25 | 2023-08-03 | 华为技术有限公司 | Software loading method and related apparatus |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102110031A (en) * | 2011-02-23 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Android system-based application program backup and recovery method |
CN103176864A (en) * | 2013-03-11 | 2013-06-26 | 广东欧珀移动通信有限公司 | Backup method, backup device and mobile terminal based on Android system |
US20140156784A1 (en) * | 2012-12-03 | 2014-06-05 | Lookout, Inc. | Method and system for providing an application to an electronic device for enhancing user security |
CN104239083A (en) * | 2013-06-21 | 2014-12-24 | 中兴通讯股份有限公司 | Method, device and system for migrating application of mobile terminals |
CN104536848A (en) * | 2014-12-22 | 2015-04-22 | 小米科技有限责任公司 | Firmware recovery method, device and terminal |
CN105404532A (en) * | 2015-11-05 | 2016-03-16 | 广东欧珀移动通信有限公司 | Rejuvenation method and apparatus for software in terminal device and terminal device |
-
2016
- 2016-05-20 CN CN201610341681.7A patent/CN106021023B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102110031A (en) * | 2011-02-23 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Android system-based application program backup and recovery method |
US20140156784A1 (en) * | 2012-12-03 | 2014-06-05 | Lookout, Inc. | Method and system for providing an application to an electronic device for enhancing user security |
CN103176864A (en) * | 2013-03-11 | 2013-06-26 | 广东欧珀移动通信有限公司 | Backup method, backup device and mobile terminal based on Android system |
CN104239083A (en) * | 2013-06-21 | 2014-12-24 | 中兴通讯股份有限公司 | Method, device and system for migrating application of mobile terminals |
CN104536848A (en) * | 2014-12-22 | 2015-04-22 | 小米科技有限责任公司 | Firmware recovery method, device and terminal |
CN105404532A (en) * | 2015-11-05 | 2016-03-16 | 广东欧珀移动通信有限公司 | Rejuvenation method and apparatus for software in terminal device and terminal device |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357812A (en) * | 2016-10-26 | 2017-01-25 | 京东方科技集团股份有限公司 | Method for transmitting data among Android devices, data transmission device and Bluetooth device |
CN106528696A (en) * | 2016-11-02 | 2017-03-22 | 四川秘无痕信息安全技术有限责任公司 | Method for extracting QQ account number in Android system |
CN106528696B (en) * | 2016-11-02 | 2019-10-11 | 四川秘无痕科技有限责任公司 | A method of extracting android system QQ account |
CN106557572A (en) * | 2016-11-11 | 2017-04-05 | 武汉斗鱼网络科技有限公司 | A kind of extracting method and system of Android application program file |
CN107168783B (en) * | 2017-05-10 | 2021-01-19 | 深信服科技股份有限公司 | Data migration method and system |
CN107168783A (en) * | 2017-05-10 | 2017-09-15 | 深信服科技股份有限公司 | A kind of data migration method and system |
CN109086898A (en) * | 2018-07-20 | 2018-12-25 | 珠海网地科技有限公司 | A kind of method and system for replacing tablet computer |
CN110769014A (en) * | 2018-07-26 | 2020-02-07 | 西安中兴新软件有限责任公司 | Data interaction method and device |
CN110417785A (en) * | 2019-07-31 | 2019-11-05 | 湖南微算互联信息技术有限公司 | A kind of installation method, system and the storage medium of cloud mobile phone games |
CN111143121A (en) * | 2019-11-22 | 2020-05-12 | 上海商米科技集团股份有限公司 | Method and device for backing up and recovering equipment data in cross-machine mode |
CN113094211A (en) * | 2021-04-23 | 2021-07-09 | 北京天空卫士网络安全技术有限公司 | Backup data processing method and device |
CN113094211B (en) * | 2021-04-23 | 2024-04-23 | 北京天空卫士网络安全技术有限公司 | Backup data processing method and device |
CN113407380A (en) * | 2021-07-14 | 2021-09-17 | 安超云软件有限公司 | Method and device for rapidly recovering cross-cluster disaster recovery, electronic equipment and storage medium |
CN113407380B (en) * | 2021-07-14 | 2024-05-03 | 安超云软件有限公司 | Method and device for quickly recovering cluster-crossing disaster recovery, electronic equipment and storage medium |
CN113641370A (en) * | 2021-08-18 | 2021-11-12 | 深圳创维数字技术有限公司 | OTT terminal application program recovery method and device and computer readable storage medium |
WO2023143237A1 (en) * | 2022-01-25 | 2023-08-03 | 华为技术有限公司 | Software loading method and related apparatus |
CN114546721A (en) * | 2022-02-17 | 2022-05-27 | ***股份有限公司 | Backup method and system for application programs in cluster and computer readable storage medium |
CN114546721B (en) * | 2022-02-17 | 2024-05-07 | ***股份有限公司 | Backup method, system and computer readable storage medium for application program in cluster |
Also Published As
Publication number | Publication date |
---|---|
CN106021023B (en) | 2020-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106021023A (en) | Application recovery method and device, and terminal | |
CN102819461B (en) | Desktop synchronous method, device, equipment and system | |
CN1114157C (en) | Simplified-file hyper text protocol | |
US9218381B2 (en) | Method and apparatus for portable index on a removable storage medium | |
CN104488248B (en) | A kind of file synchronisation method, server and terminal | |
TW200521748A (en) | Transport and administration model for offline browsing | |
CN104506643A (en) | Server of distributed storage system and data synchronizing method between servers | |
CN103699635B (en) | Information processing method and device | |
CN103685515A (en) | Method and system for downloading application | |
CN103279396A (en) | System and method for transferring applications and session state to a secondary device | |
CN104834534A (en) | Application program function extension method, device and system | |
CN103176775A (en) | Method and device for achieving localization of web-based application | |
CN104391729A (en) | Root privilege based procedure upgrading method and device | |
BRPI0807436A2 (en) | METHOD FOR PROVIDING CONNECTIVITY BETWEEN A MOBILE DEVICE AND A TABLET COMPUTING DEVICE | |
CN101420324B (en) | Network management system and version renovating method for proxy software | |
CN104361007B (en) | The processing method of browser and its collection | |
CN103888513B (en) | Server end multifile method for down loading and system | |
CN102655512A (en) | Mobile equipment-based downloading method and system | |
CN106250455B (en) | Mobile terminal file management method and system | |
WO2013170801A1 (en) | Device management method and apparatus | |
US10019519B2 (en) | Methods and systems for utilizing global entities in software applications | |
CN109408471B (en) | Compressed packet decompression method and device based on matching tree and storage medium | |
CN106155842A (en) | A kind of data migration method and device | |
US20020032755A1 (en) | Registration system and method using a back end server | |
CN106488392B (en) | Data transfer method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200225 Address after: Room 201, floor 2, building 2, No. 17, Xijing Road, Shijingshan District, Beijing 100043 Applicant after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park) Applicant before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |