CN109951384A - A kind of application method of API gateway system flexible management - Google Patents

A kind of application method of API gateway system flexible management Download PDF

Info

Publication number
CN109951384A
CN109951384A CN201910066577.5A CN201910066577A CN109951384A CN 109951384 A CN109951384 A CN 109951384A CN 201910066577 A CN201910066577 A CN 201910066577A CN 109951384 A CN109951384 A CN 109951384A
Authority
CN
China
Prior art keywords
interface
programming
api gateway
module
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910066577.5A
Other languages
Chinese (zh)
Inventor
张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Bangqu Data Service Co Ltd
Original Assignee
Wuxi Bangqu Data Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Bangqu Data Service Co Ltd filed Critical Wuxi Bangqu Data Service Co Ltd
Priority to CN201910066577.5A priority Critical patent/CN109951384A/en
Publication of CN109951384A publication Critical patent/CN109951384A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of application methods of API gateway system flexible management, method includes the following steps: step 1: preset interface, step 2: grammer selection, step 3: container programming, step 4: step 5: gateway is added in programming and testing.The present invention in API gateway by increasing interface container module, it can flexibly create, modification, delete interface, meet the fast-changing demand of various terminals, without changing back-end services, online lightweight programming is carried out by interface container, solves flexibility problem, and it can effectively repair because of crash issue caused by interface, by using the API gateway service of interface container, the maintenance work of back-end services can be greatly reduced, in fast-changing demand, the service responded at any time can be provided for front end by the interface service of interface container, reduce development cost, improve development efficiency, promotion maintenance response speed plays the role of huge.

Description

