Method, device and terminal for invoking interfaces

A technology of interface calling and interface, which is applied in the computer field, can solve problems such as low efficiency of calling interfaces and complicated interface calling process, and achieve the effect of improving efficiency

Inactive Publication Date: 2015-01-14
KINGSOFT
View PDF3 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing interface functions are all developed based on a specific browser kernel, that is, for a certain extension interface, developers need to design an interface function for each browser kernel in the browser to realize the needs of the extension interface. Function, each browser kernel can only call the interface function designed for the kernel
Since the specifications of interface functions designed based on different browser kernels are different, in the existing multi-core browser interface calling methods, for different browser kernels, it is necessary to call interface functions designed based on different specifications, resulting in the interface calling process Complicated, thus, the efficiency of calling the interface is low

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, device and terminal for invoking interfaces
  • Method, device and terminal for invoking interfaces
  • Method, device and terminal for invoking interfaces

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] 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.

[0046] The embodiment of the present invention discloses an interface calling method, device, and terminal, which receive interface calling information sent by any browser core in a multi-core browser, and perform format conversion on parameters carried in the interface calling information, wherein the parameters after conversion The data type is the preset first data type; the converted parameter is used as an input parameter, and the target interface function...

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

An embodiment of the invention discloses a method for invoking interfaces. The method includes receiving interface invoking information transmitted by an optional browser kernel in a multi-kernel browser; converting formats of parameters; utilizing the converted parameters as input parameters and invoking target interface functions corresponding to interface identifiers. The interface invoking information contains the interface identifiers and the parameters which are required for invoking the target interfaces, and data types of the parameters are supported by the optional browser kernel. Data types of the converted parameters are preset first data types. The embodiment of the invention further discloses a device and a terminal for invoking the interfaces. The method, the device and the terminal in the embodiment of the invention have the advantage that the interface invoking efficiency can be improved by the aid of the method, the device and the terminal.

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, browsers have become one of the necessary application software on mobile terminals. Users can obtain shared information on the Internet or share information through browsers through browsers installed on computers, mobile phones and other mobile terminals. . [0003] Usually, the browser provides a large number of interfaces for the client script to use or call. By loading the client script in the webpage and interpreting and executing the client script by the browser, the dynamic display effect of the webpage can be realized and the interactivity of the webpage can be enhanced. For example: realize special display effects of page elements, respond to user actions, verify form data, and so on. [0004] At present, most browsers are multi-core br...

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/44G06F17/30
Inventor 魏宏涛张骏
Owner KINGSOFT
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