Prediction method and prediction device for screen update area, storage medium and processor

By acquiring the update area position information of multiple frames of the LCD screen, analyzing the position change trend between adjacent frames, predicting and adjusting the update area of ​​the LCD screen, the problem of inconsistent display effect when the LCD screen is refreshed in sections is solved, and high-quality display and low power consumption are achieved.

CN121999731APending Publication Date: 2026-05-08ANALOGIX CHINA SEMICON +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ANALOGIX CHINA SEMICON
Filing Date
2026-01-22
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Existing technologies make it difficult to predict and pre-compensate for the update area of ​​an LCD screen in advance, leading to polarity imbalance and inconsistent display effects.

Method used

By acquiring the update area position information of multiple frames on the screen, analyzing the position change trend between adjacent frames, predicting the position change of the update area, and performing corresponding compensation and adjustments, including color calibration, screen timing adjustment, and liquid crystal polarity flipping.

Benefits of technology

To ensure that different refresh areas maintain good display quality during partitioned refresh, avoid visual defects caused by polarity imbalance, and achieve optimal display effect and low power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121999731A_ABST
    Figure CN121999731A_ABST
Patent Text Reader

Abstract

The invention provides a screen update area prediction method and device, a storage medium and a processor, and the method comprises the steps: obtaining the position information of update areas corresponding to a plurality of frames of a screen, the position information comprising a starting position and an ending position; according to the comparison result of the first initial position and the second initial position of the updating area of multiple sets of adjacent frames in the multiple frames and the comparison result of the first end position and the second end position of the multiple sets of adjacent frames, the updating trend of the screen is determined, and the adjacent frames comprise the first frame before the screen is updated and the second frame after the screen is updated. The first starting position and the first ending position are position information of an updating area of the first frame, and the second starting position and the second ending position are position information of an updating area of the second frame; and determining the position of the update area of the screen according to the update trend and a preset relationship. The problem that the display effect of the screen is inconsistent when the screen is subjected to partition refreshing in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display technology, and more specifically, to a method for predicting screen update areas, a device for predicting screen update areas, a computer scale storage medium, and a processor. Background Technology

[0002] With the continuous development of technology, screen manufacturers now use partitioned refresh displays based on updated content to reduce power consumption. However, this method places extremely high demands on the screen. For LCD screens, it is necessary to control the polarity reversal time of the liquid crystal to ensure that different refresh areas can maintain polarity balance. However, existing technologies make it difficult to predict the updated areas in advance and pre-compensate for polarity, resulting in an imbalance of liquid crystal polarity and inconsistent display effects. Summary of the Invention

[0003] The main objective of this application is to provide a method for predicting screen update areas, a device for predicting screen update areas, a computer scale storage medium, and a processor, so as to at least solve the problem of inconsistent screen display effects when the screen is partitioned for refresh in the prior art.

[0004] To achieve the above objectives, according to one aspect of this application, a method for predicting screen update regions is provided, comprising: acquiring position information of update regions corresponding to multiple frames of the screen, the position information including start position and end position; determining a screen update trend based on a comparison result of a first start position and a second start position of update regions in multiple sets of adjacent frames, and a comparison result of a first end position and a second end position of multiple sets of adjacent frames, wherein the adjacent frames include a first frame before screen update and a second frame after screen update, the first start position and the first end position are the position information of the update region of the first frame, the second start position and the second end position are the position information of the update region of the second frame, and the second frame of the previous set of adjacent frames is the first frame of the next set of adjacent frames; and determining the position of the screen update region based on the update trend and a preset relationship, the preset relationship being the relationship between the update trend and the position of the update region.

[0005] Optionally, the screen update trend is determined based on the comparison results of the first start position and the second start position of multiple sets of adjacent frames in multiple frames, and the comparison results of the first end position and the second end position of multiple sets of adjacent frames. This includes: determining the starting state of the update region based on the comparison results of the first start position and the second start position of the update region in adjacent frames, where the starting state represents the positional relationship between the first start position and the second start position; determining the ending state of the update region based on the comparison results of the first end position and the second end position of the update region in adjacent frames, where the ending state represents the positional relationship between the first end position and the second end position; and determining the screen update trend based on the starting state and the ending state of multiple sets of adjacent frames.

[0006] Optionally, the starting state of the update region is determined based on the comparison result between the first starting position and the second starting position of adjacent frames, including: determining whether the first starting position is the same as the second starting position; if the first starting position is the same as the second starting position, the starting state is determined to be the first starting state; if the first starting position is different from the second starting position, determining whether the first starting position is greater than the second starting position; if the first starting position is greater than the second starting position, the starting state is determined to be the second starting state; if the first starting position is less than the second starting position, the starting state is determined to be the third starting state.

[0007] Optionally, the end state of the updated region is determined based on the comparison result between the first end position and the second end position of adjacent frames, including: determining whether the first end position is the same as the second end position; if the first end position is the same as the second end position, the end state is determined to be the first end state; if the first end position is different from the second end position, determining whether the first end position is greater than the second end position; if the first end position is greater than the second end position, the end state is determined to be the second end state; if the first end position is less than the second end position, the end state is determined to be the third end state.

[0008] Optionally, determining the screen update trend based on the start and end states of multiple groups of adjacent frames includes: determining whether multiple groups of adjacent frames satisfy a first condition in a preset order, wherein the first condition includes: adjacent frames having a preset start state and a preset end state, the preset start state including one of the following: a first start state, a second start state, and a third start state, and the preset end state including one of the following: a first end state, a second end state, and a third end state; if multiple groups of adjacent frames satisfy the first condition, incrementing the corresponding first condition count by 1; if adjacent frames do not satisfy the first condition, resetting the corresponding first condition count to zero; and if the count of the first condition is greater than or equal to a preset value, determining the screen update trend as the update trend of the corresponding first condition.

[0009] Optionally, the first condition includes a first sub-condition, a second sub-condition, a third sub-condition, a fourth sub-condition, a fifth sub-condition, a sixth sub-condition, a seventh sub-condition, an eighth sub-condition, and a ninth sub-condition. The first sub-condition includes adjacent frames having a first start state and a first end state; the second sub-condition includes adjacent frames having a first start state and a second end state; the third sub-condition includes adjacent frames having a first start state and a third end state; the fourth sub-condition includes adjacent frames having a second start state and a first end state; the fifth sub-condition includes adjacent frames having a second start state and a second end state; the sixth sub-condition includes adjacent frames having a second start state and a third end state; the seventh sub-condition includes adjacent frames having a third start state and a first end state; the eighth sub-condition includes adjacent frames having a third start state and a second end state; and the ninth sub-condition includes adjacent frames having a third start state and a third end state.

[0010] Optionally, if an adjacent frame satisfies the first condition, the corresponding first condition is incremented by 1; if an adjacent frame does not satisfy the first condition, the corresponding first condition is reset to zero. This includes: judging whether multiple groups of adjacent frames satisfy the first sub-condition in a preset order; if an adjacent frame satisfies the first sub-condition, the first sub-condition is incremented by 1; if any group of adjacent frames does not satisfy the first sub-condition, the first sub-condition is reset to zero, and the judgment continues according to the preset order to determine whether multiple groups of adjacent frames satisfy the second sub-condition; if multiple groups of adjacent frames satisfy the second sub-condition, the second sub-condition is incremented by 1; if any group of adjacent frames does not satisfy the second sub-condition... In the case where the second sub-condition is not satisfied, the count for the second sub-condition is reset to zero, and the process continues to judge whether multiple groups of adjacent frames satisfy the third sub-condition in a preset order. If multiple groups of adjacent frames satisfy the third sub-condition, the count for the third sub-condition is incremented by 1. If any group of adjacent frames does not satisfy the third sub-condition, the count for the third sub-condition is reset to zero, and the process continues to judge whether multiple groups of adjacent frames satisfy the fourth sub-condition in a preset order. If multiple groups of adjacent frames satisfy the fourth sub-condition, the count for the fourth sub-condition is incremented by 1. If any group of adjacent frames does not satisfy the fourth sub-condition, the count for the fourth sub-condition is reset to zero, and the process continues to judge whether multiple groups of adjacent frames satisfy the fifth sub-condition. If the condition is met, increment the counter for the fifth sub-condition by 1. If any group of adjacent frames does not meet the fifth sub-condition, reset the counter for the fifth sub-condition to zero, and continue to check if multiple groups of adjacent frames meet the sixth sub-condition according to the preset order. If multiple groups of adjacent frames meet the sixth sub-condition, increment the counter for the sixth sub-condition by 1. If any group of adjacent frames does not meet the sixth sub-condition, reset the counter for the sixth sub-condition to zero, and continue to check if multiple groups of adjacent frames meet the seventh sub-condition according to the preset order. If multiple groups of adjacent frames meet the seventh sub-condition, increment the counter for the seventh sub-condition by 1. If any group of adjacent frames does not meet the seventh sub-condition, reset the counter for the seventh sub-condition by 1. The sub-condition count is reset to zero, and the system continues to judge whether multiple groups of adjacent frames meet the eighth sub-condition according to a preset order. If multiple groups of adjacent frames meet the eighth sub-condition, the count of the eighth sub-condition is incremented by 1. If any group of adjacent frames does not meet the eighth sub-condition, the count of the eighth sub-condition is reset to zero, and the system continues to judge whether multiple groups of adjacent frames meet the ninth sub-condition according to a preset order. If multiple groups of adjacent frames meet the ninth sub-condition, the count of the ninth sub-condition is incremented by 1. If the count of any sub-condition is greater than or equal to a preset value, the screen update trend is determined to be the update trend of the sub-condition; or, if none of the multiple groups of adjacent frames meet all the sub-conditions, the screen is determined to have no update trend.

[0011] According to another aspect of this application, a screen update region prediction device is provided, comprising: an acquisition module, configured to acquire position information of update regions corresponding to multiple frames of the screen, the position information including start position and end position; a first determination module, configured to determine a screen update trend based on a comparison result of a first start position and a second start position of update regions of multiple sets of adjacent frames in the multiple frames, and a comparison result of a first end position and a second end position of multiple sets of adjacent frames, wherein the adjacent frames include a first frame before screen update and a second frame after screen update, the first start position and the first end position are the position information of the update region of the first frame, the second start position and the second end position are the position information of the update region of the second frame, and the second frame of the previous set of adjacent frames is the first frame of the next set of adjacent frames; and a second determination module, configured to determine the position of the screen update region based on the update trend and a preset relationship, the preset relationship being the relationship between the update trend and the position of the update region.

[0012] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is running, a method for predicting screen update areas is controlled to be executed by the device on which the computer-readable storage medium is located.

[0013] According to another aspect of this application, a processor is provided for running a program, wherein a method for predicting screen update areas is executed during program execution.

[0014] Applying the technical solution of this application, the position information of the update region corresponding to multiple frames of the screen is first obtained, including the start position and the end position. Based on the comparison results of the first start position and the second start position of the update region of multiple sets of adjacent frames, and the comparison results of the first end position and the second end position of multiple sets of adjacent frames, the screen update trend is determined. Adjacent frames include the first frame before the screen update and the second frame after the screen update. The first start position and the first end position are the position information of the update region of the first frame, and the second start position and the second end position are the position information of the update region of the second frame. The second frame of the previous set of adjacent frames is the first frame of the next set of adjacent frames. Based on the update trend and a preset relationship, the position of the screen update region is determined. The preset relationship is the relationship between the update trend and the position of the update region. By first obtaining the position information of the update region of multiple frames of the screen, including the start position and the end position, and then analyzing the changing trend of the position between adjacent frames based on this information, the solution achieves this. By comparing the changes in the start and end positions of the update regions in multiple adjacent frames, the update trend can be accurately determined. Whether it's upward expansion, downward contraction, or a fixed position, all patterns can be predicted. This allows for pre-emptive compensation and adjustments to the screen display during partitioned refresh, including but not limited to color calibration, screen timing adjustments, and liquid crystal polarity inversion, to achieve optimal display quality and low power consumption. This method ensures that different refresh areas maintain good display quality during partitioned refresh, avoiding visual defects caused by polarity imbalance, and thus solving the problem of inconsistent screen display during partitioned refresh in existing technologies. Attached Figure Description

[0015] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0016] Figure 1 A hardware structure block diagram of a mobile terminal for performing a prediction method for screen update areas according to an embodiment of this application is shown.

[0017] Figure 2 A flowchart illustrating a method for predicting screen update areas according to an embodiment of this application is shown.

[0018] Figure 3 A flowchart illustrating the determination of the starting state in a screen update area prediction method according to an embodiment of this application is shown.

[0019] Figure 4 A flowchart illustrating the process of determining the end state in a screen update area prediction method according to an embodiment of this application is shown.

[0020] Figure 5 A flowchart illustrating the process of determining the update status in a screen update area prediction method according to an embodiment of this application is shown.

[0021] Figure 6 A schematic diagram of the update trend in a first screen update area prediction method provided according to an embodiment of this application is shown;

[0022] Figure 7 A schematic diagram of the update trend in a second screen update area prediction method provided according to an embodiment of this application is shown;

[0023] Figure 8 A schematic diagram of the update trend in the third screen update area prediction method provided according to an embodiment of this application is shown;

[0024] Figure 9 A structural block diagram of a screen update area prediction device provided according to an embodiment of this application is shown;

[0025] The above figures include the following reference numerals:

[0026] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device; 100. Update area. Detailed Implementation

[0027] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0028] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0030] As described in the background section, it is difficult to predict and pre-compensate for the updated area in the prior art, which leads to an imbalance in the polarity of the liquid crystal and inconsistent display effects. In order to solve the problem of inconsistent display effects when the screen is refreshed in sections in the prior art, the embodiments of this application provide a method for predicting the screen update area, a device for predicting the screen update area, a computer scale storage medium, and a processor.

[0031] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0032] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a screen update area prediction method according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0033] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the screen update area prediction method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the aforementioned networks may include wireless networks provided by the mobile terminal's communication provider. In one instance, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0034] This embodiment provides a method for predicting screen update areas that runs on a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Also, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0035] Figure 2 This is a flowchart of a screen update area prediction method according to an embodiment of this application. Figure 2 As shown, the method includes the following steps:

[0036] Step S1: Obtain the position information of the update area corresponding to multiple frames of the screen. The position information includes the start position and the end position.

[0037] Specifically, the host computer on the control screen sends signals to the TCON chip, which then parses the signals to extract the position information that needs to be updated for each frame. This position information includes the starting line position and the number of lines to be updated, thus determining the start and end positions. This step allows the TCON to accurately determine the specific position of the updated portion in each frame, providing a basis for subsequent update trend judgment. By directly obtaining the position information, unnecessary calculations and signal parsing processes are avoided, improving processing efficiency.

[0038] Step S2: Based on the comparison results of the first start position and the second start position of the update region of multiple groups of adjacent frames in multiple frames, and the comparison results of the first end position and the second end position of multiple groups of adjacent frames, determine the screen update trend. The adjacent frames include the first frame before the screen update and the second frame after the screen update. The first start position and the first end position are the position information of the update region of the first frame, and the second start position and the second end position are the position information of the update region of the second frame. The second frame of the previous group of adjacent frames is the first frame of the next group of adjacent frames.

[0039] Specifically, after the TCON receives the position information of the update regions corresponding to multiple frames, it analyzes the stored frame update position information. By comparing the start and end line positions of the Nth and N+1th frames in adjacent frames, it records the changes in each comparison (i.e., whether the start and end positions have changed, and the direction of the change). If the update positions of multiple consecutive sets of adjacent frames (e.g., Nth to N+k frames, where k can be set according to actual needs) show regular changes, such as a continuous increase or decrease in the start position and a trend in the change of the end position, then it is considered that there is a certain update trend. The aforementioned adjacent frames include two frames. For example, the first adjacent frame includes the first and second frames, the second adjacent frame includes the second and third frames, the third adjacent frame includes the third and fourth frames, and so on.

[0040] Step S3: Determine the position of the update area on the screen based on the update trend and the preset relationship. The preset relationship is the relationship between the update trend and the position of the update area.

[0041] Specifically, after detecting an update trend, the system uses a preset relationship combined with the current update trend to calculate the location of the region most likely to need updating. The preset relationship is the correspondence between different update trends and expected position adjustments. For example, if the update position shows a downward trend for several consecutive frames, it indicates that the starting position of the next update region is more likely to be lower than the current frame, thus preparing data signals in advance and optimizing the refresh strategy.

[0042] This embodiment first acquires the position information of the update regions of multiple screen frames, including the start and end positions, and analyzes the changing trends of positions between adjacent frames based on this information. By comparing the changes in the start and end positions of the update regions of multiple sets of adjacent frames, the update trend can be accurately determined. Whether it is an upward expansion, downward contraction, or a fixed position, it can be predicted. This allows for corresponding compensation and adjustments to the screen display effect in advance during partitioned refresh, including but not limited to color calibration, screen timing adjustment, and liquid crystal polarity inversion, compensating for the impact of different refresh regions on the display effect to achieve optimal display effect and low power consumption requirements. This method ensures that different refresh regions can maintain good display effects during partitioned refresh, avoiding visual defects caused by polarity imbalance, and thus solving the problem of inconsistent screen display effects when partitioning the screen in the prior art.

[0043] In the specific implementation process, step S2 above determines the screen update trend based on the comparison results of the first start position and the second start position of multiple sets of adjacent frames in multiple frames, and the comparison results of the first end position and the second end position of multiple sets of adjacent frames. This can be achieved through the following steps:

[0044] Based on the comparison between the first and second starting positions of the update region in adjacent frames, the starting state of the update region is determined. The starting state represents the positional relationship between the first and second starting positions; the starting state can include the first and second starting positions being the same, the first starting position being less than the second starting position, or the first starting position being greater than the second starting position. The starting states of adjacent frames are first obtained, and then the update trend is determined based on the starting states and subsequent ending states. By determining the starting state, the capture of movement trends becomes more intuitive and accurate.

[0045] Based on the comparison between the first and second end positions of the update region in adjacent frames, the end state of the update region is determined. The end state represents the positional relationship between the first and second end positions; the end state can include the first and second end positions being the same, the first end position being smaller than the second end position, or the first end position being larger than the second end position. The end states of adjacent frames are obtained, and the update trend is jointly determined based on the previously obtained start states. By determining the end state, the trend of change in the size of the update region can be identified.

[0046] The screen update trend is determined by analyzing the start and end states of multiple adjacent frames. Considering the changes in start and end states allows for a more accurate assessment of the overall screen update trend. Based on these trends, data signals are preprocessed, and the refresh order and refresh depth are adjusted to ensure high-quality and consistent display effects, while significantly reducing unnecessary refresh operations and substantially lowering screen power consumption.

[0047] like Figure 3 As shown, when the signal changes in each frame, the first start position and first end position of that frame before the update, and the second start position and second end position after the update are received. The above steps: Based on the comparison results of the first start position and the second start position of adjacent frames, the starting state of the update region is determined, including:

[0048] The system determines whether the first starting position is the same as the second starting position. If they are the same, the starting state is set to the first starting state 01. This means that the starting point of the update region has not changed between these two frames, and the update may be limited to a certain region or the entire region of the previous frame. At this time, the starting state is marked as the first starting state 01, representing a "stable state," which means that the update starting position remains unchanged.

[0049] If the first starting position and the second starting position are not the same, determine if the first starting position is greater than the second starting position. If the first starting position is greater than the second starting position, determine the starting state as the second starting state 02. If the check finds that the update starting position of the Nth frame is greater than the starting position of the N+1th frame, this indicates that the starting point of the update area has moved upward on the screen. Mark the starting state as the second starting state 02, representing the "starting position moved upward state".

[0050] If the first starting position is determined to be less than the second starting position, the starting state is determined to be the third starting state 03. This indicates that the starting point of the updated region has moved downwards on the screen. Marking the starting state as the third starting state 03 signifies the "starting position shifted downwards" state.

[0051] like Figure 4 As shown, when the signal changes in each frame, the first start position and first end position of that frame before the update, and the second start position and second end position after the update are received. The above steps: Based on the comparison results of the first end position and the second end position of adjacent frames, the end state of the updated region is determined, including:

[0052] The system determines whether the first end position is the same as the second end position. If they are the same, the end state is set to the first end state 01. This means that the end point of the updated region has not changed; it may still be the update of the entire region from the previous frame, or there may be no new additional updates. In this case, the end state is set to the first end state 01, indicating a "stable end position," meaning that the range of the updated region remains unchanged in consecutive frames.

[0053] If the first end position and the second end position are not the same, then it is determined whether the first end position is greater than the second end position. If the first end position is greater than the second end position, the end state is determined to be the second end state 02. This means that the range of the update area has shrunk in the vertical direction, that is, it extends upwards on the screen. Marking the end state as the second end state 02 indicates the "end position shrinkage state".

[0054] If the first end position is determined to be smaller than the second end position, the end state is determined to be the third end state 03. This indicates that the range of the update area has expanded in the vertical direction, that is, the end position has moved downwards on the screen. Marking the end state as the third end state 03 signifies the "end position expansion state".

[0055] The above steps involve determining the screen update trend based on the start and end states of multiple adjacent frames, including:

[0056] The system determines whether multiple groups of adjacent frames satisfy a first condition in a preset order. The first condition includes: adjacent frames having preset start states and preset end states. The preset start states include one of the following: a first start state, a second start state, and a third start state; the preset end states include one of the following: a first end state, a second end state, and a third end state. The preset order can be chronological. The system checks the start and end states of multiple groups of adjacent frames one by one to see if they meet a certain preset condition combination. The first condition includes multiple sub-conditions. By considering both the start and end states in the prediction, more accurate predictions of the updated region can be made.

[0057] If multiple adjacent frames meet the first condition, the corresponding first condition counter is incremented by 1; if adjacent frames do not meet the first condition, the corresponding first condition counter is reset to zero. For example, if the preset condition is "second starting state (starting position shifts down), third ending state (ending position expands)," and the current adjacent frames do indeed show this trend, the counter will increment. However, if subsequent adjacent frames no longer meet this condition, such as a sudden change in the update trend, the counter for "second starting state (starting position shifts down), third ending state (ending position expands)" will be reset to zero, and a new round of condition matching attempts will begin. This counting mechanism helps the system distinguish between short-term random changes and long-term stable trends.

[0058] If the count for the first condition is greater than or equal to a preset value, the screen update trend is determined to be the update trend of the corresponding first condition. Once the value of the counter for a certain condition reaches a preset threshold (this threshold can be adjusted according to the needs of different application scenarios), the current update pattern is considered to be a stable and continuous update trend. For example, if the preset threshold is 5, and the counter for "second starting state (starting position moves down), third ending state (ending position expands)" has accumulated to 5 or more, it will be considered a stable update trend.

[0059] In some optional implementations, the first condition includes a first sub-condition, a second sub-condition, a third sub-condition, a fourth sub-condition, a fifth sub-condition, a sixth sub-condition, a seventh sub-condition, an eighth sub-condition, and a ninth sub-condition. The first sub-condition includes adjacent frames having a first start state and a first end state; the second sub-condition includes adjacent frames having a first start state and a second end state; the third sub-condition includes adjacent frames having a first start state and a third end state; the fourth sub-condition includes adjacent frames having a second start state and a first end state; the fifth sub-condition includes adjacent frames having a second start state and a second end state; the sixth sub-condition includes adjacent frames having a second start state and a third end state; the seventh sub-condition includes adjacent frames having a third start state and a first end state; the eighth sub-condition includes adjacent frames having a third start state and a second end state; and the ninth sub-condition includes adjacent frames having a third start state and a third end state. Based on the nine sub-conditions defined above, the update region states of multiple groups of adjacent frames are analyzed one by one to check whether they conform to a preset pattern. This process of matching and judging one by one can identify the most common or frequently occurring update trend types, and then adjust the refresh strategy to match these trends, achieving more effective display control.

[0060] The above steps are as follows: If an adjacent frame satisfies the first condition, increment the counter for the corresponding first condition by 1 (reset the counters for other first conditions). If an adjacent frame does not satisfy the first condition, reset the counters for the corresponding first conditions. Figure 5 As shown, it includes:

[0061] The system checks whether multiple groups of adjacent frames satisfy the first sub-condition in a preset order. If an adjacent frame satisfies the first sub-condition, the counter for the first sub-condition is incremented by 1 (counter 11 is incremented, and the rest are reset to zero). If any group of adjacent frames does not satisfy the first sub-condition, the counter for the first sub-condition is reset to zero, and the system continues to check whether multiple groups of adjacent frames satisfy the second sub-condition in the preset order. If multiple groups of adjacent frames satisfy the second sub-condition, the counter for the second sub-condition is incremented by 1 (counter 12 is incremented, and the rest are reset to zero). If any group of adjacent frames does not satisfy the second sub-condition, the counter for the second sub-condition is reset to zero, and the system continues to check whether multiple groups of adjacent frames satisfy the second sub-condition in the preset order. The process involves three sub-conditions. If multiple adjacent frames satisfy the third sub-condition, the counter for the third sub-condition is incremented by 1 (counter 13 is incremented, and the rest are reset to zero). If any one of the adjacent frames does not satisfy the third sub-condition, the counter for the third sub-condition is reset to zero, and the process continues to check if multiple adjacent frames satisfy the fourth sub-condition in a preset order. If multiple adjacent frames satisfy the fourth sub-condition, the counter for the fourth sub-condition is incremented by 1 (counter 21 is incremented, and the rest are reset to zero). If any one of the adjacent frames does not satisfy the fourth sub-condition, the counter for the fourth sub-condition is reset to zero, and the process continues to check if multiple adjacent frames satisfy the fifth sub-condition. If multiple adjacent frames satisfy the fifth sub-condition... The fifth sub-condition is incremented by 1 (counter 22 increments by 1, all other counters are reset to zero). If any group of adjacent frames does not meet the fifth sub-condition, the count for the fifth sub-condition is reset to zero, and the process continues to check whether multiple groups of adjacent frames meet the sixth sub-condition according to a preset order. If multiple groups of adjacent frames meet the sixth sub-condition, the count for the sixth sub-condition is incremented by 1 (counter 23 increments by 1, all other counters are reset to zero). If any group of adjacent frames does not meet the sixth sub-condition, the count for the sixth sub-condition is reset to zero, and the process continues to check whether multiple groups of adjacent frames meet the seventh sub-condition according to a preset order. If multiple groups of adjacent frames meet the seventh sub-condition, the count for the seventh sub-condition is incremented by 1 (counter 23 increments by 1, all other counters are reset to zero). (Increment counter 31, clear the rest of the counters); If any group of adjacent frames does not meet the seventh sub-condition, clear the counter for the seventh sub-condition and continue to judge whether the adjacent frames meet the eighth sub-condition according to the preset order. If the adjacent frames meet the eighth sub-condition, increment the counter for the eighth sub-condition (increment counter 32, clear the rest of the counters); If any group of adjacent frames does not meet the eighth sub-condition, clear the counter for the eighth sub-condition and continue to judge whether the adjacent frames meet the ninth sub-condition according to the preset order. If the adjacent frames meet the ninth sub-condition, increment the counter for the ninth sub-condition (increment counter 33, clear the rest of the counters).

[0062] For example, if the first group of adjacent frames satisfies the first sub-condition, the count of the first sub-condition is incremented by 1, and the count becomes 1; if the second group of adjacent frames also satisfies the first sub-condition, the count is incremented by 1, and the count becomes 2; if the third group of adjacent frames also satisfies the first sub-condition, the count is incremented by 1, and the count becomes 3; and so on, until the count is ≥ N preset threshold, indicating that the update trend corresponds to the trend of the first sub-condition; however, if the fourth group of adjacent frames does not satisfy the first sub-condition, the technical execution of the first sub-condition is reset to zero; then, it is determined whether the subsequent adjacent frames satisfy the second sub-condition. If the fifth group of adjacent frames satisfies the second sub-condition, the count of the second sub-condition is incremented by 1, and the count becomes 1; the subsequent judgment steps of the second sub-condition are the same as those of the first sub-condition, and will not be repeated here. The judgment steps of the third to ninth sub-conditions are all the same as those of the first and second sub-conditions, and will not be repeated here.

[0063] If the count of any sub-condition is greater than or equal to a preset value, the screen update trend is determined to be the update trend of the sub-condition; or, if multiple adjacent frames do not satisfy all sub-conditions, the screen is determined to have no update trend. Based on the update trend determined above corresponding to a certain sub-condition, the corresponding logic and signals can be preprocessed and compensated to achieve the optimal display effect.

[0064] In the first sub-condition, when the counter 11 count is ≥ N, the output update state is 11; when the counter 11 count is less than N, the output update state is 00. In the second sub-condition, when the counter 12 count is ≥ N, the output update state is 12; when the counter 12 count is less than N, the output update state is 00. In the third sub-condition, when the counter 13 count is ≥ N, the output update state is 13; when the counter 13 count is less than N, the output update state is 00. In the fourth sub-condition, when the counter 21 count is ≥ N, the output update state is 21; when the counter 21 count is less than N, the output update state is 00. In the fifth sub-condition, when the counter 22 count is ≥ N, the output update state is... 22. When the count of counter 22 is less than N, the output update state is 00; in the sixth sub-condition, when the count of counter 23 is ≥ N, the output update state is 23, and when the count of counter 23 is less than N, the output update state is 00; in the seventh sub-condition, when the count of counter 31 is ≥ N, the output update state is 31, and when the count of counter 31 is less than N, the output update state is 00; in the eighth sub-condition, when the count of counter 32 is ≥ N, the output update state is 32, and when the count of counter 32 is less than N, the output update state is 00; in the ninth sub-condition, when the count of counter 33 is ≥ N, the output update state is 33, and when the count of counter 33 is less than N, the output update state is 00.

[0065] Among them, the update region corresponding to update status 11 is 100. Figure 6 As shown in (a); the update region 100 corresponding to the update status of 12 is as follows. Figure 6 As shown in (b); the update region 100 corresponding to the update status of 13 is as follows. Figure 6 As shown in (c); the update region 100 corresponding to the update status of 21 is as follows. Figure 7 As shown in (a); the update region 100 corresponding to the update status of 22 is as follows. Figure 7 As shown in (b); the update region 100 corresponding to the update status of 23 is as follows. Figure 7 As shown in (c); the update region 100 corresponding to the update status of 31 is as follows. Figure 8 As shown in (a); the update region corresponding to update status 32 is 100. Figure 8 As shown in (b); the update region 100 corresponding to the update status of 33 is as follows. Figure 8 As shown in (c).

[0066] This application also provides a screen update area prediction device. It should be noted that the screen update area prediction device of this application can be used to execute the screen update area prediction method provided in this application. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0067] The following describes the screen content update area prediction device provided in the embodiments of this application.

[0068] Figure 9 This is a schematic diagram of a screen update area prediction device according to an embodiment of this application. Figure 9 As shown, the device includes: an acquisition module 10, used to acquire position information of update regions corresponding to multiple frames of the screen, the position information including start position and end position; a first determination module 20, used to determine the screen update trend based on the comparison results of the first start position and the second start position of the update regions of multiple groups of adjacent frames in multiple frames, and the comparison results of the first end position and the second end position of multiple groups of adjacent frames, the adjacent frames including the first frame before the screen update and the second frame after the screen update, the first start position and the first end position are the position information of the update region of the first frame, the second start position and the second end position are the position information of the update region of the second frame, and the second frame of the previous group of adjacent frames is the first frame of the next group of adjacent frames; and a second determination module 30, used to determine the position of the update region of the screen based on the update trend and a preset relationship, the preset relationship being the relationship between the update trend and the position of the update region.

[0069] As an optional approach, the first determining module includes a first sub-determining module, a second sub-determining module, and a third sub-determining module. The first sub-determining module is used to determine the starting state of the updating region based on the comparison results of the first starting position and the second starting position of the updating region in adjacent frames. The starting state represents the positional relationship between the first starting position and the second starting position. The second sub-determining module is used to determine the ending state of the updating region based on the comparison results of the first ending position and the second ending position of the updating region in adjacent frames. The ending state represents the positional relationship between the first ending position and the second ending position. The third sub-determining module is used to determine the screen update trend based on the starting states and ending states of multiple sets of adjacent frames.

[0070] In one optional scheme, the first sub-determination module includes a first sub-determination unit, a second sub-determination unit, and a third sub-determination unit. The first sub-determination unit is used to determine whether a first starting position is the same as a second starting position. If the first starting position is the same as the second starting position, the starting state is determined to be the first starting state. The second sub-determination unit is used to determine whether a first starting position is greater than a second starting position if the first starting position is different from the second starting position. If the first starting position is greater than the second starting position, the starting state is determined to be the second starting state. The third sub-determination unit is used to determine a third starting state if the first starting position is less than the second starting position.

[0071] In one optional scheme, the second sub-determination module includes a fourth sub-determination unit, a fifth sub-determination unit, and a sixth sub-determination unit. The fourth sub-determination unit is used to determine whether the first end position is the same as the second end position. If the first end position is the same as the second end position, the end state is determined to be the first end state. The fifth sub-determination unit is used to determine whether the first end position is greater than the second end position if the first end position is different from the second end position. If the first end position is greater than the second end position, the end state is determined to be the second end state. The sixth sub-determination unit is used to determine the end state to be the third end state if the first end position is less than the second end position.

[0072] In one optional scheme, the third sub-determination module includes a first sub-judgment unit, a first sub-counting unit, and a seventh sub-determination unit. The first sub-judgment unit is used to determine whether multiple groups of adjacent frames satisfy a first condition in a preset order. The first condition includes: adjacent frames having a preset start state and a preset end state. The preset start state includes one of the following: a first start state, a second start state, and a third start state; the preset end state includes one of the following: a first end state, a second end state, and a third end state. The first sub-counting unit is used to increment the count of the corresponding first condition by 1 when multiple groups of adjacent frames satisfy the first condition, and to reset the count of the corresponding first condition to zero when adjacent frames do not satisfy the first condition. The seventh sub-determination unit is used to determine the screen update trend as the update trend of the corresponding first condition when the count of the first condition is greater than or equal to a preset value.

[0073] In one optional scheme, the first condition of the first sub-judgment unit includes a first sub-condition, a second sub-condition, a third sub-condition, a fourth sub-condition, a fifth sub-condition, a sixth sub-condition, a seventh sub-condition, an eighth sub-condition, and a ninth sub-condition. The first sub-condition includes that adjacent frames have a first start state and a first end state; the second sub-condition includes that adjacent frames have a first start state and a second end state; the third sub-condition includes that adjacent frames have a first start state and a third end state; the fourth sub-condition includes that adjacent frames have a second start state and a first end state; the fifth sub-condition includes that adjacent frames have a second start state and a second end state; the sixth sub-condition includes that adjacent frames have a second start state and a third end state; the seventh sub-condition includes that adjacent frames have a third start state and a first end state; the eighth sub-condition includes that adjacent frames have a third start state and a second end state; and the ninth sub-condition includes that adjacent frames have a third start state and a third end state.

[0074] In one optional scheme, the first sub-counting unit includes a first sub-counting submodule, a second sub-counting submodule, a third sub-counting submodule, a fourth sub-counting submodule, a fifth sub-counting submodule, a sixth sub-counting submodule, a seventh sub-counting submodule, an eighth sub-counting submodule, a ninth sub-counting submodule, and a first sub-determination subunit. The first sub-counting submodule is used to determine whether multiple groups of adjacent frames satisfy a first sub-condition in a preset order. If an adjacent frame satisfies the first sub-condition, the count of the first sub-condition is incremented by 1. The second sub-counting submodule is used to reset the count of the first sub-condition to zero if any group of adjacent frames does not satisfy the first sub-condition, and then continue counting according to a preset order. The system sequentially checks whether multiple groups of adjacent frames meet the second sub-condition. If multiple groups of adjacent frames meet the second sub-condition, the count of the second sub-condition is incremented by 1. The third sub-counting submodule resets the count of the second sub-condition to zero if any group of adjacent frames does not meet the second sub-condition, and continues to check whether multiple groups of adjacent frames meet the third sub-condition in a preset order. If multiple groups of adjacent frames meet the third sub-condition, the count of the third sub-condition is incremented by 1. The fourth sub-counting submodule resets the count of the third sub-condition to zero if any group of adjacent frames does not meet the third sub-condition, and continues to check whether multiple groups of adjacent frames meet the third sub-condition in a preset order. The fourth sub-condition is incremented by 1 if multiple adjacent frames satisfy it. The fifth sub-counting module resets the fourth sub-condition's count to zero if any one of the adjacent frames fails to satisfy it, and then checks if multiple adjacent frames satisfy the fifth sub-condition; if so, it increments the fifth sub-condition's count by 1. The sixth sub-counting module resets the fifth sub-condition's count to zero if any one of the adjacent frames fails to satisfy it, and then continues checking if multiple adjacent frames satisfy the sixth sub-condition in a preset order. The sixth sub-condition is incremented by 1. The seventh sub-counting sub-module is used to reset the count of the sixth sub-condition to zero if any group of multiple adjacent frames does not meet the sixth sub-condition, and continues to judge whether multiple groups of adjacent frames meet the seventh sub-condition according to a preset order. If multiple groups of adjacent frames meet the seventh sub-condition, the count of the seventh sub-condition is incremented by 1. The eighth sub-counting sub-module is used to reset the count of the seventh sub-condition to zero if any group of multiple adjacent frames does not meet the seventh sub-condition, and continues to judge whether multiple groups of adjacent frames meet the eighth sub-condition according to a preset order. If multiple groups of adjacent frames meet the eighth sub-condition, the count of the eighth sub-condition is incremented by 1.The ninth sub-counting submodule is used to reset the count of the eighth sub-condition to zero if any group of adjacent frames does not meet the eighth sub-condition, and then continue to judge whether the adjacent frames meet the ninth sub-condition according to a preset order. If the adjacent frames meet the ninth sub-condition, the count of the ninth sub-condition is incremented by 1. The first sub-determination subunit is used to determine the screen update trend as the sub-condition update trend if the count of any sub-condition is greater than or equal to a preset value, or to determine that the screen has no update trend if none of the adjacent frames meet all the sub-conditions.

[0075] The screen update area prediction device includes a processor and a memory. The aforementioned acquisition modules are all stored as program modules in the memory, and the processor executes the program units stored in the memory to achieve the corresponding functions. All of the aforementioned modules are located in the same processor; alternatively, the aforementioned modules may be located in different processors in any combination.

[0076] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can resolve the inconsistency in screen display when performing partitioned screen refreshes in existing technologies.

[0077] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0078] This invention provides a computer-readable storage medium including a stored program, wherein, when the program is running, it controls the device where the computer-readable storage medium is located to execute a method for predicting screen update areas.

[0079] Specifically, the methods for predicting the screen update area include:

[0080] Step S1: Obtain the position information of the update area corresponding to multiple frames of the screen. The position information includes the start position and the end position.

[0081] Specifically, the host computer on the control screen sends signals to the TCON chip, which then parses the signals to extract the position information that needs to be updated for each frame. This position information includes the starting line position and the number of lines to be updated, thus determining the start and end positions. This step allows the TCON to accurately determine the specific position of the updated portion in each frame, providing a basis for subsequent update trend judgment. By directly obtaining the position information, unnecessary calculations and signal parsing processes are avoided, improving processing efficiency.

[0082] Step S2: Based on the comparison results of the first start position and the second start position of the update region of multiple groups of adjacent frames in multiple frames, and the comparison results of the first end position and the second end position of multiple groups of adjacent frames, determine the screen update trend. The adjacent frames include the first frame before the screen update and the second frame after the screen update. The first start position and the first end position are the position information of the update region of the first frame, and the second start position and the second end position are the position information of the update region of the second frame. The second frame of the previous group of adjacent frames is the first frame of the next group of adjacent frames.

[0083] Specifically, after the TCON receives the position information of the update regions corresponding to multiple frames, it analyzes the stored frame update position information. By comparing the start and end line positions of the Nth and N+1th frames in adjacent frames, it records the changes in each comparison (i.e., whether the start and end positions have changed, and the direction of the change). If the update positions of multiple consecutive sets of adjacent frames (e.g., Nth to N+k frames, where k can be set according to actual needs) show regular changes, such as a continuous increase or decrease in the start position and a trend in the change of the end position, then it is considered that there is a certain update trend. The aforementioned adjacent frames include two frames. For example, the first adjacent frame includes the first and second frames, the second adjacent frame includes the second and third frames, the third adjacent frame includes the third and fourth frames, and so on.

[0084] Step S3: Determine the position of the update area on the screen based on the update trend and the preset relationship. The preset relationship is the relationship between the update trend and the position of the update area.

[0085] Specifically, after detecting an update trend, the system uses a preset relationship combined with the current update trend to calculate the location of the region most likely to need updating. The preset relationship is the correspondence between different update trends and expected position adjustments. For example, if the update position shows a downward trend for several consecutive frames, it indicates that the starting position of the next update region is more likely to be lower than the current frame, thus preparing data signals in advance and optimizing the refresh strategy.

[0086] This invention provides a processor for running a program, wherein the program executes a method for predicting screen update areas during runtime.

[0087] Specifically, the methods for predicting the screen update area include:

[0088] Step S1: Obtain the position information of the update area corresponding to multiple frames of the screen. The position information includes the start position and the end position.

[0089] Specifically, the host computer on the control screen sends signals to the TCON chip, which then parses the signals to extract the position information that needs to be updated for each frame. This position information includes the starting line position and the number of lines to be updated, thus determining the start and end positions. This step allows the TCON to accurately determine the specific position of the updated portion in each frame, providing a basis for subsequent update trend judgment. By directly obtaining the position information, unnecessary calculations and signal parsing processes are avoided, improving processing efficiency.

[0090] Step S2: Based on the comparison results of the first start position and the second start position of the update region of multiple groups of adjacent frames in multiple frames, and the comparison results of the first end position and the second end position of multiple groups of adjacent frames, determine the screen update trend. The adjacent frames include the first frame before the screen update and the second frame after the screen update. The first start position and the first end position are the position information of the update region of the first frame, and the second start position and the second end position are the position information of the update region of the second frame. The second frame of the previous group of adjacent frames is the first frame of the next group of adjacent frames.

[0091] Specifically, after the TCON receives the position information of the update regions corresponding to multiple frames, it analyzes the stored frame update position information. By comparing the start and end line positions of the Nth and N+1th frames in adjacent frames, it records the changes in each comparison (i.e., whether the start and end positions have changed, and the direction of the change). If the update positions of multiple consecutive sets of adjacent frames (e.g., Nth to N+k frames, where k can be set according to actual needs) show regular changes, such as a continuous increase or decrease in the start position and a trend in the change of the end position, then it is considered that there is a certain update trend. The aforementioned adjacent frames include two frames. For example, the first adjacent frame includes the first and second frames, the second adjacent frame includes the second and third frames, the third adjacent frame includes the third and fourth frames, and so on.

[0092] Step S3: Determine the position of the update area on the screen based on the update trend and the preset relationship. The preset relationship is the relationship between the update trend and the position of the update area.

[0093] Specifically, after detecting an update trend, the system uses a preset relationship combined with the current update trend to calculate the location of the region most likely to need updating. The preset relationship is the correspondence between different update trends and expected position adjustments. For example, if the update position shows a downward trend for several consecutive frames, it indicates that the starting position of the next update region is more likely to be lower than the current frame, thus preparing data signals in advance and optimizing the refresh strategy.

[0094] This invention provides a device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps: acquiring position information of update regions corresponding to multiple frames of the screen, the position information including start and end positions; determining the screen update trend based on comparisons of first and second start positions of update regions in multiple sets of adjacent frames, and comparisons of first and second end positions of update regions in multiple sets of adjacent frames, wherein adjacent frames include a first frame before screen update and a second frame after screen update, the first start and first end positions being the position information of the update region of the first frame, the second start and second end positions being the position information of the update region of the second frame, and the second frame of the preceding set of adjacent frames being the first frame of the following set of adjacent frames; and determining the position of the screen update region based on the update trend and a preset relationship, the preset relationship being the relationship between the update trend and the position of the update region. The device described herein can be a server, PC, PAD, mobile phone, etc.

[0095] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps: obtaining position information of update regions corresponding to multiple frames of the screen, the position information including start position and end position; determining the screen update trend based on the comparison results of the first start position and the second start position of the update regions of multiple groups of adjacent frames in the multiple frames, and the comparison results of the first end position and the second end position of the multiple groups of adjacent frames, wherein the adjacent frames include the first frame before the screen update and the second frame after the screen update, the first start position and the first end position are the position information of the update region of the first frame, the second start position and the second end position are the position information of the update region of the second frame, and the second frame of the previous group of adjacent frames is the first frame of the next group of adjacent frames; determining the position of the update region of the screen according to the update trend and a preset relationship, the preset relationship being the relationship between the update trend and the position of the update region.

[0096] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0097] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0098] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0099] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0100] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0101] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0102] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0103] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0104] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

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

[0106] As can be seen from the above description, the embodiments of this application achieve the following technical effects:

[0107] 1) The screen update area prediction method of this application first obtains the position information of the update area of ​​multiple frames of the screen, including the start position and end position, and analyzes the change trend of the position between adjacent frames based on this information. By comparing the changes in the start and end positions of the update area of ​​multiple sets of adjacent frames, the update trend can be accurately determined. Whether it is an upward expansion, downward contraction, or fixed position, it can be predicted. In this way, when performing partitioned refresh, the screen display effect can be compensated and adjusted in advance, including but not limited to color calibration, screen timing adjustment, and liquid crystal polarity inversion, to achieve the best display effect and low power consumption requirements. This method ensures that different refresh areas can still maintain a good display effect during partitioned refresh, avoids visual defects caused by polarity imbalance, and thus solves the problem of inconsistent screen display effect when performing partitioned refresh in the prior art.

[0108] 2) The screen update area prediction method of this application first obtains the starting state of adjacent frames, making the capture of movement trends more intuitive and accurate. Obtaining the ending state of adjacent frames can identify the changing trend of the update area size. Considering the changes in the starting and ending states, the overall trend of screen updates can be judged more accurately. Based on these trends, the data signal is preprocessed, and the refresh order and refresh depth are adjusted to ensure high quality and consistency of display effects, while significantly reducing unnecessary refresh operations and greatly reducing screen power consumption.

[0109] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for predicting screen update regions, characterized in that, include: Obtain the position information of the update area corresponding to multiple frames of the screen, wherein the position information includes the start position and the end position; Based on the comparison results of the first start position and the second start position of the update region of multiple groups of adjacent frames in multiple frames, and the comparison results of the first end position and the second end position of multiple groups of adjacent frames, the update trend of the screen is determined. The adjacent frames include the first frame before the screen update and the second frame after the screen update. The first start position and the first end position are the position information of the update region of the first frame, and the second start position and the second end position are the position information of the update region of the second frame. The second frame of the previous group of adjacent frames is the first frame of the next group of adjacent frames. The location of the update area on the screen is determined based on the update trend and the preset relationship, wherein the preset relationship is the relationship between the update trend and the location of the update area.

2. The prediction method according to claim 1, characterized in that, Determining the screen update trend based on comparisons of the first and second start positions of multiple sets of adjacent frames in the multiple frames, and comparisons of the first and second end positions of multiple sets of adjacent frames, includes: Based on the comparison result between the first starting position and the second starting position of the update region in the adjacent frames, the starting state of the update region is determined, and the starting state represents the positional relationship between the first starting position and the second starting position. Based on the comparison result between the first end position and the second end position of the update region in the adjacent frames, the end state of the update region is determined, and the end state represents the positional relationship between the first end position and the second end position. The update trend of the screen is determined based on the start state and the end state of multiple sets of adjacent frames.

3. The prediction method according to claim 2, characterized in that, Determining the starting state of the update region based on the comparison result between the first starting position and the second starting position of the adjacent frames includes: Determine whether the first starting position is the same as the second starting position. If the first starting position is the same as the second starting position, determine that the starting state is the first starting state. If the first starting position is not the same as the second starting position, determine whether the first starting position is greater than the second starting position. If the first starting position is greater than the second starting position, determine that the starting state is the second starting state. If the first starting position is determined to be less than the second starting position, the starting state is determined to be the third starting state.

4. The prediction method according to claim 3, characterized in that, Determining the end state of the updated region based on the comparison result between the first end position and the second end position of the adjacent frames includes: Determine whether the first end position is the same as the second end position. If the first end position is the same as the second end position, determine that the end state is the first end state. If the first end position is determined to be different from the second end position, it is determined whether the first end position is greater than the second end position. If the first end position is determined to be greater than the second end position, the end state is determined to be the second end state. If the first end position is determined to be less than the second end position, the end state is determined to be the third end state.

5. The prediction method according to claim 4, characterized in that, Determining the screen update trend based on the start and end states of multiple sets of adjacent frames includes: The system determines whether multiple groups of adjacent frames satisfy a first condition in a preset order. The first condition includes: the adjacent frames have a preset start state and a preset end state. The preset start state includes one of the following: the first start state, the second start state, and the third start state. The preset end state includes one of the following: the first end state, the second end state, and the third end state. If it is determined that multiple groups of adjacent frames meet the first condition, the corresponding first condition is incremented by 1; if it is determined that the adjacent frames do not meet the first condition, the corresponding first condition is reset to zero. If the count under the first condition is greater than or equal to a preset value, the update trend of the screen is determined to be the update trend of the corresponding first condition.

6. The prediction method according to claim 5, characterized in that, The first condition includes a first sub-condition, a second sub-condition, a third sub-condition, a fourth sub-condition, a fifth sub-condition, a sixth sub-condition, a seventh sub-condition, an eighth sub-condition, and a ninth sub-condition. The first sub-condition includes that the adjacent frames have the first start state and the first end state; the second sub-condition includes that the adjacent frames have the first start state and the second end state; the third sub-condition includes that the adjacent frames have the first start state and the third end state; the fourth sub-condition includes that the adjacent frames have the second start state and the first end state; the fifth sub-condition includes that the adjacent frames have the second start state and the second end state; the sixth sub-condition includes that the adjacent frames have the second start state and the third end state; the seventh sub-condition includes that the adjacent frames have the third start state and the first end state; the eighth sub-condition includes that the adjacent frames have the third start state and the second end state; and the ninth sub-condition includes that the adjacent frames have the third start state and the third end state.

7. The prediction method according to claim 6, characterized in that, The step of incrementing the counter for the corresponding first condition by 1 when it is determined that the adjacent frame meets the first condition, and resetting the counter for the corresponding first condition to zero when it is determined that the adjacent frame does not meet the first condition, includes: The first sub-condition is determined in the preset order whether multiple groups of adjacent frames meet the first sub-condition. If the adjacent frames meet the first sub-condition, the count of the first sub-condition is incremented by 1. If any one of the multiple groups of adjacent frames does not meet the first sub-condition, the count of the first sub-condition is cleared to zero, and the multiple groups of adjacent frames are judged to meet the second sub-condition according to the preset order. If the multiple groups of adjacent frames meet the second sub-condition, the count of the second sub-condition is incremented by 1. If any one of the multiple groups of adjacent frames does not satisfy the second sub-condition, the count of the second sub-condition is cleared to zero, and the multiple groups of adjacent frames are judged to satisfy the third sub-condition according to the preset order. If the multiple groups of adjacent frames are judged to satisfy the third sub-condition, the count of the third sub-condition is incremented by 1. If any one of the multiple groups of adjacent frames does not satisfy the third sub-condition, the count of the third sub-condition is cleared to zero, and the multiple groups of adjacent frames are judged to satisfy the fourth sub-condition according to the preset order. If the multiple groups of adjacent frames are judged to satisfy the fourth sub-condition, the count of the fourth sub-condition is incremented by 1. If any one of the multiple groups of adjacent frames does not satisfy the fourth sub-condition, the count of the fourth sub-condition is cleared to zero, and it is determined whether the multiple groups of adjacent frames satisfy the fifth sub-condition. If it is determined that the multiple groups of adjacent frames satisfy the fifth sub-condition, the count of the fifth sub-condition is incremented by 1. If any one of the multiple groups of adjacent frames does not satisfy the fifth sub-condition, the count of the fifth sub-condition is cleared to zero, and the multiple groups of adjacent frames are judged to satisfy the sixth sub-condition according to the preset order. If the multiple groups of adjacent frames are judged to satisfy the sixth sub-condition, the count of the sixth sub-condition is incremented by 1. If any one of the multiple groups of adjacent frames does not satisfy the sixth sub-condition, the count of the sixth sub-condition is cleared to zero, and the multiple groups of adjacent frames are judged to satisfy the seventh sub-condition according to the preset order. If the multiple groups of adjacent frames are judged to satisfy the seventh sub-condition, the count of the seventh sub-condition is incremented by 1. If any one of the multiple groups of adjacent frames does not satisfy the seventh sub-condition, the count of the seventh sub-condition is cleared to zero, and the multiple groups of adjacent frames are judged to satisfy the eighth sub-condition according to the preset order. If the multiple groups of adjacent frames are judged to satisfy the eighth sub-condition, the count of the eighth sub-condition is incremented by 1. If any one of the multiple groups of adjacent frames does not satisfy the eighth sub-condition, the count of the eighth sub-condition is cleared to zero, and the multiple groups of adjacent frames are judged to satisfy the ninth sub-condition according to the preset order. If the multiple groups of adjacent frames are judged to satisfy the ninth sub-condition, the count of the ninth sub-condition is incremented by 1. If the count of any of the sub-conditions is greater than or equal to a preset value, the update trend of the screen is determined to be the update trend of the sub-condition; or, if none of the adjacent frames satisfy all the sub-conditions, the screen is determined to have no update trend.

8. A device for predicting screen update areas, characterized in that, include: The acquisition module is used to acquire the position information of the update area corresponding to multiple frames of the screen, wherein the position information includes the start position and the end position; The first determining module is used to determine the update trend of the screen based on the comparison results of the first start position and the second start position of the update region of multiple groups of adjacent frames in multiple frames, and the comparison results of the first end position and the second end position of multiple groups of adjacent frames. The adjacent frames include a first frame before the screen is updated and a second frame after the screen is updated. The first start position and the first end position are the position information of the update region of the first frame, and the second start position and the second end position are the position information of the update region of the second frame. The second frame of the previous group of adjacent frames is the first frame of the next group of adjacent frames. The second determining module is used to determine the position of the update area of ​​the screen based on the update trend and the preset relationship, wherein the preset relationship is the relationship between the update trend and the position of the update area.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the screen update area prediction method according to any one of claims 1 to 7.

10. A processor, characterized in that, The processor is used to run a program, wherein the program executes the screen update region prediction method according to any one of claims 1 to 7.