# US 2012/0260023 A1 · Storage device, protection method, and electronic apparatus

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

- Number: US 2012/0260023 A1
- Document ID: US20120260023A1
- Status: Published application
- Kind: A1
- Application number: 13/242,651
- Filed: 2011-09-23
- Published: 2012-10-11
- Earliest claimed: 2011-04-08
- Assignees: Kabushiki Kaisha Toshiba
- Inventors: Koichi NAGAI; Mitsunori Tadokoro; Teruji Yamakawa; Kazuo Nakashima
- Web page: https://patentgrep.com/patent/US20120260023A1

## CPC

- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0622: {in relation to access}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/1416: {by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights (G06F12/1458 takes precedence)}
- G06F 21/31: User authentication
- G06F 21/81: by operating on the power supply, e.g. enabling or disabling power-on, sleep or resume operations
- G06F 2206/1014: One time programmable [OTP] memory, e.g. PROM, WORM
- G06F 2212/1052: Security improvement
- G06F 2221/2137: Time limited access, e.g. to a computer or data
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- G06F 2221/2151: Time stamp
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to one embodiment, a storage device includes, when power is supplied to a storage unit, counting of an elapsed time is started. If a command is input from a host device, and the elapsed time from input of a previous command to input of a current command is calculated based on time information clocked by the host device and on a counter value counted until the corresponding command is input. Matching of the time information is determined based on a temporal relation between the adding result of adding the calculated elapsed time to the time information included in the previous command and the time information included in the current command. When the mismatching is determined, data in the storage unit is invalidated.

## Claims

### Claim 1

A storage device comprising:
a storage unit which stores data in a storage area including non-volatile semiconductor memory;
an elapsed-time measurement unit which starts counting an elapsed time in response to supply of power to the storage unit;
a reception unit which receives an input of a command including time information representing current date and time clocked by a host device and a password from the host device connected to the storage unit;
a calculator which calculates an elapsed time from input of a previous command to input of a current command based on the time information included in the currently input command and on a counter value counted by the elapsed-time measurement unit until the corresponding command is input;
an adder which adds the elapsed time calculated by the calculator to the time information included in the previously input command;
a time information determination unit which determines matching of the time information based on a temporal relation between the adding result of the adder and the time information included in the currently input command;
an invalidation unit which invalidates the data stored in the storage area when mismatching is determined by the time information determination unit; and
an authentication unit which performs authentication of the password included in the currently input command if matching is determined by the time information determination unit and permits access to the storage area when authentication succeeds.

### Claim 2 (depends on 1)

The storage device according to claim 1,
wherein a logical address representing a logical storage location in the storage area is specified by the host device when storing the data in the storage area,
the storage unit converts the logical address into a physical address based on address conversion information representing correspondence between the logical address and the physical address that is an address in the storage area and stores the data at the location of the converted physical address, and
the invalidation unit invalidates the data stored in the storage area by changing the address conversion information so as to eliminate the physical address corresponding to the logical address.

### Claim 3 (depends on 1)

The storage device according to claim 1, wherein the invalidation unit erases data, which is present in a block including data written from the host device, from the storage area.

### Claim 4 (depends on 3)

The storage device according to claim 3,
wherein the non-volatile semiconductor memory is NAND type flash memory,
the NAND type flash memory performs a determination process of determining whether or not erasing is completed when an event that the stored data is completely erased occurs, and repeats, when erasing is determined to be incomplete, an erasing process until the erasing is determined to be complete, and
the invalidation unit performs erasing without performing the determination process of determining whether or not the erasing is completed when data in a block including the data written from the host device is erased.

### Claim 5 (depends on 2)

The storage device according to claim 2,
wherein the non-volatile semiconductor memory is NAND type flash memory,
the storage unit stores a control program for controlling an operation of the storage unit and the address conversion information, and
the invalidation unit invalidates the data stored in the storage area by erasing data in all chips of the NAND type flash memory constituting the storage unit.

### Claim 6 (depends on 2)

The storage device according to claim 2,
wherein the non-volatile semiconductor memory is NAND type flash memory,
the storage unit stores a control program for controlling an operation of the storage unit and the address conversion information, and
the invalidation unit invalidates the data stored in the storage area by overwriting data in all chips of the NAND type flash memory configuring the storage unit.

### Claim 7 (depends on 1)

The storage device according to claim 1, wherein the time information determination unit determines matching when a date and time represented by time information included in the currently input command is equal to or greater than a date and time represented by the elapsed time calculated by the calculator.

### Claim 8 (depends on 1)

The storage device according to claim 1, further comprising a determination unit which detects the number of times of input of the command per a constant time and determine whether or not the number of times of input exceeds a predetermined upper limit value,
wherein if the determination unit determines that the number of times of input exceeds the predetermined upper limit value, the invalidation unit invalidates the data stored in the storage area.

### Claim 9 (depends on 1)

