[go: up one dir, main page]

CN112383429A - Self-adaptive switching gateway configuration system for multi-modal service - Google Patents

Self-adaptive switching gateway configuration system for multi-modal service Download PDF

Info

Publication number
CN112383429A
CN112383429A CN202011263786.8A CN202011263786A CN112383429A CN 112383429 A CN112383429 A CN 112383429A CN 202011263786 A CN202011263786 A CN 202011263786A CN 112383429 A CN112383429 A CN 112383429A
Authority
CN
China
Prior art keywords
service
module
gateway
modal
configuration
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
CN202011263786.8A
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN202011263786.8A priority Critical patent/CN112383429A/en
Publication of CN112383429A publication Critical patent/CN112383429A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

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

Abstract

The invention discloses a self-adaptive switching gateway configuration system of multi-modal services, which is characterized by comprising a multi-modal service gateway, a multi-modal service gateway background management module and a database, wherein the multi-modal service gateway comprises a current limiting module, an authentication module, a routing module, a service quality and fusing module and a multi-modal service providing module; the multimodal service gateway background management comprises a basic management module and a gateway routing configuration module. The invention is independently deployed on the network, builds a communication pipeline between the application and the multi-mode service, automatically adapts to the multi-mode service for the application, provides an interface or an abstract class for expanding the user-defined service, and can flexibly realize the interface or inherit the abstract class to realize the quick butt joint of the user-defined service.

Description

Self-adaptive switching gateway configuration system for multi-modal service
Technical Field
The invention relates to the technical field of gateway configuration, in particular to a self-adaptive switching gateway configuration system for multi-modal service.
Background
The traditional API gateway can only support one or two or three background services (HTTP, Webscolet and the like), and for newly added services, the traditional API gateway cannot be adapted quickly and flexibly, but if an adaptation module is developed for each newly added service, the development amount is large, and the development and deployment cost is greatly increased.
Disclosure of Invention
The invention aims to provide a self-adaptive transit gateway configuration system of multi-modal service, which is used for solving the problem that an API (application programming interface) network in the prior art cannot adapt to newly-added service quickly and flexibly.
The invention solves the problems through the following technical scheme:
a self-adaptive switching gateway configuration system of multi-modal services comprises a multi-modal service gateway, a multi-modal service gateway background management and a database, wherein the multi-modal service gateway comprises a current limiting module, an authentication module, a routing module, a service quality and fusing module and a multi-modal service providing module; the multimodal service gateway background management comprises a basic management module and a gateway routing configuration module, wherein:
a basic management module: configured to provide user management, rights management, log queries, and access statistics;
a gateway route configuration module: a service configured to provide a configuration route, a custom service component, and an import of a service component;
the current limiting module is configured to acquire whether the route starts current limiting and execute corresponding actions according to the route configuration basic data of the gateway route configuration module;
an authentication module configured to authenticate a client user request;
an authentication module configured to check whether a user authenticated by the client user request has an authority to access the route;
the routing module is configured to position downstream services and an exception handling mechanism according to the client request routing and routing configuration basic data of the gateway routing configuration module, the positioned downstream services provide data support for the multi-modal service providing module, and the exception handling mechanism provides data support for the service quality and fusing module;
the service quality and fusing module is configured to stop forwarding the request to the downstream service through a maintenance strategy of the gateway routing configuration module when the downstream service fails, reduce the burden of the downstream server and the API gateway and ensure that the API gateway and other downstream services can normally run;
and the multi-modal service providing module is configured to determine the type of the service according to the downstream service basic data provided by the routing module, establish a communication channel with the corresponding service and return a processing result of the service to the terminal.
The attributes of the configured route in the gateway route configuration module comprise an upstream service route, a downstream service route, service aggregation, configured service authentication, current limiting configuration, cache configuration, service quality and fusing, and header information forwarding.
Compared with the prior art, the invention has the following advantages and beneficial effects:
(1) the invention is independently deployed on the network, builds a communication pipeline between the application and the multi-mode Service, automatically adapts various modal services (HTTP/HTTPS Service, web Service, webscolet Service, RPC Service, message queue Service, Internet of things Service and the like) for the application, provides an interface or abstract class for expanding the user-defined Service, and can flexibly realize the interface or inherit the abstract class to realize the quick butt joint of the user-defined Service.
(2) The invention avoids the workload of developing and adapting the multi-mode service for each application, realizes the self-adaptive switching by connecting the multi-mode gateway, realizes that the client application can communicate with the multi-mode service only through HTTP, and greatly reduces the development and deployment cost.
Drawings
FIG. 1 is a schematic block diagram of the system of the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Example (b):
with reference to fig. 1, a system for configuring an adaptive transit gateway for multimodal services includes a multimodal service gateway and a multimodal service gateway background management, where the multimodal service gateway includes a current limiting module, an authentication module, a routing module, a service quality and fusing module, and a multimodal service providing module; the multimodal service gateway background management comprises a basic management module and a gateway routing configuration module. Wherein:
the basic management module comprises a user management module, an authority management module, an access amount counting module and a log query module, provides basic user and authority management, and provides log query and access amount counting for terminal access;
a gateway route configuration module: providing a service for configuring a route, the route comprising the following attributes: the multi-mode service gateway comprises an upstream service route, a downstream service route, service aggregation, configuration service authentication, current limiting configuration, cache configuration, service quality and fusing, header information forwarding and the like, if the multi-mode service gateway fails to provide certain reset, a service component can be defined by a user and is led in through the module.
A current limiting module: aiming at the configuration of basic data in a gateway routing configuration module, whether the routing starts the current limiting or not is obtained, if the current limiting is not needed, the verification is skipped, if the current limiting is needed, the current limiting is carried out according to corresponding strategies (the client can retry after a plurality of seconds, the maximum request number allowed in a statistical time period, an access white list and the like), the current limiting of the request is realized, and the crash of a downstream server due to access overload is prevented;
an authentication module: the authentication of the user request of the client is realized, and the service provided by the multi-modal service gateway is not allowed to be used when the user authentication is not carried out; the authentication module supports the authentication modes of JWT and Identity Server;
an authentication module: checking the authenticated user for permission to access the route;
a routing module: positioning downstream services and an exception handling mechanism through request routing of a client and routing configuration basic data provided by a gateway routing configuration module, wherein the positioned downstream services provide data support for a multi-modal service providing module, and the exception handling mechanism provides data support for service quality and a fusing module;
quality of service and fuse module: when the downstream service has a fault, the request is stopped to be forwarded to the downstream service through a policy (how many abnormal requests are allowed, the fusing time is short, and if the processing time of the downstream request exceeds how much, the request is freely set to be overtime) maintained by a gateway routing configuration module, so that the burden of a downstream server and an API gateway is relieved, and the normal operation of the API gateway and other downstream services is ensured;
a multimodal service providing module: and determining the type of the service according to the downstream service basic data provided by the routing module, establishing a communication channel corresponding to the service, and returning the processing result of the service to the terminal.
The invention can avoid the workload of developing and adapting the multi-mode service for each application, realizes that the client application can communicate with the multi-mode service only through HTTP by connecting the multi-mode gateway, and solves the problems that the traditional API gateway can only support one or two or three background services (HTTP, Webscolet and the like), and the traditional API gateway can not adapt rapidly and flexibly for newly added services, thereby greatly increasing the development and deployment cost.
Although the present invention has been described herein with reference to the illustrated embodiments thereof, which are intended to be preferred embodiments of the present invention, it is to be understood that the invention is not limited thereto, and that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure.

Claims (2)

1. A self-adaptive switching gateway configuration system of multi-modal services is characterized by comprising a multi-modal service gateway, a multi-modal service gateway background management and a database, wherein the multi-modal service gateway comprises a current limiting module, an authentication module, a routing module, a service quality and fusing module and a multi-modal service providing module; the multimodal service gateway background management comprises a basic management module and a gateway routing configuration module, wherein:
a basic management module: configured to provide user management, rights management, log queries, and access statistics;
a gateway route configuration module: a service configured to provide a configuration route, a custom service component, and an import of a service component;
the current limiting module is configured to acquire whether the route starts current limiting and execute corresponding actions according to the route configuration basic data of the gateway route configuration module;
an authentication module configured to authenticate a client user request;
an authentication module configured to check whether a user authenticated by the client user request has an authority to access the route;
the routing module is configured to position downstream services and an exception handling mechanism according to the client request routing and routing configuration basic data of the gateway routing configuration module, the positioned downstream services provide data support for the multi-modal service providing module, and the exception handling mechanism provides data support for the service quality and fusing module;
a quality of service and fusing module configured to stop forwarding the request to the downstream service via a maintenance policy of the gateway routing configuration module when the downstream service fails;
and the multi-modal service providing module is configured to determine the type of the service according to the downstream service basic data provided by the routing module, establish a communication channel with the corresponding service and return a processing result of the service to the terminal.
2. The system of claim 1, wherein the attributes of the configured routes in the gateway route configuration module include upstream service routes, downstream service routes, service aggregation, configured service authentication, current limiting configuration, caching configuration, quality of service and fusing, and header information forwarding.
CN202011263786.8A 2020-11-12 2020-11-12 Self-adaptive switching gateway configuration system for multi-modal service Pending CN112383429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011263786.8A CN112383429A (en) 2020-11-12 2020-11-12 Self-adaptive switching gateway configuration system for multi-modal service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011263786.8A CN112383429A (en) 2020-11-12 2020-11-12 Self-adaptive switching gateway configuration system for multi-modal service

Publications (1)

