Middleware joint deployment method, device, equipment, medium and product

By analyzing and mirroring the middleware installation package and application environment information, generating middleware joint mirrors, solving the problem of low efficiency of traditional middleware deployment methods, realizing centralized deployment and upgrade operations, and improving efficiency.

CN117667125BActive Publication Date: 2024-12-13CHINA LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311749687.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2024-12-13
Estimated Expiration
2043-12-19

AI Technical Summary

Technical Problem

The traditional middleware joint deployment method is inefficient, and multiple middleware deployment packages are required to generate and upgrade, resulting in high operational complexity and low efficiency.

Method used

By obtaining middleware installation package and application environment information, parsing and processing, mirroring and packaging, generating joint middleware images, realizing centralized operations for deployment and upgrade.

Benefits of technology

Reduces operation complexity, improves the efficiency of joint middleware deployment, and avoids duplicate deployment and upgrade operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117667125B_ABST
    Figure CN117667125B_ABST
Patent Text Reader

Abstract

The present application relates to a middleware joint deployment method, which is applied to a web application server, and the method comprises: obtaining multiple middleware installation packages and application environment information corresponding to multiple application software in the web application server; parsing the multiple middleware installation packages to obtain installation information and operating environment information corresponding to multiple middleware; performing image packaging processing according to the application environment information, the installation information and the operating environment information to obtain a middleware joint image. The method can improve the deployment efficiency of the middleware joint deployment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of middleware deployment, and in particular to a middleware joint deployment method, device, equipment, medium and product. Background Art

[0002] With the development of the information technology application innovation industry, the middleware deployed in the web (world wide web, global wide area network) application server is gradually being replaced by domestic middleware from non-domestic middleware. In the process of middleware replacement, the web application server needs to jointly deploy the replacement and replaced middleware in the process of running various application software to ensure the normal use of various application software in the web application server.

[0003] The traditional middleware joint deployment method is to package the replacement and replaced middleware into deployment data packages respectively, and then deploy both deployment data packages in the web application server.

[0004] However, the traditional middleware joint deployment method is inefficient. Summary of the invention

[0005] Based on this, it is necessary to provide a middleware joint deployment method, device, equipment, medium and product that can improve efficiency in response to the above technical problems.

[0006] In a first aspect, the present application provides a middleware joint deployment method, which is applied to a web application server, and the method includes:

[0007] Obtain application environment information corresponding to multiple middleware installation packages and multiple application software in the web application server;

[0008] Parse multiple middleware installation packages to obtain installation information and operating environment information corresponding to the multiple middleware;

[0009] The image is packaged according to the application environment information, installation information and operating environment information to obtain a middleware joint image.

[0010] In one of the embodiments, the multiple middleware installation packages in the provided method include: installation programs and operation and maintenance parameters corresponding to the multiple middleware;

[0011] The method provided herein parses multiple middleware installation packages to obtain installation information corresponding to multiple middlewares, including:

[0012] Run the installation programs corresponding to the multiple middlewares, and configure the operation and maintenance parameters to obtain the installation information corresponding to the multiple middlewares.

[0013] In one of the embodiments, the multiple middleware installation packages in the provided method include: multiple adjustable parameters corresponding to the middleware;

[0014] The method provided herein parses multiple middleware installation packages to obtain the operating environment information corresponding to the multiple middlewares, including:

[0015] Configure default values ​​and optional values ​​for adjustable parameters to obtain operating environment information corresponding to multiple middlewares.

[0016] In one embodiment, the method provided further includes:

[0017] Get the extended environment information corresponding to the extension package;

[0018] The method provided herein performs image packaging processing according to application environment information, installation information, and operating environment information to obtain a middleware joint image, including:

[0019] Image packaging is performed according to the extended environment information, application environment information, installation information and operating environment information to obtain a middleware joint image.

[0020] In one embodiment, the method provided further includes:

[0021] Get basic system information based on the web application server and the development environment of the web application server;

