Application program interface calling method, device and apparatus and readable storage medium
A technology of application program interface and application program name, which is applied in the direction of multi-channel program device, program control device, program control design, etc., and can solve problems such as inability to call third-party services, incompatibility of application program interfaces, and inconsistent interface design
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0050] Example one:
[0051] See figure 1 , figure 1 This is an implementation flow chart of the application program interface calling method in the embodiment of the present invention. The method may include the following steps:
[0052] S101: Receive an application program interface call request, parse the application program interface call request, and obtain the application program interface to be called and the corresponding application program name.
[0053] Internet of Things platform, various third-party services, etc., according to actual data access requirements, the visitor can be used as a subscriber to log in to the API Gateway Store of the visited party in advance to create an application that needs to be accessed. When the IoT platform needs to access data from a third-party service, or a third-party service needs to access data from another third-party service, or a third-party service needs to access data from the IoT platform, it can be accessed The data access man...
Example Embodiment
[0063] Embodiment two:
[0064] See figure 2 , figure 2 This is another implementation flowchart of the application program interface invocation method in the embodiment of the present invention, and the method may include the following steps:
[0065] S201: Receive an application program interface call request, analyze the application program interface call request, and obtain the application program interface to be called and the corresponding application program name.
[0066] S202: Obtain permission authentication information sent by the request sender of the application program interface call request.
[0067] The permission authentication process before calling the application program interface can be preset, and after receiving the application program interface calling request, the permission authentication information sent by the request sender of the application program interface calling request can be obtained.
[0068] S203: Perform a verification operation on the authority...
Example Embodiment
[0074] Embodiment three:
[0075] See image 3 , image 3 This is another implementation flowchart of the application program interface invocation method in the embodiment of the present invention, and the method may include the following steps:
[0076] S301: Receive the application program interface call request, parse the application program interface call request, and obtain the application program interface to be called and the corresponding application program name.
[0077] S302: Obtain the API gateway storage access token corresponding to the application name sent by the request sender.
[0078] Wherein, the API gateway stores the access token as the request sender obtains it from the API gateway storage through the pre-generated user public key and user private key corresponding to the application name.
[0079] After the IoT platform or third-party service creates an application, the system creates a client for permission authentication for the application, and generates a use...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap