CN111427603A - Application program upgrading method and device - Google Patents

Application program upgrading method and device Download PDF

Info

Publication number
CN111427603A
CN111427603A CN202010297261.XA CN202010297261A CN111427603A CN 111427603 A CN111427603 A CN 111427603A CN 202010297261 A CN202010297261 A CN 202010297261A CN 111427603 A CN111427603 A CN 111427603A
Authority
CN
China
Prior art keywords
app
development kit
upgrading
compatible
software development
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.)
Granted
Application number
CN202010297261.XA
Other languages
Chinese (zh)
Other versions
CN111427603B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010297261.XA priority Critical patent/CN111427603B/en
Publication of CN111427603A publication Critical patent/CN111427603A/en
Application granted granted Critical
Publication of CN111427603B publication Critical patent/CN111427603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides an upgrading method and device of an application program, which comprises the steps of determining whether a software development kit compatible with an APP of the application program to be upgraded exists in the software package to be upgraded or not, wherein the APP is installed at a target terminal, obtaining a first software development kit through a UR L under the condition that the software development kit compatible with the APP does not exist in the software package to be upgraded and a target uniform resource locator UR L exists in the software package to be upgraded, and upgrading the APP by using the first software development kit under the condition that the first software development kit is determined to be compatible with the APP and the first software development kit is compatible with an operating system of the target terminal.

Description

