CN111258619A - Application program updating method and system - Google Patents

Application program updating method and system Download PDF

Info

Publication number
CN111258619A
CN111258619A CN202010043054.1A CN202010043054A CN111258619A CN 111258619 A CN111258619 A CN 111258619A CN 202010043054 A CN202010043054 A CN 202010043054A CN 111258619 A CN111258619 A CN 111258619A
Authority
CN
China
Prior art keywords
service module
module
updating
current
application program
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
CN202010043054.1A
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.)
OneConnect Smart Technology Co Ltd
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN202010043054.1A priority Critical patent/CN111258619A/en
Publication of CN111258619A publication Critical patent/CN111258619A/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/65Updates
    • G06F8/656Updates while running

Abstract

The embodiment of the invention provides an updating method of an application program, which comprises the following steps: comparing each current service module in the application program with the corresponding updated service module in each current service module one by one; if the current service module in the application program is inconsistent with the updated service module in the service module library, judging that the current service module needs to be upgraded to the updated service module; when the current service module is in use, adding the updated service module information into the upgrade directory; when detecting that a process needs to call a current service module, scanning an upgrade directory; and replacing the current service module with the update service module, and loading the update service module to finish the calling of the update service module. According to the embodiment of the invention, the program can be upgraded without closing the related process, so that the experience of the user using the application program can be greatly improved.

Description

