BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO., LTD.
发明人:
WANG, Zhe
申请号:
WO2016CN81184
公开号:
WO2016177341(A1)
申请日:
2016.05.05
申请国别(地区):
世界知识产权组织国际局
年份:
2016
代理人:
摘要:
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 interfac