Service calling method based on micro-service gateway, service arrangement method and device
A technology of service arrangement and service invocation, which is applied in the field of computer data processing and can solve problems such as increasing the complexity of front-end and back-end interactive client development
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0103] combine Figure 1~2 As shown, this embodiment provides a service invocation method based on a microservice gateway, which at least includes the following steps:
[0104] S1. The microservice gateway identifies the target service request address corresponding to the service request according to the received service request sent by the client.
[0105] After the step S1, it also includes: the microservice gateway judges the authority and judges the address type of the target service request.
[0106] The microservice gateway receives the service request, and judges whether the user has the access right to the target service request address according to the user access identifier (such as user ID, etc.). If the user has the access right, then further judge the type of the target service request address, so as to search the service arrangement status of the target service request address by type subsequently.
[0107] S2. According to the correspondence between the pre-es...
Embodiment 2
[0142] combine Figure 5 As shown, this embodiment provides a service orchestration method based on a microservice gateway, which at least includes the following steps:
[0143] S1'. Determine the set of service interfaces required to execute any business, and configure a corresponding service node for each service interface;
[0144] S2', configure the execution order of the service nodes;
[0145] S3', associating the microservice gateway with each service node respectively, and associating the service nodes in sequence;
[0146] S4', configuring relevant parameters of each service node;
[0147] S5'. Generate a service request address for the service.
[0148] Wherein, step S4' includes at least the following sub-steps:
[0149] S41', configure the return parameters of each service node;
[0150] S42', configure the backend service interface address and interface request protocol corresponding to each service node;
[0151] S43'. Configure the matching relationship be...
Embodiment 3
[0156] In order to implement a service invocation method based on a microservice gateway in the first embodiment above, this embodiment provides a corresponding service invocation device 100 based on a microservice gateway, such as Figure 6 As shown, the device 100 at least includes:
[0157] Identification module 1: used to identify the target service request address corresponding to the service request according to the received service request sent by the client;
[0158] Determination module 2: used to determine whether the target service address has a corresponding target service arrangement according to the correspondence between the pre-established service request address and the pre-configured service arrangement;
[0159] Creation module 3: used to create execution tasks according to the process orchestrated by the target service;
[0160] Execution module 4: used to call corresponding service nodes for execution in sequence according to the created execution tasks, ...
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