WO2014082509A1 - Method and system for responding to touch operation of user in edge area of touch screen, and touch screen terminal - Google Patents

Method and system for responding to touch operation of user in edge area of touch screen, and touch screen terminal Download PDF

Info

Publication number
WO2014082509A1
WO2014082509A1 PCT/CN2013/085730 CN2013085730W WO2014082509A1 WO 2014082509 A1 WO2014082509 A1 WO 2014082509A1 CN 2013085730 W CN2013085730 W CN 2013085730W WO 2014082509 A1 WO2014082509 A1 WO 2014082509A1
Authority
WO
WIPO (PCT)
Prior art keywords
dimensional array
original
value
level virtual
touch screen
Prior art date
Application number
PCT/CN2013/085730
Other languages
French (fr)
Chinese (zh)
Inventor
毛建平
Original Assignee
深圳市汇顶科技股份有限公司
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 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Publication of WO2014082509A1 publication Critical patent/WO2014082509A1/en

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/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation

Definitions

  • the invention belongs to the technical field of touch screens, and in particular, to a method, a system and a touch screen terminal for responding to a user's touch operation in an edge area of a touch screen. Background technique
  • Capacitive touch screens are increasingly used in many electronic products.
  • the basic implementation of the coordinates is: Set the capacitive matrix of the sample on the screen, and calculate the coordinates of the touched point using a certain algorithm.
  • A1 of Figure 1 When a certain point in the central area of the screen is touched, as shown in A1 of Figure 1, in order to ensure that the coordinates of A1 can be accurately calculated, the data of each adjacent point around it will participate in the operation, but since the capacitance matrix must be smaller than the physical of the screen Dimensions, when a certain point in the edge area of the touch screen is touched, as shown in A2 in Figure 1, the data of the adjacent points of the touched point is incomplete. At this time, the data participating in the A2 coordinate calculation must be incomplete, if the adjacent neighbors of A2 are still used.
  • the matrix data is calculated for coordinates and the result will be distorted. Taking the straight line shown in Fig. 2 as an example, if the line B1 and the point B2 are drawn in a straight line, the calculated coordinates at B1 and B2 cannot be linear with the coordinates of the touched point in the central area, and the distortion appears at both ends of the straight line.
  • the above linear processing method first determines the linearity of the non-orthogonal line and the worse area. If the division results of the two regions are different, the final correction result is also different, so the above processing method may not be able to restore the most True linear results. Summary of the invention
  • a first technical problem to be solved by the present invention is to provide a method for responding to a user's touch operation by an edge region of a touch screen, which is intended to truly restore a user's touch operation.
  • the present invention is implemented in such a manner that a touch screen edge area responds to a user's touch operation, including the following steps:
  • the actual coordinates of the touched point of the edge region are calculated according to the corrected one-dimensional array of the X direction and the Y direction, and the touch operation of the user is responded to at the position of the actual coordinate.
  • the step of calculating the first-level virtual sample values located outside the edge region according to the three values of the outermost edges of the original one-dimensional array in the X direction and the Y direction respectively includes:
  • D the first-level virtual sample value
  • D1 The first extended sample value obtained by extending the line segment between the column/row of B and C to the outside by a preset multiple; and the second extended sample value D2 is obtained by the following method:
  • the method further includes the following steps:
  • a second technical problem to be solved by the present invention is to provide a system for responding to a user's touch operation in an edge region of a touch screen, including:
  • the original one-dimensional array conversion module is configured to convert two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and the Y direction; wherein each value in the original one-dimensional array in the X direction is respectively sampled by each column The data is summed, and the values in the original one-dimensional array in the Y direction are summed by the sampled data of each row;
  • a first-level virtual sample value calculation module configured to calculate a first-level virtual sample value located outside the edge region according to three values of the outermost edge of the original one-dimensional array in the X direction and the Y direction, respectively; the X direction and the Y direction The original one-dimensional array and the first-order virtual sample values together form a modified one-dimensional array in the X direction and the Y direction;
  • a touch operation response module configured to calculate actual coordinates of the touched area of the edge area according to the corrected one-dimensional array of the X direction and the Y direction, and respond to the user's touch operation at the position of the actual coordinate.
  • the first-level virtual sample value calculation module obtains a first-level virtual sample value according to the following formula:
  • D flx(Dl + D2) _ fd2 x (D 2 _ D 1) .
  • D is the first-order virtual sample value
  • fl is the preset stretch velocity coefficient
  • fd2 is the preset curve correction coefficient
  • the extended sampled value D2 is obtained by the following method: a virtual value B, the virtual value B, and a line segment between the column/row of C is extended outward by the predetermined multiple to obtain a second extended sample value D2.
  • the system further includes: a second-level virtual sample value calculation module, configured to obtain, according to the two values of the outermost edge of the original one-dimensional array in the X direction and the Y direction, and the first-level virtual sample value, a second-level virtual sample value outside the level virtual sample value; the original one-dimensional array in the X direction and the Y direction and the first-level virtual sample value and the second-level virtual sample value together form a corrected one in the X direction and the Y direction Dimension array.
  • a second-level virtual sample value calculation module configured to obtain, according to the two values of the outermost edge of the original one-dimensional array in the X direction and the Y direction, and the first-level virtual sample value, a second-level virtual sample value outside the level virtual sample value; the original one-dimensional array in the X direction and the Y direction and the first-level virtual sample value and the second-level virtual sample value together form a corrected one in the X direction and the Y direction Dimension array.
  • a third technical problem to be solved by the present invention is to provide a touch screen terminal comprising a system in which a touch screen edge area as described above is responsive to a user's touch operation.
  • the invention first converts two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and the Y direction, and then calculates a virtual sample value of the one-dimensional array outside the edge to supplement and correct the one-dimensional array.
  • the calculation method of the coordinates of the touched area of the edge area is the same as the calculation method of the touched point coordinates of the central area, so that the linearity of the touched point of the central area can be maintained, and the touch operation for the edge area can be truly restored. .
  • FIG. 1 is a schematic diagram of calculating coordinates of a touched point provided by the prior art
  • FIG. 2 is a linear effect diagram of the method for calculating the touched point coordinates shown in FIG. 1;
  • FIG. 3 is a flow chart showing the implementation of the method for responding to the user's touch operation by the touch screen edge region provided by the present invention;
  • FIG. 4A and FIG. 4B are diagrams of two-dimensional matrix sampling data on a touch screen provided by the present invention
  • FIG. 5 is a schematic diagram of calculating a first-level virtual sampling value according to the method shown in FIG. 3;
  • Figure 6, Figure 7, Figure 8 are the different tensile strength coefficients and curve corrections provided by the present invention. Schematic diagram of the touch operation curve obtained by the coefficient;
  • 9A, 9B, and 9C are respectively a graph of a one-dimensional array when fl is a different value
  • FIG. 10 is a schematic structural diagram of a system for responding to a user's touch operation in an edge region of a touch screen provided by the present invention
  • FIG 11 is a block diagram showing the structure of another touch screen edge area of the system of Figure 10 in response to user touch operations. detailed description
  • the coordinate calculation of the touched point in the present invention starts from the whole of the touch screen matrix, first converts the two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and the Y direction, and then calculates the one-dimensional array on the outer side of the edge.
  • the virtual sampling value is used to supplement the one-dimensional array, so that the calculation method of the edge area touched point coordinates is the same as the calculation method of the touched point coordinates of the central area.
  • FIG. 3 shows an implementation flow of a method for responding to a user's touch operation in a touch screen edge region provided by the present invention, which is described in detail as follows:
  • step S301 the two-dimensional matrix sample data on the touch screen is converted into two original one-dimensional arrays in the X direction and the Y direction.
  • the values in the original one-dimensional array in the X direction are respectively summed by the sampling data of each column, and the values in the original one-dimensional array in the Y direction are summed by the sampling data of each row.
  • the data in the following table is an example:
  • the data of each column is accumulated to form an X-direction one-dimensional array.
  • the data of each row is accumulated to form a Y-direction one-dimensional array, as shown in Fig. 4B.
  • step S302 the first-order virtual sample values located outside the edge region are calculated based on the three values of the outermost edges of the original one-dimensional array in the X direction and the Y direction, respectively.
  • C is a value corresponding to the most edged column/row in the original one-dimensional array in the X direction/Y direction
  • B and A are values corresponding to the nearest neighboring column/row in the direction of the central area of the touch screen.
  • D1 is B
  • the coordinates between 0-pitch/2 can be calculated, where pitch is the center distance of the adjacent sensing line or driving line.
  • fd2 is to adjust the linearity of the pitch where B is located
  • fe2 is to adjust the linearity of the pitch where C is located, corresponding to the coefficients of A, B, and C in the previous calculation formula.
  • the fl in Fig. 9A, Fig. 9B, and Fig. 9C are 31, 19, respectively. 27.
  • a set of coefficients can be found for this screen to achieve optimal linearity for edge stretching.
  • step S303 the actual coordinates of the touched area of the edge region are calculated based on the corrected one-dimensional array of the X direction and the Y direction, and the touch operation of the user is responded to at the position of the actual coordinate.
  • the values in the modified one-dimensional X array be X0, Xl....Xn, respectively, and the number of columns is 0, 1st, ..., nth column, and set the modified 1D Y array.
  • the respective values are Y0, YL... ⁇ , where the number of columns is 0, 1st, ..., mth, respectively, and the X coordinate of the touched point to be responded is calculated by the following formula:
  • the coordinates of the touched point to be responded are calculated by the following formula:
  • a computer such as a ROM/RAM, a disk, or an optical disk can be read in a storage medium.
  • Fig. 10 shows the logic principle of the system for responding to user touch operations of the touch screen edge region provided by the present invention. For the convenience of description, only the portions related to the embodiment of the present invention are shown. All or part of the modules in this system may be software units built into the driver IC of the touch screen terminal.
  • the system includes an original one-dimensional array conversion module 101, a first-order virtual sample value calculation module 102, and a touch operation response module 103.
  • the original one-dimensional array conversion module 101 is configured to convert the two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and the Y direction. As described above, each of the original one-dimensional arrays in the X direction The values are respectively summed by the sampling data of each column, and each value in the original one-dimensional array in the Y direction is composed of the summation of the sampling data of each row.
  • the first-order virtual sampled value calculation module 102 calculates the first-order virtual sample values located outside the edge region according to the three values of the outermost edges of the original one-dimensional array in the X direction and the Y direction, respectively, as described above, the original in the X direction and the Y direction.
  • the one-dimensional array and the first-order virtual sample values together form a modified one-dimensional array in the X direction and the Y direction.
  • the touch operation response module 103 calculates the corrected one-dimensional array according to the X direction and the Y direction.
  • the edge area is touched by the actual coordinates of the touched point and in response to the user's touch operation at the actual coordinate position.
  • the first-level virtual sampled value calculation module 102 obtains the first-level virtual sampled value according to the following formula:
  • D flx(Dl +D2 ) _ fd2 x (D 2 _ D 1) ;
  • D is the first-order virtual sample value, fl is the preset stretch velocity coefficient, and fd2 is the preset curve correction coefficient;
  • the value of the most edged column/row in the original one-dimensional array in the direction/Y direction is C, B, A is the value of the nearest neighboring column/row in the direction of the central area of the touch screen, then D1 is B.
  • the first extended sample value obtained by extending the line segment between the column/row of C to the outside by a preset multiple; and the second extended sample value D2 is obtained by the following method: A line segment between the column/row of A and B Extending the preset multiple to the outside to obtain a virtual value B, the virtual value B, and the line segment between the column/row of C is extended to the outside by a preset multiple to obtain a second extended sample value D2.
  • the system further includes a two-level virtual sample value calculation module 104, configured to obtain two values of the edge of the original one-dimensional array and the first-level virtual sample values according to the X direction and the Y direction.
  • the second-order virtual sample value located outside the first-order virtual sample value; the original one-dimensional array in the X direction and the Y direction and the first-order virtual sample value and the second-level virtual sample value together constitute a corrected one-dimensional array in the X direction and the Y direction .
  • first-level virtual sampled value calculation module 102 and the second-level virtual sampled value calculation module 104 are as described above, and are not described herein again.
  • the invention first converts two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and the Y direction, and then calculates a virtual sample value of the one-dimensional array outside the edge to supplement and correct the one-dimensional array.
  • the calculation method of the coordinates of the touched area of the edge area is the same as the calculation method of the touched point coordinates of the central area, so that the linearity of the touched point of the central area can be maintained, and the touch operation for the edge area can be truly restored. .

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 present invention is applicable to the technical field of touch screens, and provides a method and system for responding to a touch operation of a user in an edge area of a touch screen, and a touch screen terminal. In the present invention, for calculation f a coordinate of a touched point, from the entirety of a touch screen matrix, first, two-dimensional matrix sampled data on the touch screen is converted into an X-direction original one-dimensional array and a Y-direction original one-dimensional array, and then, virtual sampled values of the one-dimensional arrays at an outer side of the edge are calculated to perform additional correction on the one-dimensional arrays, and enable a method for calculating a coordinate of a touched point in the edge area in the touch screen to be the same as a method for calculating a coordinate of a touched point in a central area; therefore, high linearity can be maintained with a touched point in the central area, and a touch operation used for the edge area is truly restored.

Description

触摸屏边缘区域响应用户触摸操作的方法、 系统及触摸屏终端 技术领域  Method, system and touch screen terminal for responding to user touch operation in touch screen edge area
本发明属于触摸屏技术领域, 尤其涉及一种触摸屏边缘区域响应用户触摸 操作的方法、 系统及触摸屏终端。 背景技术  The invention belongs to the technical field of touch screens, and in particular, to a method, a system and a touch screen terminal for responding to a user's touch operation in an edge area of a touch screen. Background technique
电容式触摸屏越来越多地应用到许多电子产品上面, 其坐标的基本实现方 法是: 在屏上设置采样的电容矩阵, 采用一定的算法计算出被触摸点的坐标。 当屏幕中央区域的某一点被触摸时, 如图 1 中的 A1 , 为保证能准确地计算出 A1 的坐标, 其周围各个相邻点的数据都会参与运算, 但由于电容矩阵必定小于屏 的物理尺寸, 当触摸屏边缘区域的某一点被触摸时, 如图 1 中的 A2, 被触摸点 的相邻点的数据不全, 此时参与 A2 坐标计算的数据必不完整, 若仍然采用 A2 周围相邻的矩阵数据进行坐标计算, 结果将会失真。 以图 2所示的直线为例, 若 由点 B1 向点 B2 划一直线, 计算出的 B1 和 B2 处的坐标不能与中央区域的被 触摸点的坐标保持线性, 表现为直线两端出现扭曲。  Capacitive touch screens are increasingly used in many electronic products. The basic implementation of the coordinates is: Set the capacitive matrix of the sample on the screen, and calculate the coordinates of the touched point using a certain algorithm. When a certain point in the central area of the screen is touched, as shown in A1 of Figure 1, in order to ensure that the coordinates of A1 can be accurately calculated, the data of each adjacent point around it will participate in the operation, but since the capacitance matrix must be smaller than the physical of the screen Dimensions, when a certain point in the edge area of the touch screen is touched, as shown in A2 in Figure 1, the data of the adjacent points of the touched point is incomplete. At this time, the data participating in the A2 coordinate calculation must be incomplete, if the adjacent neighbors of A2 are still used. The matrix data is calculated for coordinates and the result will be distorted. Taking the straight line shown in Fig. 2 as an example, if the line B1 and the point B2 are drawn in a straight line, the calculated coordinates at B1 and B2 cannot be linear with the coordinates of the touched point in the central area, and the distortion appears at both ends of the straight line.
为使边缘区域的被触摸点与中央区域的被触摸点保持线性, 目前有种处理 方法是由触摸屏的中央区域向触摸屏的外框处作一非正交直线, 然后将该直线 分为线性度较好区域和线性度较坏区域, 再进一步得出该直线的线性偏移比例 因子并由此建立一线性处理模型, 最后利用该模型对边缘区域的被触摸点的坐 标进行修正。  In order to keep the touched point of the edge area and the touched point of the central area linear, there is a current processing method of making a non-orthogonal line from the central area of the touch screen to the outer frame of the touch screen, and then dividing the line into linearity. The better region and the linearity of the worse region, and further derive the linear offset scale factor of the line and thereby establish a linear processing model, and finally use the model to correct the coordinates of the touched point of the edge region.
上述线性处理方法首先要确定非正交直线的线性度较好区域和较坏区域, 若这两个区域的划分结果不一样, 最终的修正结果也势必不同, 因此上述处理 方法未必能还原出最真实的线性结果。 发明内容 The above linear processing method first determines the linearity of the non-orthogonal line and the worse area. If the division results of the two regions are different, the final correction result is also different, so the above processing method may not be able to restore the most True linear results. Summary of the invention
本发明所要解决的第一个技术问题在于提供一种触摸屏边缘区域响应用户 触摸操作的方法, 旨在边缘区域真实还原出用户的触摸操作。 本发明是这样实现的, 一种触摸屏边缘区域响应用户触摸操作的方法, 包 括下述步骤:  A first technical problem to be solved by the present invention is to provide a method for responding to a user's touch operation by an edge region of a touch screen, which is intended to truly restore a user's touch operation. The present invention is implemented in such a manner that a touch screen edge area responds to a user's touch operation, including the following steps:
将触摸屏上的二维矩阵采样数据转换为 X方向和 Y方向的两个原始一维数 组; 其中 X方向的原始一维数组中的各个值分别由各列采样数据求和构成, Y 方向的原始一维数组中的各个值由各行采样数据求和构成;  Converting the two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and the Y direction; wherein each value in the original one-dimensional array in the X direction is respectively composed of the sampling data of each column, and the original in the Y direction Each value in a one-dimensional array is composed of summed sample data of each row;
分别根据所述 X方向和 Y方向的原始一维数组最边缘的三个值计算位于边 缘区域外侧的一级虚拟采样值;所述 X方向和 Y方向的原始一维数组和所述一 级虚拟采样值共同构成 X方向和 Y方向的修正后的一维数组;  Calculating a first-order virtual sample value located outside the edge region according to three values of the outermost edge of the original one-dimensional array in the X direction and the Y direction, respectively; the original one-dimensional array in the X direction and the Y direction and the first-level virtual The sampled values together form a modified one-dimensional array in the X direction and the Y direction;
根据所述 X方向和 Y方向的修正后的一维数组计算所述边缘区域被触摸点 的实际坐标, 并在所述实际坐标的位置响应用户的触摸操作。  The actual coordinates of the touched point of the edge region are calculated according to the corrected one-dimensional array of the X direction and the Y direction, and the touch operation of the user is responded to at the position of the actual coordinate.
进一步地,所述分别根据所述 X方向和 Y方向的原始一维数组最边缘的三 个值计算位于边缘区域外侧的一级虚拟采样值的步骤包括:  Further, the step of calculating the first-level virtual sample values located outside the edge region according to the three values of the outermost edges of the original one-dimensional array in the X direction and the Y direction respectively includes:
设 D为所述一级虚拟采样值, 则 D根据以下公式得到:  Let D be the first-level virtual sample value, then D is obtained according to the following formula:
D = flx(Dl+D2) _ fd2 x (D 2 _ D 1) . 其中, fl为预设的拉伸力度系数, fd2为预设的曲线修正系数; D = flx(Dl + D2) _ fd2 x (D 2 _ D 1) . where fl is the preset tensile strength coefficient and fd2 is the preset curve correction coefficient;
设 X方向/ Y方向的原始一维数组中最边缘的列 /行对应的值为 C, B、 A为 其在触摸屏中央区域方向的最临近、 次临近的列 /行对应的值, 则 D1为 B与 C 所在列 /行之间的线段向外侧延伸预设的倍数后得到的第一延伸采样值; 而第二 延伸采样值 D2由如下方法得到:  Let the value of the most edged column/row in the original one-dimensional array in the X direction/Y direction be C, B, A is the value of the nearest neighboring column/row in the direction of the central area of the touch screen, then D1 The first extended sample value obtained by extending the line segment between the column/row of B and C to the outside by a preset multiple; and the second extended sample value D2 is obtained by the following method:
由所述 A与 B所在列 /行之间的线段向外侧延伸所述预设的倍数后得到一 虚拟数值 B,,所述虚拟数值 B,与 C所在列 /行之间的线段向外侧延伸所述预设 的倍数后得到第二延伸采样值 D2。 进一步地,在根据所述 X方向和 Y方向的修正后的一维数组计算所述边缘 区域被触摸点的实际坐标的步骤之前, 所述方法还包括下述步骤: Extending the predetermined multiple from the line segment between the columns/rows of the A and B to obtain a virtual value B, wherein the virtual value B and the line segment between the column/row of the C extend outward. The second extended sample value D2 is obtained after the preset multiple. Further, before the step of calculating the actual coordinates of the edge region touched by the corrected one-dimensional array in the X direction and the Y direction, the method further includes the following steps:
进一步根据 X方向和 Y方向的原始一维数组最边缘的两个值以及所述一级 虚拟采样值, 得到位于所述一级虚拟采样值外侧的二级虚拟采样值; 所述 X方 向和 Y方向的原始一维数组和所述一级虚拟采样值、 二级虚拟采样值共同构成 X方向和 Y方向的爹正后的一维数组。  Further obtaining two-level virtual sample values located outside the first-order virtual sample values according to two values of the edge of the original one-dimensional array and the first-level virtual sample values in the X direction and the Y direction; the X direction and the Y direction The original one-dimensional array of directions and the first-order virtual sample value and the second-order virtual sample value together form a one-dimensional array of the positive direction in the X direction and the Y direction.
本发明所要解决的第二个技术问题在于提供一种触摸屏边缘区域响应用户 触摸操作的系统, 包括:  A second technical problem to be solved by the present invention is to provide a system for responding to a user's touch operation in an edge region of a touch screen, including:
原始一维数组转换模块, 用于将触摸屏上的二维矩阵采样数据转换为 X方 向和 Y方向的两个原始一维数组;其中 X方向的原始一维数组中的各个值分别 由各列采样数据求和构成, Y方向的原始一维数组中的各个值由各行采样数据 求和构成;  The original one-dimensional array conversion module is configured to convert two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and the Y direction; wherein each value in the original one-dimensional array in the X direction is respectively sampled by each column The data is summed, and the values in the original one-dimensional array in the Y direction are summed by the sampled data of each row;
一级虚拟采样值计算模块,用于分别根据所述 X方向和 Y方向的原始一维 数组最边缘的三个值计算位于边缘区域外侧的一级虚拟采样值; 所述 X方向和 Y方向的原始一维数组和所述一级虚拟采样值共同构成 X方向和 Y方向的修正 后的一维数组;  a first-level virtual sample value calculation module, configured to calculate a first-level virtual sample value located outside the edge region according to three values of the outermost edge of the original one-dimensional array in the X direction and the Y direction, respectively; the X direction and the Y direction The original one-dimensional array and the first-order virtual sample values together form a modified one-dimensional array in the X direction and the Y direction;
触摸操作响应模块,用于根据所述 X方向和 Y方向的修正后的一维数组计 算所述边缘区域被触摸点的实际坐标, 并在所述实际坐标的位置响应用户的触 摸操作。  And a touch operation response module, configured to calculate actual coordinates of the touched area of the edge area according to the corrected one-dimensional array of the X direction and the Y direction, and respond to the user's touch operation at the position of the actual coordinate.
进一步地, 所述一级虚拟采样值计算模块根据以下公式得到一级虚拟采样 值:  Further, the first-level virtual sample value calculation module obtains a first-level virtual sample value according to the following formula:
D = flx(Dl+D2) _ fd2 x (D 2 _ D 1) . 其中, D为所述一级虚拟采样值, f l为预设的拉伸力度系数, fd2为预设 的曲线修正系数; D = flx(Dl + D2) _ fd2 x (D 2 _ D 1) . where D is the first-order virtual sample value, fl is the preset stretch velocity coefficient, and fd2 is the preset curve correction coefficient;
设 X方向/ Y方向的原始一维数组中最边缘的列 /行对应的值为 C, B、 A为 其在触摸屏中央区域方向的最临近、 次临近的列 /行对应的值, 则 D1为 B与 C 延伸采样值 D2由如下方法得到: 虚拟数值 B,,所述虚拟数值 B, 与 C所在列 /行之间的线段向外侧延伸所述预设 的倍数后得到第二延伸采样值 D2。 Let the value of the most edged column/row in the original one-dimensional array in the X direction/Y direction be C, B, A is the value of the nearest neighboring column/row in the direction of the central area of the touch screen, then D1 For B and C The extended sampled value D2 is obtained by the following method: a virtual value B, the virtual value B, and a line segment between the column/row of C is extended outward by the predetermined multiple to obtain a second extended sample value D2.
进一步地, 所述系统还包括: 二级虚拟采样值计算模块, 用于根据 X方向 和 Y方向的原始一维数组最边缘的两个值以及所述一级虚拟采样值, 得到位于 所述一级虚拟采样值外侧的二级虚拟采样值;所述 X方向和 Y方向的原始一维 数组和所述一级虚拟采样值、二级虚拟采样值共同构成 X方向和 Y方向的修正 后的一维数组。  Further, the system further includes: a second-level virtual sample value calculation module, configured to obtain, according to the two values of the outermost edge of the original one-dimensional array in the X direction and the Y direction, and the first-level virtual sample value, a second-level virtual sample value outside the level virtual sample value; the original one-dimensional array in the X direction and the Y direction and the first-level virtual sample value and the second-level virtual sample value together form a corrected one in the X direction and the Y direction Dimension array.
本发明所要解决的第三个技术问题在于提供一种触摸屏终端, 其包括如上 所述的触摸屏边缘区域响应用户触摸操作的系统。  A third technical problem to be solved by the present invention is to provide a touch screen terminal comprising a system in which a touch screen edge area as described above is responsive to a user's touch operation.
本发明首先将触摸屏上的二维矩阵采样数据转换为 X方向和 Y方向的两个 原始一维数组, 然后计算出一维数组在边缘外侧的虚拟采样值, 以对一维数组 进行补充修正, 使其边缘区域被触摸点坐标的计算方法与中央区域被触摸点坐 标的计算方法相同, 因此可以与中央区域的被触摸点保持较高的线性度, 真实 还原出用于在边缘区域的触摸操作。 附图说明  The invention first converts two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and the Y direction, and then calculates a virtual sample value of the one-dimensional array outside the edge to supplement and correct the one-dimensional array. The calculation method of the coordinates of the touched area of the edge area is the same as the calculation method of the touched point coordinates of the central area, so that the linearity of the touched point of the central area can be maintained, and the touch operation for the edge area can be truly restored. . DRAWINGS
图 1是现有技术提供的计算被触摸点坐标的原理图;  1 is a schematic diagram of calculating coordinates of a touched point provided by the prior art;
图 2是采用图 1所示的计算被触摸点坐标的方式运算的直线效果图; 图 3是本发明提供的触摸屏边缘区域响应用户触摸操作的方法的实现流程 图;  2 is a linear effect diagram of the method for calculating the touched point coordinates shown in FIG. 1; FIG. 3 is a flow chart showing the implementation of the method for responding to the user's touch operation by the touch screen edge region provided by the present invention;
图 4A、 图 4B是本发明提供的一个触摸屏上的二维矩阵采样数据图表; 图 5是根据图 3所示方法计算一级虚拟采样值的原理图;  4A and FIG. 4B are diagrams of two-dimensional matrix sampling data on a touch screen provided by the present invention; FIG. 5 is a schematic diagram of calculating a first-level virtual sampling value according to the method shown in FIG. 3;
图 6、 图 7、 图 8分别是本发明提供的选用不同的拉伸力度系数和曲线修正 系数得到的触摸操作曲线示意图; Figure 6, Figure 7, Figure 8 are the different tensile strength coefficients and curve corrections provided by the present invention. Schematic diagram of the touch operation curve obtained by the coefficient;
图 9A、 图 9B、 图 9C分别是本发明提供的 fl为不同取值时的一维数组的 曲线图;  9A, 9B, and 9C are respectively a graph of a one-dimensional array when fl is a different value;
图 10 是本发明提供的一种触摸屏边缘区域响应用户触摸操作的系统的结 构原理图;  10 is a schematic structural diagram of a system for responding to a user's touch operation in an edge region of a touch screen provided by the present invention;
图 11是图 10所示系统的另一种触摸屏边缘区域响应用户触摸操作的系统 的结构原理图。 具体实施方式  Figure 11 is a block diagram showing the structure of another touch screen edge area of the system of Figure 10 in response to user touch operations. detailed description
为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实 施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅 仅用以解释本发明, 并不用于限定本发明。  The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明中被触摸点的坐标计算从触摸屏矩阵的整体出发, 首先将触摸屏上 的二维矩阵采样数据转换为 X方向和 Y方向的两个原始一维数组,然后计算出 一维数组在边缘外侧的虚拟采样值, 以对一维数组进行补充修正, 使其边缘区 域被触摸点坐标的计算方法与中央区域被触摸点坐标的计算方法相同  The coordinate calculation of the touched point in the present invention starts from the whole of the touch screen matrix, first converts the two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and the Y direction, and then calculates the one-dimensional array on the outer side of the edge. The virtual sampling value is used to supplement the one-dimensional array, so that the calculation method of the edge area touched point coordinates is the same as the calculation method of the touched point coordinates of the central area.
图 3示出了本发明提供的触摸屏边缘区域响应用户触摸操作的方法的实现 流程, 详述如下:  FIG. 3 shows an implementation flow of a method for responding to a user's touch operation in a touch screen edge region provided by the present invention, which is described in detail as follows:
在步骤 S301中, 将触摸屏上的二维矩阵采样数据转换为 X方向和 Y方向 的两个原始一维数组。  In step S301, the two-dimensional matrix sample data on the touch screen is converted into two original one-dimensional arrays in the X direction and the Y direction.
其中, X方向的原始一维数组中的各个值分别由各列采样数据求和构成, Y方向的原始一维数组中的各个值由各行采样数据求和构成。 以下表中的数据 为例:
Figure imgf000008_0001
The values in the original one-dimensional array in the X direction are respectively summed by the sampling data of each column, and the values in the original one-dimensional array in the Y direction are summed by the sampling data of each row. The data in the following table is an example:
Figure imgf000008_0001
将每列的数据累加形成 X向一维数组, 如图 4A所示, 将每行的数据累加 形成 Y向一维数组, 如图 4B所示。  The data of each column is accumulated to form an X-direction one-dimensional array. As shown in Fig. 4A, the data of each row is accumulated to form a Y-direction one-dimensional array, as shown in Fig. 4B.
在步骤 S302中, 分别根据 X方向和 Y方向的原始一维数组最边缘的三个 值计算位于边缘区域外侧的一级虚拟采样值。  In step S302, the first-order virtual sample values located outside the edge region are calculated based on the three values of the outermost edges of the original one-dimensional array in the X direction and the Y direction, respectively.
参照图 5, C为 X方向/ Y方向的原始一维数组中最边缘的列 /行对应的值, B、 A为其在触摸屏中央区域方向的最临近、 次临近的列 /行对应的值, D1为 B  Referring to FIG. 5, C is a value corresponding to the most edged column/row in the original one-dimensional array in the X direction/Y direction, and B and A are values corresponding to the nearest neighboring column/row in the direction of the central area of the touch screen. , D1 is B
样值 D2。 根据上述的各个值的关系, 假设上述预设的倍数为 1倍, 则有各个点 之间的坐标有如下关系式: Sample value D2. According to the relationship of the above values, assuming that the preset multiple is 1 time, the coordinates between the points have the following relationship:
D1=2XC-B;  D1=2XC-B;
C, =2XB-A;  C, = 2XB-A;
B, =C,;  B, =C,;
D2=2 X C- B, =2 X C- (2 X B- A); D1+D2 D2=2 X C- B, =2 X C- (2 X B- A); D1+D2
D= 算法系数化后为: D = flx(D 2 1+D2) fd2 X (D2 Dl), 其中, fl 为预设的拉 伸力度系数, fd2 为预设的曲线修正系数, 均和屏的具体响应特性有关。 对于 不同的屏, 手指按下响应的数据是不一样的, 有的能形成 6 x 6的响应区域, 有 的只有 3 x 3的响应区域, 两个参数就是为了适应不同的屏的响应特征。 电容屏 数据响应越多, fl取值越小, 以适用电容屏的特性, fd2 用来在计算 D时调整 Dl、 D2的比例, 使 D适应不同屏的数据响应特征。 D= The coefficient of the algorithm is: D = flx(D 2 1+D2) fd2 X (D2 Dl), where fl is the preset tensile strength coefficient, fd2 is the preset curve correction coefficient, and the screen is The specific response characteristics are related. For different screens, the data of the finger press response is different. Some can form a 6 x 6 response area, and some have only a 3 x 3 response area. The two parameters are to adapt to different screen response characteristics. The more the capacitive screen data response, the smaller the fl value is. In order to apply the characteristics of the capacitive screen, fd2 is used to adjust the ratio of D1 and D2 when calculating D, so that D can adapt to the data response characteristics of different screens.
不难理解, X方向和 Y方向的原始一维数组和一级虚拟采样值共同构成 X 方向和 Y方向的爹正后的一维数组。  It is not difficult to understand that the original one-dimensional array in the X and Y directions and the first-order virtual sample values together form a one-dimensional array of the positive direction in the X and Y directions.
进一步地, 考虑到有些屏对手指的响应区域比较大, 例如一个点被触摸, 可达到 6 x 6, 则需要进一步有一个二级虚拟采样值来参与运算,根据 X方向和 Y方向的原始一维数组最边缘的两个值以及一级虚拟采样值, 得到位于一级虚 拟采样值外侧的二级虚拟采样值, 例如, 将此二级虚拟采样值定义为 E, 则需 要根据上述 B、 C、 D计算, 具体计算原理如上文, 得到:  Further, considering that some screens have a relatively large response area to the finger, for example, a point is touched, and up to 6 x 6, it is necessary to further have a second-level virtual sample value to participate in the operation, according to the original direction of the X direction and the Y direction. The two values of the edge of the dimension array and the first-level virtual sample value are used to obtain the second-level virtual sample value outside the first-level virtual sample value. For example, if the second-level virtual sample value is defined as E, it needs to be according to the above B and C. , D calculation, the specific calculation principle is as above, get:
E = flx(E 2 1+E2) fe2 x (E2 El) , fe2为曲线爹正系数, fl同上。 此时, X方向和 Y方向的原始一维数组和一级虚拟采样值、 二级虚拟采样 值共同构成 X方向和 Y方向的爹正后的一维数组。 E = flx(E 2 1+E2) fe2 x (E2 El) , fe2 is the curve 爹 positive coefficient, fl is the same as above. At this time, the original one-dimensional array in the X direction and the Y direction and the first-order virtual sample value and the second-order virtual sample value together constitute a one-dimensional array of the positive direction in the X direction and the Y direction.
将上两式中计算得的 D、 E两点代入重心算法公式, 就可以算出 0-pitch/2 之间的坐标, 其中 pitch为相邻感应线或驱动线的中心距离。  By substituting the two points D and E calculated in the above two equations into the gravity center algorithm formula, the coordinates between 0-pitch/2 can be calculated, where pitch is the center distance of the adjacent sensing line or driving line.
下面用图 6、 图 7、 图 8、 图 9A、 图 9B、 图 9C说明三个系数 fl、 fd2、 fe2 的作用, 图 6-图 8中, 标有方框 "口"的曲线线为未拉伸轨迹, 标有叉号 "X" 的曲线为实有 D、 E两点算出的轨迹, 标有竖直线 "I" 的曲线线为虚拟0、 E 两点算出的轨迹, fl越大拉伸力度越大, fd2是调整 B点所在 pitch的线性度, fe2是调整 C点所在 pitch的线性度, 分别对应前面计算公式中 A、 B、 C的系 数。 在图 6中, fl=5、 fd2=16、 fe2=16, 在图 7中, fl=ll、 fd2=16、 fe2=16, 图 8中, fl=18、 fd2=16、 fe2=16, 图 9A、 图 9B、 图 9C中的 fl分别为 31、 19、 27。 对一个触摸屏来说, 可以找到一组系数适用于此屏, 使边缘拉伸达到最佳 线性效果。 The action of the three coefficients fl, fd2, fe2 will be described below with reference to Fig. 6, Fig. 7, Fig. 8, Fig. 9A, Fig. 9B, Fig. 9C. In Fig. 6-8, the curve line marked with the box "port" is not Stretching track, the curve marked with the cross "X" is the trajectory calculated by the two points D and E. The curve line marked with the vertical line "I" is the trajectory calculated by the virtual 0 and E points. The larger the fl is The greater the stretching strength, fd2 is to adjust the linearity of the pitch where B is located, and fe2 is to adjust the linearity of the pitch where C is located, corresponding to the coefficients of A, B, and C in the previous calculation formula. In Fig. 6, fl=5, fd2=16, fe2=16, in Fig. 7, fl=ll, fd2=16, fe2=16, in Fig. 8, fl=18, fd2=16, fe2=16, The fl in Fig. 9A, Fig. 9B, and Fig. 9C are 31, 19, respectively. 27. For a touch screen, a set of coefficients can be found for this screen to achieve optimal linearity for edge stretching.
在步骤 S303中, 根据 X方向和 Y方向的修正后的一维数组计算边缘区域 被触摸点的实际坐标, 并在实际坐标的位置响应用户的触摸操作。  In step S303, the actual coordinates of the touched area of the edge region are calculated based on the corrected one-dimensional array of the X direction and the Y direction, and the touch operation of the user is responded to at the position of the actual coordinate.
设修正后的一维 X数组中的各数值分别为 X0、 Xl....Xn, 所在的列数分别 为第 0列、 第 1列…第 n列, 设修正后的一维 Y数组中的各数值分别为 Y0、 YL... Υη, 所在的列数分别为第 0行、 第 1行…第 m行, 则待响应的被触摸点 的 X坐标通过如下公式计算:  Let the values in the modified one-dimensional X array be X0, Xl....Xn, respectively, and the number of columns is 0, 1st, ..., nth column, and set the modified 1D Y array. The respective values are Y0, YL... Υη, where the number of columns is 0, 1st, ..., mth, respectively, and the X coordinate of the touched point to be responded is calculated by the following formula:
_ 0χΧ0+1χΧ1 +···+ηχΧη  _ 0χΧ0+1χΧ1 +····+ηχΧη
_ Χ0+Χ1 + ···+Χη '  _ Χ0+Χ1 + ···+Χη '
待响应的被触摸点的 Υ坐标通过如下公式计算:  The coordinates of the touched point to be responded are calculated by the following formula:
γ _ OxYO+lxYl+"-+mxYm  γ _ OxYO+lxYl+"-+mxYm
― X0+Yl+--+Ym 。  ― X0+Yl+--+Ym.
本领域的普通技术人员可以理解, 实现上述实施例方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成, 所述的程序可以存储于一如 It will be understood by those skilled in the art that all or part of the steps of the foregoing embodiments may be implemented by a program to instruct related hardware, and the program may be stored in the same.
ROM/RAM、 磁盘、 光盘之类的计算机可读取存储介质中。 A computer such as a ROM/RAM, a disk, or an optical disk can be read in a storage medium.
图 10 示出了本发明提供的触摸屏边缘区域响应用户触摸操作的系统的逻 辑原理, 为了便于描述, 仅示出了与本发明实施例相关的部分。 此系统中的全 部或部分模块可以为内置于触摸屏终端的驱动 IC中的软件单元。  Fig. 10 shows the logic principle of the system for responding to user touch operations of the touch screen edge region provided by the present invention. For the convenience of description, only the portions related to the embodiment of the present invention are shown. All or part of the modules in this system may be software units built into the driver IC of the touch screen terminal.
参照图 10, 本系统包括原始一维数组转换模块 101、 一级虚拟采样值计算 模块 102、 触摸操作响应模块 103。 其中, 原始一维数组转换模块 101用于将触 摸屏上的二维矩阵采样数据转换为 X方向和 Y方向的两个原始一维数组,如上 文所述, X 方向的原始一维数组中的各个值分别由各列采样数据求和构成, Y 方向的原始一维数组中的各个值由各行采样数据求和构成。 一级虚拟采样值计 算模块 102分别根据 X方向和 Y方向的原始一维数组最边缘的三个值计算位于 边缘区域外侧的一级虚拟采样值, 如上文所述, X方向和 Y方向的原始一维数 组和一级虚拟采样值共同构成 X方向和 Y方向的修正后的一维数组。  Referring to FIG. 10, the system includes an original one-dimensional array conversion module 101, a first-order virtual sample value calculation module 102, and a touch operation response module 103. The original one-dimensional array conversion module 101 is configured to convert the two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and the Y direction. As described above, each of the original one-dimensional arrays in the X direction The values are respectively summed by the sampling data of each column, and each value in the original one-dimensional array in the Y direction is composed of the summation of the sampling data of each row. The first-order virtual sampled value calculation module 102 calculates the first-order virtual sample values located outside the edge region according to the three values of the outermost edges of the original one-dimensional array in the X direction and the Y direction, respectively, as described above, the original in the X direction and the Y direction. The one-dimensional array and the first-order virtual sample values together form a modified one-dimensional array in the X direction and the Y direction.
然后触摸操作响应模块 103根据 X方向和 Y方向的修正后的一维数组计算 边缘区域被触摸点的实际坐标, 并在实际坐标的位置响应用户的触摸操作。 Then the touch operation response module 103 calculates the corrected one-dimensional array according to the X direction and the Y direction. The edge area is touched by the actual coordinates of the touched point and in response to the user's touch operation at the actual coordinate position.
进一步地, 一级虚拟采样值计算模块 102根据以下公式得到一级虚拟采样 值:  Further, the first-level virtual sampled value calculation module 102 obtains the first-level virtual sampled value according to the following formula:
D = flx(Dl+D2) _ fd2 x (D 2 _ D 1) ; 其中, D为一级虚拟采样值, fl为预设的拉伸力度系数, fd2为预设的曲 线修正系数;设 X方向/ Y方向的原始一维数组中最边缘的列 /行对应的值为 C, B、 A 为其在触摸屏中央区域方向的最临近、 次临近的列 /行对应的值, 则 D1 为 B与 C所在列 /行之间的线段向外侧延伸预设的倍数后得到的第一延伸采样 值; 而第二延伸采样值 D2由如下方法得到: 由 A与 B所在列 /行之间的线段向 外侧延伸预设的倍数后得到一虚拟数值 B,,虚拟数值 B,与 C所在列 /行之间的 线段向外侧延伸预设的倍数后得到第二延伸采样值 D2。 D = flx(Dl +D2 ) _ fd2 x (D 2 _ D 1) ; where D is the first-order virtual sample value, fl is the preset stretch velocity coefficient, and fd2 is the preset curve correction coefficient; The value of the most edged column/row in the original one-dimensional array in the direction/Y direction is C, B, A is the value of the nearest neighboring column/row in the direction of the central area of the touch screen, then D1 is B. The first extended sample value obtained by extending the line segment between the column/row of C to the outside by a preset multiple; and the second extended sample value D2 is obtained by the following method: A line segment between the column/row of A and B Extending the preset multiple to the outside to obtain a virtual value B, the virtual value B, and the line segment between the column/row of C is extended to the outside by a preset multiple to obtain a second extended sample value D2.
更进一步地,如图 11所示,上述系统还包括二级虚拟采样值计算模块 104, 用于根据 X方向和 Y方向的原始一维数组最边缘的两个值以及一级虚拟采样值 , 得到位于一级虚拟采样值外侧的二级虚拟采样值; X方向和 Y方向的原始一维 数组和一级虚拟采样值、二级虚拟采样值共同构成 X方向和 Y方向的修正后的 一维数组。  Further, as shown in FIG. 11, the system further includes a two-level virtual sample value calculation module 104, configured to obtain two values of the edge of the original one-dimensional array and the first-level virtual sample values according to the X direction and the Y direction. The second-order virtual sample value located outside the first-order virtual sample value; the original one-dimensional array in the X direction and the Y direction and the first-order virtual sample value and the second-level virtual sample value together constitute a corrected one-dimensional array in the X direction and the Y direction .
上述一级虚拟采样值计算模块 102和二级虚拟采样值计算模块 104的原理 如上文所述, 此处不再赘述。  The principles of the first-level virtual sampled value calculation module 102 and the second-level virtual sampled value calculation module 104 are as described above, and are not described herein again.
本发明首先将触摸屏上的二维矩阵采样数据转换为 X方向和 Y方向的两个 原始一维数组, 然后计算出一维数组在边缘外侧的虚拟采样值, 以对一维数组 进行补充修正, 使其边缘区域被触摸点坐标的计算方法与中央区域被触摸点坐 标的计算方法相同, 因此可以与中央区域的被触摸点保持较高的线性度, 真实 还原出用于在边缘区域的触摸操作。  The invention first converts two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and the Y direction, and then calculates a virtual sample value of the one-dimensional array outside the edge to supplement and correct the one-dimensional array. The calculation method of the coordinates of the touched area of the edge area is the same as the calculation method of the touched point coordinates of the central area, so that the linearity of the touched point of the central area can be maintained, and the touch operation for the edge area can be truly restored. .
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发 明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发明 的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.

Claims

权 利 要 求 书 claims
1、 一种触摸屏边缘区域响应用户触摸操作的方法, 其特征在于, 包括下述 步骤: 1. A method for responding to user touch operations in the edge area of a touch screen, characterized by including the following steps:
将触摸屏上的二维矩阵采样数据转换为 X方向和 Y方向的两个原始一维数 组; 其中 X方向的原始一维数组中的各个值分别由各列采样数据求和构成, Y 方向的原始一维数组中的各个值由各行采样数据求和构成; Convert the two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and Y direction; where each value in the original one-dimensional array in the Each value in the one-dimensional array is composed of the sum of the sampled data of each row;
分别根据所述 X方向和 Y方向的原始一维数组最边缘的三个值计算位于边 缘区域外侧的一级虚拟采样值;所述 X方向和 Y方向的原始一维数组和所述一 级虚拟采样值共同构成 X方向和 Y方向的修正后的一维数组; Calculate the first-level virtual sampling value located outside the edge area according to the three edge values of the original one-dimensional arrays in the X direction and Y direction respectively; the original one-dimensional arrays in the X direction and Y direction and the first-level virtual The sampled values together form a modified one-dimensional array in the X and Y directions;
根据所述 X方向和 Y方向的修正后的一维数组计算所述边缘区域被触摸点 的实际坐标, 并在所述实际坐标的位置响应用户的触摸操作。 Calculate the actual coordinates of the touched point in the edge area based on the corrected one-dimensional array in the X direction and the Y direction, and respond to the user's touch operation at the location of the actual coordinates.
2、 如权利要求 1所述的方法, 其特征在于, 所述分别根据所述 X方向和 Y方向的原始一维数组最边缘的三个值计算位于边缘区域外侧的一级虚拟采样 值的步骤包括: 2. The method according to claim 1, characterized in that, the step of calculating the first-level virtual sampling value located outside the edge area based on the three edgemost values of the original one-dimensional array in the X direction and Y direction respectively. include:
设 D为所述一级虚拟采样值, 则 D根据以下公式得到: Suppose D is the first-level virtual sampling value, then D is obtained according to the following formula:
D = flx(Dl+D2) _ fd2 x (D 2 _ D 1) . 其中, fl为预设的拉伸力度系数, fd2为预设的曲线修正系数; D = flx(Dl + D2) _ fd2 x (D 2 _ D 1) . Among them, fl is the preset tensile strength coefficient, fd2 is the preset curve correction coefficient;
设 X方向/ Y方向的原始一维数组中最边缘的列 /行对应的值为 C, B、 A为 其在触摸屏中央区域方向的最临近、 次临近的列 /行对应的值, 则 D1为 B与 C 所在列 /行之间的线段向外侧延伸预设的倍数后得到的第一延伸采样值; 而第二 延伸采样值 D2由如下方法得到: Assume that the values corresponding to the most edge columns/rows in the original one-dimensional array in the X direction/Y direction are C, B, and A, and are the values corresponding to the nearest and next adjacent columns/rows in the direction of the central area of the touch screen, then D1 It is the first extended sample value obtained after the line segment between the columns/rows of B and C is extended outward by a preset multiple; and the second extended sample value D2 is obtained by the following method:
由所述 A与 B所在列 /行之间的线段向外侧延伸所述预设的倍数后得到一 虚拟数值 B,,所述虚拟数值 B,与 C所在列 /行之间的线段向外侧延伸所述预设 的倍数后得到第二延伸采样值 D2。 A virtual value B is obtained by extending the line segment between the column/row of A and B outward by the preset multiple, and the line segment between the virtual value B and the column/row of C extends outward. The second extended sample value D2 is obtained after the preset multiple.
3、 如权利要求 2所述的方法, 其特征在于, 在根据所述 X方向和 Y方向 的修正后的一维数组计算所述边缘区域被触摸点的实际坐标的步骤之前, 所述 方法还包括下述步骤: 3. The method according to claim 2, characterized in that, according to the X direction and the Y direction Before the step of calculating the actual coordinates of the touched point in the edge area using the modified one-dimensional array, the method further includes the following steps:
进一步根据 X方向和 Y方向的原始一维数组最边缘的两个值以及所述一级 虚拟采样值, 得到位于所述一级虚拟采样值外侧的二级虚拟采样值; 所述 X方 向和 Y方向的原始一维数组和所述一级虚拟采样值、 二级虚拟采样值共同构成 X方向和 Y方向的爹正后的一维数组。 Further, based on the two edge values of the original one-dimensional array in the X direction and the Y direction and the first-level virtual sampling value, a second-level virtual sampling value located outside the first-level virtual sampling value is obtained; the X direction and the Y direction The original one-dimensional array in the direction, the first-level virtual sampling value, and the second-level virtual sampling value together constitute a positive one-dimensional array in the X direction and the Y direction.
4、 一种触摸屏边缘区域响应用户触摸操作的系统, 其特征在于, 包括: 原始一维数组转换模块, 用于将触摸屏上的二维矩阵采样数据转换为 X方 向和 Y方向的两个原始一维数组;其中 X方向的原始一维数组中的各个值分别 由各列采样数据求和构成, Y方向的原始一维数组中的各个值由各行采样数据 求和构成; 4. A system for responding to user touch operations in the edge area of a touch screen, characterized by including: an original one-dimensional array conversion module, used to convert the two-dimensional matrix sampling data on the touch screen into two original one-dimensional arrays in the X direction and the Y direction. Dimensional array; each value in the original one-dimensional array in the X direction is composed of the sum of the sampled data of each column, and each value in the original one-dimensional array in the Y direction is composed of the sum of the sampled data of each row;
一级虚拟采样值计算模块,用于分别根据所述 X方向和 Y方向的原始一维 数组最边缘的三个值计算位于边缘区域外侧的一级虚拟采样值; 所述 X方向和 Y方向的原始一维数组和所述一级虚拟采样值共同构成 X方向和 Y方向的修正 后的一维数组; A first-level virtual sampling value calculation module, used to calculate the first-level virtual sampling value located outside the edge area based on the three edge values of the original one-dimensional array in the X direction and Y direction respectively; The original one-dimensional array and the first-level virtual sampling value together constitute the modified one-dimensional array in the X direction and the Y direction;
触摸操作响应模块,用于根据所述 X方向和 Y方向的修正后的一维数组计 算所述边缘区域被触摸点的实际坐标, 并在所述实际坐标的位置响应用户的触 摸操作。 A touch operation response module, configured to calculate the actual coordinates of the touched point in the edge area based on the corrected one-dimensional array in the X direction and the Y direction, and respond to the user's touch operation at the location of the actual coordinates.
5、如权利要求 4所述的系统, 其特征在于, 所述一级虚拟采样值计算模块 根据以下公式得到一级虚拟采样值: 5. The system of claim 4, wherein the first-level virtual sampling value calculation module obtains the first-level virtual sampling value according to the following formula:
D = flx(Dl+D2) _ fd2 x (D 2 _ D 1) . 其中, D为所述一级虚拟采样值, f l为预设的拉伸力度系数, fd2为预设 的曲线修正系数; D = flx(Dl + D2) _ fd2 x (D 2 _ D 1) . Among them, D is the first-level virtual sampling value, fl is the preset tensile strength coefficient, and fd2 is the preset curve correction coefficient;
设 X方向/ Y方向的原始一维数组中最边缘的列 /行对应的值为 C, B、 A为 其在触摸屏中央区域方向的最临近、 次临近的列 /行对应的值, 则 D1为 B与 C 所在列 /行之间的线段向外侧延伸预设的倍数后得到的第一延伸采样值; 而第二 延伸采样值 D2由如下方法得到: 虚拟数值 B,,所述虚拟数值 B, 与 C所在列 /行之间的线段向外侧延伸所述预设 的倍数后得到第二延伸采样值 D2。 Assume that the values corresponding to the most edge columns/rows in the original one-dimensional array in the X direction/Y direction are C, B, and A, and are the values corresponding to the nearest and next adjacent columns/rows in the direction of the central area of the touch screen, then D1 is the first extended sample value obtained after the line segment between the columns/rows of B and C is extended outward by a preset multiple; and the second The extended sampling value D2 is obtained by the following method: the line segment between the virtual value B,, the virtual value B, and the column/row where C is extended outward by the preset multiple to obtain the second extended sampling value D2.
6、 如权利要求 5所述的系统, 其特征在于, 所述系统还包括: 6. The system of claim 5, wherein the system further includes:
二级虚拟采样值计算模块,用于根据 X方向和 Y方向的原始一维数组最边 缘的两个值以及所述一级虚拟采样值, 得到位于所述一级虚拟采样值外侧的二 级虚拟采样值; 所述 X方向和 Y方向的原始一维数组和所述一级虚拟采样值、 二级虚拟采样值共同构成 X方向和 Y方向的修正后的一维数组。 A second-level virtual sample value calculation module is used to obtain a second-level virtual sample value located outside the first-level virtual sample value based on the two edge values of the original one-dimensional array in the X direction and the Y direction and the first-level virtual sample value. Sampling values; The original one-dimensional arrays in the X direction and the Y direction and the first-level virtual sampling values and the second-level virtual sampling values together constitute the modified one-dimensional arrays in the X and Y directions.
7、 一种触摸屏终端, 其特征在于, 包括如权利要求 4至 6任一项所述的触 摸屏边缘区域响应用户触摸操作的系统。 7. A touch screen terminal, characterized in that it includes a system for responding to a user's touch operation in the edge area of the touch screen according to any one of claims 4 to 6.
PCT/CN2013/085730 2012-11-30 2013-10-22 Method and system for responding to touch operation of user in edge area of touch screen, and touch screen terminal WO2014082509A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210504242.5 2012-11-30
CN201210504242.5A CN103034383B (en) 2012-11-30 2012-11-30 The method of touch-screen fringe region response user touch operation, system and terminal

Publications (1)

Publication Number Publication Date
WO2014082509A1 true WO2014082509A1 (en) 2014-06-05

Family

ID=48021327

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085730 WO2014082509A1 (en) 2012-11-30 2013-10-22 Method and system for responding to touch operation of user in edge area of touch screen, and touch screen terminal

Country Status (2)

Country Link
CN (1) CN103034383B (en)
WO (1) WO2014082509A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034383B (en) * 2012-11-30 2016-04-27 深圳市汇顶科技股份有限公司 The method of touch-screen fringe region response user touch operation, system and terminal
CN107765918B (en) * 2017-10-18 2021-02-09 广州视源电子科技股份有限公司 Method and system for optimizing edge touch effect of capacitive touch screen
CN110045868B (en) * 2019-03-25 2022-07-26 深圳市德明利技术股份有限公司 Touch point correction method based on clustering algorithm, touch device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005127787A (en) * 2003-10-22 2005-05-19 Kawaguchiko Seimitsu Co Ltd Evaluation method of linearity of touch panel, linearity inspection device using evaluation method, and touch panel subjected to linearity evaluation based thereon
CN101706699A (en) * 2009-11-17 2010-05-12 深圳市汇顶科技有限公司 Linear processing method and system of coordinates of touched point at marginal area of touch screen
CN102023767A (en) * 2009-09-14 2011-04-20 义隆电子股份有限公司 Improvement method for capacitive touch pad edge positioning
CN102467304A (en) * 2010-11-05 2012-05-23 联咏科技股份有限公司 Edge coordinate algorithm and position sensing system of touch panel
CN103034383A (en) * 2012-11-30 2013-04-10 深圳市汇顶科技股份有限公司 Method and system for responding touch operations of user at edge area of touch screen and terminal of touch screen

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI401596B (en) * 2007-12-26 2013-07-11 Elan Microelectronics Corp Method for calibrating coordinates of touch screen
US20090207144A1 (en) * 2008-01-07 2009-08-20 Next Holdings Limited Position Sensing System With Edge Positioning Enhancement

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005127787A (en) * 2003-10-22 2005-05-19 Kawaguchiko Seimitsu Co Ltd Evaluation method of linearity of touch panel, linearity inspection device using evaluation method, and touch panel subjected to linearity evaluation based thereon
CN102023767A (en) * 2009-09-14 2011-04-20 义隆电子股份有限公司 Improvement method for capacitive touch pad edge positioning
CN101706699A (en) * 2009-11-17 2010-05-12 深圳市汇顶科技有限公司 Linear processing method and system of coordinates of touched point at marginal area of touch screen
CN102467304A (en) * 2010-11-05 2012-05-23 联咏科技股份有限公司 Edge coordinate algorithm and position sensing system of touch panel
CN103034383A (en) * 2012-11-30 2013-04-10 深圳市汇顶科技股份有限公司 Method and system for responding touch operations of user at edge area of touch screen and terminal of touch screen

Also Published As

Publication number Publication date
CN103034383B (en) 2016-04-27
CN103034383A (en) 2013-04-10

Similar Documents

Publication Publication Date Title
Barraquand et al. Stochastic six-vertex model in a half-quadrant and half-line open asymmetric simple exclusion process
JP5740411B2 (en) Method for scanning projected capacitive touch panel, storage medium and apparatus for scanning projected capacitive touch panel
US9063596B2 (en) Multi-touch positioning method
TWI435250B (en) Method for calibrating accuracy of optical touch monitor
DE202007007345U1 (en) Two-dimensional position sensor
CN101957990B (en) Camera calibration method, image processing equipment and motor vehicle
CN110738707A (en) Distortion correction method, device, equipment and storage medium for cameras
WO2014082509A1 (en) Method and system for responding to touch operation of user in edge area of touch screen, and touch screen terminal
CN106371647B (en) Touch pressure sensitivity correction method and computer readable recording medium
CN110197503B (en) Non-rigid point set registration method based on enhanced affine transformation
WO2018094602A1 (en) Method, device and equipment for detecting pressure
WO2018161537A1 (en) Touch control force detection method, touch control force detection device, touch control panel and display device
CN102292613A (en) System and methods for calibratable translation of position
CN112446163B (en) Energy finite element topological optimization method based on parameterized level set
KR20160141414A (en) Sensitivity compensation method of touch input device being capable of touch pressure sensing and computer readable recording medium
CN106201053A (en) The sensitivity correction method of the touch input device of detection touch pressure and computer readable recording medium storing program for performing
KR101762278B1 (en) Touch pressure sensitivity compensation method and computer readable recording medium
KR20170088807A (en) Touch pressure sensitivity compensation method and computer readable recording medium
TWI448947B (en) Capacitive touchpad detection method
US20160154506A1 (en) Touch panel device and method of correcting coordinates on touch panel
TWI355601B (en)
CN108537810B (en) Improved Zernike moment sub-pixel edge detection method
CN107688771B (en) Semiconductor device
Li et al. Physical computing circuit with no clock to establish Gaussian pyramid of SIFT algorithm
CN113705060A (en) Topology optimization method, system and storage medium considering boundary optimization

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13858172

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13858172

Country of ref document: EP

Kind code of ref document: A1