Data caching method and computer program product therefor
First Claim
1. A data caching method, adapted for a cache system where a data replacing parameter is used for a data replacement rule to assist determining whether to replace a use data;
- the data caching method comprising;
when a resource consumed in fetching the use data is lower than a predetermined level, determining whether to replace the use data by the cache system; and
when the resource consumed in fetching the use data is greater than or equal to the predetermined level, replacing a parameter value of the data replacing parameter within a predetermined period, such that the use data is maintained in the cache system during the predetermined period.
1 Assignment
0 Petitions
Accused Products
Abstract
A data caching method and a computer program product used in a cache system where a data replacing parameter is used for a data replacement rule, are provided to assist determining whether a use data has to be replaced or not. The data caching method and the computer program product rely on the cache system to determine whether to replace the use data when the resource consumed in fetching the use data is lower than a predetermined level. However, when the resource consumed in fetching the use data is higher or equal to the predetermined level, the value of the data replacing parameter mentioned above is replaced within a predetermined period, such that the use data could be maintained in the cache system.
18 Citations
11 Claims
-
1. A data caching method, adapted for a cache system where a data replacing parameter is used for a data replacement rule to assist determining whether to replace a use data;
- the data caching method comprising;
when a resource consumed in fetching the use data is lower than a predetermined level, determining whether to replace the use data by the cache system; and
when the resource consumed in fetching the use data is greater than or equal to the predetermined level, replacing a parameter value of the data replacing parameter within a predetermined period, such that the use data is maintained in the cache system during the predetermined period. - View Dependent Claims (2, 3, 4, 5)
- the data caching method comprising;
-
6. A computer program product for data caching, executing the following steps in the computer:
-
determining a resource consumed in fetching a use data;
when the resource consumed in fetching the use data is lower than a predetermined level, not performing any step; and
when the resource consumed in fetching the use data is greater than or equal to the predetermined level, replacing a parameter value of a data replacing parameter within a predetermined period, wherein, a preset cache system relies on the data replacing parameter to determine whether to replace the use data. - View Dependent Claims (7, 8, 9, 10, 11)
-
Specification