Patent ID: 8520078

Claim:
A system with storage device, comprising: a storage device, comprising: a storage unit, comprising a block for storing instructions; at least one hotkey, electrically connected with the storage unit, wherein the at least one hotkey generates a control instruction corresponding to the at least one hotkey when operated, and the control instruction is written to the block for storing instructions of the storage unit; and a first hot plug interface, electrically connected with the storage unit; and an electrical device, comprising: a second hot plug interface, wherein the storage device builds connection with the electrical device through the first hot plug interface and the second hot plug interface utilizing USB mass storage device class (UMS) standard when the first hot plug interface is electrically connected with the second hot plug interface, such that the storage device is taken as a passive storage device; and a processing unit, electrically connected with the second hot plug interface, the processing unit comprising: an instruction-obtaining module, making the second hot plug interface obtain the control instruction from the block for storing instructions of the storage unit through the first hot plug interface; and an instruction-executing module, executing the control instruction; wherein the processing unit further comprises an instruction-detecting module, making the second hot plug interface detect if there is the control instruction stored in the black for storing instructions of the storage unit through the first hot plug interface, wherein the instruction-detecting module makes the instruction-obtaining module start to obtain the control instruction if there is the control instruction stored in the block for storing instructions of the storage unit; wherein in response to detection of the control instruction stored in the block for storing instructions of the storage unit by the instruction-detecting module, the electrical device performs an action with respect to a file stored in the storage unit of the storage device by the instruction-executing module thereof executing the control instruction.