# US 2010/0306857 A1 · Data storage device and data storage system including the same

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

- Number: US 2010/0306857 A1
- Document ID: US20100306857A1
- Status: Published application
- Kind: A1
- Application number: 12/783,827
- Filed: 2010-05-20
- Published: 2010-12-02
- Earliest claimed: 2009-06-01
- Assignees: Samsung Electronics Co., Ltd.
- Inventors: Jun Seok SHIM; Young Sun PARK
- Web page: https://patentgrep.com/patent/US20100306857A1

## CPC

- G06F 12/1458: {by checking the subject access rights}
- G06F 21/78: to assure secure storage of data (address-based protection against unauthorised use of memory G06F12/14; record carriers for use with machines and with at least a part designed to carry digital markings G06K19/00)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data storage device protecting security code stored therein and a data storage system including same are disclosed. The data storage device efficiently prevents unauthorized access to the security code by allowing command descriptor block (CDB) information to be read using only a read-only memory (ROM).

## Claims

### Claim 1

A data storage device comprising:
a command descriptor block (CDB) configured to store a command received from a host;
a controller configured to control execution of an access operation directed to stored data when the received command is determined to be an access command, and further configured to control execution of a security operation associated with stored security code when the received command is determined to be a security command; and
a switching circuit configured to selectively provide the received command from the CDB to the controller.

### Claim 2 (depends on 1)

The data storage device of claim 1, wherein the switching circuit comprises:
a command classifier configured to determine whether the received command is an access command or a security command;
a flip-flop circuit configured to output a switching control signal based on the determination of the command classifier; and
a buffer disposed between the CDB and controller and configured to control transfer of the received command between the host and the controller in response to the switching control signal.

### Claim 3 (depends on 2)

The data storage device of claim 2, wherein the flip-flop circuit is configured to receive the determination of the command classifier as a set input, wherein the set input is activated when the received command is an access command.

### Claim 4 (depends on 3)

The data storage device of claim 3, wherein the command classifier is further configured to operate in a read-only memory (ROM) and the set input is a ROM enable signal when it is determined that the received command is a security command.

### Claim 5 (depends on 3)

The data storage device of claim 3, wherein the flip-flop circuit is further configured to output a first switching control signal in response to the activated set input and the buffer is enabled in response to the first switching control signal.

### Claim 6 (depends on 2)

The data storage device of claim 2, wherein the flip-flop circuit is configured to receive the determination of the command classifier as a reset input, wherein the reset input is activated when the received command is the security command.

### Claim 7 (depends on 6)

The data storage device of claim 6, wherein the flip-flop circuit is further configured to output a second switching control signal in response to the activated reset input and the buffer is disabled in response to the second switching control signal.

### Claim 8

A data storage system comprising:
a host and a data storage device,
wherein the data storage device is configured to execute an access operation and a security operation,
the data storage device comprising:
a command descriptor block (CDB) configured to store a command received from a host;
a controller configured to control execution of an access operation directed to stored data when the received command is determined to be an access command, and further configured to control execution of a security operation associated with stored security code when the received command is determined to be a security command; and
a switching circuit configured to selectively provide the received command from the CDB to the controller.

### Claim 9 (depends on 8)

The data storage system of claim 8, wherein the switching circuit comprises:
a command classifier configured to determine whether the received command is an access command or a security command;
a flip-flop circuit configured to output a switching control signal based on the determination of the command classifier; and
a buffer disposed between the CDB and controller and configured to control transfer of the received command between the host and the controller in response to the switching control signal.

### Claim 10 (depends on 8)

The data storage system of claim 8, wherein the data storage device is a hard disk drive (HDD).

### Claim 11 (depends on 9)

The data storage system of claim 9, wherein the flip-flop circuit is configured to receive the determination of the command classifier as a set input, wherein the set input is activated when the received command is an access command.

### Claim 12 (depends on 11)

The data storage system of claim 11, wherein the command classifier is further configured to operate in a read-only memory (ROM) and the set input is a ROM enable signal when it is determined that the received command is a security command.

### Claim 13 (depends on 11)

The data storage system of claim 11, wherein the flip-flop circuit is further configured to output a first switching control signal in response to the activated set input and the buffer is enabled in response to the first switching control signal.

### Claim 14 (depends on 9)

The data storage system of claim 9, wherein the flip-flop circuit is configured to receive the determination of the command classifier as a reset input, wherein the reset input is activated when the received command is the security command.

### Claim 15 (depends on 14)

The data storage system of claim 14, wherein the flip-flop circuit is further configured to output a second switching control signal in response to the activated reset input and the buffer is disabled in response to the second switching control signal.

### Claim 16

A method of executing an operation in a data storage device storing data and security code, the method comprising:
receiving a command in the data storage system from a host;
storing the received command in a command descriptor block (CDB);
determining whether the received command is an access command associated with an access operation directed to the stored data, or a security command associated with a security operation directed to the stored security code;
upon determining that the received command is the access command, enabling a buffer disposed between the CDB and a controller to enable the buffer to pass the access command to the controller and calling an access command dispatcher to execute the access operation, and
upon determining that the received command is the security command, disabling the buffer to prevent passing of the security command to the controller and calling a security command dispatcher to execute the security operation.

### Claim 17 (depends on 16)

The method of claim 16, wherein the security command dispatcher is embodied only as ROM code.

### Claim 18 (depends on 17)

The method of claim 17, wherein the access command dispatcher is embodied as random access memory (RAM) code or flash code.
