Application program deployment method and device, equipment, medium and product
By building mirror executable files and updating the code configuration library on the development side, the reliability and security management issues of applications under the isolation of the development side and the application side are solved, and efficient deployment and security management in an isolated environment are achieved.
Patent Information
- Application Number
- CN202510901881.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-01
- Publication Date
- 2025-10-17
AI Technical Summary
When the development side and the application side are completely isolated, existing technologies make it difficult to simultaneously improve the reliability of applications and meet high security management requirements.
By building an image executable file and updating the code configuration library on the development side, an updated code configuration library is generated and sent to the application side for application deployment, ensuring reliability and security management in an isolated environment.
With the development side and the application side completely isolated, the reliability and security management capabilities of the application are improved.
Smart Images

Figure CN120803470A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of finance, and in particular to a deployment method and device of an application program, equipment, a medium and a product. BACKGROUND
[0002] With the development of computer technology, the requirements for application programs in various industries are becoming more and more diverse. Application programs used in the financial field need to have higher reliability, and also need to be able to control the security of the application program.
[0003] In the existing program development process, in order to improve the reliability of the application program, the developer usually builds the application program in the container warehouse, and deploys various environment configuration information. However, application programs in the financial field need to have higher security control requirements, and the application program built by the existing container warehouse will cause low control ability of the application program due to the complete isolation between the development end and the application end, that is, the existing program development method cannot meet the requirements of high security control and deployment in the container warehouse to improve the reliability of the application program.
[0004] In summary, how to improve the reliability of the application program and meet the higher security control requirements under the condition of complete isolation between the development end and the application end has become a problem that needs to be solved by the technical personnel in the field. SUMMARY
[0005] The present application provides a deployment method and device of an application program, equipment, a medium and a product to improve the reliability of the application program and the security control ability of the application program under the condition of complete isolation between the development end and the application end.
[0006] According to an aspect of the present application, a deployment method of an application program is provided, applied to a development end, comprising:
[0007] In response to a program code submission request of a target application program, obtaining a code executable file of the target application program;
[0008] According to the code executable file, constructing an image executable file of the target application program;
[0009] According to the image executable file, updating the version identification information and file configuration information in the code configuration library to obtain an updated code configuration library;
[0010] The image executable file and the updated code configuration library are sent to the application end, so that the application end deploys the target application program based on the image executable file and the updated code configuration library.
[0011] According to another aspect of the present application, there is provided a deployment method of an application program, applied to an application end, comprising:
[0012] In response to a program deployment request of target program code, an image executable file and a code configuration library of a target application program are obtained; the code configuration library is obtained by updating version identification information and file configuration information in the code configuration library based on the image executable file by a development end;
[0013] In response to an environment variable submission request of a code environment variable value, program deployment configuration information of the target application program is generated based on the code configuration library;
[0014] The target application program is deployed according to the program deployment configuration information and the image executable file.
[0015] According to another aspect of the present application, there is provided a deployment device of an application program, configured at a development end, comprising:
[0016] An executable file generation module is configured to obtain a code executable file of a target application program in response to a program code submission request of the target application program;
[0017] An image construction module is configured to construct an image executable file of the target application program according to the code executable file;
[0018] A code configuration library updating module is configured to update version identification information and file configuration information in a code configuration library according to the image executable file, and obtain an updated code configuration library;
[0019] A program delivery module is configured to send the image executable file and the updated code configuration library to an application end, so that the application end deploys the target application program based on the image executable file and the updated code configuration library.
[0020] According to another aspect of the present application, there is provided a deployment device of an application program, configured at an application end, comprising:
[0021] A program file receiving module is configured to obtain an image executable file and a code configuration library of a target application program in response to a program deployment request of target program code; the code configuration library is obtained by updating version identification information and file configuration information in the code configuration library based on the image executable file by a development end;
[0022] A configuration information generation module is configured to generate program deployment configuration information of the target application program based on the code configuration library in response to an environment variable submission request of a code environment variable value;
[0023] a program deployment module, configured to perform application program deployment on the target application program according to the program deployment configuration information and the image executable file.
[0024] According to another aspect of the present application, there is provided an electronic device, comprising:
[0025] at least one processor; and
[0026] a memory in communication with the at least one processor; wherein
[0027] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the application program deployment method according to any one of the embodiments of the present application.
[0028] According to another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for enabling a processor to perform the application program deployment method according to any one of the embodiments of the present application.
[0029] According to another aspect of the present application, there is provided a computer program product comprising a computer program for enabling a processor to perform the application program deployment method according to any one of the embodiments of the present application.
[0030] The technical solution of the embodiments of the present application comprises the following steps: in response to a program code submission request of a target application program, obtaining a code executable file of the target application program; constructing an image executable file of the target application program according to the code executable file; updating version identification information and file configuration information in a code configuration library according to the image executable file, to obtain an updated code configuration library; and sending the image executable file and the updated code configuration library to an application end, for the application end to perform application program deployment on the target application program based on the image executable file and the updated code configuration library. The technical solution can construct an image executable file of a target application program in a development end, and update a program code configuration library, and then synchronously deliver the image executable file and the updated program code configuration to an application end for application program deployment. The reliability of the application program is improved, and the security control capability of the application program is further improved, in the case of complete isolation between the development end and the application end.
[0031] It should be understood that the content described in this section is not intended to identify key or important features of the embodiments of the present application, nor to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments description. Obviously, the drawings in the following description only show some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative effort based on these drawings.
[0033] Figure 1 is a flow chart of an application deployment method according to an embodiment of the present application;
[0034] Figure 2 is a flow chart of an application deployment method according to an embodiment of the present application;
[0035] Figure 3 is a structural schematic diagram of an application deployment device according to an embodiment of the present application;
[0036] Figure 4 is a structural schematic diagram of an application deployment device according to an embodiment of the present application;
[0037] Figure 5 is a structural schematic diagram of an electronic device implementing an application deployment method according to an embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the technical personnel in the art better understand the present application, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative effort should be within the scope of protection of the present application.
[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0040] Embodiment one
[0041] Figure 1 A flowchart of a deployment method of an application program is provided for Embodiment One of the present application. This embodiment can be applied to the case where the reliability and security control capability of the application program is insufficient when the development end and the application end are completely isolated during the development process of the application program. The method can be executed by a deployment device of the application program, which can be realized in the form of hardware and / or software, and can be configured in an electronic device. As shown in Figure 1 The method is applied to the development end and includes the following steps.
[0042] S110, in response to a program code submission request of a target application program, obtaining a code executable file of the target application program.
[0043] The program code submission request can be a code modification request initiated for the program code of the target application program. Specifically, it can be a request for new function development or problem repair of the target application program. The submitted code modification request can also be a program code submission request initiated for re-development of the target application program.
[0044] Specifically, according to the code adjustment request initiated for the target application program code, the program code developed for the target application program can be submitted to the code library. Then, the target application program can be compiled according to the submitted program code, and an executable file of the target application program can be generated.
[0045] S120, constructing an image executable file of the target application program according to the code executable file.
[0046] Specifically, when the executable file of the target application program is obtained, the executable file can be packaged to package the executable file of the target application program and generate an image executable file of the target application program. Then, the image executable file of the target application program can be pushed to an image file warehouse, and the image executable file of the target application program in the image file warehouse can be synchronously delivered when the target application program is delivered, so as to complete the program deployment of the target application program through the image executable file.
[0047] S130, updating the version identification information and file configuration information in the code configuration library according to the image executable file, to obtain an updated code configuration library.
[0048] The version identification information can be data information used for marking and identifying the target application image executable in the code configuration library. For example, when a new function is developed or a problem is repaired for the target application, the original image executable file version of the target application recorded in the code configuration library can be identified as VI.0, and the image executable file version of the target application after the new function development or problem repair can be identified as VI.1. When the target application is redeveloped, the generated image executable file version of the target application can be identified as V2.0, and the embodiment is not limited in this regard.
[0049] The file configuration information can be data information used for recording data required for executing the program code of the target application, and can specifically include a port number and an environment variable of program code execution. For example, when a new function is developed for the target application, the port number of the added execution code in the program code can be 8080, and the added port number 8080 of the execution code can be recorded in the file configuration information, and the embodiment is not limited in this regard.
[0050] Specifically, when the image executable file of the target application is obtained, the recorded file version information in the code configuration library is updated according to the file version information of the image executable file, and the configuration information used for recording the program code execution logic of the target application is updated synchronously, so as to generate the related configuration information of the target application in the code configuration library, and complete the update of the code configuration based on the target application. For example, when a new function is developed or a problem is repaired for the target application, the version identification VI.0 of the image executable file of the target application recorded in the code configuration library can be updated to VI.1. When the target application is redeveloped, the version identification V2.0 of the image executable file of the target application can be recorded in the code configuration library.
[0051] Optionally, the version identification information and the file configuration information in the code configuration library are updated according to the image executable file, to obtain an updated code configuration library, including: obtaining the code configuration template and the code configuration variable value submitted by the request initiator of the program code submission request according to the image executable file; generating a code configuration update file of the target program code according to the code configuration template and the code configuration variable value; updating the version identification information and the file configuration information in the code configuration library according to the code configuration update file, to obtain the updated code configuration library.
[0052] The code configuration template can be a framework used for configuring the code execution logic in the process of code development; and the code configuration variable value can be a behavior parameter value used for customizing the code execution logic.
[0053] The code configuration update file can be used to record the changed code execution configuration information in the code function development process, and can specifically include environment configuration information, code executable file version number, and code execution logic. The code execution logic can be newly added code execution logic, or adjusted code execution logic, which can be modification or addition and deletion of the original code execution logic. Specifically, the adjusted code execution configuration information of the target application program code can be obtained according to the image executable file of the target application program, and based on the obtained code configuration template and code configuration variable value. Further, the version identification information and file configuration information in the code configuration library are updated according to the adjusted code execution configuration information, and the updated code configuration library is obtained.
[0054] The technical solution can obtain the code configuration update file of the target program code according to the image executable file of the target application program, and then update the code configuration library, so that the target application program can use the same configuration information in each deployment environment, greatly improving the reliability of the target application program and the security control ability of the target application program.
[0055] S140, the image executable file and the updated code configuration library are sent to the application end, so that the application end deploys the target application program based on the image executable file and the updated code configuration library.
[0056] Specifically, during the delivery process of the program code, the image executable file of the program code and the code configuration library obtained after adjusting the program code of the target application program can be delivered to the application end of the target application program. The application end can directly deploy the target application program according to the image executable file and the code configuration library obtained after adjustment.
[0057] An optional solution of the embodiment can be combined with one or more solutions in the embodiment. Optionally, in response to the environment variable submission request of the code environment variable value, the file configuration information in the updated code configuration library is called; the file configuration information includes program basic configuration information and program environment configuration information; the program deployment configuration information of the target application program is generated according to the program basic configuration information and the program environment configuration information; and the target application program is deployed according to the program deployment configuration information and the image executable file of the target application program.
[0058] The program basic configuration information can be basic parameters used for configuring and managing program running in the program development process, and can specifically include database configuration information, log configuration information, network configuration information, and the like.
[0059] The program environment configuration information can be environment parameters used for configuring program deployment in the program development process, and can specifically include operating system and platform configuration information, network and service configuration information, and hardware resource configuration information.
[0060] The program deployment configuration information can be data supporting successful deployment and running of the program, and can specifically include the program basic configuration information and the program environment configuration information.
[0061] The technical solution can respond to the environment variable submission request of the code environment variable value, call the file configuration information in the updated code configuration library, and generate the program deployment configuration information of the target application program, and deploy the target application program, so that the target application program can stably run in different environments, such as performing testing on the target application program, and greatly improve the reliability of the target application program.
[0062] The technical scheme of the embodiment of the application comprises the following steps: in response to a program code submission request of a target application program, a code executable file of the target application program is obtained; an image executable file of the target application program is constructed according to the code executable file; version identification information and file configuration information in a code configuration library are updated according to the image executable file, and an updated code configuration library is obtained; the image executable file and the updated code configuration library are sent to an application end, so that the application end performs application program deployment on the target application program based on the image executable file and the updated code configuration library. The technical scheme can construct the image executable file of the target application program in the development end and update the program code configuration library, and then synchronously deliver the image executable file and the updated program code configuration to the application end for application program deployment. The reliability of the application program is improved in the case that the development end and the application end are completely isolated, and the security control ability of the application program is further improved.
[0063] Embodiment two
[0064] Figure 2 A flowchart of an application program deployment method is provided for the second embodiment of the application. The embodiment can be applied to the case that the reliability and security control ability of an application program are insufficient when a development end and an application end are completely isolated during the development of the application program. The method can be executed by an application program deployment device, which can be implemented in the form of hardware and / or software and can be configured in an electronic device. As shown in the figure, the method is applied to an application end and comprises the following steps. Figure 1
[0065] S210, in response to a program deployment request of a target program code, an image executable file and a code configuration library of a target application program are obtained. The code configuration library is updated by a development end based on version identification information and file configuration information in the code configuration library.
[0066] Specifically, after the development of the target application program is completed in the development end and the target application program is synchronously delivered, the image executable file of the target application program in the image file warehouse can be obtained and the updated code configuration library of the target application program can be read when the deployment request of the target program is initiated in the application end.
[0067] S220, in response to an environment variable submission request of a code environment variable value, program deployment configuration information of the target application program is generated based on the code configuration library.
[0068] The code environment variable value can be an environment parameter used for deploying and executing the target application in the application end.
[0069] Optionally, in response to the environment variable submission request of the code environment variable value, the program deployment configuration information of the target application is generated based on the code configuration library, including: calling the file configuration information in the code configuration library according to the code environment variable value; the file configuration information includes program basic configuration information and program environment configuration information; and the program deployment configuration information of the target application is generated according to the program basic configuration information and the program environment configuration information.
[0070] Specifically, when the target application is deployed in the application end, the file configuration information in the code configuration library containing the program basic configuration information and the program environment configuration information can be obtained according to the code environment variable value in the environment variable submission request for deploying the target application. Furthermore, the program deployment configuration information for deploying and executing the target application is generated by the program deployment agent according to the obtained program basic configuration information and program environment configuration information, so as to ensure the isolation between environments.
[0071] The technical solution can obtain the file configuration information for deploying the target application in the code configuration library according to the code environment variable value in the application end, and generate the program deployment configuration information of the target application, so as to support the successful deployment of the target application and improve the reliability of the target application and the security control ability of the target application.
[0072] S230, according to the program deployment configuration information and the image executable file, the target application is deployed.
[0073] Specifically, the program deployment configuration information can be obtained by calling the corresponding image executable file version in the code configuration library based on the actual physical environment of the application end, and adjusting the content of the code environment library, which further ensures the consistency between the code configuration library and the actual physical environment. Furthermore, the successful deployment and execution of the target application can be realized according to the obtained image executable file of the target application.
[0074] The technical scheme of the embodiment of the application obtains the mirror executable file and the code configuration library of the target application program in response to a program deployment request of target program code; the code configuration library is updated by the development end based on the mirror executable file to obtain version identification information and file configuration information in the code configuration library; in response to an environment variable submission request of a code environment variable value, program deployment configuration information of the target application program is generated based on the code configuration library; and the target application program is deployed according to the program deployment configuration information and the mirror executable file. According to the technical scheme, the mirror executable file and the code configuration library of the target application program can be obtained according to a deployment request of the target application program, and the target application program is constructed, thereby greatly improving the reliability of the application program and further improving the security control capability of the application program in the case that the development end and the application end are completely isolated.
[0075] Embodiment three
[0076] Figure 3 A structural schematic diagram of an application program deployment device provided by the embodiment three of the application. The application program deployment device provided by the embodiment of the application can be applied to the case that the reliability and the security control capability of the application program are insufficient when the development end and the application end are completely isolated during the development process of the application program. The application program deployment device can be realized in the form of hardware and / or software, for example, Figure 3 As shown in the figure, the device specifically includes an executable file generation module 310, a mirror construction module 320, a code configuration library updating module 330 and a program delivery module 340. The device is configured on the development end, wherein,
[0077] The executable file generation module 310 is configured to obtain a code executable file of a target application program in response to a program code submission request of the target application program.
[0078] The mirror construction module 320 is configured to construct a mirror executable file of the target application program according to the code executable file.
[0079] The code configuration library updating module 330 is configured to update version identification information and file configuration information in a code configuration library according to the mirror executable file to obtain an updated code configuration library.
[0080] The program delivery module 340 is configured to send the mirror executable file and the updated code configuration library to an application end, so that the application end deploys the target application program based on the mirror executable file and the updated code configuration library.
[0081] The technical scheme can build the mirror executable file of the target application program in the development end, update the program code configuration library, and then synchronously deliver the mirror executable file and the updated program code configuration to the application end for deployment of the application program.
[0082] Optionally, the configuration library updating module 330 is specifically configured to obtain a code configuration template and a code configuration variable value submitted by a request initiator of the program code submission request according to the mirror executable file.
[0083] According to the code configuration template and the code configuration variable value, a code configuration updating file of the target program code is generated.
[0084] According to the code configuration updating file, the version identification information and the file configuration information in the code configuration library are updated to obtain an updated code configuration library.
[0085] Optionally, the device further comprises a program configuration module configured to call file configuration information in the updated code configuration library in response to an environment variable submission request of a code environment variable value, wherein the file configuration information comprises program basic configuration information and program environment configuration information.
[0086] According to the program basic configuration information and the program environment configuration information, program deployment configuration information of the target application program is generated.
[0087] According to the program deployment configuration information and the mirror executable file of the target application program, the target application program is deployed.
[0088] The application program deployment device provided by the embodiment of the application can execute the application program deployment method provided by any embodiment of the application, and has the corresponding function modules and beneficial effects of the execution method.
[0089] Embodiment Four
[0090] Figure 4 A structural schematic diagram of an application program deployment device provided by Embodiment Four of the application. The application program deployment device provided by the embodiment of the application can be applied to the case where the reliability and the security control capability of an application program are insufficient when a development end and an application end are completely isolated during the development of the application program. The application program deployment device can be implemented in the form of hardware and / or software, such as a computer device. Figure 4 As shown in the figure, the device specifically comprises a program file receiving module 410, a configuration information generating module 420, and a program deployment module 430. The device is configured in the application end, wherein,
[0091] The program file receiving module 410 is configured to acquire the image executable file of the target application program and the code configuration library in response to a program deployment request of target program code; the code configuration library is obtained by updating version identification information and file configuration information in the code configuration library based on the image executable file by the development end.
[0092] The configuration information generating module 420 is configured to generate program deployment configuration information of the target application program based on the code configuration library in response to an environment variable submission request of the code environment variable value.
[0093] The program deployment module 430 is configured to perform application program deployment on the target application program according to the program deployment configuration information and the image executable file.
[0094] The technical solution can acquire the image executable file and the code configuration library of the target application program according to a deployment request of the target application program, and further implement construction of the target application program. The technical solution greatly improves the reliability of the application program and further improves the security control ability of the application program in the case of complete isolation between the development end and the application program.
[0095] Optionally, the configuration information generating module 420 is specifically configured to call file configuration information in the code configuration library according to the code environment variable value; the file configuration information includes program basic configuration information and program environment configuration information.
[0096] The configuration information generating module 420 is configured to generate program deployment configuration information of the target application program based on the code configuration library in response to an environment variable submission request of the code environment variable value.
[0097] The application program deployment device provided in the embodiment can execute the application program deployment method provided in any embodiment of the application, and has the corresponding function modules and beneficial effects of the execution method.
[0098] Embodiment five
[0099] Figure 5 A structural schematic diagram of an electronic device 50 that can be used to implement embodiments of the application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the applications described and / or claimed in this document.
[0100] like Figure 5 As shown, the electronic device 50 includes at least one processor 51 and a memory, such as a read-only memory (ROM) 52, a random access memory (RAM) 53, etc., which is communicatively connected to the at least one processor 51. The memory stores a computer program that can be executed by the at least one processor. The processor 51 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 52 or the computer program loaded from the storage unit 58 into the random access memory (RAM) 53. Various programs and data required for the operation of the electronic device 50 can also be stored in the RAM 53. The processor 51, ROM 52, and RAM 53 are connected to each other via a bus 54. An input / output (I / O) interface 55 is also connected to the bus 54.
[0101] Multiple components in the electronic device 50 are connected to the I / O interface 55, including an input unit 56, such as a keyboard, a mouse, etc.; an output unit 57, such as various types of displays, speakers, etc.; a storage unit 58, such as a magnetic disk, an optical disk, etc.; and a communication unit 59, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 59 allows the electronic device 50 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0102] The processor 51 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 51 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors that run machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 51 executes the various methods and processes described above, such as the application deployment method.
[0103] In some embodiments, the application deployment method can be implemented as a computer program that is tangibly contained in a computer-readable storage medium, such as the storage unit 58. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 50 via the ROM 52 and / or the communication unit 59. When the computer program is loaded into the RAM 53 and executed by the processor 51, one or more steps of the application deployment method described above can be performed. Alternatively, in other embodiments, the processor 51 can be configured to execute the application deployment method in any other appropriate manner (for example, by means of firmware).
[0104] The various embodiments of the systems and techniques described above can be implemented in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a load programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0105] Computer programs used to implement the processes of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer program, when executed, can cause instructions defined in the flow charts and / or block diagrams to be implemented. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as a standalone software package and partially on a remote machine or entirely on a remote machine or server.
[0106] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store computer programs for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0107] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0108] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0109] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.
[0110] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be executed in parallel, executed in sequence, or executed in a different order, as long as the desired results of the present disclosure are achieved, and the present disclosure is not limited herein.
[0111] The specific embodiments described above are not intended to be limiting, and persons skilled in the art will appreciate that various modifications, combinations, sub-combinations and alternatives can be made to the specific embodiments without departing from the spirit and principles of the disclosure. Accordingly, the disclosure is not limited to the specific embodiments described above, but only by the scope of the appended claims.
Claims
1. A method for deploying an application, characterized in that: Applied to the development side, including: In response to a program code submission request of a target application, obtaining a code executable file of the target application; Building a mirror executable file of the target application according to the code executable file; According to the mirror executable file, the version identification information and the file configuration information in the code configuration library are updated to obtain an updated code configuration library; The mirror executable file and the updated code configuration library are sent to the application end, so that the application end can deploy the target application based on the mirror executable file and the updated code configuration library.
2. The method according to claim 1, characterized in that The updating of version identification information and file configuration information in the code configuration library according to the mirror executable file to obtain an updated code configuration library includes: Obtaining, according to the image executable file, a code configuration template and code configuration variable values submitted by a request initiator of the program code submission request; generating a code configuration update file for the target program code according to the code configuration template and the code configuration variable value; According to the code configuration update file, the version identification information and file configuration information in the code configuration library are updated to obtain an updated code configuration library.
3. The method according to claim 1, characterized in that The method further comprises: In response to an environment variable submission request of a code environment variable value, calling file configuration information in the updated code configuration library; the file configuration information includes program basic configuration information and program environment configuration information; Generate program deployment configuration information of the target application program according to the program basic configuration information and the program environment configuration information; The target application is deployed according to the program deployment configuration information and the mirror executable file of the target application.
4. A method for deploying an application, characterized in that: Applied to the application side, including: In response to a program deployment request of the target program code, obtaining a mirror image executable file and a code configuration library of the target application; the code configuration library is obtained by the developer by updating version identification information and file configuration information in the code configuration library based on the mirror image executable file; In response to an environment variable submission request of a code environment variable value, generating program deployment configuration information of the target application based on the code configuration library; The target application is deployed according to the program deployment configuration information and the mirror executable file.
5. The method according to claim 4, characterized in that The step of generating program deployment configuration information of the target application based on the code configuration library in response to the environment variable submission request of the code environment variable value includes: According to the code environment variable value, calling the file configuration information in the code configuration library; the file configuration information includes program basic configuration information and program environment configuration information; Program deployment configuration information of the target application is generated according to the program basic configuration information and the program environment configuration information.
6. A device for deploying an application, characterized in that: Configuration on the development side includes: An executable file generation module, configured to obtain a code executable file of the target application in response to a program code submission request of the target application; An image building module, configured to build an image executable file of the target application according to the code executable file; A code configuration library update module is used to update the version identification information and file configuration information in the code configuration library according to the mirror executable file to obtain an updated code configuration library; A program delivery module is used to send the image executable file and the updated code configuration library to the application end, so that the application end can deploy the target application based on the image executable file and the updated code configuration library.
7. An application deployment device, characterized in that: Configuration on the application side includes: A program file receiving module, configured to obtain, in response to a program deployment request for a target program code, a mirror image executable file and a code configuration library of a target application program; the code configuration library is obtained by a developer updating version identification information and file configuration information in the code configuration library based on the mirror image executable file; a configuration information generating module, configured to generate program deployment configuration information of the target application based on the code configuration library in response to an environment variable submission request of a code environment variable value; A program deployment module is used to deploy the target application according to the program deployment configuration information and the mirror executable file.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executed by the at least one processor, where the computer program is executed by the at least one processor so as to enable the at least one processor to execute the application deployment method according to any one of claims 1 to 4 or 5 to 6.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the application deployment method according to any one of claims 1 to 4 or 5 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the method for deploying an application according to any one of claims 1 to 4 or 5 to 6.