Flash solid state disk card with selective use of an address conversion table depending on logical and physical sector numbers
First Claim
1. A flash solid state disk card comprising:
- a flash memory having M blocks having physical sector numbers between 1 and M, the M blocks including N blocks for sector management, where N is smaller than M;
a random access memory storing an address conversion table which outputs a physical sector number for one of the N blocks in correspondence to an input of a logical sector number between 1 and N;
data write processing means for writing data to a block for a logical sector number L, said data write processing means including means for, if L satisfies a relationship of 1≦
L≦
N, erasing another data in a block having a physical sector number determined by the address conversion table stored in said random access memory according to the logical sector number L, writing the data to be written to a free block among the N blocks, and changing a physical sector number in correspondence to the logical sector number L in the address conversion table to a physical sector number of the block to which the data are written, and for, if the logical sector number L is larger than N, writing data to be written to a block having a physical sector number equal to the logical sector number L; and
data read processing means for reading data from a block in said flash memory for a physical sector number in correspondence to the logical sector number L in the address conversion table in said random access memory if the logical sector number L is equal to or less than N, and for reading data from a block for a physical sector number L in said flash memory if the logical sector number L is larger than N.
3 Assignments
0 Petitions
Accused Products
Abstract
A flash solid state disk card comprises a flash memory comprising M block or M blocks and r redundant blocks, and an address conversion table which outputs a physical sector number 1 to N, or 1 to N and (M+1) to (M+r) in correspondence to an input of a logical sector number 1 to N. The number of blocks M is larger than N. If data in a block for a logical sector number (LSN) having a value L, equal to or less than N is updated, another data are erased in a block for a physical sector number (PSN) determined by the address conversion table, the data are written to a free block, and a physical sector number in correspondence to the logical sector number LSN=L in the address conversion table is changed to a number of the block to which the data to be updated are written. If a logical sector number (LSN) having a value L is equal to or less than N, data are read from a block for a physical sector number in correspondence to the logical sector number LSN=L in the table, otherwise data are read from a block for a physical sector number PSN=L. Thus, a flash solid state disk card can be used efficiently for a longer time. Preferably, a substitution table is provided for defective blocks to substitute a block for a defective block.
198 Citations
7 Claims
-
1. A flash solid state disk card comprising:
-
a flash memory having M blocks having physical sector numbers between 1 and M, the M blocks including N blocks for sector management, where N is smaller than M; a random access memory storing an address conversion table which outputs a physical sector number for one of the N blocks in correspondence to an input of a logical sector number between 1 and N; data write processing means for writing data to a block for a logical sector number L, said data write processing means including means for, if L satisfies a relationship of 1≦
L≦
N, erasing another data in a block having a physical sector number determined by the address conversion table stored in said random access memory according to the logical sector number L, writing the data to be written to a free block among the N blocks, and changing a physical sector number in correspondence to the logical sector number L in the address conversion table to a physical sector number of the block to which the data are written, and for, if the logical sector number L is larger than N, writing data to be written to a block having a physical sector number equal to the logical sector number L; anddata read processing means for reading data from a block in said flash memory for a physical sector number in correspondence to the logical sector number L in the address conversion table in said random access memory if the logical sector number L is equal to or less than N, and for reading data from a block for a physical sector number L in said flash memory if the logical sector number L is larger than N. - View Dependent Claims (2, 3)
-
-
4. A flash solid state disk card comprising:
- a flash memory having (M+r) blocks having physical sector numbers between 1 and (M+r), the (M+r) blocks including N blocks for sector management and r redundant blocks;
a random access memory storing an address conversion table which outputs a physical sector number for one of the N blocks and the r redundant blocks in correspondence to an input of a logical sector number between 1 and N, wherein N is smaller than M; data write processing means for, if a logical sector number L satisfies a relationship of 1≦
L≦
N, erasing another data in a block having a physical sector number determined according to the logical sector number L by the address conversion table stored in said random access memory, writing the data to be written to a free block among the N blocks and the r redundant blocks, and changing a physical sector number in correspondence to the logical sector number L in the address conversion table to a physical sector number of the block to which the data are written, and for, if the logical sector number L is larger than N, writing data to be written to a block having a physical sector number equal to the logical sector number L; anddata read processing means for reading data from a block in said flash memory for a physical sector number in correspondence to the logical sector number L in the address conversion table in said random access memory if the logical sector number L is equal to or less than N, and for reading data from a block for a physical sector number L in said flash memory if the logical sector number L is larger than N. - View Dependent Claims (5, 6, 7)
- a flash memory having (M+r) blocks having physical sector numbers between 1 and (M+r), the (M+r) blocks including N blocks for sector management and r redundant blocks;
Specification