CN106021023B - Application program recovery method and device and terminal - Google Patents

Application program recovery method and device and terminal Download PDF

Info

Publication number
CN106021023B
CN106021023B CN201610341681.7A CN201610341681A CN106021023B CN 106021023 B CN106021023 B CN 106021023B CN 201610341681 A CN201610341681 A CN 201610341681A CN 106021023 B CN106021023 B CN 106021023B
Authority
CN
China
Prior art keywords
application
backup
installation
installation file
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610341681.7A
Other languages
Chinese (zh)
Other versions
CN106021023A (en
Inventor
张皓秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610341681.7A priority Critical patent/CN106021023B/en
Publication of CN106021023A publication Critical patent/CN106021023A/en
Application granted granted Critical
Publication of CN106021023B publication Critical patent/CN106021023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Landscapes

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

Abstract

The invention discloses a method, a device and a terminal device for recovering an application program, wherein the method comprises the following steps: receiving an application program backup instruction sent by first terminal equipment; acquiring APP information, installation directory information and user data of an application program installed in first terminal equipment; wherein, the APP information includes: application name information and version information; generating a backup installation file based on the APP information, the installation directory information and the user data and storing the backup installation file; and receiving an application program recovery instruction sent by the second terminal equipment, acquiring the backup installation file and installing the application program in the second terminal equipment. According to the method, the device and the terminal, the time required by application program backup is shortened, the backup installation files can be stored on the cloud server, the uploaded data volume is reduced, the operation speed during backup and recovery is improved, and the experience of a user when the user changes the terminal equipment is improved.

Description

Application program recovery method and device and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for recovering an application program after replacing a terminal device, and a terminal device.
Background
At present, along with the continuous development of intelligent terminals, the machine changing and the machine refreshing become words which often appear in daily life, and the problem of software installation is caused. Dozens or even hundreds of software are frequently installed in the intelligent terminal used by the user, and the application program is generally downloaded from a software store and installed. If the machine is replaced or reinstalled by adopting manpower, the time and the labor are consumed, a large amount of labor cost is consumed, and the efficiency of data backup is low.
In order to ensure the application program APP installed before the operating system is updated or refreshed quickly, the application program APP can be backed up to the server before the operating system is updated or refreshed, and the backed-up application program APP is restored to the terminal from the server after the operating system is updated or refreshed. At present, when backing up an application, a scheme generally adopted is to upload all data packages (including an installation package, for example, an apk data package in an Android system) of the application to a server, and download the data packages from the server to a terminal for installation when restoring. Because the data volume of the installation package of the application program is large, if the number of the application programs to be backed up at one time is large, long uploading time and data flow are occupied, and the user experience is reduced.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, an apparatus and a terminal device for recovering an application after replacing a terminal device.
According to one aspect of the present invention, the present invention provides a method for application recovery, comprising: receiving an application program backup instruction sent by first terminal equipment; acquiring APP information, installation directory information and user data of an application program installed in the first terminal device; wherein the APP information includes: application name information and version information; generating a backup installation file based on the APP information, the installation directory information and the user data and storing the backup installation file; and receiving an application program recovery instruction sent by the second terminal equipment, acquiring the backup installation file and installing the application program in the second terminal equipment.
Optionally, the obtaining the backup installation file and installing the application program in the second terminal device includes: extracting the APP information in the backup installation file; and downloading an application installation file corresponding to the APP information in an application program store, and installing the application installation file in the second terminal equipment.
Optionally, a software downloading list is generated according to the APP information, and the software downloading list stores an application name and a version number of an application program to be downloaded; and traversing the software downloading list, downloading the application installation file from the application program store according to the application name and the version number, and installing.
Optionally, the obtaining the backup installation file and installing the application program in the second terminal device includes: and judging whether the version number of the application installation file is the same as the version number of the corresponding application program in the software downloading list, if so, downloading the application installation file and installing, and if not, displaying prompt information to a user.
Optionally, the obtaining the backup installation file and installing the application program in the second terminal device includes: extracting the installation directory information and the user data in the backup installation file; and according to the installation directory information and the user data, installing the application installation file in the second terminal equipment and loading the user data so as to enable the installation directory and the user data of the application program in the second terminal equipment to be the same as those in the first terminal equipment.
Optionally, the generating and storing a backup installation file based on the APP information, the installation directory information, and the user data includes: and judging whether the application program store has an installation package corresponding to the APP, if not, acquiring the installation package or related files corresponding to the application program from the first terminal device, and printing the installation package or related files in the backup installation files.
Optionally, before generating the backup installation file, MD5 encryption processing is performed on the APP information, the installation directory information, the user data, and the related file.
Optionally, the first terminal device and the second terminal device include: cell-phone, panel computer.
According to another aspect of the present invention, there is provided an apparatus for application recovery, comprising: the backup instruction receiving module is used for receiving an application program backup instruction sent by the first terminal device; the backup information extraction module is used for acquiring APP information, installation directory information and user data of an application program installed in the first terminal device; wherein the APP information includes: application name information and version information; the backup application generation module is used for generating and storing a backup installation file based on the APP information, the installation directory information and the user data; and the backup application recovery module is used for receiving an application program recovery instruction sent by the second terminal equipment, acquiring the backup installation file and installing the application program in the second terminal equipment.
According to yet another method of the present invention, the present invention provides a terminal device comprising the apparatus for application recovery as described above.
According to the method, the device and the terminal equipment for restoring the application program after the terminal equipment is replaced, the backup installation file is generated based on the APP information, the installation directory information and the user data of the installed application program, the application program is restored according to the backup installation file, the time required by the backup of the application program is shortened, the backup installation file can be stored on the cloud server, the uploaded data volume is reduced, the operation speed during the backup and the restoration is improved, the operation efficiency of the mobile terminal is improved, and the time length for the user to install the application program when the terminal equipment is replaced is shortened.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise:
FIG. 1 is a flow diagram of one embodiment of a method for application recovery after a terminal device is replaced, in accordance with the present invention;
FIG. 2 is a block diagram illustrating an embodiment of an apparatus for application recovery after replacing a terminal device according to the present invention;
fig. 3 is a module diagram illustrating an embodiment of a backup application recovery module in an apparatus for performing application recovery after replacing a terminal device according to the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, "terminal" as used herein includes both devices that are wireless signal receivers, devices that have only wireless signal receivers without transmit capability, and devices that include receive and transmit hardware, devices that have receive and transmit hardware capable of performing two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
As will be appreciated by those skilled in the art, a remote network device, as used herein, includes, but is not limited to, a computer, a network host, a single network server, a collection of multiple network servers, or a cloud of multiple servers. Here, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, a super virtual computer composed of a group of loosely coupled computer sets. In the embodiment of the present invention, the remote network device, the terminal device and the WNS server may communicate with each other through any communication method, including but not limited to mobile communication based on 3GPP, LTE and WIMAX, computer network communication based on TCP/IP and UDP protocols, and short-range wireless transmission based on bluetooth and infrared transmission standards.
It will be appreciated by those skilled in the art that the terms "application," "application program," "application software," and the like, as used herein, are intended to refer to a computer software product electronically-adapted to be electronically-constructed, from a collection of computer instructions and associated data resources, in accordance with the principles of the present invention. Unless otherwise specified, such nomenclature is not itself limited by the programming language class, level, or operating system or platform upon which it depends. Of course, such concepts are not limited to any type of terminal.
Hereinafter, "first", "second", etc. are only descriptive differences and have no other special meanings.
Fig. 1 is a flowchart of an embodiment of a method for recovering an application after replacing a terminal device according to the present invention, as shown in fig. 1:
step 101, receiving an application program backup instruction sent by a first terminal device.
Step 102, obtaining APP information, installation directory information, user data and the like of an application installed in the first terminal device. The APP information includes: application name information, version information, etc.
And 103, generating a backup installation file based on the APP information, the installation directory information and the user data and storing the backup installation file.
And 104, receiving an application program recovery instruction sent by the second terminal device, acquiring the backup installation file and installing the application program in the second terminal device.
The first terminal device and the second terminal device may be a mobile phone, a tablet computer, or the like. For example, a mobile phone has a plurality of applications installed therein, and the applications are usually installed by downloading an application installation file or an application installation package. For example, the Android app package file apk is an application installation file format on the Android operating system.
The mobile phone downloads the apk, installs the apk and installation files related to the apk to the data/app directory, and backs up the apk and the installation files related to the apk to the system/etc directory. And judging whether the apk is a third-party apk, if so, installing the apk and related installation files into a data/app directory, and backing up the apk and related installation files into a system/etc directory.
For example, the XX software, version 8.0.0 of XX software, is installed on the mobile phone, and the installation directory on the mobile phone is data/app/XX. Acquiring APP information of XX installed in the mobile phone: the application name information is XX, and the version information is 8.0.0. The installation directory information is data/app/XX, and the user data is a chat record generated by the user by using XX. And generating and storing a backup installation file based on the APP information, the installation directory information and the user data, wherein the type of the backup installation file can be XML, Doc file, HTML file and the like. The following description will be given by taking the user replacing the terminal device as an example, and the scheme for implementing backup and recovery on the same terminal is the same as the scheme for recovering the replaced terminal device.
In one embodiment, before a user replaces a mobile phone, the user judges the APP to be transferred, the directories corresponding to the APP in the user data of the mobile phone are packaged respectively, the directories used by the corresponding APP in the SD card are packaged respectively, the name version number of the APP package is recorded, backup installation files are generated by packaging together, and the backup installation files are uploaded to a cloud server to be stored or are stored in an SDK card. And the user reads the backup installation file after changing the new mobile phone, and installs the APP on the new mobile phone based on the APP name and the version number in the backup installation file.
And extracting the APP information in the backup installation file, downloading the application installation file corresponding to the APP information in an application program store, and installing the application installation file in the second terminal equipment. The application store is also called as a software store, which can greatly facilitate users to search and install software, provides a search, download and installation interface of the software, and can be searched in the application store in a list mode.
For example, if APP information in the backup installation file is application name information XX and version information is 8.0.0, a software store is searched for an installation file with application name information XX and version information 8.0.0, and if the application store has an installation file with version XX, the terminal device can be directly downloaded from the application store and installed on a new mobile phone.
In one embodiment, a software download list is generated according to the APP information, the software download list stores application names and version numbers of application programs needing to be downloaded, and application installation files are downloaded from an application program store and installed according to the application names and the version numbers by traversing the software download list.
For example, the APP information of 3 applications is backed up in the installation file, and the software download list is generated based on the 3 APP information. The software downloading list has 3 records, each record is an application name and a version number, and 3 application installation files are sequentially downloaded from an application program store and installed according to the application name and the version number by traversing the software downloading list.
And judging whether the version number of the application installation file is the same as the version number of the corresponding application program in the software downloading list, if so, downloading the application installation file and installing, and if not, displaying prompt information to a user.
For example, the XX version installed in the old handset is not the latest version, and the XX installer version in the application store has been upgraded to 8.4.0, higher than the XX version 8.0.0 previously installed by the user. And displaying prompt information to the user, and selecting whether to download and install the application program with the latest version by the user. Prompt information does not need to be displayed for the user, the latest XX 8.4.0 version installation file can be directly downloaded to a new mobile phone for installation, air interface flow consumption caused by the fact that the version needs to be updated after the user recovers or restores the mobile phone is avoided, and user experience is improved.
In one embodiment, the installation directory information and the user data in the backup installation file are extracted, the application installation file is installed in the second terminal device and the user data are loaded according to the installation directory information and the user data, so that the installation directory and the user data of the application program in the second terminal device are the same as those of the application program in the first terminal device.
For example, the XX software, version 8.0.0 of XX software, is installed on the old handset, and the installation directory on the handset is data/app/XX. And extracting the installation directory information data/app/XX and user data of XX software in the backup installation file, wherein the user data is a chat record generated by the user by using XX. Based on the backup installation file, the installation program of XX 8.0.0 is directly downloaded in the software store and installed on the new mobile phone, the installation directory of the XX software installed in the new mobile phone is also data/app/XX, and the chat records are loaded under the corresponding directory.
When the XX installation file downloaded from the new mobile phone is 8.4.0 version, judging whether the format of the user data in the backup installation file is matched with the format of the application program of the current latest version, if not, converting the user data in the backup installation file into the corresponding format, and avoiding the problem that the user data cannot be checked because the version of the user data is not consistent with the version of the application program.
When the backup installation file is generated and stored based on the APP information, the installation directory information and the user data, whether an installation package corresponding to the APP exists in an application program store is judged, if not, the installation package or related files corresponding to the application program are obtained in the first terminal device, and the installation package or related files are printed in the backup installation file.
For example, a user needs to backup game software, and APP information of the game software is: the application name information is Xianjian 1, and the version information is 2.0.0. Searching whether an installation file with application name information of xian sword 1 and version information of 2.0.0 exists in a software store, if the installation file with application name information of xian sword 1 does not exist in the software store, acquiring an installation package or a related file corresponding to the game software in the mobile phone, and typing the installation package or the related file in a backup installation file. In the new mobile phone, the installation package or related files corresponding to the game software are extracted from the backup installation files and installed or copied, and the installation or copy path is the same as the installation directory of the game software of the old mobile phone.
Before generating the backup installation file, MD5 encryption processing may be performed on APP information, installation directory information, user data, and related files. MD5 is used to ensure the integrity and consistency of information transmission, and is one of the hash algorithms (also known as digest algorithm and hash algorithm) widely used by computers. MD5 functions to allow large volumes of information to be "compressed" into a secure format before signing the private key with digital signature software, i.e., to convert a byte string of any length into a fixed-length hexadecimal digital string. For example, MD5 passes the APP information through its irreversible string transformation algorithm, generating this unique MD5 message digest.
After the backup installation file is generated, the backup installation file can be sent to the cloud server through the remote interface and/or backed up into the external memory card of the first terminal device for storage. The external storage card can comprise a SD card, an external mobile hard disk, a U disk and other mobile storage devices. And receiving an application program recovery instruction sent by the second terminal equipment, acquiring the backup installation file from the cloud server or the external storage card, and installing the application program in the second terminal equipment according to the backup installation file.
For example, after the old mobile phone generates the backup installation file, the backup installation file is uploaded to the cloud server. The new mobile phone logs in the cloud server through the user name and the password corresponding to the cloud server, downloads the backup installation file to the local, and installs the application program in the new mobile phone according to the backup installation file, so that the application programs installed in the new mobile phone and the old mobile phone are the same, and the installation path and the user data of the application program are the same.
Or after the old mobile phone generates the backup installation file, the backup installation file is stored in the SD card. The new mobile phone is inserted into the SD card, and the application program is installed in the new mobile phone according to the backup installation file in the SD card, so that the application programs installed in the new mobile phone and the old mobile phone are the same, and the installation path of the application program and the user data are the same.
In the method for recovering the application program after the terminal is replaced in the embodiment, the backup installation file is generated based on the APP information, the installation directory information and the user data of the installed application program, and the application program is recovered according to the backup installation file, so that the time required by the backup of the application program is shortened, the data traffic consumed by the backup of the application program is saved, the backup installation file can be stored in the cloud server, the uploaded data amount is reduced, and the operation speed during the backup and recovery is increased.
As shown in fig. 2 and 3, the present invention provides an apparatus 20 for restoring an application program after replacing a terminal device, comprising: a backup instruction receiving module 21, a backup information extracting module 22, a backup application generating module 23, and a backup application restoring module 24. The backup instruction receiving module 21 receives an application backup instruction issued by the first terminal device. The backup information extraction module 22 obtains APP information, installation directory information, user data, and the like of an application installed in the first terminal device. The APP information includes: application name information, version information, etc.
The backup application generation module 23 generates and stores a backup installation file based on the APP information, the installation directory information, and the user data. The backup application recovery module 24 receives an application program recovery instruction sent by the second terminal device, acquires the backup installation file, and installs the application program in the second terminal device.
As shown in fig. 3, backup application restore module 24 includes: an information acquisition unit 241, an application download unit 242, and an application installation unit 243. The information acquisition unit 241 extracts APP information in the backup installation file. The application download unit 242 downloads an application installation file corresponding to the APP information in an application store. The application installation unit 243 installs the application installation file in the second terminal device.
The information obtaining unit 241 generates a software download list according to the APP information, where the software download list stores application names and version numbers of application programs to be downloaded. The application download unit 242 traverses the software download list, and downloads the application installation file from the application store according to the application name and version number. The application download unit 242 determines whether the version number of the application installation file is the same as the version number of the corresponding application program in the software download list, if so, downloads the application installation file and installs the application installation file, and if not, displays a prompt message to the user.
The information acquisition unit 241 extracts the installation directory information and the user data in the backup installation file. The application installation unit 243 installs the application installation file in the second terminal device and loads the user data so that the installation directory and the user data of the application program in the second terminal device are the same as those in the first terminal device, based on the installation directory information and the user data.
The backup application generating module 23 determines whether an installation package corresponding to the APP exists in the application store, and if not, acquires the installation package or the related file corresponding to the application in the first terminal device, and prints the installation package or the related file in the backup installation file.
Before generating the backup installation file, the backup application generation module 23 performs MD5 encryption processing on the APP information, the installation directory information, the user data, and the related file. After generating the backup installation file, the backup application generation module 23 sends the backup installation file to the cloud server through the remote interface and/or backs up the application program into the external memory card of the first terminal device for storage.
The backup application recovery module 24 receives an application program recovery instruction sent by the second terminal device, acquires a backup installation file from the cloud server or the external memory card, and installs the application program in the second terminal device according to the backup installation file.
In one embodiment, the invention provides a terminal device, which includes the above apparatus for recovering an application program after replacing the terminal device.
According to the method, the device and the terminal for restoring the application program after the terminal is replaced, the backup installation files are generated based on the APP information of the installed application program, the installation directory information and the user data, the application program is restored according to the backup installation files, the time required by the application program backup is shortened, the data flow consumed by the application program backup is saved, the backup installation files can be stored on the cloud server, the uploaded data volume is reduced, the operation speed during the backup and the restoration is improved, the operation efficiency of the mobile terminal is improved, the time length for installing the application program when the user replaces the terminal device is shortened, and the experience of the user in replacing the terminal device is improved.
The embodiment of the invention provides the following technical scheme:
1. a method of application recovery, comprising: receiving an application program backup instruction sent by first terminal equipment;
acquiring APP information, installation directory information and user data of an application program installed in the first terminal device; wherein the APP information includes: application name information and version information;
generating a backup installation file based on the APP information, the installation directory information and the user data and storing the backup installation file;
and receiving an application program recovery instruction sent by the second terminal equipment, acquiring the backup installation file and installing the application program in the second terminal equipment.
2. The method according to claim 1, wherein the obtaining the backup installation file and installing the application program in the second terminal device comprises:
extracting the APP information in the backup installation file;
and downloading an application installation file corresponding to the APP information in an application program store, and installing the application installation file in the second terminal equipment.
3. The method of claim 2, comprising: generating a software downloading list according to the APP information, wherein the software downloading list stores the application name and the version number of the application program to be downloaded;
and traversing the software downloading list, downloading the application installation file from the application program store according to the application name and the version number, and installing.
4. The method according to claim 3, wherein the obtaining the backup installation file and installing the application program in the second terminal device comprises:
and judging whether the version number of the application installation file is the same as the version number of the corresponding application program in the software downloading list, if so, downloading the application installation file and installing, and if not, displaying prompt information to a user.
5. The method according to claim 2, wherein the obtaining the backup installation file and installing the application program in the second terminal device comprises:
extracting the installation directory information and the user data in the backup installation file;
and according to the installation directory information and the user data, installing the application installation file in the second terminal equipment and loading the user data so as to enable the installation directory and the user data of the application program in the second terminal equipment to be the same as those in the first terminal equipment.
6. The method of claim 1, the generating and storing a backup installation file based on the APP information, the installation directory information, and the user data comprises:
and judging whether the application program store has an installation package corresponding to the APP, if not, acquiring the installation package or related files corresponding to the application program from the first terminal device, and printing the installation package or related files in the backup installation files.
7. The method of claim 6, comprising: before generating the backup installation file, performing MD5 encryption processing on the APP information, the installation directory information, the user data, and the related file.
8. The method of claim 6, comprising: after the backup installation file is generated, the backup installation file is sent to a cloud server through a remote interface and/or backed up into an external memory card of the first terminal device for storage.
9. The method according to claim 8, wherein the obtaining the backup installation file and installing the application program in the second terminal device includes:
and receiving an application program recovery instruction sent by second terminal equipment, acquiring the backup installation file from the cloud server or the external storage card, and installing the application program in the second terminal equipment according to the backup installation file.
10. The method of claim 1, the first terminal device and the second terminal device comprising: cell-phone, panel computer.
11. An apparatus for application recovery, comprising: the backup instruction receiving module is used for receiving an application program backup instruction sent by the first terminal device;
the backup information extraction module is used for acquiring APP information, installation directory information and user data of an application program installed in the first terminal device; wherein the APP information includes: application name information and version information;
the backup application generation module is used for generating and storing a backup installation file based on the APP information, the installation directory information and the user data;
and the backup application recovery module is used for receiving an application program recovery instruction sent by the second terminal equipment, acquiring the backup installation file and installing the application program in the second terminal equipment.
12. The apparatus of claim 11, the backup application recovery module comprising:
the information acquisition unit is used for extracting the APP information in the backup installation file;
the application downloading unit is used for downloading an application installation file corresponding to the APP information in an application program store;
and the application installation unit is used for installing the application installation file in the second terminal equipment.
13. The apparatus according to claim 12, the information obtaining unit is further configured to generate a software download list according to the APP information, where the software download list stores application names and version numbers of application programs to be downloaded;
the application downloading unit is further configured to traverse the software downloading list, and download the application installation file from the application store according to the application name and the version number.
14. The apparatus as in claim 13, where the application downloading unit is further configured to determine whether a version number of the application installation file is the same as a version number of a corresponding application program in the software download list, if so, download the application installation file and install the application installation file, and if not, display a prompt message to the user.
15. The apparatus according to claim 12, wherein the information obtaining unit is further configured to extract the installation directory information and the user data in the backup installation file;
the application installation unit is further configured to install the application installation file in the second terminal device and load the user data according to the installation directory information and the user data, so that the installation directory and the user data of the application program in the second terminal device are the same as the installation directory and the user data of the application program in the first terminal device.
16. The apparatus of claim 11, wherein the backup application generation module is further configured to determine whether an installation package corresponding to the APP exists in the APP store, and if not, obtain the installation package or the related file corresponding to the APP from the first terminal device, and print the installation package or the related file in the backup installation file.
17. The apparatus of claim 16, wherein the backup application generating module is further configured to perform MD5 encryption processing on the APP information, the installation directory information, the user data, and the related file before generating the backup installation file.
18. The apparatus of claim 16, wherein the backup application generation module is further configured to, after generating the backup installation file, send the backup installation file to a cloud server through a remote interface and/or backup the backup installation file into an external memory card of the first terminal device for storage.
19. The apparatus of claim 18, wherein the backup application recovery module is further configured to receive an application program recovery instruction sent by a second terminal device, acquire the backup installation file from the cloud server or the external memory card, and install the application program in the second terminal device according to the backup installation file.
20. A terminal device comprising means for application recovery as claimed in any one of claims 11 to 19.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (18)

1. A method for application recovery, comprising:
receiving an application program backup instruction sent by first terminal equipment;
acquiring APP information, installation directory information and user data of an application program installed in the first terminal device; wherein the APP information includes: application name information and version information;
generating a backup installation file based on the APP information, the installation directory information and the user data and storing the backup installation file in a cloud server and/or an external memory card of the first terminal device;
receiving an application program recovery instruction sent by second terminal equipment, acquiring the backup installation file and installing the application program in the second terminal equipment;
wherein the generating and storing backup installation files based on the APP information, the installation directory information, and the user data comprises:
and judging whether an installation package corresponding to the APP exists in an application program store, if not, acquiring the installation package or related files corresponding to the application program in the first terminal device, and printing the installation package or related files in the backup installation files.
2. The method of claim 1, wherein the obtaining the backup installation file and installing the application in the second terminal device comprises:
extracting the APP information in the backup installation file;
and downloading an application installation file corresponding to the APP information in an application program store, and installing the application installation file in the second terminal equipment.
3. The method of claim 2, comprising:
generating a software downloading list according to the APP information, wherein the software downloading list stores the application name and the version number of the application program to be downloaded;
and traversing the software downloading list, downloading the application installation file from the application program store according to the application name and the version number, and installing.
4. The method of claim 3, wherein the obtaining the backup installation file and installing the application in the second terminal device comprises:
and judging whether the version number of the application installation file is the same as the version number of the corresponding application program in the software downloading list, if so, downloading the application installation file and installing, and if not, displaying prompt information to a user.
5. The method of claim 2, wherein the obtaining the backup installation file and installing the application in the second terminal device comprises:
extracting the installation directory information and the user data in the backup installation file;
and according to the installation directory information and the user data, installing the application installation file in the second terminal equipment and loading the user data so as to enable the installation directory and the user data of the application program in the second terminal equipment to be the same as those in the first terminal equipment.
6. The method of claim 1, comprising:
before generating the backup installation file, performing MD5 encryption processing on the APP information, the installation directory information, the user data, and the related file.
7. The method of claim 1, comprising:
after the backup installation file is generated, the backup installation file is sent to a cloud server through a remote interface and/or backed up into an external memory card of the first terminal device for storage.
8. The method of claim 7, wherein the obtaining the backup installation file and installing the application in the second terminal device comprises:
and receiving an application program recovery instruction sent by second terminal equipment, acquiring the backup installation file from the cloud server or the external storage card, and installing the application program in the second terminal equipment according to the backup installation file.
9. The method of claim 1, wherein:
the first terminal device and the second terminal device include: cell-phone, panel computer.
10. An apparatus for application recovery, comprising:
the backup instruction receiving module is used for receiving an application program backup instruction sent by the first terminal device;
the backup information extraction module is used for acquiring APP information, installation directory information and user data of an application program installed in the first terminal device; wherein the APP information includes: application name information and version information;
the backup application generation module is used for generating a backup installation file based on the APP information, the installation directory information and the user data and storing the backup installation file in a cloud server and/or an external memory card of the first terminal device;
the backup application recovery module is used for receiving an application program recovery instruction sent by the second terminal equipment, acquiring the backup installation file and installing the application program in the second terminal equipment;
the backup application generation module is further configured to determine whether an installation package corresponding to the APP exists in an application store, and if not, obtain the installation package or the related file corresponding to the application in the first terminal device, and print the installation package or the related file in the backup installation file.
11. The apparatus of claim 10, wherein:
the backup application recovery module comprises:
the information acquisition unit is used for extracting the APP information in the backup installation file;
the application downloading unit is used for downloading an application installation file corresponding to the APP information in an application program store;
and the application installation unit is used for installing the application installation file in the second terminal equipment.
12. The apparatus of claim 11, wherein:
the information acquisition unit is further configured to generate a software download list according to the APP information, where the software download list stores application names and version numbers of application programs to be downloaded;
the application downloading unit is further configured to traverse the software downloading list, and download the application installation file from the application store according to the application name and the version number.
13. The apparatus of claim 12, wherein:
the application downloading unit is further configured to determine whether the version number of the application installation file is the same as the version number of the corresponding application program in the software downloading list, if so, download the application installation file and install the application installation file, and if not, display a prompt message to a user.
14. The apparatus of claim 11, wherein:
the information acquisition unit is further configured to extract the installation directory information and the user data in the backup installation file;
the application installation unit is further configured to install the application installation file in the second terminal device and load the user data according to the installation directory information and the user data, so that the installation directory and the user data of the application program in the second terminal device are the same as the installation directory and the user data of the application program in the first terminal device.
15. The apparatus of claim 10, wherein:
the backup application generating module is further configured to perform MD5 encryption processing on the APP information, the installation directory information, the user data, and the related file before generating the backup installation file.
16. The apparatus of claim 10, wherein:
the backup application generation module is further configured to send the backup installation file to a cloud server through a remote interface and/or backup the backup installation file into an external memory card of the first terminal device for storage after the backup installation file is generated.
17. The apparatus of claim 16, wherein:
the backup application recovery module is further configured to receive an application program recovery instruction sent by a second terminal device, acquire the backup installation file from the cloud server or the external memory card, and install the application program in the second terminal device according to the backup installation file.
18. A terminal device characterized by:
apparatus comprising an application recovery as claimed in any one of claims 10 to 17.
CN201610341681.7A 2016-05-20 2016-05-20 Application program recovery method and device and terminal Active CN106021023B (en)

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 CN106021023A (en) 2016-10-12
CN106021023B true 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)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
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
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
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
CN113094211B (en) * 2021-04-23 2024-04-23 北京天空卫士网络安全技术有限公司 Backup data processing method and device
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
CN116541033A (en) * 2022-01-25 2023-08-04 华为技术有限公司 Software loading method and related device
CN114546721B (en) * 2022-02-17 2024-05-07 中国银联股份有限公司 Backup method, system and computer readable storage medium for application program in cluster

