CN109151091B - API gateway service supporting dubbo protocol calling - Google Patents

API gateway service supporting dubbo protocol calling Download PDF

Info

Publication number
CN109151091B
CN109151091B CN201811106526.2A CN201811106526A CN109151091B CN 109151091 B CN109151091 B CN 109151091B CN 201811106526 A CN201811106526 A CN 201811106526A CN 109151091 B CN109151091 B CN 109151091B
Authority
CN
China
Prior art keywords
gateway service
api
service platform
dubbo
gateway
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.)
Active
Application number
CN201811106526.2A
Other languages
Chinese (zh)
Other versions
CN109151091A (en
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.)
Linewell Software Co Ltd
Original Assignee
Linewell Software 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 Linewell Software Co Ltd filed Critical Linewell Software Co Ltd
Priority to CN201811106526.2A priority Critical patent/CN109151091B/en
Publication of CN109151091A publication Critical patent/CN109151091A/en
Application granted granted Critical
Publication of CN109151091B publication Critical patent/CN109151091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to an API gateway service supporting dubbo protocol calling, which comprises the following steps: step S1, logging in a gateway service platform through a client, and registering API service to input a corresponding zookeeper address; step S2, the system automatically retrieves the corresponding entity type path and method name according to the zookeeper address, and maps the entity type path and method name to the gateway service platform client; step S3, after the input of the client information data is finished, the API is opened to the outside on the gateway service platform, and the gateway platform is connected to the third party application through the dubbo protocol; and step S4, when the gateway service platform receives the interface information called externally, the gateway service platform automatically calls the corresponding provider class of the corresponding dubbo according to the corresponding service request parameter information in a generalization mode, and returns the result information to the external call. The invention provides an access support of a dubbo protocol, a corresponding zookeeper address is directly configured on a webpage, and a system automatically retrieves a corresponding entity type path and a method name.

Description

API gateway service supporting dubbo protocol calling
Technical Field
The invention relates to an API gateway service supporting a dubbo protocol call.
Background
At present, a known API gateway service is to open a third party API to the outside, a third party service system registers an API service provided by the third party service system to a gateway service platform and opens the third party service to the outside through the gateway service, and the API gateway service platform performs the functions of API management, authentication, flow control, fusing, log recording, and the like in the API gateway service platform. The currently known API gateway service supports the access of a third party API by using a restful protocol, and does not support the access of a third party by using a dubbo protocol.
Disclosure of Invention
In view of this, the present invention provides an API gateway service supporting a dubbo protocol call, which provides an access support of the dubbo protocol, directly configures a corresponding zookeeper address on a web page, and automatically retrieves a corresponding entity class path and a corresponding method name.
In order to achieve the purpose, the invention adopts the following technical scheme:
an API gateway service supporting dubbo protocol calls, comprising the steps of:
step S1, logging in a gateway service platform through a client, and registering API service to input a corresponding zookeeper address;
step S2, the system automatically retrieves the corresponding entity type path and method name according to the zookeeper address, and maps the entity type path and method name to the gateway service platform client;
step S3, after the input of the client information data is finished, the API is opened to the outside on the gateway service platform, and the gateway platform is connected to the third party application through the dubbo protocol;
and step S4, when the gateway service platform receives the interface information called externally, the gateway service platform automatically calls the corresponding provider class of the corresponding dubbo according to the corresponding service request parameter information in a generalization mode, and returns the result information to the external call.
Further, after the input of the client information in step S3 is finished, the API is opened to the outside through the restful protocol on the gateway service platform.
Compared with the prior art, the invention has the following beneficial effects:
1. in the API gateway, a third-party dubbo protocol interface is opened outwards through a restful protocol;
2. in the API gateway, the invention carries out dubbo calling on a restful protocol request through generalization;
3. in the API gateway platform, the invention searches the class path and the method name according to the zookeeper, is a technical key point and should be protected.
Detailed Description
The present invention will be further described with reference to the following examples.
The invention provides an API gateway service supporting dubbo protocol calling, which comprises the following steps:
step S1, logging in a gateway service platform through a client, and registering API service to input a corresponding zookeeper address;
step S2, the system automatically retrieves the corresponding entity type path and method name according to the zookeeper address, and maps the entity type path and method name to the gateway service platform client;
step S3, after the input of the client information data is finished, the API is opened to the outside on the gateway service platform, and the gateway platform is connected to the third party application through the dubbo protocol;
and step S4, when the gateway service platform receives the interface information called externally, the gateway service platform automatically calls the corresponding provider class of the corresponding dubbo according to the corresponding service request parameter information in a generalization mode, and returns the result information to the external call.
In this embodiment, after the input of the client information in step S3 is finished, the API is opened to the outside through the restful protocol on the gateway service platform.
The above description is only a preferred embodiment of the present invention, and all equivalent changes and modifications made in accordance with the claims of the present invention should be covered by the present invention.

Claims (1)

