Active drive API
AssigneeSeagate Technology LLC
InventorsJon D. Trantham, Timothy T. Walker, Mark A. Gaertner, Christopher A. Markey, Chiaming Yang, Bryan D. Wyatt
Life of this patent
Estimating the term…
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.
Claims20
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.
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.
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.
Dependencies are inferred from the claim text.