Method for Interface Refresh Synchronization,Terminal Device, and Non-Transitory Computer-Readable Storage Medium
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorYuanqing Zeng
Life of this patent
Estimating the term…
Abstract
A method for interface refresh synchronization, a terminal device, and a non-transitory computer-readable storage medium are provided. The method includes: obtaining, in a user space of an operating system, refresh information of a plurality of interface refresh operations, when the plurality of interface refresh operations are initiated by a plurality of foreground applications in the user space; and transmitting the obtained refresh information of the plurality of interface refresh operations to a kernel space of the operating system, the refresh information including a thread number of each interface refresh operation, refresh time and refresh contents corresponding to each thread number.
Claims12
A method of refresh synchronization for interface of foregoing application, comprising:
- when a plurality of foreground applications in a user space of an operating system initiate a plurality of interface refresh operations, obtaining, in the user space, refresh information of the plurality of interface refresh operations, wherein the refresh information comprises a thread number of each interface refresh operation, refresh time and refresh contents corresponding to each thread number;
- and
- transmitting the obtained refresh information of the plurality of interface refresh operations to a kernel space of the operating system;
- the method further comprising:
- analyzing, in the kernel space, the refresh contents corresponding to each thread number of the plurality of interface refresh operations, to obtain refresh load information of each thread of the plurality of foreground applications;
- and
- performing system frequency modulation and task scheduling, according to the refresh load information of each thread of the plurality of foreground applications.
A system of refresh synchronization for interface of foregoing application, comprising:
- an input device, an output device, a memory and a processor;
- the memory being configured to store instructions;
- and
- the processor being configured to execute the instructions to:
- when a plurality of foreground applications in a user space of an operating system initiate a plurality of interface refresh operations, obtain, in the user space, refresh information of the plurality of interface refresh operations, wherein the refresh information comprises a thread number of each interface refresh operation, refresh time and refresh contents corresponding to each thread number;
- transmit the refresh information of the plurality of interface refresh operations to a kernel space of the operating system;
- analyze, in the kernel space, the refresh contents corresponding to each thread number of the plurality of interface refresh operations, to obtain refresh load information of each thread of the plurality of foreground applications;
- and
- perform system frequency modulation and task scheduling, according to the refresh load information of each thread of the plurality of foreground applications.
A computer-readable storage medium storing programs, the programs being executed to perform:
- when a plurality of foreground applications in a user space of an operating system initiate a plurality of interface refresh operations, obtain, in the user space, refresh information of the plurality of interface refresh operations, wherein the refresh information comprises a thread number of each interface refresh operation, refresh time and refresh contents corresponding to each thread number;
- transmit the refresh information of the plurality of interface refresh operations to a kernel space of the operating system;
- analyze, in the kernel space, the refresh contents corresponding to each thread number of the plurality of interface refresh operations, to obtain refresh load information of each thread of the plurality of foreground applications;
- and
- perform system frequency modulation and task scheduling, according to the refresh load information of each thread of the plurality of foreground applications.
Dependencies are inferred from the claim text.