CN105426272A - Backup method and device for application programs - Google Patents
Backup method and device for application programs Download PDFInfo
- Publication number
- CN105426272A CN105426272A CN201510981638.2A CN201510981638A CN105426272A CN 105426272 A CN105426272 A CN 105426272A CN 201510981638 A CN201510981638 A CN 201510981638A CN 105426272 A CN105426272 A CN 105426272A
- Authority
- CN
- China
- Prior art keywords
- backup
- application
- server
- application program
- installation package
- 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 31
- 238000009434 installation Methods 0.000 claims abstract description 86
- 230000004044 response Effects 0.000 claims abstract description 16
- 238000012795 verification Methods 0.000 claims description 58
- 238000001514 detection method Methods 0.000 claims description 3
- 230000001960 triggered effect Effects 0.000 claims description 2
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 238000005192 partition Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000011084 recovery Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 2
- 238000011010 flushing procedure Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design 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/1448—Management of the data involved in backup or backup restore
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a backup method and device for application programs. The backup method comprises that a terminal sends query requests to an application server, wherein the query requests carry identification information of the application programs to be backuped; the terminal receives query request responses returned by the application server, wherein the query request responses carry indication information for indicating whether installation packages of the application programs to be backuped to be stored on the application server; the terminal prohibits uploading of the installation package of the first application program for backup, which is stored on the application server to a backup server and uploads relevant information of the first application program to the backup server. By means of the backup method and device, the data volume uploaded by the application programs during backup can be decreased, time required by backup of the application programs is shortened, the data flow taken by backup of the application programs is lowered, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of communication and internet application, in particular to an application program backup method and device.
Background
In the related art, when the operating system of the terminal is updated or refreshed, in order to ensure an application program (APP) installed before the operating system is updated or refreshed and can be installed quickly, the application program may be backed up to the server before the operating system is updated or refreshed, and the backed-up application program is restored from the server to the terminal after the operating system is updated or refreshed.
In the related art, when backing up an application, a scheme is generally adopted in which all data packages (including an installation package, for example, an apk data package in an Android system) of the application are uploaded to a server, and when restoring, the data packages are downloaded from the server to a terminal for installation. By adopting the backup method, because the data volume of the installation package of the application program is larger, if more application programs are backed up at one time, long uploading time and data flow are occupied, and the user experience is reduced.
Disclosure of Invention
In view of the above, the present invention has been developed to provide an application backup solution that overcomes, or at least partially solves, the above-mentioned problems.
According to an aspect of the present invention, there is provided an application program backup method, including: a terminal sends a query request to an application server, wherein the query request carries identification information of an application program to be backed up; the terminal receives a query request response returned by the application server, wherein the query request response carries indication information indicating whether an installation package of the application program to be backed up is stored on the application server; and the terminal prohibits uploading the installation package of the first application program to be backed up, which is stored in the application server by the installation package, to a backup server according to the indication information, and uploads the related information of the first application program to the backup server.
Optionally, the method further comprises: and the terminal uploads the installation package of the second application program to be backed up, which is not stored in the application server by the installation package, and the related information of the second application program to the backup server according to the indication information.
Optionally, the related information includes: version information and verification data.
Optionally, the related information further includes: user data.
Optionally, before the terminal sends the query request to the application server, the method further includes: receiving an input operation request of a backup application program; alternatively, the occurrence of a predetermined triggering event is detected.
According to another aspect of the present invention, there is provided an application backup apparatus including: the device comprises a sending module, a backup module and a backup module, wherein the sending module is used for sending a query request to an application server, and the query request carries identification information of an application program to be backed up; a receiving module, configured to receive a query request response returned by the application server, where the query request response carries indication information indicating whether an installation package of the application program to be backed up is stored on the application server; and the uploading module is used for forbidding to upload the installation package of the first application program to be backed up, which is stored in the application server by the installation package, to the backup server according to the indication information, and uploading the related information of the first application program to the backup server.
Optionally, the uploading module is further configured to upload, to the backup server, an installation package of a second application program to be backed up, where the installation package is not stored in the application server, and related information of the second application program according to the indication information.
Optionally, the related information includes: version information and verification data.
Optionally, the related information further includes: user data.
Optionally, the apparatus further comprises: the detection module is used for detecting whether an input operation request of the backup application program is received or not, and if so, the sending module is triggered to send the query request; or, detecting whether a predetermined trigger event occurs, and if so, triggering the sending module to send the query request.
In the embodiment of the invention, when the application program is backed up, the terminal firstly inquires whether the application program to be backed up is stored in the application server, if so, the terminal does not upload the installation package of the application program to be backed up to the server, and only uploads the relevant information of the application program to the backup server, thereby reducing the uploaded data volume, shortening the time required by the application program backup, saving the data flow consumed by the application program backup and improving the user experience.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 shows a flow diagram of an application backup method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of an application backup device according to an embodiment of the present invention; and
fig. 3 is a schematic structural diagram of an application backup device according to another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to solve the above technical problem, an embodiment of the present invention provides an application program backup method. Fig. 1 shows a flowchart of an application backup method according to an embodiment of the present invention. Referring to fig. 1, the method includes at least steps S102 to S106.
Step S102, the terminal sends a query request to the application server, wherein the query request carries the identification information of the application program to be backed up.
And step S104, the terminal receives a query request response returned by the application server, wherein the query request response carries indication information indicating whether the installation package of the application program to be backed up is stored on the application server.
And step S106, the terminal prohibits the installation package of the first application program to be backed up, which is stored in the application server by the installation package, from being uploaded to the backup server according to the indication information, and uploads the related information of the first application program to the backup service.
In the embodiment of the invention, when the terminal backs up the application program, whether the application program to be backed up is stored in the application server is firstly inquired, and for the first application program of which the installation package is stored in the application server, the installation package of the application program is not uploaded to the backup server, and only the relevant information of the application program is uploaded to the backup server, so that the uploaded data volume is reduced, the backup time is saved, and the user experience is improved.
In an optional implementation manner of the embodiment of the present invention, in step S106, the method may further include: and the terminal uploads the installation package of the second application program to be backed up and the related information of the second application program, which are not stored in the application server by the installation package, to the backup server according to the indication information. And the terminal uploads the installation package and related information of the application program to the backup server for the second application program of which the installation package is not stored in the application server. By the optional implementation mode, only application programs which are not in the application server can be uploaded during backup, so that effective backup is guaranteed, and backup time is saved.
In practical application, the terminal may need to backup a plurality of application programs at one time, the query request may include identification information of the plurality of application programs, the application server may simultaneously return indication information indicating whether installation packages of the plurality of application programs are stored in the application server, and for a first application program in which an installation package is stored in the application server, the terminal only uploads relevant information of such application programs to the backup server, and does not upload installation packages of such application programs to the backup server. And for the second application program of which the installation package is not stored in the application server, the terminal uploads the installation package and related information of the application program to the backup server. Therefore, only application programs which are not in the application server can be uploaded during backup, and effective backup is guaranteed while backup time is saved.
In a specific application, the servers may be divided according to different functions, and in an optional implementation of the embodiment of the present invention, the backup server may be only responsible for storing the related information of the application program uploaded by the terminal, and when receiving the installation package of the application program uploaded by the terminal, the backup server sends the installation package of the application program to the storage server, and stores the storage address of the installation package of the application program in the storage server in association with the related information of the application program uploaded by the terminal.
In an optional implementation of the embodiment of the present invention, during backup and restoration, for a first application whose installation package is stored in an application server, after receiving a restoration request, a backup server sends relevant information of the backed up first application to a terminal, the terminal requests the application server for the installation package of the first application according to the relevant information of the first application, and the application server, in response to the request of the terminal, may transmit the installation package of the first application whose version is the same as that of the backup of the terminal to the terminal, or may transmit the installation package of the first application whose version is the latest to the terminal, which is not limited in this embodiment.
In an optional implementation of the embodiment of the present invention, during backup and restoration, for a second application program whose installation package is not stored in the application server, after the backup server receives a restoration request, the backup server directly transmits the second application program installation package to the terminal for restoration.
In an optional implementation of the embodiment of the present invention, during backup and restore, for a second application program whose installation package is not stored in the application server, after the backup server receives a restore request, the backup server sends the installation package of the second application program to the terminal at the storage address of the storage server, and the terminal can download the application program installation package from the storage server according to the storage address; alternatively, the backup server may acquire the installation package of the second application program from the storage server, and restore the installation package of the second application program to the terminal.
In a specific application, for the backup information uploaded by the same user, the backup server may store the identification information of the application program uploaded by the terminal, the related information, and the storage address of the installation package in an associated manner.
In an optional implementation manner of the embodiment of the present invention, the information related to the application program uploaded by the terminal in the step S106 includes, but is not limited to: version information and check data. At the time of the restoration, an appropriate version can be selected with reference to the backed-up version information. In addition, according to the verification data, integrity verification can be performed on the installation package of the application program uploaded by the terminal so as to ensure the data integrity of the uploaded installation package, and during backup and restoration, integrity verification can also be performed on the restored application program according to the verification data.
In an optional implementation of the embodiment of the present invention, the information about the application program uploaded by the terminal in the step S106 may further include: user data. That is, user data generated by the user using the application to be backed up, for example, a chat log generated by the user using the QQ, a chat log generated by the user using WeChat, information shared by a circle of friends, and the like. By adopting the optional implementation scheme, when the application program is restored, the corresponding user data can be restored to the user together, and the user experience is improved.
In the optional embodiment, optionally, during the restoring, if the version of the application program backed up by the user is not the latest version, the latest version may be restored to the user, so that air interface traffic consumption caused by updating the version after the user is restored is avoided, and user experience is improved. In this case, if the backup information further includes the user data, it may be further determined whether the format of the backed-up user data matches the format of the application program of the current latest version, and if not, the backed-up user data may be further converted into a corresponding format and then restored to the terminal, thereby avoiding a problem that the user cannot view the user data due to the fact that the version of the user data is inconsistent with the version of the application program when the user data is restored to the user.
In an optional implementation of the embodiment of the present invention, the terminal initiates the backup by a manual trigger of the user, or by an event trigger. Therefore, before step S102, the method may further include: receiving an input operation request of a backup application program, specifically, inputting the operation request through a keyboard, a key or a controllable touch screen by a user; alternatively, the occurrence of a predetermined trigger event is detected, the trigger event may be preset by a user, for example, the user may set to perform a backup before updating the system, and then step S102 to step S106 are performed first when the system needs to be updated. The specific trigger event may be set according to a specific situation, and the specific embodiment is not limited.
In an optional implementation of the embodiment of the present invention, in order to prevent the server from being maliciously attacked, before the terminal performs step S102, the terminal needs to provide account information to the server (the server may be referred to as an account server (ID server)), and after receiving the request of the user, the server generates an authentication code for the user and issues the authentication code to the terminal. After receiving the verification code, the terminal acquires the verification code, submits the verification code to the application server when sending an inquiry request to the application server in step S102, verifies the verification code by the application server (that is, the application server sends the verification code to the account server and receives a verification result returned by the account server), inquires whether an installation package of an application program to be backed up is stored in the application server after the verification is passed, and rejects the request of the terminal if the verification is not passed. Similarly, when the terminal uploads the backup data to the backup server, the terminal also needs to submit the verification code to the backup server, the backup server verifies the verification code (that is, the backup server sends the verification code to the account server and receives a verification result returned by the account server), the backup data uploaded by the terminal is received only after the verification is passed, and if the verification is not passed, the backup data uploaded by the terminal is rejected.
In an optional implementation of the embodiment of the present invention, the ID server may issue the verification code to the terminal through the short message, and the terminal may automatically obtain the verification code in the short message. Specifically, the terminal can automatically acquire the verification code in the short message through the following steps:
step 1, acquiring a platform signature of an operating system of a terminal. For example, the terminal may run an executable file previously injected into a system service (SystemServer) component of the operating system to obtain the platform signature, that is, the executable file is injected into the SystemServer component of the operating system, and by running the executable file, the platform signature of the operating system may be obtained. Or, in another optional implementation manner in an optional implementation of the embodiment of the present invention, the terminal may also obtain the high permission through some programs of the partition by flushing a recovery (recovery) partition, and specifically, may set a module in the ramdisk, where the module is used to scan the partition of the operating system and view the platform signature of the operating system after the scanning.
And 2, acquiring the authority for reading the content of the short message based on the acquired platform signature. After the platform signature is obtained, the obtained platform signature of the operating system may be used to re-sign the application, so that the application obtains the corresponding right of the operating system, where in this embodiment, the corresponding right refers to a right to read the content of the short message).
And 3, acquiring the verification code in the short message received by the terminal based on the acquired permission for reading the content of the short message. In a specific application, the terminal may call an Application Program Interface (API) for acquiring the content of the short message based on the acquired permission, read the content of the short message received by the terminal from a database of the terminal, and then acquire the verification code from the content of the short message. In this embodiment, the API for obtaining the content of the short message belongs to a high-level API, and an application with system permission can call such API, so in this embodiment, the corresponding permission is obtained through the platform signature to call the API to obtain the content of the short message. After the terminal acquires the verification code, the acquired verification code can be input into a dialog box in which the verification code needs to be filled, so that the automatic filling of the short message verification code is realized, and the user experience is improved.
In the embodiment of the present invention, the application server, the backup server, the storage server, and the ID server are provided separately according to the function of each server, but the present invention is not limited to this, and may be combined into the same server in a specific application.
Based on the same inventive concept, the embodiment of the present invention further provides an application backup device, which can be disposed in a terminal and used for implementing the application backup method described in the above embodiment.
Fig. 2 is a schematic structural diagram of an application backup device according to an embodiment of the present invention. Referring to fig. 2, the apparatus may include at least: a sending module 200, a receiving module 202, and an uploading module 204.
The functions of the components or devices of the application program backup device and the connection relationship between the components will now be described:
a sending module 200, configured to send a query request to an application server, where the query request carries identification information of an application program to be backed up;
a receiving module 202, configured to receive a query request response returned by the application server, where the query request response carries indication information indicating whether the installation package of the application program to be backed up is stored on the application server;
and the uploading module 204 is configured to prohibit uploading of the installation package of the first application program to be backed up, which is stored in the application server, to the backup server according to the indication information, and upload the related information of the first application program to the backup server.
In the embodiment of the present invention, when the application program backup apparatus backs up an application program, the sending module 200 queries whether the application program to be backed up is stored in the application server, and after the receiving module 202 receives the query result, as for the first application program in which the installation package is stored in the application server, the uploading module 204 does not upload the installation package of the application program to the backup server, and only uploads the relevant information of the application program to the backup server, so that the amount of uploaded data is reduced, the backup time is saved, and the user experience is improved.
In an optional implementation manner of the embodiment of the present invention, the uploading module 204 is further configured to upload, according to the indication information, an installation package of a second application to be backed up, where the installation package is not stored in the application server, and related information of the second application to the backup server. That is, for a second application program whose installation package is not stored in the application server, the upload module 204 uploads the installation package and related information of the application program to the backup server. By the optional implementation mode, only application programs which are not in the application server can be uploaded during backup, so that effective backup is guaranteed, and backup time is saved.
In an actual application, the terminal may need to backup a plurality of application programs at one time, the query request may include identification information of the plurality of application programs, the application server may simultaneously return indication information indicating whether installation packages of the plurality of application programs are stored in the application server, and for a first application program of which the installation package is stored in the application server, the upload module 204 only uploads relevant information of such application programs to the backup server, and does not upload installation packages of such application programs to the backup server. For a second application for which the installation package is not stored in the application server, the upload module 204 uploads the installation package and related information of the application program to the backup server. Therefore, only application programs which are not in the application server can be uploaded during backup, and effective backup is guaranteed while backup time is saved.
In a specific application, the servers may be divided according to different functions, and in an optional implementation of the embodiment of the present invention, the backup server may be only responsible for storing the related information of the application program uploaded by the terminal, and when receiving the installation package of the application program uploaded by the terminal, the backup server sends the installation package of the application program to the storage server, and stores the storage address of the installation package of the application program in the storage server in association with the related information of the application program uploaded by the terminal.
In an optional implementation of the embodiment of the present invention, during backup and restoration, for a first application whose installation package is stored in an application server, after receiving a restoration request, a backup server sends relevant information of the backed up first application to a terminal, the terminal requests the application server for the installation package of the first application according to the relevant information of the first application, and the application server, in response to the request of the terminal, may transmit the installation package of the first application whose version is the same as that of the backup of the terminal to the terminal, or may transmit the installation package of the first application whose version is the latest to the terminal, which is not limited in this embodiment.
In an optional implementation of the embodiment of the present invention, during backup and restoration, for a second application program whose installation package is not stored in the application server, after the backup server receives a restoration request, the backup server directly transmits the second application program installation package to the terminal for restoration.
In an optional implementation of the embodiment of the present invention, during backup and restore, for a second application program whose installation package is not stored in the application server, after the backup server receives a restore request, the backup server sends the installation package of the second application program to the terminal at the storage address of the storage server, and the terminal can download the application program installation package from the storage server according to the storage address; alternatively, the backup server may acquire the installation package of the second application program from the storage server, and restore the installation package of the second application program to the terminal.
In a specific application, for the backup information uploaded by the same user, the backup server may store the identification information of the application program uploaded by the terminal, the related information, and the storage address of the installation package in an associated manner.
In an optional implementation of the embodiment of the present invention, the information about the application program uploaded by the upload module 204 includes: version information of the application and verification data of the application. In backup and restoration, an appropriate version can be selected with reference to the backup version information. In addition, according to the verification data, integrity verification can be performed on the installation package of the application program uploaded by the terminal so as to ensure the data integrity of the uploaded installation package, and during backup and restoration, integrity verification can also be performed on the restored application program according to the verification data.
In an optional implementation of the embodiment of the present invention, the information about the application program uploaded by the upload module 204 may further include: user data of the application. That is, user data generated by the user using the application to be backed up, for example, a chat log generated by the user using the QQ, a chat log generated by the user using WeChat, information shared by a circle of friends, and the like. By adopting the optional implementation scheme, when the application program is restored, the corresponding user data can be restored to the user together, and the user experience is improved.
In the optional embodiment, optionally, during the restoring, if the version of the application program backed up by the user is not the latest version, the latest version may be restored to the user, so that air interface traffic consumption caused by updating the version after the user is restored is avoided, and user experience is improved. In this case, if the backup information further includes the user data, it may be further determined whether the format of the backed-up user data matches the format of the application program of the current latest version, and if not, the backed-up user data may be further converted into a corresponding format and then restored to the terminal, thereby avoiding a problem that the user cannot view the user data due to the fact that the version of the user data is inconsistent with the version of the application program when the user data is restored to the user.
In an optional implementation of the embodiment of the present invention, the terminal initiates the backup by a manual trigger of the user, or by an event trigger. Therefore, as shown in fig. 3, the apparatus may further include: a detecting module 206, configured to detect whether an input operation request of the backup application is received, and if so, trigger the sending module 200 to send the query request; or, detecting whether a predetermined trigger event occurs, and if so, triggering the sending module to send the query request. The operation request of the backup application may be input by a user keyboard, a key, a controllable touch screen, or the like, and the predetermined trigger event may be set by the user, for example, the user may set the backup trigger event as a system update, and the detection module 206 triggers the sending module 200 to send the query request when detecting that an action for updating the system occurs.
In an optional implementation of the embodiment of the present invention, in order to prevent the server from being maliciously attacked, before the sending module 200 sends the query request, the apparatus may first need to provide account information (e.g., a UID of the user) to the server (the server may be referred to as an account server (ID server)), and after receiving the request of the user, the server generates an authentication code for the user and sends the authentication code to the terminal. The terminal acquires the verification code after receiving the verification code, submits the verification code to the application server when the sending module 200 sends an inquiry request to the application server, the application server verifies the verification code, inquires whether the application server stores the installation package of the application program to be backed up after the verification is passed, and rejects the request of the terminal if the verification is not passed. Similarly, when the upload module 204 uploads the backup data to the backup server, the verification code needs to be submitted to the backup server, the backup server verifies the verification code, receives the backup data uploaded by the terminal after the verification is passed, and rejects the backup data uploaded by the terminal if the verification is not passed. Therefore, in an optional implementation of the embodiment of the present invention, as shown in fig. 3, the sending module 200 is further configured to send request information carrying a user account to the ID server, and the receiving module 202 is further configured to receive a verification code issued by the ID server, where the apparatus further includes: the obtaining module 208 is configured to obtain the verification code issued by the ID server.
In an optional implementation of the embodiment of the present invention, the ID server may issue the verification code through the short message, and the obtaining module 208 may automatically obtain the verification code in the short message. Specifically, the obtaining module 208 may automatically obtain the verification code in the short message by:
acquiring a platform signature of an operating system of a terminal; for example, an executable file injected in advance in a system service (SystemServer) component of the operating system may be run to obtain a platform signature, that is, the executable file is injected in the SystemServer component of the operating system, and by running the executable file, the platform signature of the operating system may be obtained. Or, in another optional implementation manner in an optional implementation of the embodiment of the present invention, the high permission may be obtained by some programs of the partition by flushing a recovery (recovery) partition, and specifically, a module may be set in the ramdisk, and is used to scan the partition of the operating system and view the platform signature of the operating system after the scanning. .
Acquiring the authority for reading the content of the short message based on the acquired platform signature; after the platform signature is obtained, the obtained platform signature of the operating system can be used to re-sign the application, so that the application obtains the corresponding authority of the operating system, in this embodiment, the corresponding authority refers to the authority for reading the content of the short message)
Acquiring a verification code in the short message received by the terminal based on the acquired permission for reading the content of the short message; in a specific application, an Application Program Interface (API) for acquiring the content of the short message may be called based on the acquired permission, the content of the short message received by the terminal is read from a database of the terminal, and then the verification code is acquired from the content of the short message.
In this embodiment, the API for obtaining the content of the short message belongs to a high-level API, and an application with system permission can call such API, so in this embodiment, the corresponding permission is obtained through the platform signature to call the API to obtain the content of the short message. By the embodiment, the short message verification code sent by the server can be automatically acquired under the condition of no root authority, and the application of the terminal is expanded.
After the obtaining module 208 obtains the verification code, the obtained verification code may be input into a dialog box in which the verification code needs to be filled, so that automatic filling of the short message verification code is realized, and user experience is improved.
In the embodiment of the invention, when the application program is backed up, the terminal firstly inquires whether the application program to be backed up is stored in the application server, if so, the terminal does not upload the installation package of the application program to be backed up to the server, and only uploads the relevant information of the application program to the backup server, thereby reducing the uploaded data volume, shortening the time required by the application program backup, saving the data flow consumed by the application program backup and improving the user experience.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in an application backup apparatus according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.
Claims (10)
1. An application backup method, comprising:
a terminal sends a query request to an application server, wherein the query request carries identification information of an application program to be backed up;
the terminal receives a query request response returned by the application server, wherein the query request response carries indication information indicating whether an installation package of the application program to be backed up is stored on the application server;
and the terminal prohibits uploading the installation package of the first application program to be backed up, which is stored in the application server by the installation package, to a backup server according to the indication information, and uploads the related information of the first application program to the backup server.
2. The method of claim 1, wherein the method further comprises:
and the terminal uploads the installation package of the second application program to be backed up, which is not stored in the application server by the installation package, and the related information of the second application program to the backup server according to the indication information.
3. The method of claim 1 or 2, wherein the related information comprises: version information and verification data.
4. The method of claim 3, wherein the related information further comprises: user data.
5. The method according to claim 1 or 2, wherein before the terminal sends the query request to the application server, the method further comprises:
receiving an input operation request of a backup application program; or,
the occurrence of a predetermined triggering event is detected.
6. An application backup apparatus comprising:
the device comprises a sending module, a backup module and a backup module, wherein the sending module is used for sending a query request to an application server, and the query request carries identification information of an application program to be backed up;
a receiving module, configured to receive a query request response returned by the application server, where the query request response carries indication information indicating whether an installation package of the application program to be backed up is stored on the application server;
and the uploading module is used for forbidding to upload the installation package of the first application program to be backed up, which is stored in the application server by the installation package, to the backup server according to the indication information, and uploading the related information of the first application program to the backup server.
7. The apparatus of claim 6, wherein the uploading module is further configured to upload, to the backup server, an installation package of a second application to be backed up, the installation package not being stored on the application server, and related information of the second application according to the indication information.
8. The apparatus of claim 6 or 7, wherein the related information comprises: version information and verification data.
9. The apparatus of claim 8, wherein the related information further comprises: user data.
10. The apparatus of claim 6 or 7, wherein the apparatus further comprises:
the detection module is used for detecting whether an input operation request of the backup application program is received or not, and if so, the sending module is triggered to send the query request; or, detecting whether a predetermined trigger event occurs, and if so, triggering the sending module to send the query request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510981638.2A CN105426272B (en) | 2015-12-23 | 2015-12-23 | Application Backup method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510981638.2A CN105426272B (en) | 2015-12-23 | 2015-12-23 | Application Backup method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105426272A true CN105426272A (en) | 2016-03-23 |
CN105426272B CN105426272B (en) | 2019-10-15 |
Family
ID=55504492
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510981638.2A Expired - Fee Related CN105426272B (en) | 2015-12-23 | 2015-12-23 | Application Backup method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105426272B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657251A (en) * | 2016-10-25 | 2017-05-10 | 广东欧珀移动通信有限公司 | Data synchronizing method and apparatus |
WO2017107961A1 (en) * | 2015-12-23 | 2017-06-29 | 北京奇虎科技有限公司 | Backup system and method |
CN109361819A (en) * | 2018-11-05 | 2019-02-19 | 诚迈科技(南京)股份有限公司 | A kind of method, intelligent terminal and backup server restoring intelligent terminal software |
CN110826550A (en) * | 2019-11-04 | 2020-02-21 | 泰康保险集团股份有限公司 | Target vehicle information verification method, device, equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100391291C (en) * | 2005-08-10 | 2008-05-28 | 华为技术有限公司 | Data backing-up and recovering method and system |
CN102346697A (en) * | 2011-09-27 | 2012-02-08 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for backing up and recovering Android package (APK) and mobile terminal |
CN102428446A (en) * | 2009-05-18 | 2012-04-25 | 阿尔卡特朗讯公司 | Data backup system |
CN102469142A (en) * | 2010-11-16 | 2012-05-23 | 英业达股份有限公司 | Data transmission method for data deduplication program |
US8239647B2 (en) * | 2007-04-27 | 2012-08-07 | Smith Micro Software, Inc. | User interface indicator for mobile device backup status |
CN104113556A (en) * | 2014-07-31 | 2014-10-22 | 国家超级计算深圳中心(深圳云计算中心) | Network logon authentication method and system, mobile terminal and application server |
CN104239775A (en) * | 2014-09-28 | 2014-12-24 | 北京奇虎科技有限公司 | Method and device for establishing wireless connection of mobile phone end and PC (Personal Computer) end by short message |
CN105577734A (en) * | 2014-11-05 | 2016-05-11 | 中兴通讯股份有限公司 | Information backup method, device, server and terminal |
-
2015
- 2015-12-23 CN CN201510981638.2A patent/CN105426272B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100391291C (en) * | 2005-08-10 | 2008-05-28 | 华为技术有限公司 | Data backing-up and recovering method and system |
US8239647B2 (en) * | 2007-04-27 | 2012-08-07 | Smith Micro Software, Inc. | User interface indicator for mobile device backup status |
CN102428446A (en) * | 2009-05-18 | 2012-04-25 | 阿尔卡特朗讯公司 | Data backup system |
CN102469142A (en) * | 2010-11-16 | 2012-05-23 | 英业达股份有限公司 | Data transmission method for data deduplication program |
CN102346697A (en) * | 2011-09-27 | 2012-02-08 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for backing up and recovering Android package (APK) and mobile terminal |
CN104113556A (en) * | 2014-07-31 | 2014-10-22 | 国家超级计算深圳中心(深圳云计算中心) | Network logon authentication method and system, mobile terminal and application server |
CN104239775A (en) * | 2014-09-28 | 2014-12-24 | 北京奇虎科技有限公司 | Method and device for establishing wireless connection of mobile phone end and PC (Personal Computer) end by short message |
CN105577734A (en) * | 2014-11-05 | 2016-05-11 | 中兴通讯股份有限公司 | Information backup method, device, server and terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017107961A1 (en) * | 2015-12-23 | 2017-06-29 | 北京奇虎科技有限公司 | Backup system and method |
CN106657251A (en) * | 2016-10-25 | 2017-05-10 | 广东欧珀移动通信有限公司 | Data synchronizing method and apparatus |
CN109361819A (en) * | 2018-11-05 | 2019-02-19 | 诚迈科技(南京)股份有限公司 | A kind of method, intelligent terminal and backup server restoring intelligent terminal software |
CN110826550A (en) * | 2019-11-04 | 2020-02-21 | 泰康保险集团股份有限公司 | Target vehicle information verification method, device, equipment and storage medium |
CN110826550B (en) * | 2019-11-04 | 2022-08-16 | 泰康保险集团股份有限公司 | Target vehicle information verification method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105426272B (en) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106708557B (en) | Update processing method and device for terminal application | |
CN108121559B (en) | Configuration file pushing method, server and storage medium | |
CN105554137B (en) | A kind of standby system and method | |
CN105426272B (en) | Application Backup method and device | |
CN111279312B (en) | Alternative service paths for service applications | |
JP2013545172A (en) | Device and method for providing a software program adapted to a computer system downloaded by a user | |
US20180054731A1 (en) | SMS Message Reading Control Method and Terminal | |
CN111984520A (en) | Buried point testing method, computer device and computer-readable storage medium | |
US20230221952A1 (en) | Disabling a script based on indications of unsuccessful execution of the script | |
CN103491189B (en) | Method and wireless terminal based on the linkage detection client software installment state of high in the clouds and wireless terminal | |
CN113656107A (en) | Mobile application loading method and device and electronic equipment | |
CN107066353B (en) | Data using method and data consistency assembly in data backup process | |
CN111198725B (en) | Application starting processing method, computing equipment and computer storage medium | |
CN108156048A (en) | It is a kind of to realize the method and apparatus that application crashes information is obtained in complex scene | |
CN106899630B (en) | Thumbnail display method and device for pictures in network disk | |
CN104572943B (en) | Exempt from installation procedure method for cleaning and device | |
US20150281868A1 (en) | Distribution apparatus and distribution method | |
CN107203915B (en) | Data storage method and device | |
CN102984229B (en) | For configuring the method and system of trust machine | |
CN110727945B (en) | Virus scanning method, device and computer readable medium | |
CN111726322B (en) | Method and device for detecting file tampering hijacking and storage medium | |
CN108848183B (en) | Login method and device for simulation user | |
CN107330327B (en) | Infected file detection method, server, processing method, device and detection system | |
CN111200579A (en) | User login method, client and system | |
CN112053207A (en) | Order information acquisition method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191015 Termination date: 20211223 |
|
CF01 | Termination of patent right due to non-payment of annual fee |