App upgrading method, device, system, electronic device and storage medium
An upgrade command and a successful upgrade technology, applied in the field of communication, can solve problems such as low time efficiency, poor user experience, and wasting a lot of time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] figure 1 A schematic structural diagram of an APP upgrading system provided by an embodiment of the present invention, the system includes: a control device 11, a text transfer protocol (File Transfer Protocol Server, FTP) server 13 and at least one mobile terminal 12, each mobile terminal 12 is installed APPs to be upgraded; among them,
[0053] The control device 11 is configured to send an upgrade instruction to at least one mobile terminal 12, wherein the upgrade instruction includes the identification information of the APP to be upgraded and the address information of the FTP server 13;
[0054] At least one mobile terminal 12 is used to receive an upgrade instruction, and send the upgrade instruction to the APP of the identification information, and the APP of the identification information obtains the apk file of the APP from the FTP server 13 according to the address information of the FTP server 13, The APP is upgraded according to the apk file.
[0055] In ...
Embodiment 2
[0062] figure 2 A schematic diagram of an APP upgrade process provided by an embodiment of the present invention, the process includes:
[0063] S201: The APP to be upgraded receives an upgrade instruction sent by the control device, where the upgrade instruction includes address information of an FTP server.
[0064] S202: Obtain the apk file of the APP from the FTP server according to the address information of the FTP server.
[0065] The APP upgrading method provided by the embodiment of the present invention is applied to an APP installed in a mobile terminal, and the mobile terminal may be a device such as a mobile phone or a tablet computer using an Android system. The control device may be a mobile phone, a personal computer (PC), a server and other devices with a communication function.
[0066] Specifically, before the APP to be upgraded is upgraded, the manager or developer of the APP stores the apk file used for upgrading the APP in the FTP server, and the addre...
Embodiment 3
[0073] In order to facilitate the user to know the upgrade result of the APP in a timely manner, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, the method further includes:
[0074] Start the APP and check whether the APP is upgraded successfully;
[0075] If not, send an upgrade failure message including the identification information of the mobile terminal where it is located to the control device.
[0076] Specifically, after the APP to be upgraded according to the downloaded apk file is upgraded, restart the APP, for example: the APP can be started by starting the command "am start-n package name / Activity name" in the Android system, wherein the package The name is the package name of the apk file corresponding to the APP.
[0077] After the APP is started, it runs its own corresponding sub-process or thread. If there is no sub-process or thread that runs incorrectly, it is determined that the self-upgrade is successful; other...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


