Application programming interface to modify incomplete graph code
US-2024385905-A1 · Nov 21, 2024 · US
US10218767B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10218767-B2 |
| Application number | US-201314655159-A |
| Country | US |
| Kind code | B2 |
| Filing date | Aug 30, 2013 |
| Priority date | Dec 25, 2012 |
| Publication date | Feb 26, 2019 |
| Grant date | Feb 26, 2019 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
The present disclosure discloses a method, a system and a browser for executing a browser active object. In the present invention, a proxy object is run in a page process and an active object is run in an independent process, so that a true plug-in is separated from the page process. The present invention further discloses an inter-process script execution method, system and browser. The present invention further discloses a browser active object executing method and system, and a browser.
Opening claim text (preview).
The invention claimed is: 1. A method for executing an active object of a browser, the active object being an object corresponding to an ActiveX plug-in, the method comprising: before the active object is created, intercepting, by at least one processor, a webpage process to query for a safety interface of a pre-created active object corresponding to the active object, and returning information indicating the ActiveX plug-in is a safe plug-in; intercepting, by the at least one processor, a procedure of the webpage process creating the active object, and creating a proxy object to replace the active object, with the proxy object running in the webpage process; when the webpage process activates the proxy object, creating, by the at least one processor, the active object in an independent process independent from the webpage process, with the active object running in the independent process; creating, by the at least one processor, a communication window for each of the active object and the proxy object; and the active object and the proxy object communicating, by the at least one processor, via the communication windows, and the proxy object invoking the active object and/or the active object invoking the proxy object. 2. The method according to claim 1 , wherein creating the active object in the independent process independent from the webpage process comprises: intercepting the independent process to query for an IWeBrowser2 interface, and returning a self-created IWeBrowser2 interface to create the active object. 3. The method according to claim 1 , wherein the communication between the active object and the proxy object via the communication windows comprises a script executing procedure between the active object and the proxy object. 4. The method according to claim 3 , wherein the script executing procedure between the active object and the proxy object comprises an execution of a script of the active object by the proxy object, and the procedure of the proxy object executing the script of the active object comprises: the active object transmitting the script to the proxy object via the communication window; the active object obtaining a scheduling identification of a to-be-executed method in the script by invoking a scheduling interface of the proxy object; the active object intercepting an instruction in the independent process executing the to-be-executed method in the script and transmitting the instruction to the proxy object; and the proxy object executing the to-be-executed method in the script by executing the instruction and then returning an execution result to the active object. 5. The method according to claim 4 , wherein the active object obtaining the scheduling identification of the to-be-executed method in the script by invoking the scheduling interface of the proxy object comprises: by invoking the scheduling interface of the proxy object, the active object enabling the proxy object to execute a method of obtaining the scheduling identification of the to-be-executed method in the script, and then the proxy object returning the scheduling identification to the active object via the communication window. 6. The method according to claim 3 , wherein the script executing procedure between the active object and the proxy object comprises an execution of a script of the proxy object by the active object, and the procedure of the active object executing the script of the proxy object comprises: the proxy object transmitting the script to the active object via the communication window; the proxy object obtaining a scheduling identification of a to-be-executed method in the script by invoking the scheduling interface of the active object; the proxy object intercepting an instruction in the webpage process executing the to-be-executed method in the script and transmitting the instruction to the active object; and the active object executing the to-be-executed method in the script by executing the instruction, and then returning an execution result to the proxy object. 7. The method according to claim 6 , wherein the proxy object obtaining the scheduling identification of the to-be-executed method in the script by invoking the scheduling interface of the active object comprises: by invoking the scheduling interface of the active object, the proxy object enabling the active object to execute a method of obtaining the scheduling identification of the to-be-executed method in the script, and then the active object returning the scheduling identification to the proxy object via the communication window. 8. The method according to claim 1 , wherein there are a plurality of proxy objects running in the webpage process, there are a plurality of active objects running in the independent process, there is a one-to-one correspondence between the proxy objects and the active objects, the communication window of the proxy object has a corresponding attribute with the communication window of the active object corresponding to the proxy object, and communication between the active object and the proxy object is achieved through the two communication windows. 9. The method according to claim 1 , wherein the ActiveX plug-in is Baidu video or QVOD. 10. A system for executing an active object of a browser, comprising at least one processor to execute: before the active object is created, a webpage process to intercept a webpage process to query for a safety interface of a pre-created active object corresponding to the active object, and return information indicating the active object is a safe plug-in; intercept a procedure of the webpage process creating the active object, and create a proxy object to replace the active object, with the proxy object running in the webpage process; when the webpage process activates the proxy object, an independent process to create the active object independent from the webpage process, with the active object running in the independent process; and the proxy object is located in the webpage process, the active object is located in the independent process, and a communication window is created for each of the active object and the proxy object, the active object being an active object corresponding to the ActiveX plug-in, the active object and the proxy object communicating via the communication windows, and the proxy object invoking the active object and/or the active object invoking the proxy object. 11. The system according to claim 10 , wherein the independent process is further configured to intercept the independent process to query for an IWeBrowser2 interface, and return a self-created IWeBrowser2 interface to create the active object. 12. The system according to claim 10 , wherein the active object comprises: a first transmitting module to transmit a script to the proxy object via the communication window; a first scheduling identification obtaining module to obtain a scheduling identification of a to-be-executed method in the script by invoking a scheduling interface of the proxy object; and a first intercepting module to intercept an instruction in the independent process executing the to-be-executed method in the script and transmit the instruction to the proxy object; the proxy object comprises: a first receiving module to receive the script transmitted by the first transmitting module of the active object and the instruction transmitted by the first intercepting module; and a first executing module to execute the to-be-executed method in the script by executing the instruction and then return an execution result to the active object. 13. The system according to claim 12 , wherein the f
Electricity · mapped topic
Interprogram communication · CPC title
Electricity · mapped topic
based on web technology, e.g. hypertext transfer protocol [HTTP] · CPC title
involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416) · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.