Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method for controlling buffer mapping and buffer system

A caching system and caching technology, applied in the field of cache mapping, can solve the problem of unavailable flash media and achieve the effect of service life optimization

Active Publication Date: 2014-04-02
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the erasing times of the flash media are limited, the media area of ​​the flash media to which the frequently accessed data is mapped will reach the limit of the erasing times faster than other areas, thus causing the entire flash media to be unusable

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for controlling buffer mapping and buffer system
  • Method for controlling buffer mapping and buffer system
  • Method for controlling buffer mapping and buffer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Embodiments of the present invention provide a method for controlling cache mapping and a cache system, wherein the method includes: replacing the cache memory of at least one data block in the underlying storage medium mapped to the underlying storage medium at a predetermined time period The target data block in the underlying storage medium, wherein one or more data blocks in the underlying storage medium are only mapped to one target data block in the cache, the cache of the underlying storage medium includes flash media, and the replaced cache The target data block in includes the target data block with the maximum number of times of erasing and writing in the current cache.

[0025] Various embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0026] figure 2 A schematic flowchart of a method for controlling cache mapping according to Embodiment 1 of the present invention is shown. In this embodime...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention relates to a method for controlling cache mapping and a cache system. The method includes: changing, at a preset time interval, a target data block in a cache of an underlying storage medium, where at least one data block in the underlying storage medium is mapped to the target data block, one or more data blocks in the underlying storage medium are mapped only to one target data block in the cache, the cache of the underlying storage medium includes a flash memory medium, and the changed target data block in the cache includes a target data block currently having the maximum number of erasure times in the cache. By utilizing the technical solution, the service life of the flash memory medium can be optimized.

Description

technical field [0001] The invention relates to a cache mapping technology of a cache system, in particular to a method for controlling cache mapping when a flash medium is used as a cache and a cache system. Background technique [0002] The flash memory (Flash Memory) medium is a long-life non-volatile memory, which can still maintain the stored data information in the case of power failure. In the prior art, flash media is often used as the cache of underlying storage media such as hard disks, hard disk arrays and other traditional disk storage systems to alleviate the performance constraints caused by poor input and output performance of the underlying storage media. [0003] Usually, when using flash media as a cache, the mapping strategy adopted between the cache and the underlying storage medium is group associative mapping. In group associative mapping, according to the size of the cache as the mapping target, the underlying storage medium as the mapping source is d...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/08G06F12/0866
CPCG06F12/0866G06F12/0246G06F2212/7211
Inventor 王朱珍王子毅
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More