Screen partition refreshing method and electronic equipment

The local area refresh command is sent through the processor, and only the local area of the OLED screen is refreshed, solving the power consumption problem of traditional screens when there is no update, achieving consistency of display effects and energy consumption savings.

CN120299405APending Publication Date: 2025-07-11HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410030769.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-09
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

Traditional OLED screens still need to maintain a low refresh rate when there is no content update, resulting in high power consumption, and full-screen refreshing when partial content is updated leads to unnecessary waste of energy consumption.

Method used

The local area refresh command is sent through the processor, and only the local area of the screen is refreshed. Combined with the display data update, the refresh area is adjusted to meet the display effect consistency constraints and reduce full-screen refresh.

Benefits of technology

Effectively reduce screen power consumption, ensure consistency of display effects, reduce unnecessary full-screen refresh, and save energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120299405A_ABST
    Figure CN120299405A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of terminals, and discloses a screen partition refreshing method and electronic equipment. The method may be applied to an electronic device including at least a processor and a screen. In the method, a processor can generate a local area refreshing command when detecting that a local target refreshing area of a current image frame is changed compared with a target refreshing area of a previous adjacent frame, so that a screen can be instructed to refresh the local area through the local area refreshing command. Therefore, the full-screen refreshing times of the screen can be reduced, and the power consumption of the screen is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the technical field of terminals, and in particular, to a method for refreshing a screen partition and an electronic device. Background Art

[0002] As an important component of an electronic device, a screen can be used to present an interface and achieve human-computer interaction. The screen refresh rate is an important indicator of the screen, which refers to the number of times the screen refreshes an image per second, and the unit is Hertz (Hz); among them, the higher the refresh rate, the higher the smoothness of the image. Generally speaking, common screen refresh rates are 10 Hertz (Hz), 30Hz, 60Hz, 75Hz, 120Hz, etc.

[0003] For a traditional organic light-emitting diode (OLED) screen, even when there is no update of the displayed content, it is necessary to maintain a low refresh rate to avoid screen flickering. And when there is an update of the displayed content, even if only the content in a very small area included in the screen is updated, the OLED screen will refresh all the displayed content.

[0004] Therefore, how to save the power consumption of the screen has important research significance. Summary of the Invention

[0005] Embodiments of the present application provide a method for refreshing a screen partition and an electronic device to reduce the power consumption of the screen.

[0006] In a first aspect, embodiments of the present application provide a method for refreshing a screen partition. The method can be applied to an electronic device, and the electronic device includes a processor and a screen. In the 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 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.

[0007] 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 to instruct the screen to refresh the target refresh partition. In this way, it is possible to reduce the full-screen refresh caused by the change of the target refresh partition, thereby saving the power consumption of the screen.

[0008] In a possible design, the method further includes: the processor sending first region display data to the screen; wherein, the first region display data corresponds to the original refresh region in the first frame image, and the first target refresh region is greater than or equal to the original refresh region.

[0009] In this design, the screen can achieve the refresh of a local region according to the updated display data sent by the processor and the local region refresh command, thereby reducing the full-screen refresh caused by the change of the target refresh partition and saving the power consumption of the screen.

[0010] In a possible design, the electronic device further includes a memory. When the first target refresh region is greater than the original refresh region, the method further includes: the screen reading second region display data corresponding to the region other than the original refresh region in the first target refresh region from the memory. Based on this, the refreshing of the first target refresh region includes: refreshing the original refresh region according to the first region display data; refreshing the region other than the original refresh region in the first target refresh region according to the second region display data.

[0011] In this design, the screen can, according to the updated local region indicated by the local region refresh command and in combination with the updated display data received from the processor, obtain the display data from the cache when needed. In this way, not only can local refresh be achieved through the local region refresh command, but also synchronous refresh of a local region larger than the actually updated region can be achieved according to the local region refresh command, thereby ensuring the consistency of the display effect.

[0012] In a possible design, the method further includes: the processor obtaining the original refresh region according to the dirty region where the first frame image changes compared with the second frame image; the processor adjusting the original refresh region according to a preset rule to obtain the first target refresh region; wherein, the preset rule is used to determine that there is at least one constraint region that needs to be synchronously refreshed, and the first target refresh region includes the original refresh region and the at least one constraint region.

[0013] In this design, by considering the constraint of display effect consistency or other constraints of synchronous refresh, the adjustment of the original refresh region with actual updates can be achieved. In this way, not only can local region refresh be achieved, but also the consistency of the display effect can be ensured, or the partition refresh requirements in more scenarios can be achieved.

[0014] In a possible design, the preset rule includes: the refresh timing for reaching the first constraint region; wherein, the first constraint 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.

[0015] In this design, the processor can adjust the original refresh region based on the refresh rate supported by the hardware of the screen to achieve more refresh rate levels. In this way, the partition refresh requirements in more scenarios can be met.

[0016] In a possible design, the preset rule includes at least one of the following rules: the refresh rate switching timing for 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 multiple refresh rates included in the screen.

[0017] In this design, by considering the constraints of display effect consistency, the adjustment of the original refresh region with actual updates can be realized. In this way, not only can the refresh of local regions be achieved, but also the consistency of the display effect can be guaranteed. For example, the display effect consistency can be the timing of switching the refresh rate during the process of gradually decreasing the refresh rate, and can also be the self-refresh timing of the lowest refresh rate among multiple refresh rates, etc.

[0018] In a possible design, the local region refresh command includes first position indication information, and the first position indication information is used to indicate the display position of the first target refresh region on the screen.

[0019] In this design, the processor can indicate the data that needs to be refreshed on the screen through the local region refresh command, so that more accurate partition refresh of the screen can be achieved. And according to the position indication information in the local region refresh command and the updated display data from the processor, the display data that needs to be obtained from the cache can be accurately determined, thereby ensuring the accuracy of the partition refresh.

[0020] In a second aspect, an embodiment of the present application provides a method for screen partition refresh. This method can be applied to an electronic device, and the electronic device includes a processor and a screen. In this method, when the processor does not send display data to the screen, if it is detected that a preset rule is satisfied, a self-refresh command is sent to the screen; wherein, the preset rule is used to determine that at least one constraint region needs to be refreshed. The screen refreshes the at least one constraint region according to the self-refresh command.

[0021] Based on the above method, when the processor detects that there is no image transfer for refreshing but the refresh timing of some areas is met, it can generate a self-refresh command to ensure the accurate refresh of the display data. In this way, problems of abnormal display caused by abnormalities such as image transfer jitter can be reduced.

[0022] In a possible design, the self-refresh command includes second position indication information, and the second position indication information is used to indicate the display positions of the at least one constrained area on the screen.

[0023] In this design, by indicating the area on the screen that needs to be refreshed in the self-refresh command, the processor can ensure the accuracy of the screen refresh.

[0024] In a possible design, the electronic device further includes a memory. The method further includes: the screen reads the display data of the third area corresponding to the at least one constrained area from the memory. The refreshing of the at least one constrained area includes: refreshing the at least one constrained area according to the display data of the third area.

[0025] In a possible design, the preset rule includes: reaching the refresh timing of the first constrained area; wherein, the first constrained area has a first refresh rate that the screen does not support; the refresh timing is obtained based on a second refresh rate supported by the screen; and the first refresh rate is less than the second refresh rate.

[0026] In a possible design, the preset rule includes at least one of the following rules: reaching the refresh rate switching timing of the second constrained area with a third refresh rate; wherein, the third refresh rate is the target refresh rate of the second constrained area; reaching the self-refresh timing of the third constrained area with a fourth refresh rate; wherein, the fourth refresh rate is the lowest refresh rate among multiple refresh rates included in the screen.

[0027] In a third aspect, an embodiment of the present application provides a method for refreshing screen partitions. This method can be applied to an electronic device and includes: determining a first target refresh area to be refreshed in a first frame of image; wherein, the first target refresh area is a local area in the screen included in the electronic device; when it is detected that the first target refresh area is different from a second target refresh area to be refreshed in a second frame of image, generating a local area refresh command; wherein, the second frame of image is the previous frame adjacent to the first frame of image, and the local area refresh command is used to instruct the screen to refresh the first target refresh area.

[0028] In a possible design, determining the first target refresh area in the first frame image includes: obtaining the original refresh area in the first frame image according to the dirty area where the first frame image changes compared to the second frame image; adjusting the original refresh area according to a preset rule to obtain the first target refresh area; where 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.

[0029] In a possible design, the preset rule includes: the refresh timing for reaching the first constraint area; where the first constraint area has a first refresh rate, and the screen does not support the first refresh rate; the refresh timing is obtained based on the second refresh rate supported by the screen; the first refresh rate is less than the second refresh rate.

[0030] In a possible design, the preset rule includes at least one of the following rules: the refresh rate switching timing for reaching the second constraint area with a third refresh rate; where the third refresh rate is the target refresh rate of the second constraint area; the self - refresh timing for reaching the third constraint area with a fourth refresh rate; where the fourth refresh rate is the lowest refresh rate among multiple refresh rates included in the screen.

[0031] In a possible design, the local area refresh command includes position indication information, and the position indication information is used to indicate the display position of the first target refresh area on the screen.

[0032] In a possible design, before determining the first target refresh area to be refreshed in the first frame image, the method further includes: detecting that there is picture - sending and refreshing; detecting that the first frame image performs local area refreshing.

[0033] In another possible design, the method further includes: when it is detected that there is no picture - sending and refreshing, and it is detected that the self - refresh timing for reaching the fourth refresh rate arrives, generating a self - refresh command; where the self - refresh command is used to instruct the screen to refresh the third target refresh area, and the third target refresh area includes the area with the fourth refresh rate.

[0034] In a fourth aspect, the present application provides an electronic device, and the electronic device includes multiple functional modules; the multiple functional modules interact with each other to implement the method executed by the electronic device in any of the above aspects and their respective embodiments. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on the specific implementation.

[0035] Fifth aspect, the present application provides an electronic device, including at least one processor and at least one memory, wherein computer program instructions are stored in the at least one memory. When the electronic device runs, the at least one processor executes the method executed by the electronic device in any of the above aspects and their respective embodiments.

[0036] Sixth aspect, the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer is enabled to execute the method executed by the electronic device in any of the above aspects and their respective possible designs.

[0037] Seventh aspect, the present application provides a computer program product, which includes a computer program (which can also be referred to as code or instruction). When the computer program is run, the computer is enabled to execute the method of the electronic device in any of the above aspects and their respective possible designs.

[0038] Eighth aspect, the embodiment of the present application further provides a graphical user interface on an electronic device. The electronic device has a screen, one or more memories, and one or more processors. The one or more processors are used to execute one or more computer programs stored in the one or more memories. The graphical user interface includes the graphical user interface displayed when the electronic device executes any of the above aspects and their respective possible designs.

[0039] Ninth aspect, the present application further provides a chip, which is used to read the computer program stored in the memory and execute the method executed by the electronic device in any of the above aspects and their respective possible designs.

[0040] Tenth aspect, the present application further provides a chip system, which includes a processor for supporting a computer device to implement the method executed by the electronic device in any of the above aspects and their respective possible designs. In a possible design, the chip system further includes a memory, which is used to store the necessary programs and data of the computer device. The chip system can be composed of chips or include chips and other discrete devices.

[0041] For the beneficial effects of any of the above second aspect to tenth aspect and their possible designs, please specifically refer to the beneficial effects of various possible designs in the above first aspect, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1A It is a schematic diagram of an interface for partitioned refresh;

[0043] Figure 1B It is a timing diagram of partitioned refresh;

[0044] Figure 2Schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application;

[0045] Figure 3 Block diagram of the software architecture of an electronic device provided by an embodiment of the present application;

[0046] Figure 4 Flow diagram of a method for refreshing screen partitions provided by an embodiment of the present application;

[0047] Figure 5A One of the timing diagrams of a method for refreshing screen partitions provided by an embodiment of the present application;

[0048] Figure 5B Another timing diagram of a method for refreshing screen partitions provided by an embodiment of the present application;

[0049] Figure 6 Another timing diagram of a method for refreshing screen partitions provided by an embodiment of the present application;

[0050] Figure 7 Another timing diagram of a method for refreshing screen partitions provided by an embodiment of the present application;

[0051] Figure 8 Schematic diagram of a screen partition provided by an embodiment of the present application;

[0052] Figure 9A Another timing diagram of a method for refreshing screen partitions provided by an embodiment of the present application;

[0053] Figure 9B Another timing diagram of a method for refreshing screen partitions provided by an embodiment of the present application;

[0054] Figure 9C Another timing diagram of a method for refreshing screen partitions provided by an embodiment of the present application;

[0055] Figure 10 Another schematic diagram of a screen partition provided by an embodiment of the present application;

[0056] Figure 11A Schematic diagram of the adjustment of the refresh area provided by an embodiment of the present application;

[0057] Figure 11B Another schematic diagram of the adjustment of the refresh area provided by an embodiment of the present application;

[0058] Figure 12 Another flow diagram of a method for refreshing screen partitions provided by an embodiment of the present application. Detailed implementation

[0059] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0060] Embodiments of the present application can be applied to the field of terminal technology, and specifically can be applicable to the screen interface refreshing scenario of electronic devices. The interface displayed on the screen generally can include one or more regions that implement different functions. For example, it can include but is not limited to the following regions: the top status bar including information such as battery level, time, and network status; the main display area including the main display content of the interface, such as the main display content being desktop icons, video pictures, application program interfaces, etc.; the bottom navigation area, or the bottom task bar area, or the bottom status bar area. Among them, the main display area can further include regions for implementing different functions; for example, the main display area can be used to display live content, and can include a live video playback area and a comment display area.

[0061] In a possible scenario, with the gradual popularization of low temperature polycrystalline oxide (LTPO) screens, it is possible to achieve zoned refreshing of the screen. Among them, zoned refreshing can also be understood as dividing the screen into multiple regions, and different regions correspond to different refresh rates. In this way, when local content in the screen needs to be updated at a high refresh rate, the regions that are not updated can maintain a lower refresh rate, so that it is not necessary to refresh all the display content included in the screen, and the power consumption of the screen can be saved.

[0062] Figure 1A It is a schematic diagram of an interface for zoned refreshing. In Figure 1A In the shown interface 100, it can include a top status bar region 100A, a live video playback region 100B, and a comment display region 100C. The content of different regions in the interface 100 has different requirements for the refresh rate. For example, the time, battery level, etc. included in the top status bar region 100A generally change only once a minute, or change after the battery level drops, so the top status bar region 100A has a lower requirement for the refresh rate; the content of the live video playback region 100B has a higher requirement for the refresh rate; the content of the comment display region 100C has a requirement for the refresh rate lower than that of the live video playback region 100B but higher than that of the top status bar region 100A. Therefore, the region 100A can correspond to a low refresh rate region of 10 Hz, for example, the region 100B can correspond to a high refresh rate region of 60 Hz, and for example, the region 100C can correspond to a medium refresh rate region of 30 Hz.

[0063] Based on Figure 1A the multiple screen regions divided for the interface 100, the refresh timing diagrams corresponding to each screen region can be as Figure 1B shown. From Figure 1BAs can be seen from the timing diagram shown, the tearing effect signal (TE) corresponding to the screen is output at a screen frame rate of 120 Hz. Among them, TE is a feedback signal sent from the screen to the processor, used to notify the processor about the display progress of the screen. For example, the display progress can be that the screen is now reading data from the memory starting from the first line and displaying it. In this way, through TE, it is possible to avoid the processor writing data to the same location when the screen reads data from the memory, thus preventing the screen from showing a scrambled display due to conflicts.

[0064] In different refresh rate regions, it can also be understood that the update rate of the display data is different. And when there is data update in at least one refresh rate region, the updated data can be sent to the screen through the Mobile Industry Processor Interface (MIPI). It can be understood that since the screen is divided into multiple regions with different refresh rates, the size of the updated data sent to the screen each time is not exactly the same. For example Figure 1B As shown, the updated data sent through MIPI can include the updated data of one region, can also include the updated data of two regions, and can also include the updated data of three regions. However, no matter how many regions' updated data the screen receives, it will refresh and display all the data of the screen at a refresh rate of 60 Hz. Among them, all the data of the screen includes: the updated data from MIPI and the cached screen data. It can also be understood that the data of the updated region is received by the screen from the processor through MIPI, and the data of the non-updated region is read by the screen from the cache. Therefore, in this scenario, although the data sent from the processor to the screen can be reduced, the load data during the screen refresh is still all the data of the screen. In addition, refreshing and displaying all the data on the screen can ensure the consistency of the display effect, but there is a relatively large screen power consumption.

[0065] In another possible scenario, even if the screen can achieve zoned refresh, it will cause the problem of being unable to ensure the consistency of the full-screen display effect. And the partitions in the screen may also change. For example, in the scenario of playing a video in a small window, the position of the small window may be dragged by the user, making it difficult to ensure the consistency of the full-screen display effect. Or, as introduced in Figure 1B , in order to ensure the consistency of the display effect, the screen will refresh and display all the data to ensure the consistency of the display effect, but there is a relatively large screen power consumption.

[0066] In view of this, an embodiment of the present application provides a method for refreshing a screen in a partitioned manner. In this method, a processing module is added on the processor side. Through this processing module, the screen refresh area can be determined, and a local area refresh command can be sent to the screen, so that the local data of the screen can be refreshed at the frame level. In this way, the screen can perform more accurate partitioned refreshing according to the local area refresh command of the processor, and a technical solution that can balance the display effect consistency and the screen power consumption can be provided.

[0067] Among them, the processing module is a unit with a logical function and can be integrated into the processor. The present application does not limit the hardware composition.

[0068] The technical solution in the embodiment of the present application can be applied to an electronic device, and the electronic device is any device including a screen with a display function. For example, the electronic device can be an electronic device such as a mobile phone, a tablet computer, a wearable device (such as a watch, a bracelet, etc.), a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a smart home device (such as a smart TV, etc.) that can display a user interface (UI). It can be understood that the specific type of the electronic device in the embodiment of the present application is not limited in any way.

[0069] The electronic device to which the embodiment of the present application can be applied, exemplary embodiments include but are not limited to those equipped with or other operating systems. The electronic device can be, for example, the electronic device introduced in the foregoing embodiments.

[0070] Figure 2 The schematic diagram of the hardware structure of a possible electronic device is shown. Among them, the electronic device 200 includes: a radio frequency (RF) circuit 210, a power supply 220, a processor 230, a memory 240, an input unit 250, a display unit 260, an audio circuit 270, a communication interface 280, and a Wi-Fi module 290 and other components. Those skilled in the art can understand that Figure 2 the hardware structure of the electronic device 200 shown in does not constitute a limitation on the electronic device 200. The electronic device 200 provided by the embodiment of the present application may include more or fewer components than those shown in the figure, may combine two or more components, or may have a different component configuration. Figure 2The various components shown in can be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0071] The following will specifically introduce each component of the electronic device 200 in conjunction with Figure 2 :

[0072] The RF circuit 210 can be used for receiving and sending data during communication or a call. Specifically, after the RF circuit 210 receives downlink data from a base station, it sends the data to the processor 230 for processing; in addition, it sends the uplink data to be sent to the base station. Generally, the RF circuit 210 includes, but is not limited to, antennas, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 210 can also communicate with other devices through a wireless communication network. The wireless communication can use any communication standard or protocol, including but not limited to the global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.

[0073] Wi-Fi technology belongs to short-range wireless transmission technology. The electronic device 200 can connect to and access an access point (AP) through the Wi-Fi module 290, thereby enabling access to a data network. The Wi-Fi module 290 can be used for receiving and sending data during communication.

[0074] The electronic device 200 can be physically connected to other devices through the communication interface 280. Optionally, the communication interface 280 of the electronic device 200 is connected to the communication interface of the other device through a cable to achieve data transmission between the electronic device 200 and the other device.

[0075] The electronic device 200 can also implement communication services and interact with other electronic devices. Therefore, the electronic device 200 needs to have a data transmission function, that is, a communication module needs to be included inside the electronic device 200. Although Figure 2The communication modules such as the RF circuit 210, the Wi-Fi module 290, and the communication interface 280 are shown. However, it can be understood that at least one of the above components or other communication modules for implementing communication (such as a Bluetooth module) exist in the electronic device 200 for data transmission. For example, when the electronic device 200 is a mobile phone, the electronic device 200 may include the RF circuit 210, may also include the Wi-Fi module 290, or may include a Bluetooth module ( Figure 2 not shown in the figure); when the electronic device 200 is a tablet computer, the electronic device 200 may include the Wi-Fi module, or may include a Bluetooth module ( Figure 2 not shown in the figure); when the electronic device 200 is a smart home device, the electronic device 200 may include the Wi-Fi module 290, or may include a Bluetooth module ( Figure 2 not shown in the figure).

[0076] The memory 240 can be used to store software programs and modules. The processor 230 executes various functional applications and data processing of the electronic device 200 by running the software programs and modules stored in the memory 240. Optionally, the memory 240 may mainly include a program storage area and a data storage area. Among them, the program storage area can store an operating system (mainly including software programs or modules corresponding to the kernel layer, system layer, application framework layer, and application layer, etc.). In addition, the memory 240 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0077] The input unit 250 can be used to receive editing operations of various different types of data objects such as digital or character information input by the user, and generate key signal inputs related to the user settings and function control of the electronic device 200. Optionally, the input unit 250 may include a touch panel 251 and other input devices 252. Among them, the touch panel 251, also known as a touch screen, can collect touch operations of the user on or near it (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or near the touch panel 251), and drive the corresponding connection device according to a pre-set program. Optionally, the other input devices 252 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, etc.

[0078] The display unit 260 can be used to display information input by the user or information provided to the user, as well as various menus of the electronic device 200. The display unit 260 is the display system of the electronic device 200, used to present an interface and achieve human-computer interaction. The display unit 260 may include a display panel 261; wherein, the display panel 261 can also be understood as a screen or a display, etc., and can be used interchangeably in the embodiments of the present application. Optionally, the display panel 261 can be configured in the form of a low temperature polycrystalline oxide (LTPO) or the like that supports the partition refresh technology of the screen. In the embodiments of the present application, the display unit 260 can be used to display an interface, and the display unit 260 can receive a local area refresh command from the processor 230 and, in response to the local area refresh command, implement partition refresh. In addition, data transmission between the display unit 260 and the processor 230 is carried out through a MIPI interface; wherein, the display unit 260 receives screen update data from the processor 230 through the MIPI interface, and the display unit 260 sends a TE signal to the processor 230 through the MIPI interface, and the TE signal is used to ensure the frequency of transmitting screen update data between the display unit 260 and the processor 230, so as to better ensure the consistency of the screen effect.

[0079] The processor 230 is the control center of the electronic device 200, connecting various components through various interfaces and lines, and by running or executing software programs and / or modules stored in the memory 240, and calling data stored in the memory 240, performing various functions of the electronic device 200 and processing data, so as to implement various services based on the electronic device 200. In the embodiments of the present application, the processor 230 can also be referred to as a system on chip (SOC), and in the embodiments of the present application, the processor 230 and the SOC can be used interchangeably. Exemplarily, the processor 230 can be used to detect and respond to the self-refresh event of the low refresh rate area, and send a self-refresh command to the screen through MIPI, so as to ensure the consistency of the screen display effect. Another exemplarily, the processor 230 can also be used to detect and respond to the local area refresh event, obtain update data and determine the local area to be refreshed, and send the update data and the local area refresh command to the screen through MIPI, so as to achieve accurate partition refresh and save the power consumption of the screen.

[0080] The electronic device 200 further includes a power supply 220 (such as a battery) for supplying power to each component. Optionally, the power supply 220 can be logically connected to the processor 230 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption through the power management system.

[0081] As shown Figure 2 in FIG. 2, the electronic device 200 further includes an audio circuit 270, a microphone 271, and a speaker 272, which can provide an audio interface between the user and the electronic device 200. The audio circuit 270 can be used to convert audio data into a signal that the speaker 272 can recognize, and transmit the signal to the speaker 272, which converts it into a sound signal for output. The microphone 271 is used to collect external sound signals (such as the sound of a person speaking, or other sounds, etc.), and convert the collected external sound signals into a signal that the audio circuit 270 can recognize, and send it to the audio circuit 270. The audio circuit 270 can also be used to convert the signal sent by the microphone 271 into audio data, and then output the audio data to the RF circuit 210 for sending to, for example, another electronic device, or output the audio data to the memory 240 for further processing later.

[0082] Although Figure 2 not shown, the electronic device 200 may further include a camera, at least one sensor, etc., which will not be elaborated here. The at least one sensor may include, but is not limited to, a pressure sensor, a barometric pressure sensor, an acceleration sensor, a distance sensor, a fingerprint sensor, a touch sensor, a temperature sensor, etc.

[0083] The operating system (OS) involved in the embodiments of the present application is the most basic system software running on the electronic device 200. The software system of the electronic device 200 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present application, taking the operating system with a layered architecture as an example, the software architecture of the electronic device 200 will be exemplarily described.

[0084] Figure 3 FIG. 3 is a block diagram of the software architecture of an electronic device provided by an embodiment of the present application. As Figure 3 shown, the software architecture of the electronic device may be a layered architecture. For example, the software can be divided into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into five layers, from top to bottom, namely the application layer, the application framework layer (FWK), the runtime and system libraries, the kernel layer, and the hardware layer. Among them, the system software can be run through Figure 2 the processor 230 in FIG. 3, so as to jointly implement various functions of the electronic device 200 with each hardware.

[0085] The application layer may include a series of application packages. As Figure 3As shown in the figure, the application layer may include the UI, camera, settings, skin module, third-party applications, etc. Among them, the third-party applications may include, for example, wireless local area network (WLAN), music, calls, Bluetooth, video, etc. Among them, in the application layer, the attributes of the elements included in the UI and the shadows of the elements can also be defined according to the system interface.

[0086] In a possible implementation, the application can be developed using the Java language and completed by calling the application programming interface (API) provided by the application framework layer. Developers can interact with the underlying layers of the operating system (such as the hardware layer, kernel layer, etc.) through the application framework layer to develop their own applications. The application framework layer is mainly a series of services and management systems of the operating system.

[0087] The application framework layer provides application programming interfaces and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions. As Figure 3 shown in the figure, the application framework layer may include a view system, activity manager, window manager, content provider, phone manager, resource manager, notification manager, etc.

[0088] The activity manager is used to manage the life cycles of various applications and provide common navigation back functions, and provides an interactive interface for the windows of all programs.

[0089] The window manager is used to manage window programs. The window manager can obtain the screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data, and make this data accessible to applications. The data may include videos, images, audio, dialed and received calls, browsing history and bookmarks, phone books, etc.

[0090] The view system includes visible controls and invisible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.

[0091] The phone manager is used to provide the communication function of the electronic device. For example, the management of call states (including answering, hanging up, etc.).

[0092] The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc.

[0093] The notification manager enables an application to display notification information in the status bar. It can be used to convey messages of an informative type, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that a download is complete, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a graph or a scrolling text, such as the notification of a background-running application, or a notification that appears on the screen in the form of a dialogue window. For example, it can prompt text information in the status bar, emit a prompt tone, vibrate the electronic device, blink the indicator light, etc.

[0094] The runtime includes the core libraries and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.

[0095] The core libraries include two parts: one part is the functional functions that the Java language needs to call, and the other part is the core libraries of the operating system. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer into binary files. The virtual machine is used to perform functions such as the management of the object life cycle, stack management, thread management, security and exception management, and garbage collection.

[0096] The system libraries can include multiple functional modules. For example: the surface manager, the media framework, the 3D graphics processing library (e.g., OpenGL ES), the 2D graphics engine (e.g., SGL), etc.

[0097] The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.

[0098] The media framework supports the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media framework can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0099] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.

[0100] The 2D graphics engine is the drawing engine for 2D drawing. The 2D graphics engine can perform drawing operations to draw the elements included in the UI and the shadows of the elements on the screen.

[0101] In some embodiments, the 3D graphics processing library can be used to draw 3D motion trajectory images, and the 2D graphics engine can be used to draw 2D motion trajectory images.

[0102] The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver. In the embodiments of the present application, the processor 230 can achieve data transmission with the display unit 260 through the display driver. For example, the processor 230 can send screen update data to the display unit 260 through the MIPI interface and receive the TE signal from the display unit 260 through the MIPI interface through the display driver.

[0103] The hardware layer may include various sensors, such as an acceleration sensor, a gravity sensor, a touch sensor, etc.

[0104] Generally, the electronic device 200 can run multiple application programs simultaneously. More simply, one application program can correspond to one process, and more complexly, one application program can correspond to multiple processes. Each process has a process number (process ID).

[0105] It should be understood that in the embodiments of the present application, "at least one (item) of the following" or its similar expressions refer to any combination of these items, including any combination of a single item or multiple items. For example, at least one (item) of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple. "Multiple" means two or more. "And / or" is used to describe the association relationship of associated objects and indicates that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after.

[0106] In addition, it should be understood that in the description of the present application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.

[0107] It should be understood that the hardware structure of the electronic device can be as Figure 2 shown, and the software system architecture can be as Figure 3 shown. Among them, the software programs and / or modules corresponding to the software system architecture in the electronic device can be stored in the memory 240, and the processor 230 can run the software programs and applications stored in the memory 240 to execute the process of a screen partition refresh method provided by the embodiments of the present application.

[0108] To facilitate understanding of a screen partition refresh method provided by the present application, the implementation process of the method provided by the present application will be introduced below in combination with Figures 4 to 11B the content shown in

[0109] The method provided by the embodiments of the present application can be applicable to the scenario of screen partitioned refreshing, which can also be understood as the screen refreshing a partial area while keeping the remaining area unchanged. Exemplarily, possible application scenarios include but are not limited to: a non-full-screen video playing interface, such as a live broadcast, etc.; information such as bullet screens, progress bars, and status bars superimposed on a full-screen video playing interface; a split-screen, small window, or other application windowed interface; an input method typing interface.

[0110] For ease of understanding, the following explains some technical terms or phrases that may be involved in the embodiments of the present application:

[0111] (1) Display effect consistency means that the pixels included in the screen display the same frame of the picture synchronously. It should be understood that ensuring the consistency of the display effect can avoid problems such as screen flashing and tearing.

[0112] In the scenario of partitioned refreshing, by dividing the screen into multiple partitions, different partitions are refreshed at different refresh rates. It can be understood that with the partitioned refreshing of the screen, in subsequent refreshing processes, it is impossible to ensure that the displays of two partitions are always synchronized; when the displays of two partitions are no longer synchronized, problems such as screen flashing and tearing may occur. Therefore, ensuring the synchronization when at least two partitions need to be refreshed simultaneously is very important for the display effect consistency. Optionally, the screen can ensure the synchronization when at least two partitions need to be refreshed simultaneously through the constraint of the display effect consistency.

[0113] (2) The constraint of display effect consistency means that in order to ensure the display effect consistency, when some constraint conditions are met, the screen will force more partitions or all content to be refreshed. Optionally, the screen no longer divides the area for refreshing this frame of the picture, but performs a global refresh, which can facilitate the realization of display synchronization in subsequent refreshing processes. Another option is that although the SOC detects that partition 1 needs to be refreshed, the screen may forcefully refresh partition 1 and partition 2 corresponding to the constraint conditions to ensure the display synchronization of partition 1 and partition 2.

[0114] Among them, some possible constraint conditions include but are not limited to:

[0115] Constraint condition 1): The switching timing of the refresh rate.

[0116] Exemplarily, the screen achieves a low refresh rate refresh by gradually reducing the screen frame rate to the target refresh rate, thereby avoiding abnormal display problems such as screen flickering and tearing. For example, if the screen frame rate is 120Hz and the target refresh rate is 10Hz, the refresh rate in the low refresh rate area can be reduced from 120Hz to 60Hz, then to 30Hz, and finally to 10Hz. Therefore, in the process of gradually reducing the refresh rate, the screen can be forced to refresh all content each time the refresh rate is switched.

[0117] In another example, as the displayed content changes, the refresh rate may also change accordingly. For example, the refresh rate corresponding to display content 1 is 10 Hz, and the refresh rate corresponding to display content 2 is 30 Hz. When displaying content 1 to display content 2, the refresh rate will switch from 10 Hz to 30 Hz. Therefore, when the refresh rate is switched, the screen can be forced to refresh all content.

[0118] Constraint 2) The partition changes.

[0119] Exemplarily, the partition division result changes. Optionally, the partition change can be performed in response to user operations, such as the user dragging the display position of the small window to adjust the distribution of the live screen playback area and the comment display area. Another option is that the partition change can also be performed automatically when a preset condition is detected, such as a scene where a bullet screen is superimposed in the video playback interface. Since the refresh rate of the video and the refresh rate of the bullet screen are generally inconsistent, the partition may be switched back and forth. Therefore, when the partition changes, the screen can be forced to refresh all the content.

[0120] Constraint 3) Self-refresh based on low refresh rate.

[0121] Exemplarily, the screen includes multiple partitions belonging to multiple different refresh rates, and self-refresh can be performed based on the lowest refresh rate among the multiple refresh rates. For example, the multiple different refresh rates may include 120Hz, 60Hz, and 10Hz, and the screen can be refreshed in full screen based on 10Hz to achieve self-refresh. Therefore, when a refresh opportunity of 10Hz is detected, the screen can be forced to refresh all content.

[0122] Optional, Figure 4 A flowchart of a screen partition refresh method provided in an embodiment of the present application. The method can be applied to electronic devices, Figure 4 The processing performed by the SOC and the screen included in the electronic device is introduced in the following; wherein the SOC can be, for example, Figure 2 The processor 230 shown in FIG. 1 or integrated in FIG. Figure 2 In the processor shown in FIG. , the screen may be, for example, Figure 2 The display panel 261 shown in FIG. The process may include the following steps:

[0123] Step 401: The SOC detects whether there is a picture sending and refreshing. Here, the picture sending and refreshing can be understood as the update of the image frame, that is, whether there is an updated image frame that needs to be sent to the screen for display. It can be understood that in a scenario without picture sending and refreshing, the SOC does not send updated data to the screen.

[0124] Optionally, according to the scenarios with and without picture sending and refreshing, the following several possible processing methods may be included. Optionally, in a scenario without picture sending and refreshing, the following processing method 1 can be referred to. Another option is that in a scenario with picture sending and refreshing, the following processing methods 2 and 3 can be referred to.

[0125] Processing method 1

[0126] Step 402: The SOC detects whether at least one constraint condition is satisfied. Exemplarily, during the screen refreshing process, it is necessary to ensure the consistency of the display effects of each area included in the screen. Therefore, there is a constraint on the consistency of the display effects of the screen. For specific details, reference can be made to the introduction content of the constraint on the consistency of the display effects in the foregoing embodiments. Optionally, when the SOC detects that the current refreshing timing satisfies at least one constraint condition, it can be determined that screen refreshing is required.

[0127] For example, Figure 5A is a timing diagram of a screen partition refreshing method provided by an embodiment of the present application. As Figure 5A shown in the timing range corresponding to the dashed box 501, the refreshing timing of the screen display refreshing satisfies the constraint condition 1 that the low refresh rate area drops from 60 Hz to 30 Hz. Since the SOC detects no picture sending and refreshing, through step 402, it can be detected that the constraint condition 1 is satisfied. As Figure 5A shown in the timing range corresponding to the dashed box 502, the refreshing timing of the screen display refreshing satisfies the constraint condition 1 that the low refresh rate area drops from 30 Hz to 10 Hz. Since the SOC detects no picture sending and refreshing, through step 402, it can be detected that the constraint condition 1 is satisfied. It should be understood that the timing diagram shown as Figure 5A is a partial timing diagram included in the screen refreshing process.

[0128] Another example, Figure 5B is another timing diagram of a screen partition refreshing method provided by an embodiment of the present application. As Figure 5B shown in the timing range corresponding to the dashed box 503, the refreshing timing of the screen display refreshing satisfies the constraint condition 3 of self-refreshing based on 10 Hz. Since the SOC detects no picture sending and refreshing, through step 402, it can be detected that the constraint condition is satisfied. It can be understood that 10 Hz is the lowest refresh rate among multiple refresh rates included in the screen. It should be understood that Figure 5BOnly the timing processing corresponding to the dashed box 503 is shown, and the processing of other timings is not shown.

[0129] Step 403, the SOC generates a self-refresh command. Combining Figure 5A with the shown timing diagram, at the refresh timing included in the dashed box 501 and the dashed box 502, since the SOC detects no picture-sending refresh, a self-refresh command can be generated before the refresh timing.

[0130] Combining Figure 5B with the shown timing diagram, at the refresh timing included in the dashed box 503, since the SOC detects no picture-sending refresh, a self-refresh command can be generated before the refresh timing.

[0131] Step 404, the SOC sends a self-refresh command to the screen. Among them, the self-refresh command can be used to instruct the screen to perform screen refresh.

[0132] Optionally, the self-refresh command provided by the embodiments of the present application can be used to instruct the screen to refresh all display contents. At this time, the screen can read all display data of the screen from a data cache location such as the memory 240, etc., to implement the refresh of the global area of the screen. Among them, all display data included in the data cache location can be, for example, data corresponding to the previous frame display interface.

[0133] Another option is that the self-refresh command provided by the embodiments of the present application can be used to instruct the screen to refresh the display contents of at least one partition. At this time, the screen can read the display data corresponding to the at least one partition from a data cache location such as the memory 240, etc., to implement the refresh of the local area of the screen. Exemplarily, the self-refresh command can further include position indication information of the at least one partition, and the position indication information can be used for the screen to read display data.

[0134] Through processing method one, it can be realized that in the scenario of no picture-sending refresh, when the SOC detects that at least one constraint condition is met, a self-refresh command is generated, so that the screen can perform screen refresh according to the self-refresh command from the SOC. In this way, due to abnormal states such as missing caused by fluctuations in the picture-sending refresh frequency, in the scenario of no picture-sending refresh, the display effect consistency can also be ensured through the self-refresh command.

[0135] Processing method two

[0136] Step 405, the SOC detects whether it is a partial refresh. Optionally, when it is detected that it is not a partial refresh, step 406 can be continued, that is, processing method two is executed; among them, not being a partial refresh can also be understood as a global refresh. Another option is that when it is detected that it is a partial refresh, steps 407 and 410B can be continued, that is, processing method three is executed.

[0137] Step 406, the SOC sends global data to the screen. For example, Figure 6 This is another timing diagram of a screen partitioning refresh method provided by an embodiment of the present application. As Figure 6 shown in the dashed box 601 including the refresh timing, when the SOC detects that all screen areas need to be refreshed, it sends global data to the screen through MIPI.

[0138] Processing method three

[0139] Step 407, the SOC calculates the original refresh area according to the dirty area. Among them, the dirty area refers to the area where the content is updated when comparing two consecutive frames of pictures, and the dirty area can also be called the dirty region. For example Figure 5A , Figure 5B and Figure 6 the rectangular blocks corresponding to the local area refresh shown in, which can be used to represent the dirty area, that is, compared with the previous adjacent image frame, there is a region where the display content is refreshed in the current image frame.

[0140] Optionally, in step 408, the SOC adjusts the original refresh area according to the constraint of display effect consistency to obtain the target refresh area. Among them, the target refresh area and the original refresh area may be the same or different. Optionally, when the original refresh area is adjusted according to the constraint of display effect consistency, the target refresh area is different from the original refresh area. Another option is that when the original refresh area is not adjusted according to the constraint of display effect consistency, the target refresh area is the same as the original refresh area, that is, the original refresh area. For the convenience of understanding, the target refresh area is used for introduction in the following embodiments.

[0141] For example, Figure 7 This is another timing diagram of a screen partitioning refresh method provided by an embodiment of the present application. As Figure 7 shown in the timing range corresponding to the dashed box 701, the SOC detects that there is a picture sending and refreshing, and detects that it is a local refresh. The original refresh area of the area to be refreshed is 700a; according to the constraint of display effect consistency, the refresh timing of the screen display refresh meets the constraint condition 1 that the low refresh rate area drops from 60Hz to 30Hz. Therefore, the SOC can adjust the original refresh area 700a to obtain the target refresh area 700b. For example, the target refresh area 700b can be the full screen area.

[0142] Optionally, the target refresh area can be the full screen area. Another option is that the target refresh area can also be an area larger than the original refresh area; for example, the original refresh area may only include the low refresh rate area, and the target refresh area may include not only the low refresh rate area but also the medium refresh rate area.

[0143] Step 409, the SOC detects whether there is a change in the target refresh area. Exemplarily, the SOC can detect whether there is a change in the target refresh area included in two image frames. For example, the target refresh area of image frame 1 is the low refresh rate area, and the target refresh area of image frame 2 is the medium refresh rate area. Image frame 1 is the previous adjacent frame of image frame 2. Therefore, the target refresh area of image frame 2 has changed compared to image frame 1. Another example, the target refresh area of image frame 3 is the high refresh rate area, and the target refresh area of image frame 4 is the high refresh rate area. Image frame 3 is the previous adjacent frame of image frame 4. Therefore, the target refresh area of image frame 4 has not changed compared to image frame 3.

[0144] It can be understood that according to constraint condition 2 of the display effect consistency introduced in the foregoing content, when there is a change in the target refresh area, a forced full-screen refresh will be triggered. However, in the embodiments of the present application, when the SOC detects that there is a change in the target refresh area, the following step 410A can be continued, so that when the target refresh area is a local area, the screen can maintain the refresh of the local area, thereby saving the power consumption of the screen. For example, Figure 7 Within the time sequence range corresponding to the dashed box 702 shown, the target refresh area 702b has changed compared to the target refresh area 702a. According to constraint condition 2 of the display effect consistency, when there is a change in the target refresh area, a forced full-screen refresh will be triggered. In the embodiments of the present application, through the following steps 410A to 414, it can be realized that only a local area of the screen is refreshed, thereby saving the power consumption of the screen.

[0145] In addition, it should be noted that when the original refresh area is not adjusted through step 408, the target refresh area in step 409 is also the original refresh area.

[0146] Step 410A, the SOC generates a local area refresh command. It can be understood that when it is detected through step 409 that the target refresh area has changed, a local area refresh command is generated; wherein, the local area refresh command can be used to indicate a local screen refresh. In this way, the screen does not need to perform a forced global refresh when there is a change in the screen refresh area.

[0147] Optionally, the local area refresh command includes position indication information of the target refresh area, and the position indication information can be used by the screen to determine the refresh position corresponding to the local area data.

[0148] Step 410B, the SOC generates a local area transfer command. The local area transfer command can be used for the SOC to transfer the display data of the local area with updates to the screen. It should be noted that in the embodiments of the present application, the execution order of Step 410B and Steps 407 to 410A is not limited. For example, Step 410B can be executed by one process, and Steps 407 to 410A can be executed by another process. Another example is that Step 410B can be executed first, and then Steps 407 to 410A can be executed.

[0149] Step 411, the SOC sends the local area data and the local area refresh command to the screen. Exemplarily, in response to the local area transfer command, the SOC sends the local area data to the screen; and the SOC sends the local area refresh command to the screen, so that the screen does not need to perform a forced global refresh.

[0150] In addition, the screen can be integrated with or connected to a display driver IC (DDIC). Through the DDIC, the screen can perform the following Steps 412 to 414:

[0151] Step 412, the screen detects whether there is a local refresh area according to the self-refresh command, or the global data, or the local area data and the local area refresh command.

[0152] Optionally, when the screen does not detect a local refresh area, Step 413 can be continued. For example, when the screen receives the global data, it is determined that no local refresh area is detected. Another example is that when the screen receives the self-refresh command, it can also be determined that no local refresh data is detected. Or for example, when the screen receives the self-refresh command, and the position indication information included in the self-refresh command is used to indicate the global refresh area, it can also be determined that no local refresh area is detected.

[0153] Another option is that when a local refresh area is detected, Step 414 can be continued. For example, when the screen receives the local area refresh command, it is determined that a local refresh area is detected. Another example is that when the screen receives the self-refresh command, and the position indication information included in the self-refresh command is used to indicate the local refresh area, it can also be determined that a local refresh area is detected.

[0154] Step 413, the screen refreshes the global area data. Exemplarily, when the screen receives the self-refresh command, it can respond to the self-refresh command, read the display data corresponding to the full screen area from the cache, and refresh the full screen content based on the read display data. Another example is that when the screen receives the global data, it can refresh the full screen content based on the received global data.

[0155] Step 414, the screen refreshes the data of the target area. Exemplarily, when the screen receives a local area refresh command and local area data, it can respond to the local area refresh command and refresh the target refresh area based on the received local area data. Another exemplarily, when the screen receives a self-refresh command, it can respond to the self-refresh command, read the display data corresponding to the local area from the cache, and refresh the target refresh area based on the read display data; wherein, the target refresh area can be indicated by the self-refresh command.

[0156] Through processing method three, when the SOC detects that the condition is met, a local area refresh command can be generated on the SOC side, and the local area of the screen can be refreshed through the local area refresh command. In this way, the forced full-screen refresh caused by each partition change can be reduced, thereby reducing the power consumption of the screen.

[0157] In a possible scenario, Figure 8 This is a schematic diagram of screen partitioning provided by an embodiment of the present application. As Figure 8 The interface 810 included therein can divide the screen into a low refresh rate area of 10 Hz, a high refresh rate area of 60 Hz, and a medium refresh rate area of 30 Hz. The following Figures 9A to 9C introduces several possible screen refresh processes.

[0158] For example, Figure 9A This is a timing diagram of a screen partitioning refresh method provided by an embodiment of the present application. This timing is used to indicate that the screen starts to enter the partition local refresh mode from the 60 Hz full-screen refresh mode. Among them,

[0159] Refresh timing 901 to refresh timing 903: The screen is in the full-screen refresh mode and performs global refresh. It can be understood that in the global refresh mode, the SOC sends global data to the screen through MIPI.

[0160] Refresh timing 904 to refresh timing 906: Starting from refresh timing 904, the screen starts the partition local refresh mode, and the medium refresh rate area and the low refresh rate area start to gradually decrease the refresh rate. For example, the medium refresh rate area decreases from 60 Hz to 30 Hz, and the low refresh rate area also decreases from 60 Hz to 30 Hz. It can be understood that in the partition local refresh mode, the SOC can obtain updated local data and send the local data to the screen through MIPI. Correspondingly, the screen can refresh the local data. Refer to Figure 4As introduced, when the SOC detects a local refresh scenario and the target refresh area changes (e.g., from the global area to only the high refresh rate area), it can indicate a local area refresh command to the screen. Through the local area refresh command, the screen can be refreshed without a forced full-screen refresh when the refresh rate decreases. Additionally, during the refresh timing from 904 to 906, the lowest refresh rate among the multiple refresh rates included in the screen is 30 Hz. Therefore, the refresh timing 905 meets Constraint 3, and the original refresh area corresponding to the refresh timing 905 can be adjusted according to Step 408 to obtain the target refresh area. For example, Figure 9A as shown, the original refresh area corresponding to the refresh timing 905 is a local area, and the target refresh area is the global area.

[0161] It can be understood that during the process of gradually decreasing the refresh rate, there is no limit on the number of times the screen is refreshed at the intermediate refresh rate. For example, if the intermediate refresh rate is 30 Hz, it can be refreshed once at 30 Hz, or after being refreshed multiple times, it can be decreased to the next lower refresh rate.

[0162] For another example, Figure 9B FIG. 10 is a timing diagram of a screen partition refresh method provided by an embodiment of the present application. This timing is used to indicate the process of gradually decreasing the low refresh rate area in the partition local refresh mode of the screen. Among them,

[0163] Refresh timing 907 to refresh timing 909: The medium refresh rate area decreases to the target refresh rate, and the refresh rate of the low refresh rate area is in the process of gradually decreasing. For example, the medium refresh rate area has decreased to the target refresh rate of 30 Hz, and the low refresh rate area is still being refreshed at the intermediate refresh rate of 30 Hz and has not yet decreased to the target refresh rate of 10 Hz.

[0164] Among them, during the process of refresh timing 907 to refresh timing 909, the lowest refresh rate among the multiple refresh rates included in the screen is still 30 Hz. Therefore, the refresh timing 907 meets Constraint 3, and the original refresh area corresponding to the refresh timing 907 can be adjusted according to Step 408 to obtain the target refresh area. For example, Figure 9B as shown, the original refresh area corresponding to the refresh timing 907 is a local area, and the target refresh area is the global area.

[0165] The refresh timing 909 is the switching timing of the refresh rate of the low refresh rate area, that is, it meets Constraint 1. The original refresh area corresponding to the refresh timing 909 can be adjusted according to Step 408 to obtain the target refresh area. For example, Figure 9BAs shown, the original refresh area corresponding to refresh time 909 is a local area, and the target refresh area is a global area. Therefore, the SOC can send the display data of the local area with updates to the screen and indicate the position of the target refresh area through the local area refresh command, so as to achieve the refresh of the target refresh area on the screen. Among them, the display data corresponding to the area in the target refresh area that does not belong to the original refresh area can be obtained by the screen from the cache.

[0166] Refresh times 910 to 915: The medium refresh rate area is reduced to the target refresh rate, and the refresh rate of the low refresh rate area is also reduced to the target refresh rate. For example, the medium refresh rate area has been reduced to 30 Hz, and the low refresh rate area has been reduced to 10 Hz. Among them, during the process from refresh time 910 to 915, the lowest refresh rate among the multiple refresh rates included in the screen is 10 Hz. Therefore, refresh time 915 meets constraint condition 3, and the original refresh area corresponding to refresh time 915 can be adjusted according to step 408, so as to obtain the target refresh area, as Figure 9B shown, the original refresh area corresponding to refresh time 915 is a local area, and the target refresh area is a global area.

[0167] For another example, Figure 9C is a timing diagram of a screen partition refresh method provided by an embodiment of the present application. This timing is used to indicate the process in which each partition included in the screen partition local refresh mode is stably refreshed at the corresponding refresh rate. Among them,

[0168] Refresh times 916 to 922: Each refresh rate area is stably refreshed at the corresponding refresh rate. Among them, the low refresh rate area performs self-refresh. For example, at refresh times 916 and 922, even if the screen does not receive the updated data of the low refresh rate area sent by the SOC, the low refresh rate area will be refreshed, or the full screen area including the low refresh rate area will be refreshed to ensure the consistency of the display effect. Among them, during the process from refresh time 916 to 922, the lowest refresh rate among the multiple refresh rates included in the screen is 10 Hz. Therefore, refresh times 916 and 922 meet constraint condition 3, and the original refresh areas corresponding to refresh times 916 and 922 can be adjusted according to step 408, so as to obtain the target refresh area, as Figure 9C shown, the original refresh areas corresponding to refresh times 916 and 922 are local areas, and the target refresh areas are global areas.

[0169] In another possible scenario, considering that the hardware of the screen can support a limited number of refresh rate levels, for example, only two refresh rate levels are supported. In the embodiments of the present application, the refresh rate of more levels can also be achieved by adjusting the refresh area. It can be understood that this method can also be applied to scenarios where the refresh rate cannot be achieved by the hardware of the screen. For example, the hardware of the screen supports multiple refresh rate levels, and the target set refresh rate of an application cannot be directly achieved by the hardware.

[0170] For example, Figure 10 is another schematic diagram of screen partitioning provided by the embodiments of the present application. As Figure 10 shown in the included interface 1010, the screen can be divided into a low refresh rate area of 10 Hz, a high refresh rate area of 60 Hz, a high refresh rate area of 120 Hz, a medium refresh rate area of 30 Hz, and a low refresh rate area of 1 Hz.

[0171] Taking the example that the hardware of the screen only supports refresh rates of 120 Hz and 10 Hz, 60 Hz and 30 Hz can be achieved by the hardware with a 120 Hz refresh rate, and 1 Hz can be achieved by the hardware with a 10 Hz refresh rate.

[0172] For example, Figure 11A is a schematic diagram of refresh area adjustment provided by the embodiments of the present application. As Figure 11A shown, the refresh of the 120 Hz refresh rate area can be achieved based on the hardware function of the screen; the refresh of the 60 Hz refresh rate area can be based on the 120 Hz refresh rate area. For every two frames of images refreshed, the target refresh area is adjusted to include the 120 Hz refresh rate area and the 60 Hz refresh rate area, so that the refresh of the 60 Hz refresh rate area can be achieved based on the hardware with a 120 Hz refresh rate; the refresh of the 30 Hz refresh rate area can be based on the 120 Hz refresh rate area. For every four frames of images refreshed, the target refresh area is adjusted to include the 120 Hz refresh rate area and the 30 Hz refresh rate area, so that the refresh of the 30 Hz refresh rate area can be achieved based on the hardware with a 120 Hz refresh rate.

[0173] As Figure 11A shown, the target refresh area corresponding to the first frame of image includes: the 60 Hz refresh rate area, the 120 Hz refresh rate area, and the 30 Hz refresh rate area; the target refresh area corresponding to the second frame of image includes: the 120 Hz refresh rate area; the target refresh area corresponding to the third frame of image includes: the 60 Hz refresh rate area and the 120 Hz refresh rate area; the target refresh area corresponding to the fourth frame of image includes: the 120 Hz refresh rate area; the target refresh area corresponding to the fifth frame of image includes: the 60 Hz refresh rate area, the 120 Hz refresh rate area, and the 30 Hz refresh rate area; and so on...

[0174] For example,Figure 11B Another schematic diagram of refresh area adjustment provided by an embodiment of the present application. As Figure 11B shown, the refresh of the 10Hz refresh rate area can be implemented based on the hardware function of the screen; the refresh of the 1Hz refresh rate area can be based on the 10Hz refresh rate area. For every ten frames of images refreshed, the target refresh area is adjusted to include the 10Hz refresh rate area and the 1Hz refresh rate area, so that the refresh of the 1Hz refresh rate area can be achieved based on the hardware of the 10Hz refresh rate.

[0175] As Figure 11B shown, the target refresh area corresponding to the first frame of image includes: the 10Hz refresh rate area, the 1Hz refresh rate area; the target refresh areas corresponding to the second frame of image to the tenth frame of image include: the 10Hz refresh rate area; the target refresh area corresponding to the eleventh frame of image includes: the 10Hz refresh rate area; and so on...

[0176] Through Figures 10 to 11B the content introduced above, the method provided by the embodiment of the present application can achieve zoning of more refresh rates by adjusting the target refresh area. And, combined with Figure 4 the content introduced above, when the target refresh area is obtained in a scenario based on local refresh, the SOC can also send a local area refresh command to the screen, so that the data of the local area of the screen can be realized, saving the power consumption of the screen.

[0177] Figure 12 Another process schematic diagram of a screen zoning refresh method provided by an embodiment of the present application. This process can be applied to an electronic device, and the electronic device can at least include a processor and a screen; wherein, the processor is, for example, the SOC introduced in the foregoing embodiment. This process can include the following steps:

[0178] Step 1201: 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 of image is different from the second target refresh area to be refreshed in the second frame of image, the first target refresh area is a local area, and the second frame of image is the previous frame of image adjacent to the first frame of image.

[0179] Step 1202: The screen refreshes the first target refresh area according to the local area refresh command.

[0180] It should be noted that the specific implementation processes of step 1201 and step 1202 can refer to the Figures 4 to 11B content introduced above, and will not be elaborated here.

[0181] Based on the above embodiments, the present application further provides an electronic device, which includes a plurality of functional modules; the plurality of functional modules interact with each other to implement the functions performed by the electronic device in each method described in the embodiments of the present application. The plurality of functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules can be arbitrarily combined or divided based on specific implementations. For example, execute Figure 4 Steps 401 to 414 executed by the electronic device in the embodiment shown, or execute Figure 12 Steps 1201 to 1202 executed by the electronic device in the embodiment shown.

[0182] Based on the above embodiments, the present application further provides an electronic device, which includes at least one processor and at least one memory. Computer program instructions are stored in the at least one memory. When the electronic device runs, the at least one processor executes the functions performed by the electronic device in each method described in the embodiments of the present application. For example, execute Figure 4 Steps 401 to 414 executed by the electronic device in the embodiment shown, or execute Figure 12 Steps 1201 to 1202 executed by the electronic device in the embodiment shown.

[0183] Based on the above embodiments, the present application further provides a computer program product, which includes: a computer program (which can also be referred to as code or instructions). When the computer program runs, it causes the computer to execute each method described in the embodiments of the present application.

[0184] Based on the above embodiments, the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, it causes the computer to execute each method described in the embodiments of the present application.

[0185] Based on the above embodiments, the present application further provides a chip, which is used to read the computer program stored in the memory to implement each method described in the embodiments of the present application.

[0186] Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the various methods described in the embodiments of the present application. In a possible design, the chip system further includes a memory for storing the necessary programs and data of the computer device. The chip system can be composed of chips or can include chips and other discrete devices. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) that include computer-usable program code.

[0187] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in one or more flows of the flowchart and / or one or more blocks of the block diagram.

[0188] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device that implements the functions specified in one or more flows of the flowchart and / or one or more blocks of the block diagram.

[0189] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more flows of the flowchart and / or one or more blocks of the block diagram.

[0190] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the protection scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these changes and modifications.

Claims

1. A method for refreshing a screen partition, characterized in that, Applied to an electronic device, the electronic device includes a processor and a screen, and includes: 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 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.

2. The method according to claim 1, wherein The method further includes: The processor sends first area display data to the screen; wherein, the first area display data corresponds to an original refresh area in the first frame image, and the first target refresh area is greater than or equal to the original refresh area.

3. The method according to claim 2, wherein The electronic device further includes a memory. When the first target refresh area is greater than the original refresh area, the method further includes: The screen reads second area display data corresponding to an area other than the original refresh area in the first target refresh area from the memory; The refreshing of the first target refresh area includes: Refreshing the original refresh area according to the first area display data; Refreshing an area other than the original refresh area in the first target refresh area according to the second area display data.

4. The method according to claim 2 or 3, characterized in that, The method further includes: The processor obtains the original refresh area according to a dirty area where the first frame image has changed compared to the second frame image; The processor adjusts 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 synchronously refreshed, and the first target refresh area includes the original refresh area and the at least one constraint area.

5. The method according to claim 4, wherein The preset rule includes: a refresh timing for reaching a first constraint area; Wherein, the first constraint area 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.

6. The method according to claim 4 or 5, characterized in that, The preset rule includes at least one of the following rules: A refresh rate switching timing for reaching a second constraint area with a third refresh rate; wherein, the third refresh rate is the target refresh rate of the second constraint area; A self-refresh timing for reaching a third constraint area with a fourth refresh rate; wherein, the fourth refresh rate is the lowest refresh rate among multiple refresh rates included in the screen.

7. The method according to any one of claims 1 to 5, characterized in that, The local area refresh command includes first position indication information, and the first position indication information is used to indicate the display position of the first target refresh area on the screen.

8. A screen partition refreshing method, characterized in that, Applied to an electronic device, the electronic device includes a processor and a screen, and includes: When the processor does not send display data to the screen, and it is detected that a preset rule is satisfied, a self-refresh command is sent to the screen; wherein, the preset rule is used to determine that there is at least one constraint area that needs to be refreshed; The screen refreshes the at least one constrained area according to the self - refresh command.

9. The method according to claim 8, wherein The self - refresh command includes second position indication information for indicating the display position of the at least one constrained area in the screen.

10. The method according to claim 8 or 9, characterized in that, The electronic device further includes a memory; the method further includes: The screen reads the third area display data corresponding to the at least one constrained area from the memory. The refreshing of the at least one constrained area includes: Refreshing the at least one constrained area according to the third area display data.

11. The method according to any one of claims 8 to 10, characterized in that, The preset rule includes: the refresh timing for reaching the first constrained area; Wherein, the first constrained area has a first refresh rate that the screen does not support; 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.

12. 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 for reaching the second constrained area with a third refresh rate; wherein, the third refresh rate is the target refresh rate of the second constrained area; The self - refresh timing for reaching the third constrained area with a fourth refresh rate; wherein, the fourth refresh rate is the lowest refresh rate among the multiple refresh rates included in the screen.

13. A method for refreshing a screen partition, characterized in that, Applied to an electronic device, it includes: Determining a first target refresh area to be refreshed in a first frame image; wherein, the first target refresh area is a local area in the screen included in the electronic device. When it is detected that the first target refresh area is different from a second target refresh area to be refreshed in a second frame image, generating a local area refresh command; 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.

14. The method according to claim 13, wherein The determining of the first target refresh area in the first frame image includes: Obtaining an original refresh area in the first frame image according to the dirty area where the first frame image has changed compared to the second frame image. 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 at least one constrained area needs to be synchronously refreshed, and the first target refresh area includes the original refresh area and the at least one constrained area.

15. The method according to claim 14, wherein The preset rule includes: the refresh timing for reaching the first constrained area; Wherein, the first constrained area has a first refresh rate that the screen does not support; 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.

16. The method according to claim 13 or 14, characterized in that, The preset rule includes at least one of the following rules: The refresh rate switching timing for reaching the second constrained area with a third refresh rate; wherein, the third refresh rate is the target refresh rate of the second constrained area; The self - refresh timing for reaching the third constrained area with a fourth refresh rate; wherein, the fourth refresh rate is the lowest refresh rate among the multiple refresh rates included in the screen.

17. The method according to any one of claims 13 to 16, characterized in that, The local area refresh command includes position indication information for indicating the display position of the first target refresh area on the screen.

18. 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: Detecting that there is picture transmission for refreshing; Detecting that the first frame image undergoes local area refresh.

19. The method according to any one of claims 13 to 17, characterized in that, The method further includes: When it is detected that there is no picture transmission for refreshing and the self-refresh timing of the fourth refresh rate is reached, generating a self-refresh command; wherein the self-refresh command is used to instruct the screen to refresh a third target refresh area, and the third target refresh area includes an area having the fourth refresh rate.

20. An electronic device, characterized in that, Comprising at least one processor, the at least one processor being 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 execute the method according to any one of claims 1 to 7, or execute the method according to any one of claims 8 to 12, or execute the method according to any one of claims 13 to 19.

21. A computer-readable storage medium, characterized in that, Instructions are stored in the computer-readable storage medium, which, when running on a computer, cause the computer to execute the method according to any one of claims 1 to 7, or execute the method according to any one of claims 8 to 12, or execute the method according to any one of claims 13 to 19.

22. A computer program product comprising instructions, characterized in that, When the computer program product runs on a computer, it causes the computer to execute the method according to any one of claims 1 to 7, or execute the method according to any one of claims 8 to 12, or execute the method according to any one of claims 13 to 19.

Citation Information

Cited By

  • Partition display method of electronic equipment and electronic equipment

    CN121708876A