Publication Number Publication Date
CN112383429A true CN112383429A (en) 2021-02-19

Family

ID=74583441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011263786.8A Pending CN112383429A (en) 2020-11-12 2020-11-12 Self-adaptive switching gateway configuration system for multi-modal service

Country Status (1)

Country Link
CN (1) CN112383429A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205191A (en) * 2021-12-13 2022-03-18 四川启睿克科技有限公司 API gateway system and operation method
CN115065588A (en) * 2022-05-31 2022-09-16 浪潮云信息技术股份公司 API fusing degradation implementation method and system based on back-end error codes
CN115883471A (en) * 2021-09-28 2023-03-31 上海宝信软件股份有限公司 Application gateway and flow management and control method thereof
CN118410089A (en) * 2024-05-09 2024-07-30 山东至信信息科技股份有限公司 Implementation method of integrated data open center

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086587A1 (en) * 2003-05-14 2005-04-21 Balz Christopher M. System and method for presenting computerized interactive forms to respondents using a client-server-systems technology based on web standards
CN108712329A (en) * 2018-05-02 2018-10-26 山东汇贸电子口岸有限公司 A kind of gateway and log recording retrieval device based on Elasticsearch
CN111124670A (en) * 2019-12-05 2020-05-08 航天科工网络信息发展有限公司 Tactical cloud-oriented micro-service platform
CN111884917A (en) * 2020-07-28 2020-11-03 浪潮云信息技术股份公司 Gateway system based on micro service and gateway dynamic routing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086587A1 (en) * 2003-05-14 2005-04-21 Balz Christopher M. System and method for presenting computerized interactive forms to respondents using a client-server-systems technology based on web standards
CN108712329A (en) * 2018-05-02 2018-10-26 山东汇贸电子口岸有限公司 A kind of gateway and log recording retrieval device based on Elasticsearch
CN111124670A (en) * 2019-12-05 2020-05-08 航天科工网络信息发展有限公司 Tactical cloud-oriented micro-service platform
CN111884917A (en) * 2020-07-28 2020-11-03 浪潮云信息技术股份公司 Gateway system based on micro service and gateway dynamic routing method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115883471A (en) * 2021-09-28 2023-03-31 上海宝信软件股份有限公司 Application gateway and flow management and control method thereof
CN114205191A (en) * 2021-12-13 2022-03-18 四川启睿克科技有限公司 API gateway system and operation method
CN114205191B (en) * 2021-12-13 2023-09-15 四川启睿克科技有限公司 API gateway system and operation method
CN115065588A (en) * 2022-05-31 2022-09-16 浪潮云信息技术股份公司 API fusing degradation implementation method and system based on back-end error codes
CN115065588B (en) * 2022-05-31 2024-04-05 浪潮云信息技术股份公司 API fusing degradation realization method and system based on back-end error code
CN118410089A (en) * 2024-05-09 2024-07-30 山东至信信息科技股份有限公司 Implementation method of integrated data open center
CN118410089B (en) * 2024-05-09 2024-10-01 山东至信信息科技股份有限公司 Implementation method of integrated data open center

Similar Documents

Publication Publication Date Title
CN112383429A (en) Self-adaptive switching gateway configuration system for multi-modal service
US9124639B2 (en) Managing command compliance in internetworking devices
US9735961B2 (en) Managing key rotations with multiple key managers
US10425465B1 (en) Hybrid cloud API management
US7426737B2 (en) Method and apparatus for operating an open API network having a proxy
US20070028001A1 (en) Applying quality of service to application messages in network elements
US11366728B2 (en) Systems and methods for enabling a highly available managed failover service
US11122108B2 (en) End-to-end file transmission method and system thereof
US20070142039A1 (en) Content access control system for a mobile communication network
WO2020119328A1 (en) Data transmission method, apparatus and device, and storage medium
US20210157693A1 (en) Systems and methods for enabling a highly available managed failover service
US20230308419A1 (en) Firewall System With Application Identifier Based Rules
CN113904847B (en) Cloud platform binding method, system, equipment and medium of Internet of things card
US10007925B2 (en) Local advertisement insertion through web request redirection
CN105635218B (en) Software center system
CN119012146A (en) CMPP protocol short message adaptation method, device, equipment and storage medium
CN101662357A (en) Method for accessing secure gateway client
CN111988269A (en) Policy management system providing authorization information via distributed data stores
CN113691520B (en) Method and device for acquiring streaming media information, storage medium and electronic device
EP1993245A1 (en) A system and method for realizing message service
CN113438242A (en) Service authentication method, device and storage medium
CN112217878A (en) High-concurrency request distribution method and system
CN109756403A (en) Access verification method, device, system and computer readable storage medium
WO2025055198A1 (en) Message processing method and apparatus, and device and storage medium
CN116723154A (en) Route distribution method and system based on load balancing

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210219