A cloud building method based on containerized service management

By customizing image modules and parameter configurations, and combining them with one-dimensional array key-value pair syntax, a cloud-based method for managing containerized services is implemented. This solves the problems of container configuration complexity and unified management, enabling non-professionals to quickly build and uniformly manage image services.

CN115756748BActive Publication Date: 2026-11-20MERIT DATA CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211470094.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-23
Publication Date
2026-11-20
Estimated Expiration
2042-11-23

AI Technical Summary

Technical Problem

In existing technologies, container configuration files and build files require professional developers to handle, and the diversity of configuration methods across products makes unified management difficult, resulting in challenges in the rapid construction and unified management of business services.

Method used

This paper presents a cloud-based service management-based construction method. By customizing image-related modules and parameter configurations, it generates target service images and adopts a highly cohesive and loosely coupled architecture. It automatically generates instruction set files using one-dimensional array key-value pair syntax, thus shielding complexity and achieving unified management.

Benefits of technology

Image building can be completed without professional knowledge, reducing the learning cost, achieving unified image file specifications and standardized structure, simplifying operation and migration, and improving system availability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115756748B_ABST
    Figure CN115756748B_ABST
Patent Text Reader

Abstract

The application provides a cloud construction method based on container service management, comprising the following steps: in the basic setting layer, at least a preset module and a compiling module are arranged; a user customizes an image related module through the basic setting layer, the image related module comprises a service image module, a middleware image module and a service module in a specific scene, and each module is configured and constructed by the user and parameter information is configured; the user manually executes an automatic construction script service in the operating system layer, which automatically generates a target service image according to the configured information parameters and the user configuration; according to the target service image, a script and a service image file are started in the container engine layer, so that a container corresponding to the service image is run to obtain a container image; the basic setting layer, the user operation layer and the container engine layer form a high cohesion and low coupling architecture, and in the user operation layer, each operation step is encapsulated as a one-dimensional array key-value pair for implementation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and to methods for constructing and deploying business image services, as well as the underlying image media. Background Technology

[0002] With the rapid development of cloud computing, virtualization technology has become particularly important. Virtualization technology can virtualize hardware resources, achieving resource isolation, scalability, and security, and enabling full utilization of resources. Among these technologies, application container engine technology has received widespread attention due to its lightweight, high performance, and ease of use. As an open-source software project, it offers the advantage of rapid deployment of products and services, and its presence is felt across various industries. Currently, industries such as manufacturing, energy, military, and industrial internet have a strong demand for containerized cloud deployment of applications, with over 200 case studies. However, container configuration files and build files require specialized developers, demanding high levels of expertise and learning. Furthermore, the diverse configuration methods of different products make unified management difficult. A well-organized container system is more time-efficient for maintenance and upgrades, and offers greater reusability. Therefore, rapidly building, deploying, and uniformly managing business services based on container clusters is a pressing issue that needs to be addressed. Summary of the Invention

[0003] This invention provides a set of cloud-based building and deployment methods and basic media based on containerized service management, aiming to solve the technical problem of how business services in various industries can be quickly built, deployed and uniformly managed based on container clusters, without having to handle service image building and application separately.

[0004] To achieve the above-mentioned technical effects, the present invention is implemented through the following technical solution:

[0005] A cloud-based construction method based on containerized service management includes the following steps:

[0006] Within the basic setup layer, at least a preset module and a compilation module are provided;

[0007] Users can customize image-related modules through the basic settings layer. These modules include service image modules, image modules, and service modules for specific scenarios. Users can also configure and set parameters for each of these modules.

[0008] At the operating system level, users manually execute an automatic build script service, which automatically generates the target service image based on the configured information parameters and user configuration.

[0009] Based on the target service image, at the container engine layer, a startup script and a service image file are executed to run the corresponding service image container, resulting in a containerized image.

[0010] The infrastructure layer, user operation layer, and container engine layer form a highly cohesive and loosely coupled architecture.

[0011] In the user operation layer, the process of each operation step is encapsulated as a one-dimensional array of key-value pairs.

[0012] As a further improvement of the present invention, it also includes the construction of a business service image container, specifically: the user selects the product corresponding to the requirements and all services in the current configuration file in the operating system layer to generate the preset template file and compilation script file required for the business image, and runs the corresponding service image container according to the preset built-in configuration rule template file and user-defined build parameters.

[0013] As a further improvement of the present invention, the user selects the product corresponding to their needs, specifically: the user selects different product services by configuring a menu file and the corresponding configuration file for building parameters.

[0014] As a further improvement of the present invention, the preset template file includes a menu template file, a template file corresponding to a business service, and a preset template file corresponding to a target application.

[0015] As a further improvement of the present invention, the step of generating a corresponding business image based on the preset template file and the compiled file specifically includes:

[0016] 1) Obtain the menu template file and the template file corresponding to the business service, and generate the compilation file and instruction set file corresponding to the business service by taking the image tag, whether to push the image flag, the repository address, the repository login name, the repository login password, the deployment service method, the deployment path, and the corresponding business service construction medium: the initialization service package and the startup script from the corresponding build parameter configuration file;

[0017] 2) Based on the instruction set file and compilation file corresponding to the business service, build and generate the image service of the business.

[0018] As a further improvement of the present invention, after step S1), the built-in configuration rules also include obtaining the corresponding parameters according to the template file corresponding to the business service and pushing them to the remote repository, as follows:

[0019] The template file parameters corresponding to the business service are: whether to push the image, repository address, repository login name, repository login password, and project name. The decision to push the remote image repository is based on the image push flag.

[0020] As a further improvement of the present invention, the user-configured build and deployment parameter information also includes custom build parameters, custom menu configuration files, and business image configuration files based on the module, to build a container for running the target application.

[0021] As a further improvement of the present invention, the preconditions for the step of building a container for running the target application based on the configuration file construction parameters, the preset template file, and the business image also include:

[0022] The business application services need to be placed in the designated application directory in advance, and the building medium needs to rely on the built-in interpreted and compiled language images, database images, and unified load balancer images.

[0023] As a further improvement of the present invention, the service image file is a mesh structure, and the mesh structure has several edges along a center.

[0024] As a further improvement of the present invention, when automatically generating target service images, the number of target service images is determined by the number of their respective built-in middleware service image modules, regular microservice application image modules, and service image configuration modules for special scenarios.

[0025] The beneficial effects of this invention are as follows:

[0026] Existing technical solutions require professional developers to possess certain basic knowledge, at least understanding the principles of containerized deployment and command scripting syntax. For non-professionals, mastering these skills typically requires 1-2 months of continuous learning and practice. However, the method provided by this invention eliminates the need for users to grasp these fundamental theories; simple configuration based on the user manual is sufficient, thus shielding the user from the complexity and high learning costs of containerized deployment.

[0027] Existing technical solutions rely on developers' skills and habits, often lacking unified rules and standards. This leads to individual differences in service image directory classification, naming formats, and command script coding standards, significantly hindering subsequent system migration, expansion, upgrades, and maintenance. In contrast, this invention relies on program logic and configuration rules, eliminating user-specific differences. Automatically generated service image files adhere to unified writing specifications and classification standards, resulting in a standardized system structure that facilitates system maintenance and migration. Attached Figure Description

[0028] Figure 1 Architecture diagram for building business image service

[0029] Figure 2 A diagram illustrating the cloud-based construction and deployment process for containerized service management. Detailed Implementation

[0030] The present invention will now be described in detail with reference to the embodiments shown in the accompanying drawings. However, it should be noted that these embodiments are not intended to limit the present invention. Any equivalent changes or substitutions in function, method, or structure made by those skilled in the art based on these embodiments are within the scope of protection of the present invention.

[0031] In the description of this embodiment, it should be understood that the terms "center," "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting the invention.

[0032] Furthermore, the terms "first," "second," "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first," "second," etc., may explicitly or implicitly include one or more of that feature. In the description of this invention, unless otherwise stated, "a plurality of" means two or more. The terms "installed," "connected," and "linked" should be interpreted broadly; for example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal connection of two components. Those skilled in the art will understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0033] First, the steps of the construction method in this invention will be briefly introduced.

[0034] See attached document Figure 1-2 As shown, a cloud-based construction method based on containerized service management in this invention includes the following steps:

[0035] 1) Receive the build and deployment parameter information configured by the user, and automatically generate the preset template files, startup scripts, stop scripts, and script files for deleting business images required by the business image service based on the build and deployment parameters;

[0036] Specifically, users can configure system parameters in the built-in middleware interface to define service image modules, regular microservice application service image modules, and custom service image modules for specific scenarios. The main configurations include the service startup path, service program path, service startup main class, push repository image flag, and repository address required by the image service. When users manually execute the automatic build script service, the system processes the above user configuration information and the built-in preset template compilation module and business service image build template compilation module to automatically generate one or more target service images. The number of target service images depends on the number configured by the user in the built-in modules.

[0037] In this invention, the aforementioned preset modules and compilation modules required for building script services, etc., are all set within the basic settings layer;

[0038] 2) Automatically generate one or more target business images by obtaining the preset template files and compilation files corresponding to the business services;

[0039] 3) Obtain the push image flag and repository address from the configuration parameters, and decide whether to push the remote repository based on whether to push the image flag;

[0040] 4) Containers that run the corresponding services based on the generated startup files, preset template files, and service images.

[0041] Furthermore, the preset template files and related script files required for the business image are all generated through the build parameter information, specifically including:

[0042] Parse the parameter configuration file corresponding to the business service to obtain the image tag, deployment service name, service startup type and relative path value of the deployment service package. Automatically generate the instruction set file, delete image script file, pull image and package script file and start container service script file for the corresponding business service through the build script.

[0043] The system parses the parameter configuration files corresponding to the business services, automatically generates a service build menu for users to select based on the overall menu service configuration, and also automatically generates unified delete, build, and save scripts for all business services.

[0044] Specifically, the mirror push function includes the following:

[0045] Parse the parameter configuration file corresponding to the business service to obtain the parameter values ​​of whether to push to the private repository, the private repository address and port, the private repository project name, the private repository login username and password. After the business service package is built, the backend code remotely pushes to the private repository according to whether to push to the private repository.

[0046] In addition, when the container building module runs the business container corresponding to the business image, it starts the corresponding business service program according to the generated startup script. The business image can also be directly connected to other containerization management platforms, such as Kubernetes and Alibaba Cloud.

[0047] Secondly, the invention will be introduced in conjunction with its principles and the structure required to implement the construction method.

[0048] according to Figure 1 As shown, in order to implement the construction method in this invention, the following structure is required:

[0049] It is basically divided into three layers: the infrastructure layer, the operating system layer, and the container engine layer. The first layer mainly describes the hardware facilities that the deployment depends on, such as network and storage. The second layer describes the basic operating system required for construction. The third layer requires the installation of the container engine. Based on the above, the following further explains the specific usage of this invention for building business service images.

[0050] In this invention, the specific uses of each of the above layers in the construction method are as follows:

[0051] Users can customize image-related modules through the basic settings layer. These modules include service image modules, image modules, and service modules for specific scenarios. Users can also configure and build these modules and configure their parameters. Specifically, at the operating system layer, users can select the product corresponding to their needs and all services in the current configuration file to generate the preset template files and compilation script files required for the business image. The user can then run the corresponding service image container according to the preset built-in configuration rule template files and user-defined build parameters.

[0052] The above-mentioned user selects the product corresponding to their needs, specifically: the user selects different product services by configuring the menu file and the corresponding build parameter configuration file.

[0053] In this embodiment, the preset template files include menu template files, template files corresponding to business services, and preset template files corresponding to target applications.

[0054] Furthermore, the step of generating the corresponding business image based on the preset template file and the compiled file specifically includes:

[0055] 1) Obtain the menu template file and the template file corresponding to the business service, and generate the compilation file and instruction set file corresponding to the business service by taking the image tag, whether to push the image flag, the repository address, the repository login name, the repository login password, the deployment service method, the deployment path, and the corresponding business service construction medium: the initialization service package and the startup script from the corresponding build parameter configuration file;

[0056] Following step S1), the built-in configuration rules also include obtaining the corresponding parameters based on the template file corresponding to the business service and pushing them to the remote repository, as follows:

[0057] The template file parameters corresponding to the business service are: whether to push the image, repository address, repository login name, repository login password, and project name. The decision to push the remote image repository is based on the image push flag.

[0058] 2) Based on the instruction set file and compilation file corresponding to the business service, build and generate the image service of the business.

[0059] At the operating system level, users manually execute an automatic build script service, which automatically generates the target service image based on the configured information parameters and user configuration.

[0060] Based on the target service image, at the container engine layer, a startup script and a service image file are executed to run the corresponding service image container, resulting in a containerized image.

[0061] The infrastructure layer, user operation layer, and container engine layer form a highly cohesive and loosely coupled architecture. In this invention, high cohesion means that each service generates an instruction set file and five scripts (pushing to the repository, saving, building the image, deleting the image, and startup command scripts) whose logic is interconnected and tightly integrated. Files generated by multiple services do not affect each other. This aligns perfectly with current mainstream software architecture systems.

[0062] In the user operation layer, each operation step is encapsulated as a one-dimensional array key-value pair. This invention features a unique one-dimensional array key-value pair syntax configuration that automatically generates complex instruction set files and service startup command scripts, encapsulating complex syntax such as parent image references, environment variables, and container service initialization. Operations such as building, pushing, and saving images are also encapsulated as one-dimensional array key-value pair syntax. Common elements are extracted: the startup class for each service, the startup path for each service, the fully qualified class name for each service, and the packaging method for the deployment project. Specifically, for this solution, this invention features a unique one-dimensional array key-value pair syntax: through one-dimensional array key-value pair syntax configuration rules, it automatically generates instruction set files and service command scripts with complex syntax structures, such as parent image references, environment variable configuration, and container service initialization. The processes of building, pushing, and saving service images are completely encapsulated as one-dimensional array key-value pairs. The image file structure is built into a mesh structure of "one center and multiple edges", which extracts common parameters for unified management. All products and services can reference them. If there are unique configurations, they can be managed separately, such as the service's startup class, startup path, fully qualified name, packaging method, etc.

[0063] The user-configured build and deployment parameters also include custom build parameters, custom menu configuration files, and business image configuration files based on the module, to build a container for running the target application.

[0064] The prerequisites for building the target application container based on the configuration file build parameters, preset template file, and business image also include:

[0065] The business application services need to be placed in the designated application directory in advance, and the building medium needs to rely on the built-in interpreted and compiled language images, database images, and unified load balancer images.

[0066] The parameter information configuration specifically involves configuring the service startup path, service program path, service startup main class, push repository mirror flag, and repository address required for each module.

[0067] When automatically generating target service images, the number of target service images is determined by the number of their respective built-in middleware service image modules, regular microservice application image modules, and service image configuration modules for special scenarios.

[0068] Finally, the presentation will focus on specific application examples.

[0069] The steps for the automated construction and deployment of the business services are as follows:

[0070] Specific implementation example 1:

[0071] The following steps are illustrated using a photovoltaic manufacturing project in the manufacturing industry as an example. This project requires the construction of a data middle platform system based on Alibaba Cloud's containerized management platform. As the unified management center for the client's data assets, the data middle platform system has the capabilities of data access, data warehousing, and data mining and analysis, providing reference and basis for the client's production decision-making and process control. It mainly includes services such as data processing, mining and analysis, and visualization, all of which require configuring service parameters, building service images, and completing deployment.

[0072] In a photovoltaic manufacturing project within the manufacturing industry, the specific process is as follows:

[0073] (1) After installing the container environment on the server, upload the service image build media to any directory on the server, decompress it and configure the service parameters, which mainly include: service image tag, push repository identifier, repository address and port, startup class name, deployment package path, application service name, etc.

[0074] (2) Store the business services in the application directory, configure the menu file and the parameter file corresponding to the business services, mainly including the public parameter file and the initialization parameter configuration file;

[0075] (3) After executing the autobuild.sh script, you can build one or more target business service images according to the displayed configuration menu. In this application, the main service images generated include: authentication center, Nacos service, gateway service, Nginx service, data warehouse service, data governance service, data processing service, data mining service, etc. Users can execute verification commands to verify the service images, such as... Figure 2 As shown;

[0076] (4) After the construction is completed, read the private repository push flag configured in the corresponding business service configuration, and execute the code according to the push flag to automatically push the service image to the repository address configured by the user in step (1) above;

[0077] (5) After the push is completed, users can start the service and generate containers based on the generated business service image, or deploy it by connecting to other containerization management platforms (such as Kubernetes, Alibaba Cloud, etc.). This project mainly places the serial number authentication file in the specified directory, and then configures and deploys Nacos service, gateway service, Nginx service, data warehouse service, data governance service, data processing service, data mining service, etc. in the containerization management platform in sequence.

[0078] After the above business image service is built, you can refer to Figure 1 It can be integrated with other orchestration tools, or directly with the corresponding container management platform.

[0079] The above-mentioned embodiment examples of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the implementation process.

[0080] See attached document Figure 2 As shown, the construction method in this invention is as follows:

[0081] (1) Obtain the user-configured build and deployment parameters;

[0082] (2) Automatically generate the preset template files, startup scripts, stop scripts, and script files for deleting business image services required for the service image;

[0083] (3) The BULID.SH script generated in the service image is automatically executed through the autobuild.sh script service of the automatic build module to build the current business service image;

[0084] (4) In the configuration module, the PUSH_REGISTRY flag value is used to identify whether to push to the repository; obtain the push repository flag. If the flag is incorrect, do not push; if the flag is correct, perform the following operations:

[0085] Obtain the remote image repository address, username, password, and repository name to push the image;

[0086] The generated script file, preset template file, and business image are used to run the corresponding service container.

[0087] Through the above description of the implementation methods, users can clearly understand the entire process of building a business service image, from parameter configuration to service construction, from image push to running container. During this process, users can manually modify the generated configuration files according to actual business needs, delete unnecessary configuration files, and add tools or packages required for their own service startup.

[0088] This invention also has the following advantages:

[0089] First, scalability: it supports as many products as there are products, including configuration files for industries such as microservices (cloud.properties), data analysis and mining services (tempo.properties), data middleware (dam.properties), and Xizi Atlas services (dmm.properties).

[0090] Second, this invention provides a cloud-based construction method based on containerized service management, including a built-in repository parsing module, a service startup parsing module, a service application parsing module, a preset compilation module, and a service image construction compilation module, aiming to solve the technical problems of rapid construction, deployment, and unified management of application services in various industries based on container clusters.

[0091] Third, the main application of this invention is the use of a unique one-dimensional array key-value pair syntax. With simple configuration, it can automatically generate standardized instruction set files and service command scripts, shielding complex business processes during service image building, such as parent image referencing and service initialization. Simultaneously, it draws on the characteristics of current mainstream microservice architectures: high coupling and low cohesion. Through reasonable directory partitioning and configuration decoupling, it allows individual services to achieve a state of high cohesion and high efficiency, while reducing the coupling relationships between multiple services and shielding mutual influence between services, thereby improving the availability of system services. Users of this invention do not need to learn containerization-related basic knowledge and coding rules; they only need simple configuration information to obtain service images. This not only saves labor costs and reduces the complexity of service image creation, but also, based on a unified parameter configuration file module, facilitates unified management of business image services, improving the user experience.

[0092] Fourth, the high cohesion and low coupling architecture in this invention: adopting the current mainstream microservice architecture approach, this service image construction method is designed to achieve high cohesion within the service image and low coupling between services. This ensures that the instruction set files generated by each service and the five command language scripts (including build, push to repository, save, delete, and start) are logically tightly integrated, minimizing the logical links between them and avoiding references between different service files, thereby reducing mutual interference between services.

[0093] This invention also features flexible service expansion. This service image construction method aims to provide a general implementation approach, without limiting the type or number of services, and depends entirely on the user's independent configuration. Examples include industry applications such as microservice applications (Cloud.properties), data analysis and mining services (AI.properties), data middleware (Dam.properties), and visualization analysis services (BI.properties).

[0094] The detailed descriptions listed above are merely specific descriptions of feasible embodiments of the present invention, and are not intended to limit the scope of protection of the present invention. All equivalent embodiments or modifications made without departing from the spirit of the present invention should be included within the scope of protection of the present invention.

[0095] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.

[0096] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

Claims

1. A cloud-based construction method based on containerized service management, characterized in that, Includes the following steps: Within the basic setup layer, at least a preset module and a compilation module are provided; Users can customize image-related modules through the basic settings layer. These modules include service image modules, middleware image modules, and service modules for specific scenarios. Users can also configure and set parameters for each of these modules. At the operating system level, users manually execute an automatic build script service, which automatically generates the target service image based on the configured information parameters and user configuration. Based on the target service image, at the container engine layer, a startup script and a service image file are executed to run the corresponding service image container, resulting in a containerized image. In the operating system layer, the process of each operation step is encapsulated as a one-dimensional array key-value pair. Through the one-dimensional array key-value pair syntax configuration rules, a complex instruction set file and service command script are automatically generated, including parent image reference, environment variable configuration, and service initialization operations within the container. The service image building, pushing, and saving process is completely encapsulated as a one-dimensional array key-value pair. The image file structure is built into a network structure with a center and multiple edges. Common parameters are extracted for unified management, and each product service can reference them. If there are unique configurations, they are managed separately. The infrastructure layer, operating system layer, and container engine layer form a highly cohesive and loosely coupled architecture. In the result of the highly cohesive generation, each service generates an instruction set file and five script files. The five script files are logically interlocked and tightly integrated. The files generated by multiple services do not affect each other. The five script files are scripts for pushing to the repository, saving, building the image, deleting the image, and starting the command.

2. The cloud construction method based on containerized service management according to claim 1, characterized in that, It also includes the construction of business service image containers. Specifically, at the operating system layer, users select the product corresponding to their needs and all services in the current configuration file to generate the preset template files and compilation script files required for the business image. The corresponding service image container is then run according to the preset built-in configuration rule template files and user-defined build parameters.

3. The cloud construction method based on containerized service management according to claim 2, characterized in that, The user selects the product corresponding to their needs. Specifically, the user selects different product services by configuring a menu file and the corresponding configuration file for building parameters.

4. The cloud construction method based on containerized service management according to claim 3, characterized in that, The preset template files include menu template files, template files corresponding to business services, and preset template files corresponding to target applications.

5. A cloud-based construction method based on containerized service management according to claim 4, characterized in that, The process of generating a corresponding business image based on the preset template file and the compiled file includes the following steps: 1) Obtain the menu template file and the template file corresponding to the business service, and generate the image tag, whether to push image flag, repository address, repository login name, repository login password, deployment service method, deployment path and the corresponding business service build medium from the corresponding build parameter configuration file. The medium includes the initialization service package and the startup script to generate the compilation file and instruction set file corresponding to the business service. 2) Based on the instruction set file and compilation file corresponding to the business service, build and generate the image service of the business.

6. The cloud construction method based on containerized service management according to claim 1, characterized in that, The built-in configuration rules also include retrieving the corresponding parameters from the template file corresponding to the business service and pushing them to the remote repository, as follows: The template file parameters corresponding to the business service are: whether to push the image, repository address, repository login name, repository login password, and project name. The decision to push the remote image repository is based on the image push flag.

7. The cloud construction method based on containerized service management according to claim 1, characterized in that, The user-configured build and deployment parameters also include custom build parameters based on modules, custom menu configuration files, and business image configuration files, which are used to build containers for running the target application.

8. A cloud-based construction method based on containerized service management according to claim 7, characterized in that, The prerequisites for building the target application container based on the configuration file build parameters, preset template files, and business image also include: The business application services need to be placed in the designated application directory in advance, and the building medium needs to rely on the built-in interpreted and compiled language images, database images, and unified load balancer images.

9. A cloud-based construction method based on containerized service management according to claim 1, characterized in that, The service image file is a mesh structure, with several edges along a central point.

10. A cloud-based construction method based on containerized service management according to claim 1, characterized in that, When automatically generating target service images, the number of target service images is determined by the number of their respective built-in middleware service image modules, regular microservice application image modules, and service image configuration modules for special scenarios.

Citation Information

Patent Citations

  • Docker technology-based software product deployment method and system

    CN112181587A

  • Service integration method, system and equipment for container and storage medium

    CN112748936A