Graphic user interface redrawing method, terminal device and computer readable storage medium
一种图形用户界面、终端设备的技术,应用在用户界面执行、计算、存储器系统等方向,能够解决invalidate指令重复传递等问题,达到减少遍历次数、提高绘制效率的效果
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] refer to figure 1 As shown, the first embodiment of the present invention proposes a terminal device 2 . The terminal device 2 may be any electronic device with a graphical user interface, such as a mobile phone. The terminal device 2 includes a memory 20 , a processor 22 and a GUI redrawing program 28 .
[0038] Wherein, the memory 20 includes at least one type of readable storage medium for storing the operating system installed in the terminal device 2 and various application software, such as the program code of the graphical user interface redrawing program 28 and the like. In addition, the memory 20 can also be used to temporarily store various types of data that have been output or will be output.
[0039] The processor 22 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chips in some embodiments. The processor 22 is generally used to control the overall operation of the term...
Embodiment 2
[0051] refer to figure 2 As shown, the second embodiment of the present invention proposes a graphical user interface redrawing method, which is applied to the terminal device 2 . In this embodiment, according to different requirements, figure 2 The order of execution of the steps in the flowcharts shown may be changed, and certain steps may be omitted. The method includes the following steps:
[0052] S100. When a View has content updated, upload corresponding invalidate data to the HashMap.
[0053] Specifically, the invalidate data includes the reference of the View Group to which the View belongs and dirty region (Dirtyregion) information. In order to avoid the process of repeatedly transmitting the invalidate command in the traditional method, this embodiment does not directly transmit the invalidate command to the View Group to which it belongs when the View content needs to be updated, but sends a reference containing the View Group to which the View belongs and th...
Embodiment 3
[0071] The present invention also provides another implementation manner, which is to provide a computer-readable storage medium, the computer-readable storage medium stores a graphical user interface redrawing program, and the graphical user interface redrawing program can be processed by at least one executed by a processor, so that the at least one processor executes the steps of the above-mentioned graphical user interface redrawing method.
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com