1. An API gateway service method supporting dubbo protocol calling is characterized in that: the method comprises the following steps:
step S1, logging in a gateway service platform through a client, and registering API service to input a corresponding zookeeper address;
step S2, the system automatically retrieves the corresponding entity type path and method name according to the zookeeper address, and maps the entity type path and method name to the gateway service platform client;
step S3, after the input of the client information data is finished, the API is opened to the outside on the gateway service platform, and the gateway platform is connected to the third party application through the dubbo protocol;
step S4, when the gateway service platform receives the external calling interface information, the corresponding service request parameter information is automatically called the provider class corresponding to the dubbo in a generalization mode, and the result information is returned to the external calling;
after the input of the client information is finished in step S3, the API is opened to the outside through the restful protocol on the gateway service platform.
CN201811106526.2A 2018-09-21 2018-09-21 API gateway service supporting dubbo protocol calling Active CN109151091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811106526.2A CN109151091B (en) 2018-09-21 2018-09-21 API gateway service supporting dubbo protocol calling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811106526.2A CN109151091B (en) 2018-09-21 2018-09-21 API gateway service supporting dubbo protocol calling

Publications (2)

Publication Number Publication Date
CN109151091A CN109151091A (en) 2019-01-04
CN109151091B true CN109151091B (en) 2022-01-21

Family

ID=64823215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811106526.2A Active CN109151091B (en) 2018-09-21 2018-09-21 API gateway service supporting dubbo protocol calling

Country Status (1)

Country Link
CN (1) CN109151091B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113394A (en) * 2019-04-19 2019-08-09 浙江数链科技有限公司 API Calls method and apparatus
CN110287053B (en) * 2019-06-27 2022-11-04 四川新网银行股份有限公司 Method for uniformly processing distributed system abnormity
CN111212119B (en) * 2019-12-24 2023-09-01 国电南瑞科技股份有限公司 Dubbo service calling method and system
CN111800824A (en) * 2020-05-28 2020-10-20 上海诺行信息技术有限公司 Data transmission system of intelligent instrument, driving interface packaging device and method
CN113037831B (en) * 2021-03-04 2023-04-28 中国农业银行股份有限公司 Service gateway message processing method and device
CN112905919B (en) * 2021-03-15 2023-02-10 杭州涂鸦信息技术有限公司 Back-end application calling method and device, computer equipment and readable storage medium
CN114416599B (en) * 2022-03-28 2022-07-01 中建电子商务有限责任公司 Method for generating generalization call for interface test based on Dubbo service interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107612955A (en) * 2016-07-12 2018-01-19 深圳市远行科技股份有限公司 Micro services provide method, apparatus and system
CN107872484A (en) * 2016-09-27 2018-04-03 中国电信股份有限公司 REST API fast registration methods, devices and systems
CN108255615A (en) * 2017-11-30 2018-07-06 平安科技(深圳)有限公司 Across language call method, server and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150169392A1 (en) * 2013-11-20 2015-06-18 Superna Incorporated System and method for providing an application programming interface intermediary for hypertext transfer protocol web services

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107612955A (en) * 2016-07-12 2018-01-19 深圳市远行科技股份有限公司 Micro services provide method, apparatus and system
CN107872484A (en) * 2016-09-27 2018-04-03 中国电信股份有限公司 REST API fast registration methods, devices and systems
CN108255615A (en) * 2017-11-30 2018-07-06 平安科技(深圳)有限公司 Across language call method, server and storage medium

Also Published As

Publication number Publication date
CN109151091A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109151091B (en) API gateway service supporting dubbo protocol calling
US11627225B2 (en) System and method for programmatic device connectivity
US9742926B2 (en) Unified services platform using a telephone number as a common subscriber identifier
US20030063731A1 (en) Systems and methods for recording and providing enhanced caller information in an advanced intelligent network
US20090254651A1 (en) Verifying a lawful interception system
BRPI1003677B1 (en) METHOD FOR ASSIGNING A PHONE NUMBER TO A NAVIGATION SESSION
US20210006946A1 (en) Routing of toll-free numbers and text messages using a toll-free exchange
US8910261B2 (en) Radius policy multiple authenticator support
US9952888B2 (en) Method and system to dynamically instantiate virtual repository for any services
US20130009776A1 (en) Methods, Systems, and Computer-Readable Media for Providing an Event Alert
US9686415B2 (en) Systems and methods of split billing
EP3068106A1 (en) Government enterprise network communication device and communication method, and computer storage medium
US10154145B1 (en) Virtual telephony assistant
EP4035316A1 (en) Enhancing messages with dynamic content
US10555172B2 (en) Untrusted device access to services over a cellular network
US9438728B2 (en) Telephone number grouping service for telephone service providers
US20100091968A1 (en) Methods, systems, and computer program products for routing communications according to loyalty program profiles
US7269408B2 (en) Method and system of alerting callers to surcharges
US20140273980A1 (en) Voicemail migration
US20130084839A1 (en) System and method for delivering caller name information to mobile devices
WO2024016593A1 (en) Edge node access method and apparatus
CN105376206A (en) Digital graph configuration method, SIP server, SIP terminal, and digital graph configuration system
US9104879B1 (en) System and method for detecting security exposures of VOIP devices
KR20040009129A (en) Method for Communicating flowing IP Internet Phone
KR20130124771A (en) Fixed mobile convergence terminal for automatically setting access information of fixed mobile convergence service and method therefor

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
GR01 Patent grant
GR01 Patent grant