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

Microservice-based request forwarding method and device and server

A forwarding method and microservice technology, applied in the field of microservices, can solve problems such as low efficiency, achieve high efficiency and improve availability

Active Publication Date: 2019-03-01
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, at present, when the network between its own microservice and the target microservice fails, manual intervention is required to execute the network request normally, which is inefficient

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
  • Microservice-based request forwarding method and device and server
  • Microservice-based request forwarding method and device and server
  • Microservice-based request forwarding method and device and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present application, and are not construed as limiting the present application.

[0045] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof.

[0046] Those 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

The application provides a microservice-based request forwarding method and device and a server. The method includes the following steps: if a current microservice fails to send an original request toa target microservice, acquiring a pre-built directed graph for describing a dependency relationship between the microservices; obtaining a plurality of shortest paths between the current microservice and the target microservice according to the directed graph; determining a plurality of normally connected paths from the shortest paths, and selecting one path from the plurality of normally connected paths; and based on the selected path, sending the original request from the current microservice to the target microservice. According to the embodiment of the invention, a network request can benormally executed without manual intervention when the network fails, and thus the efficiency can be improved.

Description

technical field [0001] The present application relates to the technical field of microservices, and in particular, the present application relates to a request forwarding method, device and server based on microservices. Background technique [0002] At present, microservices are becoming more and more popular. Each microservice runs as a separate service. They may be distributed on multiple interfaces of multiple machines, and each microservice interacts with each other through network communication. In the case of extensive use of microservices, the connectivity between microservices becomes an important indicator of whether the entire system can work normally. In reality, especially in the cloud environment, the network often experiences local or massive fluctuations. In addition, in the case of cross-computer rooms, the connectivity of the network becomes an important part of whether the request can be successfully executed. However, at present, when the network between...

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): H04L12/721H04L12/729H04L12/24H04L45/125
CPCH04L41/50H04L45/12H04L45/125
Inventor 秦岭周晶
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN