CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to Chinese Patent Application No. 202010725326.6, filed on Jul. 24, 2020, which is hereby incorporated by reference in its entirety.

TECHNICAL FIELD

The present application relates to the field of computer technologies, and in particular, to an application program updating method, an apparatus, a system, a medium and a device.

BACKGROUND

In order to enable an application program to continuously adapt to a changing market, developers need to continuously improve the application program, that is, to constantly update the version of the application program.

Currently, development of an application program usually requires programming on a front end and a back end, respectively. However, when the development is performed on the two ends, Integrated Development Environments (IDEs) they are based on are usually different, and the used languages are also different. Therefore, when the application program needs to be updated, front-end and back-end developers need to carry out detailed negotiation before a function update in the application program can be realized.

It can be seen that because the front-end developer generally cannot write back-end codes, the current update method of programming on the front end and the back end respectively will increase a lot of communication costs, which goes against a rapid update and iteration of the application program.

SUMMARY

Embodiments of the present application provides an application program updating method, an apparatus, a system, a medium and a device, so as to solve the problem that the current update method of programming on a front end and a back end respectively will increase a lot of communication costs, which goes against a rapid update and iteration of the application program.

In a first aspect, an embodiment of the present application provides an application program updating method, where the method is applied to a front end, and the method includes:

debugging a to-be-updated program logic, through a development mode of a hot-update supporting client, to obtain an updated program logic;

issuing the updated program logic to a back end; and

acquiring update data from the back end, through a product mode of the hot-update supporting client.

In a possible design, the to-be-updated program logic is written and debugged based on an integrated development environment corresponding to the front end.

In a possible design, the to-be-updated program logic is written based on a programming language corresponding to the front end.

In a possible design, the to-be-updated program logic is a program logic to be newly added and/or a program logic to be modified.

In a possible design, the issuing the updated program logic to the back end includes:

issuing the updated program logic to the back end through a data interface, where the data interface is an original interface for data interaction between the front end and the back end.

In a second aspect, the present application provides an application program updating method, where the method applied to a back end includes:

receiving an updated program logic issued by a front end;

compiling the updated program logic to obtain a back-end program logic; and

sending update data to the front end through the back-end program logic.

In a third aspect, the present application further provides an application program updating apparatus, including:

a hot-update supporting client, configured to debug a to-be-updated program logic through a development mode to obtain an updated program logic;

a program issuing module, configured to issue the updated program logic to a back end; and

the hot-update supporting client is further configured to acquire update data from the back end through a product mode.

In a possible design, the to-be-updated program logic is written and debugged based on an integrated development environment corresponding to the front end.

In a possible design, the to-be-updated program logic is written based on a programming language corresponding to the front end.

In a possible design, the to-be-updated program logic is a program logic to be newly added and/or a program logic to be modified.

In a possible design, the program issuing module is specifically configured to issue the updated program logic to the back end through a data interface, where the data interface is an original interface for data interaction between the front end and the back end.

In a fourth aspect, the present application further provides an application program updating apparatus, including:

a program receiving module, configured to receive a updated program logic issued by a front end;

a program compiling module, configured to compile the updated program logic to obtain a back-end program logic;

a data sending module, configured to send update data to the front end through the back-end program logic.

In a fifth aspect, an embodiment of the present application also provides a front-end device, including:

a processor; and

a memory, configured to store an executable instruction of the processor;

the processor is configured to execute any one of the possible application updating methods in the first aspect by executing the executable instruction.

In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium storing a computer program thereon, where the computer program implements any one of the possible application program updating method in the first aspect when the being executed by a processor.

In a seventh aspect, an embodiment of the present application also provides a back-end device, including:

a processor; and

a memory, configured to store an executable instruction of the processor;

the processor is configured to execute any one of the possible application updating methods in the second aspect by executing the executable instruction.

In an eighth aspect, an embodiment of the present application further provides a computer-readable storage medium storing a computer program thereon, where the computer program implements any one of the possible application program updating method in the second aspect when being executed by a processor.

In a ninth aspect, an embodiment of the present application further provides an application program updating system, including: the front-end device as described in the fifth aspect and the back-end device as described in the seventh aspect.

Embodiments of the present application provide an application program updating method, an apparatus, a system, a medium and a device. A to-be-updated program logic is debugged through a development mode of a hot-update supporting client to obtain an updated program logic; then the updated program logic is issued to a back end, and update data is acquired from the back end through a product mode of the hot-update supporting client. This allows a front-end developer to write and update a logic executed on the back end simply and quickly without an assistance of any back-end developer, thereby improving an efficiency of rapid update and iteration of an application program.

