Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Microservice application arrangement and deployment method and device and computer terminal

A computer terminal and application deployment technology, applied in the container field, can solve problems such as difficulty in starting the sequence, and achieve the effect of lowering the threshold of use

Active Publication Date: 2018-11-06
万惠投资管理有限公司
View PDF5 Cites 53 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (2) It is quite difficult to specify the startup sequence between microservice applications and their dependent components
For example, application A depends on application B, and application B depends on application C and application D. The correct startup sequence should be to start application C and application D first, then start application B, and finally start application A, but actually based on the above arrangement It is difficult for technology to achieve the above startup sequence

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
  • Microservice application arrangement and deployment method and device and computer terminal
  • Microservice application arrangement and deployment method and device and computer terminal
  • Microservice application arrangement and deployment method and device and computer terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] figure 1 It is a schematic flow diagram of a microservice application orchestration and deployment method proposed in the first embodiment of the present invention. The microservice application orchestration and deployment methods include:

[0055] Step S110: Read a pre-stored dependency tree of a microservice application.

[0056] When deploying a new microservice application, read the dependency tree of the microservice application that has been stored in the database, and analyze the read dependency tree to obtain information about all nodes in the dependency tree and all The connection relationship between nodes.

[0057] Step S120, traverse all nodes in the dependency tree according to preset rules and determine the startup sequence of all nodes.

[0058] Such as figure 2 As shown, microservice application 1 relies on microservice application 2, cache, database 1, and database 2, microservice application 2 relies on microservice application 3, self-service distributed ve...

Embodiment 2

[0101] Figure 4 This is a schematic flow diagram of a microservice application orchestration and deployment method proposed in the second embodiment of the present invention.

[0102] Step S210: Obtain basic information of the microservice application.

[0103] Step S220: Determine whether the microservice application depends on other applications.

[0104] In this embodiment, the other applications include intermediate components and other microservice applications. If the microservice application depends on other applications, proceed to step S230; if the microservice application does not depend on other applications, proceed to step S270.

[0105] Step S230: Construct and store a dependency relationship tree according to the dependency relationship of the microservice application.

[0106] E.g, figure 2 The dependency between the microservice application 1 and the intermediate components and other microservice applications shown in.

[0107] When there is a dependency relationship ...

Embodiment 3

[0143] Image 6 It is a schematic structural diagram of a microservice application orchestration and deployment apparatus proposed by an embodiment of the present invention. The microservice application orchestration and deployment device 10 includes: a reading module 110, a traversal module 120, and a deployment module 130.

[0144] The reading module 110 is configured to read a pre-stored dependency tree of a microservice application, where the microservice application is the root node of the dependency tree.

[0145] The traversal module 120 is configured to traverse all nodes in the dependency tree according to preset rules and determine the startup sequence of all nodes.

[0146] The deployment module 130 is configured to deploy applications corresponding to all nodes to the operating environment according to the startup sequence, so as to complete the deployment of the microservice application.

[0147] This embodiment also proposes a computer terminal. The computer terminal inc...

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 invention provides a microservice application arrangement and deployment method and device and a computer terminal. The method comprises the steps of reading a dependency tree of a pre-stored microservice application, wherein the microservice application is a root node of the dependency tree; traversing all nodes in the dependency tree according to a preset rule and determining a starting sequence of all nodes; and deploying applications corresponding to all nodes to an operation environment according to the starting sequence, thereby finishing deploying the microservice application. According to the method, the device and the computer terminal, the condition that a user directly writes a complex program to realize the arrangement and deployment of the applications is avoided, a plurality of sets of environments for operating microservice are set up rapidly, the continuous integration, continuous delivery and continuous deployment are facilitated, all applications are deployed through a key, and a technical level of an enterprise is improved.

Description

Technical field [0001] The invention relates to the technical field of containers, in particular to a method, device and computer terminal for microservice application arrangement and deployment. Background technique [0002] In recent years, many Internet companies have begun to fully implement the "microservice" architecture. The original complex single business system has been split into multiple microservice applications. The problems it brings are also obvious, including the sharp increase in the number of microservice applications and the complexity The configuration and the intricacies of the dependencies between microservice applications. On the other hand, due to multi-person collaborative development, continuous product updates, and accelerated iteration speeds, development, testing, and operation and maintenance all need to quickly build a use environment. Traditional operation and maintenance methods need to prepare a machine (either a physical machine or a virtual m...

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
IPC IPC(8): G06F8/60G06F8/65G06F9/455
CPCG06F8/60G06F8/65G06F9/45558G06F2009/45562
Inventor 王剑文容赜许汝全陈闻捷
Owner 万惠投资管理有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products