CN109960521B - Application program upgrading method and device, electronic equipment and storage medium - Google Patents

Application program upgrading method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109960521B
CN109960521B CN201910216159.XA CN201910216159A CN109960521B CN 109960521 B CN109960521 B CN 109960521B CN 201910216159 A CN201910216159 A CN 201910216159A CN 109960521 B CN109960521 B CN 109960521B
Authority
CN
China
Prior art keywords
app
upgrading
upgrade
current
downloading
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
CN201910216159.XA
Other languages
Chinese (zh)
Other versions
CN109960521A (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 SF Intra City Technology Co Ltd
Original Assignee
Beijing SF Intra City 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 SF Intra City Technology Co Ltd filed Critical Beijing SF Intra City Technology Co Ltd
Priority to CN201910216159.XA priority Critical patent/CN109960521B/en
Publication of CN109960521A publication Critical patent/CN109960521A/en
Application granted granted Critical
Publication of CN109960521B publication Critical patent/CN109960521B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses an application program upgrading method and device, electronic equipment and a storage medium, relates to the technical field of application programs, and is used for improving the management convenience and the release efficiency of App upgrading. The application program upgrading method comprises the following steps: sending an upgrading information acquisition request to an own server of an App developer, wherein the upgrading information acquisition request comprises an identification number of the current App; receiving request response information returned by an own App developer server, wherein the request response information comprises the latest version information and the downloading link of the current App, and the latest version information and the downloading link of the current App are obtained by looking up a table by the own App developer server according to the identification number of the current App; and upgrading the current App according to the request response information.

Description

Application program upgrading method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of application program technologies, and in particular, to an application program upgrading method and apparatus, an electronic device, and a storage medium.
Background
With the popularity and development of mobile devices, the Android system of google accounts for 85.9% in the current mobile terminal device system (data from mobile terminal data published by gambier in 2017 all year round), and accounts for about 70% in the city of china (without data support, data collected from all large mobile terminal statistical platforms).
One of the reasons for such a fire explosion in the Android platform development status is that a large number of Android developers develop various mobile Application programs (apps) with different functions, and the apps cover user scenes in various aspects related to mobile scenes. An Android App is actually a product presented on an Android platform. For any product in operation, changes are generated along with the development of the operation, or called iterative update of the product, and the changes may be to add new functions, optimize the existing process or repair product problems. Once the product is updated iteratively, the App needs to be changed accordingly, and for an Android developer, the code is modified to generate a new version of installation package for a user to install and use.
However, the actual product iterative update cannot be so simple. The first problem is how to let the user know that an iteration has occurred for a product (App has a new version); secondly, under the condition that the user knows that the new version exists, how to enable the user to select to use the product of the new version instead of continuously using the product of the old version; third, if a user chooses to use a new version of a product, the user needs how to obtain the new version of the product. The three problems correspond to the apps, namely how to inform the user who has installed the apps that a new version of apps can be used, how to enable the user to select to use the new version of apps, and how to enable the user to acquire the new version of installation packages.
During research, the inventor finds that two ways are generally adopted in the prior art for upgrading and managing apps: the method comprises the steps of firstly, passing through a third party application market such as an application treasure, a 91 mobile phone assistant, a millet application market and the like, and secondly, passing through an App developer own server. The first mode needs to additionally install third-party application market software, and when the App is issued, the App is limited by the audit of the third-party application market, so that the issuing efficiency of the product is greatly influenced; the second mode is that third-party application market software does not need to be additionally installed, but App new version information is obtained by connecting and accessing a preset fixed port of a self-owned server of an App developer through the App, however, the App developer usually has multiple types of Apps, and for each type of App, the updated and upgraded information needs to be configured on the corresponding preset fixed port of the corresponding server every time to release the new version, so that mistakes are easily made and the efficiency is low.
Disclosure of Invention
In view of this, embodiments of the present invention provide an application program upgrading method and apparatus, an electronic device, and a storage medium, which are convenient to manage and efficient to publish.
In a first aspect, an embodiment of the present invention provides an application program upgrading method, including:
sending an upgrading information acquisition request to an own server of an App developer, wherein the upgrading information acquisition request comprises an identification number of the current App;
receiving request response information returned by an own App developer server, wherein the request response information comprises the latest version information and the downloading link of the current App, and the latest version information and the downloading link of the current App are obtained by looking up a table by the own App developer server according to the identification number of the current App;
and upgrading the current App according to the request response information.
With reference to the first aspect, in an implementation manner of the first aspect, the upgrading a current App according to the request response information includes:
and popping up an upgrade confirmation bullet frame, wherein the upgrade confirmation bullet frame is only provided with an upgrade button so that a user can only select the current App to use after upgrading.
With reference to the first aspect, in another implementation manner of the first aspect, the upgrading a current App according to the request response information includes:
after the user triggers the upgrading button, popping up a downloading bullet frame, wherein a downloading progress bar is arranged on the downloading bullet frame and a closing button is not arranged on the downloading bullet frame;
and/or after the user triggers the upgrade button, displaying a download progress bar in a message bar of the system to display the download progress of the latest version of the current App.
With reference to the first aspect, in a further implementation manner of the first aspect, the upgrading a current App according to the request response information includes:
and after the latest version of the current App is downloaded, popping up an installation bullet frame, wherein a closing button is not arranged on the installation bullet frame.
With reference to the first aspect, in a further implementation manner of the first aspect, before sending the update information acquisition request to the App developer's own server, the method includes:
acquiring identification numbers of other apps installed on the current mobile terminal;
and the upgrading information acquisition request comprises the identification number of the current App and the identification numbers of the other Apps.
With reference to the first aspect, in a further implementation manner of the first aspect, the request response information includes a third party application market of the App on shelf;
the popup upgrading confirmation popup box comprises the following steps:
for each App, determining a third party application market which is on the shelf of the App and is installed on the current mobile terminal according to the request response information;
and the upgrading confirmation bullet frame is also provided with a third party application market downloading upgrading button so that a user can select to download and upgrade the corresponding App from the determined third party application market.
In a second aspect, an embodiment of the present invention provides an application program upgrading apparatus, including:
the system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending an upgrading information acquisition request to an own server of an App developer, and the upgrading information acquisition request comprises an identification number of a current App;
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving request response information returned by an own App developer server, the request response information comprises the latest version information and the downloading link of the current App, and the latest version information and the downloading link of the current App are obtained by looking up a table by the own App developer server according to the identification number of the current App;
and the upgrading module is used for upgrading the current App according to the request response information.
With reference to the second aspect, in an embodiment of the second aspect, the upgrade module includes:
the first popping module is used for popping up an upgrading confirmation bullet frame, and the upgrading confirmation bullet frame is only provided with an upgrading button so that a user can only select upgrading and then use the current App.
With reference to the second aspect, in another embodiment of the second aspect, the upgrade module includes:
the second pop-up module is used for popping up a download bullet frame after the user triggers the upgrade button, and the download bullet frame is provided with a download progress bar and is not provided with a closing button; and/or after the user triggers the upgrade button, displaying a download progress bar in a message bar of the system to display the download progress of the latest version of the current App.
With reference to the second aspect, in a further embodiment of the second aspect, the upgrade module includes:
and the third popping module is used for popping up an installation bullet frame after the latest version of the current App is downloaded, and a closing button is not arranged on the installation bullet frame.
With reference to the second aspect, in a further implementation manner of the second aspect, the application program upgrading apparatus further includes:
the acquisition module is used for acquiring the identification numbers of other apps installed on the current mobile terminal;
and the upgrading information acquisition request comprises the identification number of the current App and the identification numbers of the other Apps.
With reference to the second aspect, in a further embodiment of the second aspect, the request response information includes third party application market of App on shelf;
the application program upgrading device further comprises:
the determining module is used for determining a third-party application market which is on the shelf of each App and is installed on the current mobile terminal according to the request response information;
and the upgrading confirmation bullet frame is also provided with a third party application market downloading upgrading button so that a user can select to download and upgrade the corresponding App from the determined third party application market.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing any of the methods described above.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement any of the methods described above.
The method, the device, the electronic equipment and the storage medium for upgrading the application program provided by the embodiment of the invention are characterized in that firstly, an upgrading information acquisition request is sent to an own server of an App developer, the upgrading information acquisition request comprises an identification number of a current App, then request response information returned by the own server of the App developer is received, the request response information comprises latest version information and a downloading link of the current App, the latest version information and the downloading link of the current App are obtained by the own server of the App developer according to a table look-up of the identification number of the current App, and finally, the current App is upgraded according to the request response information. Therefore, in the scheme of the application, the upgrading information of the App can be directly configured on the upgrading platform (namely, the App developer has a server), the latest version information and the downloading link of the App and the App are recorded in the table, the App directly accesses the same pair of external ports preset by the upgrading platform, which server and which preset fixed port are not required to be distinguished, and the upgrading platform can find the latest version information and the downloading link of the current App through the identification number of the current App so as to be used by the upgrading component of the App end (namely, the mobile terminal). According to the embodiment of the invention, third-party application market software does not need to be additionally installed on the mobile terminal, the verification of the third-party application market is not limited, the upgrading management of the App is convenient, and the publishing efficiency is high.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of an embodiment of an application program upgrade method of the present invention;
fig. 2 is a schematic diagram of an upgrade validation bullet box in the application program upgrade method shown in fig. 1, where (a) is a schematic diagram of a non-forced upgrade validation bullet box, and (b) is a schematic diagram of a forced upgrade validation bullet box;
fig. 3 is a schematic diagram of a download box in the application program upgrading method shown in fig. 1, where (a) is a schematic diagram of a download box that is not forcibly upgraded, (b) is a schematic diagram of a download box that is forcibly upgraded, and (c) is a schematic diagram of a download progress bar in a system message bar;
fig. 4 is a schematic diagram of an installation bullet box in the application program upgrading method shown in fig. 1, where (a) is a schematic diagram of an installation bullet box that is not forcibly upgraded, (b) is a schematic diagram of an installation bullet box that is forcibly upgraded, and (c) is a schematic diagram of an installation prompt bar that is downloaded in the background;
FIG. 5 is a diagram of a download resuming box in the application program upgrading method shown in FIG. 1, in which (a) is a diagram of the download resuming box, and (b) is a diagram of a download failure message notification in a system message column;
FIG. 6 is a schematic interface diagram of aggregating other App upgrades in the application program upgrade method shown in FIG. 1;
fig. 7 is a schematic interface diagram of aggregating the upgrades of other download paths in the application program upgrade method shown in fig. 1, where (a) is an interface diagram of aggregating the upgrades of other download paths under the non-forced upgrade condition, and (b) is an interface diagram of aggregating the upgrades of other download paths under the forced upgrade condition;
FIG. 8 is a block diagram of an embodiment of an application upgrade apparatus of the present invention;
fig. 9 is a schematic structural diagram of an embodiment of an electronic device of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In one aspect, an embodiment of the present invention provides an application program upgrading method, which is executed on a mobile terminal side, as shown in fig. 1, the method of this embodiment may include:
step 101: sending an upgrading information acquisition request to an own server of an App developer, wherein the upgrading information acquisition request comprises an identification number of the current App;
in the step, the server side does not adopt a third-party application market, but adopts an own server of an App developer (the server can be a server purchased and maintained by the App developer, or a server rented by the App developer and maintained by others); on the mobile terminal side, independent software similar to a third-party application market is not required to be additionally installed, the current App is directly communicated with the server side, namely the current App sends an upgrading information acquisition request to an own server of an App developer.
For the first problem mentioned in the background art, "how to notify a user who has installed an App that a new version of the App can use" is solved by the method (querying whether the new version of the App exists on a server side) in an active query mode. Moreover, the method can be set to be automatically inquired after the App is started, inquired at preset fixed time points, inquired at intervals of preset time periods and the like so as to adapt to different requirements of users.
When the scheme of the application is specifically implemented, the mobile terminal side can correspond to an Android App upgrade development component (hereinafter referred to as an upgrade component), the server side corresponds to an upgrade platform, and a simple description of the scheme is that a developer accesses and configures the upgrade component provided by the scheme, and then configures the upgrade component on the upgrade platform, so that the upgrade component can acquire information related to the latest version of the current App from the upgrade platform, and the upgrade function of the App is realized.
Further, an upgrade component can be embedded in the App, and the upgrade component is a set of software development kit SDK (in short, it can be regarded as a code with the function of the upgrade component being embedded in the App) which is provided for Android developers by the set of scheme and is convenient to implement the upgrade capability. The upgrading component comprises a plurality of capabilities, namely a network capability, wherein the network capability is used for sending a network request to an upgrading platform (namely an App developer own server), acquiring version information data and downloading an installation package; secondly, the file management capability is provided, and the file management capability is used for installing installation packages, deleting installation packages of old versions and the like; and finally, a User Interface (UI) function is also provided for displaying the new version content and the like to the User.
Step 102: receiving request response information returned by an own App developer server, wherein the request response information comprises the latest version information and the downloading link of the current App, and the latest version information and the downloading link of the current App are obtained by looking up a table by the own App developer server according to the identification number of the current App;
in this step, the current App receives request response information returned by the App developer's own server, where the request response information includes the latest version information and the download link of the current App, and the latest version information and the download link of the current App are obtained by the App developer's own server looking up a table according to the identification number of the current App (specifically, Application ID or other self-agreed identification numbers with uniqueness may be used).
The inventor finds that, in the prior art, for a mode of upgrading and managing an App through an App developer own server, the App is usually connected to access a preset fixed port of the App developer own server through the App to acquire App new version information, however, the App developer usually has multiple apps, for example, if the App developer has two apps which are respectively an AApp and a B App, an upgrading management mode is that upgrading information of the a App is configured at one port of one server a, upgrading information of the B App is configured at one port of the other server B, and thus, for each App, upgrading information of each time needs to be configured on a corresponding preset fixed port of a corresponding server to release a new version; another upgrade management mode is to configure the upgrade information of the a App at one port of one server a and the upgrade information of the B App at the other port of the same server a, so that for each App, the upgrade information needs to be configured on the corresponding preset fixed port of the same server each time to release the new version, and therefore, no matter which of the two upgrade management modes is adopted, the problems of easy error and low efficiency exist.
According to the scheme, the upgrading information acquisition request comprises the identification number of the current App, the identification number is the only mark of the Android App, and the identification numbers of all the Apps are different, so that the uniqueness can be ensured. The upgrading platform (namely an App developer own server) stores a corresponding relation table of an identification number of an App and latest version information and a downloading link of the App in advance, and after receiving an upgrading information acquisition request sent by an upgrading component, the upgrading platform can look up the table to obtain the latest version information and the downloading link of the current App and return request response information containing the latest version information and the downloading link of the current App to the upgrading component.
Therefore, in the scheme of the application, the upgrading information of all apps can be directly configured on the upgrading platform (namely, the apps developers own servers), the apps and the corresponding latest version information and downloading links of the apps are recorded in the table, the apps directly access the same external port preset by the upgrading platform, the servers and the preset fixed ports do not need to be distinguished, and the upgrading platform can find the latest version information and the downloading links of the current apps through the identification number of the current apps to obtain and use the upgrading components of the apps (namely, the mobile terminals).
Step 103: and upgrading the current App according to the request response information.
In this step, the current App receives the request response information, and since the request response information includes the latest version information and the download link of the current App, the current App can be upgraded according to the request response information. Specifically, the upgrade component may compare the current version of the App with the version number of the new version information returned by the upgrade platform, and if the current version of the App is consistent with the version number of the new version information, the current version is considered to be the latest version, and if the version number of the new version information is higher, the upgrade process may be entered (see the following description).
The second problem mentioned in the background of the invention is how to let the user choose to use a new version of App, unlike the website, for App, upgrade needs the user's consent, and then all that is needed is to guide the user to download the new version. To address this issue, the present application addresses by optimizing the upgrade and download experience. The specific upgrade experience optimization strategy will be described in detail later.
As to the third problem mentioned in the background, "how to get the user to the new version of the installation package", the apple iOS system provides an official application market App Store through which the user can and only does download and update. However, the Android platform has no official platform, such as application markets such as the treasure application market and the millet application market are all third-party application markets, and the product can be released to the third-party application markets admittedly, so that the user can update and download the product through the third-party application markets. However, the mode depends on that the user downloads the third-party application market, and the mode is limited by the auditing of the platform when the App is released in the third-party application market, which has a great influence on the release efficiency of the product. Thus, to avoid being restricted to third party application markets, it is desirable for apps to have the ability to download installation packages and upgrade. The solution of the present application solves this problem by upgrading the platform (App developer's own server). When a product is released, the installation package is uploaded to the upgrading platform, the upgrading platform provides the capability of storing the installation package, and therefore when the App obtains new version information from the upgrading platform, the upgrading platform can download the installation package and the new version information to the App, and the App can directly download the installation package of the new version and upgrade.
As an optional embodiment, the upgrading the current App according to the request response information (step 103) may include:
step 1031: and popping up an upgrade confirmation bullet frame, wherein the upgrade confirmation bullet frame is only provided with an upgrade button so that a user can only select the current App to use after upgrading.
A key point is proposed here, App upgrade policy: forced/unforced upgrade, which is a core point of the upgrade flow experience optimization. In short, the forced upgrade is to require that the user can continue to use the App after upgrading, while the forced upgrade is to select upgrade or not to upgrade, and the user can normally use the App regardless of upgrade. The two strategies are proposed because, for a general situation, the new version is compatible with the functions of the old version, that is, the new version includes all the functions of the old version, on the basis, the new version can be added with a plurality of functions or the interface style and the like is optimized, but the use of the original functions cannot be influenced. For this case, the user may autonomously select upgrade or not, and this scenario corresponds to non-mandatory upgrade. However, in some cases, for example, some problems exist in the old version, or some functions in the old version are abandoned in the product policy, the normal use of the user is affected if the new version is not upgraded, and in such a case, a forced upgrading policy needs to be adopted. The two strategies can be applied to all product iterations, and in practical application, the experience of user feedback is good. Fig. 2(a) shows an unforced upgrade confirm bullet box, and fig. 2(b) shows a forced upgrade confirm bullet box.
First, it is the most common way to upgrade, with no forced upgrade. The core of the non-mandatory upgrading is to provide the capability of downloading and upgrading on the premise of affecting the normal use of the user as little as possible. This procedure is more demanding on the user experience. The concept of forced upgrade is opposite to that of forced upgrade, and because the user needs to upgrade to a new version to use the function of the App due to the requirement of the scene corresponding to the forced upgrade, the user needs to be prevented from using the App of the current old version in each process of upgrade. As can be seen from fig. 2, fig. 2(a) does not enforce the right of the upgrade user to select upgrade or not, if upgrade is temporarily selected, the popup box is closed, and the user can use the App normally. The function of the upgrade confirmation bullet box is not only that whether the user selects upgrading or not, but also that the upgrade confirmation bullet box has the description of functions of a new version, and the user can know the functions contained in the new version through the description, so that the user is guided to download and install the new version. And the forced upgrading is realized, so that the user only can select upgrading without other options, and the idea of forced upgrading is also met.
As another optional embodiment, the upgrading the current App according to the request response information (step 103) may further include:
step 1032: after the user triggers the upgrading button, popping up a downloading bullet frame, wherein a downloading progress bar is arranged on the downloading bullet frame and a closing button is not arranged on the downloading bullet frame; and/or after the user triggers the upgrade button, displaying a download progress bar in a message bar of the system to display the download progress of the latest version of the current App.
As long as the user selects the immediate upgrade shown in fig. 2, the App displays the download popup box interface shown in fig. 3, where fig. 3(a) is a download popup box for non-forced upgrade and fig. 3(b) is a download popup box for forced upgrade. As can be seen from the figure, compared with the upgrade confirmation popup box, the download popup box displays a download progress bar for displaying the download progress of the current installation package to the user, and the upgrade download popup box is forced to have no close button, so that the user can only stay on the current download page and cannot use the App function. And a background downloading button is added on the downloading bullet frame which is not forcibly upgraded, the downloading bullet frame is closed after the user clicks background downloading, and meanwhile, the App continues the previous downloading task in the background until the downloading is completed. Fig. 3(c) shows that after the user clicks the background download, the App displays a download progress bar in a message bar of the system, the function of the download progress bar is the same as that of the progress bar on the download bullet frame, and the user can check the download progress through the message bar while using the App, which is also one of the experience optimization points. Of course, fig. 3(c) may also be the case where the user triggers the upgrade button in fig. 2(b) and then the download box in fig. 3(b) appears simultaneously.
As still another optional embodiment, the upgrading the current App according to the request response information (step 103) may further include:
step 1033: and after the latest version of the current App is downloaded, popping up an installation bullet frame, wherein a closing button is not arranged on the installation bullet frame.
After the latest version of the App is downloaded, the upgrade component automatically opens the installation package and skips the system installation interface. The user who uses the Android mobile terminal is clear that the installation interface of the Android system can be cancelled, so that the upgrading operation can be interrupted even if the user finishes the previous steps, and once the operation is interrupted, the installation is finished. For this case, the upgrade component in the present application can also handle.
Fig. 4 is an installation bullet box for upgrading components, which is used to process the above-proposed scenario. After downloading is completed, the installation bullet frame can be popped up while the system installation interface is jumped. Once the user interrupts the installation operation, the installation interface can be re-entered through the installation bezel. Fig. 4(a) is an installation bullet frame for non-forced upgrade, fig. 4(b) is an installation bullet frame for forced upgrade, and fig. 4(c) is an installation prompt bar downloaded in the background. This ensures an arbitrary download process, and the user can perform the installation operation again. Meanwhile, for forced upgrading, the installation elastic frame cannot be closed, and therefore it can be guaranteed that a user cannot use the function of the App when the installation is carried out. Instead of forced upgrading, the user can also choose to close the installation popup box and continue to use the function of the App.
In addition, there is also a case that if the user kills the App through the task manager of the system after the download is completed, the upgrade component can use the installation package completed by the last download when entering the App next time, and directly pops up the installation bullet frame to avoid repeated download.
For some scenes, the situation that the downloading fails may occur when the installation package is downloaded, and the situation is also processed by the scheme, as shown in fig. 5, the downloading can be resumed by clicking a re-downloading button or clicking a message notice in a message bar of the system during background downloading.
After all the steps are executed, namely the installation is finished, the App of the new version is opened, the upgrading component can automatically delete the installation package, and the storage space is released. And the working process of upgrading the component of the App end is finished.
As another optional embodiment, before sending the upgrade information acquisition request to the App developer's own server (step 101), the method may include:
step 100: acquiring identification numbers of other apps installed on the current mobile terminal;
at this time, an upgrade information acquisition request is sent to an own server of the App developer (step 101), where the upgrade information acquisition request includes an identification number of the current App and identification numbers of the other apps.
Therefore, when the upgrading information is requested, the identification numbers of other apps are uploaded to the upgrading platform together, and the upgrading platform can retrieve the information of the new versions of the other apps configured on the upgrading platform according to the information and inform the information to the apps together. Thus, the App can use the new version information to prompt the user so as to realize 'aggregating other App upgrades'. In specific implementation, the Android system PackageManager service can be registered by using codes, partial information of other apps installed on the current mobile terminal can be acquired through the service, and the information contains the identification number (Application ID) and the version number of each App.
The method comprises the steps of aggregating other Apps for upgrading, wherein the function of the method is to detect the App which is accessed to the App upgrading component mentioned in the scheme and simultaneously detect whether new versions of the other Apps are available or not when the current App detects upgrading. If yes, popping up a notification message to remind the user to go to download. As shown in fig. 6, the upgrading component of the current App detects that there are several apps accessing the upgrading component on the mobile terminal, where two apps of "rich object set" and "push away with the city" have new versions. The significance of this function is also to solve the problem mentioned at the beginning-i.e. let the user know that the App has a new version. The function is also one of the core points of the scheme, the function enables the App accessed to the scheme to be a whole on the aspect of upgrading the function, and any App can remind a user of a new version. The function enables the more apps which are accessed to the scheme on the current mobile terminal, the higher the probability that the user acquires the new version prompt is, so that the possibility that the user receives the new version prompt is greatly improved.
As another alternative embodiment, in the request response information returned by the App developer's own server (step 102), the request response information includes the third party application market on the shelf of the App;
the popping up the upgrade confirmation pop-up box (step 1031) previously includes:
for each App, determining a third party application market which is on the shelf of the App and is installed on the current mobile terminal according to the request response information;
at this time, a third party application market downloading upgrading button is further arranged on the upgrading confirmation bullet frame, so that the user can select to download and upgrade the corresponding App from the determined third party application market.
In the Android mobile terminal, a general App does not have the permission of installing an Android installation package and needs to be opened manually by a user, but the system gives the permission of installing the installation package to a third-party application market by default, so that in the face of the situation, the scheme provides the capability of skipping the downloading of the application market. And the third party application market on which the App is put on the shelf can be filled in the App record on the upgrading platform, and once the user does not wish to grant the App with the permission of installation, the user can choose to jump to the third party application market for downloading, as shown in FIG. 7. The function deals with the third problem, and for different scenes, the scheme provides various downloading ways, so that most of the situations are guaranteed, the user can obtain the installation package of the new version, and the upgrading success rate is further improved.
The method for upgrading the application program comprises the steps of firstly sending an upgrading information acquisition request to an own server of an App developer, wherein the upgrading information acquisition request comprises an identification number of a current App, then receiving request response information returned by the own server of the App developer, wherein the request response information comprises latest version information and a downloading link of the current App, the latest version information and the downloading link of the current App are obtained by the own server of the App developer according to a table look-up of the identification number of the current App, and finally upgrading the current App according to the request response information. Therefore, in the scheme of the application, the upgrading information of the App can be directly configured on the upgrading platform (namely, the App developer has a server), the latest version information and the downloading link of the App and the App are recorded in the table, the App directly accesses the same pair of external ports preset by the upgrading platform, which server and which preset fixed port are not required to be distinguished, and the upgrading platform can find the latest version information and the downloading link of the current App through the identification number of the current App so as to be used by the upgrading component of the App end (namely, the mobile terminal). According to the embodiment of the invention, third-party application market software does not need to be additionally installed on the mobile terminal, the verification of the third-party application market is not limited, the upgrading management of the App is convenient, and the publishing efficiency is high.
On the other hand, an embodiment of the present invention provides an application program upgrading apparatus, as shown in fig. 8, the apparatus may include:
the system comprises a sending module 11, a receiving module and a processing module, wherein the sending module is used for sending an upgrading information obtaining request to an own server of an App developer, and the upgrading information obtaining request comprises an identification number of a current App;
the receiving module 12 is configured to receive request response information returned by an own server of the App developer, where the request response information includes latest version information and a download link of a current App, and the latest version information and the download link of the current App are obtained by looking up a table by the own server of the App developer according to an identification number of the current App;
and the upgrading module 13 is configured to upgrade the current App according to the request response information.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
Preferably, the upgrade module 13 may include:
the first popping module is used for popping up an upgrading confirmation bullet frame, and the upgrading confirmation bullet frame is only provided with an upgrading button so that a user can only select upgrading and then use the current App.
Preferably, the upgrade module 13 may further include:
the second pop-up module is used for popping up a download bullet frame after the user triggers the upgrade button, and the download bullet frame is provided with a download progress bar and is not provided with a closing button; and/or after the user triggers the upgrade button, displaying a download progress bar in a message bar of the system to display the download progress of the latest version of the current App.
Preferably, the upgrade module 13 may further include:
and the third popping module is used for popping up an installation bullet frame after the latest version of the current App is downloaded, and a closing button is not arranged on the installation bullet frame.
Further, to implement aggregating other App upgrades, the application program upgrading apparatus may further include:
the acquisition module is used for acquiring identification numbers of other apps installed on the current mobile terminal;
and the upgrading information acquisition request comprises the identification number of the current App and the identification numbers of the other Apps.
Further, in order to realize the aggregation of other downloading way upgrades, the request response information comprises a third party application market of the App on shelf;
the application program upgrading device further comprises:
the determining module is used for determining a third-party application market which is on the shelf of each App and is installed on the current mobile terminal according to the request response information;
and the upgrading confirmation bullet frame is also provided with a third party application market downloading upgrading button so that a user can select to download and upgrade the corresponding App from the determined third party application market.
Fig. 9 is a schematic structural diagram of an embodiment of the electronic device of the present invention, and may implement the process of the embodiment shown in fig. 1 of the present invention, as shown in fig. 9, where the electronic device may include: the device comprises a shell 41, a processor 42, a memory 43, a circuit board 44 and a power circuit 45, wherein the circuit board 44 is arranged inside a space enclosed by the shell 41, and the processor 42 and the memory 43 are arranged on the circuit board 44; a power supply circuit 45 for supplying power to each circuit or device of the electronic apparatus; the memory 43 is used for storing executable program code; the processor 42 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 43, for performing the method described in any of the method embodiments described above.
The specific execution process of the above steps by the processor 42 and the steps further executed by the processor 42 by running the executable program code may refer to the description of the embodiment shown in fig. 1 of the present invention, and are not described herein again.
The electronic device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
The embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps described in any of the above method embodiments.
Embodiments of the invention also provide an application program, which is executed to implement the method provided by any one of the method embodiments of the invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment. For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An application program upgrading method, comprising:
sending an upgrading information acquisition request to the same external port preset by an own server of an App developer, wherein the upgrading information acquisition request comprises an identification number of the current App;
receiving request response information returned by an own App developer server, wherein the request response information comprises the latest version information and the downloading link of the current App, and the latest version information and the downloading link of the current App are obtained by looking up a table by the own App developer server according to the identification number of the current App;
upgrading the current App according to the request response information;
wherein, according to the request response information, upgrading the current App comprises:
popping up an upgrade confirmation bullet frame, wherein the upgrade confirmation bullet frame is only provided with an upgrade button so that a user can only select the current App after upgrading;
after the user triggers the upgrading button, popping up a downloading bullet frame, wherein a downloading progress bar is arranged on the downloading bullet frame and a closing button is not arranged on the downloading bullet frame;
after the latest version of the current App is downloaded, popping up an installation bullet frame, wherein a closing button is not arranged on the installation bullet frame;
wherein, according to the request response information, upgrading the current App comprises:
if the user kills the App through the task manager of the system after downloading is completed, the installation bullet frame is directly popped up by using the installation package which is downloaded last time when the App is entered next time.
2. The method for upgrading the application program according to claim 1, wherein the upgrading the current App according to the request response information comprises:
and after the user triggers the upgrade button, displaying a download progress bar in a message bar of the system to display the download progress of the latest version of the current App.
3. The application program upgrading method according to any one of claims 1-2, wherein before sending the upgrading information acquisition request to the App developer's own server, the method comprises:
acquiring identification numbers of other apps installed on the current mobile terminal;
and the upgrading information acquisition request comprises the identification number of the current App and the identification numbers of the other Apps.
4. The application program upgrading method according to claim 3, wherein the request response information comprises third party application market of App on shelf;
the popup upgrading confirmation popup box comprises the following steps:
for each App, determining a third party application market which is on the shelf of the App and is installed on the current mobile terminal according to the request response information;
and the upgrading confirmation bullet frame is also provided with a third party application market downloading upgrading button so that a user can select to download and upgrade the corresponding App from the determined third party application market.
5. An application program upgrade apparatus, comprising:
the device comprises a sending module, a judging module and a judging module, wherein the sending module is used for sending an upgrading information obtaining request to the same external port preset by an own server of an App developer, and the upgrading information obtaining request comprises an identification number of the current App;
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving request response information returned by an own App developer server, the request response information comprises the latest version information and the downloading link of the current App, and the latest version information and the downloading link of the current App are obtained by looking up a table by the own App developer server according to the identification number of the current App;
the upgrading module is used for upgrading the current App according to the request response information;
the upgrade module includes:
the first popup module is used for popping up an upgrade confirmation popup frame, and the upgrade confirmation popup frame is only provided with an upgrade button so that a user can only select the current App after upgrading;
the second pop-up module is used for popping up a download bullet frame after the user triggers the upgrade button, and the download bullet frame is provided with a download progress bar and is not provided with a closing button;
the third popping module is used for popping up an installation bullet frame after the latest version of the current App is downloaded, and a closing button is not arranged on the installation bullet frame;
and the third popping module is also used for directly popping up the installation bullet frame by using the installation package which is downloaded last time when the App is entered next time if the App is killed by the user through the task manager of the system after the downloading is finished.
6. The application program upgrading device according to claim 5, wherein the second pop-up module is further configured to, after the user triggers the upgrade button, display a download progress bar in a message bar of the system to display a download progress of a latest version of the current App.
7. The application upgrade apparatus according to any one of claims 5 to 6, further comprising:
the acquisition module is used for acquiring the identification numbers of other apps installed on the current mobile terminal;
and the upgrading information acquisition request comprises the identification number of the current App and the identification numbers of the other Apps.
8. The application upgrading device according to claim 7, wherein the request response information includes third party application market of App on shelf;
the application program upgrading apparatus further includes:
the determining module is used for determining a third-party application market which is on the shelf of each App and is installed on the current mobile terminal according to the request response information;
and the upgrading confirmation bullet frame is also provided with a third party application market downloading upgrading button so that a user can select to download and upgrade the corresponding App from the determined third party application market.
9. An electronic device, characterized in that the electronic device comprises: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the method of any of the above claims 1-4.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores one or more programs which are executable by one or more processors to implement the method of any of the preceding claims 1-4.
CN201910216159.XA 2019-03-20 2019-03-20 Application program upgrading method and device, electronic equipment and storage medium Active CN109960521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910216159.XA CN109960521B (en) 2019-03-20 2019-03-20 Application program upgrading method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910216159.XA CN109960521B (en) 2019-03-20 2019-03-20 Application program upgrading method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109960521A CN109960521A (en) 2019-07-02
CN109960521B true CN109960521B (en) 2022-08-02

Family

ID=67024632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910216159.XA Active CN109960521B (en) 2019-03-20 2019-03-20 Application program upgrading method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109960521B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181450A (en) * 2019-07-03 2021-01-05 北京达佳互联信息技术有限公司 Method, device, server and storage medium for processing service request
CN110659052B (en) * 2019-09-30 2023-03-10 深圳市九洲电器有限公司 Method and system for updating system software in network equipment and readable storage medium
CN112083942B (en) * 2020-08-27 2023-08-18 无锡小天鹅电器有限公司 Household appliance upgrading method and device and household appliance
CN113741925B (en) * 2020-09-09 2022-11-11 荣耀终端有限公司 Software upgrading method and device
CN112104733B (en) * 2020-09-15 2024-03-05 京东科技控股股份有限公司 Method, device, electronic equipment and medium for acquiring preset service information
CN113434233B (en) * 2021-06-28 2023-10-24 青岛海尔科技有限公司 Interface jump method and device, storage medium and electronic device
CN117453245A (en) * 2022-08-25 2024-01-26 荣耀终端有限公司 System upgrading method, electronic equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716395A (en) * 2013-12-26 2014-04-09 贝壳网际(北京)安全技术有限公司 Software updating method and updating server
CN104182241A (en) * 2013-05-24 2014-12-03 华为终端有限公司 Webpage application program (Web App) update method and communication device
WO2019029253A1 (en) * 2017-08-09 2019-02-14 南京阿凡达机器人科技有限公司 Fota-based remote upgrade control method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9313259B2 (en) * 2010-09-30 2016-04-12 Cellco Partnership Method for updating an application program on a wireless terminal in a controlled manner
CN104598262A (en) * 2014-11-25 2015-05-06 深圳市腾讯计算机系统有限公司 Method and device for updating mobile application
KR102490673B1 (en) * 2016-06-22 2023-01-20 삼성전자 주식회사 Method for providing additional information for application and electronic device supporting the same
CN107426342A (en) * 2017-09-26 2017-12-01 四川长虹电器股份有限公司 A kind of method of the Android phone application upgrade of reusable extension
CN109471653B (en) * 2018-09-29 2022-06-17 阿波罗智联(北京)科技有限公司 Application program updating method, electronic device, server and storage medium
CN109408091A (en) * 2018-10-15 2019-03-01 珠海格力电器股份有限公司 Application upgrading method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182241A (en) * 2013-05-24 2014-12-03 华为终端有限公司 Webpage application program (Web App) update method and communication device
CN103716395A (en) * 2013-12-26 2014-04-09 贝壳网际(北京)安全技术有限公司 Software updating method and updating server
WO2019029253A1 (en) * 2017-08-09 2019-02-14 南京阿凡达机器人科技有限公司 Fota-based remote upgrade control method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于广电网的应用软件商店设计与实现";边贺臣;《中国优秀博硕士学位论文全文数据库(硕士) 信息科技辑》;20151215(第12期);I138-175 *

Also Published As

Publication number Publication date
CN109960521A (en) 2019-07-02

Similar Documents

Publication Publication Date Title
CN109960521B (en) Application program upgrading method and device, electronic equipment and storage medium
US9161209B1 (en) Multi-step mobile device initiation with intermediate partial reset
EP2419826B1 (en) Systems and methods for automatically enabling and disabling applications and widgets with a computing device based on compatibility and/or user preference
JP6263199B2 (en) Task completion by inter-application communication
US9071627B2 (en) Method and system for cloning applications from an electronic source device to an electronic target device
CN113835777B (en) Mobile application activity detector
EP2715592B1 (en) Apparatus and method of managing a licensable item
US20170346671A1 (en) Method and system for sharing application, and application service platform
EP2989543B1 (en) Method and device for updating client
CN105472033B (en) Media information processing method and mobile terminal
WO2020253366A1 (en) Webpage mailbox data crawling method and apparatus, terminal, and storage medium
US20140108451A1 (en) Method and apparatus for integrated application search in multiple app stores
US20170168807A1 (en) Method and electronic device for updating application program
CN106203092B (en) Method and device for intercepting shutdown of malicious program and electronic equipment
CN111897564A (en) Application updating method and system
CN105871695A (en) Emoji sending method and device
US20140379925A1 (en) Apparatus and method for interworking between app store servers to share application information
CN107844306A (en) Restorative procedure, device, storage medium and the terminal of application program
KR101373550B1 (en) System for platform system based on network
US10469650B1 (en) Mobile communication device self-service client
KR20070095530A (en) Method for providing patch data to client terminals and game providing system of enabling the method
CN110515698A (en) Resource application method, system, electronic device and storage medium
CN111045695A (en) WebLogic middleware deployment device, method, equipment and medium
CN111638896B (en) Upgrade method, upgrade device, storage medium, processor and mobile terminal
KR101319955B1 (en) Method for upgrading game item, server thereof, and recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant