Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for forwarding service request by gateway node and gateway node

A gateway node and service request technology, applied in transmission systems, electrical components, etc., can solve problems such as not considering the back-end service registration of various service registration centers, incompatibility, and different service discovery mechanisms

Active Publication Date: 2019-10-25
普信恒业科技发展(北京)有限公司
View PDF9 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, different types of registries implement different service discovery mechanisms
However, the existing gateway nodes only support the forwarding of service requests through a default type of registration center at runtime.
It does not consider the situation that the back-end service is registered in a variety of different service registration centers, resulting in the back-end services under different platforms or systems need to be migrated to the registration center of the same gateway node before they can be accessed through the gateway node
However, the migration of back-end services not only increases the development cost, but also has the problem of incompatibility

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 for forwarding service request by gateway node and gateway node
  • Method for forwarding service request by gateway node and gateway node
  • Method for forwarding service request by gateway node and gateway node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0045]In this application, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes none. other elements specifically listed, or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comp...

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 method for forwarding a service request by a gateway node. The method comprises the following steps: a gateway node receiving the service request sent by a client; wherein thegateway node is from a plurality of service lists through a routing locator; searching a service ID corresponding to the path of the service request; wherein the service list comprises a plurality ofservice IDs and address information of a plurality of back-end services corresponding to each service ID, the service list is uniformly packaged in advance according to an interface rule of the routing locator and is cached in the gateway node, and different service lists are provided by different types of registration centers; and the gateway node calling a load balancer to determine one back-end service from a plurality of back-end services corresponding to the service ID based on a load balancing strategy, and forwarding the service request to the back-end service based on the address information of the back-end service. In one gateway node, service requests are forwarded based on service discovery mechanisms of different types of registration centers at the same time.

Description

technical field [0001] The invention relates to the technical field of request forwarding, in particular to a method for a gateway node forwarding a service request and the gateway node. Background technique [0002] Under the cloud microservice architecture, the separation of front-end and back-end is usually achieved through gateway nodes. Because, in the cloud microservice architecture, the network location of the backend service of the gateway node is dynamically allocated. Also, backend services are subject to frequent changes due to needs such as expansion, failure, and upgrades. Therefore, in the cloud microservice architecture, service discovery will be realized through the registration center. [0003] When the back-end service is enabled, it needs to register its own information in the registration center, generate a service list, and provide it to the gateway node. After receiving the service request sent by the client, the gateway node selects a backend servic...

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): H04L29/08
CPCH04L67/1004H04L67/52H04L67/60
Inventor 王佩华谢国辉冯永彪
Owner 普信恒业科技发展(北京)有限公司