# US 11,307,936 B2 · Solid-state drive data security

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

- Number: US 11,307,936 B2
- Document ID: US11307936B2
- Status: Granted
- Kind: B2
- Application number: 16/851,809
- Filed: 2020-04-17
- Published: 2020-07-30
- Granted: 2022-04-19
- Earliest claimed: 2018-01-12
- Assignees: Shenzhen Dapu Microelectronics Co., Ltd.
- Applicants: Shenzhen Dapu Microelectronics Co., Ltd.
- Inventors: Ning Shang; Xiang Chen
- Web page: https://patentgrep.com/patent/US11307936B2

## CPC

- G06F 11/1451: {by selection of backup contents}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0622: {in relation to access}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- G06F 11/0787: {Storage of error reports, e.g. persistent data storage, storage using memory protection}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/1458: {Management of the backup or restore process}
- G06F 11/1469: {Backup restoration techniques}
- G06F 11/2056: {by mirroring}
- G06F 11/2084: {on the same storage unit}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure discloses a method, a system, and a solid-state drive for data processing. The method includes detecting the user operations on a first storage area which is visible to an operating system in a solid-state drive; if the user operation is a reading or writing operation, keeping the data of the first storage area and the data of a mirrored data storage area of a second storage area to be synchronization; if the user operation is a deleting operation or a TRIM operation, keeping the data of the first storage area and the data of the mirrored data storage area of the second storage area to be synchronization, and backing up the deleted data from the first storage area to a deleted data storage area of the second storage area. The second storage area is set to be invisible to the operating system in the solid-state disk.

## Claims

### Claim 1

A method for data processing in a solid-state drive comprising a first storage area and a second storage area, the second storage area comprising a mirrored data storage area for mirroring data stored in the first storage area and a deleted data storage area for storing data deleted from the first storage area, the first storage area being visible to an operating system and the second storage area being set to invisible to the operating system, the method comprising:
detecting a user operation on the first storage area in the solid-state drive; and
in response to the user operation being a deleting operation or a TRIM operation, keeping data of the first storage area and data of the mirrored data storage area of the second storage area synchronized by deleting data corresponding to the deleting operation or the TRIM operation from the first storage area and the mirrored data storage area of the second storage area, and backing up the data deleted from the first storage area to the deleted data storage area of the second storage area.

### Claim 2 (depends on 1)

The method of claim 1, further comprising in response to the user operation being a reading operation or a writing operation, keeping the data of the first storage area and the data of the mirrored data storage area of the second storage area in the solid-state drive synchronized.

### Claim 3 (depends on 1)

The method of claim 1, the method further comprising in response to the user operation being an abnormal operation that causes a data loss in the first storage area, stopping the data synchronization between the first storage area and the mirrored data storage area, and recording an event about the abnormal operation.

### Claim 4 (depends on 1)

The method of claim 1, further comprising adding an information identifier to the data deleted from the first storage area.

### Claim 5 (depends on 1)

The method of claim 1, further comprising processing the data deleted from the first storage area according to a preset storage rule when storage medium space of the second storage area is less than or equal to a preset volume.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
verifying a visible authentication command sent by a user of the solid-state drive;
in response to the verification being successful, setting the second storage area to be visible to the operating system; and
enabling a first type of operating function for the second storage area.

### Claim 7 (depends on 6)

The method of claim 6, wherein the first type of operating functions comprises at least one of restoring, from the second storage area, the data deleted from the first storage area, or reading the data of the second storage area.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
verifying a function enable authentication command sent by a user of the solid-state drive; and
in response to the verification being successful, enabling a second type of operation function for the second storage area corresponding to the function enable authentication command.

### Claim 9 (depends on 8)

The method of claim 8, wherein the second type of operating functions comprises at least one of resetting the second storage area to be invisible to the operating system, erasing the data in the second storage area, writing data to the second storage area, or reading specific information of the second storage area.

### Claim 10 (depends on 9)

The method of claim 9, further comprising in response to the verification being failed, disabling the second type of operation function corresponding to the function enable authentication command, and returning an error code.

### Claim 11

A solid-state drive, comprising:
a first storage area visible to an operating system;
a second storage area set to be invisible to the operating system and comprising a mirrored data storage area for mirroring data stored in the first storage area and a deleted data storage area for storing data deleted from the first storage area; and
a Flash controller configured to:
detect a user operation on the first storage area; and
in response to the user operation being a deleting operation or a TRIM operation, keep data of the first storage area and data of the mirrored data storage area of the second storage area synchronized by deleting data corresponding to the deleting operation or the TRIM operation from the first storage area and the mirrored data storage area of the second storage area, and back up the deleted data to the deleted data storage area of the second storage area.

### Claim 12 (depends on 11)

The solid-state drive of claim 11, wherein the Flash controller is further configured to in response to the user operation being a reading operation or a writing operation, keep the data of the first storage area and the data of the mirrored data storage area of the second storage area in the solid-state drive synchronized.

### Claim 13 (depends on 11)

The solid-state drive of claim 11, wherein the Flash controller is further configured to in response to the user operation being an abnormal operation that causes a data loss in the first storage area, stop the data synchronization between the first storage area and the mirrored data storage area, and record an event about the abnormal operation.

### Claim 14 (depends on 11)

The solid-state drive of claim 11, wherein the Flash controller is further configured to add an information identifier to the data deleted from the first storage area.

### Claim 15 (depends on 11)

The solid-state drive of claim 11, wherein the Flash controller is further configured to process the data deleted from the first storage area according to a preset storage rule when a storage volume of the second storage area is less than or equal to a preset volume.

### Claim 16 (depends on 11)

The solid-state drive of claim 11, wherein the Flash controller is further configured to:
verify a visible authentication command sent by a user of the solid-state drive;
in response to the verification being successful, set the second storage area to be visible to the operating system; and
enable a first type of operating function for the second storage area.

### Claim 17 (depends on 16)

The solid-state drive of claim 16, wherein the first type of operating functions comprises at least one of restoring, from the second storage area, the data deleted from the first storage area, or reading the data of the second storage area.

### Claim 18 (depends on 11)

The solid-state drive of claim 11, wherein the Flash controller is further configured to:
verify a function enable authentication command sent by a user of the solid-state drive; and
in response to the verification being successful, enable a second type of operation function for the second storage area corresponding to the function enable authentication command.

### Claim 19 (depends on 18)

The solid-state drive of claim 18, wherein the second type of operating functions comprises at least one of resetting the second storage area to be invisible to the operating system, erasing the data in the second storage area, writing data to the second storage area, or reading specific information of the second storage area.

### Claim 20 (depends on 19)

The solid-state drive of claim 19, wherein the Flash controller is further configured to in response to the verification being failed, disable the second type of operation function corresponding to the function enable authentication command, and return an error code.
