# US 11,119,797 B2 · Active drive API

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

- Number: US 11,119,797 B2
- Document ID: US11119797B2
- Status: Granted
- Kind: B2
- Application number: 16/129,520
- Filed: 2018-09-12
- Published: 2019-01-24
- Granted: 2021-09-14
- Earliest claimed: 2016-10-14
- Assignees: Seagate Technology LLC
- Applicants: Seagate Technology LLC
- Inventors: Jon D. Trantham; Timothy T. Walker; Mark A. Gaertner; Christopher A. Markey; Chiaming Yang; Bryan D. Wyatt
- Web page: https://patentgrep.com/patent/US11119797B2

## CPC

- G06F 9/45508: {Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation}
- G06F 8/40: Transformation of program code
- G06F 8/61: Installation
- G06F 9/445: Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An application programming interface (API) that enables installation of an application as one or more key-value objects on a data storage drive such as a hard disk drive, a solid state drive or a hybrid drive. The API also enables execution of the application within a controlled environment of the data storage drive.

## Claims

### Claim 1

A storage device including:
nonvolatile media;
volatile memory; and
an active drive application programming interface (API) stored in one or both of the media and the memory and executable to:
receive from a host application running within a host environment on a host device a put applet command including an applet object, wherein the applet object includes a set of key-value objects organized as a key and value structure to identify each of the key-value objects;
install the applet object in one or both of the media and the memory of the storage device accessible by the active drive API to enable execution of the applet object within a controlled environment of the storage device;
send to the host application a message acknowledging completion of the put applet command;
receive from the host application a watch applet command including identification of the installed applet object, a watch scope within a predetermined range of keys, at least one trigger event to initiate execution of the applet object, and at least one action to be taken responsive to the at least one trigger event;
register the installed applet object as a watcher applet to execute responsive to detection of the at least one trigger event within the watch scope;
detect the at least one trigger event occurring within the watch scope;
initiate execution of the watcher applet within the controlled environment of the storage device responsive to detection of the at least one trigger event;
undertake the at least one action responsive to detection of the at least one trigger event; and
send to the host application a message acknowledging completion of the watch applet command.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the applet object is a user-programmed applet.

### Claim 3 (depends on 1)

The storage device of claim 1, wherein the trigger event includes detection of a drive temperature in excess of a threshold.

### Claim 4 (depends on 1)

The storage device of claim 1, wherein the trigger event includes receipt of a notification from a drive monitoring program.

### Claim 5 (depends on 1)

The storage device of claim 1, wherein the trigger event includes a change in available storage capacity that satisfies a threshold.

### Claim 6 (depends on 1)

The storage device of claim 1, wherein the at least one action is a corrective action.

### Claim 7 (depends on 1)

The storage device of claim 1, wherein the at least one action includes sending a notification to a host device responsive to detection of the at least one trigger event.

### Claim 8 (depends on 1)

The storage device of claim 1, wherein the trigger event is a “GET” operation against any key within the predetermined range of keys.

### Claim 9

A method comprising:
receiving from a host application running within a host environment on a host device a put applet command including an applet object, wherein the applet object includes a set of key-value objects organized as a key and value structure to identify each of the key-value objects;
installing the applet object in one or both of a media and a memory of a storage device accessible by an active drive application programming interface (API) to enable execution of the applet object within a controlled environment of the storage device, the active drive API also stored in one or both of the media and the memory of the storage device;
sending to the host application a message acknowledging completion of the put applet command;
receiving from the host application a watch applet command including identification of the installed applet object, a watch scope within a predetermined range of keys, at least one trigger event to initiate execution of the applet object, and at least one action to be taken responsive to the at least one trigger event;
registering the installed applet object as a watcher applet to execute responsive to detection of the at least one trigger event within the watch scope;
detecting the at least one trigger event occurring within the watch scope;
initiating execution of the watcher applet within the controlled environment of the storage device responsive to detection of the at least one trigger event;
undertaking the at least one action responsive to detection of the at least one trigger event; and
sending to the host application a message acknowledging completion of the watch applet command.

### Claim 10 (depends on 9)

The method of claim 9, wherein the applet object is a user-programmed applet.

### Claim 11 (depends on 9)

The method of claim 9, wherein the trigger event includes detection of a drive temperature in excess of a threshold.

### Claim 12 (depends on 9)

The method of claim 9, wherein the trigger event includes receipt of a notification from a drive monitoring program.

### Claim 13 (depends on 9)

The method of claim 9, wherein the trigger event includes a change in available storage capacity that satisfies a threshold.

### Claim 14 (depends on 9)

The method of claim 9, wherein the at least one action is a corrective action.

### Claim 15 (depends on 9)

The method of claim 9, wherein the trigger event is a “GET” operation against any key within the predetermined range of keys.

### Claim 16

One or more memory devices encoding computer-executable instructions for executing a computer process using an active drive application programming interface (API) comprising:
receiving from a host application running within a host environment on a host device a put applet command including an applet object, wherein the applet object includes a set of key-value objects organized as a key and value structure to identify each of the key-value objects;
installing the applet object in one or both of a media and a memory of a storage device accessible by the active drive API to enable execution of the applet object within a controlled environment of the storage device, the active drive API also stored in one or both of the media and the memory of the storage device;
sending to the host application a message acknowledging completion of the put applet command;
receiving from the host application a watch applet command including identification of the installed applet object, a watch scope within a predetermined range of keys, at least one trigger event to initiate execution of the applet object, and at least one action to be taken responsive to the at least one trigger event;
registering the installed applet object as a watcher applet to execute responsive to detection of the at least one trigger event within the watch scope;
detecting the at least one trigger event occurring within the watch scope;
initiating execution of the watcher applet within the controlled environment of the storage device responsive to detection of the at least one trigger event;
undertaking the at least one action responsive to detection of the at least one trigger event; and
sending to the host application a message acknowledging completion of the watch applet command.

### Claim 17 (depends on 16)

The one or more memory devices of claim 16, wherein the applet object is a user-programmed applet.

### Claim 18 (depends on 16)

The one or more memory devices of claim 16, wherein the trigger event includes detection of a drive temperature in excess of a threshold.

### Claim 19 (depends on 16)

The one or more memory devices of claim 16, wherein the trigger event includes receipt of a notification from a drive monitoring program.

### Claim 20 (depends on 16)

The one or more memory devices of claim 16, wherein the trigger event is a “GET” operation against any key within the predetermined range of keys.
