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

Interface calling method and device

An interface calling and remote interface calling technology, applied in the field of interface calling, can solve the problems of reducing the API coupling between the local system and the external system, system dependence, etc., and achieve the effect of reducing the coupling, improving the efficiency, and reducing the impact.

Pending Publication Date: 2020-04-21
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention provides a method and device for interface calling, which can solve the problem that the system relies on external API JAR packages, reduce the coupling between the local system and the external system API, and reduce the impact of external system interface changes on the local system. Impact

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
  • Interface calling method and device
  • Interface calling method and device
  • Interface calling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0033] In the prior art method for realizing RPC calling, the local system needs to import API JAR packages of multiple external systems, and the present invention defines a general API component. For the same application system, there is a common API component. The present invention uses this common API component to realize the interface call between different systems, in...

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 interface calling method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of obtaining a request task ofa local system, and obtaining a unique identifier of a target service method corresponding to the request task in a service registration module; judging whether the local system provides the target service method or not according to the unique identifier of the target service method; and if yes, executing local interface calling, and if not, initiating remote interface calling. According to the embodiment, the unique identifier of the requested target service method is inquired by the service registration module of the API universal component; judging whether a local system provides a target service method or not according to a query result; the interface calling of the specific service method is realized by virtue of the API universal component, so that the problem that the system dependson an external APIJAR packet can be solved, the coupling of a local system and an external system API is reduced, and the influence of external system interface change on the local system is reduced.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for interface calling. Background technique [0002] When the project of developing an application program is getting bigger and more people are involved, the project is divided into systems according to functions and businesses. Therefore, the development of an application program requires multiple systems to work together, and the inter-system Collaboration is inseparable from interface calls. At present, interface calls include HTTP calls (that is, application program interface calls based on the Hypertext Transfer Protocol HTTP protocol) and RPC calls (that is, Remote Procedure Call remote procedure calls, which request services from remote computer programs through the network without knowing The underlying network technology) two calling methods, but based on efficiency considerations, RPC calls are usually used in applications. [0003] In the prior...

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/547G06F2209/544
Inventor 刘小云
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD