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

Data processing method and device for front-end gateway

A data processing device and data processing technology, applied in the field of data processing, can solve the problems of back-end gateway pressure, inability to be universal, inability to record logs, etc., and achieve the effect of reducing the large amount of data and avoiding data processing.

Inactive Publication Date: 2021-04-16
AISPEECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the process of implementing this application, the inventor found at least the following problems in the prior art solutions: 1. The current operation of adapting the front-end from the back-end cannot be universal; for example, the front-end requires a certain huge amount of data , this data comes from various data tables. Considering the decoupling of services, the back-end generally does not aggregate these data together. Therefore, the front-end needs to request multiple APIs, and then the front-end combines the data. In the business logic, There will be a lot of data combination codes; 2. No matter what kind of request, all API authentication on the front end passes through the back-end gateway, causing pressure on the back-end gateway; 3. The front-end cannot record logs, because all requests are directly sent to The back-end service is up, and there is no middle layer to record the front-end requests and operations, which makes it very difficult to query the front-end problems

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
  • Data processing method and device for front-end gateway
  • Data processing method and device for front-end gateway
  • Data processing method and device for front-end gateway

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] 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.

[0019] see figure 1 , which shows a flowchart of an embodiment of the data processing method for the front-end gateway of the present application.

[0020] Such as figure 1 As shown, in step 101, in response to obtaining the first request of the front-end application, analyze the request and determine whether the first request needs to obtain co...

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 data processing method and device for a front-end gateway, and the method comprises the steps: responding to a first request for obtaining a front-end application, analyzing the request, and judging whether the first request needs to obtain combined return data or not; if the first request needs to obtain the combined return data, sending a plurality of second requests split by the first request to a plurality of back-end services; and in response to obtaining a plurality of pieces of return data returned by the plurality of back-end services based on the plurality of second requests, aggregating the plurality of pieces of return data to obtain aggregated data, and feeding back the aggregated data to the front-end application. The returned data fed back by the back-end service is aggregated through the front-end gateway, so that the front-end application can directly acquire the aggregated data from the front-end gateway, and the operation of decoupling the data and the service due to the fact that data processing needs to be performed in service logic is avoided.

Description

technical field [0001] The invention belongs to the technical field of data processing, and in particular relates to a data processing method and device for a front-end gateway. Background technique [0002] In related technologies, the concept of the front-end gateway is borrowed from the back-end API gateway. At present, in team projects, more front-end and back-end separation projects are used, so most of the implementation routes are to combine the front-end with the back-end for specific projects. , to achieve specific functions, such as data aggregation, authentication operations, etc. [0003] However, in the process of implementing this application, the inventor found at least the following problems in the prior art solutions: 1. The current operation of adapting the front-end from the back-end cannot be universal; for example, the front-end requires a certain huge amount of data , this data comes from various data tables. Considering the decoupling of services, the...

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
IPC IPC(8): G06F16/958G06F16/25G06F16/2455G06F9/445G06F9/448
Inventor 张波刘振
Owner AISPEECH CO LTD
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