CN113268272A - Application delivery method, device and system based on private cloud - Google Patents

Application delivery method, device and system based on private cloud Download PDF

Info

Publication number
CN113268272A
CN113268272A CN202110591804.3A CN202110591804A CN113268272A CN 113268272 A CN113268272 A CN 113268272A CN 202110591804 A CN202110591804 A CN 202110591804A CN 113268272 A CN113268272 A CN 113268272A
Authority
CN
China
Prior art keywords
application
target
private cloud
delivery
template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110591804.3A
Other languages
Chinese (zh)
Other versions
CN113268272B (en
Inventor
王建奇
闫明阳
李彤
沈一帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110591804.3A priority Critical patent/CN113268272B/en
Publication of CN113268272A publication Critical patent/CN113268272A/en
Application granted granted Critical
Publication of CN113268272B publication Critical patent/CN113268272B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application provides an application delivery method, device and system based on a private cloud, which can be used in the technical field of big data, and the method comprises the following steps: determining an environment identifier and a target private cloud of each service environment corresponding to the target application based on the application identifier of the current target application; acquiring all templates corresponding to the target application in the target private cloud according to the application identifier of the target application, the environment identifier of each service environment and the number of the template construction package; and according to each service environment corresponding to the target application, deploying each template in the target private cloud environment respectively to complete the delivery of the target application in the target private cloud. According to the method and the device, the efficiency and the reliability of application delivery to the private cloud can be effectively improved, the function of quickly constructing flexible delivery is realized, the application delivery steps can be effectively simplified, diversified delivery means can be provided, the large-scale deployment template under application can be split as required, and the continuous delivery application capability to the private cloud is improved.

Description

Application delivery method, device and system based on private cloud
Technical Field
The application relates to the technical field of data processing, in particular to the technical field of big data, and specifically relates to a private cloud-based application delivery method, device and system.
Background
In order to better meet the requirements of elastic expansion, high availability, intelligent operation and maintenance and the like, more and more companies realize private clouds. The upper cloud application combines the construction of the delivery capacity of the DevOps (the combination words of Development and Operations, which are the general terms of a group of processes, methods and systems), thereby not only meeting the requirement of fast iteration of services, but also reducing the operation cost.
At present, in the application delivery process for private cloud, a lot of codes for deploying nodes exist in some large-scale applications, which can result in too long compiling time; meanwhile, when the delivery is applied, the delivery time is too long due to the fact that the node is fully deployed and delivered every time; currently, there is no standard to standardize the on-demand delivery behavior, so the problems of low delivery efficiency, poor reliability and the like easily occur.
Disclosure of Invention
Aiming at the problems in the prior art, the application delivery method, the application delivery device and the application delivery system based on the private cloud can effectively improve the efficiency and the reliability of application delivery aiming at the private cloud, realize the function of quickly constructing flexible delivery, effectively simplify the application delivery steps and provide diversified delivery means, can split a large-scale deployment template under application as required, and improve the capability of continuously delivering application aiming at the private cloud.
In order to solve the technical problem, the application provides the following technical scheme:
in a first aspect, the present application provides a private cloud-based application delivery method, including:
determining an environment identifier and a target private cloud of each service environment corresponding to the target application based on the application identifier of the current target application;
acquiring all templates corresponding to the target application from the target private cloud according to the application identifier of the target application, the environment identifiers of the service environments and the number of a pre-stored template construction package, wherein the templates correspond to the number of the template construction package one by one;
and according to each service environment corresponding to the target application, deploying each template corresponding to the target application in a target private cloud environment respectively to complete delivery of the target application in the target private cloud.
Further, before determining the environment identifier and the target private cloud of each service environment corresponding to the target application based on the application identifier of the current target application, the method further includes:
searching each template and code corresponding to the target release unit in a preset code base based on the release identification of the target release unit; the configuration file of the template stores an environment identifier of a service environment and a release identifier of a release unit which respectively correspond to the template;
performing data packaging processing on each template to obtain a corresponding template building package and the serial number of the template building package, and storing the template building package to a preset configuration warehouse;
and compiling the codes into a mirror image, and storing the mirror image into a preset mirror image warehouse.
Further, the determining an environment identifier and a target private cloud of each service environment corresponding to the target application based on the current application identifier of the target application includes:
based on the application identifier of the current target application, acquiring the environment identifier and the service environment address of each service environment corresponding to the target application from a preset service environment management component, wherein the service environment management component is used for storing the corresponding relation among each application identifier, the environment identifier of each service environment and the service environment address;
and determining a corresponding target private cloud according to the service environment address.
Further, the obtaining, according to the application identifier of the target application, the environment identifier of each service environment, and the number of the pre-stored template building package, all templates corresponding to the target application in the target private cloud includes:
calling an interface of a cloud component deployed on the target private cloud based on the service environment address, so that the cloud component searches a template building package corresponding to the target application in a configuration warehouse corresponding to the target private cloud according to the application identifier of the target application, the environment identifier of each service environment and the number of a pre-stored template building package;
and analyzing the template construction package corresponding to the target application, and screening out each template under the service environment corresponding to the target application.
Further, after the respectively deploying, according to the respective service environments corresponding to the target application, the respective templates corresponding to the target application in a target private cloud environment to complete the delivery of the target application in the target private cloud, the method further includes:
and verifying whether the templates deployed in the target private cloud environment are delivered successfully or not, and generating a corresponding verification result.
Furthermore, the template stored in the configuration file of the template has a one-to-one or many-to-many relationship with the environment identifier of the service environment, and the template has a many-to-one relationship with the release identifier of the release unit;
the template and the mirror image are in one-to-many or one-to-one relationship.
In a second aspect, the present application provides a private cloud-based application delivery apparatus, comprising:
the environment determining module is used for determining the environment identifier and the target private cloud of each service environment corresponding to the target application based on the application identifier of the current target application;
the template calling module is used for acquiring all templates corresponding to the target application from the target private cloud according to the application identifier of the target application, the environment identifiers of the service environments and the number of a pre-stored template construction package, wherein the templates correspond to the number of the template construction package one by one;
and the delivery deployment module is used for respectively deploying each template corresponding to the target application in a target private cloud environment according to each service environment corresponding to the target application so as to complete the delivery of the target application in the target private cloud.
In a third aspect, the present application provides an application delivery system, comprising: the service environment management component, the target private cloud and the application delivery device based on the private cloud are used for realizing the application delivery method based on the private cloud;
the application delivery device based on the private cloud comprises a construction component, a delivery component and a cloud component which are sequentially connected;
the building component is respectively connected with a preset mirror image warehouse, a configuration warehouse and a code library;
the delivery component and the cloud component are both connected to the service environment management component;
the service environment management component connects to the target private cloud via the cloud component.
In a fourth aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the private cloud-based application delivery method when executing the program.
In a fifth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the private cloud-based application delivery method.
According to the technical scheme, the application delivery method, the application delivery device and the application delivery system based on the private cloud are characterized in that the method comprises the following steps: determining an environment identifier and a target private cloud of each service environment corresponding to the target application based on the application identifier of the current target application; acquiring all templates corresponding to the target application from the target private cloud according to the application identifier of the target application, the environment identifiers of the service environments and the number of a pre-stored template construction package, wherein the templates correspond to the number of the template construction package one by one; according to the service environments corresponding to the target applications, the templates corresponding to the target applications are respectively deployed in a target private cloud environment to complete delivery of the target applications in the target private cloud, so that efficiency and reliability of application delivery for the private cloud can be effectively improved, a function of quickly constructing flexible delivery is realized, delivery steps can be effectively simplified, diversified delivery means can be provided, large-scale deployment templates under application can be split as required, decoupling of construction delivery and application is realized under the condition that original application architecture assets are unchanged, the problems that an original large-scale cluster template is slow in construction, complex in assembly line configuration and the like are solved, and continuous delivery capability is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an application delivery system in an embodiment of the present application.
Fig. 2 is a first flowchart of a private cloud-based application delivery method in an embodiment of the present application.
Fig. 3 is a second flowchart of the private cloud-based application delivery method in the embodiment of the present application.
Fig. 4 is a third flowchart of the private cloud-based application delivery method in the embodiment of the present application.
Fig. 5 is a fourth flowchart of the private cloud-based application delivery method in the embodiment of the present application.
Fig. 6 is a fifth flowchart illustrating a private cloud-based application delivery method in an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a private cloud-based application delivery apparatus in an embodiment of the present application.
Fig. 8 is a schematic diagram of correspondence between images, publishing units, templates, clusters and service environments provided by an application example of the present application.
Fig. 9 is a schematic flowchart of a service environment-based continuous delivery manner implemented by applying the private cloud-based application delivery system according to the application example of the present application.
Fig. 10 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the application delivery method, device and system based on the private cloud disclosed by the application can be used in the technical field of big data, and can also be used in any field except the technical field of big data.
Some large applications have a large number of deployed nodes, resulting in the need to compile code over several hours; meanwhile, in the delivery process, the delivery time is too long due to each full delivery; there is no standard set to specify various behaviors for on-demand delivery, which is prone to delivery problems. Based on this background, the following three problems arise: firstly, how to operate the operation nodes split according to the micro-service thought field in the actual environment according to the application architecture. And secondly, how to guarantee uninterrupted service in management during continuous delivery. And thirdly, how to deliver the content according to the environment on demand.
Based on this, automated delivery and deployment is done through the pipeline in the context of DevOps persistent delivery. In order to solve the problems, the application introduces concepts such as a template, a publishing unit, a service environment and the like.
Aiming at the problems of low delivery efficiency, poor reliability and the like of the existing application delivery mode aiming at the private cloud, the embodiment of the application provides an application delivery method based on the private cloud, an application delivery device based on the private cloud, an application delivery system and an electronic equipment computer readable storage medium respectively, and the environment identification and the target private cloud of each service environment corresponding to the target application are determined based on the application identification of the current target application; acquiring all templates corresponding to the target application from the target private cloud according to the application identifier of the target application, the environment identifiers of the service environments and the number of a pre-stored template construction package, wherein the templates correspond to the number of the template construction package one by one; according to the service environments corresponding to the target applications, the templates corresponding to the target applications are respectively deployed in a target private cloud environment to complete delivery of the target applications in the target private cloud, so that efficiency and reliability of application delivery for the private cloud can be effectively improved, a function of quickly constructing flexible delivery is realized, delivery steps can be effectively simplified, diversified delivery means can be provided, large-scale deployment templates under application can be split as required, decoupling of construction delivery and application is realized under the condition that original application architecture assets are unchanged, the problems that an original large-scale cluster template is slow in construction, complex in assembly line configuration and the like are solved, and continuous delivery capability is improved.
In one or more embodiments of the present application, a template refers to static configuration information of one or more mirror deployments, including, but not limited to, the number of instantiated containers, deployment clusters, container variables, mirrors, release unit names, service environment names, and the like. And the cloud management platform deploys the container to the private cloud through the template information.
In one or more embodiments of the present application, a private cloud may specifically refer to: platform As A Service (PAAS) cloud.
In one or more embodiments of the present application, a publishing unit refers to a publishing unit having one or more images, but including a template set of different templates, which is a minimum unit for publishing at a time.
In one or more embodiments of the present application, a service environment refers to an environment definition in which each application abstracts from the PAAS environment according to delivery requirements, service levels, runtime environments, architecture assets, etc., to guide commissioning behavior and manage runtime environments.
Based on the above, the present application further provides an application delivery system for implementing the private cloud-based application delivery method provided in one or more embodiments of the present application, and referring to fig. 1, the application delivery system includes a service environment management component 2, a target private cloud (PAAS cloud), and a private cloud-based application delivery apparatus for implementing the private cloud-based application delivery method; the application delivery device based on the private cloud comprises a construction component 1, a delivery component 3 and a cloud component 4 which are connected in sequence; the construction component 1 is respectively connected with a preset mirror image warehouse, a configuration warehouse and a code library; the delivery component 3 and the cloud component 4 are both connected to the service environment management component 2; the service environment management component 2 connects to the target private cloud via the cloud component 4.
Wherein, the construction component 1 is deployed in a delivery pipeline and is directly connected with a code library. In the code library, a user may define a template corresponding to each code in advance according to different conditions such as high availability, parameter configuration, deployment environment, and the like, where the code and the template may be in a one-to-one or many-to-many relationship. In the template configuration file, the affiliated publishing unit and the deployed service environment are maintained, that is: the template configuration file contains the corresponding issuing unit of the template and the identification of the service environment.
Wherein the service environment management component 2 is deployed on a separate machine (e.g., a server) and connected with the delivery component to provide the service environment information to the delivery component. And meanwhile, the relation between the cluster and the service environment is established through the connection between the cloud component and the PAAS cloud.
Wherein, the delivery component 3 and the construction component 1 are connected in series through a pipeline and are connected with the service environment management component. The delivery component is deployed on the pipeline, and the delivery component configures the service environment names in sequence according to delivery requirements.
The cloud component 4 is deployed on each PAAS cloud, connected with the delivery component, and used for template deployment of the corresponding service environment. And the service environment management component is also connected with the cluster information providing component. And the delivery component sends a delivery instruction of a certain service environment to the cloud component, the cloud component acquires the construction package in the configuration warehouse, analyzes the construction package, screens out the templates belonging to the service environment, and deploys the templates. The cloud component can also provide a delivery verification function, and after the deployment is successful, a message is sent to inform the delivery component of the delivery result.
It is understood that the client devices may include smart phones, tablet electronic devices, network set-top boxes, portable computers, desktop computers, Personal Digital Assistants (PDAs), in-vehicle devices, smart wearable devices, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..
The client device may have a communication module (i.e., a communication unit), and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
The server and the client device may communicate using any suitable network protocol, including network protocols not yet developed at the filing date of this application. The network protocol may include, for example, a TCP/IP protocol, a UDP/IP protocol, an HTTP protocol, an HTTPS protocol, or the like. Of course, the network Protocol may also include, for example, an RPC Protocol (Remote Procedure Call Protocol), a REST Protocol (Representational State Transfer Protocol), and the like used above the above Protocol.
The following embodiments and application examples are specifically and individually described in detail.
In order to solve the problems of low delivery efficiency, poor reliability and the like of the existing application delivery method for the private cloud, the application delivery method based on the private cloud is provided in the present application, and referring to fig. 2, the application delivery method based on the private cloud executed by the application delivery apparatus based on the private cloud specifically includes the following contents:
step 100: and determining the environment identifier and the target private cloud of each service environment corresponding to the target application based on the application identifier of the current target application.
In step 100, the delivery component in the private cloud-based application delivery apparatus may read all service environment information of the service environment management component under the target application according to the configured application name of the target application, where the service environment information includes a correspondence between a service environment identifier and a service environment address, that is: the service environment management component is configured to store a corresponding relationship between an application name, a service environment identifier, and a service environment address, where the service environment address may specifically be an address of a private cloud (also referred to as a PAAS cloud). And executing the delivery behavior according to the service environment name, namely: and calling a service environment component according to the application name to acquire all service environments under the application.
Step 200: and acquiring all templates corresponding to the target application from the target private cloud according to the application identifier of the target application, the environment identifiers of the service environments and the number of a pre-stored template construction package, wherein the templates correspond to the number of the template construction package one by one.
Step 300: and according to each service environment corresponding to the target application, deploying each template corresponding to the target application in a target private cloud environment respectively to complete delivery of the target application in the target private cloud.
In steps 200 and 300, a cloud component in the private cloud-based application delivery apparatus may provide the cluster information to a service environment management component. And the delivery component sends a delivery instruction of a certain service environment to the cloud component, the cloud component acquires the construction package in the configuration warehouse, analyzes the construction package, screens out the templates belonging to the service environment, and deploys the templates. The cloud component can also provide a delivery verification function, and after the deployment is successful, a message is sent to inform the delivery component of the delivery result.
From the above description, the private cloud-based application delivery method provided in the embodiment of the present application can effectively improve efficiency and reliability of application delivery for a private cloud, implement a function of quickly constructing flexible delivery, effectively simplify delivery steps and provide diversified delivery means, and can split a large-scale deployment template under application as needed, thereby implementing decoupling of construction delivery and application under the condition that an original application architecture asset is not changed, solving the problems of slow construction of an original large-scale cluster template, complex pipeline configuration and the like, and improving the capability of continuous delivery.
In order to improve the speed of building and the ability of flexible building, in an embodiment of the private cloud-based application delivery method provided in the present application, referring to fig. 3, the following is further specifically included before step 100 in the private cloud-based application delivery method:
step 010: searching each template and code corresponding to the target release unit in a preset code base based on the release identification of the target release unit; the configuration file of the template stores the environment identifier of the service environment and the release identifier of the release unit corresponding to the template.
Step 020: and carrying out data packing processing on each template to obtain a corresponding template building package and the serial number of the template building package, and storing the template building package to a preset configuration warehouse.
Step 030: compiling the code into a mirror image, and storing the mirror image into a preset mirror image warehouse.
In particular, a build component in a private cloud-based application delivery appliance is deployed in a delivery pipeline, directly connected to a code library. In the code library, a user may define a template corresponding to each code in advance according to different conditions such as high availability, parameter configuration, deployment environment, and the like, where the code and the template may be in a one-to-one or many-to-many relationship. In the template configuration file, the affiliated publishing unit and the deployed service environment are maintained, that is: the template configuration file contains the corresponding issuing unit of the template and the identification of the service environment.
The construction component is constructed in parallel according to different release units, the template and the corresponding code under the release unit are automatically pulled from the code base in the construction process, the code is compiled into a mirror image and pushed to a mirror image warehouse, and the template is configured and packaged into a construction package (meanwhile, a construction number corresponding to the construction package is generated) and sent to a configuration warehouse. The configuration warehouse is used for storing the packaged template set according to the release unit; the image repository is used for storing images generated by the code construction, and one or more images can be referenced by one template.
As can be seen from the foregoing description, the application delivery method based on the private cloud provided in the embodiment of the present application can implement the functions of independent construction according to the minimum unit of the publishing unit and flexible delivery according to the minimum unit of the service environment. The large-scale container deployment is split according to the release unit, the construction speed and the flexible construction capacity are improved, the release unit and the service environment can be defined by the application, and the release unit is defined in a code submitting mode, so that the efficiency and the reliability of application delivery for the private cloud can be further improved.
In order to further improve the efficiency and reliability of the application delivery to the private cloud, referring to fig. 4, in an embodiment of the private cloud-based application delivery method provided in the present application, step 100 in the private cloud-based application delivery method specifically includes the following contents:
step 110: based on the application identifier of the current target application, acquiring the environment identifier and the service environment address of each service environment corresponding to the target application from a preset service environment management component, wherein the service environment management component is used for storing the corresponding relation among each application identifier, the environment identifier of each service environment and the service environment address.
Step 120: and determining a corresponding target private cloud according to the service environment address.
In particular, the delivery component is cascaded with the build component through a pipeline and coupled to the service environment management component. The delivery component is deployed on the pipeline, and the delivery component configures the service environment names in sequence according to delivery requirements.
The delivery requirement may be acquired in advance, and the specific manner may be as follows: generally, a certain service environment is put into production first, and after the service environment passes verification, the service environment is put into production again, namely, the service environment has certain sequence, and the technologies can also be put into production together. In addition, build is in the publish unit dimension, but commissioning is in the service environment dimension. One publishing unit has a plurality of template sets of service environments, namely: each template can correspond to one or more service environments, one service environment can also correspond to one or more modules, and the production sequence of the service environments needs to be configured on a pipeline to automatically carry out production. Specifically, a template of the service environment in the construction package is screened out according to the service environment of the assembly line for deployment.
As can be seen from the above description, in the application delivery method based on the private cloud provided in the embodiment of the present application, the service environment defines the relationship between the actual operating environment and the current virtual environment, and the relationship is implemented by the service environment management component, so that the efficiency and reliability of application delivery for the private cloud can be further improved.
In order to improve the speed of construction and the ability of flexible construction, in an embodiment of the private cloud-based application delivery method provided in the present application, referring to fig. 5, step 200 in the private cloud-based application delivery method specifically includes the following contents:
step 210: and calling an interface of a cloud component deployed on the target private cloud based on the service environment address, so that the cloud component searches the template building package corresponding to the target application in a configuration warehouse corresponding to the target private cloud according to the application identifier of the target application, the environment identifier of each service environment and the number of a pre-stored template building package.
Step 220: and analyzing the template construction package corresponding to the target application, and screening out each template under the service environment corresponding to the target application.
Specifically, the delivery component calls an interface of a cloud component deployed on a corresponding PAAS cloud according to the service environment address, specifically: calling in a restful interface mode, and inquiring in the PAAS cloud by an application cloud component through an application name, a service environment identifier and a construction number of a target application to obtain all templates below the target application.
As can be seen from the above description, in the application delivery method based on the private cloud provided in the embodiment of the present application, the cloud component is deployed in each paas environment, and in the deployment interface, the cloud component first downloads the build package to the local according to the build number, analyzes the build package to extract the template set, and screens out the templates belonging to the current service environment, so that each template in the service environment corresponding to the target application can be effectively and efficiently screened out, and further, the efficiency and reliability of application delivery for the private cloud can be further improved.
In order to improve the speed of construction and the ability of flexible construction, in an embodiment of the private cloud-based application delivery method provided by the present application, referring to fig. 6, the following is further specifically included after step 300 in the private cloud-based application delivery method:
step 400: and verifying whether the templates deployed in the target private cloud environment are delivered successfully or not, and generating a corresponding verification result.
In particular, the delivery component verifies whether template delivery in a service environment (PAAS cloud environment) was successfully deployed. And the delivery component delivers the container instances in the service environments in series to ensure that the container instances in the service environments are continuously served.
As can be seen from the above description, according to the application delivery method based on the private cloud provided by the embodiment of the application delivery method, the application cloud component provides a delivery verification function, and after the application cloud component is successfully deployed, a message can be sent to notify the delivery component of a delivery result, so that the reliability of application delivery for the private cloud can be further improved.
In order to implement decoupling of construction delivery and application under the condition that original application architecture assets are not changed, in an embodiment of the private cloud-based application delivery method provided by the application, a one-to-one or many-to-many relationship exists between a template stored in a configuration file of the template in the private cloud-based application delivery method and an environment identifier of the service environment, and a many-to-one relationship exists between the template and a release identifier of the release unit; the template and the mirror image are in one-to-many or one-to-one relationship.
As can be seen from the above description, the application delivery method based on the private cloud provided in the embodiment of the present application implements functions of independent construction according to the minimum unit of the publishing unit and flexible delivery according to the minimum unit of the service environment. The release unit and the service environment can be defined by the application, the release unit can be defined by submitting codes, the function of quickly constructing flexible delivery is realized, and a large-scale deployment template under the application can be split as required, so that the decoupling of construction delivery and application is realized under the condition that the original application architecture assets are not changed.
In terms of software, in order to solve the problems of low delivery efficiency and poor reliability of the existing application delivery method for the private cloud, the application provides an embodiment of a private cloud-based application delivery apparatus for executing all or part of the content in the private cloud-based application delivery method, and referring to fig. 7, the private cloud-based application delivery apparatus specifically includes the following contents:
the environment determining module 10 is configured to determine, based on an application identifier of a current target application, an environment identifier and a target private cloud of each service environment corresponding to the target application.
The template retrieving module 20 is configured to obtain all templates corresponding to the target application in the target private cloud according to the application identifier of the target application, the environment identifiers of the service environments, and the numbers of the pre-stored template building packets, where the templates correspond to the numbers of the template building packets one to one.
The delivery deployment module 30 is configured to deploy, according to each service environment corresponding to the target application, each template corresponding to the target application in a target private cloud environment respectively to complete delivery of the target application in the target private cloud.
The embodiment of the private cloud-based application delivery apparatus provided in the present application may be specifically configured to execute the processing procedure of the embodiment of the private cloud-based application delivery method in the foregoing embodiment, and the function of the processing procedure is not described herein again, and reference may be made to the detailed description of the embodiment of the method.
From the above description, the private cloud-based application delivery device provided in the embodiment of the present application can effectively improve efficiency and reliability of application delivery to a private cloud, implement a function of quickly constructing flexible delivery, effectively simplify delivery steps and provide diversified delivery means, and can split a large-scale deployment template under application as needed, thereby implementing decoupling of construction delivery and application under the condition that an original application architecture asset is not changed, solving the problems of slow construction of an original large-scale cluster template, complex pipeline configuration and the like, and improving the capability of continuous delivery.
For further explanation, the present application further provides a specific application example of the continuous delivery method based on the service environment implemented by the application delivery system, and the overall scheme of the application delivery method based on the private cloud specifically includes the following contents:
1) in the code base, the relationship among the templates, the service environments and the publishing units is defined, specifically, the templates (which are a folder) contain configuration files, and the configuration files can define which publishing units and service environments the corresponding templates belong to so as to determine the corresponding relationship among the templates, the service environments and the publishing units, and the code base is also used for storing the codes.
2) And the construction component finds each template belonging to the release unit in the code base according to the name of the release unit, and constructs a code corresponding to the template, wherein the template takes the release unit as a dimension and is made into a construction package.
3) And calling the cloud component to deploy the template as required according to the application name, the service environment name and the construction number in the assembly line of the delivery component.
4) The service environment management component automatically maintains the relation between the cluster and the service environment according to application requirements, and the PAAS delivery component deploys the corresponding PAAS cloud according to the service environment when receiving the delivery request.
The application delivery system specifically comprises the following contents:
(1) the construction assembly 1: the building component is deployed on a delivery pipeline and is directly connected with the code base. In the code library, a user may define a template corresponding to each code in advance according to different conditions such as high availability, parameter configuration, deployment environment, and the like, where the code and the template may be in a one-to-one or many-to-many relationship. In the template configuration file, the affiliated publishing unit and the deployed service environment are maintained, that is: the template configuration file contains the corresponding issuing unit of the template and the identification of the service environment.
The construction component is constructed in parallel according to different release units, the template and the corresponding code under the release unit are automatically pulled from the code base in the construction process, the code is compiled into a mirror image and pushed to a mirror image warehouse, and the template is configured and packaged into a construction package (meanwhile, a construction number corresponding to the construction package is generated) and sent to a configuration warehouse. The configuration warehouse is used for storing the packaged template set according to the release unit; the image repository is used for storing images generated by the code construction, and one or more images can be referenced by one template.
(2) The delivery assembly 3: the delivery component and the construction component are connected in series through a pipeline and are connected with the service environment management component. The delivery component is deployed on the pipeline, and the delivery component configures the service environment names in sequence according to delivery requirements.
The delivery requirement may be acquired in advance, and the specific manner may be as follows: generally, a certain service environment is put into production first, and after the service environment passes verification, the service environment is put into production again, namely, the service environment has certain sequence. Typically, build is in the dimension of the publishing unit and commissioning is in the dimension of the service environment. One publishing unit has a plurality of template sets of service environments, namely: each template can correspond to one or more service environments, one service environment can also correspond to one or more modules, and the automatic production is realized by configuring the production sequence of the service environments on the production line.
The delivery component reads all service environment information of the service environment management component under the target application according to the configured application name of the target application, wherein the service environment information comprises a corresponding relation between a service environment identifier and a service environment address, namely: the service environment management component is configured to store a corresponding relationship between an application name, a service environment identifier, and a service environment address, where the service environment address may specifically be an address of a private cloud (also referred to as a PAAS cloud). And executing the delivery behavior according to the service environment name, namely: deploying the template to a corresponding PAAS cloud environment according to the service environment; the method specifically comprises the following steps:
1) and calling a service environment management component to acquire the delivered environment address according to the application name and the service environment name.
2) Calling an interface of a cloud component deployed on a corresponding PAAS cloud according to the service environment address, specifically: calling in a restful interface mode, and inquiring in the PAAS cloud by an application cloud component through an application name, a service environment identifier and a construction number of a target application to obtain all templates below the target application.
3) And the cloud component deploys the template to the PAAS cloud environment according to the service environment.
4) The delivery component verifies whether template delivery in the service environment (PAAS cloud environment) was successfully deployed. And the delivery component delivers the container instances in the service environments in series to ensure that the container instances in the service environments are continuously served.
(3) Service environment management component 2: the service environment management component is deployed on a separate machine (e.g., a server) and interfaces with the delivery component to provide service environment information to the delivery component. And meanwhile, the relation between the cluster and the service environment is established through the connection between the cloud component and the PAAS cloud.
The service environment management component mainly comprises three elements of an application, a cluster and a service environment, wherein the application divides a plurality of service environments from cluster dimensions according to delivery requirements, service levels, operating environments and architecture assets, and can also aggregate a plurality of clusters into one service environment.
(4) The cloud component 4: the cloud component is deployed on each PAAS cloud, is connected with the delivery component and is used for template deployment of the corresponding service environment. And the service environment management component is also connected with the cluster information providing component. And the delivery component sends a delivery instruction of a certain service environment to the cloud component, the cloud component acquires the construction package in the configuration warehouse, analyzes the construction package, screens out the templates belonging to the service environment, and deploys the templates. The cloud component can also provide a delivery verification function, and after the deployment is successful, a message is sent to inform the delivery component of the delivery result.
For example, see fig. 8, the correspondence between the mirror image, the publishing unit, the template, the cluster, and the service environment specifically includes a service environment W1 and a service environment W2 corresponding to the mirror image J1, the mirror image J2, the publishing unit F1, the template a, the template B, the template C, and the cluster Q1, and a service environment W3 and a service environment W4 corresponding to the cluster Q2.
Based on the above, the application also provides a set of standardized continuous delivery modes, and the application meets the delivery requirements by customizing the release unit and the service environment according to delivery, service level and deployment requirements. Referring to fig. 9, the service environment-based continuous delivery method implemented by the private cloud-based application delivery system specifically includes the following contents:
step S101: pulling a code library: the building elements operate in a container mode. A container is started, a build component is instantiated, and the code of the application is pulled to the local in full amount according to the configured git warehouse address (namely, the issue unit in the code is read first). Wherein the building elements are specifically operated in containers, and the building elements can be operated in a plurality of containers simultaneously.
Step S102: querying all templates under the publishing unit: and reading the full amount of template information in the code base, and inquiring the template under the release unit according to the name of the release unit configured by the code. Where the publication unit name may be established by the architect according to the attributes of the template.
Step S103: and (3) parallel construction according to the release units: and inquiring the code configured by the template, and constructing the code as a mirror image. If a plurality of containers are started, the construction does not influence each other and is constructed in parallel.
Step S104: pushing the build package to a warehouse: and pushing the mirror image generated by the construction component to a mirror image warehouse, packaging the screened template set into a construction package, pushing the construction package to the construction warehouse, and producing a construction number.
Step S201: acquiring the service environment set under the application from the service environment component: and the delivery component acquires the full amount of service environment information from the service environment management component according to the currently acquired application name of the target application, wherein the full amount of service environment information comprises the service environment name, the cluster, the environment address and the like.
Step S202: acquiring an actual environment address corresponding to a service environment: and inquiring corresponding service environment information according to the service environment name configured on the delivery component to obtain the environment address.
Step S203: importing a construction package in the PAAS environment: and according to the environment address, transmitting an application name, a construction number and a service environment name, and calling a deployment interface of the cloud component.
Step S301: selecting a template belonging to the current service environment from the cloud component: the cloud component is deployed in each PAAS environment, the cloud component downloads a construction package to the local according to the construction number in a deployment interface, analyzes the construction package to extract a template set, and screens out the templates belonging to the current service environment.
Step S302: deploying the template according to the service environment: and finding corresponding clusters according to the screened templates and the service environment, and deploying the templates to the clusters.
According to the method, through a series of behaviors deployed by a cloud component proxy template, a building component and a delivery component are realized in a combined pipeline, and the functions of independent building according to the minimum unit of a release unit and flexible delivery according to the minimum unit of a service environment are realized. The issuing unit and the service environment can be defined by the application, the issuing unit is defined by submitting codes, the service environment defines the relation between the actual operation environment and the current virtual environment, and the service environment is realized through the service environment management component. By combining and using the devices, the method realizes the function of quickly constructing and flexibly delivering, and can split the large-scale deployment template under application as required, thereby realizing the decoupling of construction delivery and application under the condition that the original application architecture assets are not changed.
In terms of hardware, in order to solve the problems of low delivery efficiency and poor reliability of the existing application delivery method for the private cloud, the present application provides an embodiment of an electronic device for implementing all or part of the contents in the application delivery method based on the private cloud, where the electronic device specifically includes the following contents:
fig. 10 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 10, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 10 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In an embodiment, the private cloud-based application delivery functionality may be integrated into the central processor. Wherein the central processor may be configured to control:
step 100: and determining the environment identifier and the target private cloud of each service environment corresponding to the target application based on the application identifier of the current target application.
In step 100, the delivery component may read all service environment information of the service environment management component under the target application according to the configured application name of the target application, where the service environment information includes a corresponding relationship between a service environment identifier and a service environment address, that is: the service environment management component is configured to store a corresponding relationship between an application name, a service environment identifier, and a service environment address, where the service environment address may specifically be an address of a private cloud (also referred to as a PAAS cloud). And executing the delivery behavior according to the service environment name, namely: and calling a service environment component according to the application name to acquire all service environments under the application.
Step 200: and acquiring all templates corresponding to the target application from the target private cloud according to the application identifier of the target application, the environment identifiers of the service environments and the number of a pre-stored template construction package, wherein the templates correspond to the number of the template construction package one by one.
Step 300: and according to each service environment corresponding to the target application, deploying each template corresponding to the target application in a target private cloud environment respectively to complete delivery of the target application in the target private cloud.
In steps 200 and 300, the cloud component may provide the cluster information to the service environment management component. And the delivery component sends a delivery instruction of a certain service environment to the cloud component, the cloud component acquires the construction package in the configuration warehouse, analyzes the construction package, screens out the templates belonging to the service environment, and deploys the templates. The cloud component can also provide a delivery verification function, and after the deployment is successful, a message is sent to inform the delivery component of the delivery result.
From the above description, the electronic device provided in the embodiment of the present application can effectively improve efficiency and reliability of application delivery to a private cloud, implement a function of quickly constructing flexible delivery, effectively simplify delivery steps and provide diversified delivery means, and can split a large-scale deployment template under application as needed, thereby implementing decoupling of construction delivery and application under the condition that an original application architecture asset is not changed, solving the problems of slow construction, complex pipeline configuration and the like of an original large-scale cluster template, and improving the capability of continuous delivery.
In another embodiment, the private cloud-based application delivery apparatus may be configured separately from the central processor 9100, for example, the private cloud-based application delivery apparatus may be configured as a chip connected to the central processor 9100, and the private cloud-based application delivery function may be implemented by the control of the central processor.
As shown in fig. 10, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 10; in addition, the electronic device 9600 may further include components not shown in fig. 10, which can be referred to in the prior art.
As shown in fig. 10, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 can be a solid state memory, e.g., Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
An embodiment of the present application further provides a computer-readable storage medium capable of implementing all the steps in the private cloud-based application delivery method in the foregoing embodiment, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements all the steps of the private cloud-based application delivery method in the foregoing embodiment, where the execution subject is a server or a client, for example, the processor implements the following steps when executing the computer program:
step 100: and determining the environment identifier and the target private cloud of each service environment corresponding to the target application based on the application identifier of the current target application.
In step 100, the delivery component may read all service environment information of the service environment management component under the target application according to the configured application name of the target application, where the service environment information includes a corresponding relationship between a service environment identifier and a service environment address, that is: the service environment management component is configured to store a corresponding relationship between an application name, a service environment identifier, and a service environment address, where the service environment address may specifically be an address of a private cloud (also referred to as a PAAS cloud). And executing the delivery behavior according to the service environment name, namely: and calling a service environment component according to the application name to acquire all service environments under the application.
Step 200: and acquiring all templates corresponding to the target application from the target private cloud according to the application identifier of the target application, the environment identifiers of the service environments and the number of a pre-stored template construction package, wherein the templates correspond to the number of the template construction package one by one.
Step 300: and according to each service environment corresponding to the target application, deploying each template corresponding to the target application in a target private cloud environment respectively to complete delivery of the target application in the target private cloud.
In steps 200 and 300, the cloud component may provide the cluster information to the service environment management component. And the delivery component sends a delivery instruction of a certain service environment to the cloud component, the cloud component acquires the construction package in the configuration warehouse, analyzes the construction package, screens out the templates belonging to the service environment, and deploys the templates. The cloud component can also provide a delivery verification function, and after the deployment is successful, a message is sent to inform the delivery component of the delivery result.
As can be seen from the above description, the computer-readable storage medium provided in the embodiment of the present application can effectively improve efficiency and reliability of application delivery to a private cloud, implement a function of quickly constructing flexible delivery, effectively simplify delivery steps and provide diversified delivery means, and can split a large-scale deployment template under application as needed, thereby implementing decoupling of construction delivery and application under the condition that an original application architecture asset is not changed, solving the problems of slow construction, complex pipeline configuration and the like of an original large-scale cluster template, and improving the capability of continuous delivery.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A private cloud-based application delivery method, comprising:
determining an environment identifier and a target private cloud of each service environment corresponding to the target application based on the application identifier of the current target application;
acquiring all templates corresponding to the target application from the target private cloud according to the application identifier of the target application, the environment identifiers of the service environments and the number of a pre-stored template construction package, wherein the templates correspond to the number of the template construction package one by one;
and according to each service environment corresponding to the target application, deploying each template corresponding to the target application in a target private cloud environment respectively to complete delivery of the target application in the target private cloud.
2. The private cloud-based application delivery method according to claim 1, wherein before determining the environment identifier of each service environment corresponding to the target application and the target private cloud based on the application identifier of the current target application, the method further comprises:
searching each template and code corresponding to the target release unit in a preset code base based on the release identification of the target release unit; the configuration file of the template stores an environment identifier of a service environment and a release identifier of a release unit which respectively correspond to the template;
performing data packaging processing on each template to obtain a corresponding template building package and the serial number of the template building package, and storing the template building package to a preset configuration warehouse;
and compiling the codes into a mirror image, and storing the mirror image into a preset mirror image warehouse.
3. The private cloud-based application delivery method according to claim 2, wherein determining the environment identifier of each service environment and the target private cloud corresponding to the target application based on the application identifier of the current target application comprises:
based on the application identifier of the current target application, acquiring the environment identifier and the service environment address of each service environment corresponding to the target application from a preset service environment management component, wherein the service environment management component is used for storing the corresponding relation among each application identifier, the environment identifier of each service environment and the service environment address;
and determining a corresponding target private cloud according to the service environment address.
4. The private cloud-based application delivery method according to claim 3, wherein the acquiring, in the target private cloud, all templates corresponding to the target application according to the application identifier of the target application, the environment identifiers of the service environments, and the number of the pre-stored template construction package comprises:
calling an interface of a cloud component deployed on the target private cloud based on the service environment address, so that the cloud component searches a template building package corresponding to the target application in a configuration warehouse corresponding to the target private cloud according to the application identifier of the target application, the environment identifier of each service environment and the number of a pre-stored template building package;
and analyzing the template construction package corresponding to the target application, and screening out each template under the service environment corresponding to the target application.
5. The private cloud-based application delivery method according to claim 4, wherein after the respectively deploying the templates corresponding to the target applications in a target private cloud environment according to the respective service environments corresponding to the target applications to complete delivery of the target applications in the target private cloud, the method further comprises:
and verifying whether the templates deployed in the target private cloud environment are delivered successfully or not, and generating a corresponding verification result.
6. The private cloud-based application delivery method according to any one of claims 2 to 5, wherein a one-to-one or many-to-many relationship exists between the template stored in the configuration file of the template and the environment identifier of the service environment, and a many-to-one relationship exists between the template and the release identifier of the release unit;
the template and the mirror image are in one-to-many or one-to-one relationship.
7. An application delivery apparatus based on a private cloud, comprising:
the environment determining module is used for determining the environment identifier and the target private cloud of each service environment corresponding to the target application based on the application identifier of the current target application;
the template calling module is used for acquiring all templates corresponding to the target application from the target private cloud according to the application identifier of the target application, the environment identifiers of the service environments and the number of a pre-stored template construction package, wherein the templates correspond to the number of the template construction package one by one;
and the delivery deployment module is used for respectively deploying each template corresponding to the target application in a target private cloud environment according to each service environment corresponding to the target application so as to complete the delivery of the target application in the target private cloud.
8. An application delivery system, comprising: a service environment management component, a target private cloud, and a private cloud-based application delivery apparatus for implementing the private cloud-based application delivery method of any of claims 1 to 6;
the application delivery device based on the private cloud comprises a construction component, a delivery component and a cloud component which are sequentially connected;
the building component is respectively connected with a preset mirror image warehouse, a configuration warehouse and a code library;
the delivery component and the cloud component are both connected to the service environment management component;
the service environment management component connects to the target private cloud via the cloud component.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the private cloud-based application delivery method of any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the private cloud-based application delivery method of any of claims 1 to 6.
CN202110591804.3A 2021-05-28 2021-05-28 Application delivery method, device and system based on private cloud Active CN113268272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110591804.3A CN113268272B (en) 2021-05-28 2021-05-28 Application delivery method, device and system based on private cloud

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110591804.3A CN113268272B (en) 2021-05-28 2021-05-28 Application delivery method, device and system based on private cloud

