Parameter optimization method, system and control device

By dynamically adjusting the number of touch rows and buffer capacity, the buffer capacity allocation of the TDDI chip is optimized, which solves the problem of wasted storage resources and realizes more efficient storage resource allocation and touch scanning.

CN115129245BActive Publication Date: 2025-08-29BEIJING ESWIN COMPUTING TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210644700.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-08
Publication Date
2025-08-29
Estimated Expiration
2042-06-08

AI Technical Summary

Technical Problem

In the prior art, the capacity requirements for buffers of TDDI chips under different driving methods are different, resulting in waste of storage resources and inability to effectively allocate them.

Method used

By setting initial control parameters and dynamically adjusting the number of touch rows and buffer capacity based on non-empty constraints, overflow constraints and touch time constraints, optimizing the data transmission rate and touch time to reasonably allocate storage resources.

Benefits of technology

Avoid waste of storage resources, realize better storage resource allocation, and meet the needs of touch display devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115129245B_ABST
    Figure CN115129245B_ABST
Patent Text Reader

Abstract

This application discloses a parameter optimization method, system, and control device. The method includes: setting initial values ​​for control parameters, including the number of touch rows and the capacity of the buffer; dynamically adjusting the control parameters based on a non-empty constraint, an overflow constraint, and a touch time constraint. The non-empty constraint is that the number of rows of data written within a first time period is greater than or equal to the number of rows of data read; the overflow constraint is that the difference between the number of rows of data written and the number of rows of data read within a second time period is less than or equal to the capacity of the buffer; and the number of touch rows is the number of rows of data read by inserting a touch time when reading data. By dynamically adjusting the control parameters, this application can avoid storage resource loss and better allocate storage resources in a touch display device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display touch technology, and in particular to a parameter optimization method, system and control device. Background Art

[0002] Touch and Display Driver Integration (TDDI) chips typically use a buffer in memory to alter the timing of display data and provide it to the panel. This allows touch scans to be performed during the pause period when display data is not being provided to the panel. Currently, multiple touch scans are typically inserted during the display of a single frame, or a single touch scan is inserted at the end of a frame. The various drive methods described above require different buffer capacity requirements. Currently, the buffer capacity is often set to a maximum to ensure the required touch timing under all drive methods. However, this results in memory resource consumption and prevents optimal allocation of memory resources. Summary of the Invention

[0003] In order to solve the above technical problems, the present application provides a parameter optimization method, system and control device.

[0004] In one aspect, the present application provides a parameter optimization method, comprising:

[0005] Setting initial values ​​of control parameters, wherein the control parameters include the number of touch rows and the capacity of the buffer zone;

[0006] Dynamically adjust the control parameters based on non-empty constraints, overflow constraints, and touch time constraints,

[0007] Among them, the non-empty constraint condition is that the number of rows of data written in the first time is greater than or equal to the number of rows of data read; the overflow constraint condition is that the difference between the number of rows of data written and the number of rows of data read in the second time is less than or equal to the capacity of the buffer zone, and the number of touch rows is the number of rows of data read by inserting a touch time when reading data.

[0008] Optionally, the step of dynamically adjusting the control parameters based on the non-empty constraint condition, the overflow constraint condition, and the touch time constraint condition includes:

[0009] Obtain an upper limit value of the data transmission rate based on the number of rows of data written and the number of rows of data read within the first time;

[0010] Obtaining a lower limit value of the data transmission rate according to the number of rows of data written and the number of rows of data read within the second time;

[0011] Obtaining a value range of the touch time according to the number of touch rows and the upper limit and lower limit of the data transmission rate;

[0012] When the value range is not within the preset range, at least one of the control parameters is dynamically adjusted to make the touch time fall within the preset range.

[0013] Optionally, the step of dynamically adjusting the control parameters based on the non-empty constraint condition, the overflow constraint condition, and the touch time constraint condition further includes:

[0014] Obtaining the number of rows of data written within the first time according to the number of delayed rows, the number of rows of data written within the first touch scanning time, and the number of rows of data written when reading data within the first time;

[0015] The number of rows in which data is written in the first touch scan time is determined according to the data transmission rate, the number of touch times included in the first touch scan time, and the number of touch rows;

[0016] The number of rows of data written when reading data within the first time is determined according to the data transmission rate and the number of rows of data read within the first time;

