The invention discloses a caching
system capable of supporting
zero copy on the basis of a
flash memory array, and a method. The
system comprises a main control module, a physical caching module, a read address and write address conversion module, an idle block management module, a
metadata recording table and a rear side
flash memory module. The method comprises the following the following steps that: receiving a command request sent from a front side, converting a
logic block number in the command request into a corresponding physical
block number, carrying out a Hash operation on a rear-side address in the command request to obtain a corresponding
metadata address index; according to the
metadata address index, inquiring a metadata state table and a
metadata record chart,
processing the data of a corresponding table item in the
metadata record chart according to the state information of the corresponding table item of the state table, and updating the corresponding table item of the metadata state table, and updating a mapping table in the read address and write address conversion module; and returning a completion command to the front side. By use of the
system, a contradiction that the read-write access size of a traditional cache and a
flash memory page size are not matched is solved, meanwhile, the
zero copy on a caching read-write
data path is realized, an unnecessary middle copy process is eliminated, cache read-write efficiency is improved, meanwhile, erasing for Flash can be reduced, and the service life of the Flash is prolonged.