WO-2025148347-A9 - AREA-BASED SCREEN REFRESHING METHOD AND ELECTRONIC DEVICE
Abstract
An area-based screen refreshing method and an electronic device. The method can be applied to an electronic device at least comprising a processor and a screen. In the method, upon detection that part of a target area to be refreshed of a current image frame changes relative to a target area to be refreshed of a previous adjacent frame, the processor can generate a partial area refreshing command, so that refreshing of a partial area of the screen can be instructed by means of the partial area refreshing command. In this way, the frequency of full-screen refreshing for the screen can be reduced, thereby reducing power consumption of the screen.
Inventors
- HE, XIANG
- LI, XIAOYU
Assignees
- 华为技术有限公司
Dates
- Publication Date
- 20260507
- Application Date
- 20240828
- Priority Date
- 20240109
Claims (20)
- A screen partition refresh method, characterized in that it is applied to an electronic device, the electronic device including a processor and a screen, comprising: The processor sends a local area refresh command to the screen; wherein, the local area refresh command is generated when the processor determines that the first target refresh area to be refreshed in the first frame image is different from the second target refresh area to be refreshed in the second frame image, the first target refresh area is a local area, and the second frame image is the previous frame image adjacent to the first frame image; The screen refreshes the first target refresh area according to the local area refresh command.
- The method according to claim 1, characterized in that the method further comprises: The processor sends first area display data to the screen; wherein the first area display data corresponds to the original refresh area in the first frame image, and the first target refresh area is greater than or equal to the original refresh area.
- According to claim 2, the method further includes a memory, and when the first target refresh area is larger than the original refresh area, the method further includes: The screen reads the second area display data corresponding to the area outside the original refresh area in the first target refresh area from the memory; The step of refreshing the first target refresh area includes: The original refresh area is refreshed based on the data displayed in the first area; Based on the data displayed in the second area, refresh the area in the first target refresh area other than the original refresh area.
- The method according to claim 2 or 3, characterized in that the method further comprises: The processor obtains the original refresh area based on the dirty areas that have changed between the first frame image and the second frame image; The processor adjusts the original refresh area according to a preset rule to obtain the first target refresh area; The preset rule is used to determine that there is at least one constraint region that needs to be refreshed synchronously, and the first target refresh region includes the original refresh region and the at least one constraint region.
- The method according to claim 4, wherein the preset rule includes: the refresh timing when reaching the first constraint region; Wherein, the first constrained region has a first refresh rate, and the screen does not support the first refresh rate; the refresh timing is obtained based on a second refresh rate supported by the screen; the first refresh rate is less than the second refresh rate.
- The method according to claim 4 or 5, wherein the preset rule includes at least one of the following rules: The refresh rate switching timing when reaching the second constraint region with a third refresh rate; wherein, the third refresh rate is the target refresh rate of the second constraint region; The self-refresh timing for reaching the third constraint region with a fourth refresh rate; wherein the fourth refresh rate is the lowest refresh rate among the plurality of refresh rates included in the screen.
- The method according to any one of claims 1 to 5 is characterized in that the local area refresh command includes first position indication information, the first position indication information being used to indicate the display position of the first target refresh area on the screen.
- A screen partition refresh method, characterized in that it is applied to an electronic device, the electronic device including a processor and a screen, comprising: When the processor does not send display data to the screen, it detects that a preset rule is met and sends a self-refresh command to the screen; wherein, the preset rule is used to determine that there is at least one constrained area that needs to be refreshed; The screen refreshes the at least one constrained area according to the self-refresh command.
- The method according to claim 8, wherein the self-refresh command includes second position indication information, the second position indication information being used to indicate the display position of the at least one constraint region on the screen.
- The method according to claim 8 or 9, wherein the electronic device further comprises a memory; the method further comprises: The screen reads the third area display data corresponding to the at least one constraint area from the memory; Refreshing the at least one constraint region includes: The at least one constraint region is refreshed based on the data displayed in the third region.
- The method according to any one of claims 8 to 10, wherein the preset rule includes: a refresh timing for reaching the first constraint region; Wherein, the first constrained region has a first refresh rate, and the screen does not support the first refresh rate; the refresh timing is obtained based on a second refresh rate supported by the screen; the first refresh rate is less than the second refresh rate.
- The method according to any one of claims 8 to 11, characterized in that the preset rule includes at least one of the following rules: The refresh rate switching timing when reaching the second constraint region with a third refresh rate; wherein, the third refresh rate is the target refresh rate of the second constraint region; The self-refresh timing for reaching the third constraint region with a fourth refresh rate; wherein the fourth refresh rate is the lowest refresh rate among the plurality of refresh rates included in the screen.
- A screen partition refresh method, characterized in that it is applied to an electronic device and includes: A first target refresh area to be refreshed is determined in the first frame image; wherein, the first target refresh area is a local area of the screen of the electronic device; When it is detected that the first target refresh area is different from the second target refresh area to be refreshed in the second frame image, a local area refresh command is generated; wherein, the second frame image is the previous frame image adjacent to the first frame image, and the local area refresh command is used to instruct the screen to refresh the first target refresh area.
- According to the method of claim 13, the step of determining the first target refresh region in the first frame image includes: Based on the dirty regions in the first frame image that have changed compared to the second frame image, the original refreshed region in the first frame image is obtained; The original refresh area is adjusted according to preset rules to obtain the first target refresh area; The preset rule is used to determine that there is at least one constraint region that needs to be refreshed synchronously, and the first target refresh region includes the original refresh region and the at least one constraint region.
- The method according to claim 14, wherein the preset rule includes: the refresh timing when reaching the first constraint region; Wherein, the first constrained region has a first refresh rate, and the screen does not support the first refresh rate; the refresh timing is obtained based on a second refresh rate supported by the screen; the first refresh rate is less than the second refresh rate.
- The method according to claim 13 or 14, wherein the preset rule includes at least one of the following rules: The refresh rate switching timing when reaching the second constraint region with a third refresh rate; wherein, the third refresh rate is the target refresh rate of the second constraint region; The self-refresh timing for reaching the third constraint region with a fourth refresh rate; wherein the fourth refresh rate is the lowest refresh rate among the plurality of refresh rates included in the screen.
- The method according to any one of claims 13 to 16 is characterized in that the local area refresh command includes position indication information, the position indication information being used to indicate the display position of the first target refresh area on the screen.
- The method according to any one of claims 13 to 17, characterized in that, before determining the first target refresh area to be refreshed in the first frame image, the method further includes: Image refresh detected; A local area refresh was detected in the first frame image.
- The method according to any one of claims 13 to 17, characterized in that the method further comprises: When it is detected that there is no image refresh and the self-refresh timing of the fourth refresh rate is reached, a self-refresh command is generated. The self-refresh command is used to instruct the screen to refresh a third target refresh area, which includes an area with the fourth refresh rate.
- An electronic device, characterized in that it includes at least one processor coupled to at least one memory, the at least one processor being configured to read a computer program stored in the at least one memory to perform the method as claimed in any one of claims 1 to 7, or to perform the method as claimed in any one of claims 8 to 12, or to perform the method as claimed in any one of claims 13 to 19.
Description
A screen partition refresh method and an electronic device Cross-reference of related applications This application claims priority to Chinese Patent Application No. 202410030769.1, filed on January 9, 2024, entitled "A Screen Partition Refresh Method and Electronic Device", the entire contents of which are incorporated herein by reference. Technical Field This application relates to the field of terminal technology, and in particular to a screen partition refresh method and an electronic device. Background Technology As a crucial component of electronic devices, the screen is used to present the interface and enable human-computer interaction. Screen refresh rate is an important indicator of screen performance, referring to the number of times the screen refreshes its image per second, measured in Hertz (Hz). A higher refresh rate results in smoother image display. Common screen refresh rates include 10 Hz, 30 Hz, 60 Hz, 75 Hz, and 120 Hz. Traditional organic light-emitting diode (OLED) screens need to maintain a low refresh rate even when there are no new displayed contents to avoid screen flicker. Furthermore, when there are new displayed contents, even if only a small area of the screen is updated, an OLED screen will refresh the entire displayed content. Therefore, how to save screen power consumption is of great research significance. Summary of the Invention This application provides a screen partition refresh method and an electronic device to reduce screen power consumption. In a first aspect, embodiments of this application provide a screen partition refresh method. This method can be applied to an electronic device, which includes a processor and a screen. In this method, the processor sends a local area refresh command to the screen; wherein the local area refresh command is generated when the processor determines that a first target refresh area to be refreshed in a first frame image is different from a second target refresh area to be refreshed in a second frame image, the first target refresh area being a local area, and the second frame image being the previous frame image adjacent to the first frame image. The screen refreshes the first target refresh area according to the local area refresh command. Based on the above method, when the processor detects that the target refresh partition of the current image frame has changed compared to the target refresh partition of the previous image frame, the processor can send a local area refresh command to the screen, instructing the screen to refresh the target refresh partition. This reduces the need for full-screen refreshes due to changes in the target refresh partition, thereby saving screen power consumption. In one possible design, the method further includes: the processor sending first area display data to the screen; wherein the first area display data corresponds to the original refresh area in the first frame image, and the first target refresh area is greater than or equal to the original refresh area. In this design, the screen can refresh local areas based on updated display data sent by the processor and local area refresh commands, thereby reducing full-screen refreshes caused by changes in the target refresh partition and saving screen power consumption. In one possible design, the electronic device further includes a memory. When the first target refresh area is larger than the original refresh area, the method further includes: the screen reading second area display data corresponding to the area of the first target refresh area other than the original refresh area from the memory. Based on this, refreshing the first target refresh area includes: refreshing the original refresh area according to the first area display data; and refreshing the area of the first target refresh area other than the original refresh area according to the second area display data. In this design, the screen, based on the updated local area indicated by the local area refresh command and combined with the updated display data received from the processor, can retrieve display data from the cache when needed. This allows for not only partial refreshes via the local area refresh command but also synchronous refreshes of a larger local area than the actual updated area, thus ensuring consistent display quality. In one possible design, the method further includes: the processor obtaining the original refresh area based on the dirty areas that have changed compared to the second frame image in the first frame image; the processor adjusting the original refresh area according to a preset rule to obtain the first target refresh area; wherein the preset rule is used to determine that there is at least one constraint area that needs to be refreshed synchronously, and the first target refresh area includes the original refresh area and the at least one constraint area. This design, by considering constraints such as display consistency and other synchronous refres