Application program upgrading method and device
Technical Field
The invention relates to the field of communication, in particular to an application program upgrading method and device.
Background
When upgrading the APP on the terminal, whether a software development kit SDK _ RTM compatible with the APP exists in the software package to be upgraded or not needs to be determined, if not, upgrading is directly refused, if compatible, whether the SDK _ RTM in the software development kit is compatible with an operating system OS of the terminal installed with the APP needs to be further determined, and if not, upgrading is refused.
Only when the following two conditions are met simultaneously in the prior art, the APP version currently running on the terminal can be upgraded: (1) the software package to be upgraded comprises an SDK _ RTM compatible with the current APP version; (2) the SDK _ RTM in the software package to be upgraded is compatible with the OS of the terminal operated by the current APP.
Aiming at the technical problem that the upgrading requirement of the current APP version is high in the prior art, an effective solution does not exist at present.
Disclosure of Invention
The embodiment of the invention provides an upgrading method and device of an application program, which at least solve the problem that the upgrading requirement of the current APP version in the related technology is high.
According to one embodiment of the invention, the method for upgrading the application program comprises the steps of determining whether a software development kit compatible with an application program APP to be upgraded exists in the software package to be upgraded or not, wherein the APP is installed in a target terminal, obtaining a first software development kit through a target uniform resource locator (UR L) under the condition that the software development kit compatible with the APP does not exist in the software package to be upgraded and the UR L exists in the software package to be upgraded, and upgrading the APP by using the first software development kit under the condition that the first software development kit is determined to be compatible with the APP and the first software development kit is compatible with an operating system of the target terminal.
Optionally, the method further comprises: determining whether a second software development kit compatible with the APP exists in the software package to be upgraded or not; under the condition that the second software development kit is determined to be incompatible with the operating system, obtaining a preset first upgrading software package, wherein a third software development kit in the first upgrading software package is compatible with both the APP and the operating system; and upgrading the APP by using the first upgrading software package.
Optionally, upgrading the APP using the first upgrade software package includes: acquiring a target compatible layer; upgrading the APP by using the target compatible layer and a first upgrading software package; and loading the target compatible layer and the third software development kit to a preset storage position in the APP.
Optionally, the method further includes obtaining a preset second upgrading software package under the condition that it is determined that the software package to be upgraded does not have a software development kit compatible with the APP and the target uniform resource locator UR L does not exist, wherein a fourth software development kit in the second upgrading software package is compatible with both the APP and the operating system, and upgrading the APP by using the second upgrading software package.
Optionally, after the first software development kit is obtained through the UR L, the method further includes determining whether the first software development kit is compatible with the APP, obtaining a preset third upgrade software package under the condition that the first software development kit is determined to be incompatible with the APP, wherein a fifth software development kit in the third upgrade software package is compatible with both the APP and the operating system, and upgrading the APP by using the third upgrade software package.
Optionally, upgrading the APP includes: obtaining a target software development kit, wherein the target software development kit comprises: a fourth software development kit, a fifth software development kit; upgrading the APP by using a target upgrading software package, wherein the target upgrading software package comprises: a second upgrade software package, a third upgrade software package; and loading the target software development kit to a preset storage position in the APP.
According to another embodiment of the invention, the upgrading device of the application program comprises a first determining module, a first obtaining module and a first upgrading module, wherein the first determining module is used for determining whether a software development kit compatible with an application program APP to be upgraded exists in the software package to be upgraded, the APP is installed in a target terminal, the first obtaining module is used for obtaining a first software development kit through a UR L when the software development kit compatible with the APP does not exist in the software package to be upgraded and a target uniform resource locator UR L exists in the software package to be upgraded, and the first upgrading module is used for upgrading the APP by using the first software development kit under the condition that the first software development kit is determined to be compatible with the APP and the first software development kit is compatible with an operating system of the target terminal.
Optionally, the apparatus further comprises: a second determining module, configured to determine whether a second software development kit compatible with the APP exists in the software package to be upgraded, if so, whether the second software development kit is compatible with the operating system; a second obtaining module, configured to obtain a preset first upgrade software package when it is determined that the second software development kit is incompatible with the operating system, where a third software development kit in the first upgrade software package is compatible with both the APP and the operating system; and the second upgrading module is used for upgrading the APP by using the first upgrading software package.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the problem of higher upgrading requirement of the current version of the APP can be solved, the software development kit which is compatible with the operating systems of the terminals where the APP and the APP are located can be obtained through the uniform resource locators in the software package to be upgraded, and the effect of reducing the upgrading requirement of the current version of the APP can be achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal according to an application program upgrading method of an embodiment of the present invention;
FIG. 2 is a first schematic diagram of an upgrading method of an application program according to an embodiment of the present invention;
FIG. 3 is a flowchart of an upgrade method of an application according to an embodiment of the present invention;
FIG. 4 is a second schematic diagram of an upgrade method for an application according to an embodiment of the present invention;
FIG. 5 is a third schematic diagram of an upgrade method for an application according to an embodiment of the present invention;
fig. 6 is a block diagram of an upgrade apparatus of an application according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking an example of the application program running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of an application program upgrading method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used for storing computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the upgrading method of the application program in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Fig. 2 is a schematic diagram illustrating an upgrade flow of an APP to be upgraded according to an alternative embodiment of the present invention, which mainly includes the following steps:
step 1: acquiring a software package PKG _ AppNameX to be upgraded;
step 2: upgrading an application program APP to be upgraded installed on a target terminal through a software package PKG _ AppNameX to be upgraded;
and step 3: detecting a link mode of an SDK and an APP in a software package PKG _ AppNameX to be upgraded;
and 4, step 4: in Dynamic link (Dynamic), determining whether a software development kit SDK _ RTM in PKG _ AppNameX is compatible with an APP installed on a target terminal, and if not, refusing to upgrade;
step 5, in a Static link (Static), determining whether a software development kit SDK _ RTM in a PKG _ AppNameX linked with the APP is compatible with an OS system of a target terminal, and if not, directly refusing to upgrade;
step 6: and under the condition that the software development kit SDK _ RTM in the PKG _ AppNameX dynamically linked with the APP is compatible with the APP, and the software development kit SDK _ RTM in the PKG _ AppNameX statically linked with the APP is compatible with an OS system of the target terminal, the APP to be upgraded on the target terminal is executed.
In this embodiment, a method for upgrading an application running on the mobile terminal is provided, and fig. 3 is a flowchart of upgrading an application according to an embodiment of the present invention, as shown in fig. 3, the flowchart includes the following steps:
step S302, determining whether a software development kit compatible with an application program APP to be upgraded exists in a software package to be upgraded, wherein the APP is installed in a target terminal;
step S304, under the condition that it is determined that the software development kit compatible with the APP does not exist in the software package to be upgraded and a target uniform resource locator UR L exists in the software package to be upgraded, acquiring a first software development kit through the UR L;
step S306, under the condition that the first software development kit is determined to be compatible with the APP and the first software development kit is determined to be compatible with the operating system of the target terminal, the APP is upgraded by using the first software development kit.
Through the steps, the software development kit compatible with the APP is obtained through the UR L when the software package to be upgraded does not exist and the target uniform resource locator UR L exists in the software package to be upgraded, and the APP is upgraded by using the first software development kit when the first software development kit is determined to be compatible with the APP and the first software development kit is compatible with the operating system of the target terminal.
Alternatively, the execution subject of the above steps may be a terminal or the like, but is not limited thereto.
In this embodiment, the software package to be upgraded may be PKG _ AppNameX, the application APP to be upgraded may be AppNameX, AppNameX is installed on the target terminal device, the software development kit may be SDK _ RTM, the target uniform resource locator may be "UR L: SDK _ RTM", in the case where there is no SDK _ RTM compatible with APP in PKG _ AppNameX, it is determined whether there is a "UR L: SDK _ RTM" in PKG _ AppNameX, in the case where there is "UR L: SDK _ RTM" in PKG _ AppNameX, the first software development kit SDK _ RTM _1 linked thereto is acquired through the UR L by the "UR L: SDK _ RTM", and it is detected whether the first software development kit SDK _ RTM _1 is compatible with the SDK _ RTM _1, in the case where compatibility exists, it is determined whether the first software development kit SDK _ RTM and the APP _ RTM _1 are compatible with the operation of the first software development kit are both, and if the update is preset, if the update of the application APP _ RTM _ APP _ compatible is performed, and if the update is performed, and if the update is performed in the first development kit is stored in the case where the update of.
As an optional embodiment, the method further comprises: determining whether a second software development kit compatible with the APP exists in the software package to be upgraded or not; under the condition that the second software development kit is determined to be incompatible with the operating system, obtaining a preset first upgrading software package, wherein a third software development kit in the first upgrading software package is compatible with both the APP and the operating system; and upgrading the APP by using the first upgrading software package. In this embodiment, if the software package to be upgraded PKG _ AppNameX includes the second software development kit SDK _ RTM _2 compatible with APP, it is determined whether the SDK _ RTM _2 is compatible with the operating system OS of the target terminal. And upgrading the APP by using the SDK _ RTM _2 of the PKG _ AppNameX under the compatible condition, upgrading the SDK _ RTM _2 to a preset storage position of the APP, and calling the SDK _ RTM _2 of the preset storage position when the APP is enabled.
If the SDK _ RTM _2 is incompatible with the operating system OS of the target terminal, the APP is upgraded by directly using a first upgrade software package HowUpdate (2), the first upgrade software package HowUpdate (2) is a preset upgrade software package, and the first upgrade software package HowUpdate (2) can meet the condition that a third software development tool package SDK _ RTM _3 included in the first upgrade software package is compatible with the APP and is compatible with the OS system of the target terminal.
Optionally, upgrading the APP using the first upgrade software package includes: acquiring a target compatible layer; upgrading the APP by using the target compatible layer and a first upgrading software package; and loading the target compatible layer and the third software development kit to a preset storage position in the APP. In this embodiment, the target compatible layer SDK _ RTM _ component is a compatible layer between SDK _ RTM and OS, and is dedicated to solve runtime incompatibility between the two layers, and has a characteristic of strong version dependency. The acquired version of the SDK _ RTM _ component must be compatible with the APP's own dependent SDK _ RTM and compatible with the OS. The process of upgrading the APP by using the first upgrade software package How Update (2) as shown in fig. 4 includes the following steps:
step 1: detecting whether the target terminal has enough space to cache the first upgrading software package, and refusing upgrading if the target terminal does not have the space to cache;
step 2: and if the cache space exists, prompting to upload a target compatible layer SDK _ RTM _ Combat of 'SDK _ RTM _ 3', wherein the SDK _ RTM _ Combat is preset to be compatible with the SDK _ RTM of the APP self-band dependence and is compatible with the OS. The target compatibility layer SDK _ RTM _ component is a compatibility layer between SDK _ RTM and OS, dedicated to resolving runtime incompatibility between the two.
And step 3: if the uploaded target compatible layer SDK _ RTM _ Combat is obtained, upgrading the APP on the target terminal by using a first upgrading software package How Update (2), upgrading the SDK _ RTM _3 and the SDK _ RTM _ Combat to a preset storage position of the APP, and loading the SDK _ RTM _3 and the SDK _ RTM _ Combat of the preset storage position when the APP is started.
As an optional embodiment, the method further includes, under the condition that it is determined that there is no software development kit compatible with the APP in the software package to be upgraded and there is no target uniform resource locator UR L in the software package to be upgraded, obtaining a preset second upgrade software package, where a fourth software development kit in the second upgrade software package is compatible with both the APP and the operating system, and upgrading the APP by using the second upgrade software package.
As an optional embodiment, after obtaining the first software development kit through the UR L, the method further includes determining whether the first software development kit is compatible with the APP, obtaining a preset third upgrade software package under the condition that it is determined that the first software development kit is incompatible with the APP, where a fifth software development kit in the third upgrade software package is compatible with both the APP and the operating system, and upgrading the APP using the third upgrade software package, in this embodiment, when a software development kit SDK _ RTM compatible with an application APP to be upgraded exists in a software package PKG _ AppNameX to be upgraded, it is further determined whether the SDK _ RTM is compatible with the operating system of a target terminal, if not, obtaining the third upgrade software package, where the third upgrade software package and the second upgrade software package may be the same software package howdate (1.1), and if the fifth software development kit in the third upgrade software package is incompatible with the operating system SDK _ RTM, the third upgrade software package and the second upgrade software package SDK _ RTM are compatible with the same software package SDK _ RTM 5, and the third upgrade software package and the fourth upgrade software package may be the same software package capable of upgrading the fourth software package RTM compatible with the SDK _ RTM 5.
As an optional embodiment, upgrading the APP includes: obtaining a target software development kit, wherein the target software development kit comprises: a fourth software development kit, a fifth software development kit; upgrading the APP by using a target upgrading software package, wherein the target upgrading software package comprises: a second upgrade software package, a third upgrade software package; and loading the target software development kit to a preset storage position in the APP. In this embodiment, the second upgrade software package and the third upgrade software package may be the same software package How Update (1.1), and the fourth development tool package SDK _ RTM _4 and the fifth software development tool package SDK _ RTM _5 may be the same software development tool package SDK _ RTM.
In this embodiment, the process of upgrading an APP by using a first upgrade software package How Update (1.1) as shown in fig. 5 includes the following steps:
step 1: detecting whether the target terminal has enough space to cache the target upgrading software package, and refusing upgrading if the target terminal does not have the space to cache;
step 2: if the cache space exists, the uploading of the SDK _ RTM is prompted, the SDK _ RTM is preset, and the SDK _ RTM can be guaranteed to be compatible with both the APP and the operating system.
And step 3: if the uploaded 'SDK _ RTM' is obtained, upgrading the APP on the target terminal by using a target upgrading software package HowUpdate (1.1), upgrading the SDK _ RTM to a preset storage position of the APP, and loading the SDK _ RTM of the preset storage position when the APP is started;
and 4, step 4: and if the SDK _ RTM is not acquired, refusing to upgrade.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, an upgrading apparatus for an application program is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the descriptions already given are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 6 is a block diagram of an apparatus for upgrading an application according to an embodiment of the present invention, and as shown in fig. 6, the apparatus includes a first determining module 62 configured to determine whether a software development kit compatible with an APP of the application to be upgraded exists in a software package to be upgraded, where the APP is installed in a target terminal, a first obtaining module 64 configured to obtain a first software development kit through a UR L when it is determined that the software development kit compatible with the APP does not exist in the software package to be upgraded and a target uniform resource locator UR L exists in the software package to be upgraded, and a first upgrading module 66 configured to upgrade the APP using the first software development kit when it is determined that the first software development kit is compatible with the APP and the first software development kit is compatible with an operating system of the target terminal.
As an optional embodiment, the apparatus further comprises: a second determining module, configured to determine whether a second software development kit compatible with the APP exists in the software package to be upgraded, if so, whether the second software development kit is compatible with the operating system; a second obtaining module, configured to obtain a preset first upgrade software package when it is determined that the second software development kit is incompatible with the operating system, where a third software development kit in the first upgrade software package is compatible with both the APP and the operating system; and the second upgrading module is used for upgrading the APP by using the first upgrading software package.
As an optional embodiment, the apparatus is further configured to upgrade the APP with the first upgrade software package in the following manner, so as to obtain a target compatible layer; upgrading the APP by using the target compatible layer and a first upgrading software package; and loading the target compatible layer and the third software development kit to a preset storage position in the APP.
As an optional embodiment, the device is further configured to, when it is determined that a software development kit compatible with the APP does not exist in the software package to be upgraded and a target uniform resource locator UR L does not exist in the software package to be upgraded, obtain a preset second upgrade software package, where a fourth software development kit in the second upgrade software package is compatible with both the APP and the operating system, and upgrade the APP using the second upgrade software package.
As an optional embodiment, the apparatus is further configured to, after obtaining a first software development kit through the UR L, determine whether the first software development kit is compatible with the APP, obtain a preset third upgrade software package under the condition that it is determined that the first software development kit is not compatible with the APP, where a fifth software development kit in the third upgrade software package is compatible with both the APP and the operating system, and upgrade the APP using the third upgrade software package.
As an optional embodiment, the foregoing apparatus is further configured to upgrade the APP and obtain a target software development kit, where the target software development kit includes: a fourth software development kit, a fifth software development kit; upgrading the APP by using a target upgrading software package, wherein the target upgrading software package comprises: a second upgrade software package, a third upgrade software package; and loading the target software development kit to a preset storage position in the APP.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, determining whether a software development kit compatible with an application program APP to be upgraded exists in the software package to be upgraded, wherein the APP is installed in a target terminal;
s2, acquiring a first software development kit through UR L when determining that the software development kit compatible with the APP does not exist in the software package to be upgraded and a target uniform resource locator UR L exists in the software package to be upgraded;
s3, under the condition that the first software development kit is determined to be compatible with the APP and the first software development kit is determined to be compatible with the operating system of the target terminal, the APP is upgraded by using the first software development kit.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, determining whether a software development kit compatible with an application program APP to be upgraded exists in the software package to be upgraded, wherein the APP is installed in a target terminal;
s2, acquiring a first software development kit through UR L when determining that the software development kit compatible with the APP does not exist in the software package to be upgraded and a target uniform resource locator UR L exists in the software package to be upgraded;
s3, under the condition that the first software development kit is determined to be compatible with the APP and the first software development kit is determined to be compatible with the operating system of the target terminal, the APP is upgraded by using the first software development kit.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. An application program upgrading method, comprising:
determining whether a software development kit compatible with an application program APP to be upgraded exists in a software package to be upgraded, wherein the APP is installed in a target terminal;
under the condition that it is determined that a software development kit compatible with the APP does not exist in the software package to be upgraded and a target uniform resource locator (UR L) exists in the software package to be upgraded, acquiring a first software development kit through the UR L;
and under the condition that the first software development kit is determined to be compatible with the APP and the first software development kit is determined to be compatible with the operating system of the target terminal, upgrading the APP by using the first software development kit.
2. The method of claim 1, further comprising:
determining whether a second software development kit compatible with the APP exists in the software package to be upgraded or not;
under the condition that the second software development kit is determined to be incompatible with the operating system, obtaining a preset first upgrading software package, wherein a third software development kit in the first upgrading software package is compatible with both the APP and the operating system;
and upgrading the APP by using the first upgrading software package.
3. The method of claim 2, upgrading the APP using the first upgrade software package, comprising:
acquiring a target compatible layer;
upgrading the APP by using the target compatible layer and a first upgrading software package;
and loading the target compatible layer and the third software development kit to a preset storage position in the APP.
4. The method of claim 1, further comprising:
under the condition that it is determined that a software development kit compatible with the APP does not exist in the software package to be upgraded and a target uniform resource locator UR L does not exist in the software package to be upgraded, acquiring a preset second upgrade software package, wherein a fourth software development kit in the second upgrade software package is compatible with both the APP and the operating system;
and upgrading the APP by using the second upgrading software package.
5. The method of claim 1, after obtaining a first software development kit by the UR L, the method further comprising:
determining whether the first software development kit is compatible with the APP;
under the condition that the first software development kit is determined to be incompatible with the APP, obtaining a preset third upgrading software package, wherein a fifth software development kit in the third upgrading software package is compatible with both the APP and the operating system;
and upgrading the APP by using the third upgrading software package.
6. The method of claim 4 or 5, upgrading the APP, comprising:
obtaining a target software development kit, wherein the target software development kit comprises: a fourth software development kit, a fifth software development kit;
upgrading the APP by using a target upgrading software package, wherein the target upgrading software package comprises: a second upgrade software package, a third upgrade software package;
and loading the target software development kit to a preset storage position in the APP.
7. An apparatus for upgrading an application program, comprising:
the system comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining whether a software development kit compatible with an application program APP to be upgraded exists in a software package to be upgraded, and the APP is installed in a target terminal;
a first obtaining module, configured to, if it is determined that a software development kit compatible with the APP does not exist in the software package to be upgraded and a target uniform resource locator UR L exists in the software package to be upgraded, obtain a first software development kit through the UR L;
the first upgrading module is used for upgrading the APP by using the first software development kit under the condition that the first software development kit is determined to be compatible with the APP and the first software development kit is determined to be compatible with the operating system of the target terminal.
8. The apparatus of claim 7, further comprising:
a second determining module, configured to determine whether a second software development kit compatible with the APP exists in the software package to be upgraded, if so, whether the second software development kit is compatible with the operating system;
a second obtaining module, configured to obtain a preset first upgrade software package when it is determined that the second software development kit is incompatible with the operating system, where a third software development kit in the first upgrade software package is compatible with both the APP and the operating system;
and the second upgrading module is used for upgrading the APP by using the first upgrading software package.
9. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 5 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 5.
CN202010297261.XA 2020-04-15 2020-04-15 Application program upgrading method and device Active CN111427603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010297261.XA CN111427603B (en) 2020-04-15 2020-04-15 Application program upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010297261.XA CN111427603B (en) 2020-04-15 2020-04-15 Application program upgrading method and device

