Processing method and device for achieving API calling and system for achieving API

A technology of API interface and interface calling, which is applied in the field of Internet applications and can solve the problems of poor scalability of API interface

Active Publication Date: 2019-05-10
SHENZHEN DOORDU TECH CO LTD
View PDF10 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since the program code implementation logic of the API interface is independent of each other, once an API interface is added or changed, it is necessary to add or modify each piece of logic implementation code of the specific API interface, resulting in poor scalability of the API interface in the system
[0005] Therefore, it is urgent to solve the problem of poor scalability of the API interface in the implementation of the API interface of the existing system

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
  • Processing method and device for achieving API calling and system for achieving API
  • Processing method and device for achieving API calling and system for achieving API
  • Processing method and device for achieving API calling and system for achieving API

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0028] figure 2 is a schematic diagram of the implementation environment involved in this application. Such as figure 2 As shown, the implementation environment is a network service system, and the network service system includes a client 100 and an access server 200 , a business system server 300 and an operation and maintenance client 400 .

[0029] Among them, each component in the n...

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 processing method and device for achieving API calling and a system for achieving an API. The method comprises the following steps: calling any deployed API interface, and receiving a corresponding interface calling request through a unified access point; according to the loaded interface metadata, carrying out dynamic verification on interface parameters in the interface calling request; after the dynamic verification of the interface parameters is successful, loading corresponding service logic processing objects for the interface parameters; and transmitting interface parameters to the service logic processing object, so that the service logic processing object responds to the interface calling request. The system comprises an API data module used for storinginterface metadata; the external object packaging module is used for packaging the business logic processing object and the parameter verification object; and the API interface calling processing module is used for processing all the received interface calling requests by adopting unified logic, and the adopted unified logic is used for realizing the method. According to the invention, the API interface can be flexibly expanded.

Description

technical field [0001] The present application relates to the field of Internet application technology, and in particular to a processing method and device for realizing API interface calling, as well as a system, electronic equipment, and computer-readable storage medium for realizing API interface. Background technique [0002] API (Application Programming Interface, application programming interface) interface technology is widely used in function realization and data interaction between different systems, and then realizes interoperability and data sharing between systems. [0003] In the existing implementation, for a system, the implementation of each function and the specification of data requirements corresponding to the function will define a corresponding API interface in the program code of the system. Such as figure 1 As shown, the program code implementation logic of a single API interface mainly includes: receiving the interface parameters of the requested AP...

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/445G06F8/41
CPCY02D10/00
Inventor 陈建衡刘杰钦王天翔陈佳罕
Owner SHENZHEN DOORDU TECH CO 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