WO2011054271A1 - 一种硬盘控制方法、装置及计算机 - Google Patents
一种硬盘控制方法、装置及计算机 Download PDFInfo
- Publication number
- WO2011054271A1 WO2011054271A1 PCT/CN2010/078235 CN2010078235W WO2011054271A1 WO 2011054271 A1 WO2011054271 A1 WO 2011054271A1 CN 2010078235 W CN2010078235 W CN 2010078235W WO 2011054271 A1 WO2011054271 A1 WO 2011054271A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- hard disk
- mode
- access frequency
- access
- power saving
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3268—Power saving in hard disk drive
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
- G06F1/3221—Monitoring of peripheral devices of disk drive devices
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Definitions
- the present invention relates to the field of computers, and in particular, to a hard disk control method, apparatus, and computer. Background technique
- the power saving modes of existing notebook computers include: Idle Mode, Standby Mode, Suspend Mode, and the like.
- Idle Mode When the hard disk is in different modes, the power consumption is significantly different.
- the power consumption of a hard disk while operating in standby mode is significantly lower than when the hard disk is in idle mode.
- the user can set the hard disk to turn off, and the hard disk enters the power-saving standby mode.
- the inventors have found that at least the following problems exist in the prior art: In an actual application, even if the user sets the hard disk to be turned off, the hard disk is basically total due to the periodic access of the operating system to the hard disk. It is in the state of being accessed, and basically the inoperative state of the hard disk cannot be realized, so that it is actually difficult for the hard disk to actually enter certain predetermined power saving modes, such as the standby mode. Summary of the invention
- Embodiments of the present invention provide a hard disk control method, apparatus, and computer, such that a hard disk can be in an inoperative state and enter a preset power saving mode.
- a hard disk control method which includes the following steps:
- the hard disk control method wherein an access frequency of the hard disk in the collection system is determined by collecting input and output speeds of the hard disk.
- the hard disk control method after performing the intercepting, further comprising: when detecting that a preset intercept termination triggering event occurs, terminating the intercepting, and saving the saved to the memory An access command is sent to the hard disk.
- the hard disk control method wherein the preset power saving mode is a standby mode.
- the hard disk control method wherein, after the intercepting, the method further includes: when the length of the interception hold reaches a preset length of time set by the user, the hard disk enters a preset power saving mode; or ,
- a hard disk control device including:
- a mode detecting module configured to detect a mode in which the system is currently located
- An access frequency determining module configured to determine an access frequency of the hard disk in the system when detecting that the system is currently in an idle mode
- the intercepting module is configured to: when the access frequency of the hard disk is less than a predetermined access frequency threshold, intercept a hard disk access command to be sent to the hard disk, so that the hard disk enters a preset power saving mode, and the The hard disk access command is saved to the preset memory.
- the hard disk control device wherein the access frequency determining module determines an access frequency of the hard disk in the collecting system by collecting input and output speeds of the hard disk.
- the hard disk control device further includes:
- an intercept termination module configured to terminate the interception when an intercept termination trigger event occurs, and send an access command saved to the memory to the hard disk.
- the hard disk control device further includes:
- the standby mode enters a module for causing the hard disk to enter a standby mode after the interception.
- a computer including: a hard disk, wherein: the method further includes: a hard disk control device, where the hard disk control device includes:
- a mode detecting module configured to detect a mode in which the system is currently located
- An access frequency determining module configured to determine an access frequency of the hard disk in the system when detecting that the system is currently in an idle mode
- the intercepting module is configured to: when the access frequency of the hard disk is less than a predetermined access frequency threshold, intercept a hard disk access command to be sent to the hard disk, so that the hard disk enters a preset power saving mode, and the The hard disk access command is saved to the preset memory.
- the computer wherein the hard disk control device further comprises: an intercept termination module, configured to terminate the interception when an intercept termination trigger event is detected, and save the saved to the memory An access command is sent to the hard disk.
- the hard disk By intercepting the system's access command to the hard disk when the system is in idle mode and the access frequency of the hard disk is low, the hard disk can be in a non-operational state and actually enter standby mode or other preset power saving mode. Savings in power consumption. DRAWINGS
- FIG. 1 is a schematic flowchart of a method for controlling a hard disk according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a hard disk control device according to an embodiment of the present invention. detailed description
- FIG. 1 is a schematic flow chart of a method for controlling a hard disk according to an embodiment of the present invention. As shown in FIG. 1, the hard disk control method of the embodiment of the present invention includes the following steps:
- Step 101 Detect a mode in which the system is currently located
- Step 102 Determine, when the system is currently in an idle mode, determine an access frequency of the hard disk in the system.
- the access frequency of the hard disk in the collection system is determined by collecting input and output speeds of the hard disk
- Step 103 When the access frequency of the hard disk is less than a predetermined access frequency threshold, intercept a hard disk access command to be sent to the hard disk, so that the hard disk enters a preset power saving mode, and saves the hard disk access command.
- a predetermined access frequency threshold intercept a hard disk access command to be sent to the hard disk, so that the hard disk enters a preset power saving mode, and saves the hard disk access command.
- the preset power saving mode is a standby mode.
- the input/output speed of the hard disk is less than a preset input/output speed threshold, it may be determined.
- the access frequency of the hard disk is less than the predetermined access frequency threshold;
- all the hard disk access commands to be sent to the hard disk drive module can be intercepted by attaching an intercepting module to the upper layer of the hard disk drive module, such as a driver, so as not to allow These hard disk access commands are sent to the hard disk to avoid the operation of the hard disk, so that the hard disk can remain in an inoperative state until the interception termination trigger event that causes the interception termination occurs, such as a user operation event or a power management event, etc. Intercepting, and sending a hard disk access command that has been saved to the memory to the hard disk;
- the above memory is a memory.
- the hard disk after the interception, the hard disk enters a standby mode, or other preset power saving mode.
- the power saving mode depending on the specific power saving mode, the hard disk speed becomes slower, or the hard disk does not work at all, that is, the hard disk is turned off.
- the hard disk stops working, and the hard disk has the lowest energy consumption.
- the hard disk stopped working, and the motor including the hard disk (Spindle Motor) stopped working.
- the method further includes: detecting whether an interception termination triggering event occurs; if yes, stopping the intercepting, and sending an access command saved to the memory to the Hard disk.
- the hard disk has an access command, it automatically switches from the power saving mode to the working mode.
- the system can continue to perform the previous operations.
- the user is editing the word document through the input device (keyboard)
- the system is idle due to temporary problems, and the access frequency of the hard disk in the system is less than the predetermined access frequency threshold.
- the system stores all the hard disk access command interceptions that are to be sent to the hard disk into the preset memory, and the hard disk enters the power saving mode.
- This memory is different from the hard disk.
- the memory can be a flash memory.
- the computer detects that there is a keyboard input, and the interception event is terminated. Since all the hard disk access command interceptions to be sent to the hard disk are stored in the preset memory, the blocked hard disk access command to be sent to the hard disk is not lost, and will continue to be sent to the hard disk after the interception event is terminated. Therefore, the system can still continue the previous operation, and the system will not report an error! Enhance the user experience.
- the method further includes: when the length of the intercepting and holding reaches a preset time length of the user, the hard disk enters a preset province. Electrical mode.
- the user can preset that the hard disk remains in an inoperative state, that is, when the state without any access command reaches a predetermined length of time, enters a predetermined power saving mode such as a standby mode.
- the user can set the length of time through the BIOS or set the interface through the power option setting interface provided by the operating system.
- the save hard disk access command may be saved or the hard disk access is saved.
- the method further includes: sending a command to enter the power saving mode to the hard disk, and notifying the hard disk to enter the preset power saving mode.
- a command may be sent to notify the hard disk to enter a preset power saving mode; or, after the interception reaches a predetermined length of time, the command is sent to notify the hard disk to enter a preset power saving mode.
- the sent command can notify the hard disk to enter the power saving mode immediately or enter the power saving mode after reaching the predetermined length of time.
- the idle mode in which the system is located refers to: a state in which the system is in a state when the user does not interact with the system; for example, if the user inputs text input by using the word software, If the user does not input (interactive operation) through any input device, the system is in idle mode.
- the method includes the following steps: detecting a mode in which the system is currently located; determining a frequency of accessing the hard disk in the system when detecting that the system is currently in an idle mode; and when the access frequency of the hard disk is less than a predetermined access frequency threshold And intercepting a hard disk access command to be sent to the hard disk, and saving the hard disk access command to a preset memory.
- the storage medium is, for example, a ROM/RAM, a magnetic disk, an optical disk, or the like.
- an embodiment of the present invention provides a hard disk control device.
- Fig. 2 is a schematic structural view of a hard disk control device according to an embodiment of the present invention.
- the hard disk control device of this embodiment includes: a mode detecting module 201, configured to detect a mode in which the system is currently located; and an access frequency determining module 202, configured to determine a hard disk in the system when detecting that the system is currently in an idle mode.
- the access module 203 is configured to: when the access frequency of the hard disk is less than a predetermined access frequency threshold, intercept a hard disk access command to be sent to the hard disk, so that the hard disk enters a preset power saving mode And save the hard disk access command to a preset memory.
- the hard disk control device wherein the access frequency determining module determines an access frequency of the hard disk in the collecting system by collecting input and output speeds of the hard disk.
- the hard disk control device further includes:
- an intercept termination module configured to terminate the interception when an intercept termination trigger event occurs, and send an access command saved to the memory to the hard disk.
- the hard disk control device further includes:
- the standby mode enters a module for causing the hard disk to enter a standby mode or other preset power saving mode after the interception.
- all or part of the modules in the above hard disk control device may be implemented by a program based on a hardware such as a processor, a microprocessor, a DSP, or firmware, and the program may be stored in a computer readable by a computer. The storage medium is taken, and the firmware can be solidified in the hardware.
- an embodiment of the present invention provides a computer including the above-described hard disk control device.
- the computer of the embodiment of the invention comprises: a hard disk and a hard disk control device, wherein the hard disk control device comprises: a mode detecting module, configured to detect a mode in which the system is currently located; and an access frequency determining module, configured to detect when the current system is detected When in the idle mode, determining an access frequency of the hard disk in the system; and an intercepting module, configured to: when the access frequency of the hard disk is less than a predetermined access frequency threshold, intercept a hard disk access command to be sent to the hard disk, so that the The hard disk enters a preset power saving mode, and saves the hard disk access command to a preset memory.
- the hard disk control unit can be integrated on the main board of the computer.
- the hard disk control device further includes:
- an intercept termination module configured to terminate the interception when an intercept termination trigger event occurs, and send an access command saved to the memory to the hard disk.
- the hard disk control device further includes:
- the standby mode enters a module for causing the hard disk to enter a standby mode or other preset power saving mode after the interception.
- the computer of the embodiment of the invention is a notebook computer.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Description
一种硬盘控制方法、 装置及计算机 技术领域
本发明涉及计算机领域, 特别是涉及一种硬盘控制方法、 装置及计算机。 背景技术
为节省功耗, 电子设备如计算机具有多种省电模式。 例如, 现有笔记本 电脑的省电模式包括: 空闲模式( Idle Mode )、 待机模式( Standby Mode )、 休眠模式(Suspend Mode )等。 其中, 硬盘在不同的模式时, 功耗有明显的 差异。 例如, 硬盘工作在待机模式时的功耗明显低于硬盘在空闲模式时的功 耗。
在实际应用中, 用户可通过设置硬盘关闭, 而使硬盘进入省电的待机模 式。 但是, 在实现本发明的过程中, 发明人发现现有技术中至少存在如下问 题: 在实际的应用中, 即使用户设置了硬盘关闭, 由于操作系统对硬盘的周 期性访问, 使得硬盘基本上总是处于被访问的状态, 基本上无法实现硬盘的 无操作的状态, 从而使得硬盘实际上很难真正进入某些预定的省电模式, 如 待机模式。 发明内容
本发明的实施例提供一种硬盘控制方法、 装置及计算机, 以使得硬盘能 实现无操作的状态, 并进入预设的省电模式。
为了实现上述目的, 一方面, 提供一种硬盘控制方法, 其中, 包括如下 步骤:
检测系统当前所处的模式;
当检测出系统当前处于空闲模式时, 确定系统中硬盘的访问频率; 当所述硬盘的访问频率小于预定的访问频率阔值时, 拦截欲发送至所述 硬盘的硬盘访问命令, 以使所述硬盘进入预设的省电模式, 并将所述硬盘访 问命令保存到预设的存储器中。
优选地, 所述的硬盘控制方法, 其中, 通过釆集所述硬盘的输入输出速 度来确定所述釆集系统中硬盘的访问频率。
优选地, 所述的硬盘控制方法, 其中, 在执行所述拦截后, 还包括: 在检测出发生预设的拦截终止触发事件时, 终止所述拦截, 并将已保存 到所述存储器中的访问命令发送至所述硬盘。
优选地, 所述的硬盘控制方法, 其中, 所述预设的省电模式为待机模式。 优选地, 所述的硬盘控制方法, 其中, 在所述拦截后, 还包括: 在所述拦截保持的时间长度达到用户预先设置的时间长度时, 所述硬盘 进入预设的省电模式; 或,
发送进入节电模式的命令给硬盘, 通知所述硬盘进入所述预设的省电模 式。
另一方面, 提供一种硬盘控制装置, 其中, 包括:
模式检测模块, 用于检测系统当前所处的模式;
访问频率确定模块, 用于当检测出系统当前处于空闲模式时, 确定系统 中硬盘的访问频率;
拦截模块, 用于当所述硬盘的访问频率小于预定的访问频率阔值时, 拦 截欲发送至所述硬盘的硬盘访问命令, 以使所述硬盘进入预设的省电模式, 并将所述硬盘访问命令保存到预设的存储器中。
优选地, 所述的硬盘控制装置, 其中, 所述访问频率确定模块通过釆集 所述硬盘的输入输出速度来确定所述釆集系统中硬盘的访问频率。
优选地, 所述的硬盘控制装置, 其中, 还包括:
拦截终止模块, 用于在检测出发生了拦截终止触发事件时, 终止所述拦 截, 并将已保存到所述存储器中的访问命令发送至所述硬盘。
优选地, 所述的硬盘控制装置, 其中, 还包括:
待机模式进入模块, 用于在所述拦截后, 使硬盘进入待机模式。
又一方面, 提供一种计算机, 包括: 硬盘, 其中, 还包括: 硬盘控制装 置, 所述硬盘控制装置包括:
模式检测模块, 用于检测系统当前所处的模式;
访问频率确定模块, 用于当检测出系统当前处于空闲模式时, 确定系统 中硬盘的访问频率;
拦截模块, 用于当所述硬盘的访问频率小于预定的访问频率阔值时, 拦 截欲发送至所述硬盘的硬盘访问命令, 以使所述硬盘进入预设的省电模式, 并将所述硬盘访问命令保存到预设的存储器中。
优选地, 所述的计算机, 其中, 所述硬盘控制装置还包括: 拦截终止模块, 用于在检测出发生了拦截终止触发事件时, 终止所述拦 截, 并将已保存到所述存储器中的访问命令发送至所述硬盘。
上述技术方案中的一个技术方案具有如下技术效果:
通过在系统处于空闲模式、 且硬盘的访问频率较低的情况下, 拦截系统 对硬盘的访问命令, 使硬盘能够实现无操作的状态, 并真正进入待机模式或 其它预设的省电模式, 实现对功耗的节省。 附图说明
图 1为本发明实施例的硬盘控制方法的流程示意图;
图 2为本发明实施例的硬盘控制装置的结构示意图。 具体实施方式
为使本发明实施例要解决的技术问题、 技术方案和优点更加清楚, 下面 将结合附图及具体实施例进行详细描述。
图 1为本发明的实施例硬盘控制方法的流程示意图。 如图 1 , 本发明实 施例的硬盘控制方法包括如下步骤:
步骤 101 , 检测系统当前所处的模式;
步骤 102, 当检测出系统当前处于空闲模式时, 确定系统中硬盘的访问 频率;
该步骤中, 优选地, 通过釆集所述硬盘的输入输出速度来确定所述釆集 系统中硬盘的访问频率;
步骤 103 , 当所述硬盘的访问频率小于预定的访问频率阔值时, 拦截欲 发送至所述硬盘的硬盘访问命令, 以使所述硬盘进入预设的省电模式, 并将 硬盘访问命令保存到预设的存储器中;
该步骤中, 示例性地, 该预设的省电模式为待机(standby )模式; 该步骤中, 优选地, 当硬盘的输入输出速度小于预先设定的输入输出速 度阔值时, 可确定出硬盘的访问频率小于预定的访问频率阔值;
该步骤中, 示例性地, 可通过在硬盘驱动模块如驱动程序的上层挂接一 个拦截模块来实现将所有欲发送给硬盘驱动模块的硬盘访问命令拦截, 不让
这些硬盘访问命令发送至硬盘, 从而避免了硬盘的操作, 使硬盘能保持无操 作的状态, 直到出现使拦截终止的拦截终止触发事件发生, 如用户操作事件 或电源管理事件等时, 才停止该拦截, 并将已保存到存储器中的硬盘访问命 令发送至所述硬盘;
该步骤中, 上述存储器为内存。
优选地, 该实施例中, 在所述拦截后, 硬盘进入待机模式, 或其它预设 的省电模式。 在省电模式下, 根据具体省电模式的不同, 硬盘的转速变慢、 或硬盘完全不工作即硬盘关闭了。 如, 在硬盘处于待机模式时, 硬盘停止工 作了, 此时硬盘的能耗最低。 其中,硬盘停止工作, 包括硬盘的马达(Spindle Motor )停止工作了。
优选地, 在该实施例中, 在执行上述拦截后, 还包括: 检测是否发生了 拦截终止触发事件; 如是, 则停止所述拦截, 并将已保存到所述存储器中的 访问命令发送至所述硬盘。 此时, 硬盘有访问命令时, 就自动从省电模式切 换到工作模式。 同时, 系统还可以继续执行之前的操作。 继续延用上述例子 进行举例, 当用户正在通过输入设备 (键盘)对 word文档进行编辑, 因临时 有事走开, 此时系统处于空闲状态, 且系统中硬盘的访问频率小于预定的访 问频率阔值, 系统将所有欲发送给硬盘的硬盘访问命令拦截存入到预设的存 储器中, 同时硬盘进入到省电模式。 该存储器与硬盘不同。 该存储器可以为 一闪存。此时如果用户重新回到计算机旁,通过输入设备进行继续对所述 word 文档进行编辑。 计算机检测到有键盘输入, 所述拦截事件终止。 由于将所有 欲发送给硬盘的硬盘访问命令拦截存入到预设的存储器中, 被拦截的所述欲 发送给硬盘的硬盘访问命令没有丟失, 并且在拦截事件终止后将继续发送给 硬盘。 所以, 系统仍然可以继续执行之前的操作, 不会发生系统报错! 增强 了用户的使用体验。
优选地, 在所述拦截后, 可以是在保存硬盘访问命令之前或保存硬盘访 问命令之后, 还包括: 在所述拦截保持的时间长度达到用户预先设置的时间 长度时, 硬盘进入预设的省电模式。 具体地, 用户可预先设置硬盘保持无操 作状态, 即无任何访问命令的状态达到预定的时间长度时, 进入预定的省电 模式如待机模式。 示例性地, 用户可通过 BIOS设置该时间长度, 或通过操 作系统提供的电源选项设置接口进行设置。
优选地, 在所述拦截后, 可以是在保存硬盘访问命令之前或保存硬盘访
问命令之后, 还包括: 发送进入节电模式的命令给硬盘, 通知所述硬盘进入 所述预设的省电模式。 示例性地, 可在所述拦截后, 立即发送命令通知硬盘 进入预设的省电模式; 或, 在所述拦截达到预定时间长度后, 发送命令通知 硬盘进入预设的省电模式。 发送的命令可通知硬盘立即进入省电模式或达到 预定的时间长度后进入省电模式。
该实施例中, 示例性地, 上述系统所处的空闲模式指的是: 用户对系统 没有交互操作时的系统所处的状态; 举例说明, 如用户在利用 word软件输入 文字输入, 此时如果用户因临时有事未通过任何输入设备进行输入(交互操 作), 则此时系统处于空闲模式。
本领域普通技术人员可以理解, 实现上述事实的方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成, 所述的程序可以存储于一计算 机所可读取的存储介质中, 该程序在执行时, 包括如下步骤: 检测系统当前 所处的模式; 当检测出系统当前处于空闲模式时, 确定系统中硬盘的访问频 率; 当所述硬盘的访问频率小于预定的访问频率阔值时, 拦截欲发送至所述 硬盘的硬盘访问命令, 并将所述硬盘访问命令保存到预设的存储器中。 所述 的存储介质, 如 ROM/RAM、 磁盘、 光盘等。
另一方面, 本发明实施例提供了一种硬盘控制装置。 图 2为本发明实施 例的硬盘控制装置的结构示意图。 如图 2, 该实施例的硬盘控制装置包括: 模式检测模块 201 , 用于检测系统当前所处的模式; 访问频率确定模块 202, 用于当检测出系统当前处于空闲模式时, 确定系统中硬盘的访问频率; 拦截 模块 203 , 用于当所述硬盘的访问频率小于预定的访问频率阔值时, 拦截欲 发送至所述硬盘的硬盘访问命令, 以使所述硬盘进入预设的省电模式, 并将 所述硬盘访问命令保存到预设的存储器中。
优选地, 所述的硬盘控制装置, 其中, 所述访问频率确定模块通过釆集 所述硬盘的输入输出速度来确定所述釆集系统中硬盘的访问频率。
优选地, 所述的硬盘控制装置, 其中, 还包括:
拦截终止模块, 用于在检测出发生了拦截终止触发事件时, 终止所述拦 截, 并将已保存到所述存储器中的访问命令发送至所述硬盘。
优选地, 所述的硬盘控制装置, 其中, 还包括:
待机模式进入模块, 用于在所述拦截后, 使硬盘进入待机模式、 或其它 预设的省电模式。
本领域普通技术人员可以理解, 上述硬盘控制装置中的全部或部分模块 可以通过诸如处理器、 微处理器、 DSP之类的硬件基于程序或固件来实现, 所述程序可以存储于计算机所可读取的存储介质中, 而所述固件可以固化在 所述硬件之中。
又一方面,本发明的实施例提供了一种包含上述硬盘控制装置的计算机。 优选地, 本发明实施例的计算机包括: 硬盘和硬盘控制装置, 所述硬盘 控制装置包括: 模式检测模块, 用于检测系统当前所处的模式; 访问频率确 定模块, 用于当检测出系统当前处于空闲模式时, 确定系统中硬盘的访问频 率; 拦截模块, 用于当所述硬盘的访问频率小于预定的访问频率阔值时, 拦 截欲发送至所述硬盘的硬盘访问命令, 以使所述硬盘进入预设的省电模式, 并将所述硬盘访问命令保存到预设的存储器中。
该硬盘控制装置可以集成在计算机的主板上。
优选地, 所述的计算机中, 所述硬盘控制装置还包括:
拦截终止模块, 用于在检测出发生了拦截终止触发事件时, 终止所述拦 截, 并将已保存到所述存储器中的访问命令发送至所述硬盘。
优选地, 所述的计算机中, 所述硬盘控制装置还包括:
待机模式进入模块, 用于在所述拦截后, 使硬盘进入待机模式、 或其它 预设的省电模式。
优选地, 本发明实施例的计算机为笔记本电脑。
上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普通技 术人员来说, 在不脱离本发明实施例所述原理的前提下, 还可以作出若干改 进和润饰, 这些改进和润饰也应视为本发明的保护范围。
Claims
1. 一种硬盘控制方法, 其特征在于, 包括如下步骤:
检测系统当前所处的模式;
当检测出系统当前处于空闲模式时, 确定系统中硬盘的访问频率; 当所述硬盘的访问频率小于预定的访问频率阔值时, 拦截欲发送至所述 硬盘的硬盘访问命令, 以使所述硬盘进入预设的省电模式, 并将所述硬盘访 问命令保存到预设的存储器中。
2. 根据权利要求 1所述的硬盘控制方法, 其特征在于, 通过釆集所述硬 盘的输入输出速度来确定所述釆集系统中硬盘的访问频率。
3. 根据权利要求 1或 2所述的硬盘控制方法, 其特征在于, 在执行所述 拦截后, 还包括:
在检测出发生预设的拦截终止触发事件时, 终止所述拦截, 并将已保存 到所述存储器中的访问命令发送至所述硬盘。
4. 根据权利要求 3所述的硬盘控制方法, 其特征在于, 所述预设的省电 模式为待机模式。
5. 根据权利要求 1所述的硬盘控制方法, 其特征在于, 在所述拦截后, 还包括:
在所述拦截保持的时间长度达到用户预先设置的时间长度时, 所述硬盘 进入预设的省电模式; 或,
发送进入节电模式的命令给硬盘, 通知所述硬盘进入所述预设的省电模 式。
6. 一种硬盘控制装置, 其特征在于, 包括:
模式检测模块, 用于检测系统当前所处的模式;
访问频率确定模块, 用于当检测出系统当前处于空闲模式时, 确定系统 中硬盘的访问频率;
拦截模块, 用于当所述硬盘的访问频率小于预定的访问频率阔值时, 拦 截欲发送至所述硬盘的硬盘访问命令, 以使所述硬盘进入预设的省电模式, 并将所述硬盘访问命令保存到预设的存储器中。
7. 根据权利要求 6所述的硬盘控制装置, 其特征在于, 所述访问频率确 定模块通过釆集所述硬盘的输入输出速度来确定所述釆集系统中硬盘的访问 频率。
8. 根据权利要求 6或 7所述的硬盘控制装置, 其特征在于, 还包括: 拦截终止模块, 用于在检测出发生了拦截终止触发事件时, 终止所述拦 截, 并将已保存到所述存储器中的访问命令发送至所述硬盘。
9. 根据权利要求 8所述的硬盘控制装置, 其特征在于, 还包括: 待机模式进入模块, 用于在所述拦截后, 使硬盘进入待机模式。
10. 一种计算机, 包括: 硬盘, 其特征在于, 还包括: 硬盘控制装置, 所述硬盘控制装置包括:
模式检测模块, 用于检测系统当前所处的模式;
访问频率确定模块, 用于当检测出系统当前处于空闲模式时, 确定系统 中硬盘的访问频率;
拦截模块, 用于当所述硬盘的访问频率小于预定的访问频率阔值时, 拦 截欲发送至所述硬盘的硬盘访问命令, 以使所述硬盘进入预设的省电模式, 并将所述硬盘访问命令保存到预设的存储器中。
11. 根据权利要求 10所述的计算机, 其特征在于, 所述硬盘控制装置还 包括:
拦截终止模块, 用于在检测出发生了拦截终止触发事件时, 终止所述拦 截, 并将已保存到所述存储器中的访问命令发送至所述硬盘。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/508,151 US8788776B2 (en) | 2009-11-06 | 2010-10-29 | Hard disk control method, hard disk control device and computer |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102371522A CN102053697B (zh) | 2009-11-06 | 2009-11-06 | 一种硬盘控制方法、装置及计算机 |
CN200910237152.2 | 2009-11-06 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2011054271A1 true WO2011054271A1 (zh) | 2011-05-12 |
Family
ID=43958097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2010/078235 WO2011054271A1 (zh) | 2009-11-06 | 2010-10-29 | 一种硬盘控制方法、装置及计算机 |
Country Status (3)
Country | Link |
---|---|
US (1) | US8788776B2 (zh) |
CN (1) | CN102053697B (zh) |
WO (1) | WO2011054271A1 (zh) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968175B (zh) * | 2012-11-27 | 2016-10-05 | 华为技术有限公司 | 控制存储器的方法、装置、控制器和系统 |
WO2014111920A1 (en) * | 2013-01-17 | 2014-07-24 | Sure Erasure Ltd. | System and method for monitoring of an electro-mechanical device |
CN106406492B (zh) | 2015-07-30 | 2019-10-25 | 华为技术有限公司 | 混合存储设备、计算机、控制设备、及降低功耗的方法 |
CN105320246B (zh) * | 2015-09-29 | 2019-01-15 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
JP2018151776A (ja) * | 2017-03-10 | 2018-09-27 | キヤノン株式会社 | 情報処理装置とその制御方法、及びプログラム |
CN107272874B (zh) * | 2017-06-20 | 2020-05-15 | 苏州浪潮智能科技有限公司 | 一种调节服务器存储驱动器状态的方法及系统 |
TWI672647B (zh) * | 2018-03-20 | 2019-09-21 | 緯穎科技服務股份有限公司 | 管理方法及其相關儲存系統 |
JP2020046840A (ja) * | 2018-09-18 | 2020-03-26 | キヤノン株式会社 | 画像処理装置、情報処理方法及びプログラム |
CN109901694A (zh) * | 2019-02-27 | 2019-06-18 | 苏州浪潮智能科技有限公司 | 硬盘自动进入省电状态的方法、系统、设备及存储介质 |
CN110806794A (zh) | 2019-10-10 | 2020-02-18 | 浙江大华技术股份有限公司 | 存储系统的掉电保护方法、系统、计算机设备以及介质 |
WO2021134413A1 (en) | 2019-12-31 | 2021-07-08 | Arris Enterprises Llc | Modem energy management system and method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192093A (zh) * | 2006-11-20 | 2008-06-04 | 泽玮科技股份有限公司 | 外接式硬盘的省电方法 |
CN101262580A (zh) * | 2007-08-31 | 2008-09-10 | 深圳市同洲电子股份有限公司 | 一种数字电视接收装置及监控其硬盘休眠的方法和系统 |
CN101364138A (zh) * | 2008-09-18 | 2009-02-11 | 成都市华为赛门铁克科技有限公司 | 固态硬盘存储系统电源管理方法和装置 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5954820A (en) * | 1997-09-26 | 1999-09-21 | International Business Machines Corporation | Portable computer with adaptive demand-driven power management |
US7424627B2 (en) | 2003-05-22 | 2008-09-09 | Canon Kabushiki Kaisha | Storage device protection system, method for protecting hard disk thereof, medium for providing control program, and control program |
JP4518541B2 (ja) * | 2004-01-16 | 2010-08-04 | 株式会社日立製作所 | ディスクアレイ装置及びディスクアレイ装置の制御方法 |
JP2006302366A (ja) | 2005-04-19 | 2006-11-02 | Sanyo Electric Co Ltd | 電子機器 |
KR100780939B1 (ko) * | 2005-06-29 | 2007-12-03 | 삼성전자주식회사 | 하드디스크 드라이브의 언로드 대기 시간 제어 방법 및이에 적합한 장치 |
-
2009
- 2009-11-06 CN CN2009102371522A patent/CN102053697B/zh active Active
-
2010
- 2010-10-29 WO PCT/CN2010/078235 patent/WO2011054271A1/zh active Application Filing
- 2010-10-29 US US13/508,151 patent/US8788776B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192093A (zh) * | 2006-11-20 | 2008-06-04 | 泽玮科技股份有限公司 | 外接式硬盘的省电方法 |
CN101262580A (zh) * | 2007-08-31 | 2008-09-10 | 深圳市同洲电子股份有限公司 | 一种数字电视接收装置及监控其硬盘休眠的方法和系统 |
CN101364138A (zh) * | 2008-09-18 | 2009-02-11 | 成都市华为赛门铁克科技有限公司 | 固态硬盘存储系统电源管理方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
US8788776B2 (en) | 2014-07-22 |
CN102053697B (zh) | 2013-07-31 |
CN102053697A (zh) | 2011-05-11 |
US20120226881A1 (en) | 2012-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2011054271A1 (zh) | 一种硬盘控制方法、装置及计算机 | |
CN101923382B (zh) | 一种计算机系统的节能方法及计算机系统 | |
EP1742143B1 (en) | Method and system for power consumption management, and corresponding computer program product | |
CN101996122B (zh) | 一种计算机温度报警方法、装置和计算机系统 | |
CN103105915B (zh) | 一种智能终端的复位方法及系统 | |
US7472291B2 (en) | Method and apparatus for integrating ACPI functionality and power button functionality into a single power key | |
EP3855286B1 (en) | Dormancy controlling method for on board computing platform, device and readable storage medium | |
EP2832051B1 (en) | Method, device, and system for delaying packets during a network-triggered wake of a computing device | |
WO2011113349A1 (zh) | 上网模块电源管理的方法和装置 | |
JP2003195989A (ja) | コンピュータ装置、電源供給制御方法、およびプログラム | |
TWI459205B (zh) | 通訊介面的電源管理方法與具有通訊介面之電源管理能力的裝置 | |
US8281171B2 (en) | Adjustment of power-saving strategy depending on working state of CPU | |
CN102693136A (zh) | 计算机的快速启动方法、快速启动系统及启动系统 | |
CN101593141B (zh) | 非易失性存储装置数据保护方法及其计算机装置 | |
CN101504568B (zh) | 一种运行硬盘的方法、装置及电子设备 | |
CN108228109B (zh) | 一种电子设备的保护数据方法、装置及计算机存储介质 | |
US8138929B2 (en) | Method for protecting data in non-volatile storage device and computer thereof | |
TW201617779A (zh) | 硬碟功耗、硬碟功耗管理服務控制方法及裝置 | |
WO2014169647A1 (zh) | 移动设备省电控制方法、装置及移动设备、主机终端 | |
US20120185713A1 (en) | Server, storage medium, and method for controlling sleep and wakeup function of the server | |
JP2008262393A (ja) | 情報処理システムおよびその制御方法 | |
TW201423363A (zh) | 電子裝置及降低處理器系統功耗的方法 | |
CN111103960B (zh) | 一种Nvme SSD及其复位方法和系统 | |
CN106814836A (zh) | 节能方法及应用该节能方法的电子装置 | |
CN102103403A (zh) | 电源管理方法及应用此方法的计算机系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 10827885 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 13508151 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 10827885 Country of ref document: EP Kind code of ref document: A1 |