| CPC G06F 16/90335 (2019.01) | 20 Claims |

|
1. A computer implemented method comprising:
determining, by an application programming interface, software widgets executing on respective mobile applications on a mobile device;
receiving, by the application programming interface executing on the mobile device, a plurality of queries, from the software widgets, for data from a database stored on the mobile device, the plurality of queries including two or more substantially simultaneous queries submitted to the database;
determining, by the application programming interface, a software widget attribute of each respective software widget of the software widgets that submitted the two or more substantially simultaneous queries to the database, the software widget attribute including a visibility characteristic of the software widget at a first time and at least one of a rate at which the software widget is used relative to at least an additional software widget of the software widgets, and a rate of change of software widget data displayed by the software widget;
determining, by the application programming interface, a level of priority for each query of the plurality of queries based on the software widget attribute of each respective software widget;
adjusting, by the application programming interface, the level of priority based on a change of the visibility characteristic of the software widget at a second time;
providing, by the application programming interface, each of the plurality of queries for storage in a data buffer until processing resources of the mobile device are available to process one or more of the plurality of queries; and
processing each query of the plurality of queries against the database stored on the mobile device based on the level of priority that is adjusted.
|