# US 2011/0055456 A1 · Method for giving read commands and reading data, and controller and storage system using the same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2011/0055456 A1
- Document ID: US20110055456A1
- Status: Published application
- Kind: A1
- Application number: 12/568,039
- Filed: 2009-09-28
- Published: 2011-03-03
- Earliest claimed: 2009-08-26
- Assignees: Phison Electronics Corp.
- Inventors: Chih-Kang Yeh
- Web page: https://patentgrep.com/patent/US20110055456A1

## CPC

- G06F 12/0862: with prefetch
- G06F 12/0866: for peripheral storage systems, e.g. disk cache
- G06F 2212/214: Solid state disk
- G06F 2212/6022: Using a prefetch buffer or dedicated prefetch cache
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for giving a read command to a flash memory chip to read data to be accessed by a host system is provided. The method includes receiving a host read command; determining whether the received host read command follows a last host read command; if yes, giving a cache read command to read data from the flash memory chip; and if no, giving a general read command and the cache read command to read data from the flash memory chip. Accordingly, the method can effectively reduce time needed for executing the host read commands by using the cache read command to combine the host read commands which access continuous physical addresses and pre-read data stored in a next physical address.

## Claims

### Claim 1

A method for giving a read command to a flash memory chip for reading data to be accessed by a host system, the method comprising:
providing a flash memory controller;
receiving a host command from the host system, wherein the host command is a host read command and the host command comprises a first initial logic address;
giving a general read command and at least a cache read command to the flash memory chip by the flash memory controller according to the host command so as to sequentially read a first data, from the flash memory chip, corresponding to the host command from a physical address mapping the first initial logic address;
giving at least the cache read command to the flash memory chip by the flash memory controller to read a second data, which is not requested by the host command, from the flash memory chip during at least a part of the first data is transmitted to the flash memory controller, wherein a physical address in the flash memory chip for storing the second data follows a physical address for storing the first data;
receiving a next host command from the host system, wherein the next host command comprises a second initial logic address;
determining whether the next host command is the host read command and whether the next host command follows the host command; and
when the next host command is the host read command and the next host command follows the host command, directly giving at least the cache read command to the flash memory chip by the flash memory controller according to the next host command.

### Claim 2 (depends on 1)

The method of claim 1, wherein, when the next host command is the host read command and the next host command does not follow the host command, the flash memory controller gives a reset command to the flash memory chip and then gives the general read command and at least the cache read command to the flash memory chip to sequentially read a third data, from the flash memory chip, corresponding to the next host command from a physical address mapping the second initial logic address.

### Claim 3 (depends on 1)

The method of claim 1, wherein, when the next host command is not the host read command, the flash memory controller gives a reset command to the flash memory chip.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining whether the next host command follows the host command comprises:
determining whether a physical address mapping the second initial logic address follows the physical address for storing the first data; and
when the physical address mapping the second logic address follows the physical address for storing the first data, determining the next host command follows the host command.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining whether the next host command follows the host command comprises:
determining whether a physical address mapping the second initial logic address is the same as the physical address for storing the second data; and
when the physical address mapping the second logic address is the same as the physical address for storing the second data, determining the next host command follows the host command.

### Claim 6 (depends on 1)

The method of claim 1 further comprising determining whether a logic block mapping the first initial logic address is at an open-mother-son-block state before the second data, which is not requested by the host command, is read from the flash memory chip,
wherein, only when the logic block mapping the first initial logic address is not at an open-mother-son-block state, the second data, which is not requested by the host command, is read from the flash memory chip.

### Claim 7