A kind of application method of API gateway system flexible management
Technical field
The present invention relates to API gateway systems technology field, specially a kind of user of API gateway system flexible management Method.
Background technique
Modern IT Technology framework, the service ability of API more and more prominent and open demand, API gateway is as servicing only One entrance is responsible for global effect, it may also have other responsibilities, such as authentication, monitoring, load balancing, caching, request Fragment and management, steady-error coefficient processing.
Current API gateway, is only able to satisfy basic authentication, flow control, the basic services such as API request monitoring, Flexible row is insufficient, entirely as the request terminal of rear end, API gateway cannot be made to be applied to more fields.
Summary of the invention
The purpose of the present invention is to provide a kind of application methods of API gateway system flexible management, to solve above-mentioned background The problem of being proposed in technology.
1. to achieve the above object, the invention provides the following technical scheme: a kind of use of API gateway system flexible management Method, it is characterised in that: method includes the following steps:
Step 1: the interface for the data exchange processing that several needs carry out preset interface: is created first.
Step 2: grammer selection: selecting the container environment that can suitably carry programming in the interface, completes grammer and matches It sets;
Step 3: container programming: by specifying grammer, functional Expansion development is carried out;
Step 4: programming and testing: feasibility analysis is carried out to the programming editted in step 1, is modified in analysis Improved code is needed, so that programming is more perfect, stablizes each interface;
Step 5: be added gateway: added in the API gateway in prior art by step 4 complete new interface row at New API gateway version.
Preferably, the programming of the default programming include user request end connect with new API gateway end data adjustment programming, The adjustment programming that new API gateway end is connect with back-end services end data, wherein user request end is connect with new API gateway end data Adjustment programming.
Preferably, it is object that the Analysis of programming, which is by the program that computer language is write, to the running stream of its inside Cheng Jinhang analysis holds the operational process of program, thus more by the call relation between modules inside program on the whole Prehension program well therefrom draws valuable content, passes through information when tracking or operation to Key Functions in program Statistics, finds the bottleneck of system performance, so that further action be taken to optimize program, passes through some special data structures Make a test case, then by the function calling relationship analyzed and operation when actual function calling relationship compare, To find out the position of error code.
Preferably, the new API gateway includes authority management module, flow-control module, interface monitoring module, loads Weigh module, secret key management module and alarming and managing module.
Preferably, the authority management module, the flow-control module, the interface monitoring module, the load are equal Weighing apparatus module, the secret key management module and the alarming and managing module pass through programming and realize.
Compared with prior art, the beneficial effects of the present invention are: the present invention in API gateway by increasing interface container mould Block can be created flexibly, modifies, delete interface, meet the fast-changing demand of various terminals, without changing back-end services, Online lightweight programming is carried out by interface container, solves flexibility problem, and can effectively be repaired because interface causes Crash issue the maintenance work of back-end services can be greatly reduced by using the API gateway service of interface container, In fast-changing demand, the service responded at any time can be provided for front end by the interface service of interface container, develop to reducing Cost, improves development efficiency, and promotion maintenance response speed plays the role of huge.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will be described below to embodiment required Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is new API gateway system schematic;
Fig. 2 is new API gateway work flow diagram.
Specific embodiment
Technical solution of the present invention is described in further detail with reference to the accompanying drawing, but protection scope of the present invention is not limited to It is as described below.Any feature disclosed in this specification (including any accessory claim-abstract and attached drawing), except non-specifically chatting It states, can be replaced by other alternative features that are equivalent or have similar purpose.That is, unless specifically stated, each feature is only It is an example in a series of equivalent or similar characteristics.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear-complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Before embodiment is described, need to explain some necessary terms.Such as:
If occurring describing various elements using terms such as " first "-" second " in the application, but these elements are not answered It is limited when by these terms.These terms are only used to distinguish an element and another element.Therefore, discussed below " first " element can also be referred to as " second " element without departing from the teachings of the present invention.It should be understood that if referring to unitary Part " connection " perhaps " coupled " to another element when it can be directly connected or be directly coupled to another element or can also With there are intermediary elements.On the contrary, when referring to an element being " directly connected " or " directly coupled " to another element, then not There are intermediary elements.
The various terms occurred in this application are used only for the purpose of description specific embodiment and are not intended as pair Restriction of the invention, unless the context clearly indicates otherwise, otherwise singular intention also includes plural form.
When the terms " comprising " and/or " comprising " are used in this specification, it is whole to specify the feature-for these terms The presence of body-step-operation-element and/or component, but also it is not excluded for more than one other feature-entirety-step-operation- The presence of element-component and/or its group and/or additional.
Embodiment
Fig. 1 to Fig. 2 is please referred to, the invention provides the following technical scheme: a kind of user of API gateway system flexible management Method, method includes the following steps:
Step 1: preset interface: creating the interface for the data exchange processing that several needs carry out first, can be according to mesh Preceding existing interface connection type needs several programs of the data exchange processing carried out to work out, and API gateway is gear in institute There is a hyaline layer before micro services, is the exclusive node that request enters system, is based on this point, on the one hand solves and exchange With the system boundary problem of the hiding micro services in side, on the other hand it is responsible for service request routing and protocol conversion, the programming energy of setting So that API gateway is quickly regulated and controled each interface connection, realizes fast data exchange and other processing functions.
Step 2: grammer selection: selecting the container environment that can suitably carry programming in the interface, completes grammer and matches It sets, selection can suitably carry the container framework of programming;
Step 3: container programming: by specifying grammer, functional Expansion development is carried out;
Step 4: programming and testing: feasibility analysis is carried out to the programming editted in step 1, is modified in analysis Improved code is needed, so that programming is more perfect, stablizes each interface;
Step 5: be added gateway: added in the API gateway in prior art by step 4 complete new interface row at New API gateway version.
Further, in the above scheme, the programming of the default programming includes user request end and new API gateway end number According to connection adjustment programming, new API gateway end connect with back-end services end data adjustment programming, wherein user request end with newly The connection adjustment programming of API gateway end data.
Further, in the above scheme, it is object that the Analysis of programming, which is by the program that computer language is write, right Its internal operation workflow is analyzed, and by the call relation between modules inside program, holds program on the whole Operational process therefrom draws valuable content to more fully understand program, by tracking to Key Functions in program or The statistics of information, finds the bottleneck of system performance when person runs, so that further action be taken to optimize program, passes through one A little special one test case of data configuration, then by the function calling relationship analyzed and operation when actual function call Relationship compares, to find out the position of error code.
Further, in the above scheme, the new API gateway includes authority management module, flow-control module, interface Monitoring module, load balancing module, secret key management module and alarming and managing module, in the present embodiment by some user request with New API gateway carries out interface service, in interface container, creates an individual interface service, carries out lightweight code programming, The demand of front end can be fully met, the base interface of rear end offer is not provided completely, can also be repaired at any time according to front end demand Change, delete, without disposing and restarting.
Further, in the above scheme, the authority management module, the flow-control module, the interface monitoring Module, the load balancing module, the secret key management module and the alarming and managing module pass through programming and realize.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with A variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understanding And modification, the scope of the present invention is defined by the appended.

Claims (5)

1. a kind of application method of API gateway system flexible management, it is characterised in that: method includes the following steps:
Step 1: the interface for the data exchange processing that several needs carry out preset interface: is created first.
Step 2: grammer selection: selecting the container environment that can suitably carry programming in the interface, completes grammer configuration;
Step 3: container programming: by specifying grammer, functional Expansion development is carried out;
Step 4: programming and testing: feasibility analysis is carried out to the programming editted in step 1, modifies and needs in analysis Improved code stablizes each interface so that programming is more perfect;
Step 5: gateway is added: adds the new interface row Cheng Xin completed by step 4 in the API gateway in prior art API gateway version.
2. a kind of application method of API gateway system flexible management according to claim 1, it is characterised in that: the preset interface Programming include that user request end connect adjustment programming, new API gateway end and back-end services end data with new API gateway end data The adjustment of connection programs, and wherein user request end connect adjustment programming with new API gateway end data.
3. a kind of application method of API gateway system flexible management according to claim 1, it is characterised in that: the Analysis of programming Be by the program that computer language is write it is object, the operation workflow of its inside is analyzed, by each inside program Call relation between module, the operational process for holding program on the whole are therefrom drawn valuable to more fully understand program Content the bottleneck of system performance is found by the statistics of information when tracking or operation to Key Functions in program, thus It takes further action to optimize program, by some special one test cases of data configuration, then will analyze Function calling relationship and operation when actual function calling relationship compare, to find out the position of error code.
4. a kind of application method of API gateway system flexible management according to claim 1, it is characterised in that: the new API gateway Including authority management module, flow-control module, interface monitoring module, load balancing module, secret key management module and alarm pipe Manage module.
5. according to a kind of application method of API gateway system flexible management of claim 4, it is characterised in that: the rights management Module, the flow-control module, the interface monitoring module, the load balancing module, the secret key management module and institute It states alarming and managing module and passes through programming realization.
CN201910066577.5A 2019-01-24 2019-01-24 A kind of application method of API gateway system flexible management Pending CN109951384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910066577.5A CN109951384A (en) 2019-01-24 2019-01-24 A kind of application method of API gateway system flexible management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910066577.5A CN109951384A (en) 2019-01-24 2019-01-24 A kind of application method of API gateway system flexible management

Publications (1)

Publication Number Publication Date
CN109951384A true CN109951384A (en) 2019-06-28

Family

ID=67007414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910066577.5A Pending CN109951384A (en) 2019-01-24 2019-01-24 A kind of application method of API gateway system flexible management

Country Status (1)