[0022] The method provided herein performs image packaging processing according to application environment information, installation information, and operating environment information to obtain a middleware joint image, including:

[0023] The image is packaged according to the system basic information, application environment information, installation information and operating environment information to obtain a middleware joint image.

[0024] In a second aspect, the present application provides a method for using a middleware joint image, the method being used to call the middleware joint image obtained by the method of the first aspect, the method comprising:

[0025] Receive input instructions sent by the client;

[0026] Select the middleware corresponding to the input instruction as the target middleware;

[0027] Based on the installation information and operating environment information corresponding to the target middleware, the input instruction is transmitted to the target middleware, so that the target middleware calls the corresponding application software according to the input instruction.

[0028] In a third aspect, the present application further provides a middleware joint deployment device, which is applied to a web application server, and the device includes:

[0029] A data acquisition module is used to acquire application environment information corresponding to multiple middleware installation packages and multiple application software in a web application server;

[0030] The parsing module is used to parse multiple middleware installation packages to obtain installation information and operating environment information corresponding to the multiple middlewares;

[0031] The image building module is used to package the image according to the application environment information, installation information and operating environment information to obtain the middleware joint image.

[0032] In a fourth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method of the first aspect or the second aspect are implemented.

[0033] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the method of the first aspect or the second aspect when the computer program is executed by a processor.

[0034] In a sixth aspect, the present application further provides a computer program product, comprising a computer program, which implements the steps of the method of the first aspect or the second aspect when executed by a processor.

[0035] The above-mentioned middleware joint deployment method, device, equipment, medium and product are applied to a web application server, and the method includes: obtaining multiple middleware installation packages and application environment information corresponding to multiple application software in the web application server; parsing the multiple middleware installation packages to obtain the installation information and operating environment information corresponding to the multiple middleware; performing image packaging processing according to the application environment information, installation information and operating environment information to obtain a middleware joint image; in this way, it can avoid the problem that when multiple middleware need to be deployed in the traditional technology, multiple middleware deployment packages need to be generated, and when the middleware needs to be upgraded, each middleware deployment package needs to be upgraded separately, resulting in low efficiency; in the present application, the application environment information, installation information and operating environment information of multiple middleware are image packaged to obtain a middleware joint image, and deployment and upgrade only need to be performed once, which effectively reduces the complexity of operation, thereby improving the efficiency of the middleware joint deployment method. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] FIG1 is an application environment diagram of a middleware joint deployment method in one embodiment;

[0038] FIG2 is a schematic diagram of a flow chart of a middleware joint deployment method in one embodiment;

[0039] FIG3 is a schematic diagram of a flow chart of a middleware joint deployment method in another embodiment;

[0040] FIG4 is a block diagram of a middleware joint image in one embodiment;

[0041] FIG5 is a flow chart of a method for using a middleware joint image in one embodiment;

[0042] FIG6 is a structural block diagram of a middleware joint deployment device in one embodiment;

[0043] FIG. 7 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0045] The middleware joint deployment method provided in the embodiment of the present application can be applied to the web application server 100 shown in FIG1 . The web application server 100 includes multiple application software 102, and the web application server 100 obtains application environment information corresponding to the multiple application software 102 through the network; the web application server 100 is also used to obtain multiple middleware installation packages from online resources through the network, parse the multiple middleware installation packages, and obtain installation information and operating environment information corresponding to the multiple middleware; image packaging is performed according to the application environment information, installation information and operating environment information to obtain a middleware joint image. The web application server 100 can be implemented with an independent server or a server cluster composed of multiple servers.

[0046] The data storage system can store data that needs to be processed by the web application server 100. The data storage system can be integrated on the web application server 100, or placed on the cloud or other network servers.

[0047] In an exemplary embodiment, as shown in FIG2 , a middleware joint deployment method is provided, which is described by taking the method applied to the web application server 100 in FIG1 as an example, and includes the following steps 202 to 206. Among them:

[0048] Step 202: Acquire application environment information corresponding to multiple middleware installation packages and multiple application software in the web application server.

[0049] Among them, the multiple middleware installation packages include at least one domestic middleware installation package. The middleware installation package can be used to install the corresponding middleware to respond to the input instructions sent by the client and call multiple application software in the web application server according to the input instructions.

[0050] The middleware installation package may include a domestic middleware installation package and a non-domestic middleware installation package. Exemplarily, the domestic middleware installation package may be a Baolande middleware installation package or a Dongfangtong middleware installation package. Exemplarily, the non-domestic middleware installation package may be a tomcat middleware installation package, an Nginx middleware installation package or a Redis middleware installation package. The middleware installation package may be downloaded from the official website corresponding to the middleware.

[0051] Exemplarily, the multiple application software in the web application server include: web application software, enterprise application software, database application software, message processing application software, and cache application software.

[0052] Exemplarily, the application environment information may include the storage path of the application software installation package and the application software startup parameters. When the client uses the middleware joint image, it can pass in the environment variables corresponding to the application software through the docker entrypoint script to determine the application environment information corresponding to the application software.

[0053] In this step, the application software corresponding to the multiple middleware deployed in the web application server are from the same batch, and the application environment information corresponding to the multiple application software only needs to be stored once in the middleware joint image, avoiding the repeated packaging of the application environment information when packaging each middleware separately in the traditional technology, resulting in waste of storage space and operation redundancy.

[0054] Step 204: parse the multiple middleware installation packages to obtain installation information and operating environment information corresponding to the multiple middleware.

[0055] The middleware installation package includes the corresponding middleware installation program and configuration parameters.

[0056] By running the installation program in the middleware installation package, the corresponding middleware can be installed in the web application server.

[0057] The configuration parameters of the middleware include those that are exposed to the outside and those that are not. The parameters that are exposed to the outside are those that are open to the client for setting and adjustment. They can be configured by modifying the configuration files corresponding to these parameters, setting environment variables, or specifying them in the startup command, thereby affecting the behavior, performance, and functions of the middleware. The parameters that are not exposed to the outside are those that are not open to the client and can only be defined and modified by developers or operation and maintenance personnel. The parameters that are not exposed to the outside are usually set during the deployment of the middleware. After delivery to the client, the client does not need to modify them.

[0058] Among them, by parsing the installation program and externally exposed parameters of the middleware installation package, the installation information corresponding to the middleware can be obtained; by parsing the parameters not exposed to the outside of the middleware installation package, the operating environment information corresponding to the middleware can be obtained.

[0059] Step 206: perform image packaging processing according to the application environment information, the installation information and the operating environment information to obtain a middleware joint image.

[0060] Among them, image packaging processing refers to using the container engine to create read-only layers corresponding to the application environment information, installation information and operating environment information respectively. The container engine can execute in sequence according to the content of each layer to obtain a middleware joint image.

[0061] Exemplarily, the container engine may include Docker, Podman, and Kubernetes.

[0062] The middleware joint deployment method provided in the present embodiment is applied to a web application server, and the method includes: obtaining application environment information corresponding to multiple middleware installation packages and multiple application software in the web application server; parsing the multiple middleware installation packages to obtain installation information and operating environment information corresponding to the multiple middleware; performing image packaging processing according to the application environment information, installation information and operating environment information to obtain a middleware joint image. The middleware joint deployment method provided in the present embodiment can avoid the problem of generating multiple middleware deployment packages when multiple middleware need to be deployed in the traditional technology, and upgrading each middleware deployment package separately when the middleware needs to be upgraded, resulting in low efficiency; in the present embodiment, the application environment information, installation information and operating environment information of multiple middleware are image packaged to obtain a middleware joint image, and deployment and upgrading only require one operation, which effectively reduces the complexity of operation, thereby improving the efficiency of the middleware joint deployment method.

