Method and device for waking up hardware equipment
A hardware device and hardware technology, applied in the computer field, can solve problems such as serious power consumption, and achieve the effect of reducing serious power consumption and improving standby time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] An embodiment of the present invention provides a method for waking up a hardware device, see figure 1 , the method flow includes:
[0025] 101: Receive a wake-up request for preset hardware sent by an application, where the wake-up request at least carries the wake-up time specified by the application;
[0026] 102: Determine whether the wake-up time needs to be delayed according to the wake-up time and a preset delayed wake-up period;
[0027] 103: When the wake-up time needs to be delayed, determine a delayed wake-up time for the preset hardware according to the wake-up time and the preset delayed wake-up period, and wake up the preset hardware according to the delayed wake-up time hardware.
[0028] Wherein, the hardware device is one or more of a central processing unit CPU, a wireless fidelity Wifi module, and a global positioning system GPS module.
[0029] In the embodiment of the present invention, the wake-up delay processing is performed for the applicatio...
Embodiment 2
[0031] An embodiment of the present invention provides a method for waking up a hardware device, see figure 2 .
[0032] It should be noted that, in the embodiment of the present invention, a process of calling a CPU (Central Processing Unit, central processing unit) by an application in an Android (Android) system is taken as an example to describe a method for waking up a hardware device.
[0033] When the application wakes up the CPU in the dormant state, it sends an AlarmManager message to inform the system when to wake up the CPU. Among them, AlarmManager is an interface for timing operation management provided to upper-layer applications. Applications can set single and repeated timing wake-up operations by calling the set and setRepeating interfaces of AlarmManager. The system will wake up the CPU after the time set by the application arrives. Pre-customized actions.
[0034] In the embodiment of the present invention, the application calls the set interface of the A...
Embodiment 3
[0062] An embodiment of the present invention provides a method for waking up a hardware device, see image 3 .
[0063] It should be noted that some applications need to repeatedly wake up the CPU to perform specific operations. In the embodiment of the present invention, the application calls the setRepeating interface of the AlarmManager to inform the system when to wake up the CPU, and periodically wakes up the CPU every time a periodic wake-up time arrives, wherein the request message also carries the application identification, That is uid. Further, the content of the message is: AlarmManager.setRepeating(int type, long triggerAtMillis, long intervalMillis, PendingIntent operation), where the parameter type is the time type, triggerAtMillis is the set wake-up time, intervalMillis is the periodic wake-up time interval, operation The operation to be performed after the timeout.
[0064] Further, some steps in this embodiment of the present invention are the same as thos...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com