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

A technology for service discovery and cloud environment, applied in the field of devices, service discovery methods in cloud environment, servers and storage media, can solve the increase of registration center connection pressure, increase the pressure of deployment, management and monitoring components, and complex operation and maintenance It can reduce the connection pressure, reduce the complexity of operation and maintenance, and be easy to maintain.

Active Publication Date: 2019-04-16
BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD
View PDF5 Cites 3 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 and device in cloud environment, server, and storage medium
  • Service discovery method and device in cloud environment, server, and storage medium
  • Service discovery method and device in cloud environment, server, and storage medium

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 invention provides a service discovery method and device in a cloud environment, a server, and a storage medium. The method comprises the following steps: listening to a container orchestration tool, obtaining change information corresponding to container nodes of all hosts installed in the cloud environment, determining identifiers of service providers corresponding to the changed container nodes; and sending the change information and the identifiers of the service providers to the registration center, to indicate the registration center to update the node information corresponding to the service providers according to the change information and the identifiers of the service providers. The invention does not need to install an agent in the host where each service provider is located, which greatly reduces the connection pressure of the registration center, is easier to maintain, and reduces the operation and maintenance complexity.

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
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