CN106598645B - Application upgrading method and device and mobile terminal - Google Patents

Application upgrading method and device and mobile terminal Download PDF

Info

Publication number
CN106598645B
CN106598645B CN201611031591.4A CN201611031591A CN106598645B CN 106598645 B CN106598645 B CN 106598645B CN 201611031591 A CN201611031591 A CN 201611031591A CN 106598645 B CN106598645 B CN 106598645B
Authority
CN
China
Prior art keywords
application
upgrading
target application
information
current version
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
CN201611031591.4A
Other languages
Chinese (zh)
Other versions
CN106598645A (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 Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century 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 Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201611031591.4A priority Critical patent/CN106598645B/en
Publication of CN106598645A publication Critical patent/CN106598645A/en
Application granted granted Critical
Publication of CN106598645B publication Critical patent/CN106598645B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention provides an application upgrading method, an application upgrading device and a mobile terminal. The method comprises the following steps: monitoring an upgrade event of one or more applications on the mobile terminal; when the upgrade event is monitored, acquiring version updating information of a target application corresponding to the upgrade event; determining an application upgrading type corresponding to the upgrading event according to the acquired version updating information; and carrying out corresponding upgrading operation on the target application based on the application upgrading type. The embodiment of the invention can determine the application upgrading type corresponding to the upgrading event according to the version updating information, further start different upgrading mechanisms to carry out corresponding upgrading operation, and can solve the problem that a user needs longer learning and application because the same upgrading operation is adopted for any upgrading event in the prior art. In addition, the embodiment of the invention starts different upgrading mechanisms to carry out corresponding upgrading operation, thereby improving the efficiency of application upgrading and improving the user experience of application upgrading.

Description

Application upgrading method and device and mobile terminal
Technical Field
The invention relates to the technical field of internet application, in particular to an application upgrading method and device and a mobile terminal.
Background
With the rapid development of the internet and mobile terminal technologies, the user's demand is also continuously increasing. In order to meet the diversity of user demands, many Applications (APPs) that are convenient for users to use, such as various instant messaging, reading, entertainment, game applications, etc., have appeared.
In practical applications, applications installed on a mobile terminal by a user may have problems of vulnerabilities, single functions, inconsistent overall layout, and the like, and therefore, application developers upgrade the applications to repair vulnerabilities, enrich the functions of the applications, or adjust the layout.
However, some applications require a long learning and applicable time cost for the user after upgrading (e.g. adjusting the layout, etc.), especially for the elderly who are more likely to experience a feeling of being in the mood of being lost or impatient, and may generate a related emotion that is not used. Therefore, the inventors have considered that there is a need to solve the above problems by technical means.
Disclosure of Invention
In view of the above, the present invention is proposed in order to provide an application upgrade method, apparatus and mobile terminal that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided an application upgrade method, including:
monitoring an upgrade event of one or more applications on the mobile terminal;
when the upgrade event is monitored, acquiring version updating information of a target application corresponding to the upgrade event;
determining an application upgrading type corresponding to the upgrading event according to the acquired version updating information;
and carrying out corresponding upgrading operation on the target application based on the application upgrading type.
Optionally, the monitoring an upgrade event of one or more applications on the mobile terminal includes:
monitoring upgrading operation of one or more applications on the mobile terminal;
and when the upgrading operation is monitored, determining that the upgrading event is monitored.
Optionally, when the upgrade event is monitored, the method further includes:
and intercepting the upgrading operation.
Optionally, the monitoring an upgrade event of one or more applications on the mobile terminal includes:
monitoring a message informing upgrading application on the mobile terminal;
and when the message notifying the upgrading application is monitored, determining that the upgrading event is monitored.
Optionally, the monitoring an upgrade event of one or more applications on the mobile terminal includes:
sending a request for inquiring application upgrading to an application server, wherein the request carries an application information list of the application installed on the mobile terminal, and after receiving the request, the application server compares application information recorded in the application information list with application information recorded in a database to generate upgradable application information and sends the upgradable application information to the mobile terminal;
and when receiving the upgradable application information returned by the application server, determining to monitor the upgrading event.
Optionally, the application server updates the database in the following manner:
the application server calculates the installation amount of each application on other mobile terminals according to the application information recorded in the application information list to obtain a calculation result;
adjusting the frequency of capturing the application information from a third-party server according to the installation amount of each application in the calculation result;
capturing application information of the latest version of each application from a third-party server according to the adjusted frequency;
and updating the application information of the corresponding application in the database according to the captured application information of the latest version of each application.
Optionally, determining an application upgrade type corresponding to the upgrade event according to the acquired version update information includes:
obtaining type keywords corresponding to each application upgrading type;
and matching the type keywords in the version updating information, and determining the application upgrading type corresponding to the matched type keywords as the application upgrading type corresponding to the upgrading event.
Optionally, the application upgrade type includes a first upgrade type or a second upgrade type;
the first upgrading type is upgrading in function modification and/or layout adjustment;
the second upgrade type is an upgrade in performance optimization.
Optionally, if the application upgrade type is a first upgrade type, performing corresponding upgrade operation on the target application based on the application upgrade type, including:
backing up the data packet of the current version of the target application;
and acquiring and installing the data packet of the updated version of the target application so as to perform trial upgrading.
Optionally, after installing the data package of the updated version of the target application, the method further comprises:
generating a prompt message for prompting whether the user tries the target application of the updated version satisfactorily;
and receiving a feedback result returned by the user according to the prompt message, and executing corresponding operation according to the feedback result.
Optionally, executing a corresponding operation according to the feedback result, including:
if the feedback result is a result indicating that the trial is satisfactory, deleting the backed-up data packet of the current version of the target application;
and if the feedback result is a result indicating that the trial is not satisfactory, restoring the backed-up data packet of the current version of the target application.
Optionally, backing up the data package of the current version of the target application includes:
and establishing a backup area on the mobile terminal, and backing up the data packet of the current version of the target application by using the established backup area.
Optionally, the data package of the current version of the target application includes an installation package of the current version of the target application and related information of the target application;
backing up the data package of the current version of the target application, comprising:
sending a query request to an application server, wherein the query request carries relevant information of the target application, the application server receives the query request and returns a query request response to the mobile terminal, and the query request response carries indication information indicating whether an installation package of the current version of the target application is stored on the application server;
if the indication information indicates that the installation package of the current version of the target application is stored in the application server, uploading the relevant information of the target application to a backup server;
if the indication information indicates that the installation package of the current version of the target application is not stored in the application server, uploading the installation package of the current version of the target application and the related information of the target application to a backup server.
Optionally, the related information of the target application includes current version information of the target application.
Optionally, the related information of the target application further includes user data of the target application.
Optionally, if the information related to the target application is backed up on the backup server, deleting the backed-up data packet of the current version of the target application includes:
and deleting the relevant information of the target application on the backup server.
Optionally, if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, deleting the backed-up data package of the current version of the target application, including:
and deleting the installation package of the current version of the target application and the related information of the target application on the backup server.
Optionally, if the information related to the target application is backed up on the backup server, restoring the backed-up data packet of the current version of the target application includes:
acquiring relevant information of the target application from the backup server, and acquiring an installation package of a current version of the target application from the application server according to the relevant information of the target application;
and restoring by using the acquired installation package of the current version of the target application and the related information of the target application.
Optionally, if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, restoring the backed-up data package of the current version of the target application includes:
and acquiring the installation package of the current version of the target application and the related information of the target application from the backup server, and restoring.
Optionally, if the application upgrade type is a second upgrade type, performing corresponding upgrade operation on the target application based on the application upgrade type, including:
and acquiring and installing the data packet of the updated version of the target application for upgrading.
According to another aspect of the present invention, there is also provided an application upgrading apparatus, including:
the monitoring module is suitable for monitoring upgrading events of one or more applications on the mobile terminal;
the acquisition module is suitable for acquiring the version updating information of the target application corresponding to the upgrading event when the upgrading event is monitored;
the determining module is suitable for determining the application upgrading type corresponding to the upgrading event according to the acquired version updating information;
and the upgrading module is suitable for carrying out corresponding upgrading operation on the target application based on the application upgrading type.
Optionally, the monitoring module is further adapted to:
monitoring upgrading operation of one or more applications on the mobile terminal;
and when the upgrading operation is monitored, determining that the upgrading event is monitored.
Optionally, the apparatus further comprises:
and the interception module is suitable for intercepting the upgrading operation when the monitoring module monitors the upgrading event.
Optionally, the monitoring module is further adapted to:
monitoring a message informing upgrading application on the mobile terminal;
and when the message notifying the upgrading application is monitored, determining that the upgrading event is monitored.
Optionally, the monitoring module is further adapted to:
sending a request for inquiring application upgrading to an application server, wherein the request carries an application information list of the application installed on the mobile terminal, and after receiving the request, the application server compares application information recorded in the application information list with application information recorded in a database to generate upgradable application information and sends the upgradable application information to the mobile terminal;
and when receiving the upgradable application information returned by the application server, determining to monitor the upgrading event.
Optionally, the determining module is further adapted to:
obtaining type keywords corresponding to each application upgrading type;
and matching the type keywords in the version updating information, and determining the application upgrading type corresponding to the matched type keywords as the application upgrading type corresponding to the upgrading event.
Optionally, the application upgrade type includes a first upgrade type or a second upgrade type;
the first upgrading type is upgrading in function modification and/or layout adjustment;
the second upgrade type is an upgrade in performance optimization.
Optionally, the upgrade module includes:
the backup unit is suitable for backing up the data packet of the current version of the target application if the application upgrading type is a first upgrading type;
and the first upgrading unit is suitable for acquiring the data packet of the updated version of the target application and installing the data packet so as to carry out trial upgrading.
Optionally, the upgrade module further includes:
the message prompting unit is suitable for generating a prompting message for prompting a user whether the target application of the updated version is tried satisfactorily or not after the first upgrading unit installs the data packet of the updated version of the target application;
and the processing unit is suitable for receiving a feedback result returned by the user according to the prompt message and executing corresponding operation according to the feedback result.
Optionally, the processing unit is further adapted to:
if the feedback result is a result indicating that the trial is satisfactory, deleting the backed-up data packet of the current version of the target application;
and if the feedback result is a result indicating that the trial is not satisfactory, restoring the backed-up data packet of the current version of the target application.
Optionally, the backup unit is further adapted to:
and establishing a backup area on the mobile terminal, and backing up the data packet of the current version of the target application by using the established backup area.
Optionally, the backup unit is further adapted to:
sending a query request to an application server, wherein the query request carries relevant information of the target application, the application server receives the query request and returns a query request response to the mobile terminal, and the query request response carries indication information indicating whether an installation package of the current version of the target application is stored on the application server;
if the indication information indicates that the installation package of the current version of the target application is stored in the application server, uploading the relevant information of the target application to a backup server;
if the indication information indicates that the installation package of the current version of the target application is not stored in the application server, uploading the installation package of the current version of the target application and the related information of the target application to a backup server.
Optionally, the related information of the target application includes current version information of the target application.
Optionally, the related information of the target application further includes user data of the target application.
Optionally, the processing unit is further adapted to:
and if the relevant information of the target application is backed up on the backup server, deleting the relevant information of the target application on the backup server.
Optionally, the processing unit is further adapted to:
if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, deleting the installation package of the current version of the target application and the related information of the target application on the backup server.
Optionally, the processing unit is further adapted to:
if the relevant information of the target application is backed up on the backup server, obtaining the relevant information of the target application from the backup server, and obtaining an installation package of the current version of the target application from the application server according to the relevant information of the target application;
and restoring by using the acquired installation package of the current version of the target application and the related information of the target application.
Optionally, the processing unit is further adapted to:
if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, the installation package of the current version of the target application and the related information of the target application are obtained from the backup server and are restored.
Optionally, the upgrade module includes:
and the second upgrading unit is suitable for acquiring and installing the data packet of the updated version of the target application for upgrading if the application upgrading type is the second upgrading type.
According to yet another aspect of the present invention, there is also provided a mobile terminal comprising a processor and a memory:
the memory is used for storing a program for executing the application upgrading method;
the processor is configured to execute programs stored in the memory.
The embodiment of the invention provides an application upgrading scheme, which comprises the steps of monitoring one or more application upgrading events on a mobile terminal, and acquiring version updating information of a target application corresponding to the upgrading event when the upgrading event is monitored; subsequently, determining an application upgrading type corresponding to the upgrading event according to the acquired version updating information; and then, corresponding upgrading operation is carried out on the target application based on the application upgrading type. Therefore, the embodiment of the invention can determine the application upgrading type corresponding to the upgrading event according to the version updating information, further start different upgrading mechanisms to carry out corresponding upgrading operation, and can solve the problem that a user needs to learn and apply for any upgrading event in the prior art because the same upgrading operation is adopted. In addition, the embodiment of the invention starts different upgrading mechanisms to carry out corresponding upgrading operation, thereby improving the efficiency of application upgrading and improving the user experience of application upgrading.
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 upgrade method according to an embodiment of the invention;
FIG. 2 shows a flow diagram of an application upgrade method according to another embodiment of the invention;
FIG. 3 is a schematic structural diagram of an application upgrading apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an application upgrading apparatus according to another embodiment of the present invention; and
fig. 5 shows a schematic structural diagram of a mobile terminal according to an 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 upgrading method, which may be applied to a mobile terminal such as a mobile phone and a tablet computer. FIG. 1 shows a flow diagram of an application upgrade method according to an embodiment of the invention. As shown in fig. 1, the method includes at least the following steps S102 to S108.
Step S102, upgrading events of one or more applications on the mobile terminal are monitored.
And step S104, when the upgrading event is monitored, acquiring the version updating information of the target application corresponding to the upgrading event.
And step S106, determining the application upgrading type corresponding to the upgrading event according to the acquired version updating information.
And step S108, carrying out corresponding upgrading operation on the target application based on the application upgrading type.
The embodiment of the invention provides an application upgrading scheme, which comprises the steps of monitoring one or more application upgrading events on a mobile terminal, and acquiring version updating information of a target application corresponding to the upgrading event when the upgrading event is monitored; subsequently, determining an application upgrading type corresponding to the upgrading event according to the acquired version updating information; and then, corresponding upgrading operation is carried out on the target application based on the application upgrading type. Therefore, the embodiment of the invention can determine the application upgrading type corresponding to the upgrading event according to the version updating information, further start different upgrading mechanisms to carry out corresponding upgrading operation, and can solve the problem that a user needs to learn and apply for any upgrading event in the prior art because the same upgrading operation is adopted. In addition, the embodiment of the invention starts different upgrading mechanisms to carry out corresponding upgrading operation, thereby improving the efficiency of application upgrading and improving the user experience of application upgrading.
The monitoring of the upgrade events of one or more applications on the mobile terminal in step S102 may be implemented by monitoring upgrade operations, monitoring messages notifying the upgrade applications, and the like, which will be described in detail below.
The first mode is a mode of monitoring upgrade operations, that is, the upgrade operations of one or more applications on the mobile terminal are monitored, and when the upgrade operations are monitored, it is determined that an upgrade event is monitored. The upgrade operation refers to that an application is ready to be upgraded or is being upgraded, and when the upgrade operation is monitored, the upgrade operation needs to be intercepted so as to prevent the upgrade of the application corresponding to the upgrade operation.
And the second mode is a mode of monitoring a message notifying the upgrade application, namely monitoring the message notifying the upgrade application on the mobile terminal, and determining that an upgrade event is monitored when the message notifying the upgrade application is monitored. In some scenarios, when an application is ready for upgrading or an upgraded version exists, the application is notified of upgrading in a message manner, and the embodiment of the present invention may monitor a message notifying the application upgrading on the mobile terminal, so that when the message notifying the application upgrading is monitored, it is determined that an upgrading event is monitored.
A third mode, namely, sending a request for inquiring application upgrade to an application server, wherein the request carries an application information list of the application installed on the mobile terminal, and after receiving the request, the application server compares application information recorded in the application information list with application information recorded in a database to generate upgradable application information and sends the upgradable application information to the mobile terminal; and when the mobile terminal receives the upgradable application information returned by the application server, determining to monitor an upgrading event.
In an optional embodiment of the present invention, the application server may update the database by the following steps, first, the application server calculates the installation amount of each application on other mobile terminals according to the application information recorded in the application information list, and obtains a calculation result; then, adjusting the frequency of capturing the application information from the third-party server according to the installation amount of each application in the calculation result, and capturing the application information of the latest version of each application from the third-party server according to the adjusted frequency; and then updating the application information of the corresponding application in the database according to the captured application information of the latest version of each application.
In practical applications, the mode one combination mode two or the mode three, the mode one combination mode two and the mode three can be adopted to monitor the upgrading event of the one or more applications on the mobile terminal.
When an upgrade event is monitored, step S104 obtains version update information of the target application corresponding to the upgrade event, where the version update information may include version update information in the form of characters, pictures, and the like.
In the foregoing step S106, the application upgrade type corresponding to the upgrade event is determined according to the acquired version update information, and an optional scheme is provided in the embodiment of the present invention, in this scheme, one or more application upgrade types may be predetermined, so as to acquire a type keyword corresponding to each application upgrade type, match the type keyword in the version update information, and determine the application upgrade type corresponding to the matched type keyword as the application upgrade type corresponding to the upgrade event. The application upgrade type may include a first upgrade type or a second upgrade type, where the first upgrade type is an upgrade for function modification and/or layout adjustment, and the second upgrade type is an upgrade for performance optimization.
In an alternative embodiment of the present invention, it is also possible to determine whether the first upgrade type or the second upgrade type is for a comparison of positions of function keys corresponding to old and new versions.
The target application is correspondingly upgraded based on the application upgrade type in step S108, and the upgrade operation performed on the target application is different for different application upgrade types, which will be described in detail below.
In the first case, if the application upgrade type is the first upgrade type, that is, the upgrade in terms of function modification and/or layout adjustment, the data package of the current version of the target application may be backed up, and then the data package of the updated version of the target application is acquired and installed to perform trial upgrade.
In an optional embodiment of the present invention, after installing the data packet of the updated version of the target application, a prompt message may be further generated to prompt the user whether the trial of the target application of the updated version is satisfactory, so as to receive a feedback result returned by the user according to the prompt message, and execute a corresponding operation according to the feedback result.
Specifically, if the feedback result is a result indicating that the trial is satisfactory, deleting the data packet of the current version of the backed-up target application; if the feedback result is a result indicating that the trial is not satisfactory, restoring the data packet of the current version of the backed-up target application, that is, reinstalling the target application of the current version on the mobile terminal by using the data packet of the current version of the backed-up target application.
In an optional embodiment of the present invention, when backing up the data package of the current version of the target application, a backup area may be established on the mobile terminal, and the data package of the current version of the target application is backed up by using the established backup area. Therefore, when the data packet of the current version of the backup target application is deleted, the data packet of the current version of the target application can be directly deleted in the backup area; when the data package of the current version of the backed-up target application is restored, the installation package of the current version of the target application can be directly obtained from the backup area, and then the obtained installation package of the current version of the target application is used for restoration.
In another optional embodiment of the present invention, the data packet of the current version of the target application includes an installation packet of the current version of the target application and related information of the target application, and when backing up the data packet of the current version of the target application, a query request may be sent to the application server, where the query request carries the related information of the target application; the application server receives the query request and returns a query request response to the mobile terminal, wherein the query request response carries indication information indicating whether the installation package of the current version of the target application is stored on the application server; if the indication information indicates that the installation package of the current version of the target application is stored in the application server, uploading the relevant information of the target application to a backup server; and if the indication information indicates that the installation package of the current version of the target application is not stored in the application server, uploading the installation package of the current version of the target application and the related information of the target application to a backup server. Here, the related information of the target application may include current version information of the target application, and may further include user data of the target application, and the like, to which the present invention is not limited. An application server, i.e., an application marketplace, to which developers may publish applications for download use by users. When the target application is backed up, the mobile terminal firstly inquires whether the application server stores the installation package of the current version of the target application, if so, the mobile terminal does not upload the installation package of the current version of the target application to the backup server, and only uploads the relevant information of the target application to the backup server, so that the uploaded data volume is reduced, the time required by the backup of the target application is shortened, the backup space on the backup server is saved, and the user experience is improved.
In an optional embodiment of the present invention, when the related information of the target application is backed up on the backup server, and the data package of the current version of the backed up target application is deleted, the related information of the target application may be deleted on the backup server.
In an optional embodiment of the present invention, when the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, and the data package of the current version of the backed up target application is deleted, the installation package of the current version of the target application and the related information of the target application may be deleted on the backup server.
In an optional embodiment of the present invention, when the related information of the target application is backed up on the backup server, and the data package of the current version of the backed-up target application is restored, the related information of the target application may be obtained from the backup server, and the installation package of the current version of the target application may be obtained from the application server according to the related information of the target application, and then the obtained installation package of the current version of the target application and the related information of the target application are used for restoration.
In an optional embodiment of the present invention, when the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, and the data package of the current version of the backed up target application is restored, the installation package of the current version of the target application and the related information of the target application may be obtained from the backup server and restored.
In case two, if the application upgrade type is the second upgrade type, that is, the upgrade in the aspect of performance optimization, the data package of the updated version of the target application may be acquired and installed for upgrade.
In the above case one and the case two, corresponding upgrade policies are provided for different application upgrade types (i.e. the first upgrade type and the second upgrade type), and in practical applications, the first upgrade type or the second upgrade type may be set according to practical requirements, which is not limited in this embodiment of the present invention.
The following describes the implementation process of the application upgrade method according to an embodiment of the present invention in detail. In this embodiment, the mobile terminal may be a mobile phone, a tablet computer, a smart watch, or the like. Fig. 2 shows a flowchart of an application upgrade method according to another embodiment of the present invention. As shown in fig. 2, the method at least includes the following steps S202 to S222.
Step S202, monitoring upgrading operation of one or more applications on the mobile terminal.
And step S204, when the upgrading operation is monitored, determining that the upgrading event is monitored, and intercepting the upgrading operation.
Step S206, the version updating information of the target application corresponding to the upgrading event is obtained.
In this step, version update information in the form of text, pictures, or the like may be included.
And S208, acquiring the type keywords corresponding to each application upgrading type, matching the type keywords in the version updating information, and determining the application upgrading type corresponding to the matched type keywords as the application upgrading type corresponding to the upgrading event.
In this step, one or more application upgrade types may be predetermined, and then type keywords corresponding to each application upgrade type may be obtained. The application upgrade type may include a first upgrade type or a second upgrade type, where the first upgrade type is an upgrade for function modification and/or layout adjustment, and the second upgrade type is an upgrade for performance optimization.
Step S210, judging whether the application upgrading type is the first upgrading type, if so, continuing to execute step S212; if not, the step S222 is continued.
Step S212, backing up the data package of the current version of the target application, then obtaining the data package of the updated version of the target application, and installing to perform trial upgrade, and continuing to execute step S214.
In this step, a backup area may be established on the mobile terminal, and the established backup area may be used to backup the data package of the current version of the target application.
Step S214, generating a prompt message for prompting the user whether the target application trial of the updated version is satisfactory, and further receiving a feedback result returned by the user according to the prompt message.
Step S216, judging whether the feedback result is a result indicating that the trial is satisfactory, if yes, continuing to execute step S218; if not, the step S220 is continued.
In step S218, the data package of the current version of the backed-up target application is deleted.
In this step, the data packets of the current version of the target application may be deleted directly in the backup area.
In step S220, the backed-up data packet of the current version of the target application is restored.
In this step, the data package of the current version of the backed-up target application is restored, i.e. the data package of the current version of the backed-up target application is utilized to reinstall the target application of the current version on the mobile terminal. Specifically, the installation package of the current version of the target application may be directly obtained from the backup area, and then the obtained installation package of the current version of the target application is used for restoring.
Step S222, obtaining the data packet of the updated version of the target application, and installing the data packet for upgrading.
In an alternative embodiment of the present invention, the foregoing steps S202 to S204 may also adopt the above-described manner two or manner three to monitor the upgrade event of one or more applications on the mobile terminal.
In an optional embodiment of the present invention, the data packet of the current version of the target application includes an installation packet of the current version of the target application and related information of the target application, the data packet of the current version of the target application is backed up in step S212, and a query request may also be sent to the application server, where the query request carries the related information of the target application; the application server receives the query request and returns a query request response to the mobile terminal, wherein the query request response carries indication information indicating whether the installation package of the current version of the target application is stored on the application server; if the indication information indicates that the installation package of the current version of the target application is stored in the application server, uploading the relevant information of the target application to a backup server; and if the indication information indicates that the installation package of the current version of the target application is not stored in the application server, uploading the installation package of the current version of the target application and the related information of the target application to a backup server. Here, the related information of the target application may include current version information of the target application, and may further include user data of the target application, and the like, to which the present invention is not limited. An application server, i.e., an application marketplace, to which developers may publish applications for download use by users. When the target application is backed up, the mobile terminal firstly inquires whether the application server stores the installation package of the current version of the target application, if so, the mobile terminal does not upload the installation package of the current version of the target application to the backup server, and only uploads the relevant information of the target application to the backup server, so that the uploaded data volume is reduced, the time required by the backup of the target application is shortened, the backup space on the backup server is saved, and the user experience is improved.
Therefore, when the data package of the current version of the backed-up target application is deleted in step S218, if the relevant information of the target application is backed-up on the backup server, the relevant information of the target application may be deleted on the backup server; if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, the installation package of the current version of the target application and the related information of the target application can be deleted on the backup server.
Further, when the backed-up data package of the current version of the target application is restored in step S220, if the related information of the target application is backed up on the backup server, the related information of the target application may be obtained from the backup server, and the installation package of the current version of the target application is obtained from the application server according to the related information of the target application, so that the obtained installation package of the current version of the target application and the related information of the target application are used for restoration; if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, the installation package of the current version of the target application and the related information of the target application can be obtained from the backup server and restored.
In an optional embodiment of the present invention, the foregoing steps S202 to S222 may be applied to an old man mode of the mobile terminal, that is, when the mobile terminal is in the old man mode, the steps S202 to S222 are executed, in the embodiment of the present invention, an application upgrade type corresponding to an upgrade event can be determined according to version update information, and then different upgrade mechanisms are started to perform corresponding upgrade operations, so that a problem that the old man needs to learn and apply longer for any upgrade event in the prior art can be solved, and thus, the old man is prevented from being scared and worried by changes in application. In addition, the embodiment of the invention starts different upgrading mechanisms to carry out corresponding upgrading operation, thereby improving the efficiency of application upgrading and improving the user experience of application upgrading.
Based on the application upgrading method provided by each embodiment, the embodiment of the invention also provides an application upgrading device based on the same inventive concept.
Fig. 3 is a schematic structural diagram of an application upgrading apparatus according to an embodiment of the present invention. As shown in fig. 3, the apparatus may include at least a monitoring module 310, an acquisition module 320, a determination module 330, and an upgrade module 340.
The functions of the components or devices of the application upgrading device and the connection relationship between the components will now be described:
a monitoring module 310 adapted to monitor an upgrade event of one or more applications on the mobile terminal;
an obtaining module 320, coupled to the monitoring module 310, adapted to obtain, when the upgrade event is monitored, version update information of the target application corresponding to the upgrade event;
a determining module 330, coupled to the obtaining module 320, adapted to determine an application upgrade type corresponding to the upgrade event according to the obtained version update information;
the upgrading module 340, coupled to the determining module 330, is adapted to perform corresponding upgrading operations on the target application based on the application upgrading type.
In an embodiment of the present invention, the monitoring module 310 is further adapted to:
monitoring upgrading operation of one or more applications on the mobile terminal;
and when the upgrading operation is monitored, determining that the upgrading event is monitored.
In an embodiment of the present invention, as shown in fig. 4, the apparatus shown in fig. 3 above may further include:
an interception module 350, coupled to the monitoring module 310, adapted to intercept the upgrade operation when the monitoring module 310 monitors the upgrade event.
In an embodiment of the present invention, the monitoring module 310 is further adapted to:
monitoring a message informing upgrading application on the mobile terminal;
and when the message notifying the upgrading application is monitored, determining that the upgrading event is monitored.
In an embodiment of the present invention, the monitoring module 310 is further adapted to:
sending a request for inquiring application upgrading to an application server, wherein the request carries an application information list of the application installed on the mobile terminal, and after receiving the request, the application server compares application information recorded in the application information list with application information recorded in a database to generate upgradable application information and sends the upgradable application information to the mobile terminal;
and when receiving the upgradable application information returned by the application server, determining to monitor the upgrading event.
In an embodiment of the present invention, the determining module 330 is further adapted to:
obtaining type keywords corresponding to each application upgrading type;
and matching the type keywords in the version updating information, and determining the application upgrading type corresponding to the matched type keywords as the application upgrading type corresponding to the upgrading event.
In an embodiment of the present invention, the application upgrade type includes a first upgrade type or a second upgrade type;
the first upgrading type is upgrading in function modification and/or layout adjustment;
the second upgrade type is an upgrade in performance optimization.
In an embodiment of the present invention, as shown in fig. 4, the upgrade module 340 may include:
a backup unit 341, adapted to backup the data packet of the current version of the target application if the application upgrade type is the first upgrade type;
and a first upgrading unit 342, coupled to the backup unit 341, adapted to obtain a data packet of an updated version of the target application, and install the data packet for trial upgrading.
In an embodiment of the present invention, as shown in fig. 4, the upgrade module 340 may further include:
a message prompt unit 343, coupled to the first upgrade unit 342, and adapted to generate a prompt message prompting a user whether a trial of the updated version of the target application is satisfactory after the first upgrade unit 342 installs the data package of the updated version of the target application;
the processing unit 344 is coupled to the message prompting unit 343, and is adapted to receive a feedback result returned by the user according to the prompting message, and execute a corresponding operation according to the feedback result.
In an embodiment of the present invention, the processing unit 344 is further adapted to:
if the feedback result is a result indicating that the trial is satisfactory, deleting the backed-up data packet of the current version of the target application;
and if the feedback result is a result indicating that the trial is not satisfactory, restoring the backed-up data packet of the current version of the target application.
In an embodiment of the present invention, the backup unit 341 is further adapted to:
and establishing a backup area on the mobile terminal, and backing up the data packet of the current version of the target application by using the established backup area.
In an embodiment of the present invention, the backup unit 341 is further adapted to:
sending a query request to an application server, wherein the query request carries relevant information of the target application, the application server receives the query request and returns a query request response to the mobile terminal, and the query request response carries indication information indicating whether an installation package of the current version of the target application is stored on the application server;
if the indication information indicates that the installation package of the current version of the target application is stored in the application server, uploading the relevant information of the target application to a backup server;
if the indication information indicates that the installation package of the current version of the target application is not stored in the application server, uploading the installation package of the current version of the target application and the related information of the target application to a backup server.
In an embodiment of the present invention, the related information of the target application includes current version information of the target application.
In an embodiment of the present invention, the related information of the target application further includes user data of the target application.
In an embodiment of the present invention, the processing unit 344 is further adapted to:
and if the relevant information of the target application is backed up on the backup server, deleting the relevant information of the target application on the backup server.
In an embodiment of the present invention, the processing unit 344 is further adapted to:
if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, deleting the installation package of the current version of the target application and the related information of the target application on the backup server.
In an embodiment of the present invention, the processing unit 344 is further adapted to:
if the relevant information of the target application is backed up on the backup server, obtaining the relevant information of the target application from the backup server, and obtaining an installation package of the current version of the target application from the application server according to the relevant information of the target application;
and restoring by using the acquired installation package of the current version of the target application and the related information of the target application.
In an embodiment of the present invention, the processing unit 344 is further adapted to:
if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, the installation package of the current version of the target application and the related information of the target application are obtained from the backup server and are restored.
In an embodiment of the present invention, as shown in fig. 4, the upgrade module 340 may further include:
the second upgrade unit 345 is adapted to, if the application upgrade type is the second upgrade type, obtain a data package of an updated version of the target application, and install the data package for upgrade.
Based on the same inventive concept, the embodiment of the invention also provides a mobile terminal. Fig. 5 shows a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, which may include a processor 510 and a memory 520, where the memory 520 is used for storing a program for executing the application upgrade method described in any one of the above, and the processor 510 is configured to execute the program stored in the memory 520.
According to any one or a combination of the above preferred embodiments, the following advantages can be achieved by the embodiments of the present invention:
the embodiment of the invention provides an application upgrading scheme, which comprises the steps of monitoring one or more application upgrading events on a mobile terminal, and acquiring version updating information of a target application corresponding to the upgrading event when the upgrading event is monitored; subsequently, determining an application upgrading type corresponding to the upgrading event according to the acquired version updating information; and then, corresponding upgrading operation is carried out on the target application based on the application upgrading type. Therefore, the embodiment of the invention can determine the application upgrading type corresponding to the upgrading event according to the version updating information, further start different upgrading mechanisms to carry out corresponding upgrading operation, and can solve the problem that a user needs to learn and apply for any upgrading event in the prior art because the same upgrading operation is adopted. In addition, the embodiment of the invention starts different upgrading mechanisms to carry out corresponding upgrading operation, thereby improving the efficiency of application upgrading and improving the user experience of application upgrading.
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. It will be appreciated by those skilled in the art 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 the application upgrading apparatus and mobile terminal 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.
In one aspect of the embodiments of the present invention, a1, an application upgrade method is provided, including:
monitoring an upgrade event of one or more applications on the mobile terminal;
when the upgrade event is monitored, acquiring version updating information of a target application corresponding to the upgrade event;
determining an application upgrading type corresponding to the upgrading event according to the acquired version updating information;
and carrying out corresponding upgrading operation on the target application based on the application upgrading type.
A2, the method according to A1, wherein the monitoring upgrading events of one or more applications on the mobile terminal includes:
monitoring upgrading operation of one or more applications on the mobile terminal;
and when the upgrading operation is monitored, determining that the upgrading event is monitored.
A3, the method of A2, wherein upon monitoring the upgrade event, the method further comprises:
and intercepting the upgrading operation.
A4, the method according to A1, wherein the monitoring upgrading events of one or more applications on the mobile terminal includes:
monitoring a message informing upgrading application on the mobile terminal;
and when the message notifying the upgrading application is monitored, determining that the upgrading event is monitored.
A5, the method according to A1, wherein the monitoring upgrading events of one or more applications on the mobile terminal includes:
sending a request for inquiring application upgrading to an application server, wherein the request carries an application information list of the application installed on the mobile terminal, and after receiving the request, the application server compares application information recorded in the application information list with application information recorded in a database to generate upgradable application information and sends the upgradable application information to the mobile terminal;
and when receiving the upgradable application information returned by the application server, determining to monitor the upgrading event.
A6, the method according to A5, wherein the application server updates the database in the following way:
the application server calculates the installation amount of each application on other mobile terminals according to the application information recorded in the application information list to obtain a calculation result;
adjusting the frequency of capturing the application information from a third-party server according to the installation amount of each application in the calculation result;
capturing application information of the latest version of each application from a third-party server according to the adjusted frequency;
and updating the application information of the corresponding application in the database according to the captured application information of the latest version of each application.
A7, the method according to any one of A1-A6, wherein the determining an application upgrade type corresponding to the upgrade event according to the acquired version update information includes:
obtaining type keywords corresponding to each application upgrading type;
and matching the type keywords in the version updating information, and determining the application upgrading type corresponding to the matched type keywords as the application upgrading type corresponding to the upgrading event.
A8, the method according to any one of A1-A7, wherein the application upgrade type includes a first upgrade type or a second upgrade type;
the first upgrading type is upgrading in function modification and/or layout adjustment;
the second upgrade type is an upgrade in performance optimization.
A9, the method according to A8, wherein if the application upgrade type is a first upgrade type, performing corresponding upgrade operation on the target application based on the application upgrade type includes:
backing up the data packet of the current version of the target application;
and acquiring and installing the data packet of the updated version of the target application so as to perform trial upgrading.
A10, the method of A9, wherein after installing the updated version of the target application of the data package, the method further comprises:
generating a prompt message for prompting whether the user tries the target application of the updated version satisfactorily;
and receiving a feedback result returned by the user according to the prompt message, and executing corresponding operation according to the feedback result.
A11, the method according to A10, wherein the corresponding operations are executed according to the feedback result, and the method comprises the following steps:
if the feedback result is a result indicating that the trial is satisfactory, deleting the backed-up data packet of the current version of the target application;
and if the feedback result is a result indicating that the trial is not satisfactory, restoring the backed-up data packet of the current version of the target application.
A12, the method according to any one of A9-A11, wherein backing up the data package of the current version of the target application includes:
and establishing a backup area on the mobile terminal, and backing up the data packet of the current version of the target application by using the established backup area.
A13, the method according to any one of A9-A11, wherein,
the data package of the current version of the target application comprises an installation package of the current version of the target application and relevant information of the target application;
backing up the data package of the current version of the target application, comprising:
sending a query request to an application server, wherein the query request carries relevant information of the target application, the application server receives the query request and returns a query request response to the mobile terminal, and the query request response carries indication information indicating whether an installation package of the current version of the target application is stored on the application server;
if the indication information indicates that the installation package of the current version of the target application is stored in the application server, uploading the relevant information of the target application to a backup server;
if the indication information indicates that the installation package of the current version of the target application is not stored in the application server, uploading the installation package of the current version of the target application and the related information of the target application to a backup server.
A14, the method according to A13, wherein the relevant information of the target application includes current version information of the target application.
A15, the method according to A14, wherein the relevant information of the target application further includes user data of the target application.
A16, the method according to any one of A13-A15, wherein if the information about the target application is backed up on the backup server, deleting the backed up data package of the current version of the target application comprises:
and deleting the relevant information of the target application on the backup server.
A17, the method according to any one of a13 to a15, wherein if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, deleting the backed up data package of the current version of the target application includes:
and deleting the installation package of the current version of the target application and the related information of the target application on the backup server.
A18, the method according to any one of A13-A17, wherein if the information about the target application is backed up on the backup server, restoring the backed up data package of the current version of the target application includes:
acquiring relevant information of the target application from the backup server, and acquiring an installation package of a current version of the target application from the application server according to the relevant information of the target application;
and restoring by using the acquired installation package of the current version of the target application and the related information of the target application.
A19, the method according to any one of A13-A17, wherein if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, restoring the backed up data package of the current version of the target application comprises:
and acquiring the installation package of the current version of the target application and the related information of the target application from the backup server, and restoring.
A20, the method according to A8, wherein if the application upgrade type is a second upgrade type, performing corresponding upgrade operation on the target application based on the application upgrade type includes:
and acquiring and installing the data packet of the updated version of the target application for upgrading.
In another aspect of the embodiments of the present invention, there is also provided B21, an application upgrading apparatus, including:
the monitoring module is suitable for monitoring upgrading events of one or more applications on the mobile terminal;
the acquisition module is suitable for acquiring the version updating information of the target application corresponding to the upgrading event when the upgrading event is monitored;
the determining module is suitable for determining the application upgrading type corresponding to the upgrading event according to the acquired version updating information;
and the upgrading module is suitable for carrying out corresponding upgrading operation on the target application based on the application upgrading type.
B22, the apparatus of B21, wherein the monitoring module is further adapted to:
monitoring upgrading operation of one or more applications on the mobile terminal;
and when the upgrading operation is monitored, determining that the upgrading event is monitored.
B23, the device according to B22, wherein further comprising:
and the interception module is suitable for intercepting the upgrading operation when the monitoring module monitors the upgrading event.
B24, the apparatus of B21, wherein the monitoring module is further adapted to:
monitoring a message informing upgrading application on the mobile terminal;
and when the message notifying the upgrading application is monitored, determining that the upgrading event is monitored.
B25, the apparatus of B21, wherein the monitoring module is further adapted to:
sending a request for inquiring application upgrading to an application server, wherein the request carries an application information list of the application installed on the mobile terminal, and after receiving the request, the application server compares application information recorded in the application information list with application information recorded in a database to generate upgradable application information and sends the upgradable application information to the mobile terminal;
and when receiving the upgradable application information returned by the application server, determining to monitor the upgrading event.
B26, the apparatus according to any one of B21-B25, wherein the determining module is further adapted to:
obtaining type keywords corresponding to each application upgrading type;
and matching the type keywords in the version updating information, and determining the application upgrading type corresponding to the matched type keywords as the application upgrading type corresponding to the upgrading event.
B27, the apparatus according to any one of B21-B26, wherein the application upgrade type comprises a first upgrade type or a second upgrade type;
the first upgrading type is upgrading in function modification and/or layout adjustment;
the second upgrade type is an upgrade in performance optimization.
B28, the apparatus according to B27, wherein the upgrade module includes:
the backup unit is suitable for backing up the data packet of the current version of the target application if the application upgrading type is a first upgrading type;
and the first upgrading unit is suitable for acquiring the data packet of the updated version of the target application and installing the data packet so as to carry out trial upgrading.
B29, the apparatus according to B28, wherein the upgrade module further comprises:
the message prompting unit is suitable for generating a prompting message for prompting a user whether the target application of the updated version is tried satisfactorily or not after the first upgrading unit installs the data packet of the updated version of the target application;
and the processing unit is suitable for receiving a feedback result returned by the user according to the prompt message and executing corresponding operation according to the feedback result.
B30, the apparatus according to B29, wherein the processing unit is further adapted to:
if the feedback result is a result indicating that the trial is satisfactory, deleting the backed-up data packet of the current version of the target application;
and if the feedback result is a result indicating that the trial is not satisfactory, restoring the backed-up data packet of the current version of the target application.
B31, the apparatus according to any of B28-B30, wherein the backup unit is further adapted to:
and establishing a backup area on the mobile terminal, and backing up the data packet of the current version of the target application by using the established backup area.
B32, the apparatus according to any of B28-B30, wherein the backup unit is further adapted to:
sending a query request to an application server, wherein the query request carries relevant information of the target application, the application server receives the query request and returns a query request response to the mobile terminal, and the query request response carries indication information indicating whether an installation package of the current version of the target application is stored on the application server;
if the indication information indicates that the installation package of the current version of the target application is stored in the application server, uploading the relevant information of the target application to a backup server;
if the indication information indicates that the installation package of the current version of the target application is not stored in the application server, uploading the installation package of the current version of the target application and the related information of the target application to a backup server.
B33, the apparatus according to B32, wherein the relevant information of the target application includes current version information of the target application.
B34, the apparatus according to B33, wherein the relevant information of the target application further includes user data of the target application.
B35, the apparatus according to any one of B32-B34, wherein the processing unit is further adapted to:
and if the relevant information of the target application is backed up on the backup server, deleting the relevant information of the target application on the backup server.
B36, the apparatus according to any one of B32-B34, wherein the processing unit is further adapted to:
if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, deleting the installation package of the current version of the target application and the related information of the target application on the backup server.
B37, the apparatus according to any one of B32-B36, wherein the processing unit is further adapted to:
if the relevant information of the target application is backed up on the backup server, obtaining the relevant information of the target application from the backup server, and obtaining an installation package of the current version of the target application from the application server according to the relevant information of the target application;
and restoring by using the acquired installation package of the current version of the target application and the related information of the target application.
B38, the apparatus according to any one of B32-B36, wherein the processing unit is further adapted to:
if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, the installation package of the current version of the target application and the related information of the target application are obtained from the backup server and are restored.
B39, the apparatus according to B27, wherein the upgrade module includes:
and the second upgrading unit is suitable for acquiring and installing the data packet of the updated version of the target application for upgrading if the application upgrading type is the second upgrading type.
In another aspect of the embodiments of the present invention, there is further provided a mobile terminal C40, including a processor and a memory:
the memory for storing a program for executing the application upgrade method of any one of A1-A20;
the processor is configured to execute programs stored in the memory.

Claims (30)

1. An application upgrade method, comprising:
monitoring an upgrade event of one or more applications on the mobile terminal;
when the upgrade event is monitored, acquiring version updating information of a target application corresponding to the upgrade event;
determining an application upgrading type corresponding to the upgrading event according to the acquired version updating information;
wherein the application upgrade type comprises: a first upgrade type or a second upgrade type;
the first upgrading type is upgrading in function modification and/or layout adjustment;
the second upgrade type is upgrade in performance optimization;
if the application upgrading type is a first upgrading type, performing corresponding backup upgrading operation on the target application based on the application upgrading type, wherein the backup upgrading operation comprises the following steps:
backing up the data packet of the current version of the target application;
acquiring a data packet of the updated version of the target application, and installing the data packet to perform trial upgrading;
carrying out backup restoration operation or deleting backup operation after installing the data package of the updated version of the target application;
if the application upgrading type is a second upgrading type, corresponding upgrading operation is carried out on the target application based on the application upgrading type, and the upgrading operation comprises the following steps:
and acquiring and installing the data packet of the updated version of the target application for upgrading.
2. The method of claim 1, wherein the monitoring for upgrade events for one or more applications on the mobile terminal comprises:
monitoring upgrading operation of one or more applications on the mobile terminal;
and when the upgrading operation is monitored, determining that the upgrading event is monitored.
3. The method of claim 2, wherein upon monitoring the upgrade event, the method further comprises:
and intercepting the upgrading operation.
4. The method of claim 1, wherein the monitoring for upgrade events for one or more applications on the mobile terminal comprises:
monitoring a message informing upgrading application on the mobile terminal;
and when the message notifying the upgrading application is monitored, determining that the upgrading event is monitored.
5. The method of claim 1, wherein the monitoring for upgrade events for one or more applications on the mobile terminal comprises:
sending a request for inquiring application upgrading to an application server, wherein the request carries an application information list of the application installed on the mobile terminal, and after receiving the request, the application server compares application information recorded in the application information list with application information recorded in a database to generate upgradable application information and sends the upgradable application information to the mobile terminal;
and when receiving the upgradable application information returned by the application server, determining to monitor the upgrading event.
6. The method of claim 5, wherein the application server updates the database by:
the application server calculates the installation amount of each application on other mobile terminals according to the application information recorded in the application information list to obtain a calculation result;
adjusting the frequency of capturing the application information from a third-party server according to the installation amount of each application in the calculation result;
capturing application information of the latest version of each application from a third-party server according to the adjusted frequency;
and updating the application information of the corresponding application in the database according to the captured application information of the latest version of each application.
7. The method according to any one of claims 1 to 6, wherein determining an application upgrade type corresponding to the upgrade event according to the acquired version update information includes:
obtaining type keywords corresponding to each application upgrading type;
and matching the type keywords in the version updating information, and determining the application upgrading type corresponding to the matched type keywords as the application upgrading type corresponding to the upgrading event.
8. The method of claim 1, wherein performing a backup-restore operation or a delete backup operation after installing the updated version of the data package for the target application comprises:
generating a prompt message for prompting whether the user tries the target application of the updated version satisfactorily;
and receiving a feedback result returned by the user according to the prompt message, and executing backup restoration operation or deleting backup operation according to the feedback result.
9. The method of claim 8, wherein performing a backup restore operation or a delete backup operation according to the feedback result comprises:
if the feedback result is a result indicating that the trial is satisfactory, deleting the backed-up data packet of the current version of the target application;
and if the feedback result is a result indicating that the trial is not satisfactory, restoring the backed-up data packet of the current version of the target application.
10. The method of any of claims 1, 8 and 9, wherein backing up the data package of the current version of the target application comprises:
and establishing a backup area on the mobile terminal, and backing up the data packet of the current version of the target application by using the established backup area.
11. The method of any one of claims 1, 8, and 9,
the data package of the current version of the target application comprises an installation package of the current version of the target application and relevant information of the target application;
backing up the data package of the current version of the target application, comprising:
sending a query request to an application server, wherein the query request carries relevant information of the target application, the application server receives the query request and returns a query request response to the mobile terminal, and the query request response carries indication information indicating whether an installation package of the current version of the target application is stored on the application server;
if the indication information indicates that the installation package of the current version of the target application is stored in the application server, uploading the relevant information of the target application to a backup server;
if the indication information indicates that the installation package of the current version of the target application is not stored in the application server, uploading the installation package of the current version of the target application and the related information of the target application to a backup server;
wherein the related information of the target application comprises: the current version information of the target application and the user data of the target application.
12. The method of claim 11, wherein deleting the backed-up data package of the current version of the target application if the information related to the target application is backed-up on the backup server comprises:
and deleting the relevant information of the target application on the backup server.
13. The method of claim 11, wherein deleting the backed-up data package of the current version of the target application if the installation package of the current version of the target application and the related information of the target application are backed-up on the backup server comprises:
and deleting the installation package of the current version of the target application and the related information of the target application on the backup server.
14. The method of claim 11, wherein if the information related to the target application is backed up on the backup server, restoring the backed-up data package of the current version of the target application comprises:
acquiring relevant information of the target application from the backup server, and acquiring an installation package of a current version of the target application from the application server according to the relevant information of the target application;
and restoring by using the acquired installation package of the current version of the target application and the related information of the target application.
15. The method of claim 11, wherein if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, restoring the backed-up data package of the current version of the target application comprises:
and acquiring the installation package of the current version of the target application and the related information of the target application from the backup server, and restoring.
16. An application upgrade apparatus, comprising:
the monitoring module is suitable for monitoring upgrading events of one or more applications on the mobile terminal;
the acquisition module is suitable for acquiring the version updating information of the target application corresponding to the upgrading event when the upgrading event is monitored;
the determining module is suitable for determining the application upgrading type corresponding to the upgrading event according to the acquired version updating information; and
an upgrade module;
wherein the application upgrade type comprises: a first upgrade type or a second upgrade type;
the first upgrading type is upgrading in function modification and/or layout adjustment;
the second upgrade type is upgrade in performance optimization;
the upgrade module includes:
the backup unit is suitable for backing up the data packet of the current version of the target application if the application upgrading type is a first upgrading type;
the first upgrading unit is suitable for acquiring a data packet of an updated version of the target application and installing the data packet so as to carry out trial upgrading;
the processing unit is suitable for performing backup restoration operation or deleting backup operation after the first upgrading unit installs the data package of the updated version of the target application;
and the second upgrading unit is suitable for acquiring and installing the data packet of the updated version of the target application for upgrading if the application upgrading type is the second upgrading type.
17. The apparatus of claim 16, wherein the monitoring module is further adapted to:
monitoring upgrading operation of one or more applications on the mobile terminal;
and when the upgrading operation is monitored, determining that the upgrading event is monitored.
18. The apparatus of claim 17, further comprising:
and the interception module is suitable for intercepting the upgrading operation when the monitoring module monitors the upgrading event.
19. The apparatus of claim 16, wherein the monitoring module is further adapted to:
monitoring a message informing upgrading application on the mobile terminal;
and when the message notifying the upgrading application is monitored, determining that the upgrading event is monitored.
20. The apparatus of claim 16, wherein the monitoring module is further adapted to:
sending a request for inquiring application upgrading to an application server, wherein the request carries an application information list of the application installed on the mobile terminal, and after receiving the request, the application server compares application information recorded in the application information list with application information recorded in a database to generate upgradable application information and sends the upgradable application information to the mobile terminal;
and when receiving the upgradable application information returned by the application server, determining to monitor the upgrading event.
21. The apparatus of any of claims 16-20, wherein the determination module is further adapted to:
obtaining type keywords corresponding to each application upgrading type;
and matching the type keywords in the version updating information, and determining the application upgrading type corresponding to the matched type keywords as the application upgrading type corresponding to the upgrading event.
22. The apparatus of claim 16, wherein the upgrade module further comprises:
the message prompting unit is suitable for generating a prompting message for prompting a user whether the target application of the updated version is tried satisfactorily or not after the first upgrading unit installs the data packet of the updated version of the target application;
the processing unit is also suitable for receiving a feedback result returned by the user according to the prompt message, and executing backup restoration operation or deleting backup operation according to the feedback result.
23. The apparatus of claim 22, wherein the processing unit is further adapted to:
if the feedback result is a result indicating that the trial is satisfactory, deleting the backed-up data packet of the current version of the target application;
and if the feedback result is a result indicating that the trial is not satisfactory, restoring the backed-up data packet of the current version of the target application.
24. The apparatus according to any of claims 16, 22 and 23, wherein the backup unit is further adapted to:
and establishing a backup area on the mobile terminal, and backing up the data packet of the current version of the target application by using the established backup area.
25. The apparatus according to any of claims 22-23, wherein the backup unit is further adapted to:
sending a query request to an application server, wherein the query request carries relevant information of the target application, the application server receives the query request and returns a query request response to the mobile terminal, and the query request response carries indication information indicating whether an installation package of the current version of the target application is stored on the application server;
if the indication information indicates that the installation package of the current version of the target application is stored in the application server, uploading the relevant information of the target application to a backup server;
if the indication information indicates that the installation package of the current version of the target application is not stored in the application server, uploading the installation package of the current version of the target application and the related information of the target application to a backup server;
wherein the related information of the target application comprises: the current version information of the target application and the user data of the target application.
26. The apparatus of claim 25, wherein the processing unit is further adapted to:
and if the relevant information of the target application is backed up on the backup server, deleting the relevant information of the target application on the backup server.
27. The apparatus of claim 25, wherein the processing unit is further adapted to:
if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, deleting the installation package of the current version of the target application and the related information of the target application on the backup server.
28. The apparatus of claim 25, wherein the processing unit is further adapted to:
if the relevant information of the target application is backed up on the backup server, obtaining the relevant information of the target application from the backup server, and obtaining an installation package of the current version of the target application from the application server according to the relevant information of the target application;
and restoring by using the acquired installation package of the current version of the target application and the related information of the target application.
29. The apparatus of claim 25, wherein the processing unit is further adapted to:
if the installation package of the current version of the target application and the related information of the target application are backed up on the backup server, the installation package of the current version of the target application and the related information of the target application are obtained from the backup server and are restored.
30. A mobile terminal, comprising a processor and a memory:
the memory is used for storing a program for executing the application upgrading method of any one of claims 1-15;
the processor is configured to execute programs stored in the memory.
CN201611031591.4A 2016-11-18 2016-11-18 Application upgrading method and device and mobile terminal Active CN106598645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611031591.4A CN106598645B (en) 2016-11-18 2016-11-18 Application upgrading method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611031591.4A CN106598645B (en) 2016-11-18 2016-11-18 Application upgrading method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106598645A CN106598645A (en) 2017-04-26
CN106598645B true CN106598645B (en) 2020-11-20

Family

ID=58592582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611031591.4A Active CN106598645B (en) 2016-11-18 2016-11-18 Application upgrading method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106598645B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228210B (en) * 2017-12-08 2021-06-04 平安科技(深圳)有限公司 Resource updating method and system
CN109358877B (en) * 2018-09-30 2023-08-18 上海碳蓝网络科技有限公司 Method and equipment for upgrading application in user equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699399A (en) * 2009-11-03 2010-04-28 中兴通讯股份有限公司 Software update system and method
CN102929671A (en) * 2012-10-31 2013-02-13 北京奇虎科技有限公司 Server, application upgrade method and application upgrade system
CN105530323A (en) * 2016-02-26 2016-04-27 北京金山安全软件有限公司 File upgrading method, related equipment and system
CN105554137A (en) * 2015-12-23 2016-05-04 北京奇虎科技有限公司 Backup system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100732965B1 (en) * 2005-07-20 2007-06-29 엘지전자 주식회사 Upgrade apparatus of the mobile communication terminal and the method thereof
CN104915268A (en) * 2015-06-24 2015-09-16 上海海漾软件技术有限公司 Desktop layout storage and recovery method and device thereof, terminal equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699399A (en) * 2009-11-03 2010-04-28 中兴通讯股份有限公司 Software update system and method
CN102929671A (en) * 2012-10-31 2013-02-13 北京奇虎科技有限公司 Server, application upgrade method and application upgrade system
CN105554137A (en) * 2015-12-23 2016-05-04 北京奇虎科技有限公司 Backup system and method
CN105530323A (en) * 2016-02-26 2016-04-27 北京金山安全软件有限公司 File upgrading method, related equipment and system

Also Published As

Publication number Publication date
CN106598645A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
US9063792B2 (en) Managing mobile execution environments
US10348861B2 (en) Software upgrade method and terminal
CN106897086B (en) Method, device and system for upgrading robot operating system
CN107783795B (en) Application program starting method and device, computer equipment and storage medium
CN107547239B (en) Configuration object updating method and device
US9411573B2 (en) Testing framework for applications
EP2919440B1 (en) Advertisement processing method and device
US9152410B2 (en) Auto-update while running client interface with handshake
US9626174B2 (en) Cancelling device over the air software update
US9870298B2 (en) Application resource utilization management
CN107844306B (en) Application program repairing method and device, storage medium and terminal
CN103353845A (en) Method and device for uploading and pushing script
CN107291481B (en) Component updating method, device and system
CN106598645B (en) Application upgrading method and device and mobile terminal
CN110764812A (en) Intelligent device, intelligent wearable device and software upgrading system and method thereof
CN106331858A (en) Method, device and system for detecting program installation adaptation
CN111078245A (en) Application silence updating method and device
CN106293814B (en) Upgrading method and device
CN111679842B (en) Application program hot update processing method, device and system
WO2015003570A1 (en) Data downloading method,device and system thereof
CN108121545B (en) Application program uninstalling feedback method and device
CN107592633B (en) Subscription processing method and device, electronic equipment and readable storage medium
CN107343042B (en) Browser traffic hijacking method and device and mobile terminal
CN108279915B (en) Application program upgrading method and device and terminal
CN110874759A (en) Multimedia resource processing method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170719

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

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