[0017] The first touch scanning time is the total time of at least one touch time inserted in the first time.

[0018] Optionally, the step of dynamically adjusting the control parameters based on the non-empty constraint condition, the overflow constraint condition, and the touch time constraint condition further includes:

[0019] Obtaining the number of rows of data written within the second time according to the number of delayed rows, the number of rows of data written within the second touch scanning time, and the number of rows of data written when reading data within the second time;

[0020] The number of rows in which data is written in the second touch scanning time is determined according to the data transmission rate, the number of touch times included in the second touch scanning time, and the number of touch rows;

[0021] The number of rows of data written when reading data within the second time is determined according to the data transmission rate and the number of rows of data read within the second time;

[0022] The second touch scanning time is a total time of at least two touch times inserted in the second time.

[0023] Optionally, it also includes:

[0024] The touch time is obtained according to the number of touch rows, the data transmission rate, the clock frequency of writing data, and the number of pixels of writing data in one row.

[0025] Optionally, it also includes:

[0026] The number of delay lines is dynamically adjusted to ensure that the touch time is within the preset range.

[0027] Optionally, the number of rows of data read in the first time is equal to the number of rows of data read in the second time, and the first touch scanning time is less than the second touch scanning time by one touch time.

[0028] In another aspect, the present application provides a parameter optimization system, comprising:

[0029] A setting module, configured to set initial values ​​of control parameters, including the number of touch rows and the capacity of the buffer zone; and

[0030] An adjustment module dynamically adjusts the control parameters based on non-empty constraints, overflow constraints, and touch time constraints.

[0031] Among them, the non-empty constraint condition is that the number of rows of data written in the first time is greater than or equal to the number of rows of data read; the overflow constraint condition is that the difference between the number of rows of data written and the number of rows of data read in the second time is less than or equal to the capacity of the buffer zone, and the number of touch rows is the number of rows of data read by inserting a touch time when reading data.

[0032] Optionally, the adjustment module includes:

[0033] a first adjustment unit, which obtains an upper limit value of the data transmission rate according to the number of rows of data written and the number of rows of data read within a first time period;

[0034] a second adjusting unit, which obtains a lower limit value of the data transmission rate according to the number of rows of data written and the number of rows of data read within the second time; and

[0035] The third adjustment unit obtains a value range of the touch time according to the number of touch rows and the upper limit and lower limit of the data transmission rate, and when the value range is not within the preset range, dynamically adjusts at least one of the control parameters to make the touch time within the preset range.

[0036] Optionally, the first adjustment unit obtains the number of rows of data written in the first time according to the number of delayed rows, the number of rows of data written in the first touch scanning time, and the number of rows of data written when reading data in the first time.

[0037] The number of rows in which data is written in the first touch scan time is determined according to the data transmission rate, the number of touch times included in the first touch scan time, and the number of touch rows;

[0038] The number of rows of data written when reading data within the first time is determined according to the data transmission rate and the number of rows of data read within the first time;

[0039] The first touch scanning time is the total time of at least one touch time inserted in the first time.

[0040] Optionally, the second adjustment unit obtains the number of rows of data written within the second time according to the number of delayed rows, the number of rows of data written within the second touch scanning time, and the number of rows of data written when reading data within the second time;

[0041] The number of rows in which data is written in the second touch scanning time is determined according to the data transmission rate, the number of touch times included in the second touch scanning time, and the number of touch rows;

[0042] The number of rows of data written when reading data within the second time is determined according to the data transmission rate and the number of rows of data read within the second time;

[0043] The second touch scanning time is a total time of at least two touch times inserted in the second time.

[0044] Optionally, the third adjustment unit obtains the touch time according to the number of touch rows, a data transmission rate, a clock frequency of writing data, and the number of pixels of writing a row of data.

[0045] Optionally, it also includes:

[0046] The fourth adjustment unit dynamically adjusts the number of delay lines so that the touch time is within the preset range.

[0047] Optionally, the number of rows of data read in the first time is equal to the number of rows of data read in the second time, and the first touch scanning time is less than the second touch scanning time by one touch time.

[0048] In another aspect, the present application provides a control device, comprising:

[0049] Input control unit, setting the clock frequency of writing data, the capacity of the buffer, and the number of pixels to write a row of data;

[0050] Output control unit, set the number of touch rows, delay rows and rows of sub-data to read,

[0051] Wherein, data is written to and read from the buffer based on the parameters set by the output control unit and the input control unit, and touch scanning is performed by inserting touch time between reading adjacent sub-data.

[0052] The capacity of the buffer zone and the number of touch rows are obtained by executing the parameter optimization method, or provided by the parameter optimization system.

[0053] The parameter optimization method, system and control device provided in the present application can avoid storage resource loss by setting the initial values ​​of the number of touch rows and the capacity of the buffer zone, and dynamically adjust the number of touch rows and the capacity of the buffer zone based on non-empty constraints, overflow constraints and touch time constraints, so as to better allocate storage resources in the touch display device.

[0054] It should be noted that the above general description and the following detailed description are merely exemplary and explanatory and do not limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 A schematic structural diagram of a touch display device according to an embodiment of the present application is shown;

[0056] Figure 2 A schematic diagram showing a timing sequence of writing and reading an image frame in a touch display device provided according to an embodiment of the present application;

[0057] Figure 3 A schematic diagram showing a timing sequence of writing and reading a row of data in an image frame in a touch display device provided according to an embodiment of the present application;

[0058] Figure 4 A schematic diagram showing the structure of a control device and a buffer zone provided according to an embodiment of the present application is shown;

[0059] Figure 5 A schematic diagram showing a flow chart of a parameter optimization method provided according to an embodiment of the present application is shown;

[0060] Figure 6 Show Figure 5 Flow chart of step S520;

[0061] Figure 7 A schematic diagram showing the structure of a parameter optimization system provided according to an embodiment of the present application is shown;

[0062] Figure 8 A structural diagram of an adjustment module in a parameter optimization system provided according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0063] To facilitate understanding of the present application, a more comprehensive description of the present application will be provided below with reference to the accompanying drawings. The accompanying drawings illustrate preferred embodiments of the present application. However, the present application may be implemented in various forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and comprehensive understanding of the disclosure of the present application.

[0064] Figure 1 A structural schematic diagram of a touch display device provided according to an embodiment of the present application is shown. Figure 2 A schematic diagram showing the timing of writing and reading an image frame in a touch display device provided according to an embodiment of the present application is shown. Figure 3 A schematic diagram illustrating a timing sequence of writing and reading a row of data in an image frame in a touch display device provided according to an embodiment of the present application is shown. Figure 4 A schematic structural diagram of a control device and a buffer zone provided according to an embodiment of the present application is shown.

[0065] like Figure 1 As shown, the touch display device includes a control device 100, a drive device 200, a panel 300, and a buffer zone 400. The touch display device includes, for example, a mobile phone, a computer, a wearable device, or other terminal. The control device 100 controls the writing of display data to and reading of display data from the buffer zone 400 based on set parameters (including at least optimized control parameters). Furthermore, by controlling the data writing speed to be lower than the data reading speed, a pause period is formed during the process of reading data from the buffer zone 400 and providing display data to the panel 300. The pause period includes at least one touch time. During the touch time, data is written to the buffer zone 400 but data is not read from the buffer zone for providing to the panel 300. The drive device 200 implements screen display and touch scanning based on the improved display timing provided by the buffer zone 400 controlled by the control device 100. The drive device 200 drives the panel 300 using time-division multiplexing to implement display and touch scanning functions. Furthermore, when the control device 100 controls data reading, the driver device 200 scans the panel 300 to provide display data read from the buffer 400 to the panel 300 for screen display. Furthermore, under the control of the control device 100, the driver device 200 scans the panel 300 during the touch time to achieve touch scanning. The driver device 200, for example, includes a timing control circuit, a data driver circuit, and a scan driver circuit. The timing control circuit receives a synchronization signal (for controlling display timing), a clock signal, and data to be displayed, and transmits these to the data driver circuit and the scan driver circuit. The data driver circuit writes the data to be displayed to the panel 300, and the scan driver circuit scans the panel to achieve screen display or touch scanning. The panel 300 is a touch display panel. Specifically, the panel 300 may be, for example, an OLED panel, an LCD panel, or an LED panel. The buffer 400 is, for example, a data cache area in the memory of the touch display device.

[0066] This example mainly focuses on a driving method of inserting multiple touch scans into a frame of image display. Correspondingly, the control device 100 sets parameters so that when reading a frame of display data from the buffer 400, multiple sub-data are read and a touch time is inserted between each group of adjacent sub-data.

[0067] Combine Figure 2 In this application, a control device 100 is used to control the writing and reading of data from a buffer. Display data is written to a buffer 400 based on the timing of an initial frame synchronization signal SYNCi, and display data is read from the buffer 400 based on the timing of a target frame synchronization signal SYNCo. The display data is then driven to the panel 300 via the driver 200. During the process of writing a frame of display data to the buffer, the control device 100 controls the segmented reading of multiple sub-data of the display data from the buffer 400 after a delay, and inserts a touch time between adjacent sub-data (pausing data reading from the buffer 400 during this time). Each sub-data may, for example, contain multiple rows of display data. Furthermore, based on the target frame synchronization signal SYNCo, the driver 200 controls the provision of the multiple sub-data to the panel 300 for screen display after a delay, and provides a touch enable signal En1 in an active level state during the touch time between adjacent sub-data, controlling the panel 300 to perform touch scanning.

[0068] In one embodiment, combining Figure 3 As shown, for example, during the write phase, display data is continuously written into the buffer 400 based on the initial frame synchronization signal SYNCi. Furthermore, each row of data to be displayed is written into the buffer 400 based on the initial line synchronization signal HSYNCi. When the initial line synchronization signal HSYNCi is in an active state (e.g., a high level), it is in the display phase for a row of images (inputting the number of pixels for display, HACTi); when the initial line synchronization signal HSYNCi is in an inactive state (e.g., a low level), it is in the blanking phase (inputting the number of pixels for blanking, HBLANKi). During the read phase, display data is read from the buffer 400 based on the target frame synchronization signal SYNCo. Specifically, the display data of multiple sub-data is first read after a delay, and touch time is inserted between reading adjacent sub-data for touch scanning. Furthermore, when reading each sub-data, each row of display data is read from the buffer 400 based on the target line synchronization signal HSYNCo. The target line synchronization signal HSYNCo is in a valid level state (for example, a high level) and enters the display stage of a line of the picture (reading the number of pixels for display HACTo); the target line synchronization signal HSYNCo is in an invalid level state (for example, a low level) and is in the blanking stage (reading the number of pixels for blanking HBLANKo).

[0069] Because the time required to write a row of data differs from the time required to read a row of data in the data transmission rate, the periods of the initial row synchronization signal HSYNCi and the target row synchronization signal HSYNCo are also different. In some embodiments, when the clock frequency for writing data is the same as the clock frequency for reading data, the number of pixels used for display contained in the written row of data, HACTi, is equal to the number of pixels used for display contained in the read row of data, HACTo. However, the number of pixels in the blanking phase contained in the written row of data, HBLANKI, is different from the number of pixels in the blanking phase contained in the read row of data, HSLANKo.

[0070] In order to make the display timing of reading data from the buffer 400 and providing it to the panel 300 the timing of the target frame synchronization signal SYNCo, the present application controls the buffer 400 through the control device 100. Figure 4 The control device 100 includes an input control unit 121 and an output control unit 122. The input control unit 121 is used to set the clock frequency for writing data, the capacity of the buffer, and the number of pixels for writing a row of data. The output control unit 122 is used to set the number of touch rows, the number of delay rows, and the number of rows of sub-data to be read. Data writing to and reading from the buffer 400 are then controlled based on the parameters set by the output control unit 122 and the input control unit 121. Furthermore, the writing of display data to the buffer 400 is controlled based on the clock frequency for writing data and the number of pixels for writing a row of data, while the reading of display data from the buffer 400 is controlled based on the clock frequency for writing data (for example, when reading and writing data, the same clock is used), the number of touch rows, the number of delay rows, and the number of rows of each sub-data to be read. Furthermore, control is performed to read multiple sub-data segments from the buffer 400 and insert touch time between adjacent sub-data segments to enable touch scanning via the driver panel 300. The aforementioned data reading and displaying require a relatively appropriate buffer capacity to support them. Excessive buffer capacity can waste storage resources. Among these parameters, at least the number of touch rows and the buffer capacity can be dynamically adjusted based on constraints to ensure that the touch time required by the customer can be met while maintaining the smallest possible buffer capacity. Therefore, before using the control device 100 to set these parameters, it is necessary to first optimize these parameters. The optimized parameters are then set and controlled by the control device 100 to control the buffer 400 to obtain a modified target display timing that can meet the touch time required by the customer for touch scanning.

[0071] Furthermore, the parameter optimization method and apparatus are described below.

[0072] Figure 5 A flow chart of a parameter optimization method according to an embodiment of the present application is shown. Figure 6 Show Figure 5 Flow chart of step S520 in FIG.

[0073] like Figure 5 As shown, the parameter optimization method includes the following steps:

[0074] Step S510: Initial values ​​of control parameters are set. These control parameters may include, for example, at least the number of touch rows and the buffer capacity. The initial values ​​may be empirical values. The number of touch rows may be the number of rows read during a touch interval (no data is read during this interval; the number of touch rows is used only to indicate the length of the interval).

[0075] Step S520: Dynamically adjust the control parameters based on the non-empty constraint, the overflow constraint, and the touch time constraint. The non-empty constraint is that the number of rows of data written in the first time is greater than or equal to the number of rows of data read. The overflow constraint is that the difference between the number of rows of data written and the number of rows of data read in the second time is less than or equal to the capacity of the buffer. Furthermore, satisfying the non-empty constraint can avoid data underflow, satisfying the overflow constraint can avoid data overflow, and satisfying the touch time constraint can meet customer requirements for touch scanning. Furthermore, the first time is, for example, the time after inserting at least one touch time and reading the next sub-data from the buffer and before inserting the next touch time. The second time is, for example, the time after inserting at least two touch times and before reading the next sub-data from the buffer. Combined with the attached Figure 6 As shown, this step includes the following steps:

[0076] Step S521: Obtain the upper limit of the data transmission rate based on the number of rows of data written and read in the first time. To avoid not being able to read data from the buffer 400, a non-empty constraint condition needs to be met. The non-empty constraint condition is expressed as the following formula: ,and then Wherein, the data transmission rate Rate is the ratio of the time to write a line of data to the time to read a line of data, D refers to the number of lines of display data contained in the first sub-data read from the buffer 400, d refers to the number of lines of display data contained in the intermediate sub-data read from the buffer 400, n≤i-2, and n is an integer, i refers to the number of sub-data contained in a frame of display data, Refers to the number of rows whose read time is delayed compared to the write time. Refers to the number of rows of data read during the touch time inserted between adjacent sub-data. Figure 2The first time is, for example, the time taken to read the first two sub-data (the first sub-data includes D rows of display data, and the second sub-data includes d rows of display data) from the buffer 400 and before the next touch time is inserted, n=1. Wherein, i is, for example, 10. Further, according to the number of delayed rows , The number of rows of data written during the first touch scan time And the number of rows written when reading data for the first time The number of rows of data written in the first time is obtained. The number of rows of data written in the first touch scanning time is calculated based on the data transmission rate, the number of touch times n included in the first touch scanning time, and the number of touch rows. The number of rows of data written when reading data within the first time is determined based on the data transmission rate and the number of rows of data read within the first time (D+d*n). The first touch scan time is the total time of at least one touch time inserted within the first time.

[0077] Step S522: Obtain a lower limit value of the data transmission rate based on the number of rows of data written and read within the second time. To avoid invalid data writing in the buffer 400, an overflow constraint condition needs to be satisfied. The overflow constraint condition is expressed as the following formula: ,and then Wherein, the data transmission rate Rate is the ratio of the time to write a line of data to the time to read a line of data, D refers to the number of lines of display data contained in the first sub-data read from the buffer 400, d refers to the number of lines of display data contained in the intermediate sub-data read from the buffer 400, n≤i-2, and n is an integer, i refers to the number of sub-data contained in a frame of display data, Refers to the number of rows whose read time is delayed compared to the write time. Refers to the number of rows of data read during the touch time inserted between adjacent sub-data. Refers to the capacity of the buffer zone 400. Specifically, Figure 2 The second time is, for example, the time taken after reading the first two sub-data (the first sub-data includes D rows of display data, and the second sub-data includes d rows of display data) from the buffer 400 and inserting the next touch time, n=1. Wherein, i is, for example, 10. Further, according to the number of delayed rows , the number of rows of data written during the second touch scan time ( ) and the number of rows written when reading data in the second time The number of rows of data written in the second time is obtained. The number of rows of data written in the second touch scanning time is calculated based on the data transmission rate, the number of touch times n+1 included in the second touch scanning time, and the number of touch rows. The number of rows of data written when reading data within the second time is determined based on the data transmission rate and the number of rows of data read within the second time (D + d * n). The second touch scan time is the total time of at least two touch times inserted within the second time.

[0078] Step S523: Obtain the touch time range based on the number of touch rows and the upper and lower limits of the data transmission rate. To meet the touch time requirement, the touch time constraint condition needs to be met. The touch time constraint condition is expressed as the following formula: The data transmission rate is the ratio of the time to write a row of data to the time to read a row of data. Refers to the number of rows of data read during the touch time inserted between adjacent sub-data. Refers to the total number of pixels written into a row of data. Refers to the touch time, Refers to the clock frequency of writing data. , data transfer rate Rate, clock frequency of writing data Get touch time Furthermore, the value range of the touch time can be obtained by using the upper limit and lower limit of the data transmission rate obtained above.

[0079] Step S524: When the value range is not within the preset range, dynamically adjust at least one of the control parameters so that the touch time is within the preset range. When the value range is not within the preset range, update the value of the touch row number and the capacity of the buffer 400 so that the touch time is within the preset range. In the above embodiment, the delay row number For example, an empirical value is given in advance, and when the value range is not within the preset range, the number of touch rows in the control parameters and the capacity of the buffer 400 can be adjusted. In other embodiments, the number of delay rows, the number of touch rows, and the capacity of the buffer 400 can also be dynamically adjusted simultaneously to make the touch time within the preset range, for example, the number of delay rows is increased or decreased according to the comparison result between the value range and the preset range. .

[0080] It should be noted that before dynamically adjusting the above control parameters, the total number of pixels in a row of data is written , the clock frequency of writing data The number D of display data rows contained in the first sub-data read from buffer 400 and the number d of display data rows contained in the intermediate sub-data read from buffer 400 are pre-set. Using the parameter optimization method described above, a suitable buffer capacity value can be obtained. After being set by control device 100, the buffer capacity can support a touch scan time within a preset range for the touch display. In other words, subsequent changes in touch time within the preset range can be achieved using the buffer capacity.

[0081] Furthermore, the number of rows of data read in the first time is equal to the number of rows of data read in the second time, and the first touch scanning time is one touch time less than the second touch scanning time, thereby reducing computational complexity during parameter optimization.

[0082] Furthermore, the data transmission rate is based on the number of pixels in a row of data. And read the number of pixels of a row of data Get, further, the data transmission rate Rate is the number of pixels written into a row of data The number of pixels in a row of data ratio.

[0083] Figure 7 A schematic structural diagram of a parameter optimization system provided according to an embodiment of the present application is shown. Figure 8 A structural diagram of an adjustment module in a parameter optimization system provided according to an embodiment of the present application is shown.

[0084] like Figure 7 As shown, the parameter optimization system 600 includes a setting module 610 and an adjustment module 620. The setting module 610 is used to set the initial values ​​of the control parameters, which include at least the number of touch rows and the capacity of the buffer. The adjustment module 620 dynamically adjusts the control parameters based on non-empty constraints, overflow constraints, and touch time constraints. The non-empty constraint is that the number of rows of data written in the first time is greater than or equal to the number of rows of data read; the overflow constraint is that the difference between the number of rows of data written and the number of rows of data read in the second time is less than or equal to the capacity of the buffer; and the number of touch rows is the number of rows of data read by inserting one touch time when reading data.

[0085] Furthermore, if Figure 8As shown, the adjustment module 620 includes a first adjustment unit 621, a second adjustment unit 622, and a third adjustment unit 623. The first adjustment unit 621 obtains an upper limit of the data transmission rate based on the number of rows of data written and read within the first time period. The second adjustment unit 622 obtains a lower limit of the data transmission rate based on the number of rows of data written and read within the second time period. The third adjustment unit 623 obtains a value range of the touch time based on the number of touch rows and the upper and lower limits of the data transmission rate. If the value range is not within a preset range, the third adjustment unit 623 dynamically adjusts at least one of the control parameters to ensure that the touch time is within the preset range.

[0086] Furthermore, the first adjustment unit 621 obtains the number of rows of data written within the first time based on the number of delayed rows, the number of rows of data written within the first touch scan time, and the number of rows of data written when reading data within the first time. The number of rows of data written within the first touch scan time is determined based on the data transmission rate, the number of touch times included in the first touch scan time, and the number of touch rows. The number of rows of data written when reading data within the first time is determined based on the data transmission rate and the number of rows of data read within the first time. The first touch scan time is the total duration of at least one touch time inserted within the first time.

[0087] Furthermore, the second adjustment unit 622 determines the number of rows of data written within the second time based on the number of delayed rows, the number of rows of data written within the second touch scan time, and the number of rows of data written when reading data within the second time. The number of rows of data written within the second touch scan time is determined based on the data transmission rate, the number of touch times included in the second touch scan time, and the number of touch rows. The number of rows of data written when reading data within the second time is determined based on the data transmission rate and the number of rows of data read within the second time. The second touch scan time is the total time of at least two touch times inserted within the second time.

[0088] Furthermore, the third adjustment unit 623 obtains a value range of the touch time according to the number of touch rows, the upper limit and lower limit of the data transmission rate, the clock frequency of writing data, and the number of pixels of writing a row of data.

[0089] Furthermore, the adjustment module 620 further includes a fourth adjustment unit 624 for dynamically adjusting the number of delay lines so that the touch time is within a preset range.

[0090] Furthermore, the number of rows of data read in the first time is equal to the number of rows of data read in the second time, and the first touch scanning time is shorter than the second touch scanning time by one touch time.

[0091] It should be noted that the numerical values ​​in this article are only used for exemplary description. In other embodiments of this application, other numerical values ​​can also be sampled to implement this solution. The specific settings should be reasonable according to actual conditions, and this application does not limit this.

[0092] Finally, it should be noted that the above embodiments are merely examples for the purpose of illustrating the present application and are not intended to limit the embodiments. Those skilled in the art will readily appreciate that other variations or modifications based on the above descriptions are possible. It is not necessary and impossible to enumerate all embodiments here. Obvious variations or modifications arising therefrom remain within the scope of protection of this application.

[0093] It should also be understood that the terms and expressions used herein are for descriptive purposes only, and the one or more embodiments of this specification should not be limited to these terms and expressions. The use of these terms and expressions is not intended to exclude any equivalent features illustrated and described (or portions thereof), and it should be recognized that various modifications are also within the scope of the claims. Other modifications, variations, and substitutions are possible. Accordingly, the claims should be deemed to cover all such equivalents.

Claims

1. A parameter optimization method, characterized in that: include: Setting initial values ​​of control parameters, wherein the control parameters include the number of touch rows and the capacity of the buffer zone; Dynamically adjusting the control parameters based on non-empty constraints, overflow constraints, and touch time constraints includes: obtaining an upper limit of the data transmission rate based on the number of rows of data written and the number of rows of data read within a first time; obtaining a lower limit of the data transmission rate based on the number of rows of data written and the number of rows of data read within a second time; obtaining a value range of the touch time based on the number of touch rows and the upper and lower limits of the data transmission rate; and when the value range is not within a preset range, dynamically adjusting at least one of the control parameters so that the touch time is within the preset range, wherein the data transmission rate is the ratio of the time to write a row of data to the time to read a row of data. Among them, the non-empty constraint condition is that the number of rows of data written in the first time is greater than or equal to the number of rows of data read; the overflow constraint condition is that the difference between the number of rows of data written and the number of rows of data read in the second time is less than or equal to the capacity of the buffer zone, and the number of touch rows is the number of rows of data read by inserting a touch time when reading data.

2. The method according to claim 1, characterized in that The step of dynamically adjusting the control parameters based on the non-empty constraint condition, the overflow constraint condition, and the touch time constraint condition further includes: Obtaining the number of rows of data written within the first time according to the number of delayed rows, the number of rows of data written within the first touch scanning time, and the number of rows of data written when reading data within the first time; The number of rows in which data is written in the first touch scan time is determined according to the data transmission rate, the number of touch times included in the first touch scan time, and the number of touch rows; The number of rows of data written when reading data within the first time is determined according to the data transmission rate and the number of rows of data read within the first time; The first touch scanning time is the total time of at least one touch time inserted in the first time.

3. The method according to claim 2, characterized in that The step of dynamically adjusting the control parameters based on the non-empty constraint condition, the overflow constraint condition, and the touch time constraint condition further includes: Obtaining the number of rows of data written within the second time according to the number of delayed rows, the number of rows of data written within the second touch scanning time, and the number of rows of data written when reading data within the second time; The number of rows in which data is written in the second touch scanning time is determined according to the data transmission rate, the number of touch times included in the second touch scanning time, and the number of touch rows; The number of rows of data written when reading data within the second time is determined according to the data transmission rate and the number of rows of data read within the second time; The second touch scanning time is a total time of at least two touch times inserted in the second time.

4. The method according to claim 3, characterized in that Also includes: The touch time is obtained according to the number of touch rows, the data transmission rate, the clock frequency of writing data, and the number of pixels of writing data in one row.

5. The method according to claim 3, characterized in that Also includes: The number of delay lines is dynamically adjusted to ensure that the touch time is within the preset range.

6. The method according to claim 3, characterized in that The number of rows of data read in the first time is equal to the number of rows of data read in the second time, and the first touch scanning time is less than the second touch scanning time by one touch time.

7. A parameter optimization system, characterized in that: include: A setting module, which sets initial values ​​of control parameters, including the number of touch rows and the capacity of the buffer zone; as well as An adjustment module dynamically adjusts the control parameters based on a non-empty constraint, an overflow constraint, and a touch time constraint, the adjustment module comprising: a first adjustment unit, which obtains an upper limit value of the data transmission rate according to the number of rows of data written and the number of rows of data read within a first time period; a second adjusting unit, which obtains a lower limit value of the data transmission rate according to the number of rows of data written and the number of rows of data read within the second time; and a third adjustment unit, which obtains a value range of the touch time according to the number of touch rows and the upper and lower limits of the data transmission rate, and dynamically adjusts at least one of the control parameters to make the touch time fall within the preset range when the value range is not within the preset range; The data transmission rate is the ratio of the time to write a row of data to the time to read a row of data. Among them, the non-empty constraint condition is that the number of rows of data written in the first time is greater than or equal to the number of rows of data read; the overflow constraint condition is that the difference between the number of rows of data written and the number of rows of data read in the second time is less than or equal to the capacity of the buffer zone, and the number of touch rows is the number of rows of data read by inserting a touch time when reading data.

8. The system according to claim 7, characterized in that The first adjustment unit obtains the number of rows of data written in the first time according to the number of delayed rows, the number of rows of data written in the first touch scanning time, and the number of rows of data written when reading data in the first time. The number of rows in which data is written in the first touch scan time is determined according to the data transmission rate, the number of touch times included in the first touch scan time, and the number of touch rows; The number of rows of data written when reading data within the first time is determined according to the data transmission rate and the number of rows of data read within the first time; The first touch scanning time is the total time of at least one touch time inserted in the first time.

9. The system according to claim 8, characterized in that The second adjustment unit obtains the number of rows of data written within the second time according to the number of delayed rows, the number of rows of data written within the second touch scanning time, and the number of rows of data written when reading data within the second time; The number of rows in which data is written in the second touch scanning time is determined according to the data transmission rate, the number of touch times included in the second touch scanning time, and the number of touch rows; The number of rows of data written when reading data within the second time is determined according to the data transmission rate and the number of rows of data read within the second time; The second touch scanning time is a total time of at least two touch times inserted in the second time.

10. The system according to claim 9, characterized in that The third adjustment unit obtains the touch time according to the number of touch rows, the data transmission rate, the clock frequency of writing data, and the number of pixels of writing data in one row.

11. The system according to claim 9, wherein: Also includes: The fourth adjustment unit dynamically adjusts the number of delay lines so that the touch time is within the preset range.

12. The system according to claim 9, wherein: The number of rows of data read in the first time is equal to the number of rows of data read in the second time, and the first touch scanning time is less than the second touch scanning time by one touch time.

13. A control device, characterized in that: include: Input control unit, setting the clock frequency of writing data, the capacity of the buffer, and the number of pixels to write a row of data; Output control unit, set the number of touch rows, delay rows and rows of sub-data to read, Wherein, data is written to and read from the buffer based on the parameters set by the output control unit and the input control unit, and touch scanning is performed by inserting touch time between reading adjacent sub-data. The capacity of the buffer and the number of touch rows are obtained by executing the parameter optimization method according to any one of claims 1 to 6, or provided by the parameter optimization system according to any one of claims 7 to 12.

Citation Information

Patent Citations

  • Display apparatus and display method

    CN103257739A