# US 2013/0212283 A1 · Resource Sharing in Multi-Principal Browser

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

- Number: US 2013/0212283 A1
- Document ID: US20130212283A1
- Status: Published application
- Kind: A1
- Application number: 13/725,582
- Filed: 2012-12-21
- Published: 2013-08-15
- Earliest claimed: 2009-08-28
- Assignees: Microsoft Corporation
- Inventors: Jiahe Helen Wang; Alexander Moshchuk
- Web page: https://patentgrep.com/patent/US20130212283A1

## CPC

- H04L 47/783: Distributed allocation of resources, e.g. bandwidth brokers
- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for providing resource sharing in a multi-principal browser are described. Resource sharing includes managing a resource for web entity by determining how to divide the resource to share among two or more web entities based at least in part on a Document Object Model (DOM)-recursive resource allocation policy or an application-specified resource allocation policy. A web entity includes a principal instance contending for the resource. The process identifies resource allocation mechanisms from each resource type based at least in part on the DOM-recursive sharing policy or the application-specified resource allocation policy along with the resource type.

## Claims

### Claim 1

A method implemented at least partially by a processor, the method comprising:
determining how much of a resource a contending principal instance of a web entity that is contending for the resource receives;
dividing the resource recursively along a principal embedding hierarchy of the web entity;
identifying resource allocation mechanisms to divide the resource based at least in part on a fair-share bandwidth across the principal instances of the web entity and one or more other web entities that are contending for the resource; and
sharing the resource between the web entity and the one or more other web entities.

### Claim 2 (depends on 1)

The method of claim 1, wherein sharing is based at least in part on a Document Object Model (DOM)-recursive resource allocation policy.

### Claim 3 (depends on 1)

The method of claim 1, wherein dividing the resource comprises assigning a fraction of the resource to the contending principal instance of the web entity.

### Claim 4 (depends on 3)

The method of claim 3, wherein assigning a fraction of the resource comprises subdividing the fraction of the resource between the contending principal instance of the web entity and an embedded content associated with the contending principal instance of the web entity.

### Claim 5 (depends on 1)

The method of claim 1, wherein the web entity comprises a web site or a web application as a first-class principal in a multi-principal browser that uses a module to allocate resource share between different web entities.

### Claim 6 (depends on 1)

The method of claim 1, further comprising permitting the contending principal instance of the web entity in a multi-principal browser to issue a system call by inter-process communication (IPC) to a browser kernel.

### Claim 7 (depends on 1)

The method of claim 1, wherein identifying resource allocation mechanisms further comprises applying a scheduler to adjust CPU shares for the principal instance of the web entity and the one or more other web entities.

### Claim 8

A system for resource sharing comprising:
a memory;
a processor coupled to the memory, the memory storing computer instructions that when executed, instruct the processor to perform acts comprising:
identifying a resource to share between two or more different web entities that are contending for the resource;
determining how to divide the resource to share between the different web entities based at least in part on a Document Object Model (DOM)-recursive sharing policy; and
dividing the resource based at least in part on instructions from the Document Object Model (DOM)-recursive sharing policy.

### Claim 9 (depends on 8)

The system of claim 8, further comprising a browser kernel to handle system calls from the web entities to a customized commodity operating system, the system call to access the resource.

### Claim 10 (depends on 8)

The system of claim 8, wherein dividing of the resource using the DOM-recursive sharing policy comprises instructions for dividing the resource recursively along a principal embedding hierarchy of at least one of the web entities.

### Claim 11 (depends on 10)

The system of claim 10, wherein dividing the resource recursively comprise dividing the resource into equal fractions among the web entities that are contending for the resource.

### Claim 12 (depends on 8)

The system of claim 8, further comprising insulating computer processing unit (CPU) usage of a one of the web entities from untrusted content that is embedded in the one of the web entities

### Claim 13 (depends on 8)

The system of claim 8, wherein the DOM-recursive sharing policy comprises instructions for allocating proportional shares of the resource among multiple web content embedded on a same one of the web entities.

### Claim 14 (depends on 8)

The system of claim 8, wherein the resource is described based at least in part on resource type and dividing the resource is based at least in part on the resource type.

### Claim 15

A method implemented at least partially by a processor, the method comprising:
determining how much of a resource to share between two or more different web entities that are contending for the resource;
dividing the resource recursively based at least in part on instructions from an application-specified resource allocation policy, the instructions comprising:
specifying a resource share by assigning priorities among a parent and a child;
assigning the predetermined network bandwidth based on a priority for the web entity or embedded content; or
granting absolute priority in resource share for a web entity that is considered critical; and
sharing the resource between the two or more different web entities based at least in part on the dividing.

### Claim 16 (depends on 15)

The method of claim 15, wherein determining how much of the resource to share comprises specifying a resource share for at least one of the web entities and associated embedded content.

### Claim 17 (depends on 15)

The method of claim 15, wherein determining how much of the resource to share is based at least in part on a predetermined network bandwidth for at least one of the web entities that are contending for the resource.

### Claim 18 (depends on 15)

The method of claim 15, wherein determining how much of the resource to share comprises sending one or more system calls to a browser kernel that manages resource sharing.

### Claim 19 (depends on 15)

The method of claim 15, wherein dividing the resource comprises specifying the resource share by assigning priorities among the parent and the child and the priorities include terminating the resource share for the child when in contention with the parent.

### Claim 20 (depends on 15)

The method of claim 15, wherein dividing the resource comprises granting absolute priority for the web entity that is considered critical and the web entity includes a telecom network or a top-level user interface.
