Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for implementing protocol conversion by API gateway

A protocol conversion and gateway technology, applied in the field of distributed systems, to meet the needs of complex and diverse business, improve reliability and stability, and simplify business logic

Inactive Publication Date: 2018-12-11
SICHUAN PANOVASIC TECH
View PDF2 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to overcome the shortcomings in the above-mentioned background technology and provide a method for API gateway to realize protocol conversion. This method is suitable for systems that adopt cluster and / or distributed design, and can realize the adaptation of API gateway to various microservices. terminal, which is conducive to the realization of microservice integration of heterogeneous complex systems, and also helps to simplify the business logic of the terminal APP, so that it not only meets the needs of complex and diverse business, but also reduces the complexity of the terminal APP, which is beneficial to the system as a whole The language is also a big improvement, which improves the overall reliability and stability of the system

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 implementing protocol conversion by API gateway

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0032] like figure 1 As shown, a method for API gateway to implement protocol conversion, the method can be applied to micro-service architecture, and can be applied to data centers such as distributed computing platforms, cloud computing platforms, etc. Specifically, the method mainly includes the following steps:

[0033] Step 101, the terminal APP accesses the API gateway.

[0034] The terminal APP in this embodiment is software installed on terminal devices such as personal computers, smart phones, and tablet computers. The above-mentioned terminal APP initiates an access request to the API gateway through the Internet.

[0035] Specifically, the API gateway refers to the API gateway service in the microservice architecture, which is a unified entrance for all microservice access. Moreover, the initiated access request also includes authentication information and service information of the terminal user, specifically including user name, password, token, valid time of tok...

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 discloses a method for implementing protocol conversion by API gateway, comprising the following steps: A. a terminal APP initiates an access request to the API gateway; B. the API gateway parses the request information; C, whether the access request needs to be converted is judged according to the analysis result in the step B, if so, entering the step D, otherwise, entering the step H; D. the access request is converted and entering the step E; E, the converted request information is routed to the back-end micro-service and entering the step F; F. the back-end micro-service process the access request and return the result to the API gateway to enter the step G; G, the received result information is converted to enter the step J; H. the requested information is routed to theback-end micro service; I. the back-end micro-service processes the access request and returns the result to the API gateway to enter the step J; J. the result information is returned to the terminalAPP. The method of the invention can enable the API gateway to be adapted to a plurality of micro-service back ends, and is favorable for realizing micro-service integration of heterogeneous complexsystems.

Description

technical field [0001] The invention relates to the technical field of distributed systems of computer software, in particular to a method for implementing protocol conversion by an API gateway. Background technique [0002] With the continuous deepening of the mobile Internet, more and more companies and enterprises have gradually begun to face the Internet, and migrate customer-oriented services and businesses online. When developing these online businesses, as the number of customers continues to increase, the structure of the business platform is also constantly changing and evolving. Gradually transforming from the early monolithic application architecture to the microservice architecture, clustering and distribution have also become standard technologies. [0003] In the process of building the basic platform of the microservice architecture, the API gateway is one of the essential core components. An API gateway provides a unified interface for a set of microservice...

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/06H04M1/725H04L29/08H04L12/66
CPCH04L12/66H04L69/08H04M1/72403H04L67/51
Inventor 李强王凤琴
Owner SICHUAN PANOVASIC TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products