# US 2018/0323812 A1 · Virtualized hardware support for mobile devices

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

- Number: US 2018/0323812 A1
- Document ID: US20180323812A1
- Status: Published application
- Kind: A1
- Application number: 16/036,605
- Filed: 2018-07-16
- Published: 2018-11-08
- Earliest claimed: 2015-12-08
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Tipu Saleem Qureshi; Deepak Singh; William Andrew Thurston
- Web page: https://patentgrep.com/patent/US20180323812A1

## CPC

- H04B 1/0003: {Software-defined radio [SDR] systems, i.e. systems wherein components typically implemented in hardware, e.g. filters or modulators/demodulators, are implented using software, e.g. by involving an AD or DA conversion stage such that at least part of the signal processing is performed in the digital domain (digital baseband systems H04L25/00; digital modulation/demodulation H04L27/00; CDMA H04B1/707; TDMA H04B7/2643; image transmission H04N5/00)}
- H04B: TRANSMISSION

## Abstract

A mobile device may include a plurality of hardware devices. The physical devices may be virtualized to enable efficient access and utilization. Furthermore, the mobile device may support containerization of applications executed by the hardware devices. The virtualized physical devices may be provided to various containers executed by the mobile device. Furthermore, a priority mechanism may be used to manage container access to the physical devices.

## Claims

### Claim 1

A computer-implemented method, comprising:
obtaining a request, for a physical hardware resource, from a container through a virtual hardware interface of a device hosting the container, the request including priority information;
placing the request in a first data structure of a plurality of data structures based at least in part on the priority information, wherein the plurality of data structures are organized according to priority; and
processing the request according to its placement among the plurality of data structures.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising assigning a first share of access to the physical hardware resource to the first data structure, where the first share indicates an amount of time the physical hardware resource may be used to fulfill requests queued in the first data structure.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein obtaining the request for the physical hardware resource further comprises exposing, by an agent executed by the device, a portion of a set of virtual hardware interfaces such that the container may submit requests to the portion of the set of virtual hardware interfaces.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, further comprising assigning, by the agent, a priority to the container.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the data structures are ring structures and requests placed in a higher priority ring are selected for processing prior to requests placed in a lower priority ring.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein obtaining the request for the physical hardware resource further comprises initializing the virtual hardware interface by loading a virtual device driver.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein processing the request causes requests in one or more other data structures to be reprioritized.

### Claim 8

A system, comprising:
one or more processors; and
memory that includes instructions that, if executed by the one or more processors, cause the system to:
expose a virtual hardware interface to a container;
obtain, at the virtual hardware interface, a request from the container;
determine a priority associated with the request based at least in part on information in the request;
place the request in a first data structure according to a priority of the data structure among at least one other data structure; and
process the request according to its priority.

### Claim 9 (depends on 8)

The system of claim 8, wherein the plurality of data structures further comprises a high priority data structure, a lower priority data structure and a lowest priority data structure, wherein requests queued in the lower priority data structure are processed after requests in the high priority data structure and requests queued in the lowest priority data structure are processed after requests in the lower priority data structure.

### Claim 10 (depends on 9)

The system of claim 9, wherein determining a priority associated with the request further causes the system to assign, by an agent executing at an operating system level, operating system requests to the high priority data structure.

### Claim 11 (depends on 9)

The system of claim 9, wherein determining a priority associated with the request further causes the system to assign, by an agent executing at an operating system level, user requests to the lower priority data structure.

### Claim 12 (depends on 9)

The system of claim 9, wherein determining a priority associated with the request further causes the system to assign, by an agent executing at an operating system level, requests associated with test operations to the lowest priority data structure.

### Claim 13 (depends on 8)

The system of claim 8, wherein exposing the virtual hardware interface further comprises initializing a single virtual hardware interface to a plurality of physical hardware elements of the system.

### Claim 14 (depends on 8)

The system of claim 8, wherein exposing the virtual hardware interface further comprises initializing a single virtual hardware interface for each physical hardware element of the system, wherein the system further includes a plurality of physical hardware elements and at least a portion of the plurality of physical hardware elements are of different types.

### Claim 15

A non-transitory computer-readable storage medium having stored thereon executable instructions that, as a result of being executed by one or more processors of a computer system, cause the computer system to at least:
provide, to a container, a set of virtual hardware interfaces associated with a set of physical hardware elements, where a virtual hardware interface of the set of virtual hardware interfaces enables the container to access a particular physical hardware element of the set of physical hardware elements;
obtain, at the virtual hardware interface, a request from the container;
determine a priority associated with the request based at least in part on information associated with the request; and
process the request from a data structure of a plurality of prioritized data structures.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions that cause the computer system to determine the priority associated with the request further include instructions that cause the computer system to determine the priority associated with the request based at least in part on an application responsible for generating the request.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions that cause the computer system to determine the priority associated with the request further include instructions that cause the computer system to determine the priority associated with the request based at least in part on one or more factors including the container associated with the request, one or more other requests dependent on the request, and a point in time at which the request was submitted.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions further comprise instructions that, as a result of being executed by the one or more processors, cause the computer system to assign the priority to the container during initialization of the container.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions that cause the computer system to provide to the container the set of virtual hardware interfaces further include instructions that cause the computer system to provide to the container the set of virtual hardware interfaces through a hypervisor.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions that cause the computer system to obtain the request from the container further include instructions that cause the computer system to obtain the request from an agent executed by the container and running within the container namespace.
