Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Interface drawing method and device, computer equipment and storage medium

A drawing method and computer program technology, applied in the computer field, can solve problems such as extremely high refresh frequency, large amount of data, and freeze, and achieve the effect of efficiently realizing drawing tasks, reducing conflicts, and avoiding blocking.

Pending Publication Date: 2022-05-06
SHENZHEN TCL NEW-TECH CO LTD
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For high-frequency refresh interface scenarios, for example, in some scenarios, a large amount of data needs to be updated immediately and the interface is refreshed frequently, so as to achieve immediate and intuitive display of current data content, such as refresh data of trading after the stock market opens, human heart rate fluctuation curve; and so on The scene needs to render the display screen in real time and achieve high-frequency refresh. Due to the large amount of data and high refresh frequency requirements, using ordinary custom View to realize the high-frequency refresh function of the page will often cause serious freezes, frame loss and other abnormal phenomena

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
  • Interface drawing method and device, computer equipment and storage medium
  • Interface drawing method and device, computer equipment and storage medium
  • Interface drawing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application. In order to more easily understand the content of the embodiments of this application, the following first explains the important terms in this application:

[0062] CustomSurfaceView: Customize the view control that implements interface drawing;

[0063] Window: The window displayed in the Android system;

[0064] Surface: The meaning of the surface is the place used for drawing in Android, which is used to obtain the native buffer and its contents. The native buffer is used to save the pixel data of the current window image;

[0065] Canvas object in Surface: used to pro...

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 invention relates to an interface drawing method and device, computer equipment and a storage medium, and the method comprises the steps that a CumSurfaceView subclass is instantiated, a CumSurfaceView object is obtained, the CumSurfaceView subclass inherits from a SurfaceView class, and the CumSurfaceView subclass and the SurfaceView subclass are subjected to a CumSurfaceView subclass to obtain a CumSurfaceView object; creating a thread pool through a thread pool manager; the method comprises the following steps of: creating and submitting a drawing task according to a CumSurfaceView object; creating a drawing thread in the thread pool through the thread pool manager; scheduling a drawing thread through a thread pool manager to execute a drawing task to obtain a drawing result; and submitting and displaying a drawing result. By adopting the method, the problems of serious lagging and even frame loss of a high-frequency refresh interface in the prior art can be effectively solved, so that the drawing of a complex interface is relatively flow, and a drawing task is efficiently realized.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to an interface drawing method, device, computer equipment and storage medium. Background technique [0002] For Android applications, common controls of the Android system are generally used to achieve interface drawing, and some complex interfaces generally implement interface drawing through custom controls inheriting View. [0003] For high-frequency refresh interface scenarios, for example, in some scenarios, a large amount of data needs to be updated immediately and the interface is refreshed frequently, so as to achieve immediate and intuitive display of current data content, such as refresh data of trading after the stock market opens, human heart rate fluctuation curve; and so on The scene needs to render the display screen in real time and achieve high-frequency refresh. Due to the large amount of data and high refresh frequency requirements, using ordinary cus...

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): G06F9/4401G06F9/451G06F9/48G06F9/50
CPCG06F9/4843G06F9/4418G06F9/451G06F9/5038G06F2209/5011G06F2209/5018
Inventor 王芳
Owner SHENZHEN TCL NEW-TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products