The storage device according to claim 1, wherein the reception unit stops reception of the command for a predetermined period of time if authentication of the password by the authentication unit fails a predetermined number of times.

### Claim 10 (depends on 1)

The storage device according to claim 1, further comprising:
a valid time determination unit which compares an encryption key valid time indicating a valid time of the encryption key with the counter value of the elapsed-time measurement unit and determines that the encryption key has been expired when the counter value exceeds the encryption key valid time,
wherein the storage unit stores encrypted data obtained by encrypting the data based on the encryption key and decrypts the encrypted data based on the encryption key, and
the invalidation unit invalidates the data stored in the storage area by invalidating the encryption key if the valid time determination unit determines that the counter value is outside the range of the encryption key valid time.

### Claim 11 (depends on 10)

The storage device according to claim 10, wherein the valid time determination unit adds the encryption key valid time to a password setting date and time representing a date and time when the password is set and determines that the encryption key has been expired when the date and time represented by the adding result exceeds the date and time represented by the time information included in the command.

### Claim 12 (depends on 1)

The storage device according to claim 1, wherein the invalidation unit invalidates the data stored in the storage area by erasing or replacing the encryption key with another character string.

### Claim 13

A protection method comprising:
starting counting an elapsed time in response to supply of power to a storage unit which stores data in a storage area including non-volatile semiconductor memory;
receiving an input of a command including time information representing a current date and time clocked by a host device and a password from the host device connected to the storage unit;
calculating an elapsed time from input of a previous command to input of a current command based on the time information included in the currently input command and on a counter value counted until the corresponding command is input;
adding the calculated elapsed time to the time information included in the previously input command;
determining matching of the time information based on a temporal relation between the adding result and the time information included in the currently input command;
invalidating the data stored in the storage area when mismatching is determined; and
performing authentication of the password included in the currently input command if matching is determined and permitting access to the storage area when authentication succeeds.

### Claim 14 (depends on 13)

The protection method according to claim 13, comprising:
specifying a logical address representing a logical storage location in the storage area by the host device so as to store the data in the storage area,
converting the logical address into a physical address based on address conversion information representing correspondence between the logical address and the physical address that is an address in the storage area and storing the data at the location of the converted physical address, by the storage unit, and
invalidating the data stored in the storage area by changing the address conversion information so as to eliminate the physical address corresponding to the logical address.

### Claim 15 (depends on 13)

The protection method according to claim 13, wherein, in the invalidating of the data stored in the storage area, data in a block including data written from the host device is erased from the storage area.

### Claim 16 (depends on 15)

The protection method according to claim 15,
wherein the non-volatile semiconductor memory is NAND type flash memory,
the NAND type flash memory performs a determination process of determining whether or not erasing is completed when the stored data is completely erased and repeats, when erasing is determined to be incomplete, an erasing process until the erasing is determined to be complete, and
in the invalidating of the data stored in the storage area, erasing is performed without performing the determination process of determining whether or not the erasing is completed when data in a block including the data written from the host device is erased.

### Claim 17 (depends on 14)

The protection method according to claim 14,
wherein the non-volatile semiconductor memory is NAND type flash memory,
the storage unit stores a control program for controlling an operation of the storage unit and the address conversion information, and
in the invalidating of the data stored in the storage area, the data stored in the storage area is invalidated by erasing data in all chips of the NAND type flash memory configuring the storage unit.

### Claim 18 (depends on 14)

The protection method according to claim 14,
wherein the non-volatile semiconductor memory is NAND type flash memory,
the storage unit stores a control program for controlling an operation of the storage unit and the address conversion information, and
in the invalidation of the data stored in the storage area, the data stored in the storage area is invalidated by overwriting data in all chips of the NAND type flash memory configuring the storage unit.

### Claim 19 (depends on 13)

The protection method according to claim 13, wherein, in the determining of matching of the time information, matching is determined when a date and time represented by time information included in the currently input command is equal to or greater than a date and time represented by the calculated elapsed time.

### Claim 20

An electronic apparatus comprising:
a storage unit which stores data in a storage area configured with non-volatile semiconductor memory;
a clock unit which generates time information representing a current date and time;
a transmission unit which transmits a command including a predetermined password and the time information to the storage unit upon access to the storage unit;
an elapsed-time measurement unit which starts counting an elapsed time in response to supply of power to the storage unit;
a reception unit which receives an input of the command from the transmission unit;
a calculator which calculates an elapsed time from input of a previous command to input of a current command based on the time information included in the currently input command and on a counter value counted by the elapsed-time measurement unit until the corresponding command is input;
an adder which adds the elapsed time calculated by the calculator to the time information included in the previously input command;
a time information determination unit which determines matching of the time information based on a temporal relation between the adding result of the adder and the time information included in the currently input command;
an invalidation unit which invalidates the data stored in the storage area when mismatching is determined by the time information determination unit; and
an authentication unit which performs authentication of the password included in the currently input command when matching is determined by the time information determination unit and permits access to the storage area when authentication succeeds.
