Method and apparatus for buffering data blocks, computer device, and computer-readable storage medium
US11461239B2 · kind B2 · utility
Assignees
Inventors
Key dates
| Filing date | Sep 30, 2020 |
| Grant date | Oct 4, 2022 |
| Priority date | — |
| Expiry date | Jan 30, 2041 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F2212/466
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method and apparatus for caching a data block are provided. The method includes: obtaining, from a terminal, an access request for requesting access to a first data block; determining that the first data block is missed in a cache space of a storage system; detect whether a second data block satisfies a lazy condition, the second data block being a candidate elimination block in the cache space and the lazy condition being a condition for determining whether to delay replacing the second data block from the cache space according to a re-access probability; determining that the second data block satisfies the lazy condition; and accessing the first data block from a storage space of the storage system and skipping replacing the second data block from the cache space.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.