The present invention relates to a hard disk device, and more particularly to a hard disk device that is not continuously connected to a power source.
With the progress of the times, computers are popular to ordinary families. Moreover, each family may possess plural computers. Generally, a computer comprises a display screen and a host. The host comprises a motor type hard disk, a memory, a main board, a network interface, an audio interface, an operation system and other components. The motor type hard disk is used for storing data. Consequently, the motor type hard disk is a very important component of the computer.
The operations of the motor type hard disk will be illustrated as follows. Generally, the motor type hard disk comprises a disk, a first motor, a second motor and a pickup head. The first motor is connected with the disk for controlling the rotation of the disk. The second motor is connected with the pickup head for controlling the movement of the pickup head. When the first motor is enabled, the disk is driven to rotate. Moreover, when the second motor is enabled, the pickup head is moved to a corresponding sector of the disk so as to read the data of the disk.
Generally, the files to be used are usually searched from the motor type hard disk by the user. For example, the user may search a document file from the My Documents directory in the disk “C” of the computer. When the user enters the disk “C”, the first motor and the second motor are enabled. Consequently, the sector corresponding to the disk “C” in the motor type hard disk is read by the pickup head. Then, when the user enters the folder of the My Documents directory, the first motor and the second motor are enabled again. Consequently, the sector corresponding to the My Documents directory is read by the pickup head. After the above operations of the hard disk are performed, all files contained in the folder of the My Documents directory are shown on the display screen of the computer. Subsequently, the user may select a desired document file with the naked eyes.
As mentioned above, during the operation of the motor type hard disk, the first motor and the second motor are frequently rotated. In other words, a great deal of electric power is consumed. In case that the motor type hard disk is installed in a desktop computer, power consumption is not an important issue because the power cable of the desktop computer is continuously connected to a power source. However, if the motor type hard disk is not continuously connected to the power source, it is necessary to reduce the power consumption in order to extend the run time of the motor type hard disk. For example, the motor type hard disk that is not continuously connected to the power source is a motor type hard disk for a notebook computer or a wireless motor type hard disk.
Therefore, there is a need of providing a hard disk device with reduced power consumption and a power consumption reducing method for the hard disk device.
An object of the present invention provides a hard disk device with reduced power consumption and a power consumption reducing method for the hard disk device.
In accordance with an aspect of the present invention, there is provided a power consumption reducing method for a hard disk device. The power consumption reducing method includes the following steps. Firstly, the hard disk device is connected with an active device. Then, the hard disk device judges whether the hard disk device is connected with the active device for a first time. A first requesting step is selectively performed for allowing an object file or at least one file segment of the object file to be copied from a high power consumption storage component of the hard disk device to a low power consumption storage component of the hard disk device according to a request command from the active device, and an operating behavior of the active device is recorded as an operating practice information. A second requesting step is selectively performed for allowing the object file or the at least one file segment of the object file to be copied from the high power consumption storage component to the low power consumption storage component according to the operating practice information. Then, the object file or the at least one file segment of the object file is transmitted to the active device. Then, the hard disk device judges whether all file segments of the object file are completely transmitted to the active device.
In accordance with another aspect of the present invention, there is provided a hard disk device with reduced power consumption. The hard disk device being is connected with an active device. The hard disk device includes a high power consumption storage component, a low power consumption storage component, a controlling unit and a prediction module. The high power consumption storage component is disposed within the hard disk device, and stores an object file. The low power consumption storage component is disposed within the hard disk device and connected with the high power consumption storage component. The controlling unit is connected with the high power consumption storage component and the low power consumption storage component. According to a request command from the active device, the object file or at least one file segment of the object file is copied from the high power consumption storage component to the low power consumption storage component by the controlling unit, and the object file or the at least one file segment is transmitted from the low power consumption storage component to the active device by the controlling unit. The prediction module is connected with the controlling unit. According to the request command, an operating behavior of the active device is recorded as an operating practice information by the prediction module. When the active device is connected with the hard disk device not for a first time, the object file or the at least one file segment corresponding to the operating practice information is copied from the high power consumption storage component to the low power consumption storage component by the controlling unit according to the operating practice information of the prediction module.
The above objects and advantages of the present invention will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description and accompanying drawings, in which:
For obviating the drawbacks of the prior art technologies, the present invention provides a hard disk device.
Hereinafter, the structure of a hard disk device with reduced power consumption will be illustrated with reference to
The low power consumption storage component 12 is disposed within the hard disk device 1 and connected with the high power consumption storage component 11. According to the practical requirements, the first object file S1, the second object file S2 or the third object file S3 may be temporarily stored in the low power consumption storage component 12. The consumed electric quantity of the high power consumption storage component 11 during operation is larger than the consumed electric quantity of the low power consumption storage component 12 during operation. In this embodiment, the hard disk device 1 is a wireless hard disk device, the high power consumption storage component 11 is a motor type hard disk, and the low power consumption storage component 12 is a flash memory. Moreover, the active device 2 is a smart phone.
As shown in
The transmission module 15 is disposed within the hard disk device 1 and connected to the controlling unit 13. The transmission module 15 is connected with the low power consumption storage component 12 through the controlling unit 13. Moreover, the transmission module 15 may be connected with the active device 2 or a second active device (not shown) by a wireless transmission technology. In this embodiment, the transmission module 15 is connected with the active device 2 or the second active device by a Wi-Fi transmission technology. Preferably but not exclusively, the controlling unit 13 and the prediction module 14 are independent microprocessors or controlling circuits. Alternatively, in another embodiment, the controlling unit and the prediction module may be integrated into the same microprocessor or the same controlling circuit.
Hereinafter, a power consumption reducing method for the hard disk device will be illustrated with reference to
In the connecting step A, if the controlling unit 13 judges that the active device is connected with the hard disk device for the first time, the first requesting step B and the recoding step D are performed. Whereas, if the controlling unit 13 judges that the active device is connected with the hard disk device not for the first time, the second requesting step C is performed. In the detecting step F1, if the controlling unit 13 judges that the new request command from the active device is received, the third requesting step G and the recoding step D are performed. Whereas, if the controlling unit 13 judges that no new request command from the active device is received after a predetermined time period, the transmitting step E is performed. In the detecting step F2, if the controlling unit 13 judges that the new request command from the active device is received, the third requesting step G and the recoding step D are performed. Whereas, if the controlling unit 13 judges that no new request command from the active device is received after a predetermined time period, the transmission judging step H is performed. In the transmission judging step H, if the controlling unit 13 judges that the object file is not completely transmitted, the subsequent transmitting step I is performed. Whereas, if the controlling unit 13 judges that the object file is completely transmitted, the flowchart of the present invention is ended.
The detailed procedures of the first requesting step B of the power consumption reducing method of the present invention will be illustrated as follows.
In the step B1, if the controlling unit 13 judges that the file attribute of the object file is a document attribute, the step B2 is performed. Whereas, if the controlling unit 13 judges that the file attribute of the object file is a video attribute or an audio attribute, the step B3 is performed. In the step B3, if the controlling unit 13 judges that the size of the object file exceeds the threshold size value, the step B4 is performed. Whereas, if the controlling unit 13 judges that the size of the object file does not exceed the threshold size value, the step B2 is performed.
The detailed procedures of the recoding step D of the power consumption reducing method of the present invention will be illustrated as follows.
The detailed procedures of the second requesting step C of the power consumption reducing method of the present invention will be illustrated as follows.
In the step C2, if the controlling unit 13 judges that the file attribute of the object file is a document attribute, the step C3 is performed. Whereas, if the controlling unit 13 judges that the file attribute of the object file is a video attribute or an audio attribute, the step C4 is performed. In the step C4, if the controlling unit 13 judges that the size of the object file exceeds the threshold size value, the step C5 is performed. Whereas, if the controlling unit 13 judges that the size of the object file does not exceed the threshold size value, the step C3 is performed.
The detailed procedures of the third requesting step G of the power consumption reducing method of the present invention will be illustrated as follows.
In the step G1, if the controlling unit 13 judges that the file attribute of the object file is a document attribute, the step G2 is performed. Whereas, if the controlling unit 13 judges that the file attribute of the object file is a video attribute or an audio attribute, the step G3 is performed. In the step G3, if the controlling unit 13 judges that the size of the object file exceeds the threshold size value, the step G4 is performed. Whereas, if the controlling unit 13 judges that the size of the object file does not exceed the threshold size value, the step G2 is performed.
Hereinafter, the operations of the power consumption reducing method for the hard disk device will be illustrated with reference to
After the wireless connection between the hard disk device 1 and the active device 2 is established, the user may operate the active device 2 to browse the first object file S1, the second object file S2 or the third object file S3 that is stored in the high power consumption storage component 11. If the user wants to open the content of the second object file S2, the user may operate the active device 2 to allow the first request command R1 corresponding to the second object file S2 to be transmitted to the hard disk device 1. Consequently, the hard disk device 1 performs the first requesting step B.
Please refer to
At the time when the connecting step A is completed, the prediction module 14 performs the recording step D. Please refer to
Then, the prediction module 14 performs the step D3 of judge whether the active device 2 is disconnected from the hard disk device 1. If the active device 2 is disconnected from the hard disk device 1, the prediction module 14 performs the step D4 of adding the device identification information and the first file information into the operating practice information. Moreover, the operating practice information is stored in the high power consumption storage component 11 or the low power consumption storage component 12. On the other hand, if the active device 2 is continuously connected with the hard disk device 1 and an additional object file is transmitted to the active device 2 by the controlling unit 13, the prediction module 14 performs the step D2 again. Consequently, the file information about the additional object file is recorded until the active device 2 is disconnected from the hard disk device 1.
After the transmitting step E is completed, the controlling unit 13 performs the detecting step F2 of judging whether a new request command from the active device 2 is received. If the user does not operate the active device 2 to browse other object file of the hard disk device 1, the controlling unit 13 judges that no new request command from the active device 2 is received in the detecting step F2. Consequently, the controlling unit 13 performs the transmission judging step H. Since the second object file S2 corresponding to the first request command R1 has been transmitted to the active device 2, the controlling unit 13 judges that the second object file S2 is completely transmitted in the transmission judging step H. Meanwhile, the procedure of transmitting the second object file S2 is ended.
It is noted that the recording step D is continuously performed by the prediction module 14 while the first requesting step B, the transmitting step E, the detecting step F2 and the transmission judging step H are performed. That is, by the recording step, the integrity of the operating practice information is enhanced.
The procedure of establishing the wireless connection between the active device 2 and the hard disk device 1 for the second time will be illustrated as follows. Please refer to
Please refer to
Since the second object file S2 is the document file, the controlling unit 13 judges that the file attribute of the second object file S2 is the document attribute. Consequently, the step C3 will be performed. Then, the second object file S2 is copied from the high power consumption storage component 11 by the controlling unit 13, so that the copied second object file S2 is stored in the sub-storage space 1211 of the low power consumption storage component 12 again. Meanwhile, the step C3 is performed. After the second requesting step C is completed, the controlling unit 13 performs the detecting step F1 of judging whether a new request command from the active device 2 is received.
If the user wants to open the third object file S3, the user may operate the active device 2 to allow a second request command R2 corresponding to the third object file S3 to be transmitted to the hard disk device 1. Consequently, in the detecting step F1, the controlling unit 13 judges that the second request command R2 is received. Then, the controlling unit 13 performs the third requesting step G Please refer to
It is assumed that the size of the third object file S3 does not exceed 50 MB. Consequently, the controlling unit 13 performs the step G2 after the step G3. In the step G2, the third object file S3 is copied from the high power consumption storage component 11 by the controlling unit 13, so that the copied third object file S3 is stored in the sub-storage space 1212 of the low power consumption storage component 12. After the third requesting step G is completed, the controlling unit 13 performs the transmitting step E. That is, the third object file S3 in the sub-storage space 1212 is transmitted to the active device 2. Consequently, the third object file S3 is executed by the active device 2. Moreover, at the time when the second request command R2 is received by the controlling unit 13 in the detecting step F1, the prediction module 14 starts performing the recording step D. The procedures of the recording step D are similar to those mentioned above, and are not redundantly described herein. After the recording step D is completed, a second file information about the third object file S3 is added to the operating practice information corresponding to the active device 2.
After the transmitting step E is completed, the controlling unit 13 performs the detecting step F2 of judging whether a new request command from the active device 2 is received. If the user does not operate the active device 2 to browse other object file of the hard disk device 1, the controlling unit 13 judges that no new request command from the active device 2 is received in the detecting step F2. Consequently, the controlling unit 13 performs the transmission judging step H. Since the third object file S3 corresponding to the second request command R2 has been transmitted to the active device 2, the controlling unit 13 judges that the third object file S3 is completely transmitted in the transmission judging step H. Meanwhile, the procedure of transmitting the third object file S3 is ended.
The following two aspects should be specially described. Firstly, the process of transmitting the third object file S3 has the following features. After the user operates the active device 2 to allow the active device 2 to be connected with the hard disk device 1 again and before the second request command R2 is outputted from the active device 2, the first file information corresponding to the active device 2 is firstly read from the operating practice information by the controlling unit 13 and then the second object file S2 corresponding to the first file information is copied from the high power consumption storage component 11 to the low power consumption storage component 12. The timing of copying the second object file S2 to the low power consumption storage component 12 is specially arranged by the controlling unit 13. In particular, the second object file S2 is copied to the low power consumption storage component 12 during the operation of the high power consumption storage component 11. Consequently, the total run time of the high power consumption storage component 11 is reduced. If the user wants to operate the active device 2 to open the second object file S2, the second object file S2 stored in the low power consumption storage component 12 is directly transmitted to the active device 2 by the controlling unit 13. Since it is not necessary to access the second object file S2 from the high power consumption storage component 11, the power consumption can be reduced.
Secondly, after the second requesting step C, if the user wants to operate the active device 2 to open the second object file S2, the first request command R1 corresponding to the second object file S2 is transmitted from the active device 2 to the hard disk device 1. Then, in the detecting step F1, the controlling unit 13 judges whether a new request command from the active device 2 is received. As mentioned above, the first request command R1 has been received by the controlling unit 13, and the second object file S2 corresponding to the first request command R1 has been stored in the low power consumption storage component 12. Under this circumstance, the controlling unit 13 judges that no new request command from the active device is received in the detecting step F1 because the first request command R1 is not considered as the new request command by the controlling unit 13. Since the judging condition of the detecting step F1 is not satisfied, the transmitting step E is performed.
The procedure of establishing the wireless connection between the active device 2 and the hard disk device 1 for the third time will be illustrated as follows. Please refer to
Please refer to
After the third requesting step G is completed, the controlling unit 13 performs the transmitting step E. That is, the file segment S11 of the first object file S1 in the sub-storage space 1213 is transmitted to the active device 2. Consequently, the file segment S11 is executed by the active device 2. Moreover, at the time when the third request command R3 is received by the controlling unit 13 in the detecting step F1, the prediction module 14 starts performing the recording step D. The procedures of the recording step D are similar to those mentioned above, and are not redundantly described herein.
After the transmitting step E is completed, the controlling unit 13 performs the detecting step F2 of judging whether a new request command from the active device 2 is received. If the user does not operate the active device 2 to browse other object file of the hard disk device 1, the controlling unit 13 judges that no new request command from the active device 2 is received in the detecting step F2. Consequently, the controlling unit 13 performs the transmission judging step H. Since the controlling unit 13 judges that no new request command from the active device 2 is received in the detecting step F2, it means that no additional object file needs to be read and the first object file S1 needs to be continuously executed. That is, the video file is continuously played. In the transmission judging step H, the controlling unit 13 judges that only the file segment S11 of the first object file S1 is completely transmitted but the other file segments S12˜S1n of the first object file S1 are not transmitted. Consequently, the controlling unit 13 performs the subsequent transmitting step I. In the subsequent transmitting step I, the next file segment S12 is copied from the high power consumption storage component 11 to the low power consumption storage component 12, and the next file segment S12 is transmitted to the active device 2. The transmission judging step H and the subsequent transmitting step I are repeatedly done until all of the file segments of the first object file S1 are completely transmitted to the active device 2 or the play command corresponding to the first object file S1 is stopped. Meanwhile, the procedure of transmitting the first object file S1 is ended.
The following three aspects should be specially described. Firstly, if the wireless connection between the active device 2 and the hard disk device 1 is established for the fourth time after the procedure of transmitting the first object file S1 is ended, all of the file information corresponding to the active device 2 will be firstly read from the operating practice information by the controlling unit 13, and then the second object file S2, the third object file S3 and the file segment S11 of the first object file S1 are copied from the high power consumption storage component 11 to the low power consumption storage component 12. If the user wants to operate the active device 2 to open the previously-used third object file S3, the third object file S3 stored in the low power consumption storage component 12 is directly transmitted to the active device 2 by the controlling unit 13. Under this circumstance, it is not necessary to access the third object file S3 from the high power consumption storage component 11.
Secondly, in a preferred embodiment, when the user operates the active device 2 to request the first object file S1, the first object file S1 is partitioned into plural file segments S11˜S1n by the controlling unit 13, and the file segments S11 and S12 are respectively stored in two consecutive sub-storage spaces (e.g. the sub-storage spaces 1211 and 1212) of the low power consumption storage component 12. Consequently, the power consumption of the low power consumption storage component 12 during operation is reduced. In other words, the power-saving efficacy is further enhanced.
Thirdly, in this embodiment, the hard disk device is connected with a single active device. It is noted that numerous modifications and alterations may be made while retaining the teachings of the invention. In practice, the hard disk device of the present invention may be connected with plural active devices simultaneously according to the hardware performance. Consequently, the power consumption reducing method of the present invention can be simultaneously performed by the hard disk device and the plural active devices.
The present invention further provides a power consumption reducing method of a second embodiment, which is distinguished from the first embodiment. Please refer to
In comparison with the power consumption reducing method of the first embodiment, the second requesting step C is replaced by the second requesting step C* of this embodiment, and the recording step D is replaced by the recording step D* of this embodiment. Whereas, if the power consumption rate of performing the second requesting step exceeds the predetermined power consumption rate, the first requesting step B is continuously performed. If the power consumption rate of performing the second requesting step does not exceed the predetermined power consumption rate, the second requesting step C* is continuously performed.
The detailed procedures of the recoding step D* of the power consumption reducing method of the present invention will be illustrated as follows.
That is, after the step D4 of the first embodiment, the recoding step D* of the second embodiment further comprises the steps D5* and D6*. In the step D5*, the frequencies of transmitting the plural object files from the hard disk device 1 to the active device 2 are gathered by a statistics method, and these frequencies are recorded as plural frequency data. In the step D6*, the plural frequency data are added to the operating practice information.
The detailed procedures of the second requesting step C* of the power consumption reducing method of the present invention will be illustrated as follows.
In comparison with the power consumption reducing method of the first embodiment, the second requesting step C* further comprises the steps C1*˜C3*. Moreover, the steps C4*˜C7* of the second requesting step C* of this embodiment are similar to the steps C2˜C5 of the second requesting step C of the first embodiment.
When the user operates the active device 2 to allow the active device 2 to be in wireless communication with the hard disk device 1 again, the controlling unit 13 sequentially performs the partitioning step P and the connecting step A. Since the device identification information corresponding to the active device 2 has existed in the hard disk device 1, in the connecting step A, the controlling unit 13 judges that the active device 2 is connected with the hard disk device 1 not for the first time. Then, the second requesting step C* is performed. In the step C1*, the associated information of the object files corresponding to the active device 2 and the plural frequency data are retrieved from the first file information and the second file information by the controlling unit 13. For example, in the recording step D*, the frequency data corresponding to the first object file S1 is recorded as 5, the frequency data corresponding to the second object file S2 is recorded as 20, and the frequency data corresponding to the third object file S3 is recorded as 17.
Then, in the step C2*, the controlling unit 13 selects the second object file S2 with the highest frequency data. In the step C3*, the controlling unit 13 judges whether the power consumption rate of performing the second requesting step on the second object file S2 exceeds the predetermined power consumption rate. The predetermined power consumption rate is the power consumption rate of directly transmitting the second object file S2 from the high power consumption storage component 11 to the active device 2. The power consumption rate of performing the second requesting step on the second object file S2 is the power consumption rate of copying the second object file S2 to the low power consumption storage component 12 and then transmitting the second object file S2 from the low power consumption storage component 12 to the active device 2. Then, the power consumption rate of performing the second requesting step on the second object file S2 and the predetermined power consumption rate are calculated by the controlling unit 13. If the controlling unit 13 judges that the power consumption rate of performing the second requesting step on the second object file S2 exceeds the predetermined power consumption rate, it means that the second requesting step C* is not power-saving. Under this circumstance, the controlling unit 13 stops the second requesting step C* but performs the first requesting step B. On the other hand, if the second requesting step C* is more power-saving, the controlling unit 13 will continuously perform the steps C4*˜C7* of the second requesting step C*. The operations of the steps C4*˜C7* of the second requesting step C* are similar to the steps C2˜C5 of the second requesting step C of the first embodiment, and are not redundantly described herein.
The following three aspects should be specially described. Firstly, the prediction module 14 may gather statistics to obtain plural most frequently used object files in the recording step D*, and the controlling unit 13 may copy plural frequently used object files to the low power consumption storage component 12 in the second requesting step C*. Consequently, the object files that are possibly used by the user according to the operating practice of the user can be predicted. Secondly, the controlling unit 13 may operate the second requesting step C* and the recording step D* in coordination, thereby acquiring the most frequently used object files. Moreover, the controlling unit 13 may judge whether the power consumption rate of performing the second requesting step on the second object file S2 exceeds the power consumption rate of directly transmitting the second object file S2 from the high power consumption storage component 11 to the active device 2. Consequently, the more power-saving procedure is adopted to increase the power-saving efficacy. Thirdly, in a preferred embodiment, plural object files with the highest frequency data are selected in the step C2*. That is, plural object files are copied from the low power consumption storage component 12 to the high power consumption storage component 11, so that the second requesting step C* is performed on the plural object files.
While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiments. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.
Number | Date | Country | Kind |
---|---|---|---|
201510001915.9 | Jan 2015 | CN | national |