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

A local api call method for web browsers

An API calling and web browser technology, applied in the field of web information, can solve problems such as different, local API execution restrictions, etc.

Active Publication Date: 2017-06-06
北京天威诚信电子商务服务有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The problems with plug-ins or controls are: (1) Not all browsers or browsers running on all user platforms support plug-ins or controls; (2) Web information system developers need to develop corresponding browsers or user platforms. Plug-ins or controls (because the mechanisms and codes of plug-ins or controls of different browsers or browsers running on different user platforms will be different)
But the problem with Native Client technology is: (1) only suitable for Google browser; (2) the execution of the local API called is limited

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
  • A local api call method for web browsers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0029]The development of agent program can adopt the program development technology that is suitable for user's computing device and can call local API, for example, if the operating system of user's computing device is Windows and local API is Windows dynamic library, COM component, then can adopt C / C++ combination Microsoft's program development tools such as MFC, ATL and other development. The network communication mode between the browser and the agent program can be HTTP. The Web information system can use HTML frame (FRAME) technology to interact with the agent program through the browser, including submitting local API call requests and obtaining results; at the same time, the agent program can use automatic HTTP POST or GET to return to the Web information system through the browser results or submit requests; alternatively, the browser can del...

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 relates to a local application program interface (API) calling method for a web browser. The local API calling method is characterized in that during a process that a user uses the browser to visit a web information system, if the browser needs to call a local API of a user computing device when displaying and processing a return result of the web information system, the browser submits a calling request to an agent program, where the browser is located, of the user computing device through a network communication manner, and the agent program calls the local API and returns a result calling the local API to the browser; if the called local API involves use of sensitive resources or functions, the agent program protects use of the sensitive resources or the functions before calling the local API in a mode of promoting a user or a mode of establishing a safe conversation between the agent program and the web information system; the mode of establishing the safe conversation includes use of a conversation identification, data encryption and hash-based message authentication code (HMAC) signing.

Description

technical field [0001] The invention belongs to the field of Web information technology, in particular to a method for invoking a local API facing a Web browser. Background technique [0002] When a user uses a browser to access a Web information system (or application system), it is often necessary to call a local API of the user's computing device, such as a dynamic library, a COM component, and a system API. However, various browsers prohibit direct native APIs due to security concerns. In order to solve this problem, some browsers allow calling the local API of the user's computing device through a security plug-in or control (digitally signed plug-in or control, such as Mozilla Plug-in, IE ActiveX). The problems with plug-ins or controls are: (1) Not all browsers or browsers running on all user platforms support plug-ins or controls; (2) Web information system developers need to develop corresponding browsers or user platforms. Plug-ins or controls (because the mechan...

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): G06F9/46G06F21/57H04L29/08
Inventor 龙毅宏
Owner 北京天威诚信电子商务服务有限公司