Background Task Management via Push Message State Transition
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Operating systems of electronic devices impose limitations on background tasks to conserve battery life and reduce resource usage, which can hinder the stable and efficient processing of periodically required tasks without user intervention or additional user interfaces.
Innovation Solution
An electronic device with a processor, memory, and communication circuit that manages application states, allowing applications to transition from an active or suspended state to a background state for task execution based on push messages, enabling seamless and efficient processing of registered background tasks without significant battery consumption or resource increase.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Use of energy by moving object
If the operating system limits background task execution to save battery and reduce resource usage, then battery consumption and resource usage are reduced, but the stable processing of periodic background tasks cannot be guaranteed
Solution Approach 1:
The application registers background tasks with the operating system in advance before transitioning to a suspended state. The operating system stores task information (task ID, execution period, priority) and schedules these tasks for periodic execution, ensuring they can be reliably processed without requiring the application to remain actively running, thus saving battery while maintaining task reliability.
Solution Approach 2:
The operating system acts as an intermediary between the suspended application and the background task execution. It receives task registration requests from applications, manages task scheduling, and executes tasks at appropriate intervals even when applications are suspended. This mediator approach allows reliable background task processing without requiring applications to consume battery resources continuously.
2Quantity of substance
If the operating system terminates or suspends background applications to conserve resources, then resource usage is reduced, but periodic task execution cannot be maintained
Solution Approach 1:
The patent extracts the background task execution functionality from the application process itself and transfers it to the operating system. When an application transitions to a suspended state, its background tasks are extracted and registered with the operating system's task management mechanism. This allows the application to be terminated or suspended (reducing resource usage) while the operating system independently manages and executes the extracted tasks periodically.
Solution Approach 2:
The operating system provides self-service for background task execution by automatically scheduling and executing registered tasks without requiring the originating application to remain active. The system monitors execution periods, prioritizes multiple tasks, and executes them autonomously, freeing up application resources while maintaining productive task execution.
3Reliability
If the application remains in active state to process background tasks, then task processing is reliable, but battery consumption and resource usage increase significantly
Solution Approach 1:
The application performs preliminary action by registering its background tasks with the operating system before transitioning to a suspended or terminated state. This advance registration includes providing task identification, execution period, and priority information. The operating system then takes over task execution, ensuring reliable periodic processing without requiring the application to remain in an energy-consuming active state.
Data Source
AI summary
A storage medium according to various embodiments may store instructions. When the instructions are executed by a processor of a computer including an operating system which provides an activation state in which the instructions are executed in a foreground in relation to at least one application program, a suspended state in which the instructions are executed but do not perform a command in a background in relation thereto, and a background state in which the instructions are executed and perform a command in a background in relation thereto, the instructions may cause the computer to: in relation to an application program configured to perform a task, store information on the task in a memory of the computer; after a state of the application program is changed from an activation state to a suspended state, receive a push message from an outside of the computer; change the state of the application program from the suspended state to a background state, according to reception of the push message; and allow the application program to perform the task on the basis of the information on the task in the background state. Further, an electronic device according to various embodiments may be provided.