Citations (5)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9071627B2 (en) * 2012-12-03 2015-06-30 Lookout, Inc. Method and system for cloning applications from an electronic source device to an electronic target device

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN106021023A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN106021023B (en) Application program recovery method and device and terminal
CN101377744B (en) Method and apparatus for recovering terminal equipment software upgrade
US8055937B2 (en) High availability and disaster recovery using virtualization
CN106815370B (en) Method, device and system for updating resource file
CN103942058B (en) A kind of EMBEDDED AVIONICS method for upgrading software and system
CN101529415B (en) Offline execution of web based applications
US9792623B2 (en) Advertisement processing method and apparatus
CN105373410A (en) Differential upgrading method and device for base station software
EP2701083B1 (en) Method, apparatus and system for auto-synchronization of compressed content files
CN104866389A (en) Data recovery method as well as data backup method, device and system based on mobile operating system
KR20080106412A (en) A data storage management method and device
US20130055238A1 (en) System and method for providing virus protection
US20130232187A1 (en) Systems and methods for managing data in a networked communication system
CN104182294A (en) Method and device for backing up and recovering file
WO2016202000A1 (en) Differential rollback upgrading method and apparatus
CN112241298A (en) Page display method and device, storage medium and electronic device
CN105320577A (en) Data backup and recovery method, system and device
CN106250455B (en) Mobile terminal file management method and system
CN115509582A (en) Application program issuing method, device, equipment and storage medium
CN112149035A (en) Website static resource processing method and device
CN103368990A (en) Cloud storage immediate synchronization method
CN105740298A (en) File processing method and apparatus, and server-side equipment
CN107015821B (en) Incremental updating method and device
CN110505289B (en) File downloading method and device, computer readable medium and wireless communication equipment
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

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.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant