# US 9,354,951 B2 · Method and device for browsing webpage

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,354,951 B2
- Document ID: US9354951B2
- Status: Granted
- Kind: B2
- Application number: 14/368,588
- Filed: 2012-12-26
- Published: 2015-03-26
- Granted: 2016-05-31
- Earliest claimed: 2011-12-28
- Assignees: Beijing Qihoo Technology Company Limited
- Applicants: Beijing Qihoo Technology Company Limited
- Inventors: Jinwei Li; Zhi Chen; Huan Ren
- Web page: https://patentgrep.com/patent/US9354951B2

## CPC

- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- H04L 63/10: {for controlling access to devices or network resources}
- H04L 63/102: {Entity profiles}
- H04L 63/168: {above the transport layer}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present invention discloses a method and device for browsing webpage, wherein the method including: creating a plugin/control process independent from a page process for a plugin/control object when a page thread creates the plugin/control object; and placing the independent plugin/control process into a sandbox to run; browsing a webpage by implementing inter-process communication between the plugin/control process and the page process; wherein the page process running outside the sandbox. According to the invention, the web browsing security is guaranteed, and meanwhile the running stability of the browser is enhanced.

## Claims

### Claim 1

A method for browsing a webpage, comprising:
creating a plugin/control process which is independent from a page process for a plugin/control object when a page thread creates the plugin/control object;
placing the independent plugin/control process into a sandbox to run; and
browsing a webpage by implementing inter-process communication between the plugin/control process and the page process, wherein the page process runs outside the sandbox;
wherein the implementing the inter-process communication between the plugin/control process and the page process comprises:
creating a main window object and a browser host object in the independent plugin/control process, and connecting the browser host object to the main window object, so that the page process sends messages of mouse, keyboard, and other response events to the plugin/control process via the main window.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the implementing the inter-process communication between the plugin/control process and the page process comprises:
determining whether the instruction is sent from the plugin/control process and belongs to a preset communication instruction set when the plugin/control process in the sandbox needs to send an instruction outside of the sandbox, and, if yes, letting the instruction out of the sandbox so that the plugin/control process can send messages to the page process.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the plugin/control process sending messages to the page process comprises one of:
when the plugin/control process has a script to call, forwarding the script to the page thread that creates the plugin/control process; and
when the plugin/control process creates a drawing event, sending the data corresponding to the drawing event to the corresponding page process.

### Claim 4

A device for browsing a webpage, comprising:
a memory having instructions stored thereon; and
a processor to execute the instructions to perform operations for browsing a webpage, the operations comprising:
creating a plugin/control process which is independent from a page process for a plugin/control object when a page thread creates the plugin/control object;
placing the independent plugin/control process into a sandbox to run; and
browsing a webpage by implementing inter-process communication between the plugin/control process and the page process, wherein the page process runs outside the sandbox;
wherein the implementing the inter-process communication between the plugin/control process and the page process comprises:
creating a main window object and a browser host object in the independent plugin/control process, and connecting the browser host object to the main window object, so that the page process sends messages of mouse, keyboard, and other response events to the plugin/control process via the main window.

### Claim 5 (depends on 4)

The device according to claim 4, wherein the implementing the inter-process communication between the plugin/control process and the page process comprises:
determining whether the instruction is issued from the plugin/control process and belongs to a preset communication instruction set when the plugin/control process in the sandbox needs to send an instruction outside of the sandbox, and, if yes, letting the instruction out of the sandbox so that the plugin/control process can send messages to the page process.

### Claim 6 (depends on 5)

The device according to claim 5, wherein the plugin/control process sending messages to the page process comprises one of:
when the plugin/control process has a script to call, forwarding the script to the page thread that creates the plugin/control process; and
when the plugin/control process creates a drawing event, sending the data corresponding to the drawing event to the corresponding page process.

### Claim 7

A non-transitory computer readable medium comprising instructions stored thereon that, when executed by a computing device causes the computing device to perform operations for browsing a webpage, the operations comprising:
creating a plugin/control process which is independent from a page process for a plugin/control object when a page thread creates the plugin/control object;
placing the independent plugin/control process into a sandbox to run; and
browsing a webpage by implementing inter-process communication between the plugin/control process and the page process, wherein the page process runs outside the sandbox;
wherein the implementing the inter-process communication between the plugin/control process and the page process comprises:
creating a main window object and a browser host object in the independent plugin/control process, and connecting the browser host object to the main window object, so that the page process sends messages of mouse, keyboard, and other response events to the plugin/control process via the main window.
