API gateway configuration method and API gateway system
A configuration method and gateway technology, applied in the field of API gateway configuration and API gateway system, can solve problems such as inconvenience to change interfaces and inability to request multiple interfaces at a time, so as to reduce the number of network handshakes, reduce repetitive work, and improve performance Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] see figure 1 , figure 1 It is a schematic flow diagram of a method for configuring an API gateway according to an embodiment of the present invention; the method includes the following steps:
[0042] S100: the server defines multiple API gateway interfaces and corresponding processing functions;
[0043] Specifically, the server defines each API gateway interface, including defining the first parameter and the second parameter, wherein the first parameter is the field cmd, and the field cmd is used to identify the processing function corresponding to the sub-request information; the second The parameter is the field index, which is used to identify the mapping parameter of the result returned by the server received by the client; in addition, the server also defines a third parameter for each API gateway interface, and the third parameter is the field body, which is used It is used to store the processing functions of each API gateway interface. For example, the inte...
Embodiment 2
[0078] image 3 For a schematic structural diagram of an API gateway system according to an embodiment of the present invention, see image 3 , including server and client, to do the following:
[0079] The server defines multiple API gateway interfaces and their corresponding processing functions;
[0080] The client sends a request message to the server;
[0081] Wherein, the request information includes a plurality of sub-request information, each sub-request information includes a first parameter and a second parameter, the first parameter is used to identify the processing function corresponding to the sub-request information, and the second parameter is used to identify The mapping parameter of the result returned by the server;
[0082] In response to the request information, the server determines the processing function corresponding to the sub-request information according to the first parameter in each sub-request information, assigns the sub-request information t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com