Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Interface calling method, apparatus and terminal

A technology of interface calls and interface functions, applied in the computer field, can solve problems such as web page or extension plug-in operation errors, poor browser compatibility, etc.

Active Publication Date: 2015-09-02
ZHUHAI BAOQU TECH CO LTD
View PDF5 Cites 15 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
  • 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

[0042] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0043] The embodiments of the present invention provide an interface calling method, device, and terminal, and receive an interface calling instruction. The interface calling instruction carries the interface identifier and parameters corresponding to the interface that needs to be called to load the client script; when the browser is currently running When the browser kernel is not the target browser kernel corresponding to the client sc...

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 embodiments of the present invention disclose an interface calling method, comprising: receiving an interface calling instruction with an interface identifier and parameter corresponding to an interface required to be called for loading a client script; obtaining a target interface function of a currently operating browser core corresponding to a preset interface identifier when the currently operating browser core in a browser is not a target browser core corresponding to the client script and a first interface function, corresponding to the interface identifier, provided by the currently operating browser core is different from a second interface function, corresponding to the interface identifier, provided by the target browser core; and using the parameter as an input parameter of the target interface function to call the target interface function. The embodiments of the present invention also disclose an interface calling apparatus and terminal. By utilization of the embodiments of the present invention, compatibility of the browser can be improved.

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 webpage grammar and renders the webpage. Generally, the browser kernel provides a large number of interfaces, and the client script can call these interfaces. The browser interprets and executes the client script loaded in the web page, thereby realizing the dynamic display effect of the web page and enhancing the interactivity of the web page. [0003] Currently, most browsers are multi-core browsers, that is, the browser includes at least two browser cores. However, the interface functions provided by different browser cores may be different. For example: differ...

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/46G06F9/445
CPCG06F9/46
Inventor 王哲
Owner ZHUHAI BAOQU TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products