Publications (2)

Publication Number Publication Date
CN113268272A true CN113268272A (en) 2021-08-17
CN113268272B CN113268272B (en) 2024-03-01

Family

ID=77233331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110591804.3A Active CN113268272B (en) 2021-05-28 2021-05-28 Application delivery method, device and system based on private cloud

Country Status (1)

Country Link
CN (1) CN113268272B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113704665A (en) * 2021-08-30 2021-11-26 康键信息技术(深圳)有限公司 Dynamic service publishing method, device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108551487A (en) * 2018-04-26 2018-09-18 Oppo广东移动通信有限公司 Application dispositions method, device, server and the storage medium of PaaS platform
CN108574702A (en) * 2017-03-08 2018-09-25 中兴通讯股份有限公司 A kind of cloud application dispositions method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574702A (en) * 2017-03-08 2018-09-25 中兴通讯股份有限公司 A kind of cloud application dispositions method and system
CN108551487A (en) * 2018-04-26 2018-09-18 Oppo广东移动通信有限公司 Application dispositions method, device, server and the storage medium of PaaS platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113704665A (en) * 2021-08-30 2021-11-26 康键信息技术(深圳)有限公司 Dynamic service publishing method, device, electronic equipment and storage medium
CN113704665B (en) * 2021-08-30 2023-10-13 康键信息技术(深圳)有限公司 Dynamic service release method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113268272B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
EP2696532A2 (en) Method, server and system for starting application
CN111459539B (en) Continuous integration pipeline operation method and device based on mirror layering
CN111352653B (en) System development method based on PaaS cloud platform server and server
CN105302563A (en) Plug-in method and system for mobile application service
CN104852971B (en) Plug-in protocol device and data communication method based on plug-in protocol
CN102355500A (en) Business pushing method and device
CN110968331A (en) Method and device for running application program
CN112953908A (en) Network isolation configuration method, device and system
CN111796838A (en) MPP database automatic deployment method and device
CN111679790A (en) Remote software development storage space distribution method and device
CN111510493A (en) Distributed data transmission method and device
CN113360160A (en) Method and device for deploying application, electronic equipment and storage medium
CN113268272B (en) Application delivery method, device and system based on private cloud
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
CN110677443A (en) Data transmitting and receiving method, transmitting end, receiving end, system and storage medium
CN107786367B (en) Virtual network element configuration method and device
CN111367561B (en) Remote development method and device for software program
CN113296742A (en) APP data processing method and device and mobile terminal
CN110427260B (en) Host job scheduling method, device and system
CN112396511A (en) Distributed wind control variable data processing method, device and system
CN112559158A (en) Micro-service timing task scheduling method and device
CN104581695A (en) Mobile terminal configuration method and system
CN113452776B (en) PaaS platform service scheduling method and device and PaaS platform
CN113535558A (en) Software version transmission method and device
CN113765983A (en) Site service deployment method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant