Service discovery method, device, server and storage medium in a cloud environment

A service discovery, cloud environment technology, applied in the field of server and storage medium, device, and service discovery method in cloud environment, can solve the increase of registration center connection pressure, large operation and maintenance complexity, increase deployment, management and monitoring components pressure and other problems, to achieve the effect of reducing connection pressure, reducing operation and maintenance complexity, and easy maintenance

Active Publication Date: 2020-09-08
BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, using Registrator to discover services requires installing a Registrator service agent for each host. Generally, a cloud environment consists of many hosts, which invisibly increases the pressure on deployment, management, and monitoring components, and brings pressure to the system. Relatively large operation and maintenance complexity
In addition, with the continuous expansion of the service scale, the number of agents will continue to increase, and the connection pressure on the registration center will also continue to increase

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
  • Service discovery method, device, server and storage medium in a cloud environment
  • Service discovery method, device, server and storage medium in a cloud environment
  • Service discovery method, device, server and storage medium in a cloud environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0048] In the existing service discovery method, the way of providing SDK requires the service provider to call the SDK to directly connect to the registration center, so that one service provider needs one SDK, and there may be multiple service providers on one host machine, so in one There will be multiple SDKs on the host machine. There will be multiple host machines providing services in the cloud environment, so there will be a large number...

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 present invention provides a service discovery method, device, server, and storage medium in a cloud environment. The method includes: monitoring container orchestration tools, obtaining change information corresponding to container nodes installed in all host machines in the cloud environment, and determining The identity of the service provider corresponding to the changed container node; sending the change information and the identity of the service provider to the registration center to instruct the registration center to The node information corresponding to the service provider is updated. The present invention does not need to install an agent in the host computer where each service provider is located, greatly reduces the connection pressure of the registration center, is easier to maintain, and reduces the complexity of operation and maintenance.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a service discovery method, device, server and storage medium in a cloud environment. Background technique [0002] The cloud-based microservice architecture has become an important reference for technology selection of current enterprises, especially Internet enterprises. The service discovery module is one of the important modules in the microservice architecture design. There are two main ways for the current service discovery module to discover service nodes. One is to provide SDK (Software Development Kit, software development kit), The service provider calls the SDK to directly connect to the registration center (such as zookeeper, etcd or consul), which puts a lot of connection pressure on the registration center; another way is to install an agent on the host where the container node is located, and the agent will report in a unified manner The informatio...

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 Patents(China)
IPC IPC(8): H04L29/08H04L12/24
CPCH04L41/082H04L67/34H04L67/51H04L67/56
Inventor 姚远王宇博徐上谋
Owner BEIJING CHENGSHI WANGLIN INFORMATION TECH 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