Application Action Synchronization for Kernel Task Scheduling
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In current operating systems, the kernel space lacks precise knowledge of actions performed by foreground and background applications, leading to performance issues such as slow program responses and excessive power consumption, as running requirements cannot be accurately matched for task scheduling and system core frequency.
Innovation Solution
A method and apparatus for synchronizing actions of foreground and background applications by receiving requests with action parameters, determining action categories, and sending results to the kernel space, enabling precise matching of run requirements and improving system performance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If the kernel space lacks knowledge of application actions, then the system structure remains simple and decoupled, but task scheduling precision and system performance deteriorate
Solution Approach 1:
The patent introduces an action synchronization mechanism as an intermediary layer between user-space applications and the kernel space. This mechanism includes action synchronization requests sent from applications to the kernel, action category determination modules that classify actions, and action parameter synchronization that transfers relevant data. This intermediary structure enables the kernel to obtain precise knowledge of application actions without requiring direct integration or complex coupling between application layers and kernel space.
2Productivity
If task scheduling is performed without precise action knowledge, then the system operation is simple and fast, but program response speed and power consumption optimization worsen
Solution Approach 1:
The patent implements preliminary action by having applications send action synchronization requests to the kernel space before actual task execution. The action category determination is performed in advance, classifying actions into types such as foreground background switching, data processing, or communication actions. This preliminary classification allows the kernel to prepare appropriate scheduling strategies and resource allocations ahead of time, improving program response speed and enabling proactive power consumption optimization without adding significant processing delays.
3Measurement precision
If action synchronization is implemented, then task scheduling precision improves, but system complexity and processing overhead increase
Solution Approach 1:
The patent segments the action synchronization mechanism into distinct functional modules: action synchronization request generation in applications, action category determination modules in the kernel, action parameter synchronization, and task scheduling modules. Each module handles a specific aspect of the synchronization process independently. This segmentation allows the system to achieve precise task scheduling while managing complexity through modular design, where each component can be optimized and maintained separately without affecting the entire system.
4Use of energy by moving object
If background applications run without action awareness, then power consumption is higher, but system operation simplicity is maintained
Solution Approach 1:
The patent implements feedback by continuously synchronizing action information from applications to the kernel space. The kernel receives action synchronization requests that provide real-time feedback about application state changes, including transitions between foreground and background modes. Based on this feedback, the kernel can dynamically adjust power consumption settings for background applications, reducing their resource usage when they are not the active application. This feedback loop enables the kernel to maintain awareness of application state without requiring applications to constantly report their status.
Data Source
AI summary
A method and an apparatus for application synchronization are provided. Therein, a request for synchronizing actions of applications to the kernel space of the operating system is received, action categories of the applications are obtained and an action determination is carried out, according to action parameters of the applications, and results of the action categories and the action determination of the applications are sent to the kernel space, the actions of the applications to be synchronized to the kernel space would be achieved, thereby a basis for processing the task scheduling and system running core number/frequency is provided to the kernel space.


