The present invention discloses an
NAND flash memory-oriented page
replacement method, belonging to the field of data storage. According to the method, a cold clean page
linked list and another
hybrid page
linked list respectively manage cold clean pages and other cache pages, and a reserved ghost page
linked list records
metadata information of recent obsolete cache pages; before page visit
processing, initialization is performed first, if the page is hit in another
hybrid page linked
list or the cold clean page linked
list, the page is marked a hot page and is moved to a recently visited terminal of another
hybrid page linked
list; if the page is hit in the ghost page linked list,
record of the page in the ghost page linked list is deleted, a new
cache page is allocated to the page and is marked a hot page, and the page is moved to the recently visited terminal of another hybrid page linked list; and finally, if it is determined that the page is read or write request, the data is read or written in the
cache page and is returned. Through adoption of the method,
flash memory write operation is reduced, and a higher cache
hit ratio is maintained as far as possible.