Publications (2)

Publication Number Publication Date
CN111427603A true CN111427603A (en) 2020-07-17
CN111427603B CN111427603B (en) 2023-07-14

Family

ID=71557895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010297261.XA Active CN111427603B (en) 2020-04-15 2020-04-15 Application program upgrading method and device

Country Status (1)

Country Link
CN (1) CN111427603B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199099A (en) * 2020-10-19 2021-01-08 深圳市欢太科技有限公司 Application updating method, device, server and storage medium

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020199180A1 (en) * 2001-02-28 2002-12-26 Jesse Donaldson Verification of software application attributes for optimal compatibility with a software system
CN103559040A (en) * 2013-11-12 2014-02-05 厦门卓讯信息技术有限公司 System and method based on SDK for rapidly building mobile internet application module
US20170147323A1 (en) * 2015-11-25 2017-05-25 Le Holding (Beijing) Co., Ltd. Method and electronic device for upgrading software development kit of an application
CN107015828A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Audio software upgrade method, application program updating method, apparatus and system
CN107122200A (en) * 2016-02-25 2017-09-01 博雅网络游戏开发(深圳)有限公司 Load plug-in unit SDK method, system and client
CN107450909A (en) * 2017-06-30 2017-12-08 武汉斗鱼网络科技有限公司 The treating method and apparatus of validity check is integrated for SDK
CN107479923A (en) * 2017-08-07 2017-12-15 青岛海信电器股份有限公司 Application program updating method, apparatus and display terminal
CN107704260A (en) * 2017-10-31 2018-02-16 广东小天才科技有限公司 A kind of method and system for the SDK for updating application software
US20180157479A1 (en) * 2016-12-04 2018-06-07 Sap Se Cloud service framework for toolkit deployment
CN108235754A (en) * 2016-12-24 2018-06-29 华为技术有限公司 A kind of method and apparatus that user is prompted to update application version
CN108366127A (en) * 2018-03-07 2018-08-03 北京奇艺世纪科技有限公司 A kind of acquisition methods and device of software package
CN108512683A (en) * 2017-02-28 2018-09-07 高德信息技术有限公司 A kind of SDK upgrade methods, device and server, mobile device
CN108881393A (en) * 2018-05-22 2018-11-23 北京达佳互联信息技术有限公司 A kind of data distributing method, device, computer and storage medium
CN109032820A (en) * 2018-08-08 2018-12-18 网易(杭州)网络有限公司 The compatible processing method and processing device of application version
CN109614107A (en) * 2018-11-01 2019-04-12 同盾控股有限公司 A kind of integrated approach and device of Software Development Kit
CN109710265A (en) * 2018-12-28 2019-05-03 北京金山安全软件有限公司 Method and device for acquiring software installation package and electronic equipment
CN110377438A (en) * 2019-07-22 2019-10-25 广州小鹏汽车科技有限公司 The method for routing of striding course communication interface, device and system
CN110764813A (en) * 2019-10-31 2020-02-07 京东方科技集团股份有限公司 Upgrading method of system software and running method thereof

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020199180A1 (en) * 2001-02-28 2002-12-26 Jesse Donaldson Verification of software application attributes for optimal compatibility with a software system
CN103559040A (en) * 2013-11-12 2014-02-05 厦门卓讯信息技术有限公司 System and method based on SDK for rapidly building mobile internet application module
US20170147323A1 (en) * 2015-11-25 2017-05-25 Le Holding (Beijing) Co., Ltd. Method and electronic device for upgrading software development kit of an application
CN107122200A (en) * 2016-02-25 2017-09-01 博雅网络游戏开发(深圳)有限公司 Load plug-in unit SDK method, system and client
US20180157479A1 (en) * 2016-12-04 2018-06-07 Sap Se Cloud service framework for toolkit deployment
CN108235754A (en) * 2016-12-24 2018-06-29 华为技术有限公司 A kind of method and apparatus that user is prompted to update application version
CN108512683A (en) * 2017-02-28 2018-09-07 高德信息技术有限公司 A kind of SDK upgrade methods, device and server, mobile device
CN107015828A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Audio software upgrade method, application program updating method, apparatus and system
CN107450909A (en) * 2017-06-30 2017-12-08 武汉斗鱼网络科技有限公司 The treating method and apparatus of validity check is integrated for SDK
CN107479923A (en) * 2017-08-07 2017-12-15 青岛海信电器股份有限公司 Application program updating method, apparatus and display terminal
CN107704260A (en) * 2017-10-31 2018-02-16 广东小天才科技有限公司 A kind of method and system for the SDK for updating application software
CN108366127A (en) * 2018-03-07 2018-08-03 北京奇艺世纪科技有限公司 A kind of acquisition methods and device of software package
CN108881393A (en) * 2018-05-22 2018-11-23 北京达佳互联信息技术有限公司 A kind of data distributing method, device, computer and storage medium
CN109032820A (en) * 2018-08-08 2018-12-18 网易(杭州)网络有限公司 The compatible processing method and processing device of application version
CN109614107A (en) * 2018-11-01 2019-04-12 同盾控股有限公司 A kind of integrated approach and device of Software Development Kit
CN109710265A (en) * 2018-12-28 2019-05-03 北京金山安全软件有限公司 Method and device for acquiring software installation package and electronic equipment
CN110377438A (en) * 2019-07-22 2019-10-25 广州小鹏汽车科技有限公司 The method for routing of striding course communication interface, device and system
CN110764813A (en) * 2019-10-31 2020-02-07 京东方科技集团股份有限公司 Upgrading method of system software and running method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199099A (en) * 2020-10-19 2021-01-08 深圳市欢太科技有限公司 Application updating method, device, server and storage medium

