Unlock instant, AI-driven research and patent intelligence for your innovation.

User interface lag monitoring method and device, and storage medium

A user interface and monitoring device technology, applied in the field of data processing, can solve problems such as monitoring scheme failure and overwriting, and achieve the effect of improving stability

Active Publication Date: 2020-09-08
TENCENT MUSIC ENTERTAINMENT TECH SHENZHEN CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The applicant of this solution found that the above solution is realized by setting up the LogPrinter interface of MainLooper, but the Printer interface used to monitor the main thread can only be bound to one business LogPrinter , and any business can be set for him, so the UI freeze monitoring solution will have the following problems: the Printer interface may be overwritten by the business side set later, resulting in the failure of the entire monitoring solution

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • User interface lag monitoring method and device, and storage medium
  • User interface lag monitoring method and device, and storage medium
  • User interface lag monitoring method and device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0027] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by thos...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a user interface lag monitoring method and device, and a storage medium. The method comprises the steps of creating a lag monitoring object; wherein the lag monitoring object is used for monitoring a task of drawing a user interface by the main thread; and obtaining a preset reference, wherein the preset reference is used for being associated with an object; and calling the object through the preset reference, associating the preset reference with the lagging monitoring object, monitoring whether the preset reference is associated with the lagging monitoring object in the process of executing the task of drawing the user interface by the main thread, and if the preset reference is not associated with the lagging monitoring object, resetting an association relationship between the lagging monitoring object and the preset reference. According to the method provided by the embodiment of the invention, the condition that the monitor is covered canbe detected in real time, and after the monitor is covered by the third-party service, the monitor is reset, so that the stability of the UI lag monitoring scheme is improved.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a method, device, and storage medium for monitoring freezing of a user interface. Background technique [0002] In the Android system, since the refresh rate set by Android is 60FPS (Frame PerSecond), that is, the refresh rate of 60 frames per second, which is about 16ms to refresh, the system will send a VSYNC signal every 16ms to redraw the interface (Activity) , to trigger the rendering of the UI. If the rendering is successful every time, the 60fps required by the process picture will be achieved. [0003] In the actual use process, when performing some animations or sliding, we will feel the UI freeze phenomenon. The animation or sliding is not so smooth. This is because the operation is too complicated, resulting in frame loss, which eventually leads to freeze . In the prior art, UI freeze monitoring is generally realized by setting a custom Printer for th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30
CPCG06F11/302G06F11/3058Y02D10/00
Inventor 吴伟江
Owner TENCENT MUSIC ENTERTAINMENT TECH SHENZHEN CO LTD