# US 2019/0377761 A1 · Intelligent buffering of queries from a mobile application

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

- Number: US 2019/0377761 A1
- Document ID: US20190377761A1
- Status: Published application
- Kind: A1
- Application number: 16/439,304
- Filed: 2019-06-12
- Published: 2019-12-12
- Earliest claimed: 2018-06-12
- Assignees: Nuvolo Technologies Corporation
- Applicants: Nuvolo Technologies Corporation
- Inventors: Nabil Enayet; Tejas Yadav; Tao Ye
- Web page: https://patentgrep.com/patent/US20190377761A1

## CPC

- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 16/90335: {Query processing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium for intelligently buffering queries from a mobile application. In one aspect, the method may include receiving, by an application programming interface executing on a mobile device, multiple queries, from different software widgets executing on a mobile application, for data from a database stored on the mobile device, determining, by the application programming interface, a level of priority for each query of the multiple queries, providing, by the application programming interface, each of the multiple queries for storage in a data buffer until processing resources of the mobile device are available to process one or more of the multiple queries, and processing each query of the multiple queries against the database stored on the mobile device based on the assigned level of priority.

## Claims

### Claim 1

A method comprising:
receiving, by an application programming interface executing on a mobile device, multiple queries, from different software widgets executing on a mobile application, for data from a database stored on the mobile device;
determining, by the application programming interface, a level of priority for each query of the multiple queries;
providing, by the application programming interface, each of the multiple queries for storage in a data buffer until processing resources of the mobile device are available to process one or more of the multiple queries; and
processing each query of the multiple queries against the database stored on the mobile device based on the assigned level of priority.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining, by the application programming interface, a level of priority for each query of the multiple queries comprises:
determining a level of priority for each query of the multiple queries based on a timestamp associated with each query of the multiple queries.

### Claim 3 (depends on 2)

The method of claim 2, wherein the timestamp associated with each query of the multiple queries indicates a time that the query was originated by a particular software widget of the different software widgets.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining, by the application programming interface, a level of priority for each query of the multiple queries comprises:
determining a level of priority for each query of the multiple queries based on (i) a time stamp associated with the query and (ii) whether or not a particular software widget of the different software widgets that originated the query is visible on the display of the mobile device.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining a level of priority for each query of the multiple queries based on (i) a time stamp associated with the query and (ii) whether or not a particular software widget of the different software widgets that originated the query is visible on the display of the mobile device comprises:
determining a first level of priority for one or more first queries that originate from a software widget that is currently visible on the display of the mobile device, wherein the first level of priority prioritizes the one or more first queries for execution over one or more second queries that originate from a software widget that is not visible on the display of the mobile device.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
adjusting, by the application programming interface, a level of priority that is associated with at least one query that is stored in the data buffer.

### Claim 7 (depends on 6)

The method of claim 6, wherein adjusting, by the application programming interface, a level of priority that is associated with at least one query that is stored in the data buffer comprises:
determining, by the application programming interface, that a first software widget that was previously not visible on the display of the mobile device is now visible on the display of the mobile device;
determining, by the application programming interface, that a particular query that originated from the first software widget is stored in the data buffer; and
adjusting the level of priority associated with the particular query in a manner that promotes the particular query for execution over one or more other queries of the multiple queries that originated from a widget that is not visible on the display of the user device.

### Claim 8 (depends on 6)

The method of claim 6, wherein adjusting, by the application programming interface, a level of priority that is associated with at least one query that is stored in the data buffer comprises:
determining, by the application programming interface, that a second software widget that was visible on the display of the mobile device is no longer visible on the display of the mobile device;
determining, by the application programming interface, that a particular query that originated from the second software widget is stored in the data buffer; and
adjusting the level of priority associated with the particular query in a manner that demotes the particular query for execution after each of the other queries of the multiple queries stored in the data buffer that originated from a software widget that is visible on the display of the mobile device.

### Claim 9

A system comprising:
one or more computers and one or more storage devices storing instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising:
receiving, by an application programming interface executing on a mobile device, multiple queries, from different software widgets executing on a mobile application, for data from a database stored on the mobile device;
determining, by the application programming interface, a level of priority for each query of the multiple queries;
providing, by the application programming interface, each of the multiple queries for storage in a data buffer until processing resources of the mobile device are available to process one or more of the multiple queries; and
processing each query of the multiple queries against the database stored on the mobile device based on the assigned level of priority.

### Claim 10 (depends on 9)

The system of claim 9, wherein determining, by the application programming interface, a level of priority for each query of the multiple queries comprises:
determining a level of priority for each query of the multiple queries based on a timestamp associated with each query of the multiple queries.

### Claim 11 (depends on 10)

The system of claim 10, wherein the timestamp associated with each query of the multiple queries indicates a time that the query was originated by a particular software widget of the different software widgets.

### Claim 12 (depends on 9)

The system of claim 9, wherein determining, by the application programming interface, a level of priority for each query of the multiple queries comprises:
determining a level of priority for each query of the multiple queries based on (i) a time stamp associated with the query and (ii) whether or not a particular software widget of the different software widgets that originated the query is visible on the display of the mobile device.

### Claim 13 (depends on 12)

The system of claim 12, wherein determining a level of priority for each query of the multiple queries based on (i) a time stamp associated with the query and (ii) whether or not a particular software widget of the different software widgets that originated the query is visible on the display of the mobile device comprises:
determining a first level of priority for one or more first queries that originate from a software widget that is currently visible on the display of the mobile device, wherein the first level of priority prioritizes the one or more first queries for execution over one or more second queries that originate from a software widget that is not visible on the display of the mobile device.

### Claim 14 (depends on 9)

The system of claim 9, the operations further comprising:
adjusting, by the application programming interface, a level of priority that is associated with at least one query that is stored in the data buffer.

### Claim 15 (depends on 14)

The system of claim 14, wherein adjusting, by the application programming interface, a level of priority that is associated with at least one query that is stored in the data buffer comprises:
determining, by the application programming interface, that a first software widget that was previously not visible on the display of the mobile device is now visible on the display of the mobile device;
determining, by the application programming interface, that a particular query that originated from the first software widget is stored in the data buffer; and
adjusting the level of priority associated with the particular query in a manner that promotes the particular query for execution over one or more other queries of the multiple queries that originated from a widget that is not visible on the display of the user device.

### Claim 16 (depends on 14)

The system of claim 14, wherein adjusting, by the application programming interface, a level of priority that is associated with at least one query that is stored in the data buffer comprises:
determining, by the application programming interface, that a second software widget that was visible on the display of the mobile device is no longer visible on the display of the mobile device;
determining, by the application programming interface, that a particular query that originated from the second software widget is stored in the data buffer; and
adjusting the level of priority associated with the particular query in a manner that demotes the particular query for execution after each of the other queries of the multiple queries stored in the data buffer that originated from a software widget that is visible on the display of the mobile device.

### Claim 17

A non-transitory computer-readable medium storing software comprising instructions executable by one or more computers which, upon such execution, cause the one or more computers to perform operations comprising:
receiving, by an application programming interface executing on a mobile device, multiple queries, from different software widgets executing on a mobile application, for data from a database stored on the mobile device;
determining, by the application programming interface, a level of priority for each query of the multiple queries; and
providing, by the application programming interface, each of the multiple queries for storage in a data buffer until processing resources of the mobile device are available to process one or more of the multiple queries;
processing each query of the multiple queries against the database stored on the mobile device based on the assigned level of priority.

### Claim 18 (depends on 17)

The computer-readable medium of claim 17, wherein determining, by the application programming interface, a level of priority for each query of the multiple queries comprises:
determining a level of priority for each query of the multiple queries based on a timestamp associated with each query of the multiple queries.

### Claim 19 (depends on 18)

The computer-readable medium of claim 18, wherein the timestamp associated with each query of the multiple queries indicates a time that the query was originated by a particular software widget of the different software widgets.

### Claim 20 (depends on 17)

The computer-readable medium of claim 17, wherein determining, by the application programming interface, a level of priority for each query of the multiple queries comprises:
determining a level of priority for each query of the multiple queries based on (i) a time stamp associated with the query and (ii) whether or not a particular software widget of the different software widgets that originated the query is visible on the display of the mobile device.
