Device sleep partitioning and keys | Patent Number 09395805

US 09395805 B2
Application Number13874590
Publication NumberUS 20140281627 A1
Pendency3 years, 2 months, 20 days
Filled DateMay 1, 2013
Priority DateMar 15, 2013
Publication DateSep 18, 2014
Expiration DateJul 19, 2024
Inventor/ApplicantsRoss Stenfort
ExaminesTRAN, VINCENT HUY
Art Unit2115
Technology Center2100
Law Firm
You must be logged in to view
Login
Attorneys
Subscription-Only
View Concierge Program
International
1
G06F
National
1
713/323
Field of Search
0

A data storage device includes a device sleep state pin and device sleep state logic to allow the data storage device to store security keys and necessary device sleep state logic together in a volatile logical data storage element. The volatile logical data storage element may be on-chip or off-chip. Device sleep state logic parameters for powering down PHYs while in a device sleep state determine the power characteristics of the device sleep state.

See the invalidated claims, subscribe to our Concierge Program.
View Concierge Program
You must be logged in to view
Login
Subscription-Only
View Concierge Program
Subscription-Only
View Concierge Program
PRIORITY

The present application claims the benefit under 35 U.S.C. §119(e) of U.S. Provisional Application Ser. No. 61/789,337, filed Mar. 15, 2013, which is incorporated herein by reference.

BACKGROUND OF THE INVENTION

Serial advanced technology attachment input/output increasingly operates in the lowest possible power state, frequently entering a low power, or “device sleep†state. When a device is told to wake up it should wake up quickly and behave as it did before entering the low power state. Thus the device must maintain context across this low power state. Storing security keys in flash during a low power state creates security concerns and problems based on the need to erase flash. Storing security keys in dynamic random access memory is a problem because a typical external dynamic random access memory consumes too much power for a low power state system.

Consequently, it would be advantageous if an apparatus existed that is suitable for storing security keys in a low power, volatile data storage element.

SUMMARY OF THE INVENTION

Accordingly, the present invention is directed to a novel method and apparatus for storing security keys in a low power, volatile memory.

In at least one embodiment, a data storage device, such as a solid state drive or hard disk drive, receives a sleep signal from a host. The data storage device then isolates a portion of a logical, volatile data storage element, such as in a processor, and stores security keys and device sleep state logic in the isolated a portion of a logical, volatile data storage element. The data storage device then powers down device elements to enter a low power state.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention claimed. The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate an embodiment of the invention and together with the general description, serve to explain the principles.

BRIEF DESCRIPTION OF THE DRAWINGS

The numerous advantages of the present invention may be better understood by those skilled in the art by reference to the accompanying figures in which:

FIG. 1 shows a block diagram of a system useful for implementing embodiments of the present invention;

FIG. 2 shows a flowchart of a method for initiating a device sleep state in a system according to embodiments of the present invention;

FIG. 3 shows a flowchart of a method for waking a data storage device from a device sleep state according to embodiments of the present invention;

DETAILED DESCRIPTION OF THE INVENTION

Reference will now be made in detail to the subject matter disclosed, which is illustrated in the accompanying drawings. The scope of the invention is limited only by the claims; numerous alternatives, modifications and equivalents are encompassed. For the purpose of clarity, technical material that is known in the technical fields related to the embodiments has not been described in detail to avoid unnecessarily obscuring the description.

Serial Advanced Technology Attachment data storage devices according to at least one embodiment of the present invention are built with a device sleep control pin. The functionality of the device sleep control pin is to put a device into device sleep state. In device sleep state and security keys need to be saved somewhere. Keeping security keys in external dynamic random access memory is undesirable because the dynamic random access memory consumes too much power to be consistent with a low power device sleep state. Keeping the security keys in flash is undesirable because flash tends to maintain data until it is specifically overwritten; so either the security keys are not immediately erased or the flash will be worn out prematurely. Thus storing the security keys and device sleep state logic together is very desirable from a power and security perspective.

Referring to FIG. 1, a block diagram of a system useful for implementing embodiments of the present invention is shown. In at least one embodiment of the present invention, a system such as a solid state drive or a hard disk drive includes a processor 100, memory 102 connected to the processor 100 and a data store 108 connected to the processor 100. The processor 100 is connected to a device sleep pin 106, accessible by a host. In at least one embodiment of the present invention, the system includes at least one PHY 110 connected to the processor 100. PHYs 110 allow other machines to access the data store 108.

A host controller sends a signal through the device sleep pin 106, to the processor 100, instructing the processor 100 to put the system into a device sleep state. The device sleep state enables a Serial Advanced Technology Attachment device to enter an ultra-low interface power state. In at least one embodiment, the device sleep state completely powers down the device PHYs. The capability of a device to enter the device sleep state disclosed herein is determined by a “set features†command; although other methods could be used to enable this mode.

When the device sleep pin 106 receives a device sleep signal, the processor 100 stores any security keys necessary to access data from the data store 108 together with the device sleep state logic in a logical data structure 104 or “island of logic.†Keeping the security keys and device sleep state logic together is secure and allows for fast wakeup. The logical data structure 104 is a volatile data storage element, meaning that while the security keys are quickly accessible to the processor 100, they will be lost if the processor 100 powers down. The data storage element is a memory block in the processor 100, flops, gates or any other mechanism suitable for volatile, low-power data storage.

In at least one embodiment of the present invention, security keys and device sleep state logic are kept together in the same domain; that domain may be on-chip or off-chip. In at least one embodiment, the device sleep state logic includes a parameter indicating whether a device has entered a device sleep state or has powered down.

In at least one embodiment, a host asserts a device sleep state for a device. Either a host or device may include logic to prevent assertion of a device sleep state until all of one or more parameters are satisfied. For example, a device should not enter a device sleep state until all commands have been executed and all active registers are cleared. Furthermore, where a host has asserted a device sleep state for a device, the host should not initiate communication with the device before the device has been woken-up and should ignore any communication from the device.

In at least one embodiment of the present invention, device sleep state logic includes checks to ensure certain device sleep state parameters have been met. For example, a device should not enter a device sleep state until device sleep state logic in the device determines that all outstanding commands have been executed.

Referring to FIG. 2, a flowchart of a method for initiating a device sleep state in a system according to embodiments of the present invention is shown. In at least one embodiment of the present invention, a data storage device such as a Serial Advanced Technology Attachment (SATA) storage device receives 200 a signal to enter a low power device sleep state. The data storage device ensures 202 that certain device sleep state parameters are met; for example, the data storage device ensures that all outstanding commands have been executed. Alternatively, a host device that issued the signal to enter a device sleep state ensures 202 that all such parameters are met.

The data storage device associates 204 at least one security key with device sleep state information in an appropriate data structure and isolates 206 a portion of a logical, volatile data storage element, such as in a memory block in processor, flops, gates or any other mechanism suitable for volatile, low-power data storage. The data storage device then stores 208 the associated security keys and device sleep state information in the isolated portion of logical, volatile data storage element and enters a device sleep state. Storing security keys in a portion of logical, volatile data storage element allows the data storage device to enter a low power state without storing security keys in a powered memory element such as dynamic random access memory, and without placing security keys in a persistent memory such as flash, where erasure operations are likely to degrade the memory prematurely.

In at least one embodiment, a data storage device entering a device sleep state powers down 210 one or more associated device elements. For example, where the data storage device includes one or more PHYs, the one or more PHYs are powered down 210.

Referring to FIG. 3, a flowchart of a method for waking a data storage device from a device sleep state according to embodiments of the present invention is shown. In at least one embodiment of the present invention, a device such as a Serial Advanced Technology Attachment (SATA) data storage device receives 300 a signal to exit a low power device sleep state. The data storage device retrieves 302 one or more security keys from an isolated portion of a logical, volatile data storage element, such as in a memory block in processor, flops, gates or any other mechanism suitable for volatile, low-power data storage. In at least one embodiment, the data storage device retrieves 304 device sleep state information from the isolated portion of the logical, volatile data storage element.

In at least one embodiment, the data storage device uses or executes 306 a portion of the device sleep state logic during the wake-up process. The data storage device then uses 308 the security keys to re-establish access to data and host devices.

In at least one embodiment, a data storage device exiting a device sleep state powers up one or more associated device elements. For example, where the data storage device includes one or more PHYs, the one or more PHYs are powered up to send and receive data traffic to connected devices.

It is believed that the present invention and many of its attendant advantages will be understood by the foregoing description of embodiments of the present invention, and it will be apparent that various changes may be made in the form, construction, and arrangement of the components thereof without departing from the scope and spirit of the invention or without sacrificing all of its material advantages. The form herein before described being merely an explanatory embodiment thereof, it is the intention of the following claims to encompass and include such changes.

Patent Prosecution report image

Empower your practice with Patexia Publication Prosecution IP Module.

Get access to our exclusive rankings and unlock powerful data.

Looking for a Publication Attorney?

Get in touch with our team or create your account to start exploring a network of over 120K attorneys.