Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for invoking application programming interface

An application programming interface and corresponding technology, applied in the directions of inter-program communication, multi-programming device, program control design, etc., can solve the problems of poor service adaptability, inability to work, and SDK packages cannot be updated synchronously, and improve adaptability sexual effect

Active Publication Date: 2017-06-27
ALIBABA GRP HLDG LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, calling the API through the existing command line tools has at least the following disadvantages: Since the command line tool calling the API is completed through the secondary packaging of the SDK package, the command line tool has a strong dependence on the SDK package. The adaptability of the command-line tool to the service is poor, and it is easy to cause the command-line tool to fail to work because the API update and the SDK package cannot be updated synchronously

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for invoking application programming interface
  • Method and system for invoking application programming interface
  • Method and system for invoking application programming interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the scope of protection of this application.

[0019] figure 2 It is a schematic diagram of the system structure provided by the embodiment of this application. Such as figure 2 The illustrated system 200 includes an interaction module 210 , a command parsing module 220 , a metadata parsing module 230 , a metadata description module 240 , a generation request module 250 , a signature module 260 and a public networking module 270 .

[0020] The interaction module 210 in the system 200 is configured t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method and system for invoking an application programming interface. The method includes: analyzing an invoking operation request input by a user, and acquiring at least one piece of first data information in the invoking operation request; acquiring at least one piece of second data information from a metadata file according to the at least one piece of first data information; determining an invoked application programming interface according to the at least one piece of first data information and the at least one piece of second data information, and generating a request message; and sending the request message to a remote server by invoking the application programming interface so as to allow the remote server to feed result information back according to the request message. The problem that command execution tools for invoking an API is dependent on an SDK package in the prior art can be solved, and the adaptability of the command execution tools to a service can be improved.

Description

technical field [0001] The present application relates to the field of application programming interface invocation, and in particular to a method and system for invoking an application programming interface API by a command-line tool based on metadata (Metadata). Background technique [0002] When a website provides a service, it does not directly provide the source code of the service, or the source code of the business. The service provider will package the website services that need to be provided into a series of application programming interface (Application Programming Interface, API), and provide the service in the form of API for use by third-party developers. This behavior is called open website API. The open API is called OpenAPI, or an open API, or an open platform. [0003] Third-party developers can perform secondary development and calls through the software development kit (Software Development Kit, SDK) of the API provided by the website service, so as to f...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54
CPCG06F9/541G06F9/54
Inventor 向西西宋朝阳克晓东
Owner ALIBABA GRP HLDG LTD