Distributed intelligent API asynchronous callback method and device
An asynchronous callback and distributed technology, applied in multi-program devices, inter-program communication, instruments, etc., can solve the problems of high construction cost, high dependence, low decoupling, etc., and achieve high security and rapid construction. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] see figure 1 , figure 1 It is a schematic flowchart of a distributed intelligent API asynchronous callback method disclosed in Embodiment 1 of the present invention, and the method is executed on the server side. Such as figure 1 As shown, a distributed intelligent API asynchronous callback method in Embodiment 1 of the present invention includes:
[0060] 101. The server receives the API interface request information.
[0061] As an optional implementation, in the embodiment of the present invention, before the server receives the API interface request information sent by the requesting end, the distributed intelligent API asynchronous callback method in the embodiment of the present invention further includes:
[0062] The server receives the public key request and generates the authentication public key and authentication key;
[0063] The server sends the authentication public key.
[0064] 102. The server performs data decryption on the API interface request i...
Embodiment 2
[0102] see figure 2 , figure 2 It is a schematic flowchart of a distributed intelligent API asynchronous callback method disclosed in Embodiment 2 of the present invention, and the method is executed on the client. Such as figure 2 As shown, a distributed intelligent API asynchronous callback method in Embodiment 2 of the present invention includes:
[0103] 201. The client encapsulates API interface request information, and the interface request information includes a user identifier, an API interface identifier, an API interface identifier, and a data packet format.
[0104] 202. The client encrypts the encapsulated API interface request information according to a preset encryption rule.
[0105] In the embodiment of the present invention, optionally, the preset encryption rule may be the RSA encryption algorithm. Because the RSA encryption algorithm is difficult to crack, its confidentiality is recognized by the industry. Although its security has not yet been clearly d...
Embodiment 3
[0121] see image 3 , image 3 It is a schematic structural diagram of a server disclosed in Embodiment 3 of the present invention, wherein the server can be used to execute a distributed intelligent API asynchronous callback method disclosed in Embodiment 1 of the present invention. Such as image 3 As shown, the server includes:
[0122] The first receiving module 301 is configured to receive API interface request information.
[0123] The decryption module 302 is configured to perform data decryption on the API interface request information according to preset decryption rules, and the decrypted API interface request information includes an API interface identifier, a user identifier, and a data message format.
[0124] The server also includes:
[0125] The verification module 303 is configured to verify the user ID.
[0126] As an optional implementation manner, in the embodiment of the present invention, the user identifier includes a user identity identifier and a ...
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