[0063] In an exemplary embodiment, based on the embodiment shown in FIG. 2 , the multiple middleware installation packages in the provided method include: installation programs and operation and maintenance parameters corresponding to the multiple middleware.

[0064] Among them, the operation and maintenance parameters corresponding to the middleware are parameters that are not exposed to the outside in the configuration parameters of the middleware.

[0065] Exemplarily, the operation and maintenance parameters corresponding to the middleware may include: internal thread pool size, processing queue length, internal cache configuration, etc. Operation and maintenance parameters are usually set by middleware developers or operation and maintenance personnel to ensure the normal operation of the middleware. When client users use the middleware, they do not need to understand the specific meanings of these parameters. They only need to select the appropriate installation options to quickly install and configure the middleware.

[0066] In this embodiment, the process of parsing multiple middleware installation packages to obtain installation information corresponding to multiple middleware may include: running installation programs corresponding to multiple middleware and configuring operation and maintenance parameters to obtain installation information corresponding to multiple middleware.

[0067] The container engine is used to run the installation program corresponding to the middleware in the layer corresponding to the installation information, so that the middleware can be used in the layer, and the operation and maintenance parameters corresponding to the middleware are configured and also saved in the layer.

[0068] Optionally, the installation information corresponding to a middleware is a layer, which saves the installed middleware and the configured operation and maintenance parameters corresponding to the middleware.

[0069] In this embodiment, by running the installation programs corresponding to the plurality of middlewares and configuring the operation and maintenance parameters, the installation information corresponding to the plurality of middlewares is obtained. In this way, in the process of using the middleware joint image, since the plurality of middlewares have been pre-installed and configured in the middleware joint image, the middleware joint image can quickly enable the middlewares according to the input instructions of the client, and use the middlewares to call the corresponding application software, which can simplify the operation complexity of the client calling the middlewares, thereby improving the use efficiency of the middleware joint image.

[0070] In an exemplary embodiment, based on the embodiment shown in FIG. 2 , the multiple middleware installation packages in the provided method include: adjustable parameters corresponding to the multiple middlewares.

[0071] Among them, the adjustable parameters corresponding to the middleware belong to the parameters exposed to the outside in the configuration parameters of the middleware.

[0072] Exemplarily, the adjustable parameters corresponding to the middleware include: a middleware startup command, a middleware installation directory, a configuration file storage path corresponding to the configuration parameters of the middleware, configuration information of the client's operable permissions, and the like.

[0073] In this embodiment, the process of parsing multiple middleware installation packages to obtain operating environment information corresponding to the multiple middleware may include: configuring default values ​​and optional values ​​for adjustable parameters to obtain operating environment information corresponding to the multiple middleware.

[0074] The container engine is used to save the default values ​​and optional values ​​of the middleware adjustable parameters in the layer corresponding to the operating environment information.

[0075] Optionally, the operating environment information corresponding to one middleware is a layer, or the operating environment information corresponding to multiple middlewares is combined into a layer, and the operating environment information corresponding to each adjustable parameter also includes a middleware identifier.

[0076] Exemplarily, when using the middleware joint image, the client can pass in the environment variables corresponding to the adjustable parameters through the docker entrypoint script, and then select the default value and optional value of the adjustable parameters. Exemplarily, the client can pass in the environment variable: SERVER_TYPE=BES, indicating that the value of the adjustable parameter of the middleware startup command is BES, that is, the Boland middleware, and this value of the adjustable parameter can be the default value or optional value of the configuration.

[0077] In this embodiment, by configuring default values ​​and optional values ​​for adjustable parameters, the operating environment information corresponding to multiple middlewares is obtained. In this way, in the process of using the middleware joint image, the client's personalized configuration of the adjustable parameters can be accepted, thereby meeting the client's specific needs and adapting to different environments and business needs, thereby improving the flexibility of using the middleware joint image.

