Method for Application Action Synchronization, Terminal Device, and Storage Medium
First Claim
1. A method for synchronizing actions of foreground and background applications, comprising:
- receiving a request for synchronizing actions of foreground applications and/or background applications to a kernel space of an operating system, the request comprising action parameters of the foreground applications and/or background applications, the action parameters comprises a preset expiration time, or, the action parameters comprises a stopping action and a maximum value of the expiration time;
obtaining action categories of the foreground applications and/or background applications and carrying out an action determination, according to the action parameters of the foreground applications and/or background applications, wherein the actions comprises at least one of an application launch action, a wake-up action, an animated picture switching action, a sliding operation action, a software download action and whether the action is stopped, in an open-loop action when the foreground applications and/or background applications being interacted with a user, and at least one of a software installation action, a software video capturing action, a photographing action, a video encoding action, a preview action, a video playback action, an audio playback action, and an input and output action, in a close-loop action; and
sending results of the action categories and the action determination of the foreground applications and/or background applications to the kernel space, thereby providing, a basis for processing task scheduling and system running core number/frequency, to the kernel space, and enabling the kernel to match with run requirements of the foreground applications and/or the background applications precisely.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
0 Citations
8 Claims
-
1. A method for synchronizing actions of foreground and background applications, comprising:
-
receiving a request for synchronizing actions of foreground applications and/or background applications to a kernel space of an operating system, the request comprising action parameters of the foreground applications and/or background applications, the action parameters comprises a preset expiration time, or, the action parameters comprises a stopping action and a maximum value of the expiration time; obtaining action categories of the foreground applications and/or background applications and carrying out an action determination, according to the action parameters of the foreground applications and/or background applications, wherein the actions comprises at least one of an application launch action, a wake-up action, an animated picture switching action, a sliding operation action, a software download action and whether the action is stopped, in an open-loop action when the foreground applications and/or background applications being interacted with a user, and at least one of a software installation action, a software video capturing action, a photographing action, a video encoding action, a preview action, a video playback action, an audio playback action, and an input and output action, in a close-loop action; and sending results of the action categories and the action determination of the foreground applications and/or background applications to the kernel space, thereby providing, a basis for processing task scheduling and system running core number/frequency, to the kernel space, and enabling the kernel to match with run requirements of the foreground applications and/or the background applications precisely. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus for synchronizing actions of foreground and background applications, comprising:
-
a receiving module, configured to receive a request for synchronizing actions of foreground applications and/or background applications to a kernel space of an operating system, the request comprising action parameters of the foreground applications and/or background applications, the action parameters comprises a preset expiration time, or, the action parameters comprises a stopping action and a maximum value of the expiration time; an analyzing module, configured to obtain action categories of the foreground applications and/or background applications and carry out an action determination, according to the action parameters of the foreground applications and/or background applications, wherein the actions comprises at least one of an application launch action, a wake-up action, an animated picture switching action, a sliding operation action, a software download action and whether the action is stopped, in an open-loop action when the foreground applications and/or background applications being interacted with a user, and at least one of a software installation action, a software video capturing action, a photographing action, a video encoding action, a preview action, a video playback action, an audio playback action, and an input and output action, in a close-loop action; and a sending module, configured to send results of the action categories and the action determination of the foreground applications and/or background applications the kernel space, thereby providing, a basis for processing task scheduling and system running core number/frequency, to the kernel space, and enabling the kernel to match with run requirements of the foreground applications and/or the background applications precisely. - View Dependent Claims (6, 7, 8)
-
Specification