Service providing method and apparatus and electronic device
AssigneeBoe Technology Group Co., Ltd.
InventorXinquan Yan
Life of this patent
Estimating the term…
Abstract
A service providing method comprises: receiving a microservice access request, which carries an identity authentication credential, transmitted by a client device; authenticating the client device's identity based on the identity authentication credential; determining a target microservice corresponding to the client device if the authentication of the client device's identity is successful; and providing the client device with the target microservice via a target application programming interface corresponding to the target microservice.
Claims18
A service providing method applied to a gateway system, comprising:
- receiving a microservice access request, which carries an identity authentication credential, transmitted by a client device;
- authenticating the client device's identity based on the identity authentication credential;
- determining a target microservice corresponding to the client device if the authentication of the client device's identity is successful;
- and
- providing the client device with the target microservice via a target application programming interface corresponding to the target microservice,
- wherein prior to the receiving the microservice access request transmitted by the client device, the method further comprises:
- receiving registration requests transmitted by a plurality of microservices, the registration requests comprising registration addresses of the microservices, and the target microservice being one of the plurality of microservices;
- configuring a corresponding application programming interface for each of the microservices based on a corresponding one of the registration requests, the target application programming interface being one of the application programming interfaces;
- and
- completing the registration of each of the microservices in the gateway system based on a corresponding one of the registration addresses and a corresponding one of the application programming interfaces.
A gateway system, comprising:
- an access request reception circuit, configured to receive a microservice access request, which carries an identity authentication credential, transmitted by a client device;
- an identity authentication circuit, configured to authenticate the client device's identity based on the identity authentication credential;
- a target service determination circuit, configured to determine a target microservice corresponding to the client device if the authentication of the client device's identity is successful;
- and
- a target service provision circuit, configured to provide the client device with the target microservice via a target application programming interface corresponding to the target microservice;
- a registration request reception circuit, configured to receive registration requests transmitted by a plurality of microservices, the registration requests comprising registration addresses of the microservices, and the target microservice being one of the plurality of microservices;
- a programming interface configuration circuit, configured to configure a corresponding application programming interface for each of the microservices based on a corresponding one of the registration requests, the target application programming interface being one of the application programming interfaces;
- and
- a microservice registration circuit, configured to complete the registration of each of the microservices in the gateway system based on a corresponding one of the registration addresses and a corresponding one of the application programming interfaces.
Dependencies are inferred from the claim text.