Display control method and electronic device

By only updating the content of the area associated with the target layer to be updated in the displayed image, the problem of excessive hardware resource consumption during layer updating in the prior art is solved, and more efficient image updating is achieved.

CN118227069BActive Publication Date: 2024-09-17SMARTER SILICON (SHANGHAI) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410643046.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-09-17
Estimated Expiration
2044-05-23

AI Technical Summary

Technical Problem

In the prior art, when the layers of the display image are updated, the entire display image needs to be reconstructed, which consumes a lot of hardware resources, especially when only part of the layer data is updated.

Method used

By obtaining the layer update data of the target layer to be updated, only the content in the image area associated with the target layer is updated, reducing the amount of layer data and image data that needs to be processed, and reducing the consumption of hardware resources. Specific steps include obtaining the layer update data of the target layer, updating the image content in the target area in the cache, and outputting the updated display image when the screen is refreshed.

Benefits of technology

It reduces the consumption of hardware resources and improves the efficiency of image update. Especially when updating some layers, it reduces the amount of data and resource consumption of hardware processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118227069B
    Figure CN118227069B
Patent Text Reader

Abstract

The present application provides a display control method and electronic device, which are applied to the field of display technology. The method includes: obtaining layer update data of at least one target layer to be updated in a currently displayed display image, where the at least one target layer belongs to at least part of the layers constituting the display image; based on the layer update data of the at least one target layer, updating the image content in a target area in the cached display image to obtain an updated display image, where the target area is an image area in the display image associated with the at least one target layer; and outputting the updated display image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to a display control method and an electronic device. Background Art

[0002] The display screen output by the display screen of the electronic device is composed of one or more layers. If the layers constituting the display screen are updated, the content of the display screen will also change accordingly.

[0003] Currently, when there is a layer update on a display screen displayed on a display screen, the entire display screen needs to be rebuilt and output. However, reconstruction of the entire display screen consumes more hardware resources such as a display processing module. Summary of the invention

[0004] In one aspect, the present application provides a display control method, comprising:

[0005] Obtaining layer update data of at least one target layer to be updated in a currently displayed display image, wherein the at least one target layer belongs to at least part of the layers constituting the display image;

[0006] Based on the layer update data of the at least one target layer, updating the image content in the target area of ​​the cached display image to obtain an updated display image, wherein the target area is an image area in the display image associated with the at least one target layer;

[0007] The updated display image is outputted.

[0008] In a possible implementation manner, updating the image content in the target area of ​​the cached display image based on the layer update data of the at least one target layer includes:

[0009] Based on the layer update data of the at least one target layer, the display main control chip updates the cached image content in the target area of ​​the display image.

[0010] In yet another possible implementation, the method further includes: obtaining layer coordinate information of the target layer in the display image;

[0011] The display main control chip updates the image content in the target area of ​​the display image cached based on the layer update data of the at least one target layer, including:

[0012] Based on the layer coordinate information of the target layer and the layer update data of the at least one target layer, the display main control chip updates the cached image content in the target area of ​​the display image.

[0013] In another possible implementation, the method further includes: constructing target image data of at least one target area to be updated in the display image through a display processing module based on the layer update data of the at least one target layer and the layer coordinate information of each target layer, and determining the area coordinate information of the target area;

[0014] The display main control chip updates the image content in the target area of ​​the display image cached based on the layer coordinate information of the target layer and the layer update data of the at least one target layer, including:

[0015] Based on the area coordinate information of the target area, the display main control chip replaces the image content in the target area in the cached display image with the target image data corresponding to the target area.

[0016] In yet another possible implementation, the method further includes:

[0017] Obtaining a layer set of the display image, wherein the layer set includes layer data of each layer constituting the display image;

[0018] Based on the layer data of each layer in the layer set, the display image is constructed by a display processing module, and the display image is output to a display main control chip;

[0019] The display main control chip outputs the display image and caches the display image.

[0020] In another possible implementation, the method further includes: after obtaining the updated display image, the display main control chip caches the updated display image;

[0021] The outputting the updated display image comprises:

[0022] When it is determined based on the screen refresh rate that the screen refresh time has arrived, the display main control chip outputs the updated display image currently cached to refresh the display content of the display screen.

[0023] In yet another possible implementation, the method further includes: storing, through the operating system, layer update data of at least one target layer to be updated in the display image to the storage module;

[0024] The obtaining of layer update data of at least one target layer to be updated in the currently displayed display image comprises:

[0025] The display processing module obtains layer configuration information sent by the operating system, where the layer configuration information is used to indicate at least one target layer to be updated in the display image;

[0026] The display processing module starts at least one pre-processing sub-module corresponding to the at least one target layer, and obtains the layer update data of the at least one target layer from the storage module through the at least one pre-processing sub-module.

[0027] In yet another possible implementation, the method further includes:

[0028] After the pre-processing submodule processes the layer update data of the target layer, the processed layer update data of the target layer is transmitted to the superposition submodule of the display processing module, and the pre-processing submodule enters a low power consumption state;

[0029] After the superposition submodule performs superposition processing on the layer update data of at least one target layer input by the at least one pre-processing submodule, the layer update data of at least one target layer after the superposition processing is transmitted to the post-processing submodule in the display processing module, and the superposition submodule enters a low power consumption state;

[0030] The post-processing submodule performs a post-processing operation on the layer update data of at least one target layer input by the overlay submodule, and after transmitting the layer update data of at least one target layer that has undergone the post-processing operation to the display main control chip, the post-processing submodule enters a low power consumption state.

[0031] In yet another possible implementation, the method further includes: determining, by an operating system, at least one target layer to be updated in the display image and layer update data of the target layer based on the layer update frequency of each layer in the display image;

[0032] The obtaining of layer update data of at least one target layer to be updated in the currently displayed display image comprises:

[0033] The layer update data of the at least one target layer determined by the operating system is obtained.

[0034] In yet another aspect, the present application further provides an electronic device, comprising: a system on chip and a display module;

[0035] The system on chip includes at least a display processing module;

[0036] The display module at least includes a display main control chip;

[0037] The display processing module is used to obtain layer update data of at least one target layer to be updated in the currently displayed display image, wherein the at least one target layer belongs to at least part of the layers constituting the display image;

[0038] The display main control chip is used to update the image content in the target area of ​​the cached display image based on the layer update data of the at least one target layer to obtain an updated display image, wherein the target area is the image area in the display image associated with the at least one target layer; and output the updated display image. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0040] Figure 1 A flow chart of a display control method provided by the present application;

[0041] Figure 2 A schematic diagram of another flow chart of the display control method provided by the present application;

[0042] Figure 3 An example diagram of each layer constituting a display image and a target area to be updated in the display image provided by the present application;

[0043] Figure 4 Another example diagram of the layers constituting the display image and the target area to be updated in the display image provided by the present application;

[0044] Figure 5 This is an example diagram of various hardware modules involved in the electronic device in this application;

[0045] Figure 6 A schematic diagram of another flow chart of the display control method provided by the present application;

[0046] Figure 7 An exemplary diagram showing multiple layers constituting a display image and position areas of the multiple layers in the display image in an embodiment of the present application;

[0047] Figure 8 This is an example diagram of the data that the operating system, display processing module and display screen need to process at different time points in this application;

[0048] Fig. 9 An example diagram of a hardware module that needs to be activated for outputting a display image by an electronic device in this application and a display image generated based on the hardware module;

[0049] Fig.10 This is an example diagram of the working status of each hardware module in the electronic device when the screen refresh time is reached for the first time in this application;

[0050] Fig.11 An example diagram of the working status of each hardware module in the electronic device when the layer update time of a layer is reached in this application;

[0051] Fig.12 This is an example diagram of the working status of each hardware module in the electronic device when the display main control chip has the image P2 cached and reaches the third screen refresh time;

[0052] Fig.13 This is an example diagram of the working status of each hardware module in the electronic device when the layer update time of two layers is reached in this application;

[0053] Fig.14 This is an example diagram of the working status of each hardware module in the electronic device when the display main control chip has the image P11 cached and the screen refresh time is reached;

[0054] Fig.15 A schematic diagram of the structure of an electronic device provided in this application;

[0055] Fig.16 This is another schematic diagram of the composition structure of the electronic device provided in this application. DETAILED DESCRIPTION

[0056] The inventor of the present application has found through research that each frame of the display image output by the display screen is composed of at least one layer. If the layer data of the display image is updated, the existing solution will use the latest layer data of all layers constituting the display image to reconstruct the entire display image.

[0057] However, in many cases, only the layer data of some layers in the display image may be updated. In this case, if the layer data of all layers constituting the display image are still processed and the entire display image is reconstructed, it will inevitably consume more hardware resources.

[0058] Based on this, the inventor of the present application further studied and found that: when there is a layer update in the displayed image, if only the layer data of the updated layer in the displayed image is used to update the image area corresponding to the corresponding layer in the displayed image, it will inevitably reduce the amount of layer data and image data that need to be processed by the hardware module in the electronic device, thereby reducing hardware resource consumption.

[0059] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation mode of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. It is known to those skilled in the art that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0060] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0061] like Figure 1 , which shows a flow chart of the display control method provided in an embodiment of the present application. The method of this embodiment is applied to an electronic device, which may be an electronic device with a display screen such as a mobile phone, a tablet computer or a tablet computer, without limitation.

[0062] The method of this embodiment may include:

[0063] S101: Obtain layer update data of at least one target layer to be updated in a currently displayed display image.

[0064] The at least one target layer belongs to at least a portion of the layers constituting the display image.

[0065] For the sake of distinction, the layer in the displayed image that has been updated is called the target layer. The layer update data of the target layer is the data required to update the image content corresponding to the target layer.

[0066] Unlike the current practice of obtaining layer data of all layers constituting the display image each time the display image is updated, in the present application, only the layer update data of each target layer that needs to be updated in the display image needs to be obtained.

[0067] S102: Based on the layer update data of the at least one target layer, update the image content in the target area of ​​the cached display image to obtain an updated display image.

[0068] The target area is an image area in the displayed image that is associated with the at least one target layer.

[0069] It can be understood that, when at least one layer constituting the display image is determined, the image area of ​​each layer in the display image is also determined. If a layer in the display image needs to be updated, it means that the image content in the image area corresponding to the layer in the display image needs to be updated. Based on this, the target area in the display image actually includes the image area where the at least one target layer in the display image is located.

[0070] It is understandable that, since the image areas of the target layers in the displayed image may be adjacent or overlapping, or may not be adjacent at all, the target area associated with at least one target layer may be one target area or multiple target areas. Moreover, one target area may be an image area corresponding to a single target layer or an image area formed by overlapping and superimposing image areas corresponding to multiple target layers.

[0071] For example, if there is only one target layer, the target area is the image area covered by the target layer in the displayed image.

[0072] For another example, if there are multiple target layers, and there is no overlap between the image areas corresponding to the multiple target layers in the displayed image, then the image area of ​​each target layer in the displayed image is a target area, and therefore, multiple target layers correspond to multiple target areas.

[0073] For another example, if there are multiple target layers, and there is overlap between the image areas corresponding to at least some of the multiple target layers in the target image, then for at least two target layers with overlapping image areas, the image areas corresponding to these at least two target layers will have partial overlap, and on this basis, the image areas corresponding to these at least two target layers are superimposed and combined into one target area.

[0074] It can be understood that since only the target area related to the at least one target layer in the displayed image has image content that needs to be updated, the image content of the target area in the displayed image can be updated by utilizing the layer update data of the at least one target layer, thereby reducing the amount of data processing required to update the displayed image; moreover, each time the displayed image is updated, only the layer data of each target layer that has been updated needs to be processed, which can also reduce the hardware resources required and reduce hardware resource consumption.

[0075] In a possible implementation, updating the image content in the target area of ​​the cached display image may be performed by a display main control chip, which is also called a timing controller (TCON) chip or TCON board, and is a chip in a display module in a display screen.

[0076] In another possible implementation, updating the image content in the target area of ​​the cached display image may also be performed by the display processing module. The display processing module is a hardware module in the system on chip (System On Chip, SOC). It can be understood that if the electronic device is an integrated electronic device such as a mobile phone or a tablet computer, then the system on chip where the display processing module is located and the display module where the display main control chip is located can be located in the same housing component of the electronic device. If the host and the display screen of the electronic device are deployed in two interconnected components, for example, the electronic device includes a separate host and a display, or the electronic device is a laptop computer, etc., then the system on chip can be located in the first component where the host is located, and the display module can be located in the second component where the display screen is located.

[0077] The display image processed by the display processing module will be output to the display main control chip in the display module, and the display image will be output through the display main control chip.

[0078] Correspondingly, after the display processing module obtains the updated display image, it will also transmit the updated display image to the display main control chip so that the updated display image can be outputted by the display main control chip later. In this case, each time the display processing module generates a display image or updates a display image, the display processing module will cache the currently obtained display image so that the cached display image can be updated later based on the most recently cached display image using the layer update data of each target layer to be updated.

[0079] S103: output the updated display image.

[0080] For example, the updated display image is output to a display unit (also referred to as a display panel in this application) of a display screen to refresh the display image displayed on the display screen.

[0081] It is understandable that the display module of the display screen of the electronic device may include a display main control chip and a display driver chip (Display Driver Integrated Circuit, DDIC). The display image output by the display screen needs to be processed by the display main control chip first, and then output to the display unit through the DDIC chip. Based on this, the present application can output the updated display image through the display main control chip. For example, the display main control chip outputs the updated display image to the DDIC. After the DDIC processes the updated display image, it outputs it to the display unit of the display screen.

[0082] It is understandable that the layer update frequency of each layer in the display image may be different from the screen refresh rate of the display screen, and the layer update frequency of each layer is generally not greater than the screen refresh rate of the display screen. Therefore, it is very likely that the image content of the display image is not updated in the next or several screen refresh cycles after the updated display image is generated. Based on this, in order to avoid the situation where the layers of the display image are not updated, the display image is generated using the latest layer data of each layer constituting the display image every time the screen refresh moment is reached, thereby resulting in hardware resource consumption, in this application, after the display main control chip obtains the updated display image each time, the display main control chip can also cache the updated display image, so that the display main control chip can cache the most recently obtained updated display image.

[0083] Correspondingly, when it is determined that the screen refresh time has been reached based on the screen refresh rate, the display main control chip will also output the updated display image currently cached to refresh the display content of the display unit.

[0084] From the above introduction, it can be seen that in the embodiment of the present application, if there are layers in the displayed image that need to be updated, it is only necessary to obtain the layer update data of each target layer to be updated in the displayed image, and based on the layer update data of each target layer, update the image content in the image area associated with the target layer in the cached display image, thereby reducing the amount of layer data that needs to be transmitted and processed by hardware in the electronic device, thereby reducing the hardware resources required to update the displayed image and reducing hardware resource consumption.

[0085] It is understandable that in the present application, the layer update frequencies of different layers in the displayed image may also be different, and therefore, the layers that need to be updated in the displayed image at different times may also be different. Based on this, the present application can determine at least one target layer to be updated in the displayed image and the layer update data of each target layer through the operating system based on the layer update frequency of each layer in the displayed image.

[0086] It is understandable that the image data of the display image that the electronic device needs to output will be output to the display processing module of the electronic device through the operating system, and then output to the display screen through the display processing module. Based on this, the operating system can confirm the various layers that constitute the display image and the layer update frequency of each layer, and can obtain the layer update data of each target layer that needs to be updated. Accordingly, in the present application, obtaining the layer update data of at least one target layer to be updated in the currently displayed display image can specifically be: obtaining the layer update data of the at least one target layer determined by the operating system.

[0087] In particular, the layer data of the layer displaying the image needs to be processed by the display processing module before it can be output to the display main control chip. Therefore, in the present application, the layer update data of the at least one target layer determined by the operating system can be obtained through the display processing module.

[0088] In a possible implementation, the layer update data of at least one target layer to be updated in the display image can be stored in a storage module through the operating system. For example, the storage module can be a memory chip that can be directly addressed by the processor, for example, the storage module can be a double data rate synchronous dynamic random access memory (Double Data Rate Synchronous Dynamic Random Access Memory, DDR SDRAM), referred to as a DDR storage module. Of course, the storage module can also have other possibilities, which are not limited to this.

[0089] In addition, the operating system will also send the layer configuration data to the display processing module. Therefore, the display processing module can obtain the layer configuration information sent by the operating system. The layer configuration information is used to indicate at least one target layer to be updated in the display image. For example, the layer configuration information may include information such as the layer identifier of the target layer.

[0090] On this basis, the display processing module can start at least one pre-processing sub-module corresponding to the at least one target layer, and obtain the layer update data of the at least one target layer from the storage module through the at least one pre-processing sub-module. Different pre-processing sub-modules correspond to different target layers, so each pre-processing sub-module obtains the layer update data of a target layer that the pre-processing sub-module is responsible for processing from the storage module.

[0091] It is understandable that, since the operating system only stores the layer update data of each target layer that needs to be updated in the storage module each time, the display processing module only needs to start the corresponding number of pre-processing sub-modules to obtain and process the target layers according to the number of target layers to be updated. Based on this, if only some layers in the display image are updated, the display processing module only needs to start the pre-processing sub-modules corresponding to the layers that have been updated. Since the number of target layers that have been updated is less than the total number of all layers that constitute the display image, the number of pre-processing sub-modules that the display processing module needs to start during the display image update process will also be reduced, which can naturally reduce the hardware resource consumption of the display processing module.

[0092] It is understandable that there are multiple possible implementations for determining the image area associated with at least one target layer in the displayed image. In one possible implementation, in order to more conveniently and accurately determine the target area associated with at least one target layer in the displayed image, the present application may also obtain layer coordinate information of each target layer in the displayed image, and the layer coordinate information may indicate the coordinate range of the target layer in the displayed image.

[0093] For example, since each layer in the displayed image is a regular square or rectangle, the layer coordinate information of the layer may include: coordinate information of two vertices on any diagonal line in the layer. The image area of ​​the layer in the displayed image can be determined by the coordinate information of the two vertices on a diagonal line.

[0094] Accordingly, the present application can update the image content in the target area of ​​the cached display image based on the layer coordinate information of the target layer and the layer update data of the at least one target layer. For example, based on the layer coordinate information of the target layer and the layer update data of the at least one target layer, the image content in the target area of ​​the cached display image is updated through the display main control chip or the display processing module.

[0095] It is understandable that the display processing module can output the processed display image to the display main control chip, and the display processing module involves relatively more hardware submodules. If the display processing module updates the image content in the target area of ​​the display image, the hardware adjustments involved may be relatively more. In order to minimize hardware changes, in an optional manner, the present application can update the image content in the target area of ​​the display image through the display main control chip.

[0096] The following takes the example of updating the image content of the target area in the display image by the display main control chip, and introduces it in combination with an implementation method. Figure 2 , shows another flow chart of the display control method provided in an embodiment of the present application. The method of this embodiment may include:

[0097] S201: Obtain layer update data of at least one target layer to be updated in a currently displayed display image and layer coordinate information of each target layer.

[0098] Wherein, at least one target layer belongs to at least a portion of the layers constituting the display image.

[0099] In a possible implementation, since the display processing module needs to process the layer update data of the target layer, the layer update data of the at least one target layer can be obtained by the display processing module. For example, the display processing module obtains the layer update data of the at least one target layer to be updated in the display image through the operating system.

[0100] As described above, after determining at least one target layer to be updated in the display image, the operating system can store the layer update data of the at least one target layer in the storage module, and send the layer configuration information of the at least one target layer to the display processing module. In this embodiment, the layer configuration information can not only indicate the at least one target layer to be processed, but also include the layer coordinate information of the at least one target layer. Accordingly, the display processing module can obtain the layer coordinate information of the at least one target layer from the layer configuration information of the at least one target layer sent by the operating system. At the same time, the display processing module can obtain the layer update data of the at least one target layer from the storage module through at least one pre-processing submodule.

[0101] S202, based on the layer update data of the at least one target layer and the layer coordinate information of each target layer, construct the target image data of at least one target area to be updated in the display image through the display processing module, and determine the area coordinate information of each target area.

[0102] It can be understood that the display image is composed of multiple layers superimposed, such as multiple layers spliced ​​without overlap, or multiple layers superimposed and spliced ​​with overlap. Therefore, after the display processing module obtains the layer update data of each target layer, it can perform superimposition processing on at least one target layer based on the layer update data of each target layer and the layer coordinate information of each target layer to construct the target image data of at least one target area to be updated in the display image.

[0103] In a possible scenario 1, if the image areas of the target layers in the displayed image do not overlap, then the display processing module performs superposition processing on at least one target layer based on the layer update data of the at least one target layer and the layer coordinate information of each target layer, and the target image data of each target area constructed is the image data after the layer update data of a target layer is processed by the display processing module. Correspondingly, the area coordinate information of each target area is the coordinate information of the image area of ​​a target layer in the displayed image, for example, the layer coordinate information of the target layer can be determined as the area coordinate information of the target area corresponding to the target layer.

[0104] For example, Figure 3An example diagram showing the layers constituting the display image and the target area to be updated in the display image.

[0105] exist Figure 3 The display image to the left of the arrow in the figure shows the layers that make up the display image. Figure 3 It is assumed that the display image is composed of layer a1, layer a2 and layer a3, and there is no overlap between layer a1, layer a2 and layer a3 in the display image.

[0106] On this basis, it is assumed that the target layers to be updated in the display image include layer a2 and layer a3. Since there is no overlap between layer a2 and layer a3, the display processing module actually constructs two independent target areas 301 and target area 302 after superimposing layer a2 and layer a3 based on the layer update data of layer a2 and layer a3. Among them, target area 301 is the image area of ​​layer a2 in the display image, and target area 302 is the image area of ​​layer a3 in the display image.

[0107] Correspondingly, the target image data of the target area 301 is the image data obtained by the display processing module processing the layer update data of the layer a2, and the target image data of the target area 302 is the image data obtained by the display processing module processing the layer update data of the layer a3. Moreover, the area coordinate information corresponding to the target area 301 can be represented by the layer coordinate information corresponding to the layer a2, and the area coordinate information corresponding to the target area 302 can be represented by the layer coordinate information corresponding to the layer a3.

[0108] In another possible situation 2, if there are multiple target layers, and at least some of the multiple target layers have overlapping image areas in the displayed image, then for any at least two overlapping target layers, the display processing module superimposes the layer update data of the at least two target layers, and obtains target image data of a target area, and the target area is an image area formed by superimposing the image areas of the at least two target layers in the displayed image with overlap.

[0109] In this possible scenario 2, for a target area corresponding to at least two overlapping target layers, the area coordinate information of the target area may be determined by the display processing module in combination with the layer coordinate information of the at least two target layers.

[0110] In actual applications, the operating system may also determine the region coordinate information corresponding to the target region obtained by superimposing at least two overlapping target layers. On this basis, the layer configuration information sent by the operating system to the display processing module may also include: the region coordinate information corresponding to the target region obtained by superimposing at least two overlapping target layers. Accordingly, the display processing module may determine the region coordinate information of the target region corresponding to the at least two overlapping target layers.

[0111] Of course, in possible situation 2, for each target layer among multiple target layers that does not overlap with other target layers, the display processing module will construct a target area for the target layer. For details, please refer to the relevant introduction in possible situation 1 above, which will not be repeated here.

[0112] For ease of understanding, combined Figure 4 This possible scenario 2 is described below. Figure 4 Another example diagram shows the layers constituting the display image and the target area to be updated of the display image.

[0113] exist Figure 4 The left side of the arrow shows the layers that make up the displayed image. Figure 4 It is assumed that the displayed image is composed of layer b1, layer b2, layer b3 and layer b4. There is an overlap in the image area between layer b3 and layer b4. For ease of understanding, Figure 4 The overlapping area of ​​layer b3 and layer b4 is marked as a gray area. However, there is no overlap between layer b1 and layer b2 and other layers.

[0114] like Figure 4 As shown on the right side of the arrow, assuming Figure 4 The target layers to be updated in the display image include: layer b1, layer b3 and layer b4, then the display processing module will obtain the layer update data and layer coordinate information of layer b1, layer b3 and layer b4, and can also obtain the area coordinate information of the target area after the layer b3 and layer b4 are superimposed through the operating system.

[0115] On this basis, for layer b1, the display processing module can process the layer update data of layer b1 to obtain the target image data of the target area 401 corresponding to layer b1. The area coordinate information of the target area 401 is the layer coordinate information of layer b1.

[0116] For layer b3 and layer b4, the display processing module can combine the layer coordinate information of layer b3 and layer b4, and perform superposition processing on the layer update data of layer b3 and layer b4, so as to obtain the regional image data of target area 402 obtained by superposition of layer b3 and layer b4. Figure 4 It can be clearly seen that the target area 402 is an image area obtained by overlapping the image area of ​​the layer b3 in the displayed image and the image area of ​​the layer b4 in the displayed image.

[0117] It can be understood that, in the present application, the display processing module can transmit the target image data of at least one target area and the area coordinate information of each target area to the display main control chip in the display screen.

[0118] It should be noted that, in the present embodiment and the examples of the above two situations, the display processing module is used as an example to transmit the target image data and area coordinate information of at least one target area obtained by the overlay processing to the display main control chip after overlaying processing on at least one target layer based on the layer update data of at least one target layer and the layer coordinate information of each target layer.

[0119] However, it is understandable that in actual applications, the display processing module may only perform conventional image processing on each target layer based on the layer update data of each target layer, without performing overlay processing on each target layer. For example, the display processing module only performs pre-processing on each target layer based on the layer update data of each target layer.

[0120] On this basis, after the display processing module performs image processing on the layer update data of each target layer, the layer update data of each target layer obtained by the processing can be sent to the display main control chip. Correspondingly, the display main control chip can perform processing such as superimposing each target layer based on the layer update data of each target layer and the layer coordinate information of each target layer to obtain target image data of at least one target area.

[0121] Among them, the regional coordinate information of the target area can be transmitted to the display main control chip by the display processing module. For example, after the display processing module obtains the regional coordinate information of at least one target area through the operating system, it transmits the regional coordinate information of each target area to the display main control chip while transmitting the layer update data of each target layer to the display main control chip.

[0122] Of course, the display main control chip can also determine the region coordinate information of at least one target region obtained by superposition based on the layer coordinate information of each target layer, and there is no limitation to this.

[0123] S203 , for each target area, based on the area coordinate information of the target area, the display main control chip replaces the image content in the target area in the cached display image with the target image data corresponding to the target area to obtain an updated display image.

[0124] It is understandable that the display main control chip can locate the target area in the cached display image based on the area coordinate information of the target area. On this basis, the display main control chip can update the display image by replacing the image content of each target area in the display image with the target image data corresponding to the corresponding target area, thereby obtaining an updated display image.

[0125] For example, the display main control chip can add an overlay processing submodule, which can replace the image content in the target area in the display image cached in the display main control chip with the target image data of the target area transmitted by the display processing module based on the area coordinate information of the target area.

[0126] The image content of each target area in the updated display image is replaced by the target image data of the corresponding target area.

[0127] S204, displaying the updated display image in the cache of the main control chip.

[0128] It is understandable that when the display main control chip generates an updated display image, the updated display image can be used to replace the display image previously cached by the display main control chip or the display image updated last time, so that the display main control chip only caches the currently obtained updated display image.

[0129] S205 , when it is determined based on the screen refresh rate that the screen refresh time has arrived, the display main control chip outputs the updated display image currently cached to refresh the display content of the display unit.

[0130] It is understandable that when the screen refresh time is reached, the display main control chip can refresh the display content of the display unit based on its most recently cached updated display image. Therefore, in the time period between the last time an updated display image was generated and the current screen refresh time, if there is no update to the layer of the display image, the display processing module does not need to start and process the layer data of the display image, so that the display processing module can be maintained in a low power consumption state, which naturally reduces hardware resource consumption.

[0131] In this embodiment, steps S204 and S205 are described by taking an implementation method in which the display main control chip outputs the updated display image as an example. The other implementation methods mentioned above are also applicable to this embodiment and are not limited thereto.

[0132] It can be understood that, based on the updated display image generated by the display main control chip, the display main control chip needs to use the layer update data of the target layer to update the cached display image, wherein the display image cached by the display main control chip can be the display image after at least part of the layers in the display image were updated last time, that is, the most recently cached updated display image in history. The specific implementation of caching the updated display image can be referred to Figure 2 Related introduction of implementation examples.

[0133] The display image cached in the display main control chip may also be the display image output for the first time in the display main control chip and has not been updated, such as the display image output for the first time after the electronic device is turned on. Based on this, before obtaining the layer update data of at least one target layer to be updated in the currently displayed display image and the layer coordinate information of each target layer, the electronic device can also obtain the layer set of the display image, such as obtaining the layer set of the display image to be displayed through the operating system. Among them, the layer set includes the layer data of each layer constituting the display image. Correspondingly, based on the layer data of each layer in the layer set, the display image can be constructed by the display processing module, and the display image can be output to the display main control chip. On this basis, the display main control chip outputs the display image and caches the display image.

[0134] For example, the display processing module may pre-process and overlay each layer based on the layer data of each layer in the layer set, and perform post-processing on the overlaid image to obtain a display image.

[0135] Of course, the display processing module can also obtain the layer coordinate information of each layer in the layer set issued by the operating system. Accordingly, the display processing module can construct the display image based on the layer coordinate information and layer data of each layer.

[0136] It is understandable that the display processing module may include multiple hardware submodules. For example, the display processing module includes at least: a pre-processing submodule, an overlay submodule, and a post-processing submodule. Among them, the display processing module may include multiple pre-processing submodules, and different pre-processing submodules may be responsible for processing layer data of different layers in the display image.

[0137] Of course, the display processing module may also include a cache submodule for caching the layer configuration information sent by the operating system, and a control submodule for controlling the startup and entry of the pre-processing submodule, overlay submodule and post-processing submodule into a low power consumption state, etc., without restriction.

[0138] When there is a target layer to be updated in the displayed image, after each hardware sub-module in the display processing module has processed the layer update data of the target layer it is responsible for processing, the hardware sub-module can enter a low power consumption state, such as a sleep state, thereby further reducing hardware resource consumption.

[0139] In order to facilitate understanding of the various hardware modules involved in the electronic device executing the present application solution, please refer to Figure 5 . Figure 5 An example diagram of various hardware modules involved in an electronic device executing a display control method is shown.

[0140] Depend on Figure 5 It can be seen that the electronic device may include a storage module 501, a display processing module 502 and a display screen 503. Figure 5 The storage module may be a DDR storage module, and of course, may also be other storage components, etc., without limitation.

[0141] The display processing module 502 may include a plurality of pre-processing sub-modules, a superposition sub-module and a post-processing sub-module. The pre-processing sub-module and the storage module may be connected via a communication bus.

[0142] The display processing module 502 and the display screen 503 may be connected via a communication interface.

[0143] exist Figure 5 In the description, the display screen 503 includes a display main control chip (TCON chip), a DDIC chip and a display panel (also referred to as a display unit) as an example.

[0144] On this basis, the layer update data of at least one target layer to be updated in the display image is stored in the storage module through the operating system, and the layer configuration information of at least one target layer is sent to the display processing module. The layer configuration information is used to indicate at least one target layer to be updated in the display image.

[0145] Correspondingly, after the display processing module obtains the layer configuration information sent by the operating system, the display processing module starts at least one pre-processing sub-module corresponding to at least one target layer, and obtains the layer update data of the at least one target layer from the storage module through the at least one pre-processing sub-module. Each pre-processing sub-module is responsible for obtaining the layer update data of one target layer.

[0146] On this basis, for each pre-processing sub-module, after processing the layer update data of the target layer it obtains, the pre-processing sub-module transmits the processed layer update data of the target layer to the overlay sub-module of the display processing module, and the pre-processing sub-module enters a low power consumption state.

[0147] After the overlay submodule performs overlay processing on the layer update data of at least one target layer input by at least one pre-processing submodule, the overlay submodule transmits the layer update data of at least one target layer after the overlay processing to the post-processing submodule in the display processing module, and the overlay submodule enters a low power consumption state.

[0148] Correspondingly, the post-processing submodule performs post-processing operations on the layer update data of at least one target layer input by the overlay submodule. After transmitting the layer update data of at least one target layer that has undergone the post-processing operation to the display main control chip, the post-processing submodule enters a low power consumption state.

[0149] It can be seen that after each hardware sub-module in the display processing module completes the data processing it is responsible for and transmits the processed data to other hardware sub-modules or hardware modules, each hardware sub-module in the display processing sub-module will enter a low power consumption state, thereby further effectively reducing the hardware resource consumption of the display processing module.

[0150] In order to more intuitively understand the benefits of this application, Figure 5 Based on Figure 6 , taking an implementation method as an example, the display control method of the present application is introduced.

[0151] like Figure 6 , which shows another flow chart of the display control method provided in an embodiment of the present application. The method of this embodiment may include:

[0152] S601, based on the layer update frequency of each layer in the currently displayed display image, determine, through an operating system, at least one target layer to be updated in the display image and layer update data of each target layer.

[0153] It is understandable that the operating system can determine the layer update frequency of each layer constituting the displayed image and obtain the layer update data of the target layer that needs to be updated by interacting with the application program that needs to output image data. In the present application, there is no limitation on the specific implementation of the operating system determining the image update frequency of each layer and obtaining the layer update data of the target layer.

[0154] Wherein, at least one target layer belongs to at least a portion of the layers constituting the display image.

[0155] S602: Store the layer update data of at least one target layer to be updated in the display image to the storage module through the operating system, and send the layer configuration information of at least one target layer to the display processing module.

[0156] The layer configuration information is used to indicate at least one target layer to be updated in the display image, such as the layer configuration information may include the layer identifier of each target layer. In the present application, the layer configuration information also includes the layer coordinate information of each target layer. Of course, the layer configuration information may also include information such as the storage location of each target layer in the storage module, which is not limited.

[0157] Of course, the target layers to be updated are multiple target layers, and the multiple target layers include at least one group of target layers whose corresponding image areas overlap, and each group of target layers includes at least two target layers. Then the layer configuration information also includes the area coordinate information of the target area corresponding to each group of target layers.

[0158] S603, the display processing module starts at least one pre-processing sub-module corresponding to the at least one target layer based on the layer configuration information sent by the operating system, and obtains the layer update data of the at least one target layer from the storage module through the at least one pre-processing sub-module.

[0159] Each pre-processing submodule is used to obtain and process layer update data of a target layer.

[0160] S604, for each pre-processing sub-module, after the pre-processing sub-module processes the obtained layer update data of the target layer, the processed layer update data of the target layer is transmitted to the overlay sub-module of the display processing module, and the pre-processing sub-module enters a low power consumption state.

[0161] The pre-processing submodule performs pre-processing on the target layer based on the layer update data of the target layer, for example, smoothing or sharpening the image of the target layer based on the layer update data of the target layer.

[0162] After the pre-processing sub-module completes the pre-processing of the layer update data of the target layer it has acquired, the pre-processing sub-module is in an idle state. In order to reduce power consumption, the pre-processing sub-module enters a low power consumption state, such as the pre-processing sub-module enters a sleep state to reduce the power consumption of the pre-processing sub-module, which can naturally reduce the power consumption of the display processing module.

[0163] Among them, the pre-processing sub-module entering the low power consumption state can be automatically entering the low power consumption state; or the display processing module can control the pre-processing sub-module to enter the low power consumption state, such as controlling the pre-processing sub-module to enter the low power consumption state through the control sub-module of the display processing module, and there is no restriction on this.

[0164] S605, the overlay submodule performs overlay processing on the layer update data of at least one target layer input by at least one pre-processing submodule based on the layer coordinate information of at least one target layer, constructs target image data of at least one target area to be updated in the display image, and determines the area coordinate information of each target area.

[0165] The superposition submodule is responsible for superimposing the layers of the display image. In this embodiment, if only some layers in the display image are updated, the superposition submodule will perform superimposition processing on the layer data of each target layer according to the layer coordinate information of each target layer, but the image data obtained by the superposition processing is not the image data of a complete display image, but only includes the target image data of the target area in the display image.

[0166] For example, if there is no image area overlap between at least one target layer, then after the overlay submodule performs overlay processing on at least one target layer, the at least one target area constructed is the image area of ​​the at least one target layer in the displayed image, and the target image data of the at least one target area is actually the layer update data of the at least one target layer after processing by the pre-processing submodule.

[0167] If there is overlap between at least some target layers in the at least one target layer, then after the overlay submodule performs overlay processing on at least one target layer, at least some target areas in the constructed at least one target area are formed by overlapping image areas of at least two target layers.

[0168] The specific implementation of the superposition submodule determining the regional coordinate information of the target area can refer to the above-mentioned related introduction of the display processing module determining the regional coordinate information of the target area, which will not be repeated here.

[0169] S606, the superimposition submodule transmits the target image data and the region coordinate information of at least one target region to the post-processing submodule in the display processing module, and the superimposition submodule enters a low power consumption state.

[0170] It can be seen that in order to reduce hardware power consumption, after the superposition submodule processes and transmits the target image data of each target area obtained by the superposition processing to the post-processing submodule, the superposition submodule can enter a low power consumption state.

[0171] Similar to the front processing submodule entering the low power state, the overlay submodule may automatically enter the low power state, or the display processing module (such as the control submodule of the display processing module) may control the overlay submodule to enter the low power state.

[0172] S607, the post-processing submodule performs a post-processing operation on the target image data of at least one target area input by the overlay submodule, transmits the target image data of at least one target area after the post-processing operation and the area coordinate information of each target area to the display main control chip, and the post-processing submodule enters a low power consumption state.

[0173] The post-processing submodule is mainly responsible for the post-processing of the image. For example, the post-processing may include sharpening or correction, etc., without limitation.

[0174] In order to reduce power consumption, after the post-processing submodule transmits the area coordinate information of each target area and the target image data of each target area after post-processing to the display main control chip, the post-processing submodule may also enter a low power consumption state such as a dormant state. For example, the post-processing submodule automatically enters a low power consumption state, or the display processing module (such as through the control submodule of the display processing module) controls the post-processing submodule to enter a low power consumption state.

[0175] It can be understood that, in this embodiment, the superposition submodule determines the regional coordinate information of each target area and transmits it to the post-processing submodule, and the post-processing module transmits the regional coordinate information of the target area to the display main control chip as an example.

[0176] In actual applications, if the layer configuration information sent by the operating system to the display processing module has indicated the regional coordinate information of each target area obtained after superposition, the display processing module can cache the regional coordinate information of each target area, and there is no need for the superposition submodule to determine and transmit the regional coordinate information of the target area to the post-processing submodule. Accordingly, the display processing module can transmit the cached regional coordinate information of each target area to the display main control chip while the post-processing submodule transmits the target image data of the target area to the display main control chip. For example, the regional coordinate information of each target area is transmitted to the display main control chip through the control submodule of the display processing module.

[0177] S608, for each target area, based on the area coordinate information of the target area, the display main control chip replaces the image content in the target area in the cached display image with the target image data corresponding to the target area to obtain an updated display image of each target area.

[0178] From the previous introduction, it can be seen that under the premise that the display screen currently displays a display image, the display image must be cached in the display main control chip in the display screen. Therefore, the display main control chip can update the image content in the corresponding target area in the cached display image based on the area coordinate information of each target area.

[0179] S609, displaying the updated display image in the main control chip cache.

[0180] S610, when it is determined based on the screen refresh rate that the screen refresh time has arrived, the display main control chip outputs the updated display image currently cached to refresh the display content of the display unit.

[0181] For the above steps S608 to S610, reference may be made to the relevant introduction of the previous embodiment, which will not be repeated here.

[0182] In order to facilitate understanding of the solution of the present application and its benefits, an example is provided below for illustration.

[0183] Assume that the image displayed on the display screen in a certain period of time consists of 4 layers, which are called layer 0, layer 1, layer 2 and layer 3. Assume that the screen size of the display screen is , the screen refresh rate is 60 frames per second, that is, the display content of the display screen is refreshed approximately every 16.6ms. Among them, the layer update frequency of layer 0 is 1 frame per second (that is, layer 0 is updated once per second); layer 1 and layer 2 are static, that is, they do not need to be updated; the layer update frequency of layer 3 is 30 frames per second (that is, layer 3 needs to be updated 30 times per second, and layer 3 is updated approximately every 33.3ms).

[0184] like Figure 7 An example diagram showing four layers constituting a display image and the positions of the four layers in the display image.

[0185] like Figure 7 The left side of the arrow shows the layers and layer size information that make up the display image. It can be seen that the layers that make up the display image include layer 0, layer 1, layer 2, and layer 3, where the size of layer 0 is , the size of layer 1 is , the size of layer 2 is , the size of layer 3 is .

[0186] These four layers are superimposed to form a display image. Figure 7 As shown to the right of the arrow. Figure 7 In the example, there is no image area overlap between the four layers.

[0187] Combination Figure 7 The position of each layer in the displayed image and the size of each layer can determine the coordinates of the four vertices of each layer. For example, Figure 7The coordinates of each vertex in each layer are shown in . Among them, the coordinates of the upper left vertex in layer 0 are (0, 0), the coordinates of the upper right vertex are (1920, 0), the coordinates of the lower left vertex in layer 0 are (0, 80), and the coordinates of the lower right vertex are (1920, 80). Similarly, the coordinates of the four vertices in layer 1 are: (0, 1020), (1920, 1020), (0, 1080) and (1920, 1080), the coordinates of the four vertices in layer 2 are: (0, 80), (1000, 80), (0, 1020) and (1000, 1020), and the coordinates of the four vertices in layer 3 are: (1000, 80), (1920, 80), (1000, 1020) and (1920, 1020).

[0188] exist Figure 7 Based on this, the operating system, display processing module and the layer data to be processed according to the time axis in the display screen can be Figure 8 shown.

[0189] exist Figure 8 The middle time axis is from left to right, which means that time gradually increases from the left side, and the leftmost part of the time axis may be the 0th second.

[0190] Depend on Figure 8 It can be seen that the target layers to be updated in the display image determined by the operating system at different time points are different. Accordingly, when the target layers to be updated are different, the pre-processing sub-modules started in the display processing module and the number of pre-processing sub-modules will also be different.

[0191] Depend on Figure 8 It can be seen that at the very beginning (leftmost) of the timeline, such as assuming the 0th second, the operating system first determines that a display image including these four layers needs to be presented. In this case, the operating system determines the layer data of the four layers of the display image. At this time, it can be considered that these four layers are all target layers that need to be updated, and the layer data of these four layers are the respective layer update data.

[0192] Based on this, at the 0th second, the target layers to be updated in the displayed image include layers 0 to Figure 3 In this case, the hardware modules required to be activated by the electronic device to output the display image and the implementation process of generating the display image based on the hardware modules can be found in Fig. 9 .

[0193] Combination Figure 8 and Fig. 9 It can be seen that the operating system stores the layer update data of layer 0, layer 1, layer 2 and layer 3 in a storage module (such as a DDR storage module). Fig. 9In the storage module, dashed lines are used to illustrate the four layers stored in the storage module.

[0194] The operating system will also send the layer configuration information of the four layers from layer 0 to layer 3 to the display processing module, and the display processing module can use its cache space to cache the layer configuration information of these four layers ( Figure 8 and Fig. 9 The layer configuration information at least includes the layer coordinate information of the four layers. Figure 7 , taking layer 2 as an example, its layer coordinate information may include the vertex coordinates of two vertices on the same diagonal line in layer 2. Taking the vertex coordinates of the upper left vertex and the lower right vertex in layer 2 as an example, the layer coordinate information of layer 2 may include: (0, 80) and (1000, 1020). Of course, the layer configuration information may also include the storage location of each layer stored in the storage module, etc., which is not limited.

[0195] Depend on Fig. 9 It can be seen that the display processing module determines that layers 0 to 3 are all target layers to be updated based on the layer configuration information, and then the display processing module will start four pre-processing sub-modules, which are respectively called pre-processing sub-module 0, pre-processing sub-module 1, pre-processing sub-module 2 and pre-processing sub-module 3. Among them, pre-processing sub-module 0 is responsible for pre-processing layer 0, pre-processing sub-module 1 is responsible for pre-processing layer 1, pre-processing sub-module 2 is responsible for pre-processing layer 2, and pre-processing sub-module 3 is responsible for pre-processing layer 3.

[0196] exist Fig. 9 And follow-up Figure 10-Figure 14 In the example, the background of the hardware modules or hardware submodules (or the started hardware modules or submodules) used in the image processing process is marked in gray, while the background of the hardware modules or hardware submodules that are not needed is marked in white.

[0197] and, Figures 9 to 14 The layers marked with dotted boxes below the storage module represent the layers stored in the storage module; the layers marked with dotted boxes below the display processing module represent the image data of each target area corresponding to each layer after superposition and other processing by the display processing module; the dotted box below the display screen shows the display image output by the display screen and the image area corresponding to the updated layer in the display image.

[0198] On this basis, combined with Figure 8 and Fig. 9 It can be seen that the four pre-processing sub-modules output the pre-processed layer data to the superposition sub-module for layer superposition to obtain superimposed image data, such as Figure 8The image data of the image P1 shown in FIG. Here, the image P1 is a complete display image. After being processed by the post-processing submodule in the display processing module, the image P1 is transmitted to the TCON chip in the display screen.

[0199] like Figure 8 As shown, the TCON chip caches the image P1, and when it is determined that the screen refresh time has arrived based on the screen refresh rate, the TCON chip outputs the image P1 to the display driver DDIC chip, so that the image P1 is displayed through the DDIC chip.

[0200] Moreover, since the update frequency of the four layers constituting the displayed image is lower than the screen refresh rate, after the display screen displays image P1 for the first time, the first screen refresh moment is reached after about 16.6ms, at which time the TCON chip in the display screen can use the cached image P1 to update the displayed content.

[0201] When the first screen refresh time is reached, the working status of each hardware module in the electronic device can be as follows: Fig.10 shown.

[0202] Combination Figure 8 and Fig.10 It can be seen that: when the first screen refresh time is reached, the TCON chip in the display screen outputs the cached image P1 to the DDIC chip to refresh the display content.

[0203] Depend on Fig.10 It can be seen that since there is no update of each layer in the displayed image, and the TCON chip can use the most recently cached image P1 to refresh the display content of the display screen, the electronic device only needs to keep the TCON chip, DDIC chip and display panel in the display screen started, while the pre-processing submodule, overlay submodule and post-processing submodule in the storage module and display processing module in the electronic device do not need to process layer data, and naturally do not need to be started, thereby reducing the power consumption of the hardware.

[0204] On the basis of the above, combined with Figure 8 At the same time, based on the screen refresh frequency and the layer update frequency of layer 3, it can be known that when the layer update time of layer 3 is reached, the second screen refresh time is actually reached. When the layer update time of layer 3 is reached, the working status of each hardware module in the electronic device can be as follows Fig.11 shown.

[0205] Combination Figure 8 and Fig.11 It can be seen that when the layer update time of layer 3 is reached, the operating system only stores the layer update data of layer 3 in the storage module. Fig.11It can be seen that only the dotted box corresponding to layer 3 in the storage module is marked in gray, indicating that only the layer update data of layer 3 is stored in the storage module; while layers 0 to 1 are blank, indicating that the storage module does not store the layer update data of layers 0 to 2.

[0206] Moreover, the operating system sends the layer configuration data of layer 3 to the display processing module, and the layer configuration data at least includes the layer coordinate information of layer 3. Figure 7 It can be seen that the layer coordinate information of layer 3 may include coordinates of two vertices on a diagonal line in layer 3, which are (1000, 80) and (1920, 1020) respectively.

[0207] Depend on Fig.11 It can be seen that the display processing module can determine that it is necessary to start the pre-processing sub-module 3 for processing layer 3 based on the layer configuration data. The pre-processing sub-module 3 obtains the layer update data of layer 3 from the storage module through the communication bus, pre-processes the layer update data of layer 3, and transmits the pre-processed layer update data corresponding to layer 3 to the overlay sub-module.

[0208] The superposition submodule performs superposition processing on the layer update data of layer 3. Since the target layer to be updated only includes one layer 3, after the superposition submodule performs superposition processing on layer 3, the layer update data of layer 3 is still input to the post-processing submodule. On this basis, the post-processing submodule performs post-processing on layer 3 based on the layer update data of layer 3, and finally obtains the post-processed layer update data corresponding to layer 3 (that is, the target image data corresponding to the image area of ​​layer 3 in the displayed image).

[0209] like Fig.11 As shown, the layer 3 in the dotted box below the display processing module represents the layer update data of layer 3 obtained after being processed by the display processing module. Figure 8 In order to distinguish the image data of the image P1 outputted by the display processing module last time, the layer update data of layer 3 processed by the display processing module is called image data P2. Image data P2 is not the image data of a completed image, but only includes the layer update data of layer 3.

[0210] Correspondingly, the display processing module transmits the layer update data of layer 3 obtained through the communication interface to the TCON chip of the display screen, and the pre-processing submodule 3, the superposition submodule and the post-processing submodule in the display processing module will enter a low power consumption state. The TCON chip will determine the image area corresponding to layer 3 in the most recently cached image P1, and replace the image content in the image area corresponding to layer 3 in image P1 with the layer update data of layer 3 to obtain an updated image P1.

[0211] exist Figure 8 For ease of understanding, the updated image P1 is referred to as image P2, and image P2 is an image obtained by the TCON chip updating the cached image P1 based on the image data P2. Figure 8 , the TCON chip will cache image P2 and output image P2 through the DDIC chip.

[0212] After the image P2 is output through the DDIC chip, when it reaches 33.3ms+16.6ms, the third screen refresh time is reached, and the working status of each hardware module in the electronic device can be as follows: Fig.12 shown.

[0213] Combination Figure 8 and Fig.12 , and based on the screen refresh rate and the layer update frequency of each layer, it can be known that from 33.3ms to 33.3ms+16.6ms, there is no update in each layer of the displayed image. Therefore, at 33.3ms+16.6ms, the operating system does not store the layer update data of the layer to be updated in the storage module. Accordingly, the storage module and the display processing module can be in a low power consumption state. The TCON chip in the display can output the cached image P2 to the DDIC chip to refresh the display content of the display screen using the image P2.

[0214] In the time period after the third screen refresh time and before the 1st second, each time the screen refresh time is reached or the layer update time of layer 3 is reached, the above related introduction can be referred to and will not be repeated here.

[0215] Assume that at the 1st second, the layer 0 and layer 3 are updated, and the screen refresh time is reached (i.e., the fourth screen refresh time). In this case, the working status of each hardware module in the electronic device can be as follows: Fig.13 shown.

[0216] Combination Figure 8 and Fig.13 It can be seen that: at the first second, the operating system determines that the target layers to be updated in the display image include layer 0 and layer 3, and the operating system stores the layer update data of layer 0 and layer 3 in the storage module. Of course, the operating system can also send layer configuration information related to layer 0 and layer 3 to the display processing module, such as storing the layer configuration information in the cache space of the display processing module, and the layer configuration information at least includes the layer coordinate information of layer 0 and the layer coordinate information of layer 3.

[0217] The display processing module determines that the target layers to be updated are layer 0 and layer 3 based on the layer configuration information, and the display processing module will start the pre-processing submodule 0 and pre-processing submodule 3; while the pre-processing submodule 1 and pre-processing submodule 2 do not need to be started and are still in a low power consumption state, which can naturally reduce the hardware resource consumption generated by the display processing module. The layer update data of layer 0 is obtained from the storage module through the pre-processing submodule 0, and the layer update data of layer 3 is obtained from the storage module through the pre-processing submodule 3.

[0218] After pre-processing submodule 0 pre-processes the layer update data of layer 0, the pre-processed layer update data of layer 0 is input to the superposition submodule. Similarly, after pre-processing submodule 3 pre-processes the layer update data of layer 3, the pre-processed layer update data of layer 3 is input to the superposition submodule.

[0219] The superposition submodule performs superposition processing on layer 0 and layer 3 based on the layer coordinate information of layer 0 and layer 3. Since there is no overlap between layer 0 and layer 3, the superposition submodule superimposes layer 0 and layer 3 to construct only the image area composed of layer 0 and layer 3. The superposition submodule inputs the superimposed data of layer 0 and layer 3 to the post-processing submodule, and the superposition submodule enters a low power consumption state.

[0220] The post-processing submodule performs image post-processing on the image area formed by the splicing of layer 0 and layer 3 based on the layer update data of layer 0 and layer 3, and then inputs the image data P11 obtained by post-processing to the TCON chip. Among them, the image data P11 is not the image data of a complete display image, but only includes the layer update data of layer 0 and layer update data of layer 3 obtained after post-processing. Of course, the display processing module will also transmit the layer coordinate information of layer 0 and layer 3 to the TCON chip.

[0221] In this case, the TCON chip replaces the image content of the image area corresponding to layer 0 in the cached image with the layer update data of layer 0, and replaces the image content of the image area corresponding to layer 3 in the cached image with the layer update data of layer 3 based on the layer coordinate information of layer 0 and layer 3. The image content of the image area corresponding to layer 1 and layer 2 in the cached image can remain unchanged, thereby obtaining an updated image P11.

[0222] The TCON caches the image P11 and outputs the cached image P11 to the DDIC chip to refresh the display content of the display screen.

[0223] At 1s+16.6ms, the screen refresh time is reached again. Since there is no update in each layer during the period from 1s to 1+16.6ms, the working status of each hardware module in the electronic device at 1s+16.6ms can be as follows: Fig.14 As shown. Fig.14 It can be seen that at 1s+16.6ms, the display processing module does not need to be started, and the TCON chip only needs to output the cached image P11 to update the display content of the display screen.

[0224] On the other hand, the present application also provides an electronic device.

[0225] like Fig.15 , showing a schematic diagram of the composition structure of an electronic device provided in an embodiment of the present application.

[0226] The electronic device of this embodiment at least includes: a system on chip 1501 and a display module 1502;

[0227] The system on chip 1501 at least includes a display processing module 1503;

[0228] The display module 1502 at least includes a display main control chip 1504 .

[0229] The display processing module 1503 is used to obtain layer update data of at least one target layer to be updated in the currently displayed display image, where the at least one target layer belongs to at least part of the layers constituting the display image;

[0230] The display main control chip 1504 is used to update the image content in the target area of ​​the cached display image based on the layer update data of the at least one target layer to obtain an updated display image, wherein the target area is an image area in the display image associated with the at least one target layer; and output the updated display image.

[0231] In a possible implementation manner, the display processing module is further used to obtain layer coordinate information of the target layer in the display image;

[0232] When the display main control chip updates the image content in the target area of ​​the display image cached by the display main control chip, the display main control chip is specifically used to update the image content in the target area of ​​the display image cached by the display main control chip based on the layer coordinate information of each target layer obtained by the display processing module and the layer update data of the at least one target layer.

[0233] In another possible implementation, the display processing module is further used to construct target image data of at least one target area to be updated in the display image through the display processing module based on the layer update data of the at least one target layer and the layer coordinate information of each target layer, and determine the area coordinate information of the target area;

[0234] When updating the image content in the target area of ​​the cached display image, the display main control chip is specifically used to replace the image content in the target area of ​​the cached display image with the target image data corresponding to the target area based on the area coordinate information of the target area.

[0235] In another possible implementation, the display processing module is further used to obtain a layer set of the display image, the layer set including layer data of each layer constituting the display image; construct the display image based on the layer data of each layer in the layer set, and output the display image to the display main control chip;

[0236] The display main control chip is also used to output the display image and cache the display image.

[0237] In another possible implementation, the display main control chip is further used to, after obtaining the updated display image, cache the updated display image;

[0238] When the display main control chip outputs the updated display image, it is specifically used to output the updated display image currently cached when it is determined based on the screen refresh rate that the screen refresh time has arrived to refresh the display content of the display screen.

[0239] like Fig.16 , which shows another schematic diagram of the composition structure of the electronic device in the embodiment of the present application. Fig.16 and Fig.15 The difference is that the display main control chip 1504 may further include a cache submodule 1505, and the cache submodule is used to cache the display image or the updated display image.

[0240] Further, in any embodiment of the electronic device of the present application, the display main control chip may further include an overlay processing submodule 1506. Accordingly, the overlay processing submodule may update the image content in the target area of ​​the cached display image based on the layer update data of the at least one target layer. For example, the overlay processing submodule replaces the image content in the target area of ​​the cached display image with the target image data corresponding to the target area based on the area coordinate information of the target area.

[0241] In yet another possible implementation, the electronic device further includes a processor and a storage module;

[0242] The processor is used to store the layer update data of at least one target layer to be updated in the display image to the storage module through the operating system;

[0243] The display processing module includes a pre-processing submodule.

[0244] Correspondingly, when the display processing module obtains the layer update data of at least one target layer to be updated in the currently displayed display image, it is specifically used to obtain the layer configuration information issued by the operating system, and the layer configuration information is used to indicate the at least one target layer to be updated in the display image; start at least one pre-processing sub-module corresponding to the at least one target layer; obtain the layer update data of the at least one target layer from the storage module through the at least one pre-processing sub-module.

[0245] In yet another possible implementation, the display processing module further includes an overlay submodule and a post-processing submodule.

[0246] like Fig.16 As shown, the display processing module 1503 may include a pre-processing submodule 1507, an overlay submodule 1508, and a post-processing submodule 1509. Fig.16 Only one pre-processing submodule is shown in the figure, but in actual application, the display processing module may include multiple pre-processing submodules.

[0247] The pre-processing submodule 1507 is used to process the layer update data of the target layer and transmit the processed layer update data of the target layer to the superposition submodule of the display processing module, and the pre-processing submodule enters a low power consumption state;

[0248] The superposition submodule 1508 is used to perform superposition processing on the layer update data of at least one target layer input by the at least one pre-processing submodule, and transmit the layer update data of at least one target layer after superposition processing to the post-processing submodule in the display processing module, and the superposition submodule enters a low power consumption state;

[0249] The post-processing submodule 1509 is used to perform post-processing operations on the layer update data of at least one target layer input by the overlay submodule. After transmitting the layer update data of at least one target layer that has undergone the post-processing operation to the display main control chip, the post-processing submodule enters a low power consumption state.

[0250] In another possible implementation, the electronic device further includes a processor, the processor being configured to determine, through an operating system, at least one target layer to be updated in the displayed image and layer update data of the target layer based on a layer update frequency of each layer in the displayed image;

[0251] When obtaining the layer update data of at least one target layer to be updated in the currently displayed display image, the display processing module is specifically used to obtain the layer update data of the at least one target layer determined by the operating system.

[0252] On the other hand, the present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, a code set or an instruction set. The at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by a processor to implement the display control method described in any one of the above embodiments.

[0253] The present application also proposes a computer program, which includes computer instructions stored in a computer-readable storage medium. When the computer program is run on an electronic device, it is used to execute the display control method in any of the above embodiments.

[0254] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referred to each other. At the same time, the features recorded in each embodiment in this specification can be replaced or combined with each other, so that professionals in the field can implement or use this application. For device embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0255] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0256] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A display control method, comprising: Obtaining layer update data of at least one target layer to be updated in the currently displayed display image through a display processing module and outputting the layer update data of the at least one target layer to a display main control chip, wherein the display main control chip is located in a display module; The at least one target layer belongs to at least a portion of the layers constituting the display image; Based on the layer update data of the at least one target layer, the display main control chip updates the cached image content in the target area of ​​the display image to obtain an updated display image, wherein the target area is an image area in the display image associated with the at least one target layer; The updated display image is outputted.

2. The display control method according to claim 1, further comprising: Obtaining layer coordinate information of the target layer in the display image; The display main control chip updates the image content in the target area of ​​the display image cached based on the layer update data of the at least one target layer, including: Based on the layer coordinate information of the target layer and the layer update data of the at least one target layer, the display main control chip updates the cached image content in the target area of ​​the display image.

3. The display control method according to claim 2, further comprising: Based on the layer update data of the at least one target layer and the layer coordinate information of each target layer, the target image data of at least one target area to be updated in the display image is constructed by a display processing module, and the area coordinate information of the target area is determined; The display main control chip updates the image content in the target area of ​​the display image cached based on the layer coordinate information of the target layer and the layer update data of the at least one target layer, including: Based on the area coordinate information of the target area, the display main control chip replaces the image content in the target area in the cached display image with the target image data corresponding to the target area.

4. The display control method according to claim 1, further comprising: Obtaining a layer set of the display image, wherein the layer set includes layer data of each layer constituting the display image; Based on the layer data of each layer in the layer set, the display image is constructed by a display processing module, and the display image is output to a display main control chip; The display main control chip outputs the display image and caches the display image.

5. The display control method according to any one of claims 1 to 3, further comprising: After obtaining the updated display image, the display main control chip caches the updated display image; The outputting the updated display image comprises: When it is determined based on the screen refresh rate that the screen refresh time has arrived, the display main control chip outputs the updated display image currently cached to refresh the display content of the display screen.

6. The display control method according to claim 1, further comprising: storing, by the operating system, layer update data of at least one target layer to be updated in the display image into the storage module; The obtaining of layer update data of at least one target layer to be updated in the currently displayed display image comprises: The display processing module obtains layer configuration information sent by the operating system, where the layer configuration information is used to indicate at least one target layer to be updated in the display image; The display processing module starts at least one pre-processing sub-module corresponding to the at least one target layer, and obtains the layer update data of the at least one target layer from the storage module through the at least one pre-processing sub-module.

7. The display control method according to claim 6, further comprising: After the pre-processing submodule processes the layer update data of the target layer, the processed layer update data of the target layer is transmitted to the superposition submodule of the display processing module, and the pre-processing submodule enters a low power consumption state; After the superposition submodule performs superposition processing on the layer update data of at least one target layer input by the at least one pre-processing submodule, the layer update data of at least one target layer after the superposition processing is transmitted to the post-processing submodule in the display processing module, and the superposition submodule enters a low power consumption state; The post-processing submodule performs a post-processing operation on the layer update data of at least one target layer input by the overlay submodule, and after transmitting the layer update data of at least one target layer that has undergone the post-processing operation to the display main control chip, the post-processing submodule enters a low power consumption state.

8. The display control method according to claim 1 or 6, further comprising: Based on the layer update frequency of each layer in the display image, determining, through an operating system, at least one target layer to be updated in the display image and layer update data of the target layer; The obtaining of layer update data of at least one target layer to be updated in the currently displayed display image comprises: The layer update data of the at least one target layer determined by the operating system is obtained.

9. The display control method according to claim 1, wherein the display control chip updates the image content in the target area of ​​the display image cached based on the layer update data of the at least one target layer, comprising: Based on the layer update data of each target layer and the layer coordinate information of each target layer, the display main control chip performs superposition processing on the at least one target layer to obtain target image data of at least one target area to be updated in the display image; Displaying the area coordinate information of the target area determined by the main control chip; Based on the area coordinate information of the target area, the display main control chip replaces the image content in the target area in the cached display image with the target image data corresponding to the target area.

10. An electronic device comprising: System on chip and display module; The system on chip includes at least a display processing module; The display module at least includes a display main control chip; The display processing module is used to obtain layer update data of at least one target layer to be updated in the currently displayed display image and output the layer update data of the at least one target layer to the display main control chip, the display main control chip is located in the display module; the at least one target layer belongs to at least part of the layers constituting the display image; The display main control chip is used to update the image content in the target area of ​​the cached display image based on the layer update data of the at least one target layer to obtain an updated display image, wherein the target area is the image area in the display image associated with the at least one target layer; and output the updated display image.