Display control method and device, display controller, display chip and related products

By monitoring the display layer status and using a single target layer for display when multiple frames have not been updated, the problem of increased power consumption of the display controller is solved, achieving the effect of reducing power consumption without affecting the display effect.

CN120928926BActive Publication Date: 2026-02-06MOORE THREADS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511412152.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2026-02-06
Estimated Expiration
2045-09-29

AI Technical Summary

Technical Problem

In existing technologies, multiple display layers remain displayed even when the content is not updated, leading to increased power consumption of the display controller.

Method used

By monitoring the status of the display layers, when multiple frames are not updated, a single target display layer is used for display, and the overlay content is written back to memory, reducing the number of display layers to reduce power consumption while preserving the display effect.

Benefits of technology

Without affecting the display effect, the power consumption of the display controller was reduced and the energy efficiency of the display chip was improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120928926B_ABST
    Figure CN120928926B_ABST
Patent Text Reader

Abstract

The embodiment of the present disclosure discloses a display control method, device, display controller, display chip and related products, the method comprises: obtaining state monitoring results corresponding to a plurality of display layers; the state monitoring result is obtained by monitoring the update state of the display content corresponding to the plurality of display layers; in the case of the state monitoring result being a first state, a first display instruction is sent to the display controller; the first state represents that the display content corresponding to the plurality of display layers is not updated for a plurality of continuous frames, and the first display instruction is used to instruct the display controller to use a first target display layer in the plurality of display layers to display the current frame superimposed content as a single layer, wherein the current frame superimposed content is obtained by superimposing the current frame display content corresponding to each display layer. In the embodiment of the present disclosure, the display power consumption of the display card is reduced without affecting the display effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to, but is not limited to, the field of display control technology, and in particular to a display control method, apparatus, display controller, display chip, and related products. Background Technology

[0002] The display controller in a display chip can render the content to be displayed through display layers and then control the display device to display the corresponding content. In related technologies, using multiple display layers to display the corresponding content can reduce the utilization of the graphics processing unit (GPU), but it will increase the power consumption of the display controller. For example, when a video player is playing a video, multiple display layers are still displayed simultaneously when the video is paused, or when the video frame rate is significantly lower than the display refresh rate, multiple consecutive frames will be displayed repeatedly, thus increasing the power consumption of the display controller. Summary of the Invention

[0003] In view of the above, the present disclosure provides at least one display control method, device, display controller, display chip, and related products.

[0004] The technical solution of this disclosure embodiment is implemented as follows:

[0005] This disclosure provides a display control method, including:

[0006] Obtain the status monitoring results corresponding to multiple display layers; the status monitoring results are obtained by monitoring the update status of the display content corresponding to the multiple display layers.

[0007] When the status monitoring result is in the first state, a first display instruction is sent to the display controller; the first state indicates that the display content corresponding to the plurality of display layers has not been updated for multiple consecutive frames, and the first display instruction is used to instruct the display controller to use the first target display layer among the plurality of display layers to display the current frame overlay content as a single layer, and the current frame overlay content is obtained by overlaying the current frame display content corresponding to each of the display layers.

[0008] This disclosure provides a display control method applied to a display controller, comprising:

[0009] In response to receiving a first display instruction, the processor uses a first target display layer among multiple display layers to display the current frame overlay content as a single layer. The first display instruction is sent by the processor when it detects that the state monitoring result corresponding to the multiple display layers is a first state. The state monitoring result is obtained by monitoring the update state of the display content corresponding to the multiple display layers. The first state indicates that the display content corresponding to the multiple display layers has not been updated for multiple consecutive frames. The current frame overlay content is obtained by overlaying the current frame display content corresponding to each of the display layers.

[0010] This disclosure provides a display control device, including:

[0011] The acquisition module is used to acquire the status monitoring results corresponding to multiple display layers; the status monitoring results are obtained by monitoring the update status of the display content corresponding to the multiple display layers.

[0012] The first sending module is used to send a first display instruction to the display controller when the status monitoring result is a first state; the first state indicates that the display content corresponding to the plurality of display layers has not been updated for multiple consecutive frames, and the first display instruction is used to instruct the display controller to use a first target display layer among the plurality of display layers to display the current frame overlay content as a single layer, wherein the current frame overlay content is obtained by overlaying the current frame display content corresponding to each of the display layers.

[0013] This disclosure provides a display controller, which is used for:

[0014] In response to receiving a first display instruction, the processor uses a first target display layer among multiple display layers to display the current frame overlay content as a single layer. The first display instruction is sent by the processor when it detects that the state monitoring result corresponding to the multiple display layers is a first state. The state monitoring result is obtained by monitoring the update state of the display content corresponding to the multiple display layers. The first state indicates that the display content corresponding to the multiple display layers has not been updated for multiple consecutive frames. The current frame overlay content is obtained by overlaying the current frame display content corresponding to each of the display layers.

[0015] This disclosure provides a display chip, including the display controller, multiple display layers, and memory described above.

[0016] This disclosure provides a computer device including a processor and the aforementioned display chip, wherein the processor is used to execute the aforementioned display control method.

[0017] This disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements some or all of the steps in the above-described method.

[0018] This disclosure provides a computer program product, including a computer program or instructions, which, when executed by a processor, implement some or all of the steps in the above-described method.

[0019] In this embodiment of the present disclosure, when the processor detects that the state monitoring result is the first state, on the one hand, the processor sends a first display instruction to instruct the display controller to display the current frame overlay content using a single first target display layer, so as to reduce the number of display layers and reduce the display power consumption of the display controller. On the other hand, since the current frame overlay content is obtained by overlaying the current frame display content corresponding to each display layer, the current frame overlay content can retain the display effect of each display layer, so as not to affect the display effect.

[0020] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of this disclosure. Attached Figure Description

[0021] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the specification, serve to illustrate the technical solutions of this disclosure.

[0022] Figure 1 A schematic diagram of the implementation process of a display control method provided in this embodiment of the present disclosure. Figure 1 ;

[0023] Figure 2 A schematic diagram of the implementation process of a display control method provided in this embodiment of the present disclosure. Figure 2 ;

[0024] Figure 3 A schematic diagram of the composition structure of a display controller provided in an embodiment of this disclosure;

[0025] Figure 4 A schematic diagram of the composition structure of a display chip provided in this embodiment of the disclosure. Figure 1 ;

[0026] Figure 5 A schematic diagram of the composition structure of a display chip provided in this embodiment of the disclosure. Figure 2 ;

[0027] Figure 6 A schematic diagram of the display data flow for a power consumption optimization method for a static display scene with multiple display layers of a graphics card, provided in an embodiment of this disclosure;

[0028] Figure 7 A schematic diagram illustrating the specific process of a power consumption optimization method for a multi-display-layer static display scene of a graphics card, provided in an embodiment of this disclosure;

[0029] Figure 8 A schematic diagram illustrating the operation of a power consumption optimization method for a multi-display-layer static display scene of a graphics card, provided in an embodiment of this disclosure;

[0030] Figure 9 This is a schematic diagram of the composition structure of a display control device provided in an embodiment of the present disclosure. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of this disclosure clearer, the technical solutions of this disclosure are further described in detail below with reference to the accompanying drawings and embodiments. The described embodiments should not be regarded as limitations on this disclosure. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0032] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0033] The terms “first / second / third” are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that “first / second / third” may be interchanged in a specific order or sequence where permitted, so that the embodiments of this disclosure described herein can be implemented in an order other than that illustrated or described herein.

[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure pertains. The terminology used herein is for descriptive purposes only and is not intended to limit the scope of this disclosure.

[0035] In related technologies, when the display content corresponding to multiple display layers has not been updated for several consecutive frames, displaying the corresponding display content using multiple display layers results in unnecessary power consumption waste of the display controller, thereby increasing the display power consumption of the graphics card.

[0036] In view of this, this disclosure provides a display chip, which includes a display controller, multiple display layers, a graphics processing unit (GPU), and a memory, wherein:

[0037] The display controller includes a hardware write-back unit and a display control unit. The hardware write-back unit is used to receive write-back instructions sent by the processor and perform write-back operations; the display control unit is used to receive display instructions sent by the processor and control display operations.

[0038] The GPU is used in non-static scenes (such as video playback) to receive "rendering instructions" sent by the Central Processing Unit (CPU) and perform dynamic content rendering; the GPU does not work in static scenes (such as when the video is paused).

[0039] The memory (video memory) is used to passively store data written by the CPU or display controller (such as layer content and overlaid content), and output the data when it is read.

[0040] The processor is used to execute drivers stored on the hard disk to perform operations such as monitoring, decision-making, and issuing commands. For example, the processor monitors the display status of multiple display layers and sends write-back commands and display commands to the display controller to control the display controller to display the corresponding display content.

[0041] In some implementations, the display chip can be a discrete graphics card or an integrated graphics card; wherein, a discrete graphics card is a board independent of the motherboard, which can be used for graphics processing, has its own video memory, and has better performance than an integrated graphics card; an integrated graphics card integrates the GPU and the processor together, shares memory with the processor, and has the characteristics of low power consumption and low cost.

[0042] This disclosure provides a display control method applied to a processor. Figure 1 A schematic diagram of the implementation process of a display control method provided in this embodiment of the present disclosure. Figure 1 ,like Figure 1 As shown, the display control method includes the following steps S101 and S102:

[0043] Step S101: Obtain the status monitoring results corresponding to multiple display layers; the status monitoring results are obtained by monitoring the update status of the display content corresponding to the multiple display layers;

[0044] Here, a display layer is a hardware unit used to achieve complex display effects using image layers or data layers. Each display layer is used to display the display content corresponding to an image layer or data layer.

[0045] The status monitoring results are the results of the processor periodically monitoring the update status of the display content corresponding to multiple display layers.

[0046] In some implementations, the display content corresponding to multiple display layers can be video display content or part of the game display content.

[0047] In some implementations, the state monitoring results may include a first state and a second state, wherein: the first state indicates that the display content corresponding to multiple display layers has not been updated for multiple consecutive frames, such as video playback being paused, video stuttering for a long time, or game playback being paused; the second state indicates that the display content corresponding to a second target display layer among the multiple display layers has been updated, such as video playing normally or game playback being normal.

[0048] In some implementations, the processor can monitor whether new display content is submitted to the corresponding display layer for multiple consecutive frames. If no new display content is submitted to the corresponding display layer for multiple consecutive frames, it can determine that the display content corresponding to the display layer has not been updated for multiple consecutive frames; if new display content is submitted to the corresponding display layer, it can determine that the display content corresponding to the display layer has been updated.

[0049] Step S102: When the status monitoring result is in the first state, send a first display instruction to the display controller; the first state indicates that the display content corresponding to the plurality of display layers has not been updated for multiple consecutive frames, and the first display instruction is used to instruct the display controller to use the first target display layer among the plurality of display layers to display the current frame overlay content as a single layer, and the current frame overlay content is obtained by overlaying the current frame display content corresponding to each of the display layers.

[0050] Here, the display controller is a core component of the graphics card (i.e., the display chip), responsible for interacting with the operating system and the memory. The display controller can control each display layer to display corresponding display effects based on the corresponding display content.

[0051] The first display instruction is sent by the processor when it detects that the status monitoring result has entered the first state. It is used to instruct the display controller to display the overlay content of the current frame using the first target display layer.

[0052] The overlay content of the current frame is the image data generated by compositing the current frame display content of multiple display layers according to a set order and rules. Therefore, the display effect of the overlay content of the current frame is the same as the display effect of the current frame display content of multiple display layers.

[0053] In some implementations, when the processor detects that the status monitoring result is in the first state, multiple display layers are in a static display state. At this time, a first display instruction is sent to the display controller. Upon receiving the first display instruction, the display controller determines the first target display layer from the multiple display layers and uses the first target display layer to display the overlay content of the current frame as a single layer. By displaying the overlay content of the current frame through a single first target display layer, the number of display layers is reduced while retaining the original display effect of multiple display layers, thereby reducing the power consumption of the display chip.

[0054] In some implementations, if the display content of multiple display layers fails to update for several consecutive frames due to reasons such as program errors in the target application corresponding to multiple display layers, unstable network connection, or slow speed, the status monitoring result can be determined as the first state.

[0055] In some implementations, the display content corresponding to multiple display layers is paused, so that the display content corresponding to multiple display layers does not update for multiple consecutive frames, thus determining the state monitoring result as the first state.

[0056] In some implementations, the fact that the display content corresponding to multiple display layers has not been updated for multiple consecutive frames may include: the display content corresponding to multiple display layers has not changed for multiple consecutive frames before the current moment; and / or, the superposition effect of the display content corresponding to multiple display layers at the current moment has not changed from the superposition content of the current frame.

[0057] In some implementations, the display controller can control the display mode of multiple display layers. For example, parameters such as the transparency, color depth, and resolution of the display layers can be adjusted as needed to achieve various visual effects. Alternatively, the display controller can also support transformation operations such as scrolling, scaling, and rotation of the display layers, thereby further optimizing and processing the displayed content of the display layers to improve the display quality and effect of the image.

[0058] In some implementations, the first target display layer can be a display layer among multiple display layers that matches the resolution of the target display. Matching means that the resolution of the first target display layer is exactly the same as the resolution of the target display, or that the first target display layer has the greatest compatibility with the resolution of the target display.

[0059] In some implementations, a display layer can be randomly selected from multiple display layers as the first target display layer, or a display layer can be fixedly selected from multiple display layers as the first target display layer. For example, the first display layer among multiple display layers can be used as the first target display layer.

[0060] In some implementations, the multiple display layers can be all the display layers in the display chip, or only a portion of the display layers. In some implementations, a portion of the display layers can be selected to optimize the power consumption of the display chip in the first state, based on actual needs.

[0061] In some implementations, the processor drives the display controller through a driver to control each display layer to display corresponding display effects based on the corresponding display content.

[0062] In this embodiment of the present disclosure, when the processor detects that the state monitoring result is the first state, on the one hand, the processor sends a first display instruction to instruct the display controller to display the current frame overlay content using a single first target display layer, so as to reduce the number of display layers and reduce the display power consumption of the display controller. On the other hand, since the current frame overlay content is obtained by overlaying the current frame display content corresponding to each display layer, the current frame overlay content can retain the display effect of each display layer, so as not to affect the display effect.

[0063] In some embodiments, step S102 may include the following steps S111 and S112:

[0064] Step S111: If the status monitoring result is in the first state, send a write-back command to the display controller; the write-back command is used to instruct the display controller to write back the current frame overlay content to the memory;

[0065] Here, the write-back instruction is a control signal sent by the processor to the display controller when the status monitoring result is in the first state. It is used to instruct the display controller to perform the operation of writing the overlay content of the current frame back to the memory.

[0066] In some implementations, the display controller responds to a write-back command by writing back the current frame overlay content to memory via a hardware write-back unit within the display controller.

[0067] In some implementations, the display controller may also write back the overlay content of the current frame to memory via a software program in response to a write-back command.

[0068] In some implementations, the memory may include video memory and / or RAM.

[0069] In some implementations, instead of recompositing the display content, the display controller writes back the current frame overlay content, so that the current frame overlay content can retain the original display effect of each display layer. For example, the display effect of each layer (color post-processing, HDR, etc.) can be retained.

[0070] Step S112: In response to the completion of the current frame overlay content write-back, send the first display instruction to the display controller.

[0071] In some implementations, the first display instruction may include parameters such as the identifier corresponding to the first target display layer, the display format, and the number of display layers.

[0072] In some implementations, after the processor determines that the display controller has written the current frame overlay content back to the memory, it determines that the display data to be displayed corresponding to the first target display layer has been prepared. At this time, the processor can send a first display instruction to the display controller so that the display controller responds to the first display instruction and displays the current frame overlay content using the first target display layer, thereby completing the switch from multi-layer display to single-layer display.

[0073] In some implementations, after the display controller writes the overlay content of the current frame back to the memory, and before the processor sends the first display instruction to the display controller, it again determines whether the display content corresponding to the multiple display layers has been updated for multiple consecutive frames; if the display content corresponding to the multiple display layers has not been updated for multiple consecutive frames, the processor sends the first display instruction to the display controller; if the display content corresponding to the multiple display layers has been updated, the optimization process is abandoned and the multi-layer display continues.

[0074] In this embodiment of the present disclosure, when the status monitoring result is in the first state, the processor sends a write-back instruction to the display controller. The display controller can write the current frame overlay content into the memory in advance. After determining that the current frame overlay content has been written into the memory, the processor sends a first display instruction to the display controller, so that the display controller responds to the first display instruction and accurately displays the current frame overlay content using a single first target display, without losing display content or display abnormalities.

[0075] In some embodiments, the write-back instruction is used to instruct the hardware write-back unit in the display controller to write back the current frame overlay content to the memory.

[0076] In some implementations, the display controller may include a hardware write-back unit for writing back the overlay content of the current frame to memory in response to a write-back command.

[0077] In some implementations, the hardware write-back unit is a hardware module in the display controller, which has efficient memory access capabilities and supports the rapid overlay of display content corresponding to multiple display layers. Therefore, the hardware write-back unit writes the current frame overlay content after overlaying the current frame display content corresponding to multiple display layers back to the memory for subsequent display use.

[0078] In this embodiment, a hardware write-back unit is used to perform the overlay of the display content of each display layer and the write-back operation of the overlay content of the current frame, which improves the write-back efficiency and reduces the involvement of the processor or graphics processor, further optimizing the overall power consumption performance of the display chip.

[0079] In some embodiments, the above method further includes step S121:

[0080] Step S121: During the process of the display controller writing back the current frame overlay content to the memory, in response to the detection that the state monitoring result switches from the first state to the second state, a termination write-back command is sent to the display controller; the second state indicates that the display content corresponding to the second target display layer among the plurality of display layers has been updated; the termination write-back command is used to instruct the display controller to stop writing back the current frame overlay content to the memory.

[0081] Here, the terminate write-back instruction is sent by the processor to instruct the display controller to stop the ongoing write-back operation.

[0082] In some implementations, the second target display layer can be one or more of a plurality of display layers, wherein the second target display layer is the display layer whose displayed content has been updated among the plurality of display layers.

[0083] In some implementations, during the process of the display controller writing back the current frame overlay content to memory, when the processor detects that the status monitoring result has switched from the first state to the second state, it indicates that new display content has been submitted. In this case, if the write-back operation continues and the first target display layer is used for single-layer display, it will result in inconsistent display content. Therefore, the processor sends a terminate write-back command to the display controller to stop the write-back operation and stop switching to single-layer display, and continue to use multiple display layers to display the corresponding display content in order to display the latest display content.

[0084] In some implementations, the termination write-back instruction can be sent by the processor after sending the write-back instruction to the display controller and before sending the first display instruction, upon detecting a switch in the status monitoring result from the first state to the second state.

[0085] In this embodiment of the disclosure, during the process of the display controller writing back the current frame overlay content to the memory, when the processor detects that the status monitoring result has switched from the first state to the second state, it indicates that new display content has been submitted. In order to improve the accuracy and completeness of the display content, the processor sends a termination write-back instruction to the display controller, so that the display controller stops writing back the current frame overlay content to the memory and continues to use multiple display layers to display the corresponding display content, so as to display the latest submitted display content, thereby making the display content real-time and consistent.

[0086] In some embodiments, the first display instruction is used to instruct the display controller to use a first target display layer among the plurality of display layers to display the current frame overlay content as a single layer, and to turn off other display layers except for the first target display layer; the resolution of the first target display layer matches the resolution of the target display.

[0087] In some implementations, when the processor detects that the status monitoring result is in a first state, it sends a first display command to the display controller. The display controller, in response to receiving the first display command, displays the current frame overlay content using a first target display layer. Since the first state refers to multiple display layers whose display content has not been updated for several consecutive frames, the current frame overlay content is obtained by overlaying the current frame display content of multiple display layers. If the multiple display layers continue to maintain their display content without updating, the current frame overlay content can represent the display content corresponding to the multiple display layers. Therefore, using a single first target display layer to display the current frame overlay content does not affect the display effect, and by turning off other display layers besides the first target display layer, the power consumption of the display controller is reduced. In this way, the power consumption of the display controller can be reduced without affecting the display effect.

[0088] In some implementations, matching the resolution of the first target display layer with the resolution of the target display can mean that the resolution of the first target display layer is the same as the resolution of the target display, so that the overlay content of the current frame can be displayed clearly on the target display without scaling distortion.

[0089] In some implementations, matching the resolution of the first target display layer with the resolution of the target display can also mean that the resolution of the first target display layer is the display layer whose resolution is closest to that of the target display.

[0090] In some implementations, if the resolution of the first target display layer does not match the resolution of the target display, it may cause the target display to display blurry, stretched, or distorted images when displaying the overlay content of the current frame.

[0091] In this embodiment of the disclosure, by selecting a first target display layer that matches the resolution of the target display for display, the display quality is improved. At the same time, by turning off other display layers other than the first target display layer, the display power consumption of the display controller is further reduced, thereby achieving efficient and high-quality display control.

[0092] In some embodiments, the above method further includes step S131:

[0093] Step S131: If the status monitoring result is the second state, send a second display instruction to the display controller; the second state indicates that the display content corresponding to the second target display layer among the plurality of display layers has been updated, and the second display instruction is used to instruct the display controller to display the corresponding updated current frame display content using the second target display layer, and to display the corresponding current frame display content using other display layers among the plurality of display layers other than the second target display layer.

[0094] Here, the second display instruction is sent by the processor to the display controller when it detects that the status monitoring result is the second state.

[0095] The second target display layer is the display layer whose corresponding display content has been updated among multiple display layers.

[0096] In some implementations, the second state refers to the fact that the display content corresponding to at least one second target display layer among the multiple display layers has been updated. The fact that the display content corresponding to at least one second target display layer has been updated refers to the substantial display content being updated (e.g., a video starting to play), excluding minor updates (e.g., UI tweaks). In other words, in the second state, the multiple second target display layers are in a dynamic display state.

[0097] In some implementations, when the processor detects a second state in the status monitoring result, it indicates that at least one of the multiple display layers has an updated display content corresponding to a second target display layer. In this case, if a single first target display layer continues to display the current frame overlay content, the latest submitted display content cannot be displayed, and the display effect cannot be satisfied. Therefore, the processor sends a second display instruction to the display controller, enabling the display controller to use the second target display layer to display the corresponding updated current frame display content, while other display layers besides the second target display layer display the corresponding current frame display content. This improves the accuracy of the displayed content by using multiple display layers to display the latest corresponding content.

[0098] In some implementations, if the processor does not receive new display content (or display requests) for multiple consecutive frames within the current display cycle, it determines that the display content corresponding to multiple display layers has not been updated. When new display content (or display requests) for a second target display layer is received within the current display cycle, the monitored state result is a second state, determining that the display content corresponding to the second target display layer among the multiple display layers has been updated. The target application submits display requests to the processor through the operating system. The display requests may include new display content corresponding to multiple second target display layers. Based on the submitted display requests, the processor determines whether the display content of each display layer corresponding to the target application has been updated.

[0099] In some implementations, the second target display layer can be one or more of a plurality of display layers.

[0100] In some implementations, when the display content corresponding to the second target display layer among multiple display layers is updated, a second display instruction is sent to the display controller to switch from displaying the content to be displayed on a single display layer to displaying the content to be displayed on multiple display layers.

[0101] In some implementations, if the display content corresponding to the second target display layer among multiple display layers is updated, the display content corresponding to each second target display layer in the memory is updated.

[0102] For example, if the display content corresponding to the second target display layer among multiple display layers is updated, while the display content corresponding to other display layers (such as the third target display layer) is not updated, the display controller uses the second target display layer to display the corresponding updated display content; and uses the third target display layer to display the corresponding unupdated display content, so that the display controller uses multiple display layers (including the second target display layer and the third target display layer) to display the corresponding latest display content.

[0103] In this embodiment of the present disclosure, when the state monitoring result is in the second state, the processor sends a second display instruction to the display controller, so that the display controller uses the second target display layer to display the corresponding updated current frame display content, and uses other display layers among the multiple display layers other than the second target display layer to display the corresponding current frame display content, thereby enabling the display controller to always display the latest display content, and improving the display effect by restoring the multi-layer display.

[0104] In some embodiments, the above method further includes the following step S141:

[0105] Step S141: If the status monitoring result is the second state, update the updated current frame display content corresponding to the second target display layer to the memory.

[0106] In some implementations, the display content corresponding to the second target display layer in the memory is updated so that the latest display content is displayed on the screen.

[0107] In some implementations, in response to receiving a resource allocation request from the operating system, the processor sends a resource allocation instruction to the display controller. The resource allocation instruction instructs the display controller to allocate corresponding storage space from memory for the display content corresponding to multiple display layers. The resource allocation request includes the size of the storage space required for the display content corresponding to the multiple display layers, and appropriate storage space is allocated from memory based on the size.

[0108] It is understandable that when the processor detects that the display content corresponding to the second target display layer among multiple display layers has been updated, the GPU in the graphics card receives the drawing instructions and data from the processor, performs image processing, obtains the updated current frame display content corresponding to the second target display layer, and updates the updated current frame display content to the storage location of the display content corresponding to the second target display layer in the memory.

[0109] For example, the updated current frame display content can completely replace the original display content corresponding to the second target display layer. Alternatively, in some cases, the display content corresponding to the second target display layer in the memory can be updated while keeping the display content in other areas unchanged. Or, the memory can be divided into a front buffer and a back buffer. The front buffer stores the current frame display content, and the back buffer is used to prepare the display content to be displayed in the next frame. When the back buffer is updated with the display content, the front buffer and the back buffer are quickly switched to reduce the tearing effect caused when updating the display content.

[0110] In this embodiment of the disclosure, when the display content corresponding to the second target display layer among multiple display layers is updated, the updated current frame display content corresponding to the second target display layer is updated in the memory. Thus, the display content stored in the memory is the latest display content, thereby ensuring that the content displayed on the monitor is the latest display content.

[0111] In some embodiments, the above method further includes the following step S151:

[0112] Step S151: In response to the launch of the target application, allocate a display layer for the target application;

[0113] Here, the target application refers to the application that the user is currently running, such as a video player, game client, or other graphics-intensive applications. The launch of the target application triggers the allocation process of display resources. At this point, multiple display layers need to be allocated to the target application to display its content.

[0114] In some implementations, after the target application starts, the processor can dynamically allocate multiple display layers according to the display requirements of the target application. These multiple display layers can be used to present different content modules. In one example, one display layer is used to play video content, while another display layer is used to overlay subtitles or watermark information, etc.

[0115] In some implementations, the display layer position, transparency, scaling ratio, and post-processing effects (such as color enhancement) can be configured independently for each display layer, enabling complex visual effects and efficient image compositing without increasing the computational load on the graphics processor.

[0116] In this embodiment of the disclosure, multiple display layers are allocated to the target application when it starts up. The display layers can be easily turned on or off, making the editing process clearer and more efficient, and providing support for subsequent multi-layer display and power consumption optimization.

[0117] This disclosure provides a display control method applied to a display controller. Figure 2 A schematic diagram of the implementation process of a display control method provided in this embodiment of the present disclosure. Figure 2 ,like Figure 2 As shown, the method includes the following step S201:

[0118] Step S201: In response to receiving the first display instruction, the processor uses the first target display layer among the multiple display layers to display the current frame overlay content as a single layer; the first display instruction is sent by the processor when it detects that the state monitoring result corresponding to the multiple display layers is a first state, the state monitoring result is obtained by monitoring the update state of the display content corresponding to the multiple display layers, the first state indicates that the display content corresponding to the multiple display layers has not been updated for multiple consecutive frames, and the current frame overlay content is obtained by overlaying the current frame display content corresponding to each of the display layers.

[0119] In some implementations, in response to receiving a first display instruction, the display controller selects a first target display layer from multiple display layers and uses the first target display layer to display the overlay content of the current frame, so as to achieve the display effect corresponding to the display content of the current frame of multiple display layers even when the display content corresponding to multiple display layers has not been updated for multiple consecutive frames.

[0120] In this embodiment of the present disclosure, when the processor detects that the state monitoring result is the first state, on the one hand, the processor sends a first display instruction to instruct the display controller to display the current frame overlay content using a single first target display layer, so as to reduce the number of display layers and reduce the display power consumption of the display controller. On the other hand, since the current frame overlay content is obtained by overlaying the current frame display content corresponding to each display layer, the current frame overlay content can retain the display effect of each display layer, so as not to affect the display effect.

[0121] In some embodiments, the above method may further include the following steps S211 and S212:

[0122] Step S211: In response to receiving a write-back instruction, the current frame overlay content is written back to the memory; the write-back instruction is sent by the processor when the state monitoring result is the first state;

[0123] In some implementations, in response to receiving a write-back command, the display controller overlays the current frame display content corresponding to multiple display layers to obtain the current frame overlay content, and writes the current frame overlay content back to the memory, so that the display controller can directly retrieve the current frame overlay content from the memory for display when displaying the current frame overlay content in the future.

[0124] In some implementations, the display controller may include a hardware write-back unit for writing back the overlay content of the current frame to memory in response to a write-back command.

[0125] In some implementations, after writing back the overlay content of the current frame to the memory, the display controller sends a response to the processor indicating that the write-back of the overlay content of the current frame is complete, so that the processor responds to the completion of the write-back of the overlay content of the current frame by sending a first display instruction to the display controller.

[0126] Step S212: In response to receiving the first display instruction, the current frame overlay content is displayed using the first target display layer among the plurality of display layers, and all display layers except the first target display layer are turned off; the first display instruction is sent by the processor after the current frame overlay content is written back.

[0127] Understandably, the display controller receives the first display instruction sent by the processor after determining the write-back value memory of the current frame overlay content. Based on the attribute parameters of each display layer, it determines the first target display layer from each display layer, uses the first target display layer to display the current frame overlay content, and turns off other display layers except the first target display layer, so as to reduce the power consumption of the display controller by reducing the number of display layers that are turned on.

[0128] In this embodiment of the present disclosure, upon receiving a write-back instruction, the display controller writes back the current frame overlay content obtained by superimposing the current frame display content corresponding to each display layer to the memory; and upon receiving a first display instruction, it displays the current frame overlay content using the first target display layer. Thus, before receiving the first display instruction, the display controller writes back the current frame overlay content to the memory, so that when the display controller subsequently displays the current frame overlay content, it can directly retrieve the current frame overlay content from the memory for display. This allows the display controller to achieve the display effect corresponding to the current frame display content of multiple display layers by displaying the current frame overlay content on a single layer.

[0129] In some embodiments, before displaying the current frame overlay content using a first target display layer among the plurality of display layers, the display control method further includes the following step S221:

[0130] Step S221: Select the first target display layer from the display layers based on the attribute parameters of each display layer.

[0131] Here, attribute parameters are a set of parameters used to describe the display characteristics of the display layer. The attribute parameters may include, but are not limited to, at least one of the following: the resolution of the display layer, post-processing effects (such as high dynamic range (HDR), color enhancement, etc.), transparency, refresh rate, etc.

[0132] In some implementations, the first target display layer that meets the requirements can be quickly located from a large number of display layers by filtering through attribute parameters.

[0133] In some implementations, when the attribute parameter includes refresh rate, the display layer with the lowest refresh rate can be selected from multiple display layers as the first target display layer to reduce the display power consumption of the graphics card.

[0134] In some implementations, when the attribute parameters include resolution, a display layer that matches the resolution of the target display can be selected from multiple display layers as the first target display layer to optimize the display effect.

[0135] In this embodiment of the disclosure, a first target display layer is selected from multiple display layers based on the attribute parameters of multiple display layers, so as to adjust and optimize the display effect according to requirements.

[0136] In some embodiments, the attribute parameter includes resolution; step S221 above may include the following step S231:

[0137] Step S231: Based on the resolution of each of the display layers, select the first target display layer from the display layers; the resolution of the first target display layer matches the resolution of the target display.

[0138] Here, resolution refers to the number of pixels contained in an image or video per unit length.

[0139] The target display is a display device used to display the corresponding content.

[0140] In some implementations, selecting a first target display layer that matches the resolution of the target display from among the multiple display layers, based on the resolution of the target display and the resolution of the multiple display layers, can optimize the clarity of the displayed content on the target display.

[0141] In some implementations, a first target display layer is selected from a plurality of display layers. The first target display layer may be a display layer whose resolution is the same as that of the target display.

[0142] In some implementations, a first target display layer is selected from a plurality of display layers. The first target display layer may be the display layer whose resolution is closest to that of the target display among the plurality of display layers.

[0143] The above step S201 may include the following step S232:

[0144] Step S232: Using the first target display layer among the multiple display layers, display the overlay content of the current frame as a single layer.

[0145] In some implementations, displaying the current frame overlay content on the target display using a first target display layer that matches the resolution of the target display can more effectively utilize the display capabilities of the target display and avoid resource waste.

[0146] In this embodiment of the disclosure, based on the resolution of multiple display layers, a first target display layer that matches the resolution of the target display is selected from the multiple display layers; and the current frame overlay content is displayed on the target display using the first target display layer, which can make the clarity of the current frame overlay content displayed on the target display reach the optimal state, and make more effective use of the display capabilities of the target display, avoiding resource waste.

[0147] In some embodiments, the above method further includes the following step S241:

[0148] Step S241: During the process of writing back the current frame overlay content to the memory, in response to receiving a termination write-back instruction, stop writing back the current frame overlay content to the memory; the termination write-back instruction is sent when the processor detects that the state monitoring result has switched from the first state to the second state during the process of writing back the current frame overlay content to the memory; the second state indicates that the display content corresponding to the second target display layer among the plurality of display layers has been updated.

[0149] In some implementations, during the process of the display controller writing back the current frame overlay content to memory, if the processor detects a first state, meaning that the display content corresponding to multiple display layers has not been updated for multiple consecutive frames, and the processor detects a second state, it sends a termination write-back command to the display controller. Upon receiving the termination write-back command from the processor, the display controller indicates that the state monitoring result has switched from the first state to the second state, meaning that at least one of the multiple display layers has an updated display content corresponding to a second target display layer, the current frame overlay content is no longer the latest display content, and the display content corresponding to the second target display layer among the multiple display layers may be continuously updated. Therefore, the display controller stops writing the current frame overlay content back to memory.

[0150] In this embodiment of the disclosure, during the process of the display controller writing back the current frame overlay content to the memory, when the processor detects that the status monitoring result has switched from the first state to the second state, it indicates that new display content has been submitted. In order to improve the accuracy and completeness of the display content, the processor sends a termination write-back instruction to the display controller, so that the display controller stops writing back the current frame overlay content to the memory and continues to use multiple display layers to display the corresponding display content, so as to display the latest submitted display content, thereby making the display content real-time and consistent.

[0151] In some embodiments, the display control method further includes the following steps S251 and S252:

[0152] Step S251: In response to receiving a second display instruction, turn on each of the previously closed display layers; the second display instruction is sent by the processor when the state monitoring result is in a second state; the second state indicates that the display content corresponding to the second target display layer among the plurality of display layers has been updated;

[0153] In some implementations, the second display instruction is sent by the processor when it detects that the state monitoring result has switched from the first state to the second state, so that the display controller responds to the second display instruction and switches from displaying the current frame overlay content using a single layer using the first target display layer to displaying the corresponding display content using multiple display layers.

[0154] In some implementations, the display controller, in response to receiving a second display instruction, turns on other display layers that were previously turned off, except for the first target display layer, so as to display the content using the multiple turned-on display layers.

[0155] Step S252: Using the second target display layer, display the corresponding updated current frame display content; using the other display layers among the plurality of display layers besides the second target display layer, display the corresponding current frame display content.

[0156] Here, the content displayed in the second target display layer is the updated content, while the content displayed in other display layers besides the second target display layer is the unupdated content.

[0157] In some implementations, the updated current frame display content is displayed using a second target display layer whose display content has been updated; and the corresponding current frame display content is displayed using other display layers whose display content has not been updated, in order to update the display content in a timely manner and thus display the latest display content on the target display.

[0158] In some implementations, the current frame display content corresponding to the display layers other than the second target display layer is the unupdated current frame display content corresponding to the display layers other than the second target display layer before the display content corresponding to each display layer is superimposed to obtain the current frame superimposed content.

[0159] In this embodiment of the present disclosure, when the display controller receives a second display instruction, it turns on multiple display layers that have been turned off, uses the second target display layer whose display content has been updated to display the corresponding updated current frame display content, and uses the other display layers among the multiple display layers whose display content has not been updated (excluding the second target display layer) to display the corresponding current frame display content. This allows the display controller to always display the latest display content and improves the display effect by restoring the multi-layer display.

[0160] In some embodiments, step S252 may include the following steps S261 and S262:

[0161] Step S261: Read the updated current frame display content corresponding to the second target display layer from the memory, and use the second target display layer to display the corresponding updated current frame display content;

[0162] Here, the updated current frame display content corresponding to the second target display layer is the content that the processor updates to the memory when it detects that the state monitoring result is the second state.

[0163] In some implementations, the display controller responds to a second display instruction by reading the updated current frame display content corresponding to the second target display layer pre-written by the processor from the memory, and displays the corresponding updated current frame display content using the second target display layer, thereby updating the display content corresponding to multiple display layers in a timely manner.

[0164] Step S262: Read the current frame display content corresponding to the other display layers (excluding the second target display layer) among the plurality of display layers from the memory, and display the corresponding current frame display content using the other display layers (excluding the second target display layer) among the plurality of display layers.

[0165] Here, the current frame display content corresponding to the display layers other than the second target display layer is the unupdated current frame display content corresponding to the display layers other than the second target display layer before the display content corresponding to each display layer is superimposed to obtain the current frame superimposed content.

[0166] In some implementations, the display controller, in response to a second display instruction, reads the unupdated current frame display content corresponding to other display layers besides the second target display layer from the memory, and displays the corresponding unupdated current frame display content using the other layers besides the second target display layer.

[0167] In this embodiment of the disclosure, the updated current frame display content corresponding to the second target display layer is read from the memory, and the updated current frame display content is displayed using the second target display layer, so as to display the latest display content on the target display.

[0168] This disclosure provides a display controller, which is configured to: in response to receiving a first display instruction, display the current frame overlay content as a single layer using a first target display layer among a plurality of display layers; the first display instruction is sent by a processor when it detects that the state monitoring result corresponding to the plurality of display layers is a first state, the state monitoring result being obtained by monitoring the update state of the display content corresponding to the plurality of display layers, the first state indicating that the display content corresponding to the plurality of display layers has not been updated for multiple consecutive frames, and the current frame overlay content is obtained by overlaying the current frame display content corresponding to each of the display layers.

[0169] In this embodiment of the present disclosure, when the processor detects that the state monitoring result is the first state, on the one hand, the processor sends a first display instruction to instruct the display controller to display the current frame overlay content using a single first target display layer, so as to reduce the number of display layers and reduce the display power consumption of the display controller. On the other hand, since the current frame overlay content is obtained by overlaying the current frame display content corresponding to each display layer, the current frame overlay content can retain the display effect of each display layer, so as not to affect the display effect.

[0170] In some embodiments, such as Figure 3 As shown, the display controller 300 includes a hardware write-back unit 301 and a display control unit 302, wherein:

[0171] The hardware write-back unit 301 is used to write back the current frame overlay content to the memory in response to receiving a write-back instruction; the write-back instruction is sent by the processor when the status monitoring result is the first state;

[0172] The display control unit 302 is configured to, in response to receiving a first display instruction, display the current frame overlay content using a first target display layer among the plurality of display layers, and close other display layers except for the first target display layer; the first display instruction is sent by the processor after the current frame overlay content has been written back.

[0173] This disclosure provides a display chip, such as... Figure 4 As shown, the display chip 400 includes the aforementioned display controller 300, multiple display layers 401, and a memory 402, wherein:

[0174] In some implementations, the display chip 400 can be a discrete graphics card, such as... Figure 4 As shown, it includes a display controller 300, multiple display layers 401, and a memory 402.

[0175] In some implementations, the display chip can also be an integrated graphics card, such as... Figure 5 As shown, the display chip 400 includes a display controller 300, multiple display layers 401, a memory 402, and a processor 403.

[0176] The following describes the application of the embodiments of this disclosure in real-world scenarios.

[0177] Currently, graphics cards primarily use a single display layer to display the content. The GPU performs the compositing of the display layer and submits it to the display driver so that the display controller can use a single display layer to display the content. This increases GPU utilization. When using multiple display layers, the GPU directly submits the display content corresponding to multiple display layers to the display driver. The display driver controls the display controller to use multiple display layers to display the corresponding content, which can reduce GPU utilization. For example, in video playback scenarios, video content can be displayed directly without GPU compositing after decoding, thus reducing GPU utilization. However, with the support of multiple display layers, more display layers are working in the display controller, increasing its power consumption. In static display scenarios (i.e., the display content corresponding to multiple display layers has not been updated for multiple consecutive frames), the displayed content does not change. For example, when a video player is playing, even when the video is paused, multiple layers are still displayed simultaneously, or when the video frame rate is significantly lower than the display refresh rate, multiple consecutive frames will be in a static display state (displaying repeated frames). This causes unnecessary power consumption waste in the display controller.

[0178] To address the above issues, this disclosure proposes a power consumption optimization method for static display scenes with multiple display layers on a graphics card. This method allows switching to a single display layer without affecting display integration and display effects (color enhancement, high dynamic range (HDR)). This achieves a balance between reducing GPU utilization and optimizing static display power consumption.

[0179] The graphics card's display controller and driver support the display of multiple display layers. When running an application that supports multi-layer rendering, the content corresponding to each display layer will be displayed, and the display data stream will be as follows: Figure 6 As shown, the multiple display layers include a first layer 502, a second layer 503, and a third layer 504. The display controller 300 reads the display content corresponding to the first layer 502, the second layer 503, and the third layer 504 from the video memory 501, and after superimposing the display content corresponding to the first layer 502, the second layer 503, and the third layer 504, displays it on the monitor 505.

[0180] The processor monitors whether there have been multiple consecutive frames without new display frames submitted by executing the driver. If it detects that the display content corresponding to multiple display layers has not been updated for multiple consecutive frames, it initiates the power optimization process for static display state. That is, the superimposed display content is written back to the video memory or system memory through the hardware write-back unit in the display controller. After the write-back is completed, it is determined again that the display content corresponding to multiple display layers has not been updated. If so, one target display layer (corresponding to the first target display layer in the aforementioned embodiment) is kept in operation to display the superimposed display content (corresponding to the current frame superimposed content in the aforementioned embodiment), and other display layers except the target display layer are turned off to achieve the power optimization purpose of the display controller. If new display content is submitted during the write-back process, the power optimization process is abandoned, and the processor continues to monitor whether it has entered the static display state by executing the driver.

[0181] When in a static display state, the processor monitors whether new display content is submitted by executing the driver. When new display content is submitted, the processor instructs the display controller to restore the previously closed display layers by executing the driver. The updated display content is displayed on the display layers with updated display content, and the non-updated display content is displayed on the display layers with non-updated display content, thereby restoring the multi-display-layer display state.

[0182] In this embodiment of the disclosure, the specific process of the power consumption optimization method for static display scenes with multiple display layers of a graphics card is as follows: Figure 7 As shown, the process may include the following steps S701 to S708:

[0183] Step S701: Application starts;

[0184] Step S702: Should multiple layers be displayed? If yes, proceed to step S703; if no, proceed to step S702.

[0185] The processor determines that multi-display layer display is supported by executing the driver and is currently performing multi-display layer display.

[0186] Step S703: Is it in a static display state? If yes, proceed to step S704; otherwise, proceed to step S703.

[0187] If the processor detects that the display content corresponding to multiple display layers has not changed for multiple consecutive frames by executing the driver, it determines that the display is in a static display state.

[0188] Step S704: Initiate write-back;

[0189] In a static display state, the hardware write-back unit overlays the display content corresponding to multiple display layers and writes the overlaid display content back to the video memory.

[0190] Step S705: Is it still in a static display state? If yes, proceed to step S706; if no, proceed to step S703.

[0191] After the hardware write-back unit completes the write-back of the superimposed display content, it is determined whether the display is still in a static state. If yes, proceed to step S706 to continue optimization; if not, proceed to step S703 to abandon optimization.

[0192] Step S706: Display the content after writing back, and turn off other display layers;

[0193] While still in a static display state, the processor sends instructions to the display controller by executing the driver, so that the display controller can display the overlaid content using the target display layer among multiple display layers.

[0194] Step S707: Exit static display state? If yes, proceed to step S708; if no, proceed to step S707.

[0195] The processor continues to monitor multiple display layers for updates to the displayed content by executing the driver. If there are updates, it determines to exit the static display state and proceeds to step S708; if there are no updates, it determines not to exit the static display state and proceeds to step S707 to continue monitoring.

[0196] Step S708: Restore the display of multiple display layers and update the displayed content.

[0197] When exiting static display mode, the previously closed display layers are turned on, the display content is updated, and the display content corresponding to the multi-display layers is restored.

[0198] In this embodiment of the present disclosure, a schematic diagram of the power consumption optimization method for a multi-display-layer static display scene of a graphics card is shown below. Figure 8As shown, assuming multiple display layers include a first layer 502, a second layer 503, and a third layer 504; the display controller 300 reads the display data corresponding to the first layer 502, the second layer 503, and the third layer 504 from the video memory 501, and uses the first layer 502, the second layer 503, and the third layer 504 to display the corresponding display content on the monitor 505; the processor, by executing the driver, detects that the display content corresponding to the first layer 502, the second layer 503, and the third layer 504 has not been updated for several consecutive frames, and overlays the display content corresponding to the first layer 502, the second layer 503, and the third layer 504 and writes it into the video memory 501; the display controller closes the display layers except for the overlaid display layer 506, reads the display content corresponding to the overlaid display layer 506 from the video memory 501, and uses the overlaid display layer 506 to display the overlaid display content on the monitor 505. Here, the overlay layer 506 can be one of the first layer 502, the second layer 503, and the third layer 504.

[0199] Taking video playback as an example:

[0200] The graphics card hardware and drivers support multi-layer display and report relevant attributes to the operating system, namely the number of display layers supported. When the video player is opened, it displays the video content and UI control interface through multiple display layers. When the playback is paused, it enters a static display state. When the processor detects that there have been multiple consecutive frames without updated display content by executing the driver, it starts the hardware write-back unit to write the superimposed display content back to the video memory and switches the display content on the monitor to the superimposed display layer to continue single-layer display.

[0201] In this embodiment of the disclosure, when the display content corresponding to multiple display layers has not been updated for multiple consecutive frames, the display content corresponding to multiple display layers is superimposed to obtain the superimposed display content; the target display layer among the multiple display layers is used to display the superimposed display content, thereby reducing the number of display layers in the static display state, so as to reduce the power consumption of the display controller without affecting the display effect of each display layer.

[0202] Based on the foregoing embodiments, this disclosure provides a display control device, which includes various modules and units included in each module, and can be implemented by a processor in a computer device; of course, it can also be implemented by specific logic circuits; in the implementation process, the processor can be a CPU, a microprocessor unit (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.

[0203] Figure 9 This is a schematic diagram of the composition structure of a display control device provided in an embodiment of the present disclosure, as shown below. Figure 9 As shown, the display control device 900 includes: an acquisition module 901 and a first transmission module 902, wherein:

[0204] The acquisition module 901 is used to acquire the status monitoring results corresponding to multiple display layers; the status monitoring results are obtained by monitoring the update status of the display content corresponding to the multiple display layers.

[0205] The first sending module 902 is used to send a first display instruction to the display controller when the status monitoring result is a first state; the first state indicates that the display content corresponding to the plurality of display layers has not been updated for multiple consecutive frames, and the first display instruction is used to instruct the display controller to use a first target display layer among the plurality of display layers to display the current frame overlay content as a single layer, wherein the current frame overlay content is obtained by overlaying the current frame display content corresponding to each of the display layers.

[0206] In some embodiments, the above-mentioned sending module includes: a first sending unit, configured to send a write-back instruction to the display controller when the status monitoring result is a first status; the write-back instruction is configured to instruct the display controller to write back the current frame overlay content to the memory; and a second sending unit, configured to send the first display instruction to the display controller in response to the completion of the write-back of the current frame overlay content.

[0207] In some embodiments, the write-back instruction is used to instruct the hardware write-back unit in the display controller to write back the current frame overlay content to the memory.

[0208] In some embodiments, the above-described apparatus further includes a second sending module, configured to send a termination write-back instruction to the display controller in response to detecting that the state monitoring result has switched from the first state to the second state during the process of the display controller writing back the current frame overlay content to the memory; the second state indicates that the display content corresponding to the second target display layer among the plurality of display layers has been updated; the termination write-back instruction is used to instruct the display controller to stop writing back the current frame overlay content to the memory.

[0209] In some embodiments, the first display instruction is used to instruct the display controller to use a first target display layer among the plurality of display layers to display the current frame overlay content as a single layer, and to turn off other display layers except for the first target display layer; the resolution of the first target display layer matches the resolution of the target display.

[0210] In some embodiments, the above-described apparatus further includes a third sending module, configured to send a second display instruction to the display controller when the status monitoring result is a second state; the second state indicates that the display content corresponding to the second target display layer among the plurality of display layers has been updated, and the second display instruction is configured to instruct the display controller to display the corresponding updated current frame display content using the second target display layer, and to display the corresponding current frame display content using the other display layers among the plurality of display layers besides the second target display layer.

[0211] In some embodiments, the above-described apparatus further includes an update module, configured to update the updated current frame display content corresponding to the second target display layer to the memory when the status monitoring result is a second state.

[0212] In some embodiments, the above apparatus further includes an allocation module for allocating multiple display layers to the target application in response to the launch of the target application.

[0213] The descriptions of the apparatus embodiments above are similar to those of the method embodiments above, and have similar beneficial effects. In some embodiments, the functions or modules included in the apparatus provided in this disclosure can be used to perform the methods described in the method embodiments above. For technical details not disclosed in the apparatus embodiments of this disclosure, please refer to the descriptions of the method embodiments of this disclosure for understanding.

[0214] It should be noted that, in the embodiments of this disclosure, if the above methods are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this disclosure, or the parts that contribute to related technologies, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this disclosure are not limited to any specific hardware, software, or firmware, or any combination of hardware, software, and firmware.

[0215] This disclosure provides a computer device including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements some or all of the steps in the above-described method.

[0216] This disclosure provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements some or all of the steps in the above-described method. The computer-readable storage medium may be transient or non-transient.

[0217] This disclosure provides a computer program including computer-readable code, wherein when the computer-readable code is executed in a computer device, a processor in the computer device performs some or all of the steps in the above-described method.

[0218] This disclosure provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements some or all of the steps in the above-described method. This computer program product can be implemented specifically through hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium; in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.

[0219] It should be noted that the descriptions of the various embodiments above tend to emphasize the differences between them, while their similarities or commonalities can be referenced interchangeably. The descriptions of the above embodiments of the device, storage medium, computer program, and computer program product are similar to the descriptions of the above method embodiments and have similar beneficial effects. For technical details not disclosed in the embodiments of the device, storage medium, computer program, and computer program product of this disclosure, please refer to the descriptions of the method embodiments of this disclosure for understanding.

[0220] It should be understood that the phrase "an embodiment" or "one embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this disclosure. Therefore, "in one embodiment" or "one embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this disclosure, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this disclosure. The sequence numbers of the above embodiments of this disclosure are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0221] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0222] In the several embodiments provided in this disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components may be combined, or integrated into another system, or some features may be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0223] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this disclosure may all be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the integrated unit may be implemented in hardware or in a combination of hardware and software functional units.

[0224] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0225] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, or the part that contributes to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, magnetic disks, or optical disks.

[0226] The above description is merely an embodiment of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A display control method characterized by comprising: The method comprises: obtaining state monitoring results corresponding to a plurality of display layers; the state monitoring results are obtained by monitoring update states of display contents corresponding to the plurality of display layers; in a case where the state monitoring result is a first state, sending a first display instruction to a display controller; the first state indicates that the display contents corresponding to the plurality of display layers are not updated for a plurality of continuous frames, and the first display instruction is used to instruct the display controller to display a current frame superimposed content in a single layer by using a first target display layer in the plurality of display layers and to close other display layers except the first target display layer; a resolution of the first target display layer matches a resolution of a target display, and the current frame superimposed content is obtained by superimposing current frame display contents corresponding to the display layers.

2. The method of claim 1, wherein, The method further comprises: in a case where the state monitoring result is the first state, sending a write-back instruction to the display controller; the write-back instruction is used to instruct the display controller to write back the current frame superimposed content to a storage; in response to completion of the write-back of the current frame superimposed content, sending the first display instruction to the display controller.

3. The method of claim 2, wherein, The write-back instruction is used to instruct a hardware write-back unit in the display controller to write back the current frame superimposed content to the storage.

4. The method of claim 2, wherein, The method further comprises: in a process in which the display controller writes back the current frame superimposed content to the storage, in response to monitoring that the state monitoring result switches from the first state to a second state, sending a write-back termination instruction to the display controller; the second state indicates that display contents corresponding to a second target display layer in the plurality of display layers are updated; the write-back termination instruction is used to instruct the display controller to stop writing back the current frame superimposed content to the storage.

5. The method as claimed in claim 1, wherein, The method further comprises: in a case where the state monitoring result is the second state, sending a second display instruction to the display controller; the second state indicates that the display contents corresponding to the second target display layer in the plurality of display layers are updated, and the second display instruction is used to instruct the display controller to display corresponding updated current frame display contents by using the second target display layer and to display corresponding current frame display contents by using other display layers in the plurality of display layers except the second target display layer.

6. The method of claim 5, wherein, The method further comprises: in a case where the state monitoring result is the second state, updating the updated current frame display contents corresponding to the second target display layer to the storage.

7. The method according to any one of claims 1 to 6, characterized in that, The method further comprises: in response to starting of a target application, allocating a plurality of display layers to the target application.

8. A display control method characterized by comprising: The method is applied to a display controller, and the method comprises: In response to receiving the first display instruction, a single layer display is performed on the current frame superimposed content by using a first target display layer in the plurality of display layers, and display layers other than the first target display layer are closed; the resolution of the first target display layer matches the resolution of the target display; the first display instruction is sent by the processor in a case where the state monitoring result corresponding to the plurality of display layers is a first state; the state monitoring result is obtained by monitoring the update state of the display content corresponding to the plurality of display layers; the first state indicates that the display content corresponding to the plurality of display layers is not updated for a plurality of continuous frames; and the current frame superimposed content is obtained by superimposing the current frame display content corresponding to each display layer.

9. The method of claim 8, wherein, The method further comprises: In response to receiving a write-back instruction, the current frame superimposed content is written back to the memory; the write-back instruction is sent by the processor in a case where the state monitoring result is the first state; In response to receiving a first display instruction, the current frame superimposed content is displayed by using a first target display layer in the plurality of display layers, and each display layer other than the first target display layer is closed; the first display instruction is sent by the processor after the writing back of the current frame superimposed content is completed.

10. The method of claim 8, wherein, Before displaying the current frame superimposed content by using a first target display layer in the plurality of display layers, the method further comprises: The first target display layer is selected from each display layer based on attribute parameters of each display layer.

11. The method of claim 10, wherein, The attribute parameters include resolution; and the first target display layer is selected from each display layer based on the attribute parameters of each display layer, which comprises: The first target display layer is selected from each display layer based on the resolution of each display layer; The single layer display of the current frame superimposed content by using a first target display layer in the plurality of display layers comprises: The current frame superimposed content is displayed on the target display by using the first target display layer in the plurality of display layers.

12. The method of claim 9, wherein, The method further comprises: In the process of writing back the current frame superimposed content to the memory, in response to receiving a write-back termination instruction, the writing back of the current frame superimposed content to the memory is stopped; the write-back termination instruction is sent by the processor in a case where the state monitoring result is switched from the first state to a second state in the process of writing back the current frame superimposed content to the memory; and the second state indicates that the display content corresponding to a second target display layer in the plurality of display layers is updated.

13. The method according to any one of claims 8 to 12, characterized in that, The method further comprises: In response to receiving a second display instruction, each closed display layer is opened; the second display instruction is sent by the processor in a case where the state monitoring result is a second state; and the second state indicates that the display content corresponding to a second target display layer in the plurality of display layers is updated. The second target display layer is used to display corresponding updated current frame display content, and other display layers in the plurality of display layers except the second target display layer are used to display corresponding current frame display content.

14. The method of claim 13, wherein, The second target display layer is used to display corresponding updated current frame display content, and other display layers in the plurality of display layers except the second target display layer are used to display corresponding current frame display content. The second target display layer is used to display corresponding updated current frame display content, and other display layers in the plurality of display layers except the second target display layer are used to display corresponding current frame display content. The second target display layer is used to display corresponding updated current frame display content, and other display layers in the plurality of display layers except the second target display layer are used to display corresponding current frame display content.

15. A display control device, characterized by comprising: The device comprises: The acquisition module is configured to acquire state monitoring results corresponding to a plurality of display layers; the state monitoring results are obtained by monitoring update states of display content corresponding to the plurality of display layers; The first sending module is configured to send a first display instruction to a display controller in a case where the state monitoring results are first states; the first states represent that the display content corresponding to the plurality of display layers is not updated for a plurality of continuous frames; the first display instruction is used to instruct the display controller to use a first target display layer in the plurality of display layers to perform single-layer display on current frame superimposed content and to close other display layers except the first target display layer; a resolution of the first target display layer matches a resolution of a target display; and the current frame superimposed content is obtained by superimposing current frame display content corresponding to each of the display layers.

