Method and device for generating calling codes by calling application programming interfaces

A programming interface and application program technology, applied in the direction of program control devices, multi-program devices, etc., can solve the problems of reducing development efficiency, easily leading to errors, and high requirements, and achieve the effect of shortening the development cycle and improving development efficiency

Inactive Publication Date: 2012-07-25
SHENZHEN COSHIP ELECTRONICS CO LTD
View PDF6 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the above-mentioned process of calling the service API to generate the call code, because the communication protocols and calling methods adopted by different service APIs are different, not only the programmers need to learn the description documents of the service API, but also the communication method adopted by the service API. If programmers call a service API to implement a value-added service, they need to write codes in different languages ​​to parse the service API, and write code to call the method description information provided in the

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 device for generating calling codes by calling application programming interfaces
  • Method and device for generating calling codes by calling application programming interfaces
  • Method and device for generating calling codes by calling application programming interfaces

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0039] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0040] In the prior art, when implementing value-added services, it is necessary to write code to parse the service API, and write code to call the information parameters in the method description information provided in the service API, so that programmers need to repeatedly write code for different value-added services, and , Different programmers also need to write code separately for the same value-added service, which increases the development cycle and reduces the development efficiency. In the embodiment of the present invention, by pre-obtaining each service API, writing code to analyze the service API, generating the service API configuration interface, and by writing code to call the method description information provided in th...

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 a method and a device for generating calling codes by calling application programming interfaces. The method includes the steps: presetting a capacity guide component box control interface consisting of the APIs (application programming interfaces), and setting a service address for each capacity guide component control; receiving triggering information of the capacity guide component controls, and resolving and displaying service APIs included in the capacity guide component controls from the service addresses according to the set service addresses corresponding to the capacity guide component controls; receiving triggering information set by the service APIs, acquiring service information corresponding to the service APIs from the service addresses, generating and displaying corresponding service API guide setting interfaces according to the service information, and sequentially setting service information parameters in the displayed service API guide setting interfaces; and confirming completion of setting the service information parameters, and generating the service API calling codes according to the set service information. By the aid of the method and the device, value added service application development cycle can be shortened, and development efficiency is improved.

Description

technical field [0001] The present invention relates to application programming interface (API, Application Program Interface) technology, in particular to a method and device for generating calling codes by calling APIs. Background technique [0002] At present, there are a large number of value-added service APIs in the Internet (Internet), for example, SMS service, MMS service, IP service, mobile phone attribution query service, etc. Programmers can call this service API by writing code, and use the written code to Analyze the encapsulated service API, obtain the information parameters in the service API, set the information parameters by studying the service API documentation, write codes to generate call codes according to the set information parameters, and obtain the return results, so as to realize value-added business applications. Take the value-added service that the programmer develops the mobile phone (mobile phone) number attribution inquiry as an example, at 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
IPC IPC(8): G06F9/44G06F9/46
Inventor 黄柳妃
Owner SHENZHEN COSHIP ELECTRONICS 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