[go: up one dir, main page]

CN109428936B - APP upgrade method, device, system, electronic device and storage medium - Google Patents

APP upgrade method, device, system, electronic device and storage medium Download PDF

Info

Publication number
CN109428936B
CN109428936B CN201710786074.6A CN201710786074A CN109428936B CN 109428936 B CN109428936 B CN 109428936B CN 201710786074 A CN201710786074 A CN 201710786074A CN 109428936 B CN109428936 B CN 109428936B
Authority
CN
China
Prior art keywords
app
upgrade
mobile terminal
upgraded
ftp server
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
CN201710786074.6A
Other languages
Chinese (zh)
Other versions
CN109428936A (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.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
Research Institute of China Mobile Communication Co Ltd
China Mobile Communications Corp
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 Research Institute of China Mobile Communication Co Ltd, China Mobile Communications Corp filed Critical Research Institute of China Mobile Communication Co Ltd
Priority to CN201710786074.6A priority Critical patent/CN109428936B/en
Publication of CN109428936A publication Critical patent/CN109428936A/en
Application granted granted Critical
Publication of CN109428936B publication Critical patent/CN109428936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (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)

Abstract

本发明公开了一种APP的升级方法、装置、系统、电子设备及存储介质,所述系统包括:控制设备、FTP服务器和至少一个移动终端,每个移动终端安装有待升级的APP;其中,控制设备,用于向至少一个移动终端发送升级指令,其中升级指令中包括待升级的APP的标识信息以及FTP服务器的地址信息;至少一个移动终端,用于接收升级指令,将升级指令发送给所述标识信息的APP,APP根据FTP服务器的地址信息,从FTP服务器获取APP的apk文件,根据apk文件对APP升级。由于在本发明实施例中,用户可以通过控制设备同时向多个移动终端发送升级指令,从而使每个移动终端中对应的APP进行升级,进而提高了APP的升级效率。

Figure 201710786074

The invention discloses an APP upgrade method, device, system, electronic equipment and storage medium. The system includes: a control device, an FTP server and at least one mobile terminal, each mobile terminal is installed with an APP to be upgraded; The device is used to send an upgrade instruction to at least one mobile terminal, wherein the upgrade instruction includes the identification information of the APP to be upgraded and the address information of the FTP server; at least one mobile terminal is used to receive the upgrade instruction and send the upgrade instruction to the The APP with identification information. The APP obtains the APP's apk file from the FTP server according to the address information of the FTP server, and upgrades the APP according to the apk file. Because in the embodiment of the present invention, the user can simultaneously send an upgrade instruction to a plurality of mobile terminals through the control device, so that the corresponding APP in each mobile terminal is upgraded, thereby improving the upgrade efficiency of the APP.

Figure 201710786074

Description

APP的升级方法、装置、系统、电子设备及存储介质APP upgrade method, device, system, electronic device and storage medium

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种应用程序(Application,APP)的升级方法、装置、系统、电子设备及存储介质。The present invention relates to the field of communication technologies, and in particular, to a method, device, system, electronic device and storage medium for upgrading an application program (Application, APP).

背景技术Background technique

随着安卓开源系统的蓬勃发展,为移动互联网的发展注入了强大的力量,海量的基于安卓系统的APP如雨后春笋般充斥着移动用户市场,并且APP正以极快的速度在不断的迭代升级。由于安卓系统是开源系统,各种定制化版本多,对APP开发的兼容性、适配性要求高,需要通过大量应用不同版本的安卓系统的移动终端,对升级后的APP进行测试。With the vigorous development of the Android open source system, it has injected a powerful force into the development of the mobile Internet. Massive Android-based APPs have sprung up in the mobile user market, and APPs are constantly iteratively upgraded at a very fast speed. Because the Android system is an open source system with many customized versions, the compatibility and adaptability of APP development are high. It is necessary to test the upgraded APP through a large number of mobile terminals that use different versions of the Android system.

现有对APP升级时主要是将移动终端通过通用串行总线(Universal Serial Bus,USB)线连接到个人电脑(personal computer,PC)上,通过操作安装在PC上的360手机助手或安卓调试桥(Android Debug Bridge,adb)调试工具,获取APP对应的安卓安装包(AndroidPackage,apk)文件对APP进行升级,或者是用户在移动终端的应用市场或APP的设置界面点击对应的升级按钮,下载APP对应的apk文件,对APP进行升级。When upgrading the existing APP, the mobile terminal is mainly connected to a personal computer (personal computer, PC) through a universal serial bus (Universal Serial Bus, USB) line, and the 360 mobile phone assistant or Android debugging bridge installed on the PC is operated by operating (Android Debug Bridge, adb) debugging tool, obtain the corresponding Android installation package (AndroidPackage, apk) file of the APP to upgrade the APP, or the user clicks the corresponding upgrade button in the application market of the mobile terminal or the setting interface of the APP to download the APP The corresponding apk file is used to upgrade the APP.

然而,上述方法中通过PC作为辅助设备,当移动终端的数量较多时,需要配备多台PC,或者每个移动终端依次与PC连接,并且需要人工依次对每个移动终端进行操作,浪费了大量时间,而通过应用商店或者APP设置界面的升级按钮对APP进行升级时,也需要人工依次对每个移动终端进行操作,同样会浪费大量时间,造成了时间效率低,用户体验不佳的问题。However, in the above method, using the PC as an auxiliary device, when the number of mobile terminals is large, multiple PCs need to be equipped, or each mobile terminal is connected to the PC in turn, and each mobile terminal needs to be manually operated in turn, which wastes a lot of money. When upgrading the APP through the upgrade button in the application store or the APP setting interface, it is also necessary to manually operate each mobile terminal in turn, which also wastes a lot of time, resulting in low time efficiency and poor user experience.

发明内容SUMMARY OF THE INVENTION

本发明提供一种APP的升级方法、装置、系统、电子设备及存储介质,用以解决现有技术中存在对APP升级时浪费大量时间、时间效率低、用户体验不佳的问题。The present invention provides an APP upgrade method, device, system, electronic device and storage medium, which are used to solve the problems in the prior art that a lot of time is wasted, time efficiency is low, and user experience is poor when upgrading an APP.

本发明公开了一种APP的升级方法,所述方法包括:The invention discloses an APP upgrading method, which comprises:

待升级的APP接收控制设备发送的升级指令,其中所述升级指令中包括文本传输协议FTP服务器的地址信息;The APP to be upgraded receives an upgrade instruction sent by the control device, wherein the upgrade instruction includes address information of a text transfer protocol FTP server;

根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件;Obtain the Android installation package apk file of the APP from the FTP server according to the address information of the FTP server;

根据所述apk文件对所述APP升级。The APP is upgraded according to the apk file.

进一步地,所述方法还包括:Further, the method also includes:

启动所述APP,检测所述APP是否升级成功;Start the APP, and check whether the APP is successfully upgraded;

如果否,向所述控制设备发送包含自身所在的移动终端的标识信息的升级失败消息。If not, send an upgrade failure message including the identification information of the mobile terminal where it is located to the control device.

进一步地,所述根据所述apk文件对所述APP升级包括:Further, the upgrading of the APP according to the apk file includes:

获取自身所在的移动终端的ROOT权限;Obtain the ROOT permission of the mobile terminal where you are located;

采用所述apk文件对所述移动终端中所述APP对应的文件进行覆盖安装。The file corresponding to the APP in the mobile terminal is overwritten and installed by using the apk file.

进一步地,所述获取自身所在的移动终端的ROOT权限之前,所述方法还包括:Further, before obtaining the ROOT authority of the mobile terminal where the self is located, the method further includes:

所述APP启动预设的子进程或线程,通过所述预设的子进程或线程进行后续步骤。The APP starts a preset sub-process or thread, and performs subsequent steps through the preset sub-process or thread.

进一步地,所述通过所述预设的子进程或线程,采用所述apk文件对所述移动终端中所述APP对应的文件进行覆盖安装之前,所述方法还包括:Further, before using the preset sub-process or thread to overwrite and install the file corresponding to the APP in the mobile terminal by using the apk file, the method further includes:

所述预设的子进程或线程启动预设的启动代理程序;The preset subprocess or thread starts a preset startup agent;

所述启动所述APP,检测所述APP是否升级成功包括:The step of starting the APP and detecting whether the APP is successfully upgraded includes:

所述预设的启动代理程序在自身被启动设定时长后,启动所述APP,检测所述APP是否升级成功。The preset startup agent program starts the APP after being started for a set period of time, and detects whether the APP is successfully upgraded.

本发明公开了一种APP的升级系统,所述系统包括:控制设备、文本传输协议FTP服务器和至少一个移动终端,每个所述移动终端安装有待升级的APP;其中,The invention discloses an APP upgrading system. The system includes: a control device, a text transfer protocol FTP server and at least one mobile terminal, each of which is installed with an APP to be upgraded; wherein,

所述控制设备,用于向所述至少一个移动终端发送升级指令,其中所述升级指令中包括待升级的APP的标识信息以及所述FTP服务器的地址信息;The control device is configured to send an upgrade instruction to the at least one mobile terminal, wherein the upgrade instruction includes the identification information of the APP to be upgraded and the address information of the FTP server;

所述至少一个移动终端,用于接收所述升级指令,将所述升级指令发送给所述标识信息的APP,所述标识信息的APP根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件,根据所述apk文件对所述APP升级。The at least one mobile terminal is configured to receive the upgrade instruction, and send the upgrade instruction to the APP of the identification information, and the APP of the identification information obtains from the FTP server according to the address information of the FTP server The Android installation package apk file of the APP, and the APP is upgraded according to the apk file.

进一步地,所述至少一个移动终端,还用于向所述控制设备发送升级失败消息,其中所述升级失败消息为对所述APP升级后,启动所述APP,检测所述APP升级失败时所述APP发送的。Further, the at least one mobile terminal is further configured to send an upgrade failure message to the control device, wherein the upgrade failure message is that after the APP is upgraded, the APP is started and detected when the APP upgrade fails. sent by the APP.

本发明公开了一种APP的升级装置,所述装置包括:The invention discloses an APP upgrade device, the device comprises:

接收模块,用于待升级的APP接收控制设备发送的升级指令,其中所述升级指令中包括文本传输协议FTP服务器的地址信息;a receiving module, used for the APP to be upgraded to receive an upgrade instruction sent by the control device, wherein the upgrade instruction includes address information of a text transfer protocol FTP server;

获取模块,用于根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件;an acquisition module, configured to acquire the Android installation package apk file of the APP from the FTP server according to the address information of the FTP server;

升级模块,用于根据所述apk文件对所述APP升级。An upgrade module, configured to upgrade the APP according to the apk file.

本发明公开了一种电子设备,包括:存储器、处理器和收发机;The invention discloses an electronic device, comprising: a memory, a processor and a transceiver;

所述处理器,用于读取存储器中的程序,执行下列过程:运行待升级的APP通过收发机接收控制设备发送的升级指令,其中所述升级指令中包括文本传输协议FTP服务器的地址信息;根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件;根据所述apk文件对所述APP升级。The processor is used to read the program in the memory, and execute the following process: run the APP to be upgraded and receive the upgrade instruction sent by the control device through the transceiver, wherein the upgrade instruction includes the address information of the text transfer protocol FTP server; Obtain the Android installation package apk file of the APP from the FTP server according to the address information of the FTP server; and upgrade the APP according to the apk file.

进一步地,所述处理器,还用于启动所述APP,检测所述APP是否升级成功;如果否,通过收发机向所述控制设备发送包含自身所在的移动终端的标识信息的升级失败消息。Further, the processor is further configured to start the APP and detect whether the APP is successfully upgraded; if not, send an upgrade failure message including the identification information of the mobile terminal where the APP is located to the control device through the transceiver.

进一步地,所述处理器,具体用于获取自身所在的移动终端的ROOT权限;采用所述apk文件对所述移动终端中所述APP对应的文件进行覆盖安装。Further, the processor is specifically configured to obtain the ROOT authority of the mobile terminal where it is located; and use the apk file to overwrite and install the file corresponding to the APP in the mobile terminal.

进一步地,所述处理器,还用于运行所述APP启动预设的子进程或线程,通过所述预设的子进程或线程进行后续获取自身所在的移动终端的ROOT权限的步骤。Further, the processor is further configured to run the APP to start a preset sub-process or thread, and use the preset sub-process or thread to perform subsequent steps of acquiring the ROOT authority of the mobile terminal where it is located.

进一步地,所述处理器,还用于运行预设的子进程或线程启动预设的启动代理程序,在所述预设的启动代理程序在自身被启动设定时长后,启动所述APP,检测所述APP是否升级成功。Further, the processor is further configured to run a preset sub-process or thread to start a preset startup agent program, and start the APP after the preset startup agent program is started by itself for a set period of time, Check whether the APP is successfully upgraded.

本发明公开了一种电子设备,包括:处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;The invention discloses an electronic device, comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus;

所述存储器中存储有计算机程序,当所述程序被所述处理器执行时,使得所述处理器执行上述任一所述方法的步骤。A computer program is stored in the memory, and when the program is executed by the processor, the processor causes the processor to perform the steps of any one of the above-mentioned methods.

本发明公开了一种计算机可读存储介质,其存储有可由电子设备执行的计算机程序,当所述程序在所述电子设备上运行时,使得所述电子设备执行上述任一所述方法的步骤。The present invention discloses a computer-readable storage medium, which stores a computer program executable by an electronic device, and when the program runs on the electronic device, makes the electronic device execute the steps of any one of the above-mentioned methods. .

本发明公开了一种APP的升级方法、装置、系统、电子设备及存储介质,所述系统包括:控制设备、FTP服务器和至少一个移动终端,每个所述移动终端安装有待升级的APP;其中,所述控制设备,用于向所述至少一个移动终端发送升级指令,其中所述升级指令中包括待升级的APP的标识信息以及所述FTP服务器的地址信息;所述至少一个移动终端,用于接收所述升级指令,将所述升级指令发送给所述标识信息的APP,所述标识信息的APP根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件,根据所述apk文件对所述APP升级。由于在本发明实施例中,移动终端中的待升级APP接收到控制设备发送的升级指令,根据FTP服务器的地址信息,从FTP服务器获取APP的apk文件,根据apk文件对APP升级,使用户可以通过控制设备同时向多个移动终端发送升级指令,从而使每个移动终端中对应的APP进行升级,进而提高了APP的升级效率,并提高了用户的体验。The invention discloses an APP upgrade method, device, system, electronic equipment and storage medium. The system includes: a control device, an FTP server and at least one mobile terminal, each of which is installed with an APP to be upgraded; wherein , the control device is configured to send an upgrade instruction to the at least one mobile terminal, wherein the upgrade instruction includes the identification information of the APP to be upgraded and the address information of the FTP server; the at least one mobile terminal uses After receiving the upgrade instruction, the upgrade instruction is sent to the APP of the identification information, and the APP of the identification information obtains the Android installation package apk of the APP from the FTP server according to the address information of the FTP server file, and upgrade the APP according to the apk file. In the embodiment of the present invention, the APP to be upgraded in the mobile terminal receives the upgrade instruction sent by the control device, obtains the apk file of the APP from the FTP server according to the address information of the FTP server, and upgrades the APP according to the apk file, so that the user can The control device sends an upgrade instruction to a plurality of mobile terminals at the same time, so that the corresponding APP in each mobile terminal is upgraded, thereby improving the upgrading efficiency of the APP and improving the user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1为本发明实施例1提供的一种APP的升级系统结构示意图;1 is a schematic structural diagram of an APP upgrade system provided in Embodiment 1 of the present invention;

图2为本发明实施例2提供的一种APP的升级过程示意图;2 is a schematic diagram of an upgrade process of an APP according to Embodiment 2 of the present invention;

图3为本发明实施例5提供的一种APP与预先设定的子进程或线程的关系示意图;3 is a schematic diagram of the relationship between an APP and a preset sub-process or thread according to Embodiment 5 of the present invention;

图4A、图4B和图4C为本发明实施例5提供的一种APP的升级过程示意图;4A, 4B and 4C are schematic diagrams of an upgrade process of an APP provided in Embodiment 5 of the present invention;

图5为本发明实施例6提供的一种APP与预先设置的启动代理程序关系示意图;5 is a schematic diagram of the relationship between an APP and a preset startup agent program provided by Embodiment 6 of the present invention;

图6A、图6B、图6C和图6D为本发明实施例6提供的一种APP的升级过程示意图;6A, FIG. 6B, FIG. 6C, and FIG. 6D are schematic diagrams of an upgrade process of an APP according to Embodiment 6 of the present invention;

图7为本发明实施例7提供的一种APP的升级装置结构示意图;7 is a schematic structural diagram of an apparatus for upgrading an APP according to Embodiment 7 of the present invention;

图8为本发明实施例8提供的电子设备的结构示意图;8 is a schematic structural diagram of an electronic device according to Embodiment 8 of the present invention;

图9为本发明实施例9提供的一种电子设备的示意图。FIG. 9 is a schematic diagram of an electronic device according to Embodiment 9 of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

实施例1:Example 1:

图1为本发明实施例提供的一种APP的升级系统结构示意图,该系统包括:控制设备11、文本传输协议(File Transfer Protocol Server,FTP)服务器13和至少一个移动终端12,每个移动终端12安装有待升级的APP;其中,1 is a schematic structural diagram of an APP upgrade system provided by an embodiment of the present invention. The system includes: a control device 11, a file transfer protocol (File Transfer Protocol Server, FTP) server 13 and at least one mobile terminal 12. Each mobile terminal 12. Install the APP to be upgraded; among them,

控制设备11,用于向至少一个移动终端12发送升级指令,其中所述升级指令中包括待升级的APP的标识信息以及FTP服务器13的地址信息;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;

至少一个移动终端12,用于接收升级指令,将升级指令发送给所述标识信息的APP,所述标识信息的APP根据FTP服务器13的地址信息,从FTP服务器13获取所述APP的apk文件,根据所述apk文件对所述APP升级。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.

在本发明实施例中,移动终端可以为使用安卓系统的手机或平板电脑等设备。控制设备可以是具有通信功能的手机、个人电脑(PC)、服务器等设备。In this embodiment of the present invention, the mobile terminal may be a device such as a mobile phone or a tablet computer using the Android system. The control device may be a mobile phone, a personal computer (PC), a server and other devices with a communication function.

具体的,在对待升级的APP进行升级之前,该APP的管理人员或开发人员将用于对该APP进行升级的apk文件存储至FTP服务器13中,而在控制设备11中保存有该FTP服务器13的地址信息。另外,控制设备中还可以保存记录有安装该APP的移动终端12的信息的信息表,其中所述信息表可以是从该APP对应的服务器中导出的,该信息表中记录有安装有该APP的移动终端12的标识信息。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 13 , and the FTP server 13 is stored in the control device 11 address information. In addition, the control device can also save an information table that records the information of the mobile terminal 12 on which the APP is installed, wherein the information table can be derived from a server corresponding to the APP, and the information table records that the APP is installed in the information table. the identification information of the mobile terminal 12 .

为了实现对至少一个移动终端12中的对应APP进行升级,用户可以直接在控制设备11中输入进行控制的移动终端12的标识信息。为了减小用户的操作量,提高用户体验,控制设备11还可以针对每个APP,提供对移动终端12进行选择的界面,在该界面中针对每个APP展示有其对应的信息表,用户可以在该界面中,选择进行升级的APP,并针对该APP对应的信息表,选择其中的至少一个移动终端12。如果用户选择了对某一APP升级的至少一个移动终端12,控制设备11仅向用户选择的移动终端12发送升级指令,其中该升级指令中携带该选择的APP的标识信息;如果用户针对该APP未选择移动终端,控制设备11默认向该APP对应的信息表中的每个移动终端12发送升级指令。In order to upgrade the corresponding APP in the at least one mobile terminal 12 , the user may directly input the identification information of the mobile terminal 12 to be controlled in the control device 11 . In order to reduce the user's operation volume and improve the user experience, the control device 11 can also provide an interface for selecting the mobile terminal 12 for each APP, and the corresponding information table is displayed for each APP in the interface. In this interface, the APP to be upgraded is selected, and at least one mobile terminal 12 is selected for the information table corresponding to the APP. If the user selects at least one mobile terminal 12 to upgrade a certain APP, the control device 11 only sends an upgrade instruction to the mobile terminal 12 selected by the user, wherein the upgrade instruction carries the identification information of the selected APP; If no mobile terminal is selected, the control device 11 sends an upgrade instruction to each mobile terminal 12 in the information table corresponding to the APP by default.

移动终端12接收到控制设备发送的升级指令,识别升级指令中包括的APP的标识信息,并将升级指令发送给该APP,该APP接收到升级指令后,识别升级指令中包括的FTP服务器13的地址信息,通过该APP所在的移动终端12向FTP服务器13发送包含该APP的标识信息的下载请求,FTP服务器13接收到该下载请求,向该APP所在的移动终端12发送该APP的apk文件,从而使该APP获取到该apk文件。The mobile terminal 12 receives the upgrade instruction sent by the control device, identifies the identification information of the APP included in the upgrade instruction, and sends the upgrade instruction to the APP. After receiving the upgrade instruction, the APP identifies the FTP server 13 included in the upgrade instruction. address information, send a download request containing the identification information of the APP to the FTP server 13 through the mobile terminal 12 where the APP is located, and the FTP server 13 receives the download request and sends the apk file of the APP to the mobile terminal 12 where the APP is located, Thereby, the APP can obtain the apk file.

APP获取到进行升级的apk文件后,安装该apk文件即可对该APP进行升级。其中采用apk文件对APP进行升级的过程属于现有技术,在本发明实施例中,对该过程不进行赘述。After the APP obtains the apk file to be upgraded, the APP can be upgraded by installing the apk file. The process of using the apk file to upgrade the APP belongs to the prior art, and in this embodiment of the present invention, the process will not be described in detail.

由于在本发明实施例中,移动终端中的待升级APP接收到控制设备发送的升级指令,根据FTP服务器的地址信息,从FTP服务器获取APP的apk文件,根据apk文件对APP升级,使用户可以通过控制设备同时向多个移动终端发送升级指令,从而使每个移动终端中对应的APP进行升级,进而提高了APP的升级效率,并提高了用户体验。In the embodiment of the present invention, the APP to be upgraded in the mobile terminal receives the upgrade instruction sent by the control device, obtains the apk file of the APP from the FTP server according to the address information of the FTP server, and upgrades the APP according to the apk file, so that the user can The control device sends an upgrade instruction to a plurality of mobile terminals at the same time, so that the corresponding APP in each mobile terminal is upgraded, thereby improving the upgrading efficiency of the APP and improving the user experience.

实施例2:Example 2:

图2为本发明实施例提供的一种APP的升级过程示意图,该过程包括:FIG. 2 is a schematic diagram of an upgrade process of an APP provided by an embodiment of the present invention, and the process includes:

S201:待升级的APP接收控制设备发送的升级指令,其中升级指令中包括FTP服务器的地址信息。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.

S202:根据FTP服务器的地址信息,从FTP服务器获取APP的apk文件。S202: Acquire the apk file of the APP from the FTP server according to the address information of the FTP server.

本发明实施例提供的APP升级方法,应用于安装在移动终端中的APP,移动终端可以为使用安卓系统的手机或平板电脑等设备。控制设备可以是具有通信功能的手机、个人电脑(PC)、服务器等设备。The APP upgrade 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 the Android system. The control device may be a mobile phone, a personal computer (PC), a server and other devices with a communication function.

具体的,在对待升级的APP进行升级之前,该APP的管理人员或开发人员将用于对该APP进行升级的apk文件存储至FTP服务器中,而在控制设备中保存有该FTP服务器的地址信息。另外,控制设备中还可以保存记录有安装该APP的移动终端的信息的信息表,其中所述信息表可以是从该APP对应的服务器中导出的,该信息表中记录有安装有该APP的移动终端的标识信息。Specifically, before the APP to be upgraded is upgraded, the manager or developer of the APP stores the apk file used to upgrade the APP in the FTP server, and the address information of the FTP server is stored in the control device . In addition, the control device can also save an information table that records the information of the mobile terminal on which the APP is installed, wherein the information table can be derived from a server corresponding to the APP, and the information table records the information of the mobile terminal installed with the APP. Identification information of the mobile terminal.

为了实现对至少一个移动终端中的对应APP进行升级,用户可以直接在控制设备中输入进行控制的移动终端的标识信息。为了减小用户的操作量,提高用户体验,控制设备还可以针对每个APP,提供对移动终端进行选择的界面,在该界面中针对每个APP展示有其对应的信息表,用户可以在该界面中,选择进行升级的APP,并针对该APP对应的信息表,选择其中的至少一个移动终端。如果用户选择了对某一APP升级的至少一个移动终端,控制设备仅向用户选择的移动终端发送升级指令,其中该升级指令中携带该选择的APP的标识信息;如果用户针对该APP未选择移动终端,控制设备默认向该APP对应的信息表中的每个移动终端发送升级指令。In order to upgrade the corresponding APP in the at least one mobile terminal, the user may directly input the identification information of the mobile terminal to be controlled in the control device. In order to reduce the user's operation volume and improve the user experience, the control device can also provide an interface for selecting a mobile terminal for each APP, and the corresponding information table is displayed for each APP in the interface. In the interface, select the APP to be upgraded, and select at least one mobile terminal in the information table corresponding to the APP. If the user selects at least one mobile terminal for upgrading an APP, the control device only sends an upgrade instruction to the mobile terminal selected by the user, wherein the upgrade instruction carries the identification information of the selected APP; if the user does not select mobile terminal for the APP terminal, the control device sends an upgrade instruction to each mobile terminal in the information table corresponding to the APP by default.

移动终端接收到控制设备发送的升级指令,识别升级指令中包括的APP的标识信息,并将升级指令发送给该APP,该APP接收到升级指令后,识别升级指令中包括的FTP服务器的地址信息,通过该APP所在的移动终端向FTP服务器发送包含该APP的标识信息的下载请求,FTP服务器接收到该下载请求,向该APP所在的移动终端发送该APP的apk文件,从而使APP获取到该apk文件。The mobile terminal receives the upgrade instruction sent by the control device, identifies the identification information of the APP included in the upgrade instruction, and sends the upgrade instruction to the APP. After receiving the upgrade instruction, the APP identifies the address information of the FTP server included in the upgrade instruction. , send a download request containing the identification information of the APP to the FTP server through the mobile terminal where the APP is located, and the FTP server receives the download request and sends the apk file of the APP to the mobile terminal where the APP is located, so that the APP obtains the APP. apk file.

S203:根据apk文件对APP升级。S203: Upgrade the APP according to the apk file.

APP获取到进行升级的apk文件后,安装该apk文件即可对该APP进行升级。其中采用apk文件对APP进行升级的过程属于现有技术,在本发明实施例中,对该过程不进行赘述。After the APP obtains the apk file to be upgraded, the APP can be upgraded by installing the apk file. The process of using the apk file to upgrade the APP belongs to the prior art, and in this embodiment of the present invention, the process will not be described in detail.

由于在本发明实施例中,待升级的APP在接收到控制设备发送的包括FTP服务器的地址信息的升级指令后,从FTP服务器获取APP的apk文件,并根据apk文件对APP升级,使用户可以通过控制设备同时向多个移动终端中对应的APP发送升级指令,从而使每个移动终端中对应的APP进行升级,进而提高了APP的升级效率,并提高了用户的体验。In this embodiment of the present invention, after receiving the upgrade instruction including the address information of the FTP server sent by the control device, the APP to be upgraded obtains the apk file of the APP from the FTP server, and upgrades the APP according to the apk file, so that the user can By controlling the device to send upgrade instructions to the corresponding APPs in the multiple mobile terminals at the same time, the corresponding APPs in each mobile terminal are upgraded, thereby improving the APP upgrading efficiency and improving the user experience.

实施例3:Example 3:

为了便于用户及时获知APP的升级结果,在上述实施例的基础上,在本发明实施例中,方法还包括:In order to facilitate the user to know the update result of the APP in time, on the basis of the above embodiment, in this embodiment of the present invention, the method further includes:

启动APP,检测APP是否升级成功;Start the APP and check whether the APP has been upgraded successfully;

如果否,向控制设备发送包含自身所在的移动终端的标识信息的升级失败消息。If not, send an upgrade failure message including the identification information of the mobile terminal where it is located to the control device.

具体的,在根据下载的apk文件对待升级的APP升级后,重新启动该APP,例如:可以通过安卓系统中的启动命令“am start–n包名/Activity名”启动该APP,其中所述包名为该APP对应的apk文件的包名。Specifically, after the APP to be upgraded is upgraded according to the downloaded apk file, the APP is restarted. For example, the APP can be started through the start command "am start-n package name/Activity name" in the Android system, wherein the package The package name of the apk file corresponding to the APP.

该APP启动后,运行自身对应的子进程或线程,如果自身不存在运行错误的子进程或线程,确定自身升级成功,否则,确定自身升级失败,通过自身所在的移动终端,向控制设备发送包含自身所在的移动终端的标识信息的升级失败消息,以便用户通过控制设备及时获知APP的升级结果。当用户通过控制设备获知安装在某一移动终端中的APP升级失败后,可以通过控制设备向安装在该移动终端中的APP重新发送升级指令,使该移动终端中的APP继续升级,保证对APP升级的准确性。在本发明实施例中,APP检测自身是否升级成功是现有技术,不再进行赘述。After the APP starts, it runs its corresponding sub-process or thread. If there is no wrong sub-process or thread, it is determined that the upgrade is successful. Otherwise, it is determined that the upgrade is failed. The update failure message of the identification information of the mobile terminal where the user is located, so that the user can know the update result of the APP in time through the control device. When the user learns through the control device that the APP installed in a certain mobile terminal fails to be upgraded, the user can re-send the upgrade instruction to the APP installed in the mobile terminal through the control device, so that the APP in the mobile terminal can continue to be upgraded to ensure that the APP is updated. Accuracy of upgrades. In the embodiment of the present invention, it is the prior art that the APP detects whether it is successfully upgraded, and details are not described again.

实施例4:Example 4:

在上述各实施例的基础上,在本发明实施例中,根据apk文件对APP升级包括:On the basis of the above embodiments, in the embodiment of the present invention, the APP upgrade according to the apk file includes:

获取自身所在的移动终端的ROOT权限;Obtain the ROOT permission of the mobile terminal where you are located;

采用apk文件对移动终端中APP对应的文件进行覆盖安装。The apk file is used to overwrite and install the file corresponding to the APP in the mobile terminal.

ROOT权限是系统权限中的一种,也叫根权限,在安卓系统中ROOT权限对应超级管理员账户,该账户在整个安卓系统中拥有至高无上的权利。获取ROOT权限,意味着已经获得了安卓系统的最高权限,这时候可以对安卓系统中的任何文件执行查找、写入、删除、修改等操作。ROOT permission is one of the system permissions, also called root permission. In the Android system, the ROOT permission corresponds to the super administrator account, which has the supreme right in the entire Android system. Obtaining the ROOT permission means that you have obtained the highest permission of the Android system. At this time, you can perform operations such as searching, writing, deleting, and modifying any file in the Android system.

为了保证在对APP升级时,可以对apk文件及APP对应的文件进行读取、写入、执行、删除等操作,本发明实施例中进行升级的APP被安装的移动终端均具有ROOT权限。具体的,APP获取自身所在的移动终端的ROOT权限,根据apk文件对APP的文件进行覆盖安装。In order to ensure that operations such as reading, writing, executing, and deleting the apk file and the file corresponding to the APP can be performed when the APP is upgraded, the mobile terminal on which the APP to be upgraded in the embodiment of the present invention is installed has the ROOT authority. Specifically, the APP obtains the ROOT permission of the mobile terminal where it is located, and overwrites and installs the files of the APP according to the apk file.

具体的,该APP通过变更使用者身份的“su”命令,获取自身所在移动终端的ROOT权限,获取ROOT权限后,将apk的文件权限修改为可读取、写入及执行的“777”权限。Specifically, the APP obtains the ROOT permission of the mobile terminal where it is located through the "su" command to change the user's identity. After obtaining the ROOT permission, the apk's file permission is modified to the "777" permission that can be read, written, and executed. .

获取ROOT权限后,可以采用该apk文件对移动终端中该APP对应的文件进行覆盖安装,具体的通过覆盖安装命令“pm install–r apk文件名(带路径)”,根据该apk文件对该APP对应的文件进行覆盖安装,其中覆盖安装命令“pm install–r apk文件名(带路径)”中“apk文件名”为该apk文件对应的文件名,“路径”为该APP对应的文件的安装路径。After obtaining the ROOT permission, you can use the apk file to overwrite the installation of the file corresponding to the APP in the mobile terminal. Specifically, through the overwrite installation command "pm install -r apk file name (with path)", according to the apk file, the APP is installed. The corresponding file is installed by overwriting, in which the "apk file name" in the overwriting installation command "pm install -r apk file name (with path)" is the file name corresponding to the apk file, and the "path" is the installation of the file corresponding to the APP path.

实施例5:Example 5:

为了保证APP升级的可靠性,在上述各实施例的基础上,在本发明实施例中,获取自身所在的移动终端的ROOT权限之前,方法还包括:In order to ensure the reliability of APP upgrade, on the basis of the above embodiments, in this embodiment of the present invention, before acquiring the ROOT authority of the mobile terminal where the mobile terminal is located, the method further includes:

APP启动预设的子进程或线程,通过预设的子进程或线程进行后续步骤。The APP starts a preset sub-process or thread, and performs subsequent steps through the preset sub-process or thread.

为了防止在对待升级的APP进行升级时,APP对应的进程或线程被终止,造成升级失败,在本发明实施例中预先设置有一个独立的JAR包,即预先设置了一个与APP相关的独立子进程或线程,该子进程或线程可以独立于APP运行,APP与预先设定的子进程或线程的关系参见如图3所示。In order to prevent the process or thread corresponding to the APP from being terminated when the APP to be upgraded is upgraded, resulting in an upgrade failure, an independent JAR package is preset in the embodiment of the present invention, that is, an independent sub-package related to the APP is preset in advance A process or thread, the sub-process or thread can run independently of the APP, and the relationship between the APP and the preset sub-process or thread is shown in FIG. 3 .

具体的,在获取自身所在的移动终端的ROOT权限之前,APP启动预设的子进程或线程,通过预设的子进程或线程进行后续,即通过该预设的子进程或线程获取自身所在的移动终端的ROOT权限,并采用apk文件对移动终端中APP对应的文件进行覆盖安装,以及启动APP的步骤。Specifically, before acquiring the ROOT permission of the mobile terminal where it is located, the APP starts a preset sub-process or thread, and performs follow-up through the preset sub-process or thread, that is, obtains the location where it is located through the preset sub-process or thread. The ROOT authority of the mobile terminal is used, and the apk file is used to overwrite and install the file corresponding to the APP in the mobile terminal, and the steps of starting the APP.

图4A、图4B和图4C为本发明实施例提供的一种APP的升级过程示意图,APP接收到控制设备发送的升级指令后,根据该升级指令中包括的FTP服务器的地址信息,通过自身所在的移动终端,从FTP服务器下载该APP的apk文件,如果下载不成功,无法对APP进行升级,APP结束运行,如果下载成功,调用独立JAR包后APP结束运行,即调用预设的子进程或线程后,APP结束运行。4A, 4B, and 4C are schematic diagrams of an upgrade process of an APP provided by an embodiment of the present invention. After the APP receives an upgrade instruction sent by a control device, it uses the address information of the FTP server included in the upgrade instruction to Download the APP's apk file from the FTP server. If the download is unsuccessful, the APP cannot be upgraded, and the APP ends running. If the download is successful, the APP ends running after calling the independent JAR package, that is, calling the preset subprocess or After the thread, the APP ends running.

独立JAR包执行“su”命令,获取自身所在移动终端的ROOT权限,执行命令“chmod777apk文件名”,将apk文件的权限修改为777,执行命令“pm install–r apk文件名(带路径)”,根据apk文件对APP对应的文件进行覆盖安装,并执行命令“am start–n包名/Activity名”,启动升级后的APP,独立JAR包结束运行。升级后的APP在启动时,检测自身升级安装是否成功,并通过自身所在的移动终端,向控制设备上的控制台反馈升级安装结果。Execute the "su" command for the independent JAR package to obtain the ROOT permission of the mobile terminal where it is located, execute the command "chmod777apk filename", change the permission of the apk file to 777, and execute the command "pm install –r apk filename (with path)" , overwrite and install the file corresponding to the APP according to the apk file, and execute the command "am start -n package name/Activity name" to start the upgraded APP, and the independent JAR package ends running. When the upgraded APP is started, it detects whether the upgrade and installation of itself is successful, and feeds back the upgrade and installation results to the console on the control device through the mobile terminal where it is located.

实施例6:Example 6:

为了保证及时向控制设备反馈APP是否升级成功,通过预设的子进程或线程,采用apk文件对移动终端中APP对应的文件进行覆盖安装之前,方法还包括:In order to ensure timely feedback to the control device whether the APP is successfully upgraded, the method further includes:

预设的子进程或线程启用预设的启动代理程序;The default child process or thread enables the default startup agent;

启动APP,检测APP是否升级成功包括:Start the APP and check whether the APP has been successfully upgraded, including:

预设的启动代理程序在自身被启动设定时长后,启动APP,检测APP是否升级成功。The preset startup agent program starts the APP after being activated for a set period of time, and detects whether the APP is successfully upgraded.

因安卓系统是一个开源的系统,不同安卓系统具有不同的进程管理特征,部分安卓系统对应的进程管理功能在APP的应用程序被终止时,会强制终止与该APP相关的子进程或子线程。为了保证及时向控制设备反馈APP是否升级成功,在本发明实施例中,如图5所示,还可以预先设置启动代理程序。具体的,APP向FTP服务器获取自身的apk文件后,启动预设的子进程或线程,预设的子进程或线程获取自身所在的移动终端的ROOT权限后,启动预设的启动代理程序,并根据apk文件对移动终端中APP对应的文件进行覆盖安装。预设的启动代理程序在自身被启动设定时长后,启动升级后的APP,升级后的APP在启动时,对自身是否升级成功进行检测。Because the Android system is an open source system, different Android systems have different process management features, and the process management functions corresponding to some Android systems will forcefully terminate the sub-process or sub-thread related to the APP when the application of the APP is terminated. In order to ensure timely feedback to the control device whether the APP is successfully upgraded, in the embodiment of the present invention, as shown in FIG. 5 , a startup agent program may also be preset. Specifically, after the APP obtains its own apk file from the FTP server, it starts a preset sub-process or thread, and after the preset sub-process or thread obtains the ROOT permission of the mobile terminal where it is located, starts the preset startup agent program, and Overwrite and install the file corresponding to the APP in the mobile terminal according to the apk file. The preset startup agent program starts the upgraded APP after it is started for a set period of time, and when the upgraded APP is started, it detects whether it is successfully upgraded.

图6A、图6B、图6C和图6D为本发明实施例提供的一种APP的升级过程示意图,APP接收到控制设备发送的升级指令后,根据该升级指令中包括的FTP服务器的地址信息,通过自身所在的移动终端,从FTP服务器下载该APP的apk文件,如果下载不成功,无法对APP进行升级,APP结束运行,如果下载成功,调用独立JAR包后APP结束运行,即调用预设的子进程或线程后,APP结束运行。6A, 6B, 6C and 6D are schematic diagrams of an upgrade process of an APP provided by an embodiment of the present invention. After the APP receives the upgrade instruction sent by the control device, according to the address information of the FTP server included in the upgrade instruction, Download the apk file of the APP from the FTP server through the mobile terminal where you are located. If the download is unsuccessful, the APP cannot be upgraded, and the APP ends running. After the child process or thread, the APP ends running.

独立JAR包执行“su”命令,获取自身所在移动终端的ROOT权限,执行命令“chmod777apk文件名”,将apk文件的权限修改为777,执行命令“am start–n包名/Activity名”,启动代理启动程序,并执行命令“pm install–r apk文件名(带路径)”,根据apk文件对APP对应的文件进行覆盖安装,独立JAR包结束运行。Execute the "su" command for the independent JAR package to obtain the ROOT permission of the mobile terminal where it is located, execute the command "chmod777apk file name", change the permission of the apk file to 777, execute the command "am start-n package name/Activity name", start The agent starts the program, and executes the command "pm install -r apk file name (with path)", overwrites and installs the file corresponding to the APP according to the apk file, and the independent JAR package ends the operation.

代理启动程序延时一定时间,即代理启动程序在自身被启动设定时长后,等待对APP覆盖安装完成后,执行命令“am start–n包名/Activity名”,启动升级后的APP,代理启动程序结束运行。升级后的APP在启动时检测自身升级安装是否成功,并通过自身所在的移动终端,向控制设备上的控制台反馈升级安装结果。The agent startup program is delayed for a certain period of time, that is, after the agent startup program is activated for a set period of time, it waits for the installation of the APP to be overwritten, and executes the command "am start-n package name/Activity name" to start the upgraded APP, and the agent The startup program finishes running. The upgraded APP detects whether the upgrade and installation of itself is successful at startup, and feeds back the upgrade and installation results to the console on the control device through the mobile terminal where it is located.

实施例7:Example 7:

图7为本发明实施例提供的一种APP的升级装置结构示意图,该装置包括:7 is a schematic structural diagram of an apparatus for upgrading an APP provided by an embodiment of the present invention, and the apparatus includes:

接收模块71,用于待升级的APP接收控制设备发送的升级指令,其中所述升级指令中包括文本传输协议FTP服务器的地址信息;The receiving module 71 is used for the APP to be upgraded to receive an upgrade instruction sent by the control device, wherein the upgrade instruction includes address information of a text transfer protocol FTP server;

获取模块72,用于根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件;The obtaining module 72 is used for obtaining the Android installation package apk file of the APP from the FTP server according to the address information of the FTP server;

升级模块73,用于根据所述apk文件对所述APP升级。An upgrade module 73, configured to upgrade the APP according to the apk file.

所述装置还包括:The device also includes:

检测模块74,启动所述APP,检测所述APP是否升级成功;如果否,向所述控制设备发送包含自身所在的移动终端的标识信息的升级失败消息。The detection module 74 starts the APP and detects whether the APP is successfully upgraded; if not, sends an upgrade failure message including the identification information of the mobile terminal where the APP is located to the control device.

所述升级模块73,具体用于获取自身所在的移动终端的ROOT权限;采用所述apk文件对所述移动终端中所述APP对应的文件进行覆盖安装。The upgrade module 73 is specifically configured to obtain the ROOT authority of the mobile terminal where the mobile terminal is located; and use the apk file to overwrite and install the file corresponding to the APP in the mobile terminal.

所述装置还包括:The device also includes:

启动模块75,用于所述APP启动预设的子进程或线程,触发升级模块。The startup module 75 is used for the APP to start a preset sub-process or thread, and trigger the upgrade module.

所述启动模块75,还用于所述预设的子进程或线程启动预设的启动代理程序;The startup module 75 is also used for the preset sub-process or thread to start a preset startup agent program;

所述检测模块74,具体用于所述预设的启动代理程序在自身被启动设定时长后,启动所述APP,检测所述APP是否升级成功。The detection module 74 is specifically configured to start the APP after the preset startup agent program is started for a set duration, and detect whether the APP is successfully upgraded.

实施例8:Example 8:

基于同一发明构思,本发明实施例中还提供了一种电子设备,由于上述电子设备解决问题的原理与APP升级的方法相似,因此上述电子设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present invention also provides an electronic device. Since the principle of solving the problem of the electronic device is similar to that of the APP upgrade method, the implementation of the electronic device can refer to the implementation of the method, and the repetition will not be repeated. Repeat.

如图8所示,其为本发明实施例提供的电子设备的结构示意图,其中在图8中,总线架构可以包括任意数量的互联的总线和桥,具体有处理器81代表的一个或多个处理器81和存储器83代表的存储器83的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机82可以是多个元件,即包括发送机和收发机,提供用于在传输介质上与各种其他装置通信的单元。处理器81负责管理总线架构和通常的处理,存储器83可以存储处理器81在执行操作时所使用的数据。As shown in FIG. 8 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present invention, in which, in FIG. 8 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more interconnected buses and bridges represented by the processor 81 . The various circuits of memory 83 represented by processor 81 and memory 83 are linked together. The bus architecture may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides the interface. Transceiver 82 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other devices over a transmission medium. The processor 81 is responsible for managing the bus architecture and general processing, and the memory 83 may store data used by the processor 81 in performing operations.

在本发明实施例提供的电子设备中:In the electronic device provided by the embodiment of the present invention:

所述处理器81,用于读取存储器83中的程序,执行下列过程:运行待升级的APP通过收发机82接收控制设备发送的升级指令,其中所述升级指令中包括文本传输协议FTP服务器的地址信息;根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件;根据所述apk文件对所述APP升级。The processor 81 is used to read the program in the memory 83, and perform the following process: run the APP to be upgraded and receive the upgrade instruction sent by the control device through the transceiver 82, wherein the upgrade instruction includes the text transfer protocol FTP server. address information; obtain the Android installation package apk file of the APP from the FTP server according to the address information of the FTP server; upgrade the APP according to the apk file.

优选地,所述处理器81,还用于启动所述APP,检测所述APP是否升级成功;如果否,通过收发机82向所述控制设备发送包含自身所在的移动终端的标识信息的升级失败消息。Preferably, the processor 81 is further configured to start the APP and detect whether the APP is successfully upgraded; if not, send the upgrade failure including the identification information of the mobile terminal where it is located to the control device through the transceiver 82 information.

优选地,所述处理器81,具体用于获取自身所在的移动终端的ROOT权限;采用所述apk文件对所述移动终端中所述APP对应的文件进行覆盖安装。Preferably, the processor 81 is specifically configured to acquire the ROOT authority of the mobile terminal where it is located; and use the apk file to overwrite the installation of the file corresponding to the APP in the mobile terminal.

优选地,所述处理器81,还用于运行所述APP启动预设的子进程或线程,通过所述预设的子进程或线程进行后续获取自身所在的移动终端的ROOT权限的步骤。Preferably, the processor 81 is further configured to run the APP to start a preset sub-process or thread, and use the preset sub-process or thread to perform the subsequent steps of acquiring the ROOT permission of the mobile terminal where it is located.

优选地,所述处理器81,还用于运行预设的子进程或线程启动预设的启动代理程序,在所述预设的启动代理程序在自身被启动设定时长后,启动所述APP,检测所述APP是否升级成功。Preferably, the processor 81 is further configured to run a preset sub-process or thread to start a preset startup agent program, and start the APP after the preset startup agent program is started by itself for a set period of time , and check whether the APP is successfully upgraded.

实施例9:Example 9:

在上述各实施例的基础上,本发明实施例还提供了一种电子设备,如图9所示,包括:处理器91、通信接口92、存储器93和通信总线94,其中,处理器91,通信接口92,存储器93通过通信总线94完成相互间的通信;On the basis of the above embodiments, an embodiment of the present invention further provides an electronic device, as shown in FIG. 9 , including: a processor 91 , a communication interface 92 , a memory 93 and a communication bus 94 , wherein the processor 91 , The communication interface 92, the memory 93 completes the mutual communication through the communication bus 94;

所述存储器93中存储有计算机程序,当所述程序被所述处理器91执行时,使得所述处理器91执行以下步骤:A computer program is stored in the memory 93, and when the program is executed by the processor 91, the processor 91 is caused to perform the following steps:

待升级的APP接收控制设备发送的升级指令,其中所述升级指令中包括文本传输协议FTP服务器的地址信息;The APP to be upgraded receives an upgrade instruction sent by the control device, wherein the upgrade instruction includes address information of a text transfer protocol FTP server;

根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件;Obtain the Android installation package apk file of the APP from the FTP server according to the address information of the FTP server;

根据所述apk文件对所述APP升级。The APP is upgraded according to the apk file.

实施例10:Example 10:

在上述各实施例的基础上,本发明实施例还提供了一种计算机存储可读存储介质,所述计算机可读存储介质内存储有可由电子设备执行的计算机程序,当所述程序在所述电子设备上运行时,使得所述电子设备执行时实现如下步骤:On the basis of the foregoing embodiments, embodiments of the present invention further provide a computer storage-readable storage medium, where a computer program executable by an electronic device is stored in the computer-readable storage medium. When running on the electronic device, the following steps are implemented when the electronic device is executed:

待升级的APP接收控制设备发送的升级指令,其中所述升级指令中包括文本传输协议FTP服务器的地址信息;The APP to be upgraded receives an upgrade instruction sent by the control device, wherein the upgrade instruction includes address information of a text transfer protocol FTP server;

根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件;Obtain the Android installation package apk file of the APP from the FTP server according to the address information of the FTP server;

根据所述apk文件对所述APP升级。The APP is upgraded according to the apk file.

本发明公开了一种APP的升级方法、装置、系统、电子设备及存储介质,所述系统包括:控制设备、FTP服务器和至少一个移动终端,每个所述移动终端安装有待升级的APP;其中,所述控制设备,用于向所述至少一个移动终端发送升级指令,其中所述升级指令中包括待升级的APP的标识信息以及所述FTP服务器的地址信息;所述至少一个移动终端,用于接收所述升级指令,将所述升级指令发送给所述标识信息的APP,所述标识信息的APP根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件,根据所述apk文件对所述APP升级。由于在本发明实施例中,移动终端中的待升级APP接收到控制设备发送的升级指令,根据FTP服务器的地址信息,从FTP服务器获取APP的apk文件,根据apk文件对APP升级,使用户可以通过控制设备同时向多个移动终端发送升级指令,从而使每个移动终端中对应的APP进行升级,进而提高了APP的升级效率,并提高了用户的体验。The invention discloses an APP upgrade method, device, system, electronic equipment and storage medium. The system includes: a control device, an FTP server and at least one mobile terminal, each of which is installed with an APP to be upgraded; wherein , the control device is configured to send an upgrade instruction to the at least one mobile terminal, wherein the upgrade instruction includes the identification information of the APP to be upgraded and the address information of the FTP server; the at least one mobile terminal uses After receiving the upgrade instruction, the upgrade instruction is sent to the APP of the identification information, and the APP of the identification information obtains the Android installation package apk of the APP from the FTP server according to the address information of the FTP server file, and upgrade the APP according to the apk file. In the embodiment of the present invention, the APP to be upgraded in the mobile terminal receives the upgrade instruction sent by the control device, obtains the apk file of the APP from the FTP server according to the address information of the FTP server, and upgrades the APP according to the apk file, so that the user can The control device sends an upgrade instruction to a plurality of mobile terminals at the same time, so that the corresponding APP in each mobile terminal is upgraded, thereby improving the upgrading efficiency of the APP and improving the user experience.

对于系统/装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the system/apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the partial description of the method embodiment.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While the preferred embodiments of the present application have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of this application.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (12)

1.一种应用程序APP的升级方法,其特征在于,所述方法包括:1. an upgrade method of application program APP, is characterized in that, described method comprises: 待升级的APP接收控制设备发送的升级指令,其中所述升级指令中包括文本传输协议FTP服务器的地址信息;The APP to be upgraded receives an upgrade instruction sent by the control device, wherein the upgrade instruction includes address information of a text transfer protocol FTP server; 根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件;Obtain the Android installation package apk file of the APP from the FTP server according to the address information of the FTP server; 根据所述apk文件对所述APP升级;Upgrade the APP according to the apk file; 其中,所述方法还包括:Wherein, the method also includes: 启动所述APP,检测所述APP是否升级成功;Start the APP, and check whether the APP is successfully upgraded; 如果否,向所述控制设备发送包含自身所在的移动终端的标识信息的升级失败消息;If not, send an upgrade failure message including the identification information of the mobile terminal where it is located to the control device; 其中,所述启动所述APP,检测所述APP是否升级成功包括:Wherein, starting the APP and detecting whether the APP is successfully upgraded includes: 预设的启动代理程序在自身被启动设定时长后,启动所述APP,检测所述APP是否升级成功,所述预设的启动代理程序由APP启动的预设的子进程或线程启动。The preset startup agent program starts the APP after being started for a set period of time, and detects whether the APP is successfully upgraded. The preset startup agent program is started by a preset sub-process or thread started by the APP. 2.如权利要求1所述的方法,其特征在于,所述根据所述apk文件对所述APP升级包括:2. The method according to claim 1, wherein the upgrading the APP according to the apk file comprises: 获取自身所在的移动终端的ROOT权限;Obtain the ROOT permission of the mobile terminal where you are located; 采用所述apk文件对所述移动终端中所述APP对应的文件进行覆盖安装。The file corresponding to the APP in the mobile terminal is overwritten and installed by using the apk file. 3.如权利要求2所述的方法,其特征在于,所述获取自身所在的移动终端的ROOT权限之前,所述方法还包括:3. The method according to claim 2, wherein before obtaining the ROOT authority of the mobile terminal where it is located, the method further comprises: 所述APP启动预设的子进程或线程,通过所述预设的子进程或线程进行后续步骤。The APP starts a preset sub-process or thread, and performs subsequent steps through the preset sub-process or thread. 4.如权利要求3所述的方法,其特征在于,所述通过所述预设的子进程或线程,采用所述apk文件对所述移动终端中所述APP对应的文件进行覆盖安装之前,所述方法还包括:4. The method according to claim 3, characterized in that, before using the apk file to overwrite and install the file corresponding to the APP in the mobile terminal through the preset subprocess or thread, The method also includes: 所述预设的子进程或线程启动预设的启动代理程序。The preset sub-process or thread starts a preset startup agent program. 5.一种应用程序APP的升级系统,其特征在于,所述系统包括:控制设备、文本传输协议FTP服务器和至少一个移动终端,每个所述移动终端安装有待升级的APP;其中,5. An upgrade system for an application program APP, wherein the system comprises: a control device, a text transfer protocol FTP server and at least one mobile terminal, each of which is installed with an APP to be upgraded; wherein, 所述控制设备,用于向所述至少一个移动终端发送升级指令,其中所述升级指令中包括待升级的APP的标识信息以及所述FTP服务器的地址信息;The control device is configured to send an upgrade instruction to the at least one mobile terminal, wherein the upgrade instruction includes the identification information of the APP to be upgraded and the address information of the FTP server; 所述至少一个移动终端,用于接收所述升级指令,将所述升级指令发送给所述标识信息的APP,所述标识信息的APP根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件,根据所述apk文件对所述APP升级;The at least one mobile terminal is configured to receive the upgrade instruction, and send the upgrade instruction to the APP of the identification information, and the APP of the identification information obtains from the FTP server according to the address information of the FTP server The Android installation package apk file of the APP, according to the apk file to upgrade the APP; 其中,所述移动终端还用于:Wherein, the mobile terminal is also used for: 启动所述APP,检测所述APP是否升级成功;Start the APP, and check whether the APP is successfully upgraded; 如果否,向所述控制设备发送包含自身所在的移动终端的标识信息的升级失败消息;If not, send an upgrade failure message including the identification information of the mobile terminal where it is located to the control device; 其中,所述启动所述APP,检测所述APP是否升级成功包括:Wherein, starting the APP and detecting whether the APP is successfully upgraded includes: 预设的启动代理程序在自身被启动设定时长后,启动所述APP,检测所述APP是否升级成功,所述预设的启动代理程序由APP启动的预设的子进程或线程启动。The preset startup agent program starts the APP after being started for a set period of time, and detects whether the APP is successfully upgraded. The preset startup agent program is started by a preset sub-process or thread started by the APP. 6.如权利要求5所述的系统,其特征在于,所述至少一个移动终端,还用于向所述控制设备发送升级失败消息,其中所述升级失败消息为对所述APP升级后,启动所述APP,检测所述APP升级失败时所述APP发送的。6. The system according to claim 5, wherein the at least one mobile terminal is further configured to send an upgrade failure message to the control device, wherein the upgrade failure message is that after the APP is upgraded, start the The APP is sent by the APP when it is detected that the APP upgrade fails. 7.一种应用程序APP的升级装置,其特征在于,所述装置包括:7. An upgrade device for an application program APP, wherein the device comprises: 接收模块,用于待升级的APP接收控制设备发送的升级指令,其中所述升级指令中包括文本传输协议FTP服务器的地址信息;a receiving module, used for the APP to be upgraded to receive an upgrade instruction sent by the control device, wherein the upgrade instruction includes address information of a text transfer protocol FTP server; 获取模块,用于根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件;an acquisition module, configured to acquire the Android installation package apk file of the APP from the FTP server according to the address information of the FTP server; 升级模块,用于根据所述apk文件对所述APP升级;an upgrade module for upgrading the APP according to the apk file; 其中,所述装置还包括:Wherein, the device also includes: 检测模块,启动所述APP,检测所述APP是否升级成功;如果否,向所述控制设备发送包含自身所在的移动终端的标识信息的升级失败消息;The detection module starts the APP, and detects whether the APP is successfully upgraded; if not, sends an upgrade failure message including the identification information of the mobile terminal where it is located to the control device; 其中,所述启动所述APP,检测所述APP是否升级成功包括:Wherein, starting the APP and detecting whether the APP is successfully upgraded includes: 预设的启动代理程序在自身被启动设定时长后,启动所述APP,检测所述APP是否升级成功,所述预设的启动代理程序由APP启动的预设的子进程或线程启动。The preset startup agent program starts the APP after being started for a set period of time, and detects whether the APP is successfully upgraded. The preset startup agent program is started by a preset sub-process or thread started by the APP. 8.一种电子设备,其特征在于,包括:存储器、处理器和收发机;8. An electronic device, comprising: a memory, a processor and a transceiver; 所述处理器,用于读取存储器中的程序,执行下列过程:运行待升级的APP通过收发机接收控制设备发送的升级指令,其中所述升级指令中包括文本传输协议FTP服务器的地址信息;根据所述FTP服务器的地址信息,从所述FTP服务器获取所述APP的安卓安装包apk文件;根据所述apk文件对所述APP升级;The processor is used to read the program in the memory, and execute the following process: run the APP to be upgraded and receive the upgrade instruction sent by the control device through the transceiver, wherein the upgrade instruction includes the address information of the text transfer protocol FTP server; Obtain the Android installation package apk file of the APP from the FTP server according to the address information of the FTP server; upgrade the APP according to the apk file; 其中,所述处理器,还用于启动所述APP,检测所述APP是否升级成功;如果否,通过收发机向所述控制设备发送包含自身所在的移动终端的标识信息的升级失败消息;The processor is further configured to start the APP and detect whether the APP is successfully upgraded; if not, send an upgrade failure message including the identification information of the mobile terminal where it is located to the control device through the transceiver; 其中,所述处理器,还用于运行预设的子进程或线程启动预设的启动代理程序,在所述预设的启动代理程序在自身被启动设定时长后,启动所述APP,检测所述APP是否升级成功。Wherein, the processor is further configured to run a preset sub-process or thread to start a preset startup agent program, after the preset startup agent program is started by itself for a set period of time, start the APP, and detect Whether the APP is successfully upgraded. 9.如权利要求8所述的电子设备,其特征在于,所述处理器,具体用于获取自身所在的移动终端的ROOT权限;采用所述apk文件对所述移动终端中所述APP对应的文件进行覆盖安装。9. The electronic device according to claim 8, wherein the processor is specifically used to obtain the ROOT authority of the mobile terminal where it is located; the file to overwrite the installation. 10.如权利要求9所述的电子设备,其特征在于,所述处理器,还用于运行所述APP启动预设的子进程或线程,通过所述预设的子进程或线程进行后续获取自身所在的移动终端的ROOT权限的步骤。10 . The electronic device according to claim 9 , wherein the processor is further configured to run the APP to start a preset sub-process or thread, and perform subsequent acquisition through the preset sub-process or thread. 11 . Steps of the ROOT authority of the mobile terminal where it is located. 11.一种电子设备,其特征在于,包括:处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;11. An electronic device, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; 所述存储器中存储有计算机程序,当所述程序被所述处理器执行时,使得所述处理器执行权利要求1-4任一所述方法的步骤。A computer program is stored in the memory, and when the program is executed by the processor, the processor causes the processor to perform the steps of any one of the methods of claims 1-4. 12.一种计算机可读存储介质,其特征在于,其存储有可由电子设备执行的计算机程序,当所述程序在所述电子设备上运行时,使得所述电子设备执行权利要求1-4任一所述方法的步骤。12. A computer-readable storage medium, characterized in that it stores a computer program executable by an electronic device, and when the program is executed on the electronic device, the electronic device is made to execute any one of claims 1-4. a step of the method.
CN201710786074.6A 2017-09-04 2017-09-04 APP upgrade method, device, system, electronic device and storage medium Active CN109428936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710786074.6A CN109428936B (en) 2017-09-04 2017-09-04 APP upgrade method, device, system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710786074.6A CN109428936B (en) 2017-09-04 2017-09-04 APP upgrade method, device, system, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN109428936A CN109428936A (en) 2019-03-05
CN109428936B true CN109428936B (en) 2021-07-13

Family

ID=65513423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710786074.6A Active CN109428936B (en) 2017-09-04 2017-09-04 APP upgrade method, device, system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN109428936B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158711A (en) * 2019-12-30 2020-05-15 北京讯鸟软件有限公司 Application program deployment method and device for multiple android system terminals
CN112083939A (en) * 2019-12-31 2020-12-15 蓝桥赛维科技(北京)有限公司 Batch upgrading method, device, system and medium
CN114721689A (en) * 2022-04-22 2022-07-08 杭州萤石软件有限公司 Device access method, device, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105745A (en) * 2006-07-14 2008-01-16 中兴通讯股份有限公司 Deployment Methods for Distributed Software Systems
CN102868558A (en) * 2012-09-17 2013-01-09 苏州迈科网络安全技术股份有限公司 Multi-device software upgrading method and multi-device software upgrading system
CN105323106A (en) * 2014-08-04 2016-02-10 中兴通讯股份有限公司 Software upgrade management method, equipment and system
CN106982445A (en) * 2016-01-19 2017-07-25 西安中兴新软件有限责任公司 A kind of transmission method, equipment and the system of abnormal information of upgrading

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10110434B2 (en) * 2015-12-01 2018-10-23 Cisco Technology, Inc. Cloud orchestrated cloud connector upgrades

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105745A (en) * 2006-07-14 2008-01-16 中兴通讯股份有限公司 Deployment Methods for Distributed Software Systems
CN102868558A (en) * 2012-09-17 2013-01-09 苏州迈科网络安全技术股份有限公司 Multi-device software upgrading method and multi-device software upgrading system
CN105323106A (en) * 2014-08-04 2016-02-10 中兴通讯股份有限公司 Software upgrade management method, equipment and system
CN106982445A (en) * 2016-01-19 2017-07-25 西安中兴新软件有限责任公司 A kind of transmission method, equipment and the system of abnormal information of upgrading

Also Published As

Publication number Publication date
CN109428936A (en) 2019-03-05

Similar Documents

Publication Publication Date Title
KR102358470B1 (en) Boot loader update firmware, method for updating boot loader
CN103714287B (en) Method and device for obtaining temporary Root authority
US9563442B2 (en) Baseboard management controller and method of loading firmware
CN112988183A (en) Program upgrading method and device, electronic equipment and storage medium
CN104199706A (en) Firmware upgrade method and device for eMMC
TW201351286A (en) System and method of updating firmware
WO2018032757A1 (en) Method and device for updating component
CN111813428A (en) Method and device for upgrading terminal firmware, electronic equipment and storage medium
US20150347153A1 (en) System management controller and method of configuration file backup and recovery
EP2958017A1 (en) Computerized systems and methods for installing upgraded software on electronic devices
JPWO2009078285A1 (en) Wireless terminal, non-volatile memory of wireless terminal, and fail-safe storage method of diagnostic information
CN103995712A (en) Boot loader device capable of updating automatically and updating method thereof
US20210173634A1 (en) Vehicle control device and program update system
CN109428936B (en) APP upgrade method, device, system, electronic device and storage medium
CN103019755B (en) The wireless program method for down loading of multi-CPU in embedded system
CN113900693A (en) Firmware upgrading method, device and system, electronic equipment and storage medium
WO2021136200A1 (en) Bootloader loading method, storage medium, and embedded terminal
WO2016082450A1 (en) Method for upgrading user terminal, and user terminal
CN106791124B (en) Flashing method and flashing device of mobile terminal
CN109992280A (en) An embedded software upgrade method, terminal device and storage device
CN119576420A (en) Basic input and output system configuration method and device
CN118092989B (en) Firmware upgrading method, system, equipment and medium of memory
CN107911816B (en) Starting method for multi-mode IoT device, multi-mode IoT device and storage medium
BR102013006506A2 (en) Update Method and Embedded Multidomain System
US9495146B2 (en) Host and method of upgrading connection manager of dongles

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