CN114398048A - Method and device for automatically upgrading APP and computer equipment - Google Patents

Method and device for automatically upgrading APP and computer equipment Download PDF

Info

Publication number
CN114398048A
CN114398048A CN202210300407.0A CN202210300407A CN114398048A CN 114398048 A CN114398048 A CN 114398048A CN 202210300407 A CN202210300407 A CN 202210300407A CN 114398048 A CN114398048 A CN 114398048A
Authority
CN
China
Prior art keywords
app
upgrading
installation package
broadcast information
installation
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.)
Pending
Application number
CN202210300407.0A
Other languages
Chinese (zh)
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.)
Shenzhen Star Card Technology Co ltd
Original Assignee
Shenzhen Star Card 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 Shenzhen Star Card Technology Co ltd filed Critical Shenzhen Star Card Technology Co ltd
Priority to CN202210300407.0A priority Critical patent/CN114398048A/en
Publication of CN114398048A publication Critical patent/CN114398048A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses a method and a device for automatically upgrading an APP (application), and computer equipment, which are applied to diagnosis equipment, wherein the method for automatically upgrading the APP comprises the following steps: obtaining an APP upgrading installation package from a background server and a configuration file; calling a system API (application program interface) to perform silent installation according to the APP upgrade installation package, and sending first broadcast information, wherein the first broadcast information comprises an APP installation package name and an installation state value; receiving first broadcast information, and judging whether the APP upgrade installation package is installed successfully according to the first broadcast information; if the judgment result is yes, controlling the APP to restart; according to the method, the diagnosis equipment system automatically controls the APP, the automatic updating of the APP can be completed without manual operation in the whole process, the APP is updated in time, and the APP is prevented from being updated for a long time when being used, so that the time is saved; meanwhile, the upgrading of the application APP is not influenced by the system, the installation of the application APP is completed without the need of frame ejection reminding and permission giving, and the user experience is improved.

Description

