METHOD AND APPARATUS FOR IMPLEMENTING CACHE
    1.
    发明申请
    METHOD AND APPARATUS FOR IMPLEMENTING CACHE 审中-公开
    实现高速缓存的方法和设备

    公开(公告)号:US20120303905A1

    公开(公告)日:2012-11-29

    申请号:US13570770

    申请日:2012-08-09

    IPC分类号: G06F12/12

    CPC分类号: G06F16/172

    摘要: In embodiments of the present invention, a file access request sent by an application to a hard disk is obtained, file information of the accessed file is acquired according to the request, the file accessed by the application is fragmented to obtain at least one file fragment, a condition for copying the file fragment from the hard disk to the cache is set, and the file fragment is copied to the cache when the copying condition is met in a storage unit. Compared with a technical solution in the prior art where the file is copied to the cache, utilization efficiency of the cache is effectively improved.

    摘要翻译: 在本发明的实施例中,获得由应用程序发送到硬盘的文件访问请求,根据请求获取所访问文件的文件信息,由应用程序访问的文件被分段以获得至少一个文件片段 设置用于将文件片段从硬盘复制到高速缓存的条件,并且当在存储单元中满足复制条件时,将文件片段复制到高速缓存。 与将文件复制到高速缓存的现有技术的技术方案相比,有效地提高了高速缓存的利用效率。