[0078] In an exemplary embodiment, based on the embodiment shown in FIG. 2 , the provided method further includes: acquiring extended environment information corresponding to the extended package.

[0079] Among them, the extension package is a tool that can connect with the application software in the web application server and modify the bytecode corresponding to the application software. The extension package can be used to collect the behavior, performance and status information of the application software corresponding to the input instructions according to the client's input instructions.

[0080] Optionally, an extension package may also be called a probe.

[0081] Exemplarily, the extended environment information corresponding to the extension package may include the version identifier of the extension package, the storage path, the startup parameters, the application software startup port corresponding to the extension package, the access path for the extension package to access the application software, etc. When the client uses the middleware joint image, the environment variables corresponding to the extension package can be passed in through the docker entrypoint script to determine the extended environment information corresponding to the extension package.

[0082] In this embodiment, the process of performing image packaging processing according to application environment information, installation information and operating environment information to obtain a middleware joint image may include: performing image packaging processing according to extended environment information, application environment information, installation information and operating environment information to obtain a middleware joint image.

[0083] Among them, the container engine is used to create a read-only layer of the extended environment information corresponding to the extension package. The container engine can execute in sequence according to the contents of the read-only layer corresponding to the extended environment information, application environment information, installation information and operating environment information to obtain a middleware joint image.

[0084] Optionally, the extended environment information corresponding to the extension package can be used as a read-only layer alone. Optionally, the extended environment information corresponding to the extension package can be used together with the application environment information corresponding to multiple application software as a common configuration information layer.

[0085] In this embodiment, by performing image packaging processing based on extended environment information, application environment information, installation information and operating environment information, a middleware joint image is obtained, and the monitoring and management capabilities of the web application server and each application software during the use of the middleware joint image are enhanced, thereby improving the reliability of the middleware joint deployment method.

[0086] In an exemplary embodiment, based on the embodiment shown in FIG2 , the provided method further includes:

[0087] Get basic system information based on the web application server and the development environment of the web application server.

[0088] The basic system information includes a basic image, which is determined according to an operating system used to run the web application server. Exemplarily, the operating system may include a Kylin operating system or an Ubuntu operating system.

[0089] The system basic information includes development environment information, which is determined according to the development environment of the web application server. For example, when the development environment of the web application server is Java, the development environment information includes a Java development kit; and for another example, when the development environment of the web application server is Python, the development environment information includes a Python development kit.

[0090] In this embodiment, the process of packaging images according to application environment information, installation information and operating environment information to obtain a middleware joint image may include: packaging images according to system basic information, application environment information, installation information and operating environment information to obtain a middleware joint image.

[0091] Among them, the container engine is used to create a read-only layer of system basic information. The container engine can execute the contents of the read-only layer corresponding to the system basic information, application environment information, installation information and operating environment information in sequence to obtain a middleware joint image.

[0092] Optionally, the system basic information can be used as a read-only layer. Optionally, the basic image and development environment information in the system basic information can be used as a read-only layer respectively.

[0093] In this embodiment, a middleware joint image is obtained by performing image packaging processing based on system basic information, application environment information, installation information and operating environment information. The system basic information provides the middleware joint image with the framework and tools necessary for the operation of each application software, thereby ensuring the consistency and stability of the middleware joint image environment.

[0094] In an exemplary embodiment, as shown in FIG3 , a middleware joint deployment method is provided, which is applied to a web application server, and the method includes:

[0095] Step 302: Acquire application environment information corresponding to multiple middleware installation packages, multiple application software in the web application server, and extended environment information corresponding to the extended package.

[0096] Among them, the multiple middleware installation packages include: installation programs, operation and maintenance parameters and adjustable parameters corresponding to the multiple middleware.

[0097] Step 304: Obtain basic system information based on the web application server and the development environment of the web application server.

[0098] Step 306: Run the installation programs corresponding to the multiple middlewares, and configure the operation and maintenance parameters to obtain the installation information corresponding to the multiple middlewares.

