Method and apparatus for providing an application-level cache with a locked region and a floating region
AssigneeNokia Corporation
InventorsNikolai Grigoriev, Sylvain Legault
Life of this patent
Estimating the term…
Abstract
An approach is provided for providing an application-level cache. A caching application configures at least one memory of a mobile terminal into an application-level cache with a locked region and a floating region. The caching application then causes, at least in part, actions that result in caching, into each of the locked region and the floating region, of data items that are anticipated to be requested via an application of the mobile terminal.
Claims20
A method comprising:
- configuring at least one memory of a mobile terminal into an application-level cache with a locked region and a floating region;
- and
- causing, at least in part, actions that result in caching into each of the locked region and the floating region of data items that are anticipated to be requested via an application of the mobile terminal,
- wherein the floating region is attached to the locked region when the data items cached in the floating region are sequentially or directly ordered from the data items cached in the locked region, and the floating region is detached from the locked region when the data items cached in the floating region are no longer sequentially or directly ordered from the data items cached in the locked region so that there is a gap between the locked region and the floating region.
An apparatus comprising:
- at least one processor;
- and
- at least one memory including computer program code,
- the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least the following,
- configure at least one memory of a mobile terminal into an application-level cache with a locked region and a floating region;
- and
- cause, at least in part, actions that result in caching, into each of the locked region and the floating region, of data items that are anticipated to be requested via an application of the mobile terminal,
- wherein the floating region is attached to the locked region when the data items cached in the floating region are sequentially or directly ordered from the data items cached in the locked region, and the floating region is detached from the locked region when the data items cached in the floating region are no longer sequentially or directly ordered from the data items cached in the locked region so that there is a gap between the locked region and the floating region.
A non-transitory computer-readable storage medium carrying one or more sequences of one or more instructions which, when executed by one or more processors, cause an apparatus to at least perform the following steps:
- configuring at least one memory of a mobile terminal into an application-level cache with a locked region and a floating region;
- and
- causing, at least in part, actions that result in caching, into each of the locked region and the floating region, of data items that are anticipated to be requested via an application of the mobile terminal,
- wherein the floating region is attached to the locked region when the data items cached in the floating region are sequentially or directly ordered from the data items cached in the locked region, and the floating region is detached from the locked region when the data items cached in the floating region are no longer sequentially or directly ordered from the data items cached in the locked region so that there is a gap between the locked region and the floating region.
Dependencies are inferred from the claim text.