CN112433638B - Touch control method and device of display panel and touch control display panel - Google Patents

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

Info

Publication number
CN112433638B
CN112433638B CN202011448129.0A CN202011448129A CN112433638B CN 112433638 B CN112433638 B CN 112433638B CN 202011448129 A CN202011448129 A CN 202011448129A CN 112433638 B CN112433638 B CN 112433638B
Authority
CN
China
Prior art keywords
display area
touch
coordinate
edge
offset
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.)
Active
Application number
CN202011448129.0A
Other languages
Chinese (zh)
Other versions
CN112433638A (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
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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The embodiment of the invention discloses a touch method and device of a display panel and the touch display panel, wherein the touch method of the display panel comprises the following steps: acquiring the center pixel coordinate of the current display area of the display panel; calculating an offset coefficient of the touch control report point coordinate according to the central pixel coordinate and the pressing coordinate; determining the report point coordinates according to the offset coefficient; and determining the touch position according to the point coordinates, and realizing touch. Since the center pixel coordinates in the present embodiment are changed according to the change of the form 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 by dynamically acquiring the center point coordinate, so that the pressing coordinate can be accurately offset, the offset error is reduced, and the touch accuracy is improved.

Description

Touch control method and device of display panel and touch control display panel
Technical Field
The embodiment of the invention relates to the technical field of display, in particular to a touch control method and device of a display panel and the touch control display panel.
Background
With the rapid development of display technology, touch display panels have become the current mainstream application, and the requirements of users on touch accuracy are also increasing.
Many gesture operations are defined on the edge of the touch display panel, and the touch display panel in the prior art has the problem of lower touch accuracy, and the touch effect of the touch display panel is affected.
Disclosure of Invention
The embodiment of the invention provides a touch control method and device of a display panel and the touch control display panel, so as to improve the touch control accuracy of the touch control display panel and further improve the touch control effect.
In a first aspect, an embodiment of the present invention provides a touch method of a display panel, including:
Acquiring the central pixel coordinate of the current display area of the display panel;
Calculating an offset coefficient of the touch report point coordinate according to the center pixel coordinate and the pressing coordinate;
Determining the report point coordinates according to the offset coefficient and the pressing coordinates;
And determining a touch position according to the point coordinates to realize touch.
Optionally, the offset coefficient includes an abscissa offset coefficient and an ordinate offset coefficient; the offset coefficient is:
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 the offset coefficient of the touch report point coordinate according to the center pixel coordinate and the pressing 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, according to the pixel size and the size of the touch electrode block, a position of the touch electrode block corresponding to the edge of the original display area relative to the current display area includes:
acquiring the range of 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 size of the pixel coordinate.
Optionally, 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 column pixel coordinates of the first column, determining that the first 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;
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 last column, 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;
The extending directions of the first edge and the second edge of the current display area are intersected with the row pixel arrangement direction.
Alternatively, along the column 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 coordinates of the first row, determining that the third 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;
If the ratio of the size of the touch electrode block to the pixel size is greater than or equal to the row pixel coordinates of the last row, determining that the fourth 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;
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.
Optionally, determining the point coordinates according to the offset coefficient and the pressing coordinates includes:
if the current display area is positioned 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 coordinates according to the offset;
the offset is equal to the product of the offset coefficient and the ratio of the size of the touch electrode block to the size of 2 times of pixels.
Optionally, determining the point coordinates according to the offset coefficient and the pressing coordinates further includes:
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 the touch control report point coordinate according to the center pixel coordinate and the pressing coordinate;
the report point coordinate determining 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 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 by 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 obtained, the center pixel coordinate is used as a touch origin, the offset coefficient of the touch point coordinate is calculated according to the obtained center pixel coordinate and the actual pressing coordinate, so that the pressing coordinate is offset according to the offset coefficient to obtain the point coordinate, the point coordinate can reflect the touch position, and the touch chip generates a touch signal according to the touch position to realize touch. Since the center pixel coordinates in the present embodiment are changed according to the change of the form 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 by dynamically acquiring the center point coordinate, so that the pressing coordinate can be accurately offset, the offset error is reduced, and the touch accuracy is 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 of another touch method of a display panel according to an embodiment of the present invention;
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 in an internal state according to an embodiment of the present invention;
fig. 6 is a flowchart of another touch method of a display panel according to an embodiment of the 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 of 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 an ordinate offset coefficient according to an embodiment of the present invention;
Fig. 11 is a flowchart of another touch method of a display panel according to an embodiment of the invention;
Fig. 12 is a schematic structural diagram of a touch device of a display panel according to an embodiment of the invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
As described in the background art, the inventor researches that the problem of lower touch accuracy exists in the existing touch display panel, and found that the problem arises because the positions of the touch area and the display area are close to or the same as each other due to the design requirement of the narrow frame or the no frame in the existing touch display product, and the inner sliding gesture (for example, the corresponding application menu is exhaled through the up-down gesture, the left-right gesture, and the like) at the edge of the display panel is required to be from the a-th pixel (in the row pixel arrangement direction, a pixel is included between the column pixels corresponding to the first column pixel distance pressing position corresponding to the edge of the display area of the display panel), and in the column pixel arrangement direction, a pixel is included between the row pixels corresponding to the first row pixel distance pressing position corresponding to the edge of the display area of the display panel, if the pixel position of the sliding starting point is greater than a, the system judges as the common gesture, and the actual touch point cannot be mapped to the pixel at the edge of the display panel because the touch area cannot be expanded outwards relative to the display area, so that the touch effect is affected. In order to solve the problem that the edge touch of the display panel cannot reach the edge, a certain offset mapping is needed to be carried out on the actual pressing coordinates through an edge pulling algorithm, but a certain offset error is introduced due to the limitation of the size of the touch electrode block, so that the success rate of the touch display panel passing the scribing test is reduced. Especially, after the foldable display panel is folded and displayed, on the basis of the original touch origin, the touch point coordinates are offset in one direction by the edge pulling algorithm, offset errors exist, the maximum offset of the point coordinates exceeds the scribing test standard by the offset errors, namely, the touch point is expanded to the outer side of the display area, the inner sliding gesture function cannot be realized, and the touch accuracy of the touch display panel is reduced.
For the above reasons, the embodiment of the present invention provides a touch method of a display panel, which is applicable to a folded display panel, and fig. 1 is a flowchart of a touch method of a display panel according to the embodiment of the present invention, and referring to fig. 1, the touch method of a display panel according to the embodiment of the present invention includes:
S110, acquiring the central pixel coordinates of the current display area of the display panel.
Specifically, the display panel may be a foldable display panel, 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, and the display area 110 includes a plurality of pixels arranged in an array manner, and in general, a touch origin of the display panel is a center point of the display panel (display area), that is, a coordinate corresponding to a position where the center pixel is located is the touch origin. For the foldable display panel, the current display area can be a display area after folding or a display area after unfolding the display panel from a folding state, and the central pixel coordinates of the current display area before and after folding are dynamically changed, that is, the central pixel coordinates acquired by the embodiment of the invention are changed along with the change of the display area of the display panel, wherein the current display area can be a display area with a regular shape or an irregular special-shaped 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 along the P-direction rows is m, the number of pixels arranged along the Q-direction rows is n, the coordinates of the positions of the pixels of the first row are (0, 0), the coordinates of the positions of the pixels of the last row are (m, n), and the display area before being unfolded is the original display area, then 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 central pixel coordinate (X, Y) of the current display area is (m/4, n/2), namely the touch control origin coordinate of the current display area is (m/4, n/2).
And S120, calculating an offset coefficient of the touch report point coordinate according to the center pixel coordinate and the pressing coordinate.
Specifically, since the system self-defined inner slide gesture needs to slide from the a-th pixel at the edge of the display area to the inner side, if the actual pressed pixel position is greater than a, the system self-defined inner slide gesture is judged to be a common gesture, and a function menu corresponding to the inner slide gesture is not exhaled. For example, a=20, that is, in the row pixel arrangement direction, the 20 th pixel from the edge of the display area needs to be turned on 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 (the pressing pixel position) and the edge of the display area is often greater than a, so that a certain mapping offset is required to be performed on the pressing coordinate generated by the actual pressing position through a edge pulling algorithm to obtain the point coordinates, and the point coordinates are expanded 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 offset amount of the actual pressing coordinates.
S130, determining the reporting point coordinates according to the offset coefficient and the pressing coordinates.
Specifically, the reporting point coordinates are touch coordinates after the actual pressing coordinates (x ', y') are offset, and thus, the reporting point coordinates can be determined by the offset coefficient and the pressing coordinates (x ', y'). According to the description of step S120, the offset coefficient may be characterized by the distance of the actual pressing coordinate (X ', Y') from the center pixel coordinate (X, Y), and the farther the actual pressing 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 pressing coordinate (X ', Y') is offset. Illustratively, taking the display area shown in fig. 2 as an example, the actual pressing position is the b point, and the b point is on the same lateral (along 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, the ordinate Y' of the pressing coordinate does not need to be shifted, and 'only the abscissa x' is shifted. Since the point b is on the left side of the center pixel, if the display panel is folded and the (m/2, n/2) is still used as the touch origin, the coordinate (x ', y') distance (m/2, n/2) is actually pressed as the first distance. If the center pixel coordinate (m/4, n/2) of the current display area is selected as the touch origin after folding, the distance (m/4, n/2) of the actual pressing coordinate (x ', y') is the second distance, and the first distance is larger than the second distance, so that the offset coefficient after the touch origin is changed is reduced compared with the scheme without changing the touch origin.
And S140, determining a touch position according to the point coordinates, and realizing touch.
Specifically, after the point coordinates are obtained, the touch position can be determined according to the 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 obtained, the center pixel coordinate is used as a touch origin, the offset coefficient of the touch point coordinate is calculated according to the obtained center pixel coordinate and the actual pressing coordinate, so that the pressing coordinate is offset according to the offset coefficient to obtain the point coordinate, the point coordinate can reflect the touch position, and the touch chip generates a touch signal according to the touch position to realize touch. Since the center pixel coordinates in the present embodiment are changed according to the change of the form 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 method and the device have the advantages that the center point coordinates are obtained dynamically, the offset coefficient of the actual pressing coordinates can be adapted to be adjusted, after the touch control origin is updated to the center pixel coordinates of the current display area, the distance between the center coordinates of the current display area and the actual pressing coordinates is reduced, so that offset errors are reduced, the pressing coordinates can be offset accurately, and touch control accuracy is improved.
In this embodiment, the offset coefficient may be represented by a press coordinate and a 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. Note that, in this embodiment, the abscissa corresponds to the position of the column pixel, and the ordinate corresponds to the position of the row pixel. The abscissa and ordinate offset coefficients can be expressed as:
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 press coordinate. Taking the display area shown in fig. 2 as an example, the actual pressing position is the point b, which is on the same lateral (along the P-direction) axis as the center pixel, so that the ordinate Y 'of the pressing coordinate is the same as the ordinate Y of the center pixel coordinate, ky=0, since the point b is on the left side of the center pixel, X' < X, If the display panel is folded and (m/2, n/2) is still used as the touch origin, then/>If the central pixel coordinate (m/4, n/2) of the current display area is selected as the touch origin after folding, then/>Therefore, compared with a scheme that the touch origin is not changed, the offset coefficient of the touch origin is reduced after the touch origin is changed, namely the offset of the pressing coordinates (x ', y') is reduced, and errors introduced by an edge pulling algorithm are reduced, so that the offset reporting point coordinates can meet the scribing test standard, and the touch accuracy is improved.
Further, the offset is equal to the product of the offset coefficient and the ratio of the size of the touch electrode block to the size of 2 times of the pixel. Assuming that the length and width of the pixel are z, the size of the touch electrode block along the P direction is a1, the size of the touch electrode block along the Q direction is b1, and taking the touch electrode block as a square (a1=b1) as an example, the offset is K (a 1/2 z). When the touch origin coordinates are (m/2, n/2) and the press coordinates are (m/8, n/2), the press coordinates are (m/8, n/2) and the offset isIf a1=4mm, z=50μm, the shift amount of the pressing coordinates (m/8, n/2) is 1.5mm. When the touch origin coordinate is (m/4, n/2), the offset of the pressing coordinate is (m/8, n/2) is/> Therefore, the dynamically acquired center pixel coordinate is used as the touch origin, the offset of the pressing coordinate can be reduced, the offset error is further reduced, and the touch accuracy is improved.
Optionally, fig. 3 is a flowchart of another touch method of a display panel according to an embodiment of the present invention, and based on the above technical solution, referring to fig. 3, the touch method of a display panel according to an embodiment of the present invention includes:
s210, acquiring 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 may become partially displayed, so that the current display area may be located at the edge of the original display area or may be located inside the original display area. Fig. 4 is a schematic diagram of a situation that touch data is lifted when a pressing position is at an edge, and fig. 5 is a schematic diagram of a situation that touch data is lifted when a pressing position is at an inner part, referring to fig. 4 and fig. 5, when a current display area is located in an original display area, touch electrode blocks exist around the pressing position (corresponding to a position of 1000 in the drawing) of the current display area, so that accurate point coordinates can be obtained by weighting the touch electrode blocks corresponding to the upper part, the lower part, the left part and the right part of the periphery, and an edge pulling algorithm is not needed to shift. 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 coordinates cannot be weighted due to the missing of surrounding touch electrode blocks, and therefore the offset cannot be calculated and 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 positioned at the edge of the original display area or not is determined, the edge pulling algorithm can be optimized, and the processing difficulty of touch data is reduced.
And S230, calculating an offset coefficient of the touch report point coordinate according to the center pixel coordinate and the pressing coordinate.
S240, determining the reporting point coordinates according to the offset coefficient and the pressing coordinates.
S250, determining a touch position according to the point coordinates, and realizing touch.
Optionally, fig. 6 is a flowchart of another touch method of a display panel provided by an embodiment of the present invention, fig. 7 is a schematic structural diagram of a display area of another display panel provided by an embodiment of the present invention, and fig. 8 is a partial enlarged view of the display area shown in fig. 7, where, based on the above technical solution, referring to fig. 6 to fig. 8, the touch method of a display panel provided by an embodiment of the present invention includes:
S310, acquiring the central pixel coordinates of the current display area of the display panel.
S320, acquiring the range of 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 size of 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 center pixel coordinate being (X, Y). Referring to fig. 8, a corresponding touch electrode block is disposed at an edge of an original display area, the size of the touch electrode block along the P direction is a1, the size of the touch electrode block along the Q direction is b1, and the length and width sizes of the pixels are z. Wherein a1/z is the number of pixels corresponding to the touch electrode blocks 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 blocks corresponding to the edge of the original display area in the Q direction. The size relation between a1/z and A and C can be judged to determine whether the edge of the current display area column pixel is positioned at the left and right edges of the original display area, and the size relation between B1/z and B and D can be used to determine whether the edge of the current display area row pixel is positioned at the upper and lower edges of the original display area.
And S340, calculating the offset coefficient of the touch report point coordinate according to the center pixel coordinate and the pressing coordinate.
S350, determining the reporting point coordinates according to the offset coefficient and the pressing coordinates.
And S360, determining a touch position according to the point coordinates, and realizing touch.
Further, step S330 specifically includes:
And if the ratio of the size of the touch electrode block to the pixel size is greater than or equal to the column pixel coordinates of the first column along the row pixel arrangement direction, determining that the first 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. 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 coordinates of the last column of the original display area and the column pixel coordinates of the last column 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. The extending directions of the first edge and the second edge of the current display area are intersected with the row pixel arrangement direction.
Specifically, fig. 9 is a flowchart of a method for determining an abscissa offset coefficient according to an embodiment of the present invention, and on the basis of the above technical solutions, referring to fig. 9, in a P direction, a 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 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, that is, a1/z is greater than or equal to A, and X' < X, for the first edge, the column pixel coordinate (abscissa) corresponding to the first column pixel of the current display area is A, which indicates that the current display area is located at the left edge or left edge of the original display area, the abscissa of the pressing coordinate needs to be shifted, and the abscissa shifting coefficient isIf a1/z < A and X' < X, it indicates that the current display area is located on 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 center pixel are all provided with the corresponding touch electrode block for weighting processing, the pressing coordinates on the left side of the center pixel do not need to be shifted, and the shift coefficient is zero. The row pixel coordinate (abscissa) corresponding to the last row of pixels of the current display area is C, 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 of the original display area and the row pixel coordinate of the last row of the current display area, namely C is greater than or equal to m-a1/z, and X' > X, the fact that the current display area is positioned on the right side of the right edge or the right edge of the original display area is indicated, the abscissa of the pressing coordinate needs to be shifted, and the abscissa shifting coefficient/>If C < m-a1/z and X' > X, it indicates that the current display area is located at 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 center pixel all have the corresponding touch electrode block to perform weighting processing, the pressing coordinates on the right side of the center pixel do not need to be shifted, and the shifting coefficient is zero.
Fig. 10 is a flowchart of a method for determining an ordinate offset coefficient according to an embodiment of the present invention, where on the basis of the above technical solutions, referring to fig. 10, similarly, 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 along a row pixel arrangement direction, it is determined that a third edge of a current display area is located at an edge of the 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 greater than or equal to the difference between the row pixel coordinates of the last row of the original display area and the row pixel coordinates of the last row of the current display area, determining that the fourth 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; 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 pixel of 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, it indicates that the current display area is located at the upper edge or the upper edge of the original display area, the ordinate of the pressing coordinate needs to be shifted, and the ordinate shifting coefficient is greater than or equal to the row pixel coordinate of the first rowIf B1/z < B and Y' < Y, the current display area is located below the touch electrode block corresponding to the upper edge of the original display area, so that the pressing coordinates on the upper edge of the central pixel are all provided with the corresponding touch electrode block for weighting processing, the pressing coordinates on the upper edge of the central pixel do not need to be shifted, and the shifting coefficient is zero. The row pixel coordinate (ordinate) corresponding to the last row of pixels of the current display area is D, 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 of the original display area and the row pixel coordinate of the last row of the current display area, namely D is greater than or equal to n-b1/z, and Y' > Y, for the fourth edge, the current display area is positioned at the lower edge of the original display area or below the lower edge, the ordinate of the pressing coordinate needs to be shifted, and the ordinate shift coefficient/>If D < n-b1/z and Y' > Y, the current display area is located on the upper edge of the touch electrode block corresponding to the lower edge of the original display area, so that the pressing coordinates below the center pixel are provided with the corresponding touch electrode block for weighting processing, the pressing coordinates below the center pixel do not need to be shifted, and the shifting 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 size of the pixel coordinate, whether the current display area is positioned at the edge of the original display area is judged, and then different offset coefficients are selected to offset the pressing coordinate, so that the edge pulling algorithm is optimized, the accuracy of the offset coefficients is improved, and the accuracy of the touch point coordinates is improved.
Fig. 11 is a flowchart of another touch method of a display panel according to an embodiment of the present invention, and based on the above technical solutions, referring to fig. 11, the touch method of the display panel includes:
S410, acquiring the central pixel coordinate of the current display area of the display panel.
S420, acquiring the range of 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 size of the pixel coordinate.
S440, calculating the offset coefficient of the touch report point coordinate according to the center pixel coordinate and the pressing coordinate.
S450, if the current display area is positioned 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;
S460, 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.
And S470, calculating the reporting point coordinates according to the offset and the pressing coordinates.
And S480, determining a touch position according to the point coordinates, and realizing touch.
Specifically, the offset is equal to the product of the offset coefficient and the ratio of the size of the touch electrode block to 2 times the pixel size. Assuming that the length and width of the 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 b1. As shown in fig. 2, taking the example of displaying the left half screen after the display panel is folded, the pressing position is b point, and the b point is on the central axis of the column pixel arrangement, so that only the abscissa is required to be shifted, the b point coordinates are (m/8, n/2), and the reporting point coordinates (c point) are (x, y). When the touch origin coordinate is (m/2, n/2), the offset of the abscissa isIf a1=4mm, z=50μm, the shift amount of the pressing coordinates (m/8, n/2) is 1.5mm, i.e., 30 pixels; y-y' =ky x (b 1/2 z) =0. When the touch origin coordinate is (m/4, n/2), the pressing coordinate is (m/8, n/2) offsetI.e. 20 pixels; y-y' =ky x (b 1/2 z) =0. If the current display area is at the inner side of the touch electrode block corresponding to the original display area at this time, as shown in fig. 6, the offset of the pressing coordinates of the current display area is zero; in this case, the region X' >2X is a non-display region and may be omitted.
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 obtained, the center pixel coordinate is used as a touch origin, the offset coefficient of the touch point coordinate is calculated according to the obtained center pixel coordinate and the actual pressing coordinate, so that the pressing coordinate is offset according to the offset coefficient to obtain the point coordinate, the point coordinate can reflect the touch position, and the touch chip generates a touch signal according to the touch position to realize touch. Since the center pixel coordinates in the present embodiment are changed according to the change of the form 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 method and the device have the advantages that the center point coordinates are obtained dynamically, the offset coefficient of the actual pressing coordinates can be adapted to be adjusted, after the touch control origin is updated to the center pixel coordinates of the current display area, the distance between the center coordinates of the current display area and the actual pressing coordinates is reduced, so that offset errors are reduced, the pressing coordinates can be offset accurately, and touch control accuracy is 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 size of the pixel coordinate, whether the current display area is positioned at the edge of the original display area is judged, different offset coefficients are selected to offset the pressing coordinate, and the 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 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 by the embodiment of the present invention, and based on the above technical solutions, referring to fig. 12, the touch device of the display panel includes:
the central pixel coordinate acquisition module 101 is configured to acquire a central pixel coordinate of a current display area of the display panel.
The offset coefficient calculating module 102 is configured to calculate an offset coefficient of the touch report point coordinate according to the center pixel coordinate and the pressing coordinate.
The report point coordinate determining module 103 is configured to determine a report point coordinate according to the offset coefficient and the pressing coordinate.
The touch module 104 is configured to determine a touch position according to the point coordinates, and implement touch.
The touch device of the display panel provided by the embodiment of the invention is provided with a module for executing the touch method of the display panel provided by any embodiment of the invention, and the specific working principle can refer to the specific description of the method embodiment, and the detailed description is omitted herein.
Optionally, the embodiment of the invention further provides a touch display panel, and the touch method of the display panel provided by any embodiment of the invention is adopted to realize a touch function, so that the touch display panel provided by the embodiment of the invention also has the beneficial effects described by any embodiment of the invention.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. 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, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (8)

1. The touch control method of the display panel is characterized by comprising the following steps of:
Acquiring the central pixel coordinate of the current display area of the display panel; the current display area is obtained by folding or unfolding an original display area;
Calculating an offset coefficient of the touch report point coordinate according to the center pixel coordinate and the pressing coordinate;
Determining the report point coordinates according to the offset coefficient and the pressing coordinates;
Determining a touch position according to the report point coordinates, and realizing touch;
the offset coefficients include an abscissa offset coefficient and an ordinate offset coefficient; the offset coefficient is:
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.
2. The touch control method of the display panel is characterized by comprising the following steps of:
acquiring the central pixel coordinate of the current display area of the display panel; the display effect of the current display area is local display in the original display area;
Calculating an offset coefficient of the touch report point coordinate according to the center pixel coordinate and the pressing coordinate;
Determining the report point coordinates according to the offset coefficient and the pressing coordinates;
Determining a touch position according to the report point coordinates, and realizing touch;
before calculating the offset coefficient of the touch report point coordinate according to the central pixel coordinate and the pressing coordinate, the method further comprises the following steps:
Determining the position of a touch electrode block corresponding to the edge of an original display area relative to the current display area according to the pixel size and the size of the touch electrode block;
Determining the point coordinates according to the offset coefficient and the press coordinates includes:
if the current display area is positioned 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 coordinates according to the offset;
Wherein the offset is equal to the product of the offset coefficient and the ratio of the size of the touch electrode block to the size of 2 times of pixels;
determining the point coordinates according to the offset coefficient and the pressing coordinates, and further comprising:
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;
Wherein the offset coefficients include an abscissa offset coefficient and an ordinate offset coefficient; the offset coefficient is:
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 claim 2, 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 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 size of the pixel coordinate.
4. The touch method of a display panel according to claim 3, wherein, 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 column pixel coordinates of the first column of the current display area, determining that the first 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;
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, 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;
The extending directions of the first edge and the second edge of the current display area are intersected with the row pixel arrangement direction.
5. The touch method of claim 3, wherein, 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 coordinates of the first row of the current display area, determining that the third 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;
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 coordinates of the last row of the original display area and the row pixel coordinates of the last row of the current display area, determining that the fourth 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;
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.
6. 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 current display area is obtained by folding or unfolding an original display area;
The offset coefficient calculation module is used for calculating an offset coefficient of the touch control report point coordinate according to the center pixel coordinate and the pressing coordinate; the offset coefficients include an abscissa offset coefficient and an ordinate offset coefficient; the offset coefficient is:
wherein Kx is the abscissa offset coefficient, ky is the ordinate offset coefficient, (X, Y) is the center pixel coordinate, and (X ', Y') is the pressing coordinate;
the report point coordinate determining 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 point coordinates to realize touch.
7. 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 display effect of the current display area is local display in the original display area;
The offset coefficient calculation module is used for calculating an offset coefficient of the touch control report point coordinate according to the center pixel coordinate and the pressing coordinate; the offset coefficients include an abscissa offset coefficient and an ordinate offset coefficient; the offset coefficient is:
wherein Kx is the abscissa offset coefficient, ky is the ordinate offset coefficient, (X, Y) is the center pixel coordinate, and (X ', Y') is the pressing coordinate;
the report point coordinate determining module is used for determining the report point coordinate according to the offset coefficient and the pressing coordinate;
the touch module is used for determining a touch position according to the point coordinates to realize touch;
The point coordinate determining module is specifically configured to determine a position of a touch electrode block corresponding to an edge of an original display area relative to the current display area according to a pixel size and a size of the touch electrode block, obtain an offset of the pressing coordinate according to an offset coefficient if the current display area is located at the edge of the touch electrode block corresponding to the edge of the original display area, and calculate the point coordinate according to the offset, where the offset is equal to a product of a ratio of the size of the touch electrode block to a 2-time pixel size and the offset coefficient; 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.
8. A touch display panel, wherein a touch function is realized by using the touch method of the display panel according to any one of claims 1 to 5.
CN202011448129.0A 2020-12-09 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 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 2020-12-09 Touch control method and device of display panel and touch control display panel

Publications (2)

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

Family

ID=74692145

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN112433638B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809820A (en) * 2012-11-14 2014-05-21 晨星软件研发(深圳)有限公司 Method for correcting touch control coordinates and related system
CN104102374A (en) * 2013-04-12 2014-10-15 义隆电子股份有限公司 Touch device and edge nonlinear compensation method thereof
CN107479765A (en) * 2017-09-30 2017-12-15 歌尔科技有限公司 Coordinate calibration method and equipment based on Trackpad
CN110839096A (en) * 2019-08-30 2020-02-25 华为技术有限公司 Touch method of equipment with folding screen and folding screen equipment
CN111880721A (en) * 2020-08-07 2020-11-03 北京集创北方科技股份有限公司 Data processing method and device, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140076957A (en) * 2012-12-13 2014-06-23 삼성전기주식회사 Apparatus and method for sensing touch input

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809820A (en) * 2012-11-14 2014-05-21 晨星软件研发(深圳)有限公司 Method for correcting touch control coordinates and related system
CN104102374A (en) * 2013-04-12 2014-10-15 义隆电子股份有限公司 Touch device and edge nonlinear compensation method thereof
CN107479765A (en) * 2017-09-30 2017-12-15 歌尔科技有限公司 Coordinate calibration method and equipment based on Trackpad
CN110839096A (en) * 2019-08-30 2020-02-25 华为技术有限公司 Touch method of equipment with folding screen and folding screen equipment
CN111880721A (en) * 2020-08-07 2020-11-03 北京集创北方科技股份有限公司 Data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112433638A (en) 2021-03-02

Similar Documents

Publication Publication Date Title
US8502791B2 (en) Methods of processing data in touch screen display device and methods of displaying image using the same
JP6166852B1 (en) Method and system for measuring lens distortion
JP4770878B2 (en) Information display device and program
JP6432409B2 (en) Touch panel control device and touch panel control program
CN108074237B (en) Image definition detection method and device, storage medium and electronic equipment
JP5500163B2 (en) Image processing system, image processing method, and image processing program
US10466745B2 (en) Operational control method for flexible display device
CN104808923A (en) Screen control method and electronic equipment
KR20120066567A (en) Image processing device and program
US10983640B2 (en) Position detection circuit and position detection method in which line electrode of capacitive touch sensor is determined to be anomalous or possibly anomalous
CN107402757A (en) Page rendering method and device
US20150135090A1 (en) User adaptive interface providing system and method
US9996948B2 (en) Image downsampling apparatus and method
CN112433638B (en) Touch control method and device of display panel and touch control display panel
CN111492341B (en) Method for determining offset distance of spliced display screen and related device
CN112286386B (en) Touch screen point stabilization processing method, system, device and medium
CN111768396B (en) Distortion measurement method and device for virtual display equipment
CN107608670B (en) Method and system for self-adaptive display of report UI (user interface) elements
WO2024055531A1 (en) Illuminometer value identification method, electronic device, and storage medium
JP2010258603A (en) Communication terminal and method of adjusting display size
KR20130112410A (en) Method and apparatus for detecting coordinates in a pen-based display device
JP2019121061A (en) Image enlargement device
US11495162B2 (en) Panel display optimization method, display panel, and storage medium
CN114398571A (en) Image annotation method, image annotation system, electronic device and storage medium
JP6238569B2 (en) Image processing apparatus, image processing method, and program

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