[0099] Step 308: configure default values ​​and optional values ​​for the adjustable parameters to obtain operating environment information corresponding to the plurality of middlewares.

[0100] Step 310, image packaging processing is performed according to the extended environment information, application environment information, system basic information, installation information and operating environment information to obtain a middleware joint image.

[0101] Among them, the middleware joint image is obtained by using the container engine to build multiple read-only layers of extended environment information, application environment information, system basic information, installation information and operating environment information, and then performing image packaging processing in sequence according to the content of each read-only layer.

[0102] Exemplarily, in combination with the foregoing embodiment, as shown in Figure 4, the first layer of the middleware joint image may include the basic image in the system basic information; the second layer may include the development environment information in the system basic information; the third layer may include the installation information corresponding to the non-domestic middleware tomcat obtained according to the non-domestic middleware tomcat installation package; the fourth layer may include the installation information corresponding to the domestic middleware Baolande obtained according to the domestic middleware Baolande installation package; the fifth layer may include the application environment information corresponding to multiple application software in the web application server, and the extended environment information corresponding to the extension package; the sixth layer may include the operating environment information corresponding to the middleware in the third and fourth layers.

[0103] In an exemplary embodiment, as shown in FIG5 , a method for using a middleware joint image is provided, the method is used to call the middleware joint image obtained in one of the above embodiments, and the method includes:

[0104] Step 502: Receive an input instruction sent by the client.

[0105] Step 504: Select the middleware corresponding to the input instruction as the target middleware.

[0106] Exemplarily, the value of the middleware startup command is determined according to the environment variable in the input instruction, thereby determining the target middleware.

[0107] Step 506: Based on the installation information and operating environment information corresponding to the target middleware, the input instruction is transmitted to the target middleware, so that the target middleware calls the corresponding application software according to the input instruction.

[0108] Exemplarily, the startup parameters of the application software are determined according to the environment variables in the input instruction, thereby determining the application software that the target middleware needs to call. For example, the input instruction may include an environment variable in the form of a docker entrypoint script: SERVER_TYPE=BES, indicating that the Bolande middleware is selected as the target middleware.

[0109] Optionally, based on the extended environment information, installation information and operating environment information corresponding to the target middleware, the input instruction is transmitted to the target middleware, so that the target middleware calls the corresponding application software and extension package according to the input instruction.

[0110] The method for using the middleware joint image provided in this embodiment is used to call the middleware joint image obtained by the middleware joint deployment method as described above, by receiving an input instruction sent by a client; selecting the middleware corresponding to the input instruction as the target middleware; and transmitting the input instruction to the target middleware based on the installation information and operating environment information corresponding to the target middleware, so that the target middleware calls the corresponding application software according to the input instruction. This can improve the response efficiency to the input instruction of the client, reduce the operational difficulty of the client selecting the target middleware, and thus improve the efficiency of the method for using the middleware joint image.

[0111] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0112] Based on the same inventive concept, the embodiment of the present application also provides a middleware joint deployment device for implementing the middleware joint deployment method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more middleware joint deployment device embodiments provided below can refer to the limitations of the middleware joint deployment method above, and will not be repeated here.

[0113] In an exemplary embodiment, as shown in FIG6 , a middleware joint deployment device is provided, which is applied to a web application server. The device includes: a data acquisition module 602, a parsing and processing module 604, and an image building module 606, wherein:

[0114] The data acquisition module 602 is used to acquire application environment information corresponding to multiple middleware installation packages and multiple application software in the web application server;

[0115] The parsing module 604 is used to parse the multiple middleware installation packages to obtain the installation information and operating environment information corresponding to the multiple middlewares;

[0116] The image building module 606 is used to perform image packaging processing according to the application environment information, installation information and operation environment information to obtain a middleware joint image.

