×

Method for application action synchronization, terminal device, and storage medium

  • US 10,649,817 B2
  • Filed: 06/06/2019
  • Issued: 05/12/2020
  • Est. Priority Date: 05/31/2016
  • Status: Active Grant
First Claim
Patent Images

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, wherein the request is sent by the applications;

    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 or 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, or 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;

    wherein the request further comprises identifiers of the foreground applications and/or background applications, and the method further comprises;

    determining whether the foreground applications and/or background applications have an authority to synchronize the actions of the applications to the kernel space, according to the identifiers of the foreground applications and/or the background applications;

    carrying out the receiving the request for synchronizing the actions of the foreground applications and/or the background applications to the kernel space of the operating system when a determination result is that the foreground applications and/or the background applications have the authority to synchronize the actions of the applications to the kernel space, according to the identifiers of the foreground applications and/or the background applications; and

    receiving the request for synchronizing the actions of the foreground applications and/or the background applications to the kernel space of the operating system via an action control service interface when the determination result is that the foreground applications and/or the background applications do not have the authority to synchronize the actions of the applications to the kernel space, according to the identifiers of the foreground applications and/or the background applications.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×