Also Published As

Publication number Publication date
CN111427603B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
CN110463162B (en) Application deployment method, device and system
CN108540509B (en) Processing method and device of terminal browser, server and intelligent terminal
CN110543327B (en) Service component multiplexing method, device, computer equipment and storage medium
CN105553738A (en) Heat loading method and device of configuration information and distributed cluster system
CN107844306B (en) Application program repairing method and device, storage medium and terminal
CN104765624B (en) Method and device for updating application program of virtual machine
CN113064685A (en) H5 page loading method and device
CN113296859A (en) Page loading method and device, storage medium and electronic device
CN107526584B (en) Data access method and device
CN110569129A (en) Resource allocation method and device, storage medium and electronic device
CN106293790B (en) application program upgrading method and device based on Firefox operating system
CN114546588A (en) Task deployment method and device, storage medium and electronic device
CN111427603B (en) Application program upgrading method and device
CN113821220A (en) Installation method and device of linux operating system
CN112416384A (en) Software upgrading method and device and computer equipment
CN109639629B (en) Data access processing method and device, computer equipment and storage medium
CN111131324A (en) Login method and device of business system, storage medium and electronic device
CN107632865B (en) FPGA configuration upgrading method and device
CN108647139B (en) System test method, device, storage medium and electronic device
CN111142885A (en) eSIM device management method, device, equipment and storage medium
CN115080068A (en) Resource file transmission method, device, equipment and storage medium
CN113110982B (en) Data access layer verification method and device, storage medium and electronic device
CN110580172B (en) Configuration rule verification method and device, storage medium and electronic device
CN111142913A (en) Hot updating method and equipment for iOS system application program
CN107528714B (en) Script processing method, device and system and router

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