Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for calling expansion interface

A technology for extending interfaces and calling requests, which is applied in the field of Internet technology and blockchain, and can solve problems such as the inability to implement extended interface calling permissions

Active Publication Date: 2021-06-08
深圳市雅阅科技有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the interface permission management corresponds to the version of the browser, if you need to modify the calling permission of some extended interfaces, you need to recompile and release a new version of the browser, and it is impossible to flexibly control the calling permission of the extended interface

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 and device for calling expansion interface
  • Method and device for calling expansion interface
  • Method and device for calling expansion interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. All other embodiments obtained under the premise of creative work fall within the protection scope of the present invention.

[0055] In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" can be the same or a different subset of all possible embodiments, and Can be combined with each other without conflict.

[0056] In the following description, the term "first\second\third" is only used to distinguish similar objects, and does not represent a specific ordering of objects. It is understood that "first\second\third" is used in Where permitted, the specific order or sequence may be interchanged to enable the embodiments of the invention described herein t...

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 invention provides a method and device for calling an expansion interface. The method comprises the steps of receiving a calling request for an expansion interface of a browser, wherein the calling request is triggered through page operation in a target page presented by the browser and carries interface parameters of the expansion interface; responding to the calling request, and obtaining page information of the target page; based on the page information of the target page, performing call permission verification on the target page to obtain a verification result; when the verification result represents that the target page has the calling permission for the expansion interface, calling the expansion interface of the browser based on the interface parameter to obtain a calling result; and returning the obtained calling result so as to present a function page corresponding to the page operation based on the calling result. According to the invention, the calling authority of the expansion interface can be flexibly controlled.

Description

technical field [0001] The invention relates to the fields of Internet technology and blockchain technology, and in particular, to a method and device for calling an extension interface. Background technique [0002] When developing browser applications, technicians extend the functions of the browser by developing extension interfaces. When a user of a software development kit (Software Development Kit, SDK) directly invokes the extension interface, if the current version of the browser does not support the invocation of the extension interface, the invocation will crash. [0003] The related art provides a directly usable JavaScript code package to the user of the SDK by re-encapsulating the extension interface, so as to solve the compatibility problem of browsers of different versions. However, because the interface authority management corresponds to the browser version, if you need to modify the calling authority of some extended interfaces, you need to recompile and r...

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/448
CPCG06F9/4482
Inventor 李俊宁
Owner 深圳市雅阅科技有限公司