Method and apparatus for caching data
OwnerMakoto KOBARAinventor
Life of this patent
Estimating the term…
Abstract
A relay unit inputs data and an index. A cache management unit determines whether or not a space area to cache data exists. In the case where there is a space area, the cache management unit caches data. An identifier generating unit generates an identifier corresponding to contents of the cached data. The identifier is registered in a cache data table in association with the data. The identifier is registered in a cache index table in association with the index. In the case where there is no space area, the cache management unit secures a space area. The cache management unit unregisters an identifier associated with the data which was cached in the secured area.
Claims12
A method of caching performed by a cache apparatus comprising a cache database used to cache data in a storage device, a cache data table and a cache index table, comprising:
- inputting data stored in the storage device and an index indicating the data;
- generating an identifier corresponding to contents of the input data;
- determining whether or not a space area to cache the input data exits in the cache database;
- caching the input data in the cache database when it is determined that the space area exists in the cache database;
- registering the generated identifier in association with the cached data in the cache data table;
- registering the generated identifier in association with the input index in the cache index table;
- securing a space area in the cache database when it is determined that no space area exists in the cache database,;
- caching the input data in the secured space area;
- and
- unregistering the identifier registered in the cache data table which is in association with the input data which is cached in the secured space area.
A cache apparatus comprising:
- a cache database used for caching data;
- an input unit configured to input data and an index indicating the data;
- an identifier generating unit configured to generate an identifier corresponding to contents of the input data;
- a determination unit configured to determine whether or not a space area to cache the input data exists in the cache database;
- a cache database in which the input data is cached in the case where it is determined that the space area exists;
- a cache data table in which the generated identifier is registered in association with the data cached in the cache database;
- a cache index table in which the generated identifier is registered in association with the input index;
- a securing unit configured to secure a space area in the cache database in the case where it is determined that the space area does not exist in the cache database;
- a cache management unit configured to cache the input data in the secured space area;
- and
- an unregister unit configured to unregister an identifier which is registered in the cache data table in association with data that was cached in the secured area.
Dependencies are inferred from the claim text.