Sensor control method and device
A control method and sensor technology, applied in the direction of instruments, electrical digital data processing, digital data processing components, etc., can solve the problem of increasing ADSP power consumption and achieve the effect of reducing power consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0018] Please refer to figure 1 , an embodiment of the present invention provides a sensor control method.
[0019] The method in the embodiment of the present invention is applied to various terminals, such as mobile phones, tablet computers, and the like. The terminal includes a sensor and a processor. The processor includes: an ADSP connected to the sensor for processing sensor interrupts, and an AP connected to the ADSP. The location sensor may include a pedometer.
[0020] Among them, the AP is a processor of ARM architecture, which is used to run the Linux+Android (Android) system; when the mobile phone is generally in standby, the AP enters a dormant state, and at this time, the code of the application program in the Android will also stop executing.
[0021] ADSP is a kind of DSP (Digital Signal Processor, digital signal processor), which is used to process audio digital signals. DSP is a processor composed of large-scale or ultra-large-scale integrated circuit chi...
Embodiment 2
[0043] Please refer to figure 2, the embodiment of the present invention provides a sensor control device 200, the device 200 is used for a terminal, the terminal includes a sensor, an audio digital signal processor ADSP connected to the sensor and used for processing sensor interruption, and connected to the sensor The application processor AP connected to the ADSP;
[0044] The device 200 may include:
[0045] An acquisition module 201, configured to acquire the state of the AP;
[0046] The control module 202 is configured to disable sensor interrupts when the AP is in a dormant state; enable sensor interrupts when the AP is in a wake-up state.
[0047] In some embodiments, the sensor includes a pedometer.
[0048] In some embodiments, the control module 202 is further configured to: when the AP is in the wake-up state, control the pedometer to actively report the current number of steps of the pedometer to the ADSP.
[0049] In some embodiments, the obtaining module 2...
Embodiment 3
[0055] An embodiment of the present invention also provides a memory for storing one or more programs, and when the one or more programs are executed by a terminal including one or more processors, the terminal performs the sensor control as described above method.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 