CN112433638A - Touch method and device of display panel and touch display panel - Google Patents

Touch method and device of display panel and touch display panel Download PDF

Info

Publication number
CN112433638A
CN112433638A CN202011448129.0A CN202011448129A CN112433638A CN 112433638 A CN112433638 A CN 112433638A CN 202011448129 A CN202011448129 A CN 202011448129A CN 112433638 A CN112433638 A CN 112433638A
Authority
CN
China
Prior art keywords
touch
display area
coordinate
edge
display panel
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.)
Granted
Application number
CN202011448129.0A
Other languages
Chinese (zh)
Other versions
CN112433638B (en
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.)
Hefei Visionox Technology Co Ltd
Original Assignee
Hefei Visionox 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 Hefei Visionox Technology Co Ltd filed Critical Hefei Visionox Technology Co Ltd
Priority to CN202011448129.0A priority Critical patent/CN112433638B/en
Priority claimed from CN202011448129.0A external-priority patent/CN112433638B/en
Publication of CN112433638A publication Critical patent/CN112433638A/en
Application granted granted Critical
Publication of CN112433638B publication Critical patent/CN112433638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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
    • G06F3/0446Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means using a grid-like structure of electrodes in at least two directions, e.g. using row and column electrodes

Abstract

The embodiment of the invention discloses a touch method and a touch device of a display panel and the touch display panel, wherein the touch method of the display panel comprises the following steps: acquiring a central pixel coordinate of a current display area of a display panel; calculating an offset coefficient of a touch newspaper point coordinate according to the central pixel coordinate and the pressing coordinate; determining a report point coordinate according to the offset coefficient; and determining a touch position according to the report point coordinates to realize touch control. Since the center pixel coordinate in the present embodiment is changed according to the form change of the current display area, the offset coefficient is also changed for different forms of the current display area. Compared with the scheme adopted by the prior art, the embodiment can adapt to the deviation coefficient of the actual pressing coordinate through dynamically acquiring the coordinate of the central point, so that the pressing coordinate can be accurately deviated, the deviation error is reduced, and the touch precision is further improved.

Description