16. A display controller, comprising: The display controller is configured to, in response to receiving the first display instruction, use a first target display layer in the plurality of display layers to perform single-layer display on current frame superimposed content and to close other display layers except the first target display layer; a resolution of the first target display layer matches a resolution of a target display; the first display instruction is sent by the processor in a case where the state monitoring results corresponding to the plurality of display layers are first states; the state monitoring results are obtained by monitoring update states of display content corresponding to the plurality of display layers; the first states represent that the display content corresponding to the plurality of display layers is not updated for a plurality of continuous frames; and the current frame superimposed content is obtained by superimposing current frame display content corresponding to each of the display layers.

17. The display controller of claim 16, wherein, The display controller comprises a display control unit and a hardware write-back unit. The hardware write-back unit is configured to, in response to receiving a write-back instruction, write back the current frame superimposed content to a memory; the write-back instruction is sent by the processor in a case where the state monitoring results are the first states. The display control unit is further configured to, in response to receiving a first display instruction, display the current frame superimposition content by using a first target display layer in the plurality of display layers and close other display layers except the first target display layer; and the first display instruction is sent by the processor after the current frame superimposition content is written back.

18. A display chip, characterized by A display controller as claimed in any one of claims 16 to 17, a plurality of display layers, and a memory.

19. A computer device, comprising: A display chip as claimed in claim 18, and a processor configured to perform the display control method as claimed in any one of claims 1 to 7.

20. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by a processor, implements the steps of the method as claimed in any one of claims 1 to 7.

21. A computer program product comprising computer programs or instructions, characterized in that, The computer program or instructions, when executed by a processor, implement the steps of the method as claimed in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Picture rendering method and device, equipment, storage medium and program product

    CN117205549A

  • Split-screen display method and device of display screen and storage medium

    CN119917201A