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.
CN104881318BActive Publication Date: 2019-06-25ZHUHAI BAOQU TECH CO LTD

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Patents(China)
Current Assignee / Owner
ZHUHAI BAOQU TECH CO LTD
Publication Date
2019-06-25

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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).
Need to check novelty before this filing date? Find Prior Art

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