Country Link
CN (1) CN109951384A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493067A (en) * 2019-09-05 2019-11-22 中国银联股份有限公司 A kind of method and device that API gateway service updates

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1609792A (en) * 2003-10-24 2005-04-27 微软公司 Programming interface for a computer program
CN101950257A (en) * 2010-09-26 2011-01-19 中兴通讯股份有限公司 Mobile phone application development method and system
CN102662648A (en) * 2012-03-05 2012-09-12 广东天波信息技术股份有限公司 Embedded software development simulation platform of communication terminal and application thereof
EP2740059A4 (en) * 2011-08-04 2015-06-24 Trimble Navigation Ltd Method for improving the performance of browser-based, formula-driven parametric objects
CN105577780A (en) * 2015-12-21 2016-05-11 武汉理工大学 College teaching cloud platform based on micro services
US9652314B2 (en) * 2012-10-15 2017-05-16 Alcatel Lucent Dynamic application programming interface publication for providing web services
CN107612955A (en) * 2016-07-12 2018-01-19 深圳市远行科技股份有限公司 Micro services provide method, apparatus and system
CN108200146A (en) * 2017-12-29 2018-06-22 华南理工大学 A kind of micro services framework implementation method of lightweight
CN108228173A (en) * 2018-01-16 2018-06-29 北明软件有限公司 A kind of visual data-interface development system and method
CN108959076A (en) * 2018-06-25 2018-12-07 浙江网新恒天软件有限公司 A kind of API on-line debugging method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1609792A (en) * 2003-10-24 2005-04-27 微软公司 Programming interface for a computer program
CN101950257A (en) * 2010-09-26 2011-01-19 中兴通讯股份有限公司 Mobile phone application development method and system
EP2740059A4 (en) * 2011-08-04 2015-06-24 Trimble Navigation Ltd Method for improving the performance of browser-based, formula-driven parametric objects
CN102662648A (en) * 2012-03-05 2012-09-12 广东天波信息技术股份有限公司 Embedded software development simulation platform of communication terminal and application thereof
US9652314B2 (en) * 2012-10-15 2017-05-16 Alcatel Lucent Dynamic application programming interface publication for providing web services
CN105577780A (en) * 2015-12-21 2016-05-11 武汉理工大学 College teaching cloud platform based on micro services
CN107612955A (en) * 2016-07-12 2018-01-19 深圳市远行科技股份有限公司 Micro services provide method, apparatus and system
CN108200146A (en) * 2017-12-29 2018-06-22 华南理工大学 A kind of micro services framework implementation method of lightweight
CN108228173A (en) * 2018-01-16 2018-06-29 北明软件有限公司 A kind of visual data-interface development system and method
CN108959076A (en) * 2018-06-25 2018-12-07 浙江网新恒天软件有限公司 A kind of API on-line debugging method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
庄夏: "API网关架构设计", 《信息系统工程》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493067A (en) * 2019-09-05 2019-11-22 中国银联股份有限公司 A kind of method and device that API gateway service updates
CN110493067B (en) * 2019-09-05 2022-02-18 中国银联股份有限公司 Method and device for updating API gateway service

Similar Documents

Publication Publication Date Title
CN101094051B (en) System and method for synchronizing comparison of data consistency
US7099879B2 (en) Real-time monitoring of service performance through the use of relational database calculation clusters
WO2019006654A1 (en) Financial self-service equipment maintenance dispatch generation method, hand-held terminal and electronic device
CN105574082A (en) Storm based stream processing method and system
EP1361761A1 (en) Telecommunications network management system and method for service monitoring
CN104601723B (en) Power Marketing Management System SOA framework based on internal services bus
CN101009004A (en) Warming device and warming method
CN107800565A (en) Method for inspecting, device, system, computer equipment and storage medium
CN108200111A (en) Resource allocation information update method, device and resource interface equipment
Li et al. GSPN-based reliability-aware performance evaluation of IoT services
CN104636878A (en) Dispatching method and device of bank automatic processing task
CN108255467A (en) The method, apparatus and system of service are performed according to workflow sequence
CN113947485A (en) Block chain customizable system
CN108924228B (en) Industrial internet optimization system based on edge calculation
CN111027284B (en) Standardized output method based on flexible data access
CN102130796B (en) Power communication network detecting method based on reverse N-1 analysis and system thereof
CN109951384A (en) A kind of application method of API gateway system flexible management
CN114615096A (en) Telecommunication charging method, system and related equipment based on event-driven architecture
CN102137102B (en) Realizing method of service supporting platform for supporting multiclass information publishing modes
CN115967625A (en) Rapid arranging method based on cloud network API (application programming interface) capability open architecture
CN101754132B (en) White list management system and method as well as business operation support system proxy server
CN105978715A (en) Data access interface uniform management method based on real time data center
CN111708677B (en) Cloud hard disk usage amount acquisition method in cloud computing environment
CN106899504A (en) A kind of method for routing and device across cluster service
TWI762969B (en) Service arrangement and provisioning system for the mobile-fixed convergence network and method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190628

RJ01 Rejection of invention patent application after publication