Interface calling method, apparatus, and terminal

A technology of interface calling and calling methods, applied in the computer field, can solve problems such as low development efficiency and limited standard interfaces

Active Publication Date: 2015-08-26
ZHUHAI BAOQU TECH CO LTD
View PDF5 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the standard interface provided by the browser kernel itself is limited. Therefore, in order to meet the development needs of web pages, developers need to develop more extension interfaces as needed for client-side script calls of web pages.
At present, due to the non-uniform standards for developing extended interfaces, there is no unified interface calling method for client scripts to call any extended interface. Therefore, when developing an extended interface, developers not only need to target the functions provided by the extended interface Design an interface function, and also design a processing method for the client script to call the interface for the extended interface
For example: existing interface development methods such as Figure 1a As shown, when developing interface A and interface B, in addition to developing the interface function of interface A and the interface function of interface B, it is also necessary to develop a set of calling methods for interface A when calling interface A and a set of scripts for interface B. The calling method when the script calls interface B, resulting in low development efficiency

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, apparatus, and terminal
  • Interface calling method, apparatus, and terminal
  • Interface calling method, apparatus, and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0073] The embodiment of the present invention provides an interface calling method, device and terminal, the following will be combined with the attached figure 1 - attached Figure 7 An interface calling method, device, and terminal provided in the embodiments of the present invention are respectively introduced in detail.

[0074] See figure 1 , figure 1 It is a schematic flowchart of an interface calling method provided by an embodiment of the presen...

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

Embodiments of the invention disclose an interface calling method and terminal. The interface calling method comprises: receiving an interface calling request, wherein the interface calling request carries an interface identifier and an interface parameter corresponding to a target interface that a client script requires to call; determining a calling mode of the target interface according to the interface identifier; determining, according to the calling mode and the interface parameter, a first parameter in input parameters of a target interface function corresponding to the target interface; using the request identifier of the interface calling request and the first parameter as input parameters of the target interface function, and calling the target interface function; obtaining an output parameter returned after the target interface function is called, wherein the output parameter comprises the request identifier and a second parameter; and returning a calling result of the interface calling request corresponding to the request identifier to the client script based on the second parameter. The embodiments of invention may be used to improve development efficiency of an extension interface.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an interface calling method, device and terminal. Background technique [0002] With the development of Internet technology, the browser has become one of the necessary application software on the mobile terminal. When browsing the webpage through the browser on the mobile terminal, the browser kernel interprets and renders the syntax of the webpage. Usually, the browser kernel provides some standard interfaces for client-side scripts to use or call. Therefore, by loading client-side scripts in the webpage and interpreting and executing the client-side scripts by the browser, the dynamic display effect of the webpage can be realized and the interaction of the webpage can be enhanced. sex. For example: realize special display effects of page elements, respond to user actions, verify form data, and so on. [0003] However, the standard interface provided by the browser ...

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/54
Inventor 刘争辉
Owner ZHUHAI BAOQU 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