Computer program product and method and apparatus for controlling access to flash storage
AssigneeSilicon Motion, Inc.
InventorsChun-Chieh Chang, Hsing-Lang Huang
Life of this patent
Estimating the term…
Abstract
The invention is related to a non-transitory computer program product, a method and an apparatus for controlling access to a flash storage. The method, performed by a processing unit of a bridge integrate circuit (IC), includes: receiving a host write command from a host side; determining whether the flash storage needs to enter a hibernate state based on at least information regarding a length of data that has been programmed into the flash storage and/or a quantity of host write commands that have been executed after executing the host write command; and instructing the flash storage to enter the hibernate state when the length of data and/or the quantity of host write command meets a triggering condition.
Claims17
A non-transitory computer readable medium for controlling access to a flash storage when executed by a processing unit of a bridge integrate circuit (IC), the non-transitory computer readable medium comprising program code to:
- receive a host write command from a host side;
- determine whether the flash storage needs to enter a hibernate state based on at least information regarding a length of data that has been programmed into the flash storage and/or a quantity of host write commands that have been executed after executing the host write command;
- and
- instruct the flash storage to enter the hibernate state when the length of data and/or the quantity of host write command meets a triggering condition,
- wherein the triggering condition indicates that the host write command requests for programming data of “n”-k bytes or greater, and “m” host write commands requesting for programming data of “n”-k bytes or greater have been processed cumulatively, where “m” and “n” are integers greater than zero.
A method for controlling access to a flash storage, performed by a processing unit of a bridge integrate circuit (IC), comprising:
- receiving a host write command from a host side;
- determining whether the flash storage needs to enter a hibernate state based on at least information regarding a length of data that has been programmed into the flash storage and/or a quantity of host write commands that have been executed after executing the host write command;
- and
- instructing the flash storage to enter the hibernate state when the length of data and/or the quantity of host write command meets a triggering condition,
- wherein the triggering condition indicates that the host write command requests for programming data of “n”-k bytes or greater, and “m” host write commands requesting for programming data of “n”-k bytes or greater have been processed cumulatively, where “m” and “n” are integers greater than zero.
An apparatus for controlling access to a flash storage, comprising:
- a host interface (I/F), coupled to a host side;
- a device I/F, coupled to the flash storage;
- and
- a processing unit, coupled to the host I/F and the device I/F, arranged operably to receive a host write command from the host side;
- determine whether the flash storage needs to enter a hibernate state based on at least information regarding a length of data that has been programmed into the flash storage and/or a quantity of host write commands that have been executed after executing the host write command;
- and instruct the flash storage to enter the hibernate state when the length of data and/or the quantity of host write command meets a triggering condition,
- wherein the triggering condition indicates that the host write command requests for programming data of “n”-k bytes or greater, and “m” host write commands requesting for programming data of “n”-k bytes or greater have been processed cumulatively, where “m” and “n” are integers greater than zero.
Dependencies are inferred from the claim text.