Method and device for automatically upgrading APP and computer equipment
Technical Field
The invention relates to the technical field of automobile diagnosis, in particular to an APP automatic upgrading method, an APP automatic upgrading device and computer equipment.
Background
Automobiles, as commonly used vehicles, play an important role in people's daily life. The automobile inevitably has system function faults or component faults in the using process, and the faults are solved and processed by staff in a maintenance shop or a 4S shop. Most of the maintenance shops or 4S shops adopt a diagnosis device to diagnose and analyze the automobile to find out the fault problem of the automobile, and perform targeted maintenance treatment to eliminate the automobile fault in order to improve the maintenance efficiency and the diagnosis accuracy.
Diagnosis equipment commonly used on the market generally leaves the factory and all is used for the APP of automobile diagnosis from the area, these APPs often need continuous update in order to restore the BUG or satisfy the diagnosis demand, it is very fast to update iterative speed, under general condition, the system only can indicate the update when the APP is perhaps opened at the background, and do not force the update, when needs use this APP, discover that the APP can not satisfy the demand, just need the networking download a large amount of upgrade installation packages in order to update this APP, extremely consume time. The conventional APP upgrading is completed manually according to steps, the permission of the system needs to be acquired before the APP is upgraded, and the code is changed inconveniently, so that the user experience is influenced.
Accordingly, the prior art is deficient and needs improvement. The invention relates to a method for processing a semiconductor chip.
In order to overcome the defects in the prior art, the invention provides an APP automatic upgrading method, an APP automatic upgrading device and computer equipment.
The technical document provided by the invention is an APP automatic upgrading method, which is applied to diagnostic equipment and comprises the following steps:
obtaining an APP upgrading installation package from a background server and a configuration file;
calling a system API (application program interface) to perform silent installation according to the APP upgrade installation package, and sending first broadcast information, wherein the first broadcast information comprises an APP installation package name and an installation state value;
receiving the first broadcast information, and judging whether the APP upgrade installation package is installed successfully according to the first broadcast information;
and if so, controlling the application APP to restart.
Optionally, before the step of obtaining the APP upgrade installation package from the background server and the configuration file, the method includes:
establishing connection with a network;
judging whether the system software of the diagnostic equipment is a factory release version;
if the system software is a factory-leaving version, requesting to acquire a system permission application instruction;
and receiving a confirmation instruction generated according to the system authority acquisition application instruction so as to form interaction with the system and control the application APP.
Optionally, the specific step of obtaining the APP upgrade installation package from the background server and the configuration file includes:
the background of the application APP silently downloads an APP upgrading installation package corresponding to the application APP and sends second broadcast information, wherein the second broadcast information is APP upgrading installation package downloading state information;
receiving the second broadcast information, and judging whether the APP installation upgrading package is downloaded according to the second broadcast information;
if the judgment result is yes, calling a system API interface to share the APP upgrading installation package.
Optionally, the specific step of calling a system API interface to perform silent installation according to the APP upgrade installation package includes:
decompressing the APP upgrade installation package;
decompressing and converting the data into binary data through an API (application program interface);
and identifying the binary data and transmitting the binary data to a system, wherein the system silently installs the APP upgrade installation package at the background.
Optionally, after the step of receiving the first broadcast information and determining whether the APP upgrade installation package is installed successfully according to the first broadcast information, the method includes:
if the judgment result is negative, repeating the step of obtaining the APP upgrading installation package from the background server and the configuration file and the step of calling the system API to perform silent installation according to the APP upgrading installation package to obtain third broadcast information;
judging whether the APP upgrading installation package is installed successfully or not according to the third broadcast information;
and if so, controlling the application APP to restart.
Optionally, after the step of determining whether the APP upgrade installation package is successfully installed according to the third broadcast information, the method includes:
if the judgment result is negative, stopping executing installation and sending prompt information, wherein the prompt information is installation state information and manual installation information;
and executing corresponding operation according to the prompt information to finish application APP upgrading.
Optionally, before the step of controlling the application APP to restart, the method further includes:
and the application APP searches the storage position of the APP upgrading installation package and deletes the APP upgrading installation package.
The application also discloses an APP automatic upgrade device, include:
the obtaining module is used for obtaining the APP upgrading installation package from the background server and the configuration file;
the installation module is used for calling a system API interface to perform silent installation according to the APP upgrade installation package and sending first broadcast information, wherein the first broadcast information comprises an APP installation package name and an installation state value;
the judging module is used for receiving the first broadcast information and judging whether the APP upgrading installation package is installed successfully or not according to the first broadcast information;
and the restarting module is used for controlling the application APP to restart if the judgment result is yes.
The application also discloses a computer device, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method for automatically upgrading the APP as described above when executing the computer program.
The present application also discloses a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method for automatic upgrading of an APP as described above.
Has the advantages that: according to the method, the APP upgrading installation package is automatically obtained from the background server and the configuration file through the APP, the diagnosis equipment calls the system API interface to share the APP upgrading installation package, and the upgrading package does not need to be manually obtained; after the upgrade package is obtained, the diagnosis equipment calls a system API interface to perform silent installation without manually giving APP permission, and simultaneously sends first broadcast information, judges whether the installation of the APP upgrade installation package is finished or not through the broadcast information, and restarts the APP to finish updating after the installation is finished; according to the method, the diagnosis equipment system automatically controls the APP, the automatic updating of the APP can be completed without manual operation in the whole process, the APP is updated in time, and the APP is prevented from being updated for a long time when being used, so that the time is saved; meanwhile, the upgrading of the application APP is not influenced by the system, the installation of the application APP is completed without the need of frame ejection reminding and permission giving, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram of a flowchart of a method for automatic APP upgrade according to the present invention;
FIG. 2 is a schematic structural diagram of an APP automatic upgrading device of the present invention;
FIG. 3 is a schematic diagram of a computer device according to the present invention.
As shown in the figure: 10. an acquisition module; 20. installing a module; 30. a judgment module; 40. and restarting the module.
Detailed Description
In order to facilitate an understanding of the invention, the invention is described in more detail below with reference to the accompanying drawings and specific examples. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The use of the terms "fixed," "integrally formed," "left," "right," and the like in this specification is for illustrative purposes only, and elements having similar structures are designated by the same reference numerals in the figures.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
The present invention will be described in detail with reference to the accompanying drawings.
The first embodiment is as follows:
referring to fig. 1, a method for automatic APP upgrade, applied to a diagnostic device, includes the following steps:
step S1, obtaining an APP upgrading installation package from a background server and a configuration file;
the configuration file is created manually in advance and is used for standby when a problem occurs in a background server.
Step S2, calling a system API interface to perform silent installation according to the APP upgrade installation package, and sending first broadcast information, wherein the first broadcast information comprises an APP installation package name and an installation state value;
step S3, receiving the first broadcast information, and judging whether the APP upgrade installation package is installed successfully according to the first broadcast information;
and step S4, if the judgment result is yes, controlling the application APP to restart.
As described in the above steps S1-S4, when the APP needs to be updated, the diagnostic device may be connected to the network through Wifi or a network cable, the APP may automatically obtain an APP update installation package from the background server and the configuration file, the APP is managed and controlled by the system of the diagnostic device to be installed in a silent manner in the background, after the installation is completed, the system sends the first broadcast information to the system, the system determines whether the APP update installation package is successfully installed through the first broadcast information, and if the APP update installation package is successfully installed, the system controls the APP to restart once, so that the update of the APP can be completed; specifically, when the application APP is updated, the application APP can automatically download the upgrade installation package, time is greatly saved, manual click downloading is not needed, after downloading is completed, the system can call the API interface to carry out background silence installation APP upgrade installation package, whether verification is successful or not is required after the installation is completed, if success, the application APP is started, so that when the user uses the application APP, the application APP is the latest version, time of the user is not wasted, gradual operation and updating are achieved, and efficiency is improved.
In this embodiment, the diagnostic device adopts an Android system or an iOS system, the APP is developed based on a system of the diagnostic device, after the diagnostic device activates and acquires the authority of the management and control APP, the system can directly manage the APP, manage the update, the authority and the like of the APP, and the system specifically adopted by the diagnostic device is set according to the actual function condition, and is not limited here.
It is understood that an API (Application Programming Interface) is some predefined function that is intended to provide an Application and the ability for a developer to access a set of routines based on some software or hardware. The primary purpose of an API is to provide applications and developers the ability to access a set of routines without accessing source code or understanding the details of the internal workings. Software that provides the functionality defined by an API is referred to as an implementation of this API. An API is an interface and thus an abstraction. You can think of an API as a software component or interface for Web services to interact with the outside world.
Optionally, before the step of obtaining the APP upgrade installation package from the background server and the configuration file, the method includes the steps of:
step S11, establishing connection with the network;
step S12, judging whether the system software of the diagnosis equipment is a factory version;
step S13, if the system software is a factory version, requesting to acquire a system permission application instruction;
and step S14, receiving a confirmation instruction generated according to the acquisition system permission application instruction so as to form interaction with a system and control the application APP.
As described in the foregoing steps S11-S14, when the diagnostic device is used for the first time, a network needs to be connected to activate the diagnostic device in order to facilitate subsequent networking, and then it is determined whether the system software of the diagnostic device is a factory version, that is, whether the diagnostic device is activated for the first time, if the system software is a factory version, a system permission application instruction is requested to be obtained to obtain user authorization, after the user authorization, interaction with the system can be formed and all application APPs are controlled, and updating and obtaining permissions of all application APPs can be automatically completed by the system without manual operation.
Optionally, the specific step of obtaining the APP upgrade installation package from the background server and the configuration file includes:
step S15, the background of the application APP silently downloads an APP upgrade installation package corresponding to the application APP, and second broadcast information is sent, wherein the second broadcast information is APP upgrade installation package download state information;
step S16, receiving the second broadcast information, and judging whether the APP installation upgrade package is downloaded according to the second broadcast information;
and step S17, if the judgment result is yes, calling a system API interface to share the APP upgrading installation package.
As described in the above steps S15-S17, after the application APP background automatically downloads the upgrade installation package, a broadcast message is sent to the system, so that the system can judge whether the upgrade installation package is downloaded, after downloading, the system can share the APP upgrade installation package by calling the API interface, and the subsequent installation of the APP upgrade installation package by the system is facilitated.
Optionally, the specific step of calling a system API interface to perform silent installation according to the APP upgrade installation package includes:
s21, decompressing the APP upgrading installation package;
step S22, converting the decompressed data into binary data through an API (application program interface);
and step S23, recognizing the binary data and transmitting the binary data to a system, wherein the system installs the APP upgrading installation package in a background silent manner.
As described in the foregoing steps S21-S23, the upgrade installation package downloaded by the APP is a compressed file, and it needs to be decompressed first during installation, and the decompressed APP upgrade installation package is converted into binary data by the system by calling the API interface after decompression, and then the system identifies the binary data and installs the APP upgrade installation package in a background silent manner, thereby ensuring that data transmission is not interfered.
Optionally, after the step of receiving the first broadcast information and determining whether the APP upgrade installation package is installed successfully according to the first broadcast information, the method includes:
step S31, if the judgment result is negative, repeating the step of obtaining the APP upgrading installation package from the background server and the configuration file and the step of calling the system API to perform silent installation according to the APP upgrading installation package to obtain third broadcast information;
step S32, judging whether the APP upgrading installation package is installed successfully or not according to the third broadcast information;
and step S33, if the judgment result is yes, controlling the application APP to restart.
As described in the foregoing steps S31-S33, when the APP upgrade installation package is installed, if the installation fails, the steps S1 and S2 are repeated, the APP upgrade installation package is downloaded again and installed again, and if the installation is successful this time, after the APP is restarted, it indicates that the APP update is successful, thereby effectively ensuring that the APP update is successful and avoiding an update failure.
Optionally, after the step of determining whether the APP upgrade installation package is successfully installed according to the third broadcast information, the method includes:
step S34, if the judgment result is negative, stopping executing installation and sending prompt information, wherein the prompt information is installation state information and manual installation information;
and step S35, executing corresponding operation according to the prompt information to finish application APP upgrading.
As described in the foregoing steps S34 and S35, if the second time of system automatic installation still fails, the system stops automatically executing the installation program, and sends a prompt message to indicate to the user that the application APP installation fails, so as to prompt the user to install the APP upgrade installation package according to the manual installation information, thereby ensuring successful update of the application APP and ensuring success rate.
Optionally, before the step of controlling the application APP to restart, the method further includes:
and S36, the APP searches the storage position of the APP upgrading installation package and deletes the APP upgrading installation package.
As shown in step S36, after the APP is restarted, the update is completed, and at this time, the APP upgrade installation package is stored in the diagnostic device, because the APP is updated frequently, the installation package will occupy a large amount of memory, and the installation package needs to be cleaned in time to ensure that the memory is sufficient, so that the system is prevented from being stuck.
Example two:
referring to fig. 2, the present application further discloses an APP automatic upgrade apparatus, including:
the obtaining module 10 is configured to obtain an APP upgrade installation package from a background server and a configuration file;
the installation module 20 is configured to call a system API interface to perform silent installation according to the APP upgrade installation package, and send first broadcast information, where the first broadcast information includes an APP installation package name and an installation state value;
the judging module 30 is configured to receive the first broadcast information, and judge whether the APP upgrade installation package is installed successfully according to the first broadcast information;
and the restarting module 40 is used for controlling the application APP to restart if the judgment result is yes.
Further, the obtaining module 10 further includes:
an establishing unit for establishing connection with a network;
the first judging unit is used for judging whether the system software of the diagnostic equipment is a factory release version or not;
the request unit is used for requesting to acquire a system authority application instruction if the system software is a factory-leaving version;
the confirmation unit is used for receiving a confirmation instruction generated according to the acquisition system permission application instruction, so as to form interaction with a system and control the application APP;
the downloading unit is used for silently downloading an APP upgrade installation package corresponding to the APP by using an APP background and sending second broadcast information, wherein the second broadcast information is APP upgrade installation package downloading state information;
the second judging unit is used for receiving the second broadcast information and judging whether the APP installation upgrading package is downloaded according to the second broadcast information;
and the sharing unit is used for calling a system API interface to share the APP upgrading installation package if the judgment result is yes.
Further, the installation module 20 further includes:
the decompression unit is used for decompressing the APP upgrade installation package;
the conversion unit is used for converting the decompressed binary data into binary data through an API (application program interface);
and the installation unit is used for identifying the binary data and transmitting the binary data to the system, wherein the system is used for installing the APP upgrading installation package in a background silent mode.
Further, the determining module 30 further includes:
the repeating unit is used for repeating the step of obtaining the APP upgrading installation package from the background server and the configuration file and the step of calling the system API to perform silent installation according to the APP upgrading installation package to obtain third broadcast information if the judgment result is negative;
a third judging unit, configured to judge whether the APP upgrade installation package is successfully installed according to the third broadcast information;
the restarting unit is used for controlling the application APP to restart if the judgment result is yes;
the display unit is used for stopping executing installation and sending prompt information if the judgment result is negative, wherein the prompt information is installation state information and manual installation information;
the execution unit is used for executing corresponding operation according to the prompt information so as to finish application APP upgrading;
and the deleting unit is used for searching the storage position of the APP upgrading installation package by the APP and deleting the APP upgrading installation package.
Example three:
referring to fig. 3, the present application also discloses a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method for automatically upgrading an APP as described above when executing the computer program.
The present application also discloses a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method for automatic upgrading of an APP as described above.
Has the advantages that: according to the method, the APP upgrading installation package is automatically obtained from the background server and the configuration file through the APP, the diagnosis equipment calls the system API interface to share the APP upgrading installation package, and the upgrading package does not need to be manually obtained; after the upgrade package is obtained, the diagnosis equipment calls a system API interface to perform silent installation without manually giving APP permission, and simultaneously sends first broadcast information, judges whether the installation of the APP upgrade installation package is finished or not through the broadcast information, and restarts the APP to finish updating after the installation is finished; according to the method, the diagnosis equipment system automatically controls the APP, the automatic updating of the APP can be completed without manual operation in the whole process, the APP is updated in time, and the APP is prevented from being updated for a long time when being used, so that the time is saved; meanwhile, the upgrading of the application APP is not influenced by the system, the installation of the application APP is completed without the need of frame ejection reminding and permission giving, and the user experience is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus, device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only a logical division, and there may be other divisions when the actual implementation is performed, or units having the same function may be grouped into one unit, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present application.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing an electronic device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only processor 5070 (ROM), a magnetic disk, an optical disk, or other various media that can store program codes.
The technical features mentioned above are combined with each other to form various embodiments which are not listed above, and all of them are regarded as the scope of the present invention described in the specification; also, modifications and variations may be suggested to those skilled in the art in light of the above teachings, and it is intended to cover all such modifications and variations as fall within the true spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An APP automatic upgrading method is applied to diagnosis equipment and is characterized in that: the method comprises the following steps:
obtaining an APP upgrading installation package from a background server and a configuration file;
calling a system API (application program interface) to perform silent installation according to the APP upgrade installation package, and sending first broadcast information, wherein the first broadcast information comprises an APP installation package name and an installation state value;
receiving the first broadcast information, and judging whether the APP upgrade installation package is installed successfully according to the first broadcast information;
and if so, controlling the application APP to restart.
2. The method for automatically upgrading an APP as claimed in claim 1, wherein before the step of obtaining the APP upgrade installation package from the background server and the configuration file, the method comprises:
establishing connection with a network;
judging whether the system software of the diagnostic equipment is a factory release version;
if the system software is a factory-leaving version, requesting to acquire a system permission application instruction;
and receiving a confirmation instruction generated according to the system authority acquisition application instruction so as to form interaction with the system and control the application APP.
3. The method for automatically upgrading the APP according to claim 1, wherein the specific step of obtaining the APP upgrade installation package from the background server and the configuration file comprises:
the background of the application APP silently downloads an APP upgrading installation package corresponding to the application APP and sends second broadcast information, wherein the second broadcast information is APP upgrading installation package downloading state information;
receiving the second broadcast information, and judging whether the APP installation upgrading package is downloaded according to the second broadcast information;
if the judgment result is yes, calling a system API interface to share the APP upgrading installation package.
4. The method for automatically upgrading an APP according to claim 1, wherein the specific step of calling a system API interface to perform silent installation according to the APP upgrade installation package comprises:
decompressing the APP upgrade installation package;
decompressing and converting the data into binary data through an API (application program interface);
and identifying the binary data and transmitting the binary data to a system, wherein the system silently installs the APP upgrade installation package at the background.
5. The method for automatically upgrading the APP according to claim 1, after the steps of receiving the first broadcast information and determining whether the APP upgrade installation package is installed successfully according to the first broadcast information, comprising:
if the judgment result is negative, repeating the step of obtaining the APP upgrading installation package from the background server and the configuration file and the step of calling the system API to perform silent installation according to the APP upgrading installation package to obtain third broadcast information;
judging whether the APP upgrading installation package is installed successfully or not according to the third broadcast information;
and if so, controlling the application APP to restart.
6. The method for automatically upgrading the APP according to claim 5, after the step of determining whether the APP upgrade installation package is successfully installed according to the third broadcast information, comprising:
if the judgment result is negative, stopping executing installation and sending prompt information, wherein the prompt information is installation state information and manual installation information;
and executing corresponding operation according to the prompt information to finish application APP upgrading.
7. The method for automatic upgrading of APP as claimed in claim 1, further comprising, before the step of controlling restart of APP:
and the application APP searches the storage position of the APP upgrading installation package and deletes the APP upgrading installation package.
8. The utility model provides an automatic upgrading device of APP which characterized in that includes:
the obtaining module is used for obtaining the APP upgrading installation package from the background server and the configuration file;
the installation module is used for calling a system API interface to perform silent installation according to the APP upgrade installation package and sending first broadcast information, wherein the first broadcast information comprises an APP installation package name and an installation state value;
the judging module is used for receiving the first broadcast information and judging whether the APP upgrading installation package is installed successfully or not according to the first broadcast information;
and the restarting module is used for controlling the application APP to restart if the judgment result is yes.
9. A computer device comprising a memory and a processor, said memory storing a computer program, characterized in that said processor, when executing said computer program, implements the steps of a method for automatic upgrading of an APP as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for automatic upgrading of an APP as claimed in any one of claims 1 to 7.
CN202210300407.0A 2022-03-25 2022-03-25 Method and device for automatically upgrading APP and computer equipment Pending CN114398048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210300407.0A CN114398048A (en) 2022-03-25 2022-03-25 Method and device for automatically upgrading APP and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210300407.0A CN114398048A (en) 2022-03-25 2022-03-25 Method and device for automatically upgrading APP and computer equipment

Publications (1)

Publication Number Publication Date
CN114398048A true CN114398048A (en) 2022-04-26

Family

ID=81234264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210300407.0A Pending CN114398048A (en) 2022-03-25 2022-03-25 Method and device for automatically upgrading APP and computer equipment

Country Status (1)

Country Link
CN (1) CN114398048A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204200A (en) * 2023-02-03 2023-06-02 启朔(深圳)科技有限公司 Application installation method, device, storage medium and equipment
CN116244008A (en) * 2023-05-10 2023-06-09 荣耀终端有限公司 Application starting method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793247A (en) * 2014-01-23 2014-05-14 深圳市道通科技有限公司 Diagnosis device software updating method and device
CN105204909A (en) * 2015-10-12 2015-12-30 Tcl集团股份有限公司 Method and system for upgrading strongly correlated apks based on mobile terminal
CN106778213A (en) * 2017-01-06 2017-05-31 深圳市金立通信设备有限公司 A kind of mourning in silence installs the method and terminal of application program
CN114050982A (en) * 2021-11-22 2022-02-15 深圳市元征科技股份有限公司 Software upgrading method and device, electronic equipment and storage medium
CN114090047A (en) * 2021-11-27 2022-02-25 深圳市元征科技股份有限公司 Software upgrading method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793247A (en) * 2014-01-23 2014-05-14 深圳市道通科技有限公司 Diagnosis device software updating method and device
CN105204909A (en) * 2015-10-12 2015-12-30 Tcl集团股份有限公司 Method and system for upgrading strongly correlated apks based on mobile terminal
CN106778213A (en) * 2017-01-06 2017-05-31 深圳市金立通信设备有限公司 A kind of mourning in silence installs the method and terminal of application program
CN114050982A (en) * 2021-11-22 2022-02-15 深圳市元征科技股份有限公司 Software upgrading method and device, electronic equipment and storage medium
CN114090047A (en) * 2021-11-27 2022-02-25 深圳市元征科技股份有限公司 Software upgrading method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204200A (en) * 2023-02-03 2023-06-02 启朔(深圳)科技有限公司 Application installation method, device, storage medium and equipment
CN116204200B (en) * 2023-02-03 2024-02-09 启朔(深圳)科技有限公司 Application installation method, device, storage medium and equipment
CN116244008A (en) * 2023-05-10 2023-06-09 荣耀终端有限公司 Application starting method, electronic device and storage medium
CN116244008B (en) * 2023-05-10 2023-09-15 荣耀终端有限公司 Application starting method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
JP5254396B2 (en) A system that automatically handles components on the device
KR100984895B1 (en) System and method for improved security in a handset reprovisioning and reprogramming
CN114398048A (en) Method and device for automatically upgrading APP and computer equipment
CN108388431A (en) The newer control method of application program heat, device, storage medium and mobile terminal
CN104216749A (en) Updating method and updating device for applications
KR101201276B1 (en) Method, software and apparatus for performing actions on a wireless device using action lists and versioning
CN102999349B (en) A kind of method for upgrading software
CN107102849B (en) Method and apparatus for file replacement with periodic ignition switch off
KR20080070963A (en) Method and apparatus for updating firmware in mobile communication terminal
CN111628918B (en) Control method and device of vehicle-mounted communication system and vehicle
CN113268257A (en) Vehicle-mounted application upgrading system, method and computer storage medium
CN113434164B (en) Cloud configuration updating method and system for setting item of vehicle-mounted entertainment host
CN107315602B (en) Application program upgrading method and terminal
CN113835723A (en) System on chip, upgrading system and method for vehicle electronic control unit
CN109428936B (en) APP upgrading method, device, system, electronic equipment and storage medium
CN112181467A (en) Method and device for upgrading memory firmware of terminal, terminal and storage medium
KR101169432B1 (en) System and method for managing the performance environment java application
CN111399904B (en) Non-intrusive EMM (EMM) function expansion framework based on dynamic component and construction method thereof
CN112486504A (en) Interaction method, upper computer and computer readable storage medium
CN113703797B (en) System upgrading method of industry safety terminal
CN115543389A (en) System function updating method, device, terminal device and computer medium
CN116541104B (en) Program management method, control device, platform, device, and storage medium
KR20050012007A (en) Method of upgrading software in wireless communication terminal
CN116800853A (en) Application management method and system of embedded equipment and network equipment
CN116700766A (en) Application running method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220426

RJ01 Rejection of invention patent application after publication