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

A method for realizing data preprocessing in an API gateway

A data preprocessing and gateway technology, applied in the field of distributed systems, can solve problems such as the difficulty of microservices, achieve the effects of improving reliability and stability, facilitating simplification and function distribution, and simplifying business logic

Active Publication Date: 2019-01-08
SICHUAN PANOVASIC TECH
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method is difficult to transform existing microservices, and the variety of microservices is the original ecology of the current IT industry. Therefore, it is not a good way to transform all microservices into a unified data format standard Adapt to the actual situation and solve the problems encountered in the current practice

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
  • A method for realizing data preprocessing in an API gateway

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0025] Such as figure 1 As shown, a method for implementing data preprocessing in an API gateway, the method can be applied to a microservice architecture, and can be applied to data centers such as distributed computing platforms and cloud computing platforms. The method mainly includes the following steps:

[0026] In step 101, the API gateway extracts data from the HTTP request message.

[0027] Specifically, the HTTP request is a request from a terminal APP. The terminal APP 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.

[0028] Specifically, the API gateway in this embodiment refers to the API gateway service in the microservice architecture, which is a unified entrance for all microservices to access.

[0029] The data extraction specifically means that after the API gateway obtains the HTTP request, it parses ...

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 realizing data preprocessing in an API gateway. The method comprises the following steps: A. extracting message data from the HTTP request message by the API gateway; B. decoding and deserializing that message data; C. formatting the message data according to the type of the message data and converting the message data into a corresponding format; D, correctingthe data formatted in the step C by use a user-defined dictionary, and correcting errors in the data; E. supplementing missing data with corrected data in a manner that is agreed upon to be superiorto configuration; F. comparing data and removing duplicate data; G. combining or splitting the data; H. reserializing that data for transmission through the network. The method of the invention enables the micro service without unified transformation to receive data directly through unified pretreatment of data, which is helpful to simplify the service logic of the back-end micro service and the service logic of the front-end development. The invention also discloses a method for simplifying the service logic of the back-end micro service.

Description

technical field [0001] The invention relates to the technical field of distributed systems of computer software, in particular to a method for realizing data preprocessing in 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 microservices so...

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/66H04L29/08G06F16/00
CPCH04L12/66H04L67/02H04L67/565
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