Asymmetric service discovery method and device

A service discovery and asymmetric technology, applied in the field of communication, can solve problems such as inability to accurately obtain service instances, different data, etc.

Active Publication Date: 2022-02-11
ALIBABA (CHINA) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, for asymmetric services, the data stored in each service node is different, and the service instance cannot be accurately obtained through the load balancing algorithm. Therefore, a discovery method applied to asymmetric services is urgently needed

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
  • Asymmetric service discovery method and device
  • Asymmetric service discovery method and device
  • Asymmetric service discovery method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0066] figure 1 An asymmetric service discovery system provided by an embodiment of the present invention. Such as figure 1 As shown, the system includes: a management node, a registration node, a routing node and multiple service nodes, such as service node A, service node B... service node E, service node F. Wherein, the data stored in each s...

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

An embodiment of the present invention provides an asymmetric service discovery method and device, the method comprising: the routing node obtains a group routing table according to the field to which the query content corresponding to the query statement belongs, and the service nodes belonging to the same group are stored in the group routing table The service nodes belonging to the same group provide service instances in the same domain; the routing node obtains the corresponding hash value of the query statement according to the hash routing table corresponding to the group routing table and the hash value corresponding to the query statement. The target service node, the hash routing table stores the hash range of each service node in the packet routing table; the routing node finds the service instance corresponding to the query statement according to the target service node, and Quickly and accurately obtain asymmetric service nodes.

Description

technical field [0001] Embodiments of the present invention relate to communication technologies, and in particular to an asymmetric service discovery method and device. Background technique [0002] In cloud-based microservice applications, the network addresses of service instances are dynamically allocated, and because the system can automatically adjust the size and upgrades and other factors, the number of running instances of the service is also dynamically changed. Therefore, the client needs to use a very fine-grained and accurate service discovery mechanism to obtain service instances. [0003] Among existing service discovery mechanisms, one discovery mechanism is a client discovery mechanism. In the specific implementation process, when using the client discovery method, the client obtains the actual network address (IP address and port number) of the available service by querying the service registration center. The network address can provide multiple service ...

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): H04L67/51H04L45/7453
CPCH04L45/7453H04L67/51
Inventor 李宁
Owner ALIBABA (CHINA) 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