A flash memory controller for reading data to be accessed by a host system from a flash memory chip, the flash memory controller comprising:
a microprocessor unit;
a flash memory interface unit coupled to the microprocessor unit for connecting to the flash memory chip;
a host interface unit coupled to the microprocessor unit for connecting to the host system;
a buffer memory coupled to the microprocessor unit; and
a memory management unit coupled to the microprocessor unit for receiving a host command from the host system through the host interface unit, wherein the host command is a host read command and the host command comprises a first initial logic address,
wherein the memory management unit, according to the host command, gives a general read command and at least a cache read command to the flash memory chip through the flash memory interface unit so as to sequentially read a first data, from the flash memory chip, corresponding to the host command from a physical address mapping the first initial logic address,
wherein the memory management unit gives at least the cache read command to the flash memory chip to read a second data, which is not requested by the host command, from the flash memory chip during at least a part of the first data is transmitted to the buffer memory, wherein a physical address in the flash memory chip for storing the second data follows a physical address for storing the first data;
wherein the memory management unit receives a next host command from the host system through the host interface unit, wherein the next host command comprises a second initial logic address,
wherein the memory management unit determines whether the next host command is the host read command and whether the next host command follows the host command, and, when the next host command is the host read command and the next host command follows the host command, the memory management unit directly gives at least the cache read command to the flash memory chip through the flash memory interface unit according to the next host command.

### Claim 8 (depends on 7)

The flash memory controller of claim 7, wherein, when the next host command is the host read command and the next host command does not follow the host command, the memory management unit gives a reset command to the flash memory chip and then gives the general read command and at least the cache read command to the flash memory chip to sequentially read a third data, from the flash memory chip, corresponding to the next host command from a physical address mapping the second initial logic address.

### Claim 9 (depends on 7)

The flash memory controller of claim 7, wherein, when the next host command is not the host read command, the memory management unit gives a reset command to the flash memory chip.

### Claim 10 (depends on 7)

The flash memory controller of claim 7, wherein the memory management unit determines whether a physical address mapping the second initial logic address follows the physical address for storing the first data,
wherein, when the physical address mapping the second logic address follows the physical address for storing the first data, the memory management unit determines the next host command follows the host command.

### Claim 11 (depends on 7)

The flash memory controller of claim 7, wherein the memory management unit determines whether a physical address mapping the second initial logic address is the same as the physical address for storing the second data,
wherein, when a physical address mapping the second logic address is the same as a physical address for storing the second data, the memory management unit determines the next host command follows the host command.

### Claim 12 (depends on 7)

The flash memory controller of claim 7, wherein the memory management unit further determines whether a logic block mapping the first initial logic address is at an open-mother-son-block state before the second data, which is not requested by the host command, is read from the flash memory chip,
wherein, only when the logic block mapping the first initial logic address is not at an open-mother-son-block state, the second data, which is not requested by the host command, is read from the flash memory chip by the memory management unit.

### Claim 13

A flash memory storage system, comprising:
a connector coupled to a host system;
a flash memory chip; and
a flash memory controller coupled to the connector and the flash memory chip for receiving a host command from the host system through the connector, wherein the host command is a host read command and the host command comprises a first initial logic address,
wherein the flash memory controller gives a general read command and at least a cache read command to the flash memory chip according to the host command so as to sequentially read a first data, from the flash memory chip, corresponding to the host command from a physical address mapping the first initial logic address,
wherein the flash memory controller gives at least the cache read command to the flash memory chip to read a second data, which is not requested by the host command, from the flash memory chip during at least a part of the first data is transmitted to the flash memory controller, wherein a physical address in the flash memory chip for storing the second data follows a physical address for storing the first data;
wherein the flash memory controller receives a next host command from the host system through the connector, wherein the next host command comprises a second initial logic address,
wherein the flash memory controller determines whether the next host command is the host read command and whether the next host command follows the host command, and, when the next host command is the host read command and the next host command follows the host command, the flash memory controller directly gives at least the cache read command to the flash memory chip through the flash memory interface unit according to the next host command.

### Claim 14 (depends on 13)

The flash memory storage system of claim 13, wherein, when the next host command is the host read command and the next host command does not follow the host command, the flash memory controller gives a reset command to the flash memory chip and then gives the general read command and at least the cache read command to the flash memory chip to sequentially read a third data, from the flash memory chip, corresponding to the next host command from a physical address mapping the second initial logic address.

### Claim 15 (depends on 13)

The flash memory storage system of claim 13, wherein, when the next host command is not the host read command, the flash memory controller gives a reset command to the flash memory chip.

### Claim 16 (depends on 13)

The flash memory storage system of claim 13, wherein the flash memory controller determines whether a physical address mapping the second initial logic address follows the physical address for storing the first data, wherein, when the physical address mapping the second initial logic address follows the physical address for storing the first data, the flash memory controller determines the next host command follows the host command.

### Claim 17

A method for reading data to be accessed by a host system from a flash memory chip, the method comprising:
providing a flash memory controller;
receiving a host command from the host system, wherein the host command is a host read command and the host command comprises a first initial logic address;
sequentially reading a first data corresponding to the host command from the flash memory chip from a physical address mapping the first initial logic address by the flash memory controller according to the host command; and
reading a second data, which is not requested by the host command, from the flash memory chip by the flash memory controller during at least a part of the first data is transmitted to the flash memory controller, wherein a physical address in the flash memory chip for storing the second data follows a physical address for storing the first data.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
receiving a next host command from the host system, wherein the next host command comprises a second initial logic address;
determining whether the next host command is the host read command and whether the next host command follows the host command; and
when the next host command is the host read command and the next host command follows the host command, transmitting the second data to the host system by the flash memory controller.

### Claim 19 (depends on 18)

The method of claim 18, wherein determining whether the next host command follows the host command comprises:
determining whether a physical address mapping the second initial logic address follows the physical address for storing the first data; and
when the physical address mapping the second logic address follows the physical address for storing the first data, determining the next host command follows the host command.

### Claim 20 (depends on 18)

The method of claim 18, wherein determining whether the next host command follows the host command comprises:
determining whether a physical address mapping the second initial logic address is the same as the physical address for storing the second data; and
when the physical address mapping the second logic address is the same as the physical address for storing the second data, determining the next host command follows the host command.

### Claim 21

A flash memory controller for reading data to be accessed by a host system from a flash memory chip, the flash memory controller comprising:
a microprocessor unit;
a flash memory interface unit coupled to the microprocessor unit for connecting to the flash memory chip;
a host interface unit coupled to the microprocessor unit for connecting to the host system;
a buffer memory coupled to the microprocessor unit; and
a memory management unit coupled to the microprocessor unit for receiving a host command from the host system through the host interface unit, wherein the host command is a host read command and the host command comprises a first initial logic address,
wherein the memory management unit sequentially reads a first data corresponding to the host command from the flash memory chip from a physical address mapping the first initial logic address through the flash memory interface unit according to the host command; and
wherein the memory management unit reads a second data, which is not requested by the host command, from the flash memory chip during at least a part of the first data is transmitted to the buffer memory, wherein a physical address in the flash memory chip for storing the second data follows a physical address for storing the first data.

### Claim 22 (depends on 21)

The flash memory controller of claim 21,
wherein the memory management unit receives a next host command from the host system through the host interface unit, wherein the next host command comprises a second initial logic address,
wherein the memory management unit determines whether the next host command is the host read command and whether the next host command follows the host command, and, when the next host command is the host read command and the next host command follows the host command, the memory management unit transmits the second data to the host system through the flash memory interface unit.

### Claim 23

A flash memory storage system, comprising:
a connector coupled to a host system;
a flash memory chip; and
a flash memory controller coupled to the connector and the flash memory chip for receiving a host command from the host system through the connector, wherein the host command is a host read command and the host command comprises a first initial logic address,
wherein the flash memory controller sequentially reads a first data corresponding to the host command from the flash memory chip from a physical address mapping the first initial logic address according to the host command,
wherein the flash memory controller reads a second data, which is not requested by the host command, from the flash memory chip during at least a part of the first data is transmitted to the flash memory controller, wherein a physical address in the flash memory chip for storing the second data follows the physical address for storing the first data.

### Claim 24 (depends on 23)

The flash memory storage system of claim 23,
wherein the flash memory controller receives a next host command from the host system through the connector, wherein the next host command comprises a second initial logic address,
wherein the flash memory controller determines whether the next host command is the host read command and whether the next host command follows the host command, and, when the next host command is the host read command and the next host command follows the host command, the flash memory controller transmits the second data to the host system through the connector.