[0117] In one embodiment, the multiple middleware installation packages acquired by the data acquisition module 602 include: installation programs and operation and maintenance parameters corresponding to the multiple middleware; the analysis and processing module 604 is also used to run the installation programs corresponding to the multiple middleware, and configure the operation and maintenance parameters to obtain the installation information corresponding to the multiple middleware.

[0118] In one embodiment, the multiple middleware installation packages acquired by the data acquisition module 602 include: adjustable parameters corresponding to multiple middlewares; the analysis processing module 604 is also used to configure default values ​​and optional values ​​for the adjustable parameters to obtain the operating environment information corresponding to the multiple middlewares.

[0119] In one embodiment, the data acquisition module 602 is also used to obtain the extended environment information corresponding to the extended package; the image construction module 606 is also used to perform image packaging processing according to the extended environment information, application environment information, installation information and operating environment information to obtain a middleware joint image.

[0120] In one of the embodiments, the device also includes a system analysis module for obtaining system basic information based on the web application server and the development environment of the web application server; the image construction module 606 is also used to perform image packaging processing based on the system basic information, application environment information, installation information and operating environment information to obtain a middleware joint image.

[0121] Each module in the above-mentioned middleware joint deployment device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0122] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG7. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store an initial storage model and historical storage data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a middleware joint deployment method is implemented.

[0123] Those skilled in the art will understand that the structure shown in FIG. 7 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0124] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0125] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0126] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0127] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0128] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0129] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0130] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A middleware joint deployment method, characterized in that: Applied in a web application server, the method comprises: Acquire multiple middleware installation packages and application environment information corresponding to multiple application software in the web application server, wherein the multiple middleware installation packages include: installation programs corresponding to the multiple middleware, operation and maintenance parameters, and adjustable parameters corresponding to the multiple middleware; Run the installation programs corresponding to the plurality of middlewares, and configure the operation and maintenance parameters to obtain installation information corresponding to the plurality of middlewares; configure default values ​​and optional values ​​for the adjustable parameters to obtain operating environment information corresponding to the plurality of middlewares; Image packaging is performed according to the application environment information, the installation information and the operating environment information to obtain a middleware joint image.

2. The method according to claim 1, characterized in that The method further comprises: Get the extended environment information corresponding to the extension package; The performing image packaging processing according to the application environment information, the installation information and the operating environment information to obtain a middleware joint image includes: Image packaging is performed according to the extended environment information, the application environment information, the installation information and the operating environment information to obtain the middleware joint image.

3. The method according to claim 1, characterized in that: The method further comprises: Obtaining basic system information according to the web application server and the development environment of the web application server; The performing image packaging processing according to the application environment information, the installation information and the operating environment information to obtain a middleware joint image includes: Image packaging is performed according to the system basic information, the application environment information, the installation information and the operating environment information to obtain the middleware joint image.

4. A method for using a middleware joint image, characterized in that: The method is used to call the middleware joint image obtained in any one of claims 1 to 3, and the method comprises: Receive input instructions sent by the client; Selecting the middleware corresponding to the input instruction as the target middleware; Based on the installation information and operating environment information corresponding to the target middleware, the input instruction is transmitted to the target middleware, so that the target middleware calls the corresponding application software according to the input instruction.

5. A middleware joint deployment device, characterized in that: Applied in a web application server, the device comprises: A data acquisition module, used to acquire multiple middleware installation packages and application environment information corresponding to multiple application software in the web application server, wherein the multiple middleware installation packages include: installation programs corresponding to the multiple middleware, operation and maintenance parameters, and adjustable parameters corresponding to the multiple middleware; The parsing processing module is used to run the installation programs corresponding to the plurality of middlewares, and configure the operation and maintenance parameters to obtain the installation information corresponding to the plurality of middlewares; configure the default values ​​and optional values ​​of the adjustable parameters to obtain the operation environment information corresponding to the plurality of middlewares; The image building module is used to perform image packaging processing according to the application environment information, the installation information and the operating environment information to obtain a middleware joint image.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.