An interface calling method, device and terminal

An interface calling and interface function technology, applied in the computer field, can solve problems such as web page or extension plug-in running error, poor browser compatibility, etc.

Active Publication Date: 2019-06-25
ZHUHAI BAOQU TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the browser kernel currently running in the browser is not the specific browser kernel corresponding to the client script, and the currently running browser kernel and the specific browser kernel have the above-mentioned differences in the interfaces that need to be called by the client script , web pages or extensions will run wrong, resulting in poor browser compatibility

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
  • An interface calling method, device and terminal
  • An interface calling method, device and terminal
  • An interface calling method, device and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0043]Embodiments of the present invention provide an interface calling method, device, and terminal, which receive an interface calling instruction, and the interface calling instruction carries an interface identifier and parameters corresponding to an interface that needs to be called by loading a client script; when the browser currently running When the browser kernel is not the target browser kernel corresponding to the client script, and there is a diffe...

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 interface calling method, an interface calling device and a terminal, which can improve the compatibility of a browser. The method comprises: receiving an interface calling instruction, the interface calling instruction carrying an interface identifier and parameters, corresponding to an interface which needs to be called for loading a client script (S101); when a browser kernel, which is currently operated in a browser, is not a target browser kernel corresponding to the client script, and a first interface function, which is provided by the currently operated browser kernel and corresponds to the interface identifier, is different from a second interface function, which is provided by the target browser kernel and corresponds to the interface identifier, acquiring a pre-set target interface function, which corresponds to the interface identifier, of the currently operated browser kernel (S102); and taking the parameters as input parameters of the target interface function, and calling the target interface function (S103).

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 the grammar of the webpage and renders the webpage. Usually, the browser kernel provides a large number of interfaces, and the client script can call these interfaces, and the browser interprets and executes the client script loaded in the webpage, so as to realize the dynamic display effect of the webpage and enhance the interactivity of the webpage. [0003] At present, most browsers are multi-core browsers, that is, the browser includes at least two browser cores. However, interface functions provided by different browser cores may be different. For example:...

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 Patents(China)
IPC IPC(8): G06F8/76G06F9/445
CPCG06F9/46
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