IP Library Granted Patent US 12,366,977
Granted Patent B2
US 12,366,977 · App. 18/232,310 · Granted Jul 22, 2025

Host-independent disk optimization and data operations for USB-based storage devices

Inventor: Nitin Jain (Bangalore, IN)
Assignee: Sandisk Technologies, Inc.
G06F3/062G06F3/0619G06F3/0625G06F3/064G06F3/0679
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,366,977
App. No.
18/232,310
Granted
Jul 22, 2025
Kind
B2
Abstract

Systems and methods are disclosed for providing host-independent data operations. In certain embodiments, a data storage device includes a non-volatile memory; a pinhole button configured to be pressed; and a controller configured to: detect that the pinhole button is pressed; detect that the data storage device is coupled to a direct-current (DC) power supply; and initiate a disk operation for the data storage device. In some embodiments, the controller can be configured to initiate a data operation, such as an authentication or data accessibility operation, a data security operation, etc., for example, in addition to or instead of a disk operation.

Claims (47)

1. A data storage device comprising:

a non-volatile memory;

a pinhole button configured to be pressed; and

a controller configured to:

detect that the pinhole button is pressed, wherein pressing the pinhole button initiates a disk optimization operation for the data storage device;

detect that the data storage device is coupled to a direct-current (DC) power supply;

detect whether there is data exchange between the data storage device and a host;

determine the data storage device is not coupled to a host, wherein the determination is based on detecting there is no data exchange; and

initiate the disk optimization operation for the data storage device when there is no data exchange detected and the data storage device is coupled to the DC power supply.

2. The data storage device of claim 1 , wherein the data storage device includes a Universal Serial Bus (USB) interface.

3. The data storage device of claim 1 , wherein the disk optimization operation includes a performance and space optimization operation.

4. The data storage device of claim 3 , wherein the performance and space optimization operation includes one or more of: garbage collection, Multi Level Cell (MLC)-MLC relocation, Single Level Cell (SLC)-SLC compaction, SLC-MLC folding, deleting files older than a specified time, deleting files not accessed since a specified time, or updating management tables.

5. The data storage device of claim 1 , wherein the disk optimization operation includes a data compression optimization operation.

6. The data storage device of claim 5 , wherein the data compression optimization operation includes one or more of: data compression on a selected partition, data compression on full data, data compression on files written before a specified time, data compression on incoming data, decompression of previously compressed data, or updating management tables.

7. The data storage device of claim 1 , wherein the disk optimization operation includes a data retention optimization operation.

8. The data storage device of claim 7 , wherein the data retention optimization operation includes one or more of: read scan and scrub on previously written blocks, relocating data from blocks that show a bit error rate (BER) more than a specified threshold, wear leveling operation, or updating management tables.

9. The data storage device of claim 1 , wherein the DC power supply includes one or more of: a wall charger, a power bank, or a rechargeable battery.

10. The data storage device of claim 1 , wherein the data storage device does not receive a command from a host to initiate the disk optimization operation.

11. The data storage device of claim 1 , wherein the data storage device is not connected to a host during the disk optimization operation.

12. The data storage device of claim 1 , further comprising a light-emitting diode (LED) indicator for providing status information relating to the disk optimization operation.

13. The data storage device of claim 12 , wherein the controller is further configured to:

turn on the LED indicator in response to initiating the disk optimization operation; and

turn off the LED indicator in response to completing the disk optimization operation.

14. The data storage device of claim 1 , wherein the controller is further configured to:

detect that the pinhole button is pressed by receiving an interrupt; and

mask all interrupts to initiate the disk optimization operation.

15. The data storage device of claim 1 , wherein the controller is further configured to initiate an authentication or data accessibility operation.

16. The data storage device of claim 15 , wherein the authentication or data accessibility operation includes one or more of: making one or more partitions inaccessible or accessible, making one or more partitions read only and other partitions read/write, activating user authentication on a partition, and activating user authentication on the data storage device.

17. The data storage device of claim 1 , wherein the controller is further configured to initiate a data security operation.

18. The data storage device of claim 17 , wherein the data security operation includes one or more of: activating data encryption, or deactivating data encryption.

19. A method of performing a disk optimization operation in a data storage device, the method comprising:

providing the data storage device including a non-volatile memory and a pinhole button configured to be pressed;

detecting that the pinhole button is pressed, wherein pressing the pinhole button initiates the disk optimization operation for the data storage device;

detecting that the data storage device is coupled to a direct-current (DC) power supply;

detecting whether there is data exchange between the data storage device and a host;

determining the data storage device is not coupled to a host, wherein the determination is based on detecting there is no data exchange; and

initiating the disk optimization operation for the data storage device when there is no data exchange detected and the data storage device is coupled to the DC power supply.

20. A data storage device comprising:

a non-volatile memory;

a pinhole button configured to be pressed; and

a controller means configured to:

associate a first press pattern of a plurality of press patterns of the pinhole button with a first disk optimization operation of a plurality of disk optimization operations for the data storage device, wherein a press pattern of a plurality of press patterns includes a press count or a press duration of the pinhole button;

associate a second press pattern of the plurality of press patterns of the pinhole button with a second disk optimization operation of a plurality of disk optimization operations for the data storage device,

detect that the pinhole button is pressed in accordance with either the first press pattern or the second press pattern of the plurality of press patterns;

detect that the data storage device is coupled to a direct-current (DC) power supply;

initiate the corresponding disk optimization operation for the data storage device associated with the detected press pattern; and

disable the pinhole button until the initiated disk optimization operation is completed.

Assignments (8)
PARTIAL RELEASE OF SECURITY INTERESTS Recorded Apr 25, 2025
From: JPMORGAN CHASE BANK, N.A., AS AGENT
To: SANDISK TECHNOLOGIES, INC.
Reel/Frame 071382/0001 →
SECURITY AGREEMENT Recorded Apr 25, 2025
From: SANDISK TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 071050/0001 →
PATENT COLLATERAL AGREEMENT Recorded Aug 23, 2024
From: SANDISK TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS THE AGENT
Reel/Frame 068762/0494 →
CHANGE OF NAME Recorded Jun 27, 2024
From: SANDISK TECHNOLOGIES, INC.
To: SANDISK TECHNOLOGIES, INC.
Reel/Frame 067982/0032 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 29, 2024
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: SANDISK TECHNOLOGIES, INC.
Reel/Frame 067567/0682 →
PATENT COLLATERAL AGREEMENT - DDTL Recorded Nov 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 065657/0158 →
PATENT COLLATERAL AGREEMENT- A&R Recorded Nov 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 065656/0649 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 9, 2023
From: JAIN, NITIN
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 064543/0468 →
Continuity (2)
Provisional Application 63522692 · Jun 22, 2023
Related Publication 20240427501A1 · Dec 26, 2024
References Cited (10)
US 8191120B2 · Baum et al. · 2012 [cited by applicant]
US 20080114990A1 · Hilbert · 2008 [cited by examiner]
US 20100088464A1 · Yang · 2010 [cited by examiner]
US 20120008272A1 · Lu et al. · 2012 [cited by applicant]
US 20150289402A1 · Tang et al. · 2015 [cited by applicant]
US 20150348642A1 · Ellis · 2015 [cited by applicant]
US 20160204940A1 · Zachey · 2016 [cited by applicant]
US 20180046421A1 · Mazurek · 2018 [cited by applicant]
U.S. Appl. No. 18/232,305, filed Aug. 9, 2023. [cited by applicant]
U.S. Appl. No. 18/830,183, filed Sep. 10, 2024. [cited by applicant]