CN111240728A - Application program updating method, device, equipment and storage medium - Google Patents

Application program updating method, device, equipment and storage medium Download PDF

Info

Publication number
CN111240728A
CN111240728A CN202010047020.XA CN202010047020A CN111240728A CN 111240728 A CN111240728 A CN 111240728A CN 202010047020 A CN202010047020 A CN 202010047020A CN 111240728 A CN111240728 A CN 111240728A
Authority
CN
China
Prior art keywords
script
target
application program
function
function script
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
CN202010047020.XA
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
CCB Finetech 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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202010047020.XA priority Critical patent/CN111240728A/en
Publication of CN111240728A publication Critical patent/CN111240728A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses an application program updating method, device, equipment and storage medium. The method comprises the following steps: when the application program runs to a preset program position, determining a target function script and a development language identifier corresponding to the target function script according to a function script identifier corresponding to the preset program position, wherein the preset program position is the position of an application program function to be updated in the application program, and the target function script is used for realizing the application program function; determining a target script engine corresponding to the target function script according to the development language identifier; and (3) taking each target variable in the application program as an input parameter of the target function script, executing the target function script through the target script engine, modifying the variable value of each target variable, and finishing the updating of the function of the application program in the application program. By the technical scheme, the function of the application program is updated in real time on the basis that the application service is not interrupted, and the maintainability of the application program is improved.

Description

