GUI fragment type rendering method and device based on dirty rectangle mechanism

A technology of dirty rectangles and fragments, applied in the field of graphical user interface rendering, can solve problems such as the chip cannot enable offline video memory, and the interface is abnormal

Pending Publication Date: 2020-07-07
GUANGZHOU ZHIYUAN ELECTRONICS CO LTD
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, since a screen-sized video memory cannot be allocated on an embedded platform with small resources, the chip cannot enable offline video memory, which in turn causes the GUI class library to draw any controls, and the data needs to be immediately flashed to the LCD screen and display to the screen so that the user can see it immediately
At the same time, as long as a small control is updated on the interface, all associated controls must be refreshed once, otherwise it will cause abnormal interface problems

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
  • GUI fragment type rendering method and device based on dirty rectangle mechanism
  • GUI fragment type rendering method and device based on dirty rectangle mechanism
  • GUI fragment type rendering method and device based on dirty rectangle mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] figure 1 A flowchart of a GUI fragment rendering method based on the dirty rectangle mechanism provided in Embodiment 1 of the present application is given. The GUI fragment rendering method based on the dirty rectangle mechanism provided in this embodiment can be implemented by the GUI fragment rendering method based on the dirty rectangle mechanism. The fragment rendering device is executed, and the GUI fragment rendering device based on the dirty rectangle mechanism may be implemented by software and / or hardware.

[0043] The following description will be made by taking the GUI fragment rendering device based on the dirty rectangle mechanism as an example for executing the GUI fragment rendering method based on the dirty rectangle mechanism. refer to figure 1, the GUI fragment rendering method based on the dirty rectangle mechanism specifically includes:

[0044] S110. Pre-create a fragmented video memory on the embedded platform, where the fragmented video memory ...

Embodiment 2

[0063] On the basis of the above examples, Figure 5 It is a schematic structural diagram of a GUI fragment rendering device based on the dirty rectangle mechanism provided in Embodiment 2 of the present application. refer to Figure 5 The GUI fragment rendering device based on the dirty rectangle mechanism provided in this embodiment specifically includes: a creation module 21 , a slice module 22 , a first drawing module 23 and a second drawing module 24 .

[0064] Wherein, the creation module 21 is used to create a fragment display memory on the embedded platform in advance, and the fragment display memory is smaller than the display memory of the corresponding screen of the embedded platform;

[0065] The slicing module 22 is used to determine the redrawing area based on the dirty rectangle mechanism when performing content drawing, and if the redrawing area is larger than the fragment display memory, correspondingly slice the redrawing area into multiple fragment areas; ...

Embodiment 3

[0077] Embodiment 3 of the present application provides an electronic device, referring to Image 6 , the electronic device includes: a processor 31 , a memory 32 , a communication module 33 , an input device 34 and an output device 35 . The number of processors in the electronic device may be one or more, and the number of memories in the electronic device may be one or more. The processor, memory, communication module, input device and output device of the electronic device can be connected through a bus or in other ways.

[0078] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corresponding to the GUI fragment rendering method based on the dirty rectangle mechanism described in any embodiment of the present application ( For example, the creation module, the slice module, the first drawing module and the second drawing module in the GUI fragment rend...

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 GUI fragment type rendering method and device based on a dirty rectangle mechanism, electronic equipment and a storage medium. According to the method of the invention, a fragment video memory smaller than a screen video memory is created on an embedded platform in advance; when content drawing is carried out, a redrawing area is determined based on a dirty rectangle mechanism, if the redrawing area is larger than a segment video memory, the redrawing area is correspondingly sliced into a plurality of segment areas, the segment areas are drawn in thesegment video memory one by one, and picture drawing and screen refreshing are carried out in real time through the segment video memory. By adopting the method, the picture drawing efficiency of thesmall-resource embedded platform is improved through the fragment video memory in combination with the dirty rectangular rendering mechanism, and the screen refreshing frequency and the data area arereduced by limiting the size of the redrawing area, so that the overall performance of the screen is improved, and the impression experience of a user is optimized.

Description

technical field [0001] The embodiments of the present application relate to the technical field of graphical user interface rendering, and in particular, to a GUI segment rendering method and device based on a dirty rectangle mechanism. Background technique [0002] At present, in the embedded platform, in order to make the user look and feel better, it is usually necessary to intuitively display the graphical user interface on the screen, so as to optimize the user experience. On some embedded platforms with small resources, such as STM32F103, due to its relatively small memory, the on-chip SRAM is only 64KB. Therefore, if you want to provide users with a better visual experience, you need to connect an 8MB SRAM, or directly send the GUI data to the LCD to refresh the GRAM (that is, the dedicated video memory of the LCD display) without opening up the video memory. This type of chip can use a 320*240 resolution, RGB565 LCD screen to enhance the user experience. In order t...

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/451
CPCG06F9/451
Inventor 周立功李先静罗智明
Owner GUANGZHOU ZHIYUAN ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products