Display control method and apparatus, electronic device
By dynamically managing the frame buffer and utilizing the screen SRAM, the problem of wasted memory resources on small devices is solved, enabling partial updates of the interface and saving hardware resources.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- FUZHOU ROCKCHIP SEMICON
- Filing Date
- 2025-05-30
- Publication Date
- 2026-07-10
AI Technical Summary
On small devices, existing display solutions require the framebuffer to constantly store the latest image data, resulting in wasted memory resources and unnecessary consumption of hardware resources.
By dynamically releasing and allocating frame buffers, the screen's SRAM is used as system video memory, and the framebuffer is dynamically managed to avoid the rendering module redrawing images and make reasonable use of memory resources.
It effectively alleviates the problem of insufficient memory, avoids the waste of hardware resources, supports the compositing and overlay of multiple layers, realizes partial updates of the interface, and saves hardware resources.
Smart Images

Figure CN120631295B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of display control technology, and more particularly to display control methods and devices, and electronic devices. Background Technology
[0002] In existing display solutions, user UI (User Interface) operations trigger the rendering module to render images, and the rendering result is saved in the framebuffer. The display module is responsible for retrieving the image from the framebuffer and sending the processed image to the screen via a high-speed signal on the PCB board. After receiving the data, the screen saves it to its SRAM (Static Random-Access Memory), and the screen controller then displays the image data on the screen at a fixed refresh rate.
[0003] On some small devices, the overall chip performance is relatively weak, including its image rendering capabilities, and storage space may be used to its maximum. Therefore, on these small devices, when the system first displays an image, it may spend a lot of resources allowing the rendering module to render a complete frame. The rendered image is stored in a framebuffer. The next time the user's operating system interface displays an update, the system will only perform partial updates based on the image data stored in the framebuffer, and then send it to the screen for display after the update is complete.
[0004] This display scheme has the following drawbacks. First, the framebuffer needs to always store the latest image data, so the framebuffer's memory cannot be released for use by other system modules. Furthermore, if the framebuffer is released after the user completes their UI interaction, the rendering module will need to redraw the image the next time the UI is updated, wasting hardware resources. Summary of the Invention
[0005] This invention provides a display control method and apparatus, and an electronic device, which can make full use of memory resources and save hardware resources.
[0006] In one aspect of the present invention, a display control method is provided. The method includes: generating a drawing image by a rendering module and caching the drawing image in a frame buffer allocated from memory; generating a display image by a display output module based on the drawing image in the frame buffer and transmitting the display image to a random access memory (RAM) of a display device, such that the display device displays an interface based on the display image stored in the RAM; if it is detected that the rendering module has not performed a drawing operation for updating the interface within a preset time, releasing the memory corresponding to the frame buffer; if a user interface operation for updating the interface is detected after releasing the memory corresponding to the frame buffer, allocating a new frame buffer from the memory; receiving the display image stored in the RAM from the display device and saving the display image to the new frame buffer; and having the rendering module draw an image based on the display image saved in the new frame buffer according to the user interface operation to generate an updated image.
[0007] In another aspect of the invention, a display control device is provided. The device includes: a rendering module configured to generate a drawn image and cache the drawn image in a frame buffer allocated from memory; a display output module configured to generate a display image based on the drawn image in the frame buffer and transmit the display image to a random access memory (RAM) of a display device, such that the display device displays an interface based on the display image stored in the RAM; and a display control module configured to: if it is detected that the rendering module has not performed a drawing operation for updating the interface within a preset time, release the memory corresponding to the frame buffer; and if a user interface operation for updating the interface is detected after releasing the memory corresponding to the frame buffer, allocate memory from the memory. A new frame buffer; and receiving the display image stored in the random access memory from the display device, and saving the display image to the new frame buffer, wherein the rendering module is further configured to perform image drawing based on the display image saved in the new frame buffer according to the user interface operation to generate an updated image, and cache the updated image in the new frame buffer, wherein the display output module is further configured to perform image compositing based on the display image and the updated image in the new frame buffer to generate a new display image, and transmit the new display image to the random access memory of the display device, so that the display device updates the interface based on the new display image.
[0008] In another aspect of the invention, an electronic device is provided. The electronic device includes a display device comprising a display screen and a random access memory; and a display control device comprising: a memory configured to store an executable program; and a processor configured to execute the program to perform the aforementioned display control method.
[0009] According to the technical solution of this invention, the screen's SRAM is fully utilized as the system's video memory. The system layer can dynamically allocate and release framebuffers, effectively alleviating the problem of insufficient memory size in the system. At the same time, it can also avoid wasting resources by having the rendering module or CPU redraw the entire image. By dynamically reusing the screen-side SRAM as a framebuffer, this invention ensures both display effect and performance, while also dynamically releasing more memory space for use by other modules in the system. Attached Figure Description
[0010] Figure 1 A flowchart of a display control method according to an embodiment of the present invention;
[0011] Figure 2 This is a flowchart of a display control method in a specific scenario according to an embodiment of the present invention;
[0012] Figure 3 This is a schematic diagram of the structure of a display control device according to an embodiment of the present invention;
[0013] Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0014] To explain in detail the technical content, objectives, and effects of the present invention, the following description is provided in conjunction with the embodiments and accompanying drawings.
[0015] In existing technologies, the on-screen SRAM is mapped to the system's virtual video memory, allowing the system to directly manipulate the on-screen SRAM during rendering. However, this method cannot overlay layers on the old image when multiple windows are added. Furthermore, since access to the on-screen SRAM is based on LCD controller / screen-specific timing, it is less efficient compared to directly accessing memory units (DDR) using the system-side framebuffer.
[0016] To address at least the aforementioned technical problems, this disclosure provides a display control scheme. According to embodiments of this disclosure, the drawn image generated by the rendering module is cached in a allocated frame buffer. The display output module generates a display image based on the drawn image and transmits the display image to the random access memory of the display device. If the rendering module is detected not to perform a drawing operation for updating the interface within a preset time, the frame buffer is released. If a user interface operation for updating the interface is detected after the release, a new frame buffer is allocated. The display image stored in the random access memory is received from the display module and saved to the new frame buffer. Furthermore, the rendering module performs image drawing based on the display image saved in the new frame buffer according to the user interface operation to generate an updated image.
[0017] According to an embodiment of this disclosure, the rendering module updates the image cache in a new frame cache, the display output module performs image synthesis based on the display image in the new frame cache and the updated image to generate a new display image, and transmits the new display image to the random access memory of the display device, so that the display device updates the interface based on the new display image.
[0018] According to embodiments of this disclosure, after a user completes a UI operation, if a timer detects that no new image has been updated for a period of time, it actively releases the memory corresponding to the framebuffer for use by other modules in the system. When the user performs a UI operation again, new memory is allocated as the framebuffer, and the display module reads the currently displayed image data from the screen's SRAM into the framebuffer as the base image for the next rendering. Subsequent UI operations / interface updates are based on the image data of the current framebuffer, or, in the case of other new windows / UI overlays, the display output module is responsible for compositing them and sending them to the screen. Furthermore, if the timer again detects that no image has been updated for a period of time, it releases the memory corresponding to the framebuffer.
[0019] In this way, embodiments of the present disclosure can fully utilize the screen's SRAM as the system's video memory. The system layer can dynamically allocate and release framebuffer, effectively alleviating the problem of insufficient memory size in the system, while also avoiding the waste of resources by having the rendering module or CPU redraw the complete image.
[0020] In the following, the technical solutions according to this disclosure will be described with reference to specific embodiments and in conjunction with the accompanying drawings.
[0021] Figure 1 This is a flowchart illustrating a display control method 100 according to an embodiment of the present disclosure. (Refer to...) Figure 1 The method 100 includes the following steps 101 to 106.
[0022] In step 101, the rendering module generates a drawing image and caches the drawing image in a frame buffer allocated from memory.
[0023] In step 102, the display output module generates a display image based on the drawing image in the frame buffer and transmits the display image to the random access memory of the display device, so that the display device displays the interface based on the display image stored in the random access memory.
[0024] In some embodiments, after generating a display image, the display output module performs image processing and data conversion on the display image and packages it into a data packet with a preset protocol. Furthermore, the data packet is sent to the display device to store the data packet in the random access memory.
[0025] In some embodiments, the image processing includes scaling the displayed image according to the resolution of the display screen of the display device. The data conversion includes converting the displayed image according to a data format corresponding to the display screen of the display device. In this way, the displayed image can be processed into data adapted to the display screen, ensuring that the displayed image can be displayed correctly.
[0026] In step 103, if it is detected that the rendering module has not performed a drawing operation to update the interface within a preset time, the memory corresponding to the frame buffer is released.
[0027] In some embodiments, a timer is used for detection. If a drawing operation is detected by the rendering module, the timer is reset; that is, the timer is cleared and restarted each time the image is updated. In this way, the memory of the framebuffer can be released in a timely manner for use by other modules of the system, effectively alleviating the problem of insufficient memory in the system.
[0028] Furthermore, if a drawing operation is detected by the rendering module, the displayed image in the frame buffer is retained, allowing the rendering module to perform its drawing operations based on that image. This avoids the need for the rendering module or CPU to redraw the entire image, thus preventing waste of hardware resources.
[0029] In step 104, if a user interface operation for updating the interface is detected after releasing the memory corresponding to the frame buffer, a new frame buffer is requested from the memory.
[0030] In step 105, the display image stored in the random access memory is received from the display device, and the display image is saved to the new frame buffer.
[0031] In this way, the screen's SRAM is fully utilized as the system's video memory, while the rendering module or CPU does not need to redraw the complete image, thus avoiding a waste of hardware resources.
[0032] In some embodiments, a predetermined instruction is sent to the display device, causing the display device to retrieve the display image from the random access memory; and to receive the display image transmitted from the display device.
[0033] In step 106, the rendering module draws an image based on the display image stored in the new frame buffer according to the user interface operation to generate an updated image.
[0034] In some embodiments, after the rendering module generates an updated image, it caches the updated image in a new frame buffer. Furthermore, the display output module performs image compositing based on the displayed image in the new frame buffer and the updated image to generate a new displayed image, and transmits the new displayed image to the random access memory of the display device, so that the display device updates the interface based on the new displayed image.
[0035] In some embodiments, when the user interface operation indicates a partial update to the interface based on the displayed image, the rendering module generates an overlay window image corresponding to the partial update and saves the overlay window image to the new frame buffer. The display output module performs image compositing based on the displayed image in the new frame buffer and the overlay window image to generate a new displayed image, and transmits the new displayed image to the random access memory of the display device, so that the display device updates the interface based on the new displayed image. In this way, multiple layers can be composited and overlaid, enabling partial updates to the interface and saving hardware resources.
[0036] In some embodiments, the rendering module saves the displayed image to a first frame cache newly allocated according to the user interface operation, and saves at least one of the overlay window images to at least one corresponding second frame cache newly allocated according to the user interface operation, wherein the second frame cache corresponds one-to-one with the overlay window image.
[0037] In some embodiments, the display output module performs image overlay to generate the new display image based on the display image in the first frame buffer and the overlay window images in each of the second frame buffers.
[0038] The following will describe, through examples, application scenarios of the display control method according to embodiments of the present invention.
[0039] Figure 2This is a flowchart illustrating a display control method 200 according to an embodiment of the present invention. (Refer to...) Figure 2 The method includes steps 201 to 209.
[0040] Step 201: Determine whether the rendering module has not performed a drawing operation within a preset time. If yes, proceed to step 204; otherwise, proceed to step 202.
[0041] The rendering module is responsible for drawing images, such as the images that users see when operating the system interface or user interface on an electronic device.
[0042] A timer is used to track the duration during which the rendering module does not perform any drawing operations. This timer is used to determine whether the rendering module has performed any drawing operations within a preset time, i.e., whether any new images have been updated within that time. Drawing operations include those used to update the interface, as well as those used to draw the display images stored in the frame buffer.
[0043] Step 202: The rendering module generates a drawing image and caches the drawing image in a frame buffer allocated from memory, while resetting the timer.
[0044] A framebuffer is the memory area within the software's display framework used to store displayed images. When a user performs UI actions, the rendering module is triggered to render the image, and the rendering result is saved to the framebuffer.
[0045] If the rendering module performs drawing operations within a preset time, it will retain the display image in the frame buffer, allowing the rendering module to perform drawing operations based on the display image in the frame buffer.
[0046] Step 203: The display output module generates a display image based on the drawing image in the frame buffer and transmits the display image to the random access memory of the display device, so that the display device displays the interface based on the display image stored in the random access memory.
[0047] In some embodiments, after the display output module generates the display image, it will also perform image processing and data conversion on the display image, and then package it into a data packet of a specific protocol, and then send it to the SRAM (Static Random Access Memory) on the screen through a high-speed signal on the PCB.
[0048] In this embodiment, image processing includes scaling, which involves scaling the displayed image to a size suitable for the display screen. For example, assuming the displayed image size is 320×240 and the display screen resolution is 300×240, the displayed image needs to be scaled down from 320×240 to 300×240.
[0049] Data conversion includes data format conversion. For example, if the generated display image is YUV data, but the display screen requires RGB data, then the display image needs to be converted from YUV to RGB.
[0050] Packaging data into a specific protocol means converting data signals into the interface protocol signals corresponding to the screen. For example, after VOP internal processing, there are 24 data lines of RGB8888, plus some clock signals. The screen may correspond to a certain type of display interface, such as the i8080 interface. In this case, the RGB888 signal needs to be converted into the interface protocol signal corresponding to the screen.
[0051] Step 204: Release the memory corresponding to the frame buffer.
[0052] If the rendering module does not perform any drawing operations within the preset time, it is assumed that no new image has been updated within the specified time, and the memory corresponding to the framebuffer is reclaimed and released for use by other modules of the system.
[0053] In some embodiments, if multiple frame buffers (first frame buffer and second frame buffer) are requested from memory, the memory corresponding to the first frame buffer and each of the second frame buffers is released.
[0054] Step 205: Determine whether a user interface operation is detected after releasing the memory corresponding to the frame buffer. This user interface operation is used to update the interface. If so, proceed to step 206.
[0055] Step 206: Request a new frame buffer from the memory.
[0056] In some embodiments, the newly requested frame buffer can be used as the first frame buffer, and when performing a local update, the frame buffer requested for the overlay window image corresponding to the local update can be used as the second frame buffer.
[0057] Step 207: Receive the display image stored in the random access memory from the display device, and save the display image to a new frame buffer.
[0058] In some embodiments, a predetermined instruction is sent to the display device, causing the display device to retrieve a display image from a random access memory and then receive the display image transmitted from the display device.
[0059] Specifically, when the user performs another UI operation, or when the display controller detects a new application update, it allocates new memory as a framebuffer and simultaneously sends a specific command to the screen's main controller to read data from the slave device. At this time, the screen's image data is sent from the screen's SRAM (Static Random Access Memory) to the framebuffer via high-speed signal lines on the PCB board and the display controller, completing the image data readback. The next time the user interacts with the interface or the UI is updated, it can be updated based on the current image data in the framebuffer.
[0060] Step 208: The rendering module draws an updated image based on the display image saved in the new frame buffer according to the user interface operation, and caches the updated image in the new frame buffer.
[0061] That is, the rendering module draws based on the displayed image and the user interface operation, generates an updated image, and saves the updated image to a new frame buffer.
[0062] In some embodiments, when a user interface operation is used to partially update the interface, that is, when the user interface operation indicates a partial update of the interface based on the displayed image, the rendering module generates an overlay window image corresponding to the partial update and saves the overlay window image to a new frame buffer.
[0063] Step 209: The display output module performs image synthesis based on the display image and the updated image in the new frame buffer to generate a new display image, and transmits the new display image to the random access memory of the display device, so that the display device updates the interface based on the new display image.
[0064] In some embodiments, after the display output module generates a new display, it performs image processing and data conversion on the new display image, packages it into a data packet of a specific protocol, and then sends the data packet to the display device and stores it in the random access memory.
[0065] Furthermore, when user interface operations are used to partially update the interface, the display output module performs image synthesis based on the display image in the new frame buffer and the overlay window image to generate a new display image.
[0066] In other words, the display output module supports the composite and overlay of multiple layers. When one or more UI layers are overlaid based on the previous frame image data, the hardware layer of the display output module can receive the image data of different layers respectively, and the display output module will composite and overlay them before sending a complete frame image to the screen.
[0067] In practical applications, each overlay window image has a preset layer order (which can be specified by the application layer), and the display output module performs image synthesis based on the layer order and overlay position of each overlay window image.
[0068] In some embodiments, the display image and the overlay window images are stored in the same frame buffer, i.e., both are stored in a new frame buffer. Before the memory corresponding to the new frame buffer is released, a new display image is generated based on the display image and each overlay window image in the new frame buffer.
[0069] In other embodiments, the display image and the overlay window image are stored in different frame buffers. That is, new frame buffers are allocated for the display image and each overlay window image respectively. The frame buffer used to cache the display image is used as the first frame buffer, and the frame buffer used to cache the overlay window image is used as the second frame buffer.
[0070] Specifically, when a user interface operation is detected for the first time after the memory corresponding to the frame buffer is released, a first frame buffer is requested from memory, and the display image obtained from random access memory is saved to the first frame buffer. When the user interface operation is used to partially update the interface, a second frame buffer is requested from memory for the overlay window image corresponding to the partial update. The second frame buffer corresponds one-to-one with the overlay window image, and the overlay window image generated by the rendering module corresponding to the partial update is saved to its corresponding second frame buffer.
[0071] In these embodiments, the display output module generates a new display image by overlaying the display image in the first frame buffer and the overlay window images in each of the second buffers.
[0072] According to another aspect of the invention, Figure 3 This is a block diagram illustrating a display control device 300 according to an embodiment of the present invention. (Refer to...) Figure 3 The display control device 300 includes a rendering module 301, a display output module 302, and a display control module 303.
[0073] The rendering module 301 is configured to generate a drawing image and cache the drawing image in a frame buffer allocated from memory.
[0074] The display output module 302 is configured to generate a display image based on the drawn image in the frame buffer, and transmit the display image to the random access memory of the display device, so that the display device displays the interface based on the display image stored in the random access memory.
[0075] The display control module 303 is configured to release the memory corresponding to the frame buffer if it detects that the rendering module has not performed a drawing operation for updating the interface within a preset time. The display control module 303 is also configured to request a new frame buffer from the memory if a user interface operation for updating the interface is detected after releasing the memory corresponding to the frame buffer. Furthermore, the display control module 303 is configured to receive the display image stored in the random access memory from the display device and save the display image to the new frame buffer.
[0076] Furthermore, the rendering module 301 is further configured to draw an image based on the display image stored in the new frame buffer according to the user interface operation to generate an updated image, and to cache the updated image in the new frame buffer.
[0077] Furthermore, the display output module 302 is further configured to perform image synthesis based on the display image and the updated image in the new frame buffer to generate a new display image, and transmit the new display image to the random access memory of the display device, so that the display device updates the interface based on the new display image.
[0078] In some embodiments, when the user interface operation indicates a partial update of the interface based on the displayed image, the rendering module 301 is further configured to generate an overlay window image corresponding to the partial update and save the overlay window image to the new frame buffer.
[0079] The display output module 302 is further configured to perform image synthesis based on the display image in the new frame buffer and the overlay window image to generate a new display image, and transmit the new display image to the random access memory of the display device, so that the display device updates the interface based on the new display image.
[0080] In some embodiments, the rendering module 301 is further configured to save the displayed image to a first frame buffer newly allocated according to the user interface operation, and to save at least one of the overlay window images to at least one corresponding second frame buffer newly allocated according to the user interface operation, wherein the second frame buffer corresponds one-to-one with the overlay window image.
[0081] The display output module 302 is further configured to generate the new display image by performing image overlay based on the display image in the first frame buffer and the overlay window images in each of the second frame buffers.
[0082] In some embodiments, the rendering module 301 is further configured to send a predetermined instruction to the display device, causing the display device to retrieve the display image from the random access memory; and to receive the display image transmitted from the display device.
[0083] In some embodiments, the display output module 302 is further configured to perform image processing and data conversion on the displayed image, and package it into a data packet with a preset protocol; and send the data packet to the display device to store the data packet in the random access memory.
[0084] In some embodiments, the image processing includes scaling the displayed image according to the resolution of the display screen of the display device; the data conversion includes converting the displayed image according to a data format corresponding to the display screen of the display device.
[0085] According to another aspect of the invention, Figure 4 This is a schematic diagram illustrating an electronic device 400 according to an embodiment of the present invention. (Refer to...) Figure 4 The electronic device 400 includes a display device 401 and a display control device 402.
[0086] The display device 401 includes a display screen 4011 and a random access memory 4012.
[0087] The display control device 402 includes a memory 4021 and a processor 4022. The memory 4021 is configured to store an executable program. The processor 4022 is configured to execute the program to perform the various processes in the display control method embodiments described above, and to achieve the same technical effect, it will not be described again here to avoid repetition.
[0088] In summary, the display control method, apparatus, and electronic device provided by this invention, by dynamically releasing the framebuffer, can promptly free up the framebuffer's memory for use by other system modules, effectively alleviating the problem of insufficient memory size in the system. By dynamically allocating the framebuffer and reading back the currently displayed interface image from the screen's SRAM, the rendering module or CPU can be prevented from redrawing the complete image, avoiding waste of hardware resources. It supports the compositing and overlay of multiple layers, enabling partial updates of the interface and saving hardware resources. This invention, by dynamically reusing the screen's SRAM as a framebuffer, ensures both display quality and performance while dynamically freeing up more memory space for use by other system modules.
[0089] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent modifications made based on the content of the present invention specification and drawings, or direct or indirect applications in related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A display control method, characterized in that, include: The rendering module generates a drawing image and caches the drawing image in a frame buffer allocated from memory; The display output module generates a display image based on the drawing image in the frame buffer and transmits the display image to the random access memory of the display device, so that the display device displays the interface based on the display image stored in the random access memory; If it is detected that the rendering module has not performed a drawing operation to update the interface within a preset time, the memory corresponding to the frame buffer is released. If a user interface operation for updating the interface is detected after the memory corresponding to the frame buffer is released, a new frame buffer is requested from the memory. The display device receives the display image stored in the random access memory and saves the display image to the new frame buffer. as well as The rendering module draws an updated image based on the display image stored in the new frame buffer, according to the user interface operation.
2. The display control method according to claim 1, characterized in that, Also includes: The rendering module caches the generated updated image in the new frame buffer; The display output module generates a new display image by performing image synthesis based on the display image in the new frame buffer and the updated image; as well as The display output module transmits the new display image to the random access memory of the display device, so that the display device updates the interface based on the new display image.
3. The display control method according to claim 1, characterized in that, The rendering module performs image drawing based on the display image stored in the new frame buffer according to the user interface operation to generate an updated image, including: When the user interface operation indicates a partial update to the interface based on the displayed image, the rendering module generates an overlay window image corresponding to the partial update. The display control method further includes: The rendering module saves the overlay window image to the new frame buffer; The display output module generates a new display image by performing image synthesis based on the display image in the new frame buffer and the overlay window image; and The display output module transmits the new display image to the random access memory of the display device, so that the display device updates the interface based on the new display image.
4. The display control method according to claim 3, characterized in that, Saving the displayed image to the new frame buffer includes: saving the displayed image to a first frame buffer newly allocated based on the user interface operation. The process of the rendering module saving the overlay window image to the new frame buffer includes: saving at least one of the overlay window images to at least one corresponding second frame buffer newly requested according to the user interface operation, wherein the second frame buffer corresponds one-to-one with the overlay window image.
5. The display control method according to claim 4, characterized in that, The new display image is generated by the display output module through image synthesis based on the display image in the new frame buffer and the overlay window image, including: The new display image is generated by performing image overlay based on the display image in the first frame buffer and the overlay window images in each of the second frame buffers.
6. The display control method according to claim 1, characterized in that, Receiving the display image stored in the random access memory from the display device includes: Send a predetermined instruction to the display device, causing the display device to retrieve the display image from the random access memory; and Receive the display image transmitted from the display device.
7. The display control method according to claim 1, characterized in that, Transmitting the displayed image to the random access memory of the display device includes: The display output module performs image processing and data conversion on the displayed image and packages it into a data packet with a preset protocol; and The data packet is sent to the display device to store the data packet in the random access memory.
8. The display control method according to claim 7, characterized in that, The image processing includes scaling the displayed image according to the resolution of the display screen of the display device; The data conversion includes: converting the displayed image according to a data format corresponding to the display screen of the display device.
9. The display control method according to claim 1, characterized in that, Also includes: If the rendering module is detected to perform the drawing operation within a preset time, the timer is reset; as well as The display image in the frame buffer is retained, so that the rendering module performs the drawing operation based on the display image in the frame buffer.
10. A display control device, characterized in that, include: The rendering module is configured to generate rendering images and cache the rendering images in a frame buffer allocated from memory; The display output module is configured to generate a display image based on the drawn image in the frame buffer, and transmit the display image to the random access memory of the display device, so that the display device displays an interface based on the display image stored in the random access memory; as well as The display control module is configured as follows: If it is detected that the rendering module has not performed a drawing operation to update the interface within a preset time, the memory corresponding to the frame buffer is released. If a user interface operation for updating the interface is detected after the memory corresponding to the frame buffer is released, a new frame buffer is requested from the memory. as well as The display device receives the display image stored in the random access memory and saves the display image to the new frame buffer. The rendering module is further configured to draw an image based on the display image stored in the new frame buffer according to the user interface operation to generate an updated image, and to cache the updated image in the new frame buffer. The display output module is further configured to perform image synthesis based on the display image and the updated image in the new frame buffer to generate a new display image, and to transmit the new display image to the random access memory of the display device, so that the display device updates the interface based on the new display image.
11. An electronic device, characterized in that, include: A display device, including a display screen and random access memory; as well as The display control device includes: The memory is configured to store executable programs; as well as A processor is configured to execute the program to perform the method according to any one of claims 1 to 9.