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

Browser based plug-in running method and device

An operating method and browser technology, applied in the computer field, can solve problems affecting browsers, error-prone, browser unusable, etc., and achieve the effects of good versatility, improved stability, and improved browsing experience

Inactive Publication Date: 2014-03-05
BEIJING QIHOO TECH CO LTD +1
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the large number of ActiveX plug-ins, the complex operating environment, and the openness of ActiveX plug-ins, the average quality of ActiveX plug-ins is poor. Once there is a problem, the browser will not be able to be used, or serious security problems will occur.
[0005] For example, after an ActiveX plug-in for playing movies is installed in the browser, because the ActiveX plug-in is a DLL (Dynamic Link Library, Dynamic Link Library), it is easy to make mistakes when the DLL is loaded and executed, and a DLL error will also affect the browser
[0006] As can be seen from the above, browsers are often affected by browser plug-ins, causing stability and security issues

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
  • Browser based plug-in running method and device
  • Browser based plug-in running method and device

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0062] Suppose the ActiveX plug-in needs to implement an interface called IOleObject. After the browser creates the proxy object and the real object of the ActiveX plug-in, it will call the SetClientSite method of this interface, and at the same time set the IOleClientSite interface implemented by the browser itself to the proxy object of the ActiveX plug-in. The IOleClientSite interface described above is piped to the real object. In this way, when the real object of the ActiveX plug-in needs to save its own state, it can call the SaveObject method in the IOleClientSite interface, and the call of the SaveObject method is a callback.

example 2

[0064] Assuming that the ActiveX plug-in can provide the camera function, when the user chooses to use the camera and performs the operation of turning on the camera, the browser page using the ActiveX plug-in can provide a (callback) function to the proxy object of the ActiveX plug-in, and the (callback) function passes through the pipeline Passed to the real object; and when the camera is completed, the real object can call the (callback) function to notify the browser page for further processing.

[0065] Embodiments of the present invention have the following advantages:

[0066] First, the present invention creates the proxy object of the real ActiveX plug-in in the browser process, and simultaneously creates the real object of the real ActiveX plug-in in the packaging process in the sandbox; like this, it can ensure that the real object of the real ActiveX plug-in runs in the sandbox , its behavior can be controlled by the sandbox and will not affect the security of the ...

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 discloses a browser based plug-in running method and device. The method specifically includes: intercepting an ActiveX plug-in create request from a browser process; creating a proxy object of a real ActiveX plug-in corresponding to the create request in the browser process, and returning the proxy object, used for realizing all interfaces of the real ActiveX plug-in, to a browser; creating a packaging process in a sandbox, and creating a real object of the real ActiveX plug-in in the packaging process; intercepting a call request of the browser for the proxy object, transmitting the call request to the real object, and executing the call request via the real object. The proxy object can realize all the interfaces of the real ActiveX plug-in and applicable to all ActiveX plug-ins, and a special proxy object needs not to be created for a special ActiveX plug-in, so that the method has the advantage of good universality.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a browser-based plug-in running method and device. Background technique [0002] The so-called plug-in is a program written by an application program interface following certain specifications. Many software has plug-ins, and there are countless kinds of plug-ins. [0003] ActiveX plug-in technology is an internationally common software technology based on Windows platform. Many software are developed in this way, such as Flash animation playback plug-in, Microsoft Media Player plug-in, Adobe PDF reading plug-in, etc. ActiveX plug-ins are usually software components or objects that can be inserted into web pages. [0004] When the user browses to a specific webpage, the browser will prompt the user to download and install the ActiveX plug-in, and the ActiveX plug-in will run in the browser after installation. Due to the large number of ActiveX plug-ins, the complex operating...

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/54G06F17/30G06F21/53
Inventor 张聪孙晓骏
Owner BEIJING QIHOO 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