CN115454278A - Refreshing control method, device and equipment of display panel and storage medium - Google Patents

Refreshing control method, device and equipment of display panel and storage medium Download PDF

Info

Publication number
CN115454278A
CN115454278A CN202211153791.2A CN202211153791A CN115454278A CN 115454278 A CN115454278 A CN 115454278A CN 202211153791 A CN202211153791 A CN 202211153791A CN 115454278 A CN115454278 A CN 115454278A
Authority
CN
China
Prior art keywords
line
data
row
display panel
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211153791.2A
Other languages
Chinese (zh)
Inventor
李宽
王博
左丞
党康鹏
陈宏�
郭雄
罗仲丽
唐元生
徐何冰
蒲星宇
高明
郑耀坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Chongqing BOE Optoelectronics Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Chongqing BOE Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd, Chongqing BOE Optoelectronics Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202211153791.2A priority Critical patent/CN115454278A/en
Publication of CN115454278A publication Critical patent/CN115454278A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04184Synchronisation with the driving of the display or the backlighting unit to avoid interferences generated internally
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a refresh control method, a device, equipment and a storage medium of a display panel, wherein the method comprises the following steps: when the display panel is in the self-refresh mode, monitoring whether an instruction for exiting the self-refresh mode is received, and if the instruction is received, executing the following row difference updating steps: acquiring a row number difference between an initial data row to be updated and a data row currently read from a row cache region; if the line number difference is larger than a preset line number threshold value, sequentially updating the received frame data into a line cache region; and if the line number difference is less than or equal to the preset line number threshold, sequentially updating the frame data in the preset line range from the initial data line to the standby cache area, and after the display panel finishes reading the current frame data from the line cache area, reading the corresponding line data from the standby cache area for the next frame to refresh the display picture.

Description

Refreshing control method, device and equipment of display panel and storage medium
Technical Field
The present invention relates to the field of display technologies, and in particular, to a method, an apparatus, a device, and a storage medium for controlling refresh of a display panel.
Background
The capacitive touch screen can be divided into an On Cell touch screen and an In Cell touch screen. In the In Cell touch screen, display and touch are designed In a linkage manner, a frame is divided into a plurality of display areas, and a touch time period is inserted between the display time periods of every two adjacent display areas, so that a system side display signal cannot be synchronous with a panel side display signal, namely the rate of a panel side data enable signal is higher than that of the system side data enable signal. Due to the rate difference, for the In Cell touch Panel having a Self-Refresh (PSR) mode, the problem of display screen horizontal line flashing easily occurs when the display Panel exits the PSR mode, which affects the viewing experience of the user.
Disclosure of Invention
In view of the above, the present invention has been made to provide a refresh control method, apparatus, device, and storage medium for a display panel that overcome or at least partially solve the above-mentioned problems.
In a first aspect, an embodiment of the present specification provides a refresh control method for a display panel, where the method includes:
when the display panel is in a self-refresh mode, monitoring whether a command for exiting the self-refresh mode is received, and if the command is received, executing the following row difference updating steps:
acquiring a line number difference between an initial data line to be updated and a data line currently read from a line cache region;
if the line number difference is larger than a preset line number threshold value, sequentially updating the received frame data to the line cache region;
and if the line number difference is less than or equal to the preset line number threshold, sequentially updating frame data in a preset line range from the initial data line to a standby cache area, and after the display panel finishes reading the current frame data from the line cache area, reading corresponding line data from the standby cache area for display picture refreshing in the next frame, wherein the standby cache area and the line cache area are different cache areas.
Further, the sequentially updating the frame data in the preset line range to the spare buffer area from the starting data line includes:
and at least updating the data of the initial data line to be updated to the last line of the same frame to the standby cache area in sequence.
Further, after receiving the instruction and before executing the row difference updating step, the method further comprises:
judging whether the arrival time of the system side data enable signal is in a preset time window, wherein the preset time window comprises: the display panel refreshes a first preset time period before the initial row of each frame;
if not, executing the row difference updating step; if yes, executing the following steps:
if the initial data line to be updated is within the H-th line, sequentially updating frame data within a preset line range from the initial data line into a standby cache area, and after the display panel finishes reading the current frame data from the line cache area, reading corresponding line data from the standby cache area for refreshing a display picture in the next frame;
and if the initial data line to be updated is not within the H line, sequentially updating the received frame data into the line buffer area.
Further, the preset time window further includes: and the display panel refreshes a second preset time period corresponding to the time period from the initial row to the subsequent appointed row of each frame.
Further, the display panel is an embedded touch display panel, the time length of the preset time window is determined based on a display scanning period, a touch scanning period and a data read-write rate difference, and the data read-write rate difference is as follows: a difference between a rate of the system side data enable signal and a rate of the panel side data enable signal.
Further, the obtaining a line number difference between a starting data line to be updated and a data line currently read from the line buffer area includes:
analyzing the received system side data enable signal to obtain an initial data row to be updated;
and comparing the initial data line with the data line read from the line cache region by the display panel at present to obtain the line number difference.
Further, the preset number of lines threshold is determined based on a rate difference between a system side data enable signal and a panel side data enable signal.
In a second aspect, an embodiment of the present specification provides a refresh control apparatus for a display panel, the apparatus including:
the monitoring module is used for monitoring whether an instruction for exiting the self-refresh mode is received or not when the display panel is in the self-refresh mode;
an updating module, configured to execute the following line difference updating step if the instruction is received:
acquiring a line number difference between an initial data line to be updated and a data line currently read from a line cache region;
if the line number difference is larger than a preset line number threshold value, sequentially updating the received frame data to the line cache region;
and if the line number difference is less than or equal to the preset line number threshold, sequentially updating frame data in a preset line range to a standby cache area from the initial data line, and after the display panel finishes reading the current frame data from the line cache area, reading corresponding line data from the standby cache area for refreshing a display picture in the next frame, wherein the standby cache area and the line cache area are different cache areas.
In a third aspect, the present specification provides a display device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the method for controlling the refresh of the display panel according to the first aspect.
In a fourth aspect, the present specification provides a computer-readable storage medium, where computer instructions are stored, and when the computer instructions are executed on a computer, the computer is caused to execute the steps of the refresh control method for a display panel according to the first aspect.
The technical scheme provided in the embodiment of the specification at least has the following technical effects or advantages:
the refresh control method provided in this specification embodiment includes configuring, in addition to a row cache region for a display panel to read row data to perform screen refresh in a TCON, a spare cache region, when the display panel is in a PSR mode, continuously monitoring whether the display panel exits from the PSR, when it is monitored that the display panel exits from the PSR, obtaining a row number difference between a starting data row to be updated and a data row currently read from the row cache region, if the row number difference is greater than a preset row number threshold, determining that there is no risk of frame confusion, at this time, directly updating data to the row cache region to refresh display of a corresponding row, if the row number difference is less than or equal to the preset row number threshold, determining that there is a risk of frame confusion, storing the data in the spare cache region first, and reading the data from the spare cache region to display when a next frame is refreshed. Therefore, the probability of frame confusion of data reading and writing when exiting the PSR mode can be effectively reduced, the problem of display picture flashing is favorably solved, and the watching experience of a user is improved.
The above description is only an overview of the technical solutions provided by the embodiments of the present specification, and in order to make the technical means of the embodiments of the present specification more clearly understood, the embodiments of the present specification may be implemented according to the content of the description, and in order to make the above and other objects, features, and advantages of the embodiments of the present specification more clearly understood, the following detailed description of the embodiments of the present specification is given.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic diagram illustrating display data transmission of an In Cell touch display screen In an embodiment of the present disclosure;
fig. 2 is a timing diagram of the operation of the In Cell touch display screen In the embodiment of the present disclosure;
fig. 3 is a schematic flow chart of a refresh control method provided in the first aspect of the embodiments of the present description;
fig. 4 is a schematic structural diagram of a frame buffer in an embodiment of the present specification;
FIG. 5 is a timing diagram of the eDP _ DE signal within a predetermined time window according to one embodiment of the present disclosure;
FIG. 6 is a timing diagram of the eDP _ DE signal outside a predetermined time window in the embodiments of the present disclosure;
FIG. 7 is a schematic structural diagram of a refresh control apparatus provided in a second aspect of an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a display device provided in a third aspect of an embodiment of the present specification.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. The term "system side" as used herein refers to an image source device such as a GPU or a CPU, and the term "panel side" refers to a display panel.
Fig. 1 shows a schematic diagram of display data transmission of an exemplary In Cell touch display screen. In the In Cell technical design, because a TCON (Timing Controller) needs to support a touch function, a system side display signal and a panel side display signal are asynchronous, as shown In fig. 1, the display signal output by the system side is transmitted to the TCON through a display interface 101 such as an eDP interface, the TCON stores received display Data In a Frame Buffer 102 (Frame Buffer) first, and then the display panel 103 sequentially reads Data from the Frame Buffer 102 under the control of a DE (Data Enable) signal output by the TCON to refresh a display screen.
When a Self-Refresh (PSR) mode is started, the display Panel displays a still image, the system side stops transmitting data, i.e., stops updating data in the frame buffer, and the TCON automatically displays the image stored in the frame buffer. However, when exiting the PSR mode, the rate of the panel side DE signal is higher than the rate of the system side DE signal, which is likely to cause a problem of frame confusion, resulting in an error when the display panel reads data from the frame buffer, thereby causing a problem of horizontal line flashing of the display screen and affecting the viewing experience of the user.
For example, under normal conditions, the operation flow of the display panel is as follows: the TCON stores the first 64 lines of data sent from the system side into the frame buffer, and then starts to fetch data from the frame buffer to the rear-end driver of the display panel. As shown in fig. 2, the operation timings of the first display region and the second display region are shown, the Tsync signal is a touch synchronization signal, and the display and touch timing control and synchronization are realized through the Tsync signal. The signal for displaying the image in the display stage is obtained when the Tsync signal is at a high level, and the signal for touch control in the touch control stage is obtained when the Tsync signal is at a low level. The eDP _ DE signal is a system side data enable signal, the Tcon _ DE signal is a panel side data enable signal, and the rates of the eDP _ DE signal and the Tcon _ DE signal are assumed to be set as follows: 13.25 μ s/line and 7.4 μ s/line, the display scanning period t1 and the touch scanning period t2 are respectively: 560. Mu.s and 450. Mu.s. Since the Tcon _ DE rate is higher than the eDP _ DE rate, the display panel performs the display scanning operation with less and less data stored in the frame buffer in advance.
Assuming that the number of rows of display panel refresh per display scan cycle is 76, when one display scan is completed, the amount of pre-stored data remaining in the frame buffer is: 30 lines (64 +560 ÷ 13.25-76= 30), and when the touch scan operation is performed immediately after the display panel, the data is not fetched from the frame buffer, and the data stored in the frame buffer is increased. After one touch scanning operation is finished, the data volume stored in the frame buffer is restored to: 64 lines (30 +450 ÷ 13.25= 64). The reciprocating motion of the display panel will not cause the problem of frame disorder.
However, when the display panel enters the PSR mode, the system side will no longer output data to the TCON, and the TCON will repeatedly read the data in the frame buffer for the normal display of the display panel. When the system side needs to refresh the picture, namely exiting the PSR mode, if the data sent by the system side at this time is directly written into the frame buffer, the corresponding line data of the frame picture being refreshed on the panel side is updated. Then, since the number of lines scanned by the display panel is not fixed at this time, and the rate of Tcon _ DE is greater than that of eDP _ DE, when the difference between the number of lines between the initial data line of which the system side restarts writing and the current refresh line of the display panel is too small, the number of lines read by Tcon _ DE may reach the eDP _ DE write line within a certain time, so that data reading and writing overlap, i.e., a frame confusion problem occurs. For example, data stored in the frame buffer, for example, data stored in an SRAM (Static Random-Access Memory) adopts a DSC (Display Stream Compression) algorithm of 4.
In view of this, in the technical solution provided in the embodiment of the present disclosure, in addition to a row cache region configured in the TCON for the display panel to read row data for screen refresh, a spare cache region is further configured, when the display panel is in the PSR mode, whether the display panel exits from the PSR is continuously monitored, when it is monitored that the display panel exits from the PSR, a row number difference between a starting data row to be updated and a data row currently read from the row cache region is compared, if the row number difference is greater than a preset row number threshold, it is determined that the frame scrambling risk does not exist, at this time, data may be directly updated to the row cache region to refresh display of a corresponding row, if the row number difference is less than or equal to the preset row number threshold, it is determined that the frame scrambling risk exists, the data is stored in the spare cache region first, and when a next frame is refreshed, the data is read from the spare cache region to display. Therefore, the probability of frame chaos of data reading and writing when exiting from the PSR mode can be effectively reduced, the problem of display picture flash lines is favorably solved, and the watching experience of a user is improved.
The following describes a refresh control method for a display panel provided in an embodiment of the present disclosure in further detail with reference to the drawings of the present disclosure. In particular, the refresh control method may be performed in TCON of the display panel.
In a first aspect, referring to fig. 3, a refresh control method for a display panel provided in an embodiment of the present disclosure may include at least the following steps S310 to S350.
Step S310, when the display panel is in the self-refresh mode, whether an instruction for exiting the self-refresh mode is received or not is monitored.
As shown in fig. 4, in this embodiment, the frame buffer 102 includes a line buffer area and a spare buffer area, and the spare buffer area and the line buffer area are different buffer areas. The line cache area and the spare cache area may be two memory areas that are not overlapped with each other in the same memory, such as an SRAM, or may be located in two memories, which is not limited in this embodiment. The line buffer area is used for sequentially storing the received frame data, and the display panel reads the data from the line buffer area by default to update the picture. The spare buffer area is additionally configured to store frame data that is directly stored in the line buffer area when the PSR exits, and the frame data is at risk of frame scrambling. The storage capacity of the spare buffer area is configured according to actual needs, and for example, the storage capacity may be configured to be greater than or equal to one frame data size. In some examples, the storage capacity of the spare buffer area may be equal to the data amount of one frame of display data.
In the PSR mode, the system side will stop outputting data to the TCON, and the TCON will repeatedly read the data in the line buffer area to display a static picture. When the system side needs to refresh the picture, namely needs to exit the PSR mode, an instruction for indicating to exit the self-refresh mode is sent to the TCON firstly, so that when the TCON monitors the instruction, the pre-configured PSR exiting refresh control process can be started. Of course, if the command is not monitored, it indicates that the command is still in the PSR mode, and the monitoring operation continues.
In some examples, the PSR refresh control procedure may include: step S320-step S350, namely after the TCON receives the above-mentioned instruction to exit the PSR, step S320-step S350 are executed, and the line number difference between the initial data line to be updated and the data line currently read from the line buffer area is used to determine whether there is a frame chaos risk in the PSR, so as to determine the storage location of the frame data to be updated, namely, whether the frame data is normally updated to the line buffer area or updated to the backup buffer area. Therefore, the probability of frame disorder can be effectively reduced, and the probability of displaying a transverse line of a display picture when the PSR exits is reduced.
In other examples, considering that if the display panel exits the PSR, the display panel is refreshed to just the end of several lines of the current frame, or the display panel is refreshed to the end of the current frame and is located in the touch scanning period before the next frame starts to be refreshed (at this time, the currently refreshed data line on the panel side is also considered as the last line of the current frame), if the newly transmitted initial data line to be updated on the system side is just located at the beginning of several lines of the frame at this time, although the line number difference between the two lines is very large, the actual interval time is very short. For example, 1080 lines of data are shared in a frame, when the PSR is exited, the display panel is refreshing 1079 th line of data or is located in the touch scanning period before the next frame of picture starts to be refreshed (the current refreshed line is also considered to be 1080 lines), while the line number difference between the line number of the display panel and the line number of the display panel to be updated is very large in the 5 th line of the initial data line to be updated, but the actual interval time is very short, and there is a risk of frame confusion, that is, a risk of displaying picture flashing horizontal lines when the line difference updating step is executed to directly update data.
Therefore, in order to further improve the problem of the display screen flashing, as shown in fig. 3, after the TCON receives the PSR exit command and before the row difference updating step is executed, the PSR exit refresh control process may further include: a prejudging step, namely, after the TCON receives the instruction for exiting the PSR, the following step S301 is executed, and whether to continue executing the running difference updating step is determined according to the judgment result of the step S301.
Step S301, determining whether the arrival time of the system-side data enable signal is within a preset time window.
The start time, the end time, and the time length of the preset time window are configured in advance, and the configuration objectives to be followed are: the following risk situations are excluded as much as possible: when the PSR is exited, the difference of the line number between the current refreshing line number of the display panel and the initial data line to be updated is larger than a preset line number threshold value, namely, the condition of direct updating is met, but the actual interval time is not enough to avoid the occurrence of frame chaos.
In some examples, the preset time window may include: the display panel refreshes a first preset time period before the starting row of each frame. For example, the time point of starting to refresh the initial row of each frame may be used as the end time of the window, and the k row refresh times are taken ahead to obtain the preset time window. For example, suppose the display panel starts refreshing the beginning row of each frameAt a time point of T i If the refresh time of k rows is k × Δ T, i is the frame number, Δ T is the time required for refreshing one row of the display panel, the start time of the preset time window is T i -k Δ T, end time T i . At this time, if the arrival time of the system-side data enable signal is within the preset time window, it indicates that the display panel is about to be refreshed to the start line of the next frame, and at this time, the error may occur if the frame chaos risk is directly determined by the line number difference, so the second updating step is executed. The specific value of k can be determined by theoretical calculation and experiments.
In some examples, to further ensure the reliability of the predetermined result, the predetermined time window includes: the display panel refreshes a first preset time period before the initial row of each frame, and also refreshes a second preset time period from the initial row of each frame to the subsequent appointed row. For example, a window center point of a time point when the display panel starts to refresh the initial row of each frame is taken as a first row refresh time, and a second row refresh time (including the initial row) is taken as a second row refresh time, and a total of 2k row refresh times is taken as a preset time window, namely [ T [ T ] i -k*Δt,T i +k*Δt]。
In some examples, for an In Cell (In Cell) display panel, the time length of the preset time window may be determined based on the display scan period, the touch scan period, and the data read-write rate difference. Wherein, the data read-write speed difference is as follows: a difference between a rate of the system side data enable signal and a rate of the panel side data enable signal.
For example, as shown in fig. 5, when the display panel exits the PSR mode, the line number of the first data line that needs to be updated by the system side is defined as N, P is defined as the number of lines that can be refreshed by the panel side in the time period from the position where the update by the panel side is started to the next display scanning period start line when the system side starts updating data, O is the number of lines that can be refreshed by the panel side in the time period from the next display scanning period start line to the position where the update lines by the panel side and the system side overlap (i.e., the position where Frame disturbance occurs), WIN P is the waveform of the preset time window (active high), and Frame Mix is the waveform of the Frame disturbance signal (active high). Still assume that the rate of the system-side data enable signal eDP _ DE is 13.25 μ s/line and the rate of the panel-side data enable signal Tcon _ DE is 7.4 μ s/line; the ratio of the two rates is 7.4/13.25=0.55; the display and touch scanning periods are respectively as follows: 560. Mu.s and 450. Mu.s. At this time, the number of lines updated on the panel side in one display scanning period is 76 lines, the total number of lines that can be updated on the system side in one display scanning period plus one touch scanning period is 140 lines, which includes 64 lines stored in advance and the number of lines that can be updated by the system in the time period of the display and touch scanning periods.
In order to improve the above-mentioned frame scrambling problem, it is necessary to satisfy that the updated line number on the system side is always larger than that on the panel side, and therefore, as shown in fig. 5, in the case that the arrival time of the system side data enable signal is within the preset time window, the inequality needs to be satisfied: (140-P) +0.55N + O0.55 +77 + O, from which: p <1.82 × n-0.82O. Furthermore, it is necessary to satisfy the prerequisites: n is greater than a row number, which may be set to 80, for example, and o is less than the number of rows updated on the panel side in one display scan cycle, 76 in the example.
When N >80, O < -76, the minimum value of P can be derived from the results of the inequalities described above: min (P) =1.82 × 80-0.82 × 76=83.28. Since P corresponds to the system side update line number, and the time length configuration of the preset time window corresponds to the panel side update line number, the panel side update line number corresponding to the time length of the preset time window needs to satisfy, after the rate ratio conversion: 83.28 × 0.55=45.8, which, when rounded, needs to be greater than 46. That is, in this example, at least 46 rows of refresh time on the panel side may be taken as the time length of the preset time window. For example, the time length of the preset time window may be configured to: 50 Δ t or 60 Δ t, etc., may be combined with the assay configuration.
If the arrival time of the system-side data enable signal is within the preset time window, and it is determined that there is still a risk of frame confusion due to performing the row difference updating step for data updating, in the current determination logic, the row difference updating step is not performed, but the updating steps from step S302 to step S304 are performed. If the arrival time of the system-side data enable signal is not within the preset time window, it is determined that there is no risk of frame confusion in performing the data update by performing the row difference update step, and the row difference update step of the following steps S320 to S350 is performed.
Step S302, determine whether the initial data line to be updated on the system side is within the H-th line.
When exiting the PSR mode, the TCON performs decoding calculation on the received system-side data enable signal, so as to determine the initial data line to be updated on the system side, i.e., to determine from which line the eDP _ DE signal is to be updated. H in step S302 may be determined according to the preset time window and the data read-write rate difference, and is used to define a line buffer area where the initial data line arriving in the preset time window is directly stored in the read data on the panel side, that is, directly perform data update, and determine whether there is a risk of frame confusion.
If the initial data line to be updated is not within the H-th line, it is determined that there is no risk of frame confusion when the data is directly updated to the line cache region, and the following step S303 is executed to directly update the data. If the initial data line to be updated is within the H-th line, it is determined that there is a risk of frame confusion when the data is directly updated to the line cache region, and the following step S304 is executed to update the data again for the next frame.
Step S303, sequentially updating the received frame data to the line buffer area.
Under the condition that the frame chaos risk is judged to be absent, when the RSR mode exits, data transmitted by a system side from a starting data line to be updated can be directly updated to a line buffer area, the writing position and the reading position of the data do not need to be adjusted, and reading and writing can be carried out according to a normal working mode.
And step S304, sequentially updating the frame data in the preset line range to a standby cache area from the initial data line, and after the display panel reads the current frame data from the line cache area, reading the corresponding line data from the standby cache area for the next frame to refresh the display picture.
It should be noted that, for the system-side data updating process, frame data in a preset line range are sequentially updated to the spare buffer area from the start data line, and subsequent frame data can be updated to the line buffer area according to the normal operating mode, and correspondingly, for the panel-side data updating process, after the next frame finishes reading corresponding line data from the spare buffer area, data can be read from the line buffer area according to the normal operating mode.
In step S304, the preset line range may be configured in advance according to parameters such as a system side update rate, a panel side update rate, a display scan period, a touch scan period, and the like, as long as the risk of frame confusion can be avoided and the display of the current frame of the panel is not affected. In some examples, at least the first line of data to be updated to the last line of data of the same frame may be sequentially updated to the spare buffer area.
Assuming that the total line number of a frame is s lines, and the preset line range is the example from the initial data line to be updated to the last line of the frame, assuming that the data sent first by the system side after exiting the PSR mode is the h-th line data of a certain frame, i.e. the initial data line to be updated is the h-th line, the h-th line data to be sent sequentially to the s-th line data of the frame are sequentially stored in the standby cache area until the initial line of the next frame data starts, and then stored in the line cache area according to the normal working mode. That is, during the refresh of the current frame on the panel side, the h-th to s-th rows of the row buffer area still hold the data in the RSR mode, that is, the current frame refresh still displays the picture in the RSR mode. When the next frame of picture is refreshed on the panel side, reading the h-th row to the s-th row from the standby cache area for refreshing the display picture, and then reading the data from the row cache area according to the normal working mode for refreshing the subsequent frame of picture.
Alternatively, the preset row range may also be other ranges, such as: the starting data line h to be updated to the h-1 th line of the next frame data may be configured according to actual needs, which is not limited in this embodiment.
Step S320, obtaining a row number difference between the initial data row to be updated and the data row currently read from the row buffer area;
for example, the initial data row to be updated may be obtained by analyzing the received system side data enable signal; and then comparing the initial data line with the data line read from the line buffer area by the current display panel to obtain the line number difference. For example, the row number difference may be obtained by subtracting the smaller row number from the larger row number in the two.
The data line currently read from the line buffer area is the data line currently being refreshed by the display panel. For example, the display panel is currently refreshed to the 100 th row, that is, the 100 th row of data needs to be read from the row buffer area for display screen refresh. Of course, if the display panel is currently in the touch scanning cycle, the previous read data line is used as the data line currently read from the line buffer area.
Step S330, determining whether the row number difference is greater than a preset row number threshold.
The preset line number threshold is configured in advance and is used for defining a line cache area for directly storing frame data which is transmitted from the system side to the panel side for reading the data, namely, directly updating the data, and whether a frame chaos risk exists or not. In some examples, the preset number of lines threshold may be determined based on a rate difference between the system-side data enable signal and the panel-side data enable signal.
For example, the configuration may be made in conjunction with the following theoretical calculation. As shown in fig. 6, the initial data line to be updated, i.e., the line number updated when the system side exits the PSR, is defined as N, the line number M is defined as the line number of the current TCON refresh, and the position where the number of refresh lines on the panel side and the system side overlap, i.e., the position where frame scrambling occurs, passes through X lines. Still assume that the system side data update rate is 13.25 mus/row and the panel side data update rate is 7.4 mus/row; the ratio of the two rates was 7.4/13.25=0.55.
Similarly, in order to improve the above-mentioned frame confusion problem, it must be satisfied that the updated row number on the system side is always greater than the updated row number on the panel side, and based on this, in the case that the arrival time of the system-side data enable signal is outside the preset time window, the inequality needs to be satisfied: n + X0.55 >: N-M >0.45X. Furthermore, the prerequisites need to be met: x is less than the number of rows updated on the panel side in one display scan cycle, i.e. X <76 in this example.
Then, the minimum value of N-M (the difference in the number of rows) can be derived from the result of the inequality derivation:
Min(N-M)=0.45*76=34
therefore, the minimum value of the preset line number threshold is 34 lines, i.e. the line number difference at least needs to be greater than 34, so as to directly update to the line buffer area, otherwise, there is a risk of frame confusion. Thus, the preset line number threshold may be configured to be a value greater than or equal to 34, for example, to ensure reliability, the preset line number threshold may be configured to be 40, 50, 60, or 80, or the like.
If the line number difference is greater than the preset line number threshold, it is determined that there is no risk of frame confusion when the data is directly updated to the line cache region, and then the following step S340 is executed to directly update the data. If the line number difference is less than or equal to the preset line number threshold, it is determined that there is a risk of frame confusion when the data is directly updated to the line cache region, and at this time, the following step S350 is executed to wait for the next frame to update the data again.
Step S340, sequentially updating the received frame data to the line buffer area.
And step S350, sequentially updating the frame data in a preset line range from the initial data line to a standby cache area, and after the display panel reads the current frame data from the line cache area, reading the corresponding line data from the standby cache area for refreshing a display picture in the next frame.
It should be noted that, for the specific implementation process of step S340 and step S350, reference may be made to the related description of step S303 and step S304, and details are not described herein again.
Therefore, according to the technical scheme provided by the embodiment of the specification, when the situation that the product exits from the PSR mode is monitored, the frame data sent from the system side is updated by combining the judgment logic of the preset time window and the line difference judgment logic, so that frame chaos can be effectively avoided, the problem that the display frame flashes after the product exits from the PSR mode is solved, and the watching experience of a user is improved.
It should be noted that, in order to ensure the normal operation of the technical solution in the display product, the logic analyzer may be used to capture and test the waveform of the specific signal. For example, when the display panel exits the PSR mode, the display signal RX received by the TCON from the display interface and the display signal TX sent by the TCON to the source driver chip of the display panel may be captured, the data signal read by the display panel from the TCON may be parsed from the TX, and the data signal transmitted by the system side may be parsed from the RX. Recognizing that the delivery time of the initial data row transmitted when the system side exits the PSR mode is within a preset time window, and the initial data row is located in the H-th row, the current frame on the theoretical upper panel side still refreshes the picture data when the PSR is kept, and the newly transmitted data on the system side is refreshed in the next frame. At this time, it may be monitored whether the data output to the display panel by the current frame of the TCON is the data when the PSR is maintained, and if so, it indicates that the current frame of the data newly transmitted by the system side is not refreshed, but the data is updated in the next frame.
In a second aspect, based on the same inventive concept, the embodiments of this specification further provide a refresh control apparatus for a display panel. As shown in fig. 7, the refresh control device 70 includes:
a monitoring module 71, configured to monitor whether a command to exit the self-refresh mode is received when the display panel is in the self-refresh mode;
an updating module 72, configured to, if the instruction is received, perform the following row difference updating steps:
acquiring a row number difference between an initial data row to be updated and a data row currently read from a row cache region;
if the line number difference is larger than a preset line number threshold value, sequentially updating the received frame data to the line cache region;
and if the line number difference is less than or equal to the preset line number threshold, sequentially updating frame data in a preset line range to a standby cache area from the initial data line, and after the display panel finishes reading the current frame data from the line cache area, reading corresponding line data from the standby cache area for refreshing a display picture in the next frame, wherein the standby cache area and the line cache area are different cache areas.
In some examples, the preset line number threshold is determined based on a rate difference between a system-side data enable signal and a panel-side data enable signal.
In some examples, the update module 72 is specifically configured to: and at least updating the data of the initial data line to be updated to the last line of the same frame to the standby cache area in sequence.
In some examples, the update module 72 includes:
the determining submodule 721 is configured to determine whether the arrival time of the system-side data enable signal is within a preset time window, where the preset time window includes: refreshing a first preset time period before a starting row of each frame by the display panel;
the first updating submodule 722 is configured to execute the row difference updating step when it is monitored that the window judgment submodule determines that the arrival time of the system-side data enable signal is not within the preset time window;
the second updating sub-module 723, configured to, when it is monitored that the window determination sub-module determines that the arrival time of the system side data enable signal is within the preset time window, execute the following steps:
if the initial data line to be updated is within the H-th line, sequentially updating frame data within a preset line range from the initial data line into a standby cache area, and after the display panel finishes reading the current frame data from the line cache area, reading corresponding line data from the standby cache area for refreshing a display picture in the next frame;
and if the initial data line to be updated is not within the H line, sequentially updating the received frame data into the line buffer area.
In some examples, the preset time window further comprises: and the display panel refreshes a second preset time period corresponding to the starting row to the subsequent appointed row of each frame.
In some examples, the display panel is an embedded touch display panel, the time length of the preset time window is determined based on a display scanning period, a touch scanning period, and a data read-write rate difference, where the data read-write rate difference is: a difference between a rate of the system side data enable signal and a rate of the panel side data enable signal.
In some examples, the update module 72 is specifically configured to:
analyzing the received system side data enable signal to obtain an initial data row to be updated;
and comparing the initial data line with the data line read from the line cache region by the display panel at present to obtain the line number difference.
The modules may be implemented by software codes, or may be implemented by hardware, for example, an integrated circuit chip.
It should be noted that, please refer to the specific contents described in the foregoing method embodiments for the specific process of implementing the respective functions by the modules, which is not described herein again.
In the third aspect, based on the same inventive concept, as shown in fig. 8, the present specification further provides a display device 80, which includes a processor 802, a memory 801, and a computer program stored in the memory 801 and capable of running on the processor 802. When executed by the processor, the computer program implements each process of the embodiment of the refresh control method provided in the first aspect, and can achieve the same technical effect, and is not described herein again to avoid repetition. Of course, the display device 80 may also include other structures, such as a touch display panel and an audio module using the In Cell scheme.
For example, the display device 80 may be a PC (Personal Computer), a tablet Computer, a notebook Computer, a smart phone, a smart display screen, a smart television, or a wearable device, and the like, which is not limited in this embodiment.
In a fourth aspect, based on the same inventive concept, an embodiment of the present specification further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer instruction, and when the computer instruction runs on a computer, the computer executes each process of the embodiment of the refresh control method provided in the first aspect, and the same technical effects can be achieved, and are not described herein again to avoid repetition. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element. The term "plurality" means more than two, including two or more.
While preferred embodiments of the present specification have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the specification.

Claims (10)

1. A refresh control method for a display panel, the method comprising:
when the display panel is in a self-refresh mode, monitoring whether a command for exiting the self-refresh mode is received, and if the command is received, executing the following row difference updating steps:
acquiring a row number difference between an initial data row to be updated and a data row currently read from a row cache region;
if the line number difference is larger than a preset line number threshold value, sequentially updating the received frame data to the line cache region;
and if the line number difference is less than or equal to the preset line number threshold, sequentially updating frame data in a preset line range from the initial data line to a standby cache area, and after the display panel finishes reading the current frame data from the line cache area, reading corresponding line data from the standby cache area for display picture refreshing in the next frame, wherein the standby cache area and the line cache area are different cache areas.
2. The method of claim 1, wherein the sequentially updating the frame data in the preset line range into the spare buffer area from the starting data line comprises:
and at least updating the data of the initial data line to be updated to the last line of the same frame to the standby cache area in sequence.
3. The method of claim 1, after receiving the instruction and before performing the row difference update step, further comprising:
judging whether the arrival time of the system side data enable signal is in a preset time window, wherein the preset time window comprises: the display panel refreshes a first preset time period before the initial row of each frame;
if not, executing the row difference updating step; if yes, executing the following steps:
if the initial data line to be updated is within the H-th line, sequentially updating frame data within a preset line range from the initial data line into a standby cache area, and after the display panel finishes reading the current frame data from the line cache area, reading corresponding line data from the standby cache area for refreshing a display picture in the next frame;
and if the initial data line to be updated is not within the H line, sequentially updating the received frame data into the line buffer area.
4. The method of claim 3, wherein the preset time window further comprises: and the display panel refreshes a second preset time period corresponding to the time period from the initial row to the subsequent appointed row of each frame.
5. The method of claim 3, wherein the display panel is an embedded touch display panel, the time length of the preset time window is determined based on a display scanning period, a touch scanning period, and a data read/write rate difference, and the data read/write rate difference is: a difference between a rate of the system side data enable signal and a rate of the panel side data enable signal.
6. The method of claim 1, wherein the obtaining a difference in a number of rows between a starting data row to be updated and a data row currently read from a row buffer region comprises:
analyzing the received system side data enable signal to obtain an initial data row to be updated;
and comparing the initial data line with the data line read from the line cache region by the display panel at present to obtain the line number difference.
7. The method of claim 1, wherein the preset number of lines threshold is determined based on a rate difference between a system-side data enable signal and a panel-side data enable signal.
8. A refresh control apparatus for a display panel, the apparatus comprising:
the monitoring module is used for monitoring whether an instruction for exiting the self-refresh mode is received or not when the display panel is in the self-refresh mode;
an updating module, configured to execute the following line difference updating step if the instruction is received:
acquiring a line number difference between an initial data line to be updated and a data line currently read from a line cache region;
if the line number difference is larger than a preset line number threshold value, sequentially updating the received frame data to the line cache region;
and if the line number difference is less than or equal to the preset line number threshold, sequentially updating frame data in a preset line range from the initial data line to a standby cache area, and after the display panel finishes reading the current frame data from the line cache area, reading corresponding line data from the standby cache area for display picture refreshing in the next frame, wherein the standby cache area and the line cache area are different cache areas.
9. A display device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the refresh control method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that it stores computer instructions which, when run on a computer, cause the computer to perform the steps of the refresh control method according to any one of claims 1-7.
CN202211153791.2A 2022-09-21 2022-09-21 Refreshing control method, device and equipment of display panel and storage medium Pending CN115454278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211153791.2A CN115454278A (en) 2022-09-21 2022-09-21 Refreshing control method, device and equipment of display panel and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211153791.2A CN115454278A (en) 2022-09-21 2022-09-21 Refreshing control method, device and equipment of display panel and storage medium

Publications (1)

Publication Number Publication Date
CN115454278A true CN115454278A (en) 2022-12-09

Family

ID=84307186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211153791.2A Pending CN115454278A (en) 2022-09-21 2022-09-21 Refreshing control method, device and equipment of display panel and storage medium

Country Status (1)

Country Link
CN (1) CN115454278A (en)

Similar Documents

Publication Publication Date Title
US9293119B2 (en) Method and apparatus for optimizing display updates on an interactive display device
US20200302896A1 (en) Extending the range of variable refresh rate displays
US8854344B2 (en) Self-refresh panel time synchronization
US9383851B2 (en) Method and apparatus for buffering sensor input in a low power system state
US8259123B2 (en) Image processing apparatus
US20140168229A1 (en) Cpu-gpu parallelization
CN110073324B (en) Method and apparatus for dynamically reducing application rendering time on screen in desktop environment
CN113205779B (en) Multi-screen synchronous control method, device and system suitable for electronic ink screen
US9875517B2 (en) Data processing method, data processing apparatus, and storage medium
CN113781949B (en) Image display method, display driving chip, display screen module and terminal
CN115424599A (en) Varying display refresh rate
KR20220143667A (en) Reduced display processing unit delivery time to compensate for delayed graphics processing unit render times
CN109426474A (en) A kind of double-display screen synchronization system
CN113805831B (en) Image data transmission method, device, terminal and medium
CN116635929A (en) Performing asynchronous memory clock changes on a multi-display system
CN115454278A (en) Refreshing control method, device and equipment of display panel and storage medium
US8773442B2 (en) Aligning animation state update and frame composition
EP4373073A1 (en) Video playback method and apparatus, and electronic device
WO2023040592A1 (en) Image data transmission method and apparatus, terminal, and medium
US20110273462A1 (en) System and method for storing and accessing pixel data in a graphics display device
JP2019139060A (en) Image processor and image processing method
JP2006303630A (en) Frame rate conversion apparatus, overrun compensation method, and display apparatus
CN114549725A (en) Image processing device, image fixing determination method and display system
CN114153416B (en) Display control method and related device
CN115151886A (en) Delaying DSI clock changes based on frame updates to provide a smoother user interface experience

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination