This application claims all benefits accruing under 35 U.S.C. §119 from China Patent Application No. 201310016588.5, filed on Jan. 17, 2013 in the State Intellectual Property Office of China. The contents of the China Application are hereby incorporated by reference.
1. Technical Field
The disclosure generally relates to data storage devices, and particularly relates to external storage devices and methods for starting up external storage devices.
2. Description of Related Art
With recent technological advancements such as miniaturization and improved mass productivity of memory devices, external storage devices for computers, have become more available. With an external storage device, a user can easily transport data, such as files, between plural computers by moving data, such as files, into the external storage device from one computer having a data input/output interface, and then by retrieving the data on another computer. The user needs first to connect the external storage device to the computer, then manually presses a power button of the external storage device to start up the external storage device, and then uses the external storage device. It is inconvenient for the user to perform the above steps to use the external storage devices every time.
Therefore, there is room for improvement within the art.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings, in which like reference numerals indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references can mean “at least one.”
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language such as Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an erasable-programmable read-only memory (EPROM). The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media are compact discs (CDs), digital versatile discs (DVDs), Blu-Ray discs, Flash memory, and hard disk drives.
The interface unit 11 provides an interface, for example a USB terminal, to communicate with the host computer 20. When the external storage unit 10 is connected to the host computer 20, the interface unit 11 may receive an out-of-band (OOB) signal from the host computer 20.
The storage unit 13 provides storage media for storing data. The storage unit 13 may transmit data to the host computer 20 via the interface unit 11 and receive data from the host computer 20 via the interface unit 11.
The D flip-flop 14 includes a clock input terminal, a data input terminal, and an output terminal. The clock input terminal of the D flip-flop 14 is connected to the interface unit 11. The data input terminal of the D flip-flop 14 is connected to an output pin of the processing unit 15. The output terminal of the D flip-flop 14 is connected to the an input pin of the processing unit 15.
The interface unit 11 may transmit the OOB signal to the clock input terminal of the D flip-flop 14. The processing unit 15 may transmit a reset signal to the data input terminal of the D flip-flop 14.
When the clock input terminal of the D flip-flop 14 receives the OOB signal and the data input terminal of the D flip-flop 14 receives the reset signal at the same time, the output value on the output terminal of the D flip-flop 14 changes. Namely, the output voltage of the output terminal turns from a high voltage level to a low voltage level or from a low voltage level to a high voltage level.
When the clock input terminal of the D flip-flop 14 does not receive the OOB signal or the data input terminal of the D flip-flop 14 does not receive the reset signal, the output value on the output terminal of the D flip-flop 14 maintains unchanged. Namely, the output voltage of the output terminal maintains a stable voltage level.
The processing unit 15 detects whether the output value on the output terminal of the D flip-flop 14 changes. When the output value on the output terminal of the D flip-flop 14 changes, the processing unit 15 executes a start-up operation of the external storage device 10. The start-up operation includes controlling the power supply 16 to start providing power to the storage unit 13 and the cooling fan 18, and controlling the cooling fan 18 to start rotating.
The temperature sensor 17 measures an internal temperature of the external storage device 10. The processing unit 15 may adjust a rotation speed of the cooling fan 18 according to the measured internal temperature.
In step S201, the interface unit 11 receives an OOB signal from the host computer 20.
In step S202, the interface unit 11 transmits the OOB signal to the clock input terminal of the D flip-flop 14.
In step S203, the processing unit 15 transmits a reset signal to the data input terminal of the D flip-flop 14.
In step S204, the processing unit 15 detects whether the output value on the output terminal of the D flip-flop 14 changes. When the output value on the output terminal of the D flip-flop 14 changes, the flow proceeds to step S205, otherwise, the flow ends.
In step S205, the processing unit 15 executes a start-up operation of the external storage device 10. The start-up operation includes controlling the power supply 16 to start providing power to the storage unit 13 and the cooling fan 18, and controlling the cooling fan 18 to start rotating.
Although numerous characteristics and advantages have been set forth in the foregoing description of embodiments, together with details of the structures and functions of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in the matters of arrangement of parts within the principles of the disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
In particular, depending on the embodiment, certain steps or methods described may be removed, others may be added, and the sequence of steps may be altered. The description and the claims drawn for or in relation to a method may give some indication in reference to certain steps. However, any indication given is only to be viewed for identification purposes, and is not necessarily a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
2013100165885 | Jan 2013 | CN | national |