Deployment system and deployment method of application program

An application program and business technology, applied in the direction of transmission system, program control device, program loading/starting, etc., can solve the problems of inconvenient container resource management and inability to deploy container resources at the same time

Inactive Publication Date: 2016-08-17
LETV CLOUD COMPUTING CO LTD
View PDF7 Cites 42 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides an application deployment system and a deployment method, which are used to solve the current process of deploying container resources on physical nodes through docker. Deploying container resources, and the problem of inconvenient container resource management for various businesses

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Deployment system and deployment method of application program
  • Deployment system and deployment method of application program
  • Deployment system and deployment method of application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] Since an APP can contain multiple services, for example, an instant messaging APP includes a taxi service, etc., for the convenience of description, refer to figure 1 As shown, in the embodiment of the present invention, taking any APP business as an example, the process of deploying the application program according to the generated business container image includes:

[0032] Step 100: Create a Service corresponding to any business included in any APP; wherein, the Service is used to represent a set of service containers corresponding to any business.

[0033] In the embodiment of the present invention, a Service corresponding to any one of the services is created; wherein, the Service includes multiple service container resources (containers) that provide the same service, and one Service corresponds to one image. Therefore, the multiple services contained in the Service Business container resources use the same image.

[0034] Optionally, when creating the Service, ...

Embodiment 2

[0056] In the embodiment of the present invention, before deploying service container resources through the Service, it is necessary to create a service container image.

[0057] refer to figure 2 As shown, in the embodiment of the present invention, the process of starting a business container image includes:

[0058] Step 200: Create tasks through the continuous integration system.

[0059] In the embodiment of the present invention, a service container image is created through git and a continuous integration system (Jenkins).

[0060] Optionally, use git as the source code version control software of the project. The git creates two branches for the project by default, namely the Master branch and the Develop branch. The Master branch is the main branch, which includes reliable code and the Develop branch. The branch is the secondary branch, which contains the code in the testing phase. Since the code contained in the Develop branch can be developed by many people, the ...

Embodiment 3

[0073] Based on the harbor system, see Figure 5 As shown, in the embodiment of the present invention, the process of upgrading the harbor system includes:

[0074] Step 500: the harbor system receives a system upgrade instruction.

[0075] In the embodiment of the present invention, the harbor system can receive the system upgrade instruction sent by the user, and detect whether the local system version is the latest version, and if it is not the latest version, start the system upgrade operation; wherein, there may be a harbor system application server , the harbor system application server is used to save the harbor system application and the corresponding version number of the harbor system application.

[0076] Optionally, the harbor system may receive a system upgrade instruction sent by the harbor system application server, and perform a system upgrade operation according to the system upgrade instruction.

[0077] Step 510: The harbor system obtains the configuration...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a deployment system and a deployment method of an application program. In a process that container resources are deployed for each physical node in a cluster, firstly, Service corresponding to each piece of business is created by aiming at the business, the container resources are deployed to each physical node in the cluster through the Service, so that each piece of container resource can know the business corresponding to the container resource, and logical grouping is realized on an aspect of business so as to bring convenience for managing the container resources. In addition, the configuration parameters of the Service contain a container amount and a container mirror image, the simultaneous deployment of all physical nodes can be realized according to the container amount through the characteristics of the container mirror image in docker, time for deploying the container resources in the cluster is shortened, and efficiency for deploying the container resources is improved.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technology applications, and in particular to an application deployment system and deployment method. Background technique [0002] Docker is an open source business container engine. Developers can package applications and dependent environments into a portable business container (container), and then publish the packaged applications and dependent environments into a portable business container to any On Linux machines, virtualization is also possible. [0003] At present, when executing any business, the business can be allocated to the physical nodes in the cluster, the physical nodes contain deployed container resources, and the physical nodes execute the arbitrary business through the container resources Task. [0004] Under the existing technology, during the deployment process of container resources, Docker can easily create and deploy container resources on a single physica...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
CPCG06F9/445H04L41/5051
Inventor 张杰李超
Owner LETV CLOUD COMPUTING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products