CN-121999731-A - Prediction method, prediction device, storage medium and processor for screen update area
Abstract
The application provides a prediction method, a prediction device, a storage medium and a processor of a screen update area, wherein the method comprises the steps of obtaining position information of the update area corresponding to a plurality of frames of a screen, wherein the position information comprises a starting position and an ending position; determining the updating trend of the screen according to the comparison result of the first starting position and the second starting position of the updating area of a plurality of groups of adjacent frames in the plurality of frames and the comparison result of the first ending position and the second ending position of the plurality of groups of adjacent frames, wherein the adjacent frames comprise a first frame before updating the screen and a second frame after updating the screen, the first starting position and the first ending position are the position information of the updating area of the first frame, the second starting position and the second ending position are the position information of the updating area of the second frame, and determining the position of the updating area of the screen according to the updating trend and the preset relation. The application solves the problem of inconsistent display effect of the screen when the screen is refreshed in a partitioning way in the prior art.
Inventors
- ZHANG BOYA
- GUO CHUNCHENG
Assignees
- 硅谷数模半导体(北京)有限公司
- 硅谷数模国际有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260122
Claims (10)
- 1. A method for predicting a screen update area, comprising: acquiring position information of update areas corresponding to a plurality of frames of a screen, wherein the position information comprises a starting position and an ending position; Determining an updating trend of the screen according to a comparison result of a first starting position and a second starting position of the updating area of a plurality of groups of adjacent frames in a plurality of frames and a comparison result of a first ending position and a second ending position of a plurality of groups of adjacent frames, wherein the adjacent frames comprise a first frame before updating the screen and a second frame after updating the screen, the first starting position and the first ending position are the position information of the updating area of the first frame, the second starting position and the second ending position are the position information of the updating area 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 determining the position of the updating area of the screen according to the updating trend and a preset relation, wherein the preset relation is the relation between the updating trend and the position of the updating area.
- 2. The prediction method according to claim 1, wherein the determining the update trend of the screen according to the comparison result of the first start positions and the second start positions of the plurality of sets of adjacent frames among the plurality of frames and the comparison result of the first end positions and the second end positions of the plurality of sets of adjacent frames comprises: Determining a starting state of the update area according to a comparison result of the first starting position and the second starting position of the update area of the adjacent frames, wherein the starting state represents a position relation between the first starting position and the second starting position; determining an end state of the update region according to a comparison result of the first end position and the second end position of the update region of the adjacent frame, wherein the end state characterizes a position relationship between the first end position and the second end position; and determining the updating trend of the screen according to the starting state and the ending state of a plurality of groups of adjacent frames.
- 3. The prediction method according to claim 2, wherein the determining the start state of the update area according to the comparison result of the first start position and the second start position of the adjacent frame includes: judging whether the first starting position is the same as the second starting position, and determining the starting state as a first starting state under the condition that the first starting position is the same as the second starting position; judging whether the first starting position is larger than the second starting position or not under the condition that the first starting position is not identical to the second starting position, and determining the starting state as a second starting state under the condition that the first starting position is larger than the second starting position; and under the condition that the first starting position is judged to be smaller than the second starting position, determining the starting state to be a third starting state.
- 4. A prediction method according to claim 3, wherein said determining the end state of the update area based on the comparison of the first end position and the second end position of the adjacent frame comprises: judging whether the first end position is the same as the second end position, and determining the end state as a first end state when judging that the first end position is the same as the second end position; judging whether the first end position is larger than the second end position or not when judging that the first end position is not identical to the second end position, and determining that the end state is a second end state when judging that the first end position is larger than the second end position; and determining that the ending state is a third ending state when the first ending position is judged to be smaller than the second ending position.
- 5. The prediction method according to claim 4, wherein the determining the update trend of the screen according to the start state and the end state of the plurality of sets of the adjacent frames includes: Judging whether a plurality of groups of adjacent frames meet a first condition or not in a preset sequence, wherein the first condition comprises that the adjacent frames have a preset starting state and a preset ending state, the preset starting state comprises one of the first starting state, the second starting state and the third starting state, and the preset ending state comprises one of the first ending state, the second ending state and the third ending state; Under the condition that a plurality of groups of adjacent frames meet the first condition, counting and adding 1 to the corresponding first condition, and under the condition that the adjacent frames do not meet the first condition, counting and clearing the corresponding first condition; And under the condition that the count of the first condition is larger than or equal to a preset value, determining that the updating trend of the screen is the updating trend of the corresponding first condition.
- 6. The prediction method according to claim 5, wherein 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, wherein the first sub-condition includes that the adjacent frame has the first start state and the first end state, the second sub-condition includes that the adjacent frame has the first start state and the second end state, the third sub-condition includes that the adjacent frame has the first start state and the third end state, the fourth sub-condition includes that the adjacent frame has the second start state and the first end state, the fifth sub-condition includes that the adjacent frame has the second start state and the second end state, the sixth sub-condition includes that the adjacent frame has the second start state and the third end state, the seventh sub-condition includes that the adjacent frame has the third start state and the third end state, and the third sub-condition includes that the adjacent frame has the third start state and the third end state.
- 7. The prediction method according to claim 6, wherein counting the corresponding first condition by 1 in the case where the adjacent frame is judged to satisfy the first condition, and counting the corresponding first condition by zero in the case where the adjacent frame is judged not to satisfy the first condition, comprises: judging whether a plurality of groups of adjacent frames meet the first sub-condition according to the preset sequence, and counting and adding 1 to the first sub-condition under the condition that the adjacent frames meet the first sub-condition; Under the condition that any one of a plurality of groups of adjacent frames does not meet the first sub-condition, carrying out counting zero clearing on the first sub-condition, continuously judging whether the plurality of groups of adjacent frames meet the second sub-condition according to the preset sequence, and under the condition that the plurality of groups of adjacent frames meet the second sub-condition, carrying out counting 1-adding on the second sub-condition; under the condition that any one of a plurality of groups of adjacent frames does not meet the second sub-condition, carrying out counting zero clearing on the second sub-condition, continuously judging whether the plurality of groups of adjacent frames meet the third sub-condition according to the preset sequence, and under the condition that the plurality of groups of adjacent frames meet the third sub-condition, carrying out counting on the third sub-condition by adding 1; Under the condition that any one of a plurality of groups of adjacent frames does not meet the third sub-condition, carrying out counting zero clearing on the third sub-condition, continuously judging whether the plurality of groups of adjacent frames meet the fourth sub-condition according to the preset sequence, and under the condition that the plurality of groups of adjacent frames meet the fourth sub-condition, carrying out counting 1-adding on the fourth sub-condition; Under the condition that any one of a plurality of groups of adjacent frames does not meet the fourth sub-condition, carrying out counting zero clearing on the fourth sub-condition, judging whether a plurality of groups of adjacent frames meet the fifth sub-condition, and under the condition that a plurality of groups of adjacent frames meet the fifth sub-condition, carrying out counting on the fifth sub-condition by adding 1; Under the condition that any one of a plurality of groups of adjacent frames does not meet the fifth sub-condition, carrying out counting zero clearing on the fifth sub-condition, continuously judging whether the plurality of groups of adjacent frames meet the sixth sub-condition according to the preset sequence, and under the condition that the plurality of groups of adjacent frames meet the sixth sub-condition, carrying out counting on the sixth sub-condition by adding 1; under the condition that any one of a plurality of groups of adjacent frames does not meet the sixth sub-condition, carrying out counting zero clearing on the sixth sub-condition, continuously judging whether the plurality of groups of adjacent frames meet the seventh sub-condition according to the preset sequence, and under the condition that the plurality of groups of adjacent frames meet the seventh sub-condition, carrying out counting on the seventh sub-condition by adding 1; Under the condition that any one of a plurality of groups of adjacent frames does not meet the seventh sub-condition, carrying out counting zero clearing on the seventh sub-condition, continuously judging whether the plurality of groups of adjacent frames meet the eighth sub-condition according to the preset sequence, and under the condition that the plurality of groups of adjacent frames meet the eighth sub-condition, carrying out counting 1-adding on the eighth sub-condition; Under the condition that any one of a plurality of groups of adjacent frames does not meet the eighth sub-condition, carrying out counting zero clearing on the eighth sub-condition, continuously judging whether the plurality of groups of adjacent frames meet the ninth sub-condition according to the preset sequence, and under the condition that the plurality of groups of adjacent frames meet the ninth sub-condition, carrying out counting 1-adding on the ninth sub-condition; And under the condition that the count of any one of the sub-conditions is larger than or equal to a preset numerical value, determining that the updating trend of the screen is the updating trend of the sub-conditions, or under the condition that all the sub-conditions are not met by multiple groups of adjacent frames, determining that the screen has no updating trend.
- 8. A prediction apparatus for a screen update area, comprising: the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring position information of update areas corresponding to a plurality of frames of a screen, and the position information comprises a starting position and an ending position; A first determining module, configured to determine an update trend of the screen according to a comparison result of a first start position and a second start position of the update area of a plurality of groups of adjacent frames among the plurality of frames, and a comparison result of a first end position and a second end position of a plurality of groups of adjacent frames, where the adjacent frames include a first frame before updating the screen and a second frame after updating the screen, the first start position and the first end position are the position information of the update area of the first frame, the second start position and the second end position are the position information of the update area of the second frame, and the second frame of a previous group of adjacent frames is the first frame of a next group of adjacent frames; and the second determining module is used for determining the position of the updating area of the screen according to the updating trend and a preset relation, wherein the preset relation is the relation between the updating trend and the position of the updating area.
- 9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program, when run, controls a device in which the computer-readable storage medium is located to perform the prediction method of the screen update area according to any one of claims 1 to 7.
- 10. A processor for running a program, wherein the program runs to execute the prediction method of the screen update area according to any one of claims 1 to 7.
Description
Prediction method, prediction device, storage medium and processor for screen update area Technical Field The application relates to the technical field of display, in particular to a prediction method of a screen update area, a prediction device of the screen update area, a computer scale storage medium and a processor. Background Along with the continuous development of technology, in order to reduce power consumption, a screen factory performs partition refreshing display according to updated contents, but the mode has extremely high requirements on a screen, and for a liquid crystal screen, the polarity inversion time of liquid crystal needs to be controlled to ensure that different refreshing areas can maintain polarity balance, but in the prior art, the updated areas are difficult to pre-judge in advance and pre-compensate for the polarity, so that the polarity of the liquid crystal is unbalanced, and the problem of inconsistent display effect occurs. Disclosure of Invention The application mainly aims to provide a prediction method of a screen updating area, a prediction device of the screen updating area, a computer scale storage medium and a processor, so as to at least solve the problem that the display effect of a screen is inconsistent when the screen is refreshed in a partitioning mode in the prior art. In order to achieve the above object, according to one aspect of the present application, there is provided a method for predicting an update area of a screen, including obtaining position information of update areas corresponding to a plurality of frames of the screen, the position information including a start position and an end position, determining an update trend of the screen based on a comparison result of a first start position and a second start position of update areas of a plurality of sets of adjacent frames among the plurality of frames, and a comparison result of a first end position and a second end position of the plurality of sets of adjacent frames, the adjacent frames including a first frame before the screen update and a second frame after the screen update, the first start position and the first end position being position information of update areas of the first frame, the second start position and the second end position being position information of update areas of the second frame, the second frame of a preceding set of adjacent frames being a first frame of a following set of adjacent frames, and determining a position of update areas of the screen based on the update trend and a preset relationship, the preset relationship being a relationship between the update trend and the positions of the update areas. Optionally, the updating trend of the screen is determined according to the comparison result of the first initial position and the second initial position of a plurality of groups of adjacent frames and the comparison result of the first end position and the second end position of a plurality of groups of adjacent frames, and the updating trend of the screen is determined according to the comparison result of the first initial position and the second initial position of the updating area of the adjacent frames, wherein the initial state represents the position relationship between the first initial position and the second initial position, the ending state of the updating area is determined according to the comparison result of the first end position and the second end position of the updating area of the adjacent frames, the position relationship between the first end position and the second end position is represented by the ending state, and the updating trend of the screen is determined according to the initial state and the ending state of a plurality of groups of adjacent frames. Optionally, determining the initial state of the update area according to the comparison result of the first initial position and the second initial position of the adjacent frames includes determining whether the first initial position is the same as the second initial position, determining the initial state as the first initial state if the first initial position is determined to be the same as the second initial position, determining whether the first initial position is greater than the second initial position if the first initial position is determined to be different from the second initial position, determining the initial state as the second initial state if the first initial position is determined to be greater than the second initial position, and determining the initial state as the third initial state if the first initial position is determined to be less than the second initial position. Optionally, determining the end state of the update area according to the comparison result of the first end position and the second end position of the adjacent frame includes determining whether the first end position is the same as the second end position, determining the end state to