Terminal Sensor Scheduling for Lower-Power Periodic Services
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Terminal devices experience high power consumption when executing multiple periodic services due to frequent sensor enablement.
Innovation Solution
A method is implemented to synchronize the execution times of periodic services by determining a common multiple of their periodicities, enabling sensors only at specific overlapping moments, and prioritizing services based on sensor quantity, frequency, and duration to reduce unnecessary enablement.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the terminal device executes multiple periodic services with different periodicities, then the service coverage and functionality are improved, but the power consumption increases due to frequent sensor enablement
Solution Approach 1:
The patent merges the execution timing of multiple periodic services by identifying a common multiple of their periodicities. When multiple services are scheduled to execute at the same moment, they share a single sensor enablement operation instead of each service independently enabling the sensor. This combining of operations reduces the total number of times the sensor is enabled, thereby reducing power consumption while maintaining all required service functionalities.
Solution Approach 2:
The patent performs preliminary analysis of service periodicities to determine optimal synchronization points before executing the services. By calculating the common multiple of periodicities in advance and scheduling services to overlap at these predetermined moments, the system prepares the timing structure that minimizes sensor enablement frequency. This preliminary timing arrangement ensures that sensor enablement occurs only when multiple services converge, preventing redundant enablement operations.
2Productivity
If the sensor is enabled frequently to support multiple periodic services, then the data output rate and service responsiveness are improved, but the power consumption increases
Solution Approach 1:
The patent combines multiple service executions into synchronized time points where multiple services share the same sensor enablement event. By merging the timing of services with different periodicities into common execution moments, the system maintains adequate data output rates for all services while dramatically reducing the frequency of sensor enablement operations, thus lowering power consumption.
Solution Approach 2:
The patent establishes a periodic execution pattern based on the least common multiple of service periodicities. Services are executed in synchronized periodic cycles rather than independently, creating a rhythm where sensor enablement occurs only at the convergence points of multiple service periods. This periodic synchronization maintains data flow for all services while minimizing energy-consuming enablement events.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
This application provides a service processing method and a related apparatus, and may be applied to the field of terminal technologies. In this application, a terminal device may determine, at a first moment, whether a first service and a second service are in an enabled state, periodically execute the first service when the first service is in the enabled state, and periodically execute the second service when the second service is in the enabled state, where the first service is a service for periodically enabling a first sensor to collect data, the second service is a service for periodically enabling a second sensor to collect data, and both the first sensor and the second sensor may include a target sensor. According to the method in this application, execution time of the first service and execution time of the second service may overlap at a specific moment. In this way, the target sensor needs to be enabled only once at the specific moment, so that a quantity of times of enabling the target sensor can be reduced, thereby helping reduce power consumption of the terminal device.