Application interface management method and apparatus

A technology of application interface and management method, applied in the field of application interface management method and device, to achieve the effect of reducing value cost

Inactive Publication Date: 2017-03-22
ALIBABA GRP HLDG LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] One purpose of this application is to provide an application interface management method and device to solve the problem of implementing application interface call management without changing the existing code on a large scale or without changing the logic of the code body

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
  • Application interface management method and apparatus
  • Application interface management method and apparatus
  • Application interface management method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The application will be described in further detail below in conjunction with the accompanying drawings.

[0021] figure 1 A schematic flow chart showing an application interface management method according to one aspect of the present application. Such as figure 1 As shown, the application interface management method includes:

[0022] Step S101, intercepting the call request to the application interface;

[0023] Step S102, obtaining annotation information of the application interface;

[0024] Step S103, managing the invocation of the application interface according to the annotation information and the invocation request.

[0025] Wherein, the application interface refers to an API interface. The API interface is pre-added with annotation information, such as the Annotation annotation information provided by the Java language. The annotation information includes the management information of the API interface call, such as the management information of call aut...

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 discloses an application interface management method and apparatus. The method comprises the steps of intercepting a call request for an application interface; obtaining annotation information of the application interface; and managing the call of the application interface according to the annotation information and the call request. Compared with the prior art, the application interface management method and apparatus provided by the invention has the advantages that information required for call process management is provided in a way of adding the annotation information to existing codes; it is not required to modify the existing codes on a large scale or modify code main body logic; and the call of each application interface can be managed by performing processing according to the annotation information through independently added application interface management codes, so that the cost overhead of code maintenance is reduced.

Description

technical field [0001] The present application relates to the computer field, and in particular to an application interface management method and device. Background technique [0002] In addition to fulfilling its own service requirements, the existing information system generally needs to set an open interface to provide external services through API (Application Programming Interface), and the process of providing external services is accompanied by corresponding indicators. The return of data; among them, the indicator generally refers to the type of data returned by the interface call. For data security, it is generally necessary to verify the identity of the caller, and at the same time control the granularity of the returned indicators according to the identity of the caller. [0003] In the prior art, when performing caller authentication and index filtering, it is generally hard-coded by adding corresponding logic to the specific implementation code of the interface...

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/445
CPCG06F9/445
Inventor 陈晓丹
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products