Method, device and equipment for starting service between micro-service containers and storage medium

A storage medium and startup device technology, applied in the network field, can solve the problems of low startup efficiency of microservices, and achieve the effect of improving accuracy and startup efficiency

Pending Publication Date: 2020-10-09
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a service startup method, device, device and storage medium between microservice containers, aiming to solve the technical problem of low microservice startup efficiency in the prior art when there are multiple microservices in the system

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
  • Method, device and equipment for starting service between micro-service containers and storage medium
  • Method, device and equipment for starting service between micro-service containers and storage medium
  • Method, device and equipment for starting service between micro-service containers and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0049] refer to figure 1 , figure 1 It is a schematic structural diagram of a service startup device between microservice containers in the hardware operating environment involved in the solution of the embodiment of the present invention.

[0050] Such as figure 1 As shown, the service startup device between microservice containers may include: a processor 1001 , such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display). The optional user interface 1003 may also include a standard wired interface and a wireless interface. The wired interfac...

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 discloses a method, a device and equipment for starting the service between micro-service containers and a storage medium. According to the method, the method comprises the steps of arranging a micro-service architecture system through a preset container arrangement algorithm, configuring the micro-service dependency relationship in a preset file of the micro-service architecture system, and configuring the dependency relationship among a plurality of micro-services based on the micro-service architecture system, thereby improving the accuracy of a micro-service starting sequence; according to the micro-service dependency relationship in the preset file, obtaining the micro-service dependency relationship, obtaining a plurality of first micro services of the independent microservice container, registering the first micro-service in a preset registration center, obtaining registered micro-services, acquiring a plurality of second micro-services which are not started, judging whether to start the second micro-services or not according to the micro-service dependency relationship and the registered micro-services, and performing deployment environment configuration, deployment and service starting on each micro-service according to the micro-service dependency sequence based on research and development management, so that complicated operation is not needed, and themicro-service starting efficiency is improved.

Description

technical field [0001] The present invention relates to the field of network technology, in particular to a method, device, device and storage medium for starting a service between microservice containers. Background technique [0002] Many systems adopt a microservice architecture, and many functions are divided into microservices. Many microservices are together, and the order is uncertain when starting. The startup of some microservices depends on the normal startup of the database service and requires the initialization of the database table to be completed; or it depends on another microservice, which can only be started successfully after the startup of another microservice is completed. Although container orchestration (Docker-compose) has dependency settings, it is aimed at the monitoring of service ports. In fact, when a Tomcat (tomcat) container starts, its service port will take effect, but the application under its port is still starting. Just resolve dependen...

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/445G06F16/953H04L29/08
CPCG06F9/44505G06F9/445G06F16/953H04L67/51
Inventor 刘明东
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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