首页>
外国专利>
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.
展开▼