Application program updating method, device, equipment and storage medium
Technical Field
The present invention relates to computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for updating an application.
Background
With the rapid development of services, some applications may be frequently updated, that is, the service rules or service logics of some important function modules in the applications are frequently changed, and the changed rules or logics need to be immediately released to the operating environment of the applications, and meanwhile, the services are required to be uninterrupted.
For example, the following actual service scenarios exist: the accounting module of a certain system has thousands of outgoing calls, in the process of the outgoing call components, different full half-angle conversion methods are required for fields in request messages of each transaction by different external components, and the requirements may be changed subsequently, for example, some fields do not need to be converted, or new requirements are added, so that English lowercase in some fields are required to be converted into capital letters completely, or default values are required under the condition that some fields in some transactions are required to be empty, and the like. For example, some business inspection rules in the process of banking or insurance business, such as some fields on the bill or contract cannot be empty, the association inspection logic between some fields, etc., may also change frequently.
For the scenario that the service demand changes frequently, the redeployment is mainly performed by releasing a new version of the application program or by using a hot loading technology at present. The main process of releasing the new version of the application program is to modify source codes, compile and test environment, and then release the new version of the application program to an operating environment. The hot loading refers to reloading a class file to realize application updating during running, and the implementation principle of hot loading of the Java platform mainly depends on a class loading mechanism of Java, and the implementation method can be summarized as follows: the method comprises the steps of releasing class files needing to be changed through the processes of source code modification, compiling and testing, starting a background thread while an application program is started to run, detecting the change of the time stamp of the class files in a timing mode, and reloading the class files if the time stamp of the class files changes.
However, the existing application update scheme has the following problems: (1) the scheme of reissuing the version still has the process of compiling the Java source code into the Java byte code, and the time consumption is long; and can cause application services to be temporarily unavailable during deployment of the new version. (2) The hot loading mode also has the process of compiling the Java code into the Java byte code, so that the time consumption is long; moreover, frequent hot loading also causes an increase in memory in a method area of the JVM, which is likely to cause memory overflow, and in a serious case, the whole application program is unusable.
Disclosure of Invention
Embodiments of the present invention provide an application program updating method, apparatus, device, and storage medium, so as to update an application program function in real time on the basis of uninterrupted application service, and improve maintainability of an application program.
In a first aspect, an embodiment of the present invention provides an application program updating method, including:
when an application program runs to a preset program position, determining a target function script and a development language identifier corresponding to the target function script according to a function script identifier corresponding to the preset program position, wherein the preset program position is a position of an application program function to be updated in the application program, and the target function script is used for realizing the application program function;
determining a target script engine corresponding to the target function script according to the development language identification;
and taking each target variable in the application program as an input parameter of the target function script, executing the target function script through the target script engine, modifying the variable value of each target variable, and finishing the updating of the application program function in the application program.
In a second aspect, an embodiment of the present invention further provides an application updating apparatus, where the apparatus includes:
the system comprises a target script determining module, a target script determining module and a development language identification, wherein the target script determining module is used for determining a target function script and a development language identification corresponding to the target function script according to a function script identification corresponding to a preset program position when an application program runs to the preset program position, the preset program position is the position of an application program function to be updated in the application program, and the target function script is used for realizing the application program function;
the target script engine determining module is used for determining a target script engine corresponding to the target function script according to the development language identification;
and the application program updating module is used for taking each target variable in the application program as an input parameter of the target function script, executing the target function script through the target script engine, modifying the variable value of each target variable and finishing the updating of the application program function in the application program.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the application program update method provided by any embodiment of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the application program updating method provided in any embodiment of the present invention.
When an application program runs to a preset program position, determining a target function script and a development language identifier corresponding to the target function script according to a function script identifier corresponding to the preset program position, wherein the preset program position is a position of an application program function to be updated in the application program, and the target function script is used for realizing the application program function; determining a target script engine corresponding to the target function script according to the development language identification; and taking each target variable in the application program as an input parameter of the target function script, executing the target function script through the target script engine, modifying the variable value of each target variable, and finishing the updating of the application program function in the application program. The method and the device have the advantages that the program functions needing to be updated in the application program are packaged in the function script independent of the application program, modification of the original application program processing logic in the program function updating process can be avoided, maintainability of application program codes is improved, the code compiling process of the updated program functions can be avoided by means of the self interpretation and execution characteristics of the script language, the program functions needing to be updated can be edited on line, and the application program updating efficiency is improved. When the application program runs to the preset program position corresponding to the function script, the function script takes effect in real time along with the running of the application program, and the real-time performance of updating the function of the application program is improved.
Drawings
FIG. 1 is a flowchart illustrating an application update method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an application update apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device in a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
The application program updating method provided by the embodiment can be applied to updating and upgrading of the application program developed based on the Java platform, and is particularly suitable for updating the function of frequently-changed processing logic in the application program. The method may be performed by an application updating apparatus, which may be implemented by software and/or hardware, and may be integrated into an electronic device in which an application is installed, such as a typical user terminal device, for example, a mobile phone, a tablet computer, a desktop computer, or the like. Referring to fig. 1, the method of the present embodiment specifically includes the following steps:
s110, when the application program runs to a preset program position, determining a target function script and a development language identifier corresponding to the target function script according to a function script identifier corresponding to the preset program position.
And the preset program position is the position of the application program function to be updated in the application program. Namely, the preset program position is a program code position corresponding to a code in the application program, which needs to realize the function of the application program to be updated. The function script identification refers to information uniquely representing one function script. The function script identification is related to the code content at the preset program position. Illustratively, the preset program location is a location where a script interface of the target function script is located, and the function script identifier is an interface name of the script interface. Namely, the code at the preset program position is the script call interface API of the target function script corresponding to the application program function to be updated, and then the function script identifier is the interface name. For another example, if the code at the preset program location is an identifying code statement such as an annotation, the functional script identifier is a script name in the identifying statement such as the annotation. The function script is a script for realizing the functions of an application program, can be written by any general scripting language, is separated from the application program, and is an independent script independent of the code of the application program. The target function script is a function script for realizing the function of the application program to be updated. The development language identification refers to information capable of characterizing a script development language.
Specifically, in order to update an application more conveniently and quickly, in the embodiment of the present invention, an application function that needs to be updated in the application is packaged into a function script that is independent of the application, and a function script identifier corresponding to the function script is pre-embedded at a position in the application where the application function is implemented. When the application program normally runs to a preset program position, the target function script can be searched and obtained according to the pre-embedded function script identification, and the application program function is realized through the execution of the target function script. Therefore, when the processing logic of the application program function needs to be updated, the script content in the function script can be modified in time without modifying the code logic of the application program, so that the original application program operation is not influenced, the application program function can be updated in real time, the updated application program function can be validated in real time, and the condition of application service interruption is avoided.
In addition, considering that different developers have different development language preferences and the development languages of the function scripts may be different, in order to correctly execute the target function script, after the target function script is determined, the development language identifier of the target function script needs to be determined in the embodiment of the present invention.
Illustratively, the determining a target function script according to the function script identifier corresponding to the preset program position includes: and acquiring the target function script from a memory cache according to the function script identifier. Specifically, the function script may be stored in a configuration file, a database, and a local memory cache, and when the application program runs to a preset program position, the target function script is obtained from the position where the function script is stored. However, in order to avoid the IO overhead caused by reading the script from the configuration file or the database each time the function script is executed, in this embodiment, each function script related to the application program is loaded into the memory cache in advance, so as to further improve the real-time performance of the application program function.
Exemplarily, before determining the target function script and the development language identifier corresponding to the target function script according to the function script identifier corresponding to the preset program position, the method further includes: and when the time stamp change of the function script matched with the application program in the configuration file or the database is monitored, acquiring a new function script from the configuration file or the database, and covering the corresponding function script in the memory cache to update each function script in the memory cache. Specifically, in order to further improve the real-time performance of the application function update, the time stamp of the relevant function script needs to be monitored in the embodiment. I.e. continuously monitoring whether the time stamp of the function script in the configuration file or the database is updated. If not, continuing monitoring; if so, reading the function script with the updated timestamp from the configuration file or the database, and covering the corresponding function script in the memory cache by using the updated function script. It should be understood that the functional scripts in the configuration file or database are checked for correctness by the script verification tool. The script verification tool is used for checking whether the script accords with the grammar specification of the corresponding language and can manually input test parameters to carry out online test on the correctness of the script.
Illustratively, determining the development language identifier corresponding to the target function script includes: judging whether a development language identifier corresponding to the target function script exists in the memory cache; if yes, reading the development language identification from the memory cache; if not, analyzing the function script content of the target function script, and determining the development language identification corresponding to the target function script. Specifically, when determining the development language identifier, it is first determined whether the development language identifier of the target function script is stored in the memory cache. If yes, the reading is directly carried out. If not, lexical analysis and syntactic analysis are needed to be carried out on the script content of the target function script so as to analyze the development language identification corresponding to the target function script. And then, storing the analyzed development language identification into a memory cache of the target function script in a correlation manner for subsequent query. This has the advantage of increasing the efficiency of the development language identification determination, thereby further increasing the real-time effectiveness of the application functionality.
And S120, determining a target script engine corresponding to the target function script according to the development language identification.
Wherein the target script engine is a script engine for executing the target function script.
Specifically, different development languages of the functional scripts require different script engines to execute the functional scripts of the corresponding development languages. Therefore, in the embodiment, the target script engine matched with the target function script needs to be screened from various script engines according to the development language identifier.
Illustratively, the determining, according to the development language identifier, a target script engine corresponding to the target function script includes: and determining a target script engine corresponding to the target function script from a preset script engine platform according to the development language identification, wherein the preset script engine platform integrates script engines of all Java platforms. Specifically, in order to improve the speed of determining the target script engine, a preset script engine platform is designed in this embodiment, and the preset script engine platform supports script engines of various Java platforms and supports Java programs to dynamically execute scripts written in development languages such as JavaScript, Groovy, juryby, Python, and the like.
S130, taking each target variable in the application program as an input parameter of the target function script, executing the target function script through the target script engine, modifying a variable value of each target variable, and finishing the updating of the application program function in the application program.
The target variable refers to a variable to be processed in the application function to be updated.
Specifically, when the application program runs to a preset program position, values of a plurality of variables are obtained, and in order to correctly execute the target function script, it is necessary to determine target variables required by the target function script from the variables, and use the target variables as input parameters of the target function script to trigger the target script engine to execute the target function script. In the execution process of the target function script, the logic operation processing is carried out on the input values of all target variables, so that the numerical values are changed. Therefore, after the target function script is executed, the values of the target variables in the application program are modified, that is, the application program function in the application program is completed, and the application program is triggered to continue to normally run. If the target function script has an update, the process completes the update of the application function in the application.
Illustratively, the taking each target variable in the application program as an input parameter of the target function script includes: storing each target variable to a preset dictionary structure to generate a target dictionary variable; and taking the target dictionary variable as an input parameter of the target function script. Specifically, in order to improve the management efficiency of each target variable, in this embodiment, each target variable is first stored in a preset dictionary structure, a target dictionary variable is generated, and then the target dictionary variable is used as an input parameter to be input into a target function script. Accordingly, after the target function script is executed, the variable value of the target dictionary variable is modified.
According to the technical scheme of the embodiment, when an application program runs to a preset program position, a target function script and a development language identifier corresponding to the target function script are determined according to a function script identifier corresponding to the preset program position, wherein the preset program position is a position of an application program function to be updated in the application program, and the target function script is used for realizing the application program function; determining a target script engine corresponding to the target function script according to the development language identification; and taking each target variable in the application program as an input parameter of the target function script, executing the target function script through the target script engine, modifying the variable value of each target variable, and finishing the updating of the application program function in the application program. The method and the device have the advantages that the program functions needing to be updated in the application program are packaged in the function script independent of the application program, modification of the original application program processing logic in the program function updating process can be avoided, maintainability of application program codes is improved, the code compiling process of the updated program functions can be avoided by means of the self interpretation and execution characteristics of the script language, the program functions needing to be updated can be edited on line, and the application program updating efficiency is improved. When the application program runs to the preset program position corresponding to the function script, the function script takes effect in real time along with the running of the application program, and the real-time performance of updating the function of the application program is improved.
Example two
The present embodiment provides an application program updating apparatus, referring to fig. 2, the apparatus specifically includes:
a target script determining module 210, configured to determine a target function script and a development language identifier corresponding to the target function script according to a function script identifier corresponding to a preset program position when an application program runs to the preset program position, where the preset program position is a position of an application program function to be updated in the application program, and the target function script is used to implement the application program function;
a target script engine determining module 220, configured to determine a target script engine corresponding to the target function script according to the development language identifier;
the application program updating module 230 is configured to use each target variable in the application program as an input parameter of the target function script, execute the target function script through the target script engine, modify a variable value of each target variable, and complete updating of the application program function in the application program.
Optionally, the target script determining module 210 is specifically configured to:
and acquiring the target function script from a memory cache according to the function script identifier.
Further, the target script determining module 210 is further specifically configured to:
judging whether a development language identifier corresponding to the target function script exists in the memory cache;
if yes, reading the development language identification from the memory cache;
if not, analyzing the function script content of the target function script, and determining the development language identification corresponding to the target function script.
Optionally, on the basis of the foregoing apparatus, the apparatus further includes a script updating module, configured to:
and before determining a target function script and a development language identifier corresponding to the target function script according to the function script identifier corresponding to the preset program position, when monitoring the time stamp change of the function script matched with the application program in a configuration file or a database, acquiring a new function script from the configuration file or the database, and covering the corresponding function script in the memory cache to update each function script in the memory cache.
Optionally, the application update module 230 is specifically configured to:
storing each target variable to a preset dictionary structure to generate a target dictionary variable;
and taking the target dictionary variable as an input parameter of the target function script.
Optionally, the preset program position is a position where a script interface of the target function script is located, and the function script identifier is an interface name of the script interface.
Optionally, the target script engine determining module 220 is specifically configured to:
and determining a target script engine corresponding to the target function script from a preset script engine platform according to the development language identification, wherein the preset script engine platform integrates script engines of all Java platforms.
By the application program updating device of the second embodiment of the invention, the program function to be updated in the application program is packaged in the function script independent of the application program, so that the modification of the processing logic of the original application program in the program function updating process can be avoided, the maintainability of the application program code can be improved, the code compiling process of the updated program function can be avoided by means of the self interpretation and execution characteristics of the script language, the program function to be updated can be edited on line, and the updating efficiency of the application program can be improved. When the application program runs to the preset program position corresponding to the function script, the function script takes effect in real time along with the running of the application program, and the real-time performance of updating the function of the application program is improved.
The application program updating device provided by the embodiment of the invention can execute the application program updating method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the application program updating apparatus, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
EXAMPLE III
Referring to fig. 3, the present embodiment provides an electronic device 300, which includes: one or more processors 320; the storage device 310 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 320, the one or more processors 320 implement the application program updating method provided by the embodiment of the present invention, including:
when an application program runs to a preset program position, determining a target function script and a development language identifier corresponding to the target function script according to a function script identifier corresponding to the preset program position, wherein the preset program position is a position of an application program function to be updated in the application program, and the target function script is used for realizing the application program function;
determining a target script engine corresponding to the target function script according to the development language identification;
and taking each target variable in the application program as an input parameter of the target function script, executing the target function script through the target script engine, modifying the variable value of each target variable, and finishing the updating of the application program function in the application program.
Of course, those skilled in the art will understand that the processor 320 may also implement the technical solution of the application program updating method provided in any embodiment of the present invention.
The electronic device 300 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, the electronic device 300 includes a processor 320, a storage device 310, an input device 330, and an output device 340; the number of the processors 320 in the electronic device may be one or more, and one processor 320 is taken as an example in fig. 3; the processor 320, the storage device 310, the input device 330, and the output device 340 in the electronic apparatus may be connected by a bus or other means, and are exemplified by a bus 350 in fig. 3.
The storage device 310, which is a computer-readable storage medium, may be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the application update method in the embodiment of the present invention (e.g., a target script determination module, a target script engine determination module, and an application update module in an application update device).
The storage device 310 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage device 310 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 310 may further include memory located remotely from the processor 320, which may be connected to the electronic device through 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 input device 330 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 340 may include a display device such as a display screen.
Example four
The present embodiments provide a storage medium containing computer-executable instructions which, when executed by a computer processor, are operable to perform a method of application program update, the method comprising:
when an application program runs to a preset program position, determining a target function script and a development language identifier corresponding to the target function script according to a function script identifier corresponding to the preset program position, wherein the preset program position is a position of an application program function to be updated in the application program, and the target function script is used for realizing the application program function;
determining a target script engine corresponding to the target function script according to the development language identification;
and taking each target variable in the application program as an input parameter of the target function script, executing the target function script through the target script engine, modifying the variable value of each target variable, and finishing the updating of the application program function in the application program.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the application program updating method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment 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 may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling an electronic device (which may be a personal computer, a server, or a network device) to execute the application program updating method provided in the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An application program update method, comprising:
when an application program runs to a preset program position, determining a target function script and a development language identifier corresponding to the target function script according to a function script identifier corresponding to the preset program position, wherein the preset program position is a position of an application program function to be updated in the application program, and the target function script is used for realizing the application program function;
determining a target script engine corresponding to the target function script according to the development language identification;
and taking each target variable in the application program as an input parameter of the target function script, executing the target function script through the target script engine, modifying the variable value of each target variable, and finishing the updating of the application program function in the application program.
2. The method according to claim 1, wherein the determining a target function script according to the function script identifier corresponding to the preset program position comprises:
and acquiring the target function script from a memory cache according to the function script identifier.
3. The method of claim 2, wherein determining the development language identification corresponding to the target function script comprises:
judging whether a development language identifier corresponding to the target function script exists in the memory cache;
if yes, reading the development language identification from the memory cache;
if not, analyzing the function script content of the target function script, and determining the development language identification corresponding to the target function script.
4. The method according to claim 2, before determining the target function script and the development language identifier corresponding to the target function script according to the function script identifier corresponding to the preset program position, further comprising:
and when the time stamp change of the function script matched with the application program in the configuration file or the database is monitored, acquiring a new function script from the configuration file or the database, and covering the corresponding function script in the memory cache to update each function script in the memory cache.
5. The method according to claim 1, wherein the taking each target variable in the application program as an input parameter of the target function script comprises:
storing each target variable to a preset dictionary structure to generate a target dictionary variable;
and taking the target dictionary variable as an input parameter of the target function script.
6. The method according to claim 1, wherein the preset program location is a location where a script interface of the target function script is located, and the function script identifier is an interface name of the script interface.
7. The method of claim 1, wherein determining the target script engine corresponding to the target function script according to the development language identifier comprises:
and determining a target script engine corresponding to the target function script from a preset script engine platform according to the development language identification, wherein the preset script engine platform integrates script engines of all Java platforms.
8. An application program update apparatus, comprising:
the system comprises a target script determining module, a target script determining module and a development language identification, wherein the target script determining module is used for determining a target function script and a development language identification corresponding to the target function script according to a function script identification corresponding to a preset program position when an application program runs to the preset program position, the preset program position is the position of an application program function to be updated in the application program, and the target function script is used for realizing the application program function;
the target script engine determining module is used for determining a target script engine corresponding to the target function script according to the development language identification;
and the application program updating module is used for taking each target variable in the application program as an input parameter of the target function script, executing the target function script through the target script engine, modifying the variable value of each target variable and finishing the updating of the application program function in the application program.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the application update method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the application updating method according to any one of claims 1 to 7.
CN202010047020.XA 2020-01-16 2020-01-16 Application program updating method, device, equipment and storage medium Pending CN111240728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010047020.XA CN111240728A (en) 2020-01-16 2020-01-16 Application program updating method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010047020.XA CN111240728A (en) 2020-01-16 2020-01-16 Application program updating method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111240728A true CN111240728A (en) 2020-06-05

Family

ID=70871054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010047020.XA Pending CN111240728A (en) 2020-01-16 2020-01-16 Application program updating method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111240728A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813396A (en) * 2020-07-14 2020-10-23 北京自如信息科技有限公司 Script editing method and device, computer equipment and readable storage medium
CN113703820A (en) * 2021-09-23 2021-11-26 中国银行股份有限公司 Method and device for hot loading source code, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250178A (en) * 2016-07-26 2016-12-21 北京北森云计算股份有限公司 The method that system dynamics function intercepts extension online is realized by the compiling of multilingual cloud
CN109597618A (en) * 2018-10-23 2019-04-09 深圳微迅信息科技有限公司 Program developing method, device, computer equipment and storage medium
CN109766124A (en) * 2018-12-26 2019-05-17 深圳左邻永佳科技有限公司 Business development method, apparatus, computer equipment and storage medium
US20190188004A1 (en) * 2017-12-15 2019-06-20 Citrix Systems, Inc. Software application dynamic linguistic translation system and methods

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250178A (en) * 2016-07-26 2016-12-21 北京北森云计算股份有限公司 The method that system dynamics function intercepts extension online is realized by the compiling of multilingual cloud
US20190188004A1 (en) * 2017-12-15 2019-06-20 Citrix Systems, Inc. Software application dynamic linguistic translation system and methods
CN109597618A (en) * 2018-10-23 2019-04-09 深圳微迅信息科技有限公司 Program developing method, device, computer equipment and storage medium
CN109766124A (en) * 2018-12-26 2019-05-17 深圳左邻永佳科技有限公司 Business development method, apparatus, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813396A (en) * 2020-07-14 2020-10-23 北京自如信息科技有限公司 Script editing method and device, computer equipment and readable storage medium
CN111813396B (en) * 2020-07-14 2021-04-20 北京自如信息科技有限公司 Script editing method and device, computer equipment and readable storage medium
CN113703820A (en) * 2021-09-23 2021-11-26 中国银行股份有限公司 Method and device for hot loading source code, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110941528B (en) Log buried point setting method, device and system based on fault
CN110225029B (en) Injection attack detection method, device, server and storage medium
CN111158741A (en) Method and device for monitoring change of dependency relationship of business module on third-party class library
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN111240728A (en) Application program updating method, device, equipment and storage medium
CN112948828A (en) Binary program malicious code detection method, terminal device and storage medium
US10839124B1 (en) Interactive compilation of software to a hardware language to satisfy formal verification constraints
CN111679852B (en) Detection method and device for conflict dependency library
US9064042B2 (en) Instrumenting computer program code by merging template and target code methods
CN112445706A (en) Program abnormal code acquisition method and device, electronic equipment and storage medium
CN109426546B (en) Application starting method and device, computer storage medium and equipment
CN111352631A (en) Interface compatibility detection method and device
CN111796832B (en) Hot patch file generation method, device, equipment and storage medium
CN114691197A (en) Code analysis method and device, electronic equipment and storage medium
CN112579156A (en) Processing system, processing method, processing device and processing equipment of business event
CN110297639B (en) Method and apparatus for detecting code
CN116414424B (en) Thermal updating method, device, equipment and storage medium
KR102271273B1 (en) Process wrapping method for evading anti-analysis of native codes, recording medium and device for performing the method
US11886589B2 (en) Process wrapping method for evading anti-analysis of native codes, recording medium and device for performing the method
CN115543486B (en) Server-free computing oriented cold start delay optimization method, device and equipment
TWI661355B (en) Context-aware data structure reverse engineering system and method thereof
CN110531986B (en) Method, device, equipment and medium for generating management software upgrading package
Das Investigating performance issues in mobile apps
CN117992359A (en) Method and device for observing service software and electronic equipment
CN114253526A (en) Online pricing method, device, equipment and 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220916

Address after: 25 Financial Street, Xicheng District, Beijing 100033

Applicant after: CHINA CONSTRUCTION BANK Corp.

Address before: 25 Financial Street, Xicheng District, Beijing 100033

Applicant before: CHINA CONSTRUCTION BANK Corp.

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200605