Touch method and device of display panel and touch display panel
Technical Field
The embodiment of the invention relates to the technical field of display, in particular to a touch method and a touch device of a display panel and the touch display panel.
Background
With the rapid development of display technologies, touch display panels have become the mainstream application at present, and users have higher and higher requirements for touch precision.
Many gesture operations are defined at the edge of the touch display panel, and the touch display panel in the prior art has the problem of low touch precision, so that the touch effect of the touch display panel is influenced.
Disclosure of Invention
The embodiment of the invention provides a touch method and device of a display panel and the touch display panel, which are used for improving the touch precision of the touch display panel and further improving the touch effect.
In a first aspect, an embodiment of the present invention provides a touch method for a display panel, including:
acquiring the central pixel coordinate of the current display area of the display panel;
calculating an offset coefficient of a touch newspaper point coordinate according to the central pixel coordinate and the pressing coordinate;
determining the newspaper point coordinate according to the offset coefficient and the pressing coordinate;
and determining a touch position according to the report point coordinates to realize touch control.
Optionally, the offset coefficients comprise an abscissa offset coefficient and an ordinate offset coefficient; the offset coefficient is:
Figure BDA0002825602810000021
where Kx is the abscissa offset coefficient, Ky is the ordinate offset coefficient, (X, Y) is the center pixel coordinate, and (X ', Y') is the compression coordinate.
Optionally, before calculating a shift coefficient of the touch newspaper point coordinate according to the center pixel coordinate and the press coordinate, the method further includes:
and determining the position of the touch electrode block corresponding to the edge of the original display area relative to the current display area according to the pixel size and the size of the touch electrode block.
Optionally, determining the position of the touch electrode block corresponding to the edge of the original display area relative to the current display area according to the pixel size and the size of the touch electrode block includes:
acquiring the range of the pixel coordinates of the current display area;
and determining the position of the touch electrode block corresponding to the edge of the original display area relative to the current display area according to the ratio of the pixel size to the size of the touch electrode block corresponding to the current display area and the pixel coordinate.
Alternatively, the pixel arrangement direction along the rows,
if the ratio of the size of the touch electrode block to the pixel size is larger than or equal to the row pixel coordinate of the first row, determining that the first edge of the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area;
if the ratio of the size of the touch electrode block to the pixel size is larger than or equal to the pixel coordinate of the last row, determining that the second edge of the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area;
and the extending direction of the first edge and the second edge of the current display area is intersected with the arrangement direction of the row pixels.
Alternatively, the pixel electrodes may be arranged, along the column pixel arrangement direction,
if the ratio of the size of the touch electrode block to the pixel size is larger than or equal to the row pixel coordinate of the first row, determining that the third edge of the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area;
if the ratio of the size of the touch electrode block to the pixel size is larger than or equal to the pixel coordinate of the last row, determining that the fourth edge of the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area;
and the extending direction of the third edge and the fourth edge of the current display area is intersected with the arrangement direction of the column pixels.
Optionally, determining the hit point coordinate according to the offset coefficient and the compression coordinate includes:
if the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area, obtaining the offset of the pressing coordinate according to the offset coefficient;
calculating the report point coordinate according to the offset;
and the offset is equal to the product of the ratio of the size of the touch electrode block to 2 times of the pixel size and the offset coefficient.
Optionally, determining the hit point coordinate according to the offset coefficient and the compression coordinate, further comprising:
and if the current display area is positioned in the touch electrode block corresponding to the edge of the original display area, the offset of the pressing coordinate is zero.
In a second aspect, an embodiment of the present invention further provides a touch device of a display panel, including:
the central pixel coordinate acquisition module is used for acquiring the central pixel coordinate of the current display area of the display panel;
the offset coefficient calculation module is used for calculating an offset coefficient of a touch newspaper point coordinate according to the central pixel coordinate and the pressing coordinate;
the report point coordinate determination module is used for determining the report point coordinate according to the offset coefficient and the pressing coordinate;
and the touch module is used for determining a touch position according to the report point coordinates to realize touch.
In a third aspect, an embodiment of the present invention further provides a touch display panel, where the touch display panel implements touch by using the touch method of the display panel provided in any embodiment of the present invention.
According to the technical scheme provided by the embodiment of the invention, the center pixel coordinate of the current display area corresponding to the display panel is dynamically acquired, the center pixel coordinate is used as the touch origin, the offset coefficient of the touch report point coordinate is calculated according to the acquired center pixel coordinate and the actual press coordinate, so that the press coordinate is offset according to the offset coefficient to obtain the report point coordinate, the report point coordinate can reflect the touch position, and the touch chip generates the touch signal according to the touch position to realize touch. Since the center pixel coordinate in the present embodiment is changed according to the form change of the current display area, the offset coefficient is also changed for different forms of the current display area. Compared with the scheme adopted by the prior art, the embodiment can adapt to the deviation coefficient of the actual pressing coordinate through dynamically acquiring the coordinate of the central point, so that the pressing coordinate can be accurately deviated, the deviation error is reduced, and the touch precision is further improved.
Drawings
Fig. 1 is a flowchart of a touch method of a display panel according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a display area of a display panel according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another touch method for a display panel according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a situation that touch data is lifted when a pressing position is at an edge according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a situation that touch data is lifted when a pressing position is inside according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating another touch method for a display panel according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a display area of another display panel according to an embodiment of the present invention;
FIG. 8 is an enlarged view of a portion of the display area shown in FIG. 7;
FIG. 9 is a flowchart of a method for determining an abscissa offset coefficient according to an embodiment of the present invention;
FIG. 10 is a flowchart of a method for determining a vertical coordinate offset coefficient according to an embodiment of the present invention;
FIG. 11 is a flowchart illustrating another touch method for a display panel according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a touch device of a display panel according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
As described in the background art, the conventional touch display panel has a problem of low touch accuracy, and the inventor finds that the problem is caused because, due to the design requirement of a narrow frame or no frame, the positions of the touch region and the display region are close to or the same, and a slide-in gesture (for example, calling out a corresponding application menu through a pull-up gesture, a pull-down gesture, a pull-left gesture, and the like) at the edge of the display panel, which is customized by the system, needs to start sliding inward from the a-th pixel at the edge of the display panel (in the row pixel arrangement direction, a pixels are included between the first row of pixels corresponding to the edge of the display region of the display panel and the row of pixels corresponding to the press position, and in the column pixel arrangement direction, a pixels are included between the first row of pixels corresponding to the edge of the display region of the display panel and the row of the press position), if the pixel position of the sliding starting point is larger than a, the system judges that the gesture is a common gesture, and because the touch area cannot be expanded relative to the display area, the actual touch report point cannot be mapped to the pixel at the edge of the display panel, thereby affecting the touch effect. In order to solve the problem that the touch at the edge of the display panel cannot be touched, a certain offset mapping needs to be performed on an actual pressing coordinate through an edge-drawing algorithm, but due to the limitation of the size of the touch electrode block, a certain offset error is introduced, and the success rate of the touch display panel passing a scribing test is reduced. Particularly, after the foldable display panel is folded and displayed, on the basis of an original touch original point, the edge-drawing algorithm enables the touch report point coordinate to deviate in one direction, and an offset error exists, so that the maximum deviation of the report point coordinate exceeds a marking test standard, that is, the touch report point is extended to the outer side of the display area, the function of an inward-sliding gesture cannot be realized, and the touch accuracy of the touch display panel is also reduced.
For the above reasons, an embodiment of the present invention provides a touch method for a display panel, where the method is applicable to a foldable display panel, fig. 1 is a flowchart of the touch method for the display panel provided by the embodiment of the present invention, and referring to fig. 1, the touch method for the display panel provided by the embodiment of the present invention includes:
and S110, acquiring the central pixel coordinate of the current display area of the display panel.
Specifically, the display panel may be a foldable display panel, and fig. 2 is a schematic structural diagram of a display area of the display panel according to an embodiment of the present invention, referring to fig. 2, the display panel includes a display area 110, the display area 110 includes a plurality of pixels arranged in an array manner, generally, a touch origin of the display panel is a central point of the display panel (display area), that is, a coordinate corresponding to a position of the central pixel is the touch origin. For a foldable display panel, the current display area may be a folded display area or a display area in which the display panel is unfolded from a folded state, and a center pixel coordinate of the current display area before and after folding is dynamically changed, that is, the center pixel coordinate obtained in the embodiment of the present invention is changed along with a change of the display area of the display panel, where the current display area may be a regular display area or an irregular display area. Taking the regular display area shown in fig. 2 as an example, for example, the resolution of the display panel is m × n, that is, the number of pixels arranged in the P direction row is m, the number of pixels arranged in the Q direction row is n, the coordinates of the position of the pixel in the first row in the first column are (0,0), the coordinates of the position of the pixel in the last row in the last column are (m, n), and the display area before being unfolded is the original display area, the touch origin coordinates of the original display area are (m/2, n/2). When the display panel is folded and only the left half screen is displayed, the coordinates (X, Y) of the central pixel of the current display area are (m/4, n/2), that is, the coordinates of the touch origin of the current display area are (m/4, n/2).
And S120, calculating an offset coefficient of the touch newspaper point coordinate according to the central pixel coordinate and the pressing coordinate.
Specifically, the system-defined inside-sliding gesture needs to slide inwards from the a-th pixel on the edge of the display area, and if the pixel position actually pressed is greater than a, the gesture is determined to be a normal gesture, and the function menu corresponding to the inside-sliding gesture cannot be called out. For example, a is 20, that is, in the row pixel arrangement direction, the 20 th pixel from the edge of the display area needs to be opened to slide inward to call out the corresponding function menu. However, due to the size limitation of the touch electrode block, the distance between the actual pressing coordinate (pressing pixel position) and the edge of the display area is often greater than a, so that a certain mapping offset needs to be performed on the pressing coordinate generated at the actual pressing position through an edge-pulling algorithm to obtain a report point coordinate, and the report point coordinate is extended to the whole display area. In the case where the positions of the pixels and the electrode blocks are fixed, the offset coefficient reflects the amount of offset of the actual press coordinates.
And S130, determining a newspaper point coordinate according to the offset coefficient and the pressing coordinate.
Specifically, the hit coordinates are touch coordinates obtained by offsetting the actual press coordinates (x ', y'), and thus the hit coordinates may be determined by the offset coefficient and the press coordinates (x ', y'). According to the description of step S120, the offset coefficient may be characterized by a distance of the actual compression coordinate (X ', Y') from the center pixel coordinate (X, Y), the farther the actual compression coordinate (X ', Y') is from the center pixel coordinate (X, Y), the larger the absolute value of the offset coefficient, and the larger the offset amount when the compression coordinate (X ', Y') is offset. For example, taking the display area shown in fig. 2 as an example, if the actual pressing position is point b, point b is on the same horizontal (along the P direction) axis as the central pixel, so the ordinate Y 'of the pressing coordinate is the same as the ordinate Y of the central pixel coordinate, and the ordinate Y' of the pressing coordinate does not need to be shifted, 'only the abscissa x' is shifted. Since the point b is on the left side of the central pixel, if the display panel is folded and still takes (m/2, n/2) as the touch origin, the actual pressing coordinate (x ', y') is a first distance from (m/2, n/2). If the central pixel coordinate (m/4, n/2) of the current display area is selected as the touch origin after folding, the actual pressing coordinate (x ', y') distance (m/4, n/2) is the second distance, and the first distance is larger than the second distance, so that compared with a scheme that the touch origin is not changed, the offset coefficient after the touch origin is changed is reduced, namely the offset of the pressing coordinate (x ', y') is reduced, and the error introduced by the edge-drawing algorithm is reduced, so that the offset report point coordinate can meet the scribing test standard, and the touch accuracy is improved.
And S140, determining a touch position according to the report point coordinates to realize touch control.
Specifically, after the report point coordinates are obtained, the touch position can be determined according to the report point coordinates, and the touch chip generates a touch signal according to the touch position, so that a touch function is realized.
According to the technical scheme provided by the embodiment of the invention, the center pixel coordinate of the current display area corresponding to the display panel is dynamically acquired, the center pixel coordinate is used as the touch origin, the offset coefficient of the touch report point coordinate is calculated according to the acquired center pixel coordinate and the actual press coordinate, so that the press coordinate is offset according to the offset coefficient to obtain the report point coordinate, the report point coordinate can reflect the touch position, and the touch chip generates the touch signal according to the touch position to realize touch. Since the center pixel coordinate in the present embodiment is changed according to the form change of the current display area, the offset coefficient is also changed for different forms of the current display area. Compared with the scheme adopted by the prior art, the embodiment can adapt to the offset coefficient of the actual pressing coordinate through dynamically acquiring the coordinate of the central point, and after the touch original point is updated to the central pixel coordinate of the current display area, the distance between the central coordinate of the current display area and the actual pressing coordinate is reduced, so that the offset error is reduced, the pressing coordinate can be accurately offset, and the touch precision is further improved.
In the present embodiment, the offset coefficient may be expressed by the compression coordinate and the center pixel coordinate. The offset coefficient comprises an abscissa offset coefficient and an ordinate offset coefficient, the abscissa offset coefficient is used for offsetting the abscissa of the pressing coordinate, and the ordinate offset coefficient is used for offsetting the ordinate of the pressing coordinate. In this embodiment, the abscissa corresponds to the positions of the column pixels, and the ordinate corresponds to the positions of the row pixels. The abscissa and ordinate offset coefficients may be expressed as:
Figure BDA0002825602810000091
where Kx is an abscissa offset coefficient, Ky is an ordinate offset coefficient, (X, Y) is a center pixel coordinate, and (X ', Y') is a pressing coordinate. Taking the display area shown in fig. 2 as an example, if the actual pressing position is point b, point b is on the same horizontal (in the P direction) axis as the center pixel, so the ordinate Y 'of the pressing coordinate is the same as the ordinate Y of the center pixel coordinate, Ky is 0, and point b is on the left side of the center pixel, x'<X,
Figure BDA0002825602810000092
If the display panel is folded and still uses (m/2, n/2) as the touch origin, then
Figure BDA0002825602810000093
If the central pixel coordinate (m/4, n/2) of the current display area is selected as the touch origin after folding, then
Figure BDA0002825602810000094
Compared with the scheme that the touch origin is not changed, the offset coefficient is reduced after the touch origin is changed, namely the offset of the press coordinates (x ', y') is reduced, and the error introduced by the edge-pulling algorithm is reduced, so that the offset point-reporting coordinates can meet the marking test standard, and the touch precision is improved.
Further, the offset amount is equal to the product of the ratio of the size of the touch electrode block to 2 times the pixel size and the offset coefficient. Assuming that the length and width of the pixel are z, the dimension of the touch electrode block along the P direction is a1, the dimension of the touch electrode block along the Q direction is b1, and taking the touch electrode block as a square (a1 is b1), the offset is K (a1/2 z). When the touch origin coordinate is (m/2, n/2) and the pressing coordinate is (m/8, n/2), the offset of the pressing coordinate is (m/8, n/2)
Figure BDA0002825602810000101
If a1 is 4mm and z is 50 μm, the offset amount of the pressing coordinate (m/8, n/2) is 1.5 mm. When the touch control origin is onWhen the mark is (m/4, n/2), the offset of the pressing coordinate is (m/8, n/2)
Figure BDA0002825602810000102
Figure BDA0002825602810000103
Therefore, the offset of the pressing coordinate can be reduced by adopting the dynamically acquired central pixel coordinate as the touch origin, so that the offset error is reduced, and the touch precision is improved.
Optionally, fig. 3 is a flowchart of another touch method for a display panel according to an embodiment of the present invention, and with reference to fig. 3 on the basis of the foregoing technical solution, the touch method for a display panel according to an embodiment of the present invention includes:
s210, obtaining the central pixel coordinate of the current display area of the display panel.
S220, determining the position of the touch electrode block corresponding to the edge of the original display area relative to the current display area according to the pixel size and the size of the touch electrode block.
Specifically, after the display panel is folded, the display area of the display panel may become partially displayed, so that the current display area may be located at the edge of the original display area or inside the original display area. Fig. 4 is a schematic diagram of a touch data lifting situation when a pressing position is at an edge according to an embodiment of the present invention, fig. 5 is a schematic diagram of a touch data lifting situation when a pressing position is inside according to an embodiment of the present invention, and referring to fig. 4 and fig. 5, when a current display area is located inside an original display area, touch electrode blocks are all present around the pressing position (corresponding to a position 1000 in the drawing) of the current display area, so that accurate report point coordinates can be obtained by weighting the touch electrode blocks corresponding to the upper, lower, left and right sides of the periphery, and an edge-pulling algorithm is not required to perform offset. When the current display area is located at the edge of the original display area, if the pressing position of the current display area is located at the edge, the pressing coordinate cannot be weighted due to the loss of the surrounding touch electrode blocks, and the offset cannot be calculated, so that the offset needs to be offset by adopting an edge-pulling algorithm. The position of the touch electrode block corresponding to the edge of the original display area relative to the current display area can be determined according to the pixel size and the size of the touch electrode block, so that whether the current display area is located at the edge of the original display area or not is determined, an edge-pulling algorithm can be optimized, and the processing difficulty of touch data is reduced.
And S230, calculating an offset coefficient of the touch newspaper point coordinate according to the central pixel coordinate and the pressing coordinate.
And S240, determining the newspaper point coordinate according to the offset coefficient and the pressing coordinate.
And S250, determining a touch position according to the report point coordinates to realize touch control.
Optionally, fig. 6 is a flowchart of another touch method of a display panel according to an embodiment of the present invention, fig. 7 is a schematic structural diagram of a display area of another display panel according to an embodiment of the present invention, and fig. 8 is a partially enlarged view of the display area shown in fig. 7, where on the basis of the foregoing technical solution, with reference to fig. 6 to fig. 8, the touch method of the display panel according to an embodiment of the present invention includes:
and S310, acquiring the central pixel coordinate of the current display area of the display panel.
And S320, acquiring the range of the pixel coordinates of the current display area.
S330, determining the position of the touch electrode block corresponding to the edge of the original display area relative to the current display area according to the ratio of the pixel size to the size of the touch electrode block corresponding to the current display area and the pixel coordinate.
Specifically, after the display panel is folded, the current display effect may be a partial display, as shown in fig. 7. The pixel coordinate ranges of the current display area (i.e. the vertex coordinates forming the current display area) are (a, B), (C, B), (a, D), (C, D), respectively, with the central pixel coordinate being (X, Y). Referring to fig. 8, corresponding touch electrode blocks are disposed at the edge of the original display area, the size of the touch electrode block in the P direction is a1, the size of the touch electrode block in the Q direction is b1, and the length and width of each pixel are z. Wherein a1/z is the number of pixels corresponding to the touch electrode block corresponding to the edge of the original display area in the P direction, and b1/z is the number of pixels corresponding to the touch electrode block corresponding to the edge of the original display area in the Q direction. Whether the edge of the column pixel of the current display area is positioned at the left edge and the right edge of the original display area can be determined by judging the size relation between a1/z and A and C, and whether the edge of the row pixel of the current display area is positioned at the upper edge and the lower edge of the original display area can be determined by judging the size relation between B1/z and B and D.
And S340, calculating an offset coefficient of the touch newspaper point coordinate according to the central pixel coordinate and the pressing coordinate.
And S350, determining the newspaper point coordinate according to the offset coefficient and the pressing coordinate.
And S360, determining a touch position according to the report point coordinates to realize touch control.
Further, step S330 specifically includes:
and along the row pixel arrangement direction, if the ratio of the size of the touch electrode block to the pixel size is greater than or equal to the row pixel coordinate of the first row, determining that the first edge of the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area. And if the ratio of the size of the touch electrode block to the pixel size is larger than or equal to the difference between the pixel coordinate of the last row of the original display area and the pixel coordinate of the last row of the current display area, determining that the second edge of the current display area is positioned at the edge of the touch electrode block corresponding to the edge of the original display area. And the extending direction of the first edge and the second edge of the current display area is intersected with the arrangement direction of the row pixels.
Specifically, fig. 9 is a flowchart of a method for determining an abscissa offset coefficient according to an embodiment of the present invention, and referring to fig. 9, in the P direction, the current display area includes a first edge and a second edge, where the first edge is a left edge of the current display area, and the second edge is a right edge of the current display area. If the column pixel coordinate (abscissa) corresponding to the first column of pixels of the current display area is A, for the first edge, if the ratio of the size of the touch electrode block to the pixel size is greater than or equal to the column pixel coordinate of the first column, namely a1/z is greater than or equal to A, and x'<X, the current display area is positioned at the left edge of the original display area or the left edge of the original display area, the abscissa of the pressing coordinate needs to be shifted, and the abscissa shift coefficient
Figure BDA0002825602810000131
If a1/z<A, and x'<And X, the current display area is positioned at the right side of the touch electrode block corresponding to the left edge of the original display area, so that the pressing coordinates on the left side of the central pixel have corresponding touch electrode blocks for weighting, the pressing coordinates on the left side of the central pixel do not need to be shifted, and the shift coefficient is zero. If the column pixel coordinate (abscissa) corresponding to the last column of pixels of the current display area is C, for the second edge, if the ratio of the size of the touch electrode block to the pixel size is greater than or equal to the difference between the column pixel coordinate of the last column of the original display area and the column pixel coordinate of the last column of the current display area, namely C ≧ m-a1/z, and x'>X, the current display area is positioned at the right edge of the original display area or the right edge of the original display area, the abscissa of the pressing coordinate needs to be shifted, and the abscissa shift coefficient
Figure BDA0002825602810000132
If C<m-a1/z, and x'>And X, the current display area is positioned on the left side of the touch electrode block corresponding to the right edge of the original display area, so that the pressing coordinates on the right side of the central pixel have corresponding touch electrode blocks for weighting, the pressing coordinates on the right side of the central pixel do not need to be shifted, and the offset coefficient is zero.
Fig. 10 is a flowchart of a method for determining a vertical coordinate offset coefficient according to an embodiment of the present invention, and referring to fig. 10, on the basis of the foregoing technical solutions, similarly, along the column pixel arrangement direction, if a ratio of a size of a touch electrode block to a pixel size is greater than or equal to a row pixel coordinate of a first row, it is determined that a third edge of a current display area is located at an edge of a touch electrode block corresponding to an edge of an original display area; if the ratio of the size of the touch electrode block to the pixel size is larger than or equal to the difference between the row pixel coordinate of the last row of the original display area and the row pixel coordinate of the last row of the current display area, determining that the fourth edge of the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area; and the extending directions of the third edge and the fourth edge of the current display area are intersected with the arrangement direction of the column pixels.
Specifically, in the Q direction, the current display area includes a third edge and a fourth edge, where the third edge is an upper edge of the current display area and the fourth edge is a lower edge of the current display area. If the row pixel coordinate (ordinate) corresponding to the first row of pixels in the current display area is B, for the third edge, if the ratio of the size of the touch electrode block to the pixel size is greater than or equal to the row pixel coordinate of the first row, that is, B1/z is greater than or equal to B, and y'<Y, the current display area is positioned at the upper edge of the original display area or the upper edge of the upper edge, the ordinate of the press coordinate needs to be shifted, and the ordinate shift coefficient
Figure BDA0002825602810000141
If b1/z<B, and y'<And Y, the current display area is positioned below the touch electrode block corresponding to the upper edge of the original display area, so that the pressing coordinates above the central pixel have corresponding touch electrode blocks for weighting, the pressing coordinates above the central pixel do not need to be shifted, and the shift coefficient is zero. If the row pixel coordinate (ordinate) corresponding to the last row of pixels in the current display area is D, for the fourth edge, if the ratio of the size of the touch electrode block to the pixel size is greater than or equal to the difference between the row pixel coordinate of the last row in the original display area and the row pixel coordinate of the last row in the current display area, that is, D is greater than or equal to n-b1/z, and y'>Y, the current display area is positioned at the lower edge of the original display area or the lower edge of the lower edge, the ordinate of the press coordinate needs to be shifted, and the ordinate shift coefficient
Figure BDA0002825602810000142
If D is<n-b1/z, and y'>And Y, the current display area is positioned above the touch electrode block corresponding to the lower edge of the original display area, so that the pressing coordinates below the central pixel have corresponding touch electrode blocks for weighting, the pressing coordinates below the central pixel do not need to be shifted, and the shift coefficient is zero.
According to the technical scheme provided by the embodiment of the invention, the position of the touch electrode block corresponding to the edge of the original display area relative to the current display area is determined according to the ratio of the pixel size to the size of the touch electrode block corresponding to the current display area and the pixel coordinate, whether the current display area is positioned at the edge of the original display area is judged, then different offset coefficients are selected to offset the pressing coordinate, and the edge-pulling algorithm is optimized, so that the accuracy of the offset coefficients is improved, and the accuracy of touch report point coordinates is favorably improved.
Fig. 11 is a flowchart of another touch method of a display panel according to an embodiment of the present invention, and with reference to fig. 11, on the basis of the foregoing technical solutions, the touch method of the display panel includes:
and S410, acquiring the central pixel coordinate of the current display area of the display panel.
And S420, acquiring the range of the pixel coordinates of the current display area.
And S430, determining the position of the touch electrode block corresponding to the edge of the original display area relative to the current display area according to the ratio of the pixel size to the size of the touch electrode block corresponding to the current display area and the pixel coordinate.
And S440, calculating a deviation coefficient of the touch newspaper point coordinate according to the central pixel coordinate and the pressing coordinate.
S450, if the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area, obtaining the offset of the pressing coordinate according to the offset coefficient;
and S460, if the current display area is located inside the touch electrode block corresponding to the edge of the original display area, the offset of the pressing coordinate is zero.
And S470, calculating the newspaper point coordinate according to the offset and the pressing coordinate.
And S480, determining a touch position according to the report point coordinates to realize touch control.
Specifically, the offset amount is equal to the product of the ratio of the size of the touch electrode block to 2 times the pixel size and the offset coefficient. Assuming that the length and width of each pixel are z, the dimension of the touch electrode block along the P direction is a1, and the dimension of the touch electrode block along the Q direction is b 1. As shown in fig. 2, for example, the left half-screen is displayed after the display panel is folded, the pressing position is point b, and point b is on the central axis of the row pixel arrangement, so that the abscissa is only required to be shifted, and the coordinate of point b is (m)And/8, n/2), and the report point coordinate (point c) is (x, y). When the touch origin coordinate is (m/2, n/2), the offset of the abscissa
Figure BDA0002825602810000151
If a1 is 4mm and z is 50 μm, the offset of the pressing coordinate (m/8, n/2) is 1.5mm, i.e. 30 pixels; y-y ═ Ky (b1/2z) ═ 0. When the touch origin coordinate is (m/4, n/2), the offset of the press coordinate is (m/8, n/2)
Figure BDA0002825602810000152
Namely 20 pixels; y-y ═ Ky (b1/2z) ═ 0. If the current display area is located on the inner side of the touch electrode block corresponding to the original display area, as shown in fig. 6, the offset of the pressing coordinate of the current display area is zero; at this time, x'>The 2X area is a non-display area and may be disregarded.
According to the technical scheme provided by the embodiment of the invention, the center pixel coordinate of the current display area corresponding to the display panel is dynamically acquired, the center pixel coordinate is used as the touch origin, the offset coefficient of the touch report point coordinate is calculated according to the acquired center pixel coordinate and the actual press coordinate, so that the press coordinate is offset according to the offset coefficient to obtain the report point coordinate, the report point coordinate can reflect the touch position, and the touch chip generates the touch signal according to the touch position to realize touch. Since the center pixel coordinate in the present embodiment is changed according to the form change of the current display area, the offset coefficient is also changed for different forms of the current display area. Compared with the scheme adopted by the prior art, the embodiment can adapt to the offset coefficient of the actual pressing coordinate through dynamically acquiring the coordinate of the central point, and after the touch original point is updated to the central pixel coordinate of the current display area, the distance between the central coordinate of the current display area and the actual pressing coordinate is reduced, so that the offset error is reduced, the pressing coordinate can be accurately offset, and the touch precision is further improved. In addition, the position of the touch electrode block corresponding to the edge of the original display area relative to the current display area is determined according to the ratio of the pixel size to the size of the touch electrode block corresponding to the current display area and the pixel coordinate, whether the current display area is located at the edge of the original display area is judged, different offset coefficients are selected to offset the pressing coordinate, and an edge-pulling algorithm is optimized, so that the accuracy of calculating the offset coefficients is improved, the processing difficulty of touch data is simplified, and the accuracy of touch report point coordinates is improved.
Optionally, an embodiment of the present invention further provides a touch device of a display panel, and fig. 12 is a schematic structural diagram of the touch device of the display panel provided in the embodiment of the present invention, and on the basis of the foregoing technical solutions, referring to fig. 12, the touch device of the display panel includes:
a central pixel coordinate obtaining module 101, configured to obtain a central pixel coordinate of a current display area of the display panel.
And the offset coefficient calculating module 102 is configured to calculate an offset coefficient of the touch newspaper point coordinate according to the center pixel coordinate and the press coordinate.
And a report point coordinate determination module 103, configured to determine a report point coordinate according to the offset coefficient and the press coordinate.
And the touch module 104 is configured to determine a touch position according to the report point coordinates, so as to implement touch.
The touch device of the display panel provided in the embodiment of the present invention has a module for executing the touch method of the display panel provided in any embodiment of the present invention, and the specific working principle of the touch device of the display panel provided in the embodiment of the present invention can refer to the specific description of the above method embodiment, which is not described herein again, so that the touch device of the display panel provided in the embodiment of the present invention also has the beneficial effects described in any embodiment of the present invention.
Optionally, an embodiment of the present invention further provides a touch display panel, and a touch method of the display panel provided in any embodiment of the present invention is adopted to implement a touch function, so that the touch display panel provided in the embodiment of the present invention also has the beneficial effects described in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A touch control method of a display panel is characterized by comprising the following steps:
acquiring the central pixel coordinate of the current display area of the display panel;
calculating an offset coefficient of a touch newspaper point coordinate according to the central pixel coordinate and the pressing coordinate;
determining the newspaper point coordinate according to the offset coefficient and the pressing coordinate;
and determining a touch position according to the report point coordinates to realize touch control.
2. The touch method of the display panel according to claim 1, wherein the offset coefficients include an abscissa offset coefficient and an ordinate offset coefficient; the offset coefficient is:
Figure FDA0002825602800000011
where Kx is the abscissa offset coefficient, Ky is the ordinate offset coefficient, (X, Y) is the center pixel coordinate, and (X ', Y') is the compression coordinate.
3. The touch method of the display panel according to claim 1, before calculating a shift coefficient of touch point coordinates according to the center pixel coordinates and the press coordinates, further comprising:
and determining the position of the touch electrode block corresponding to the edge of the original display area relative to the current display area according to the pixel size and the size of the touch electrode block.
4. The touch method of the display panel according to claim 3, wherein determining the position of the touch electrode block corresponding to the edge of the original display area relative to the current display area according to the pixel size and the size of the touch electrode block comprises:
acquiring the range of the pixel coordinates of the current display area;
and determining the position of the touch electrode block corresponding to the edge of the original display area relative to the current display area according to the ratio of the pixel size to the size of the touch electrode block corresponding to the current display area and the pixel coordinate.
5. The touch control method of the display panel according to claim 4, wherein along the row pixel arrangement direction,
if the ratio of the size of the touch electrode block to the pixel size is larger than or equal to the row pixel coordinate of the first row, determining that the first edge of the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area;
if the ratio of the size of the touch electrode block to the pixel size is larger than or equal to the pixel coordinate of the last row, determining that the second edge of the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area;
and the extending direction of the first edge and the second edge of the current display area is intersected with the arrangement direction of the row pixels.
6. The touch control method of the display panel according to claim 4, wherein along the column pixel arrangement direction,
if the ratio of the size of the touch electrode block to the pixel size is larger than or equal to the row pixel coordinate of the first row, determining that the third edge of the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area;
if the ratio of the size of the touch electrode block to the pixel size is larger than or equal to the pixel coordinate of the last row, determining that the fourth edge of the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area;
and the extending direction of the third edge and the fourth edge of the current display area is intersected with the arrangement direction of the column pixels.
7. The touch method of the display panel according to claim 3, wherein determining the hit coordinates according to the offset coefficient and the press coordinates comprises:
if the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area, obtaining the offset of the pressing coordinate according to the offset coefficient;
calculating the report point coordinate according to the offset;
and the offset is equal to the product of the ratio of the size of the touch electrode block to 2 times of the pixel size and the offset coefficient.
8. The touch method of the display panel according to claim 3, wherein the touch point coordinates are determined according to the offset coefficient and the press coordinates, and further comprising:
and if the current display area is positioned in the touch electrode block corresponding to the edge of the original display area, the offset of the pressing coordinate is zero.
9. A touch device of a display panel, comprising:
the central pixel coordinate acquisition module is used for acquiring the central pixel coordinate of the current display area of the display panel;
the offset coefficient calculation module is used for calculating an offset coefficient of a touch newspaper point coordinate according to the central pixel coordinate and the pressing coordinate;
the report point coordinate determination module is used for determining the report point coordinate according to the offset coefficient and the pressing coordinate;
and the touch module is used for determining a touch position according to the report point coordinates to realize touch.
10. A touch display panel, characterized in that the touch function is realized by the touch method of the display panel according to any one of claims 1 to 8.
CN202011448129.0A 2020-12-09 Touch control method and device of display panel and touch control display panel Active CN112433638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011448129.0A CN112433638B (en) 2020-12-09 Touch control method and device of display panel and touch control display panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011448129.0A CN112433638B (en) 2020-12-09 Touch control method and device of display panel and touch control display panel

Publications (2)

Publication Number Publication Date
CN112433638A true CN112433638A (en) 2021-03-02
CN112433638B CN112433638B (en) 2024-05-14

Family

ID=

Similar Documents

Publication Publication Date Title
US8592698B2 (en) Capacitive touch system and data transmission method in a capacitive touch system
US8884894B2 (en) Input detection device, input detection method, input detection program, and computer readable media
JP6019736B2 (en) Display device and program
JP6432409B2 (en) Touch panel control device and touch panel control program
CN109817181B (en) Display driving method and mobile terminal
US8493343B2 (en) Touch panel and noise reducing method therefor
US20150042597A1 (en) Touch display device and method for sensing capacitance thereof
US8514193B2 (en) Touch sensing method and touch sensing system
US20140247220A1 (en) Electronic Apparatus Having Software Keyboard Function and Method of Controlling Electronic Apparatus Having Software Keyboard Function
US20130162562A1 (en) Information processing device and non-transitory recording medium storing program
CN112433638A (en) Touch method and device of display panel and touch display panel
CN112286386A (en) Processing method, system, device and medium for touch screen point stabilization
CN112433638B (en) Touch control method and device of display panel and touch control display panel
WO2018126368A1 (en) Touch control device and method for determining capacitive sensing amount of touch control device
US11163403B2 (en) Touch positioning method and apparatus, and electronic device
KR20130112410A (en) Method and apparatus for detecting coordinates in a pen-based display device
US20170024072A1 (en) Input device and control program
CN109614002B (en) Embedded touch display panel and touch detection method
CN111338509B (en) Touch control system
JP2015032261A (en) Display device and control method
CN114398571A (en) Image annotation method, image annotation system, electronic device and storage medium
US11836317B2 (en) Touchpad and its force sensing data calibration method
US20130222336A1 (en) Compensated Linear Interpolation of Capacitive Sensors of Capacitive Touch Screens
US9933900B2 (en) Sensing electrode group and sensed capacitance estimation method and apparatus
CN105630219B (en) Touch device and coordinate correction method thereof

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
GR01 Patent grant