Method and device for management of application programming interface (API) call records
A technology of API calling and programming interface, applied in the computer field, can solve the problems of occupation, multi-processing resources, large number of API call records, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] See attached Figure 2a , is a schematic flowchart of a method for managing API call records provided by an embodiment of the present invention. It should be understood that this method can be used for figure 1 In the application scenario shown. Specifically, such as Figure 2a As shown, the management method of the API call record provided by the embodiment of the present invention includes the following steps:
[0060] S201. Obtain multiple API call records, each API call record in the multiple API call records includes at least the following attribute information: caller ID, call time Called time, and resource usage, wherein the caller The identifier is used to indicate the caller of the API, and the Called time is used to indicate the time information when the API is called;
[0061] It should be noted that the multiple API call records are generated by the API gateway.
[0062] It should be noted that the caller ID is used to identify the caller of the API, and...
Embodiment 2
[0086] See attached Figure 4 , is a schematic structural diagram of an API call record management device 40 provided in an embodiment of the present invention. It should be noted that the API call record management device 40 can be used in figure 1 In the above-mentioned application scenario diagram, preferably, the management device 40 of the API call record is integrated in figure 1 The API gateway or API billing gateway. Specifically, such as Figure 4 As shown, the management device 40 of the API call record is made up of the following components:
[0087] The obtaining unit 41 is configured to obtain a plurality of API call records, each API call record in the plurality of API call records includes at least the following attribute information: caller identification, call time Called time and resource usage, wherein, The caller ID is used to indicate the caller of the API, and the Called time is used to indicate the time information when the API is called;
[0088] It...
Embodiment 3
[0106] See attached Figure 5 , is a schematic structural diagram of a gateway 500 provided by an embodiment of the present invention. The gateway 500 is the operating carrier of the management device for API call records described in Embodiment 2. It should be understood that the gateway 500 can be used in figure 1 shown in the application scenario diagram. It should be noted that when the API gateway is the operating carrier of the management device for the API call record described in the second embodiment, the gateway 500 refers to the API gateway; when the API billing gateway is the management device for the API call record described in the second embodiment When the operating carrier of the device is used, the gateway 500 refers to the API billing gateway; of course, the gateway 500 can also be other gateways other than the API gateway and the API billing gateway.
[0107] Specifically, such as Figure 5 As shown, the gateway 500 may include at least one processor 501 ...
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