Application program updating method and system
Technical Field
The present invention relates to the field of communications, and in particular, to an update method and system for an application program, a computer device, and a readable storage medium.
Background
With the development of network technology, the demands of users are continuously changing and increasing, and the demands for application programs are higher and higher, and at this time, the application programs need to be upgraded frequently.
At present, the upgrading method of the application program is as follows: 1. comparing versions of the upgrade programs; 2. downloading a file; 3. updating the file; 4. the main program is started. In the upgrading mode of the application program, when the application program is upgraded, the relevant process needs to be closed, and then the program needing to be upgraded is replaced. However, when the user is using the system, the process needs to be temporarily closed, and then the system is restarted after the installation is completed, which brings great inconvenience to the user.
Therefore, the invention aims to solve the problem that when the application program is upgraded, the program can be upgraded without closing the related process.
Disclosure of Invention
In view of the foregoing, there is a need for an application program updating method, system, computer device and readable storage medium, which can complete the program update without shutting down the related processes when the application program is updated, and greatly improve the user experience of using the application program.
In order to achieve the above object, an embodiment of the present invention provides an update method for an application program, where the method includes:
comparing each current service module in an application program with the corresponding update service modules of each current service module one by one, wherein the update service modules are stored in a service module library;
if the first current service module in the application program is inconsistent with the first updating service module in the service module library, judging that the first current service module needs to be updated to the first updating service module;
judging whether the first current service module is in use;
when the first current service module is in use, adding the first updated service module information to an upgrade directory;
when detecting that a process needs to call the first current service module, scanning the upgrade directory, wherein the mode of calling the first current service module is a mode of loading the process;
and replacing the first current service module with the first updating service module, and loading the first updating service module to complete the calling of the first updating service module.
Optionally, before the step of comparing each current service module in the application program with the update service modules corresponding to each current service module one by one, the method further includes the steps of:
acquiring the current business modules and the updated business information of the application program input by the user so as to acquire corresponding business modules according to the business information; and
and storing the updated service module in the service module library.
Optionally, before the step of adding the first updated service module information to the upgrade directory if the first current service module is in use, the method further includes the steps of:
acquiring the first current business module downloaded by the updating process; and
and updating the first current service module to obtain the first updated service module.
Optionally, the method for updating an application further includes:
and when the first updating service module is not scanned in the upgrading directory, loading the first current service module to finish the calling of the first current service module.
Optionally, after the step of loading the first current service module to complete the call of the first current service module, the method further includes the steps of:
detecting the processing condition of the first current service module; and
and releasing the first current service module when the first current service of the first current service module is detected to be processed.
Optionally, after the step of replacing the first current service module with the first updated service module and loading the first updated service module to complete the call of the first updated service module, the method further includes the steps of:
detecting the processing condition of the first updating service module; and
and releasing the first updating service module when the first updating service of the first updating service module is detected to be processed.
In order to achieve the above object, an embodiment of the present invention further provides an update system for an application program, including:
the comparison module is used for comparing each current service module in the application program with the corresponding update service modules of each current service module one by one, wherein the update service modules are stored in a service module library;
a judging module, configured to judge that the first current service module needs to be updated to the first updated service module and judge whether the first current service module is in use if a first current service module in the application program is inconsistent with a first updated service module in the service module library;
the adding module is used for adding the first updated service module information to an upgrading directory when the first current service module is in use;
the scanning module is used for scanning the upgrading directory when the fact that the process needs to call the first current business module is detected, wherein the mode of calling the first current business module is a mode of loading the process; and
and the calling module is used for replacing the first current service module with the first updating service module and loading the first updating service module to finish calling the first updating service module.
Optionally, the system for updating the application program further includes an obtaining module, configured to obtain the current service modules and service information of the application program input by a user after updating, so as to obtain corresponding updated service modules according to the service information; and storing the updated service module in the service module library.
Optionally, the update system of the application program further includes an update module, wherein:
the obtaining module is further configured to obtain the first current service module downloaded by the update process; and
and the updating module is used for updating the first current service module to acquire the first updated service module.
Optionally, the calling module is further configured to load the first current service module when the first update service module is not scanned in the upgrade directory, so as to complete the calling of the first current service module.
Optionally, the system for updating an application program further includes a detection module and a release module, wherein:
the detection module is used for detecting the processing condition of the first current service module; and
the releasing module is configured to release the first current service module when it is detected that the first current service in the first current service module is processed.
Optionally, the detecting module is further configured to detect a processing condition of the first update service module; and
the releasing module is further configured to release the first update service module when it is detected that the first update service in the first update service module is processed.
To achieve the above object, the embodiments of the present invention further provide a computer device, a memory of the computer device, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method for updating an application program as described above.
To achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program is executable by at least one processor to cause the at least one processor to execute the steps of the method for updating an application program as described above.
According to the updating method, the updating system, the computer equipment and the readable storage medium of the application program provided by the embodiment of the invention, by acquiring the service information in the application program, acquiring the corresponding service module and storing the service module, when a first current service module in the application program is acquired to be inconsistent with a corresponding first updating service module in the service module library, the first current service module downloaded in the updating process is acquired and is updated, when the first current service module is detected to be in use, the updated first updating service module information is added into an updating catalog, when the service module is called next time, the updating catalog is scanned, and the first updating service module is loaded according to the scanning result. By the embodiment of the invention, when the application program is upgraded, the program can be upgraded without closing the related process, so that the experience of a user using the application program is greatly improved.
Drawings
Fig. 1 is a flowchart illustrating steps of an application program updating method according to an embodiment of the present invention.
Fig. 2 is a schematic hardware architecture diagram of a computer device according to a second embodiment of the present invention.
Fig. 3 is a schematic diagram of program modules of an application program update system according to a third embodiment of the present invention.
Reference numerals:
computer equipment 2
Memory device 21
Processor with a memory having a plurality of memory cells 22
Network interface 23
Application program updating system 20
Comparison module 201
Judging module 202
Add module 203
Scanning module 204
Calling module 205
Acquisition module 206
Updating module 207
Detection module 208
Release module 209
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of an application program updating method according to a first embodiment of the present invention is shown. It is to be understood that the flow charts in the embodiments of the present method are not intended to limit the order in which the steps are performed. It should be noted that the present embodiment is exemplarily described with the computer device 2 as an execution subject. The method comprises the following specific steps:
step S100, comparing each current service module in the application program with the corresponding update service modules of each current service module one by one, wherein the update service modules are stored in a service module library.
Exemplarily, if the application is an instant messaging application, the application includes a user login module, a display module, a user information module, and a chat module, and the login module, the display module, the user information module, and the chat module are compared with all the service modules in the service module library one by one. And if the target user login module in the service module library provides the user to login the instant messaging application program in the instant messaging application program interface by using the mobile phone number and in a verification code mode. However, an original user login module (i.e., a first current service module) in the existing application program only supports an instant messaging application program account login mode, and when the target user login module is obtained, the target user login module is compared with the original user login module.
In a preferred embodiment, before the step of comparing each current service module in the application program with the corresponding updated service module of each current service module one by one, service information of each current service module and the application program input by the user after updating is further obtained, so as to obtain the corresponding updated service module according to the service information, and then the updated service module is stored in the service module library.
Exemplarily, when an application service includes a service a, a service B, and a service C, service information of the service a, the service B, and the service C is acquired, the service a module, the service B module, and the service C module are acquired according to the acquired service information, and then the service a module, the service B module, and the service C module are stored in a service module library.
Step S102, judging whether a first current business module in the application program is consistent with a first updating business module in the business module library, if not, executing step S104, otherwise, continuing to execute step S100.
Step S104, the first current service module needs to be updated to the first updated service module.
Illustratively, because the instant messaging application login module of the application before upgrading does not support the function of logging in the instant messaging application by using a mobile phone number and by verifying a verification code, the upgraded login module can log in the instant messaging application by using the mobile phone number and by verifying the verification code in addition to the instant messaging application account login mode. Therefore, the result of the comparison is that the instant messaging application program login module needs to be updated.
Step S106, judging whether the first current service module is in use.
Step S108, when the first current service module is in use, adding the first updated service module information to an upgrade directory.
In a preferred embodiment, when the user login module in the instant messaging application needs to be upgraded, it is detected that the original user login module (service a module) is being called by the user at the moment by detecting the current process, and then the upgraded target user login module (service a' module) is placed in the upgrade directory. In this embodiment, in order to distinguish the user login modules before and after the upgrade, the original user login module before the upgrade is referred to as a service a module, and the target user login module after the upgrade is referred to as a service a' module. And when the target user login module needs to be called, acquiring the service A' module from the upgrading directory.
In a preferred embodiment, if the first current service module is in use, before the step of adding the first updated service module information to the upgrade directory, the first current service module downloaded by the update process is acquired, and the first current service module is updated to acquire the first updated service module.
Illustratively, when the instant messaging application program is in a running state, an original user login module (a service a module) needs to be upgraded, and the service a module is in use, the service a module downloaded in an updating process is acquired, and the service a module is updated to obtain a service a' module. And updating the service A module according to the user requirement so as to upgrade the service A module. For example: and re-developing the original user login module only supporting the login mode of the instant messaging application program account number so as to upgrade the original user login module to a target user login module which can also support the login of the instant messaging application program by using a mobile phone number and verifying a verification code.
Step S110, when detecting that the process needs to call the first current service module, scanning the upgrade directory, wherein the mode of calling the first current service module is a mode of loading the process.
Illustratively, when it is detected that the original user login module is used completely, and then the original user login module is called again, that is, the instant messaging application program is logged in again, the upgrade directory is scanned, and a service module to be loaded (that is, the upgraded target user login module) is determined according to the upgrade directory.
Step S112, replacing the first current service module with the first updated service module, and loading the first updated service module to complete the call of the first updated service module.
Illustratively, when logging in the instant messaging application program again, according to the result of scanning the upgrade directory, if the upgraded service a ' module is scanned, the service a ' module is replaced or covered by the service a ' module, and the loading process loads the service a ' module and completes the call of the service a ' module.
In a preferred embodiment, when the first update service module is not scanned in the upgrade directory, the first current service module is loaded to complete the call of the first current service module.
Illustratively, when logging in the instant messaging application program again, according to the result of scanning the upgrade directory, if the upgraded service a' module is not scanned, the loading process loads the service a module and completes the call of the task a module.
In another preferred embodiment, after the step of loading the first current service module to complete the call of the first current service module, a processing condition of the first current service module is further detected, and when it is detected that the first current service of the first current service module is processed, the first current service module is released.
In another preferred embodiment, after the first current service module is replaced by the first updated service module and the first updated service module is loaded to complete the call of the first updated service module, the processing condition of the first updated service module is also detected, and when the processing of the service in the first updated service module is detected to be completed, the first updated service module is released.
Illustratively, after the loading process finishes loading the service a module or the service a 'module, the processing completion condition of the service a module or the service a' module is detected, and when the processing completion of the service a module or the service a 'module is detected, the release process releases the service a module or the service a' module. By the embodiment of the invention, when the instant messaging application program is upgraded, only the user login module (for example, the service A module) is required to be upgraded, and other modules (the service B module and the service C module) are kept unchanged, so that the upgrading efficiency of the application program is greatly improved.
In another preferred embodiment, the user needs to display the main interface for the instant messaging application program, for example, to add the positioning information, when the main interface displayed by the instant messaging application program is refreshed, that is, the server monitors to call the real main interface module again, the loading process loads the upgraded main interface display module to complete the call of the main interface display module.
The application programs of the present invention include, but are not limited to, an instant messaging application program, and may also be other applications such as social, entertainment, and functionality (e.g., bank).
By the embodiment of the invention, when the application program is upgraded, the program can be upgraded without closing the related process, so that the experience of a user using the application program is greatly improved.
Example two
Referring to fig. 2, a hardware architecture diagram of a computer device according to a second embodiment of the invention is shown. The computer device 2 includes, but is not limited to, a memory 21, a processor 22, and a network interface 23 communicatively coupled to each other via a system bus, and fig. 2 illustrates only the computer device 2 having components 21-23, but it is to be understood that not all of the illustrated components are required and that more or fewer components may alternatively be implemented.
The memory 21 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 21 may be an internal storage unit of the computer device 2, such as a hard disk or a memory of the computer device 2. In other embodiments, the memory may also be an external storage device of the computer device 2, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a flash Card (FlashCard), and the like, provided on the computer device 2. Of course, the memory 21 may also comprise both an internal storage unit of the computer device 2 and an external storage device thereof. In this embodiment, the memory 21 is generally used for storing an operating system installed in the computer device 2 and various types of application software, such as program codes of the update system 20 of the application program. Further, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 22 is typically used to control the overall operation of the computer device 2. In this embodiment, the processor 22 is configured to run the program codes stored in the memory 21 or process data, for example, run the update system 20 of the application program.
The network interface 23 may comprise a wireless network interface or a wired network interface, and the network interface 23 is generally used for establishing communication connection between the computer device 2 and other electronic devices. For example, the network interface 23 is used to connect the computer device 2 to an external terminal through a network, establish a data transmission channel and a communication connection between the computer device 2 and the external terminal, and the like. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, and the like.
EXAMPLE III
Referring to fig. 3, a program module diagram of an update system of an application program according to a third embodiment of the present invention is shown. In the embodiment, the updating system 20 of the application program may include or be divided into one or more program modules, and the one or more program modules are stored in the storage medium and executed by one or more processors to implement the present invention and implement the updating method of the application program. The program modules referred to in the embodiments of the present invention refer to a series of computer program instruction segments capable of performing specific functions, and are more suitable than the program itself for describing the execution process of the update system 20 of the application program in the storage medium. The following description will specifically describe the functions of the program modules of the present embodiment:
a comparing module 201, configured to compare each current service module in the application program with the update service modules corresponding to each current service module one by one, where the update service modules are stored in a service module library.
Exemplarily, if the application is an instant messaging application, the instant messaging application includes a user login module, a display module, a user information module, and a chat module, and the comparison module 201 compares the login module, the display module, the user information module, and the chat module with all the service modules in the service module library one by one. And if the target user login module in the service module library provides the user to login the instant messaging application program in the instant messaging application program interface by using the mobile phone number and in a verification code mode. However, in the existing application, the original user login module (i.e. the first current service module) only supports the account login mode of the instant messaging application, and the comparison module 201 compares the target user login module with the original user login module.
In a preferred embodiment, the obtaining module 206 is configured to obtain the current service modules and the service information of the application program input by the updated user, so as to obtain corresponding updated service modules according to the service information, and store the updated service modules in the service module library.
Illustratively, when the application program service includes a service a, a service B, and a service C, the obtaining module 206 obtains service information of the service a, the service B, and the service C, and obtains the service a module, the service B module, and the service C module according to the obtained service information. Then, the obtaining module 206 stores the service a module, the service B module, and the service C module in a service module library.
A judging module 202, configured to judge whether a first current service module in the application program is consistent with a first updated service module in the service module library, and when it is judged that the first current service module in the application program is inconsistent with the first updated service module in the service module library, judge that the first current service module needs to be updated to the first updated service module.
Illustratively, because the instant messaging application login module of the application before the upgrade does not support the function of logging in the instant messaging application by using the mobile phone number and by verifying the verification code, the upgraded login module can log in the instant messaging application by using the mobile phone number and by verifying the verification code in addition to the instant messaging application number login mode. Therefore, by comparison, the judgment result of the judgment module 202 is that the instant messaging application login module needs to be updated.
The determining module 202 is further configured to determine whether the first current service module is in use.
An adding module 203, configured to add the first updated service module information to an upgrade directory when the first current service module is in use.
In a preferred embodiment, when the user login module in the instant messaging application needs to be upgraded, then, by detecting the current process, the detection module 208 is configured to detect that the original user login module (service a module) is being invoked by the user at this time, and then the adding module 203 places the upgraded target user login module (service a' module) in the upgrade directory. In this embodiment, in order to distinguish the user login modules before and after the upgrade, the original user login module before the upgrade is referred to as a service a module, and the target user login module after the upgrade is referred to as a service a' module. When the target user login module needs to be called, the obtaining module 206 obtains the service a' module from the upgrade directory.
In a preferred embodiment, the obtaining module 206 is further configured to obtain the first current service module downloaded by the update process, and the updating module 207 is configured to perform update processing on the first current service module to obtain the first updated service module.
Illustratively, when the instant messaging application is in a running state, an original user login module (service a module) needs to be upgraded, and the service a module is in use, the obtaining module 206 obtains the service a module downloaded in an updating process, and then the updating module 207 updates the service a module to obtain a service a' module. And updating the service A module according to the user requirement so as to upgrade the service A module. For example: and re-developing the original user login module only supporting the login mode of the instant messaging application program account number so as to upgrade the original user login module to a target user login module which can also support the login of the instant messaging application program by using a mobile phone number and verifying a verification code.
The scanning module 204 is configured to scan the upgrade directory when it is detected that the process needs to call the first current service module, where a mode of calling the first current service module is a mode of loading the process.
Illustratively, when it is detected that the original user login module is used completely, and then the original user login module is called again, that is, the instant messaging application program is logged in again, the scanning module 204 scans the upgrade directory, and determines a service module to be loaded (that is, an upgraded target user login module) according to the upgrade directory.
A calling module 205, configured to replace the first current service module with the first updated service module, and load the first updated service module to complete the calling of the first updated service module.
Illustratively, when logging in the instant messaging application program again, according to the result of scanning the upgrade directory, if the upgraded service a ' module is scanned, the service a ' module is replaced or covered by the service a ' module, and the loading process loads the service a ' module and completes the call of the service a ' module.
In a preferred embodiment, when the first update service module is not scanned in the upgrade directory, the first current service module is loaded to complete the call of the first current service module.
Illustratively, when logging in the instant messaging application program again, according to the result of scanning the upgrade directory, if the upgraded service a' module is not scanned, the loading process loads the service a module and completes the call of the task a module.
In another preferred embodiment, the detecting module 208 is configured to detect a processing condition of the first current service module, and when it is detected that the processing of the service in the first current service module is completed, the releasing module 209 releases the first current service module.
In another preferred embodiment, the detecting module 208 is further configured to detect a processing condition of the first update service module, and when it is detected that the service in the first update service module is processed, the releasing module 209 releases the first update service module.
Illustratively, after the loading process finishes loading the service a module or the service a 'module, the detection module 208 detects a processing completion condition of the service a module or the service a' module, and when the detection module 208 detects that the processing of the service a module or the service a 'module is completed, the release module 209 releases the process to release the service a module or the service a' module. By the embodiment of the invention, when the instant messaging application program is upgraded, only the user login module (for example, the service A module) is required to be upgraded, and other modules (the service B module and the service C module) are kept unchanged, so that the upgrading efficiency of the application program is greatly improved.
In another preferred embodiment, the user needs to display the main interface for the instant messaging application program, for example, to add the positioning information, when the main interface displayed by the instant messaging application program is refreshed, that is, the server monitors to call the real main interface module again, the loading process loads the upgraded main interface display module to complete the call of the main interface display module.
The application programs of the present invention include, but are not limited to, an instant messaging application program, and may also be other applications such as social, entertainment, and functionality (e.g., bank).
By the embodiment of the invention, when the application program is upgraded, the program can be upgraded without closing the related process, so that the experience of a user using the application program is greatly improved.
The present invention also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a rack server (including an independent server or a server cluster composed of a plurality of servers) capable of executing programs, and the like. The computer device of the embodiment at least includes but is not limited to: memory, processor, etc. communicatively coupled to each other via a system bus.
The present embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., on which a computer program is stored, which when executed by a processor implements corresponding functions. The computer-readable storage medium of the embodiment is used for storing the update system 20 of the application program, and when being executed by the processor, the update system of the application program of the first embodiment implements the update method of the application program of the first embodiment.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An updating method of an application program, comprising the steps of:
comparing each current service module in an application program with the corresponding update service modules of each current service module one by one, wherein the update service modules are stored in a service module library;
if the first current service module in the application program is inconsistent with the first updating service module in the service module library, judging that the first current service module needs to be updated to the first updating service module;
judging whether the first current service module is in use;
if the first current service module is in use, adding the first updated service module information to an upgrade directory;
when detecting that a process needs to call the first current service module, scanning the upgrade directory, wherein the mode of calling the first current service module is a mode of loading the process;
and replacing the first current service module with the first updating service module, and loading the first updating service module to complete the calling of the first updating service module.
2. The method for updating an application program according to claim 1, wherein before the step of comparing each current service module in the application program with the updated service modules corresponding to the current service modules one by one, the method further comprises the steps of:
acquiring the current business modules and business information of the application program input by a user after updating so as to acquire corresponding updated business modules according to the business information; and
and storing the updated service module in the service module library.
3. The method for updating an application program of claim 1, wherein before the step of adding the first updated service module information to an upgrade directory if the first current service module is in use, further comprising the step of:
acquiring the first current business module downloaded by the updating process; and
and updating the first current service module to obtain the first updated service module.
4. The method for updating an application program according to claim 1, further comprising the steps of:
and when the first updating service module is not scanned in the upgrading directory, loading the first current service module to finish the calling of the first current service module.
5. The method for updating an application program according to claim 4, wherein after said step of loading said first current service module to complete said calling of said first current service module, further comprising the steps of:
detecting the processing condition of the first current service module; and
and releasing the first current service module when the first current service of the first current service module is detected to be processed.
6. The method for updating an application of claim 1, wherein after the steps of replacing the first current service module with the first updated service module and loading the first updated service module to complete the call of the first updated service module, further comprising the steps of:
detecting the processing condition of the first updating service module; and
and releasing the first updating service module when the first updating service of the first updating service module is detected to be processed.
7. An update system for an application program, comprising:
the comparison module is used for comparing each current service module in the application program with the corresponding update service modules of each current service module one by one, wherein the update service modules are stored in a service module library;
a judging module, configured to judge that the first current service module needs to be updated to the first updated service module and judge whether the first current service module is in use if a first current service module in the application program is inconsistent with a first updated service module in the service module library;
the adding module is used for adding the first updated service module information to an upgrading directory when the first current service module is in use;
the scanning module is used for scanning the upgrading directory when the fact that the process needs to call the first current business module is detected, wherein the mode of calling the first current business module is a mode of loading the process; and
and the calling module is used for replacing the first current service module with the first updating service module and loading the first updating service module to finish calling the first updating service module.
8. The application program update system of claim 7, further comprising:
the acquisition module is used for acquiring the first current business module downloaded by the updating process; and
and the updating module is used for updating the first current service module to acquire the first updated service module.
9. Computer device, characterized by a computer device memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method for updating an application program according to any of claims 1-6.
10. A computer-readable storage medium, in which a computer program is stored which is executable by at least one processor for causing the at least one processor to carry out the steps of the method for updating an application program according to any one of claims 1-6.
CN202010043054.1A 2020-01-15 2020-01-15 Application program updating method and system Pending CN111258619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010043054.1A CN111258619A (en) 2020-01-15 2020-01-15 Application program updating method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010043054.1A CN111258619A (en) 2020-01-15 2020-01-15 Application program updating method and system

Publications (1)

Publication Number Publication Date
CN111258619A true CN111258619A (en) 2020-06-09

Family

ID=70950579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010043054.1A Pending CN111258619A (en) 2020-01-15 2020-01-15 Application program updating method and system

Country Status (1)

Country Link
CN (1) CN111258619A (en)

Similar Documents

Publication Publication Date Title
RU2333612C2 (en) Method and system for data set version renewal containing in wireless device
KR100611537B1 (en) Server processing for updating dataset versions resident on a wireless device
US20140047458A1 (en) App Icon Processing Method and Communication Terminal
CN107911401B (en) Application plug-in extension function method and application server
KR101201276B1 (en) Method, software and apparatus for performing actions on a wireless device using action lists and versioning
CN106843947B (en) Method and device for processing code defects
CN109117153B (en) Application processing method, device, terminal and storage medium
CN110765394A (en) So file loading method and device, storage medium and terminal equipment
CN110851151B (en) Method, device, terminal, server and storage medium for pre-installing application
CN114780019A (en) Electronic device management method and device, electronic device and storage medium
CN114385251A (en) Operating system booting method, system, terminal and storage medium based on memory
CN111258619A (en) Application program updating method and system
CN110764809A (en) OTA APN upgrading method, device, equipment and medium
CN107798250B (en) Sensitive information shielding rule issuing method, application server and computer readable storage medium
CN112600803B (en) Web end data signature method and device and computer equipment
CN112416384A (en) Software upgrading method and device and computer equipment
CN112685071A (en) Application program repairing method, device, equipment and storage medium
CN115004667A (en) Information pushing method and device, electronic equipment and computer readable medium
CN111209035A (en) Configuration method and configuration system for software development
KR101384929B1 (en) Media scanning method and media scanning device for storage medium of user terminal
CN108345526B (en) Hook processing method and device
CN113965621A (en) Monitoring prompt method, device, computer and readable storage medium
CN114064092A (en) Application program hot updating method, device, equipment and storage medium
CN117193874A (en) Plug-in processing method and device, storage medium and electronic equipment
CN114610330A (en) Method, device and system for installing software and readable storage medium

Legal Events

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