首页> 外国专利> METHOD AND APPARATUS FOR CONTROLLING HARDWARE DEVICE, ELECTRONIC DEVICE AND STORAGE MEDIUM

METHOD AND APPARATUS FOR CONTROLLING HARDWARE DEVICE, ELECTRONIC DEVICE AND STORAGE MEDIUM

机译:用于控制硬件设备,电子设备和存储介质的方法和装置

摘要

Disclosed are a method and apparatus for controlling a hardware module, electronic device and storage medium. In an embodiment of the present disclosure, the method may include: timing a waiting state of the hardware module to obtain a current waiting duration of the hardware module when it enters a first waiting state; generating an interrupt signal based on the current waiting duration; determining program information corresponding to the current waiting duration under triggering from the interrupt signal; executing an action corresponding to the program information for the hardware module, and controlling it to enter a second waiting state. In the present disclosure, the hardware module is controlled to execute actions corresponding to different programs based on different waiting durations through an interrupt mechanism, thus controlling the hardware module to switch between waiting states with different power consumption, and achieving a good balance between energy saving and performance.
机译:公开了一种用于控制硬件模块,电子设备和存储介质的方法和装置。在本公开的一个实施例中,该方法可以包括:时断硬件模块的等待状态,以在进入第一等待状态时获得硬件模块的当前等待持续时间;基于当前等待持续时间生成中断信号;确定与中断信号触发下的当前等待持续时间相对应的程序信息;执行与硬件模块的程序信息相对应的操作,并控制其进入第二等待状态。在本公开中,控制硬件模块以基于通过中断机制基于不同的等待持续时间来执行与不同程序相对应的动作,从而控制硬件模块在具有不同功耗之间的等待状态之间切换,并在节能之间实现良好的平衡和表现。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号