Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Java system application programming interface calling method and system using the same

A program programming interface and system application technology, which is applied in the field of java system application programming interface calling, can solve the problems of increasing the workload and cost of modification, and achieve the effect of reducing workload and cost, and simplifying the operation process and time

Active Publication Date: 2013-06-19
ALIBABA GRP HLDG LTD
View PDF5 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides a java system application programming interface calling method and system to solve the problem of increased modification workload and cost due to data update

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
  • Java system application programming interface calling method and system using the same
  • Java system application programming interface calling method and system using the same
  • Java system application programming interface calling method and system using the same

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] refer to figure 2 , which shows a first embodiment of a Java system application programming interface calling method of the present application, including the following steps:

[0042] Step 101, receiving a call request sent by a client to a general application programming interface, where the input parameter of the call request is a SQL-like character string.

[0043] The general application programming interface is pre-set on the java server side, and its input parameters are SQL-like (Structured Query Language, Structured Query Language) strings, and the return parameters can be set to a string in a predetermined format. Generally speaking, it is a general development language, for example, strings of XML or json structure. The general application programming interface is included in a general jar package, and before the client calls, it first needs to introduce the general jar package into its system, and then make the call.

[0044]Among them, the general applic...

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 provides a java system application programming interface calling method. The java system application programming interface calling method includes the following steps: receiving a calling request of a general application programming interface sent by a customer terminal, input parameters of the calling request is a structured query language (SQL)-type character string; conducting SQL analysis of the SQL-type character string, obtaining a name and a inquiry condition of an actual application programming interface; according to the name of the actual application programming interface, inquiring the corresponding actual application programming interface, and obtaining interface parameters; according to the name and parameters of the actual application programming interface, generating an example of the application programming interface, based on the inquiry condition obtained from the analysis, calling a method of the example of the application programming interface to obtain a returned value and return the returned value to the customer terminal. The invention further provides a system achieving the java system application programming interface calling method. The java system application programming interface calling method and the system using the java system application programming interface calling method can reduce changed working load and cost due to data updating.

Description

technical field [0001] The present application relates to the technical field of computer data processing, in particular to a java system application programming interface calling method and system. Background technique [0002] As a relatively mature programming language, java language is widely used in the programming of various programs. Generally speaking, the server implemented by the java language provides an API (Application Programming Interface, application programming interface), and defines a method for implementing a java class in the API, and an instance of the method on the server side. In order to facilitate searching, java files such as APIs and method instances are generally packaged into java packages. When the client needs to call the API, it needs to first import the jar package corresponding to the API to the local system, and then construct the API instance to realize the call. [0003] When you need to add a new method in the API, you need to modify o...

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
IPC IPC(8): G06F9/48
Inventor 李庆丰
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products