CN104750324A - Detection method and detection device of touch screen - Google Patents
Detection method and detection device of touch screen Download PDFInfo
- Publication number
- CN104750324A CN104750324A CN201310740447.8A CN201310740447A CN104750324A CN 104750324 A CN104750324 A CN 104750324A CN 201310740447 A CN201310740447 A CN 201310740447A CN 104750324 A CN104750324 A CN 104750324A
- Authority
- CN
- China
- Prior art keywords
- area
- detection
- detection electrode
- touch point
- touch screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Position Input By Displaying (AREA)
Abstract
本发明公开了一种触摸屏检测方法和检测装置,其中,触摸屏包括第一区域和第二区域,第一区域和第二区域之间具有结合边界,该检测方法包括:检测触摸屏的第一区域之上的触摸点,并获取在第一区域中被触摸点触摸到的至少一个第一检测电极;检测触摸点是否位于以结合边界为中心的预设区域内;如果触摸点位于以结合边界为中心的预设区域内,则获取第二区域中与至少一个第一检测电极对应的至少一个第二检测电极;以及根据至少一个第一检测电极和至少一个第二检测电极确定触摸点的位置。本发明实施例的检测方法通过将上下两屏合成一个屏以改变触摸点的坐标的计算算法,使得画线“跨缝”的时候更平滑,点击更准确,提高识别触摸点时的精确度。
The invention discloses a touch screen detection method and detection device, wherein the touch screen includes a first area and a second area, and there is a joint boundary between the first area and the second area, and the detection method includes: detecting the first area of the touch screen and acquire at least one first detection electrode touched by the touch point in the first area; detect whether the touch point is located in the preset area centered on the combined boundary; if the touched point is located on the combined boundary as the center within the preset area, acquire at least one second detection electrode corresponding to the at least one first detection electrode in the second area; and determine the position of the touch point according to the at least one first detection electrode and the at least one second detection electrode. The detection method of the embodiment of the present invention combines the upper and lower screens into one screen to change the calculation algorithm of the coordinates of the touch point, making the line drawing "crossing the seam" smoother, clicking more accurate, and improving the accuracy of identifying the touch point.
Description
技术领域technical field
本发明涉及触控技术领域,特别涉及一种触摸屏检测方法和检测装置。The invention relates to the field of touch technology, in particular to a touch screen detection method and detection device.
背景技术Background technique
目前的低成本自电容触摸屏主要是横三角图案,如图1所示,横三角图案可以在单层结构上实现两点触摸,但是两点不能在同一行上,例如,点一和点二就会无法设别,而且还会出错,会报出两个点的中间点。这在一些应用中会受到限制,影响客户使用感受。The current low-cost self-capacitance touch screen is mainly a horizontal triangle pattern. As shown in Figure 1, the horizontal triangle pattern can realize two-point touch on a single-layer structure, but the two points cannot be on the same row. It will be impossible to set the difference, and there will be an error, and the middle point between the two points will be reported. This will be limited in some applications, affecting customer experience.
目前,业界为了解决两点的问题开发出双区三角图案的自电容触摸屏,如图2所示,此图案可以在不同区域实现两点,如点一、点二、点三、点四中的任意两点都可以识别。具体地,双区三角图案其实就是将两个三角形拼在一起,然后分别计算出触摸点的坐标,再将该坐标上报给主机以确定触摸点的位置。但是存在的问题是,由于在经过中间两个屏交界的地方实际上两个屏各算一个坐标,然后再合在一起,因此,当点一向上移动的过程中,会出现“跨缝”的现象;又由于电容屏在边缘本身就有一定的边缘特性,例如,边缘的点击精度降低,抖动变大等,边缘的点本身就不太准,因此,在合的过程中就会出现点击不准、跳点、跨点等情况。At present, in order to solve the problem of two points, the industry has developed a self-capacitance touch screen with a double-zone triangular pattern, as shown in Figure 2. This pattern can realize two points in different areas, such as point 1, point 2, point 3, and point 4. Any two points can be identified. Specifically, the double-area triangle pattern is actually putting two triangles together, and then calculating the coordinates of the touch point respectively, and then reporting the coordinates to the host to determine the position of the touch point. However, there is a problem that, since the two screens in the middle pass through the intersection, each of the two screens actually counts as a coordinate, and then they are combined together. Therefore, when the point moves upwards, there will be a "crossing gap" phenomenon; and because the capacitive screen has certain edge characteristics on the edge itself, for example, the click accuracy on the edge decreases, the jitter becomes larger, etc., the edge point itself is not very accurate, so there will be inaccurate clicks during the closing process. Accurate, jump point, cross point and so on.
发明内容Contents of the invention
本发明的目的旨在至少在一定程度上解决上述的技术缺陷之一。The purpose of the present invention is to solve one of the above-mentioned technical defects at least to a certain extent.
为此,本发明的一个目的在于提出一种触摸屏检测方法,该检测方法通过将上下两屏合成一个屏以改变触摸点的坐标的计算算法,使得画线“跨缝”的时候更平滑,点击更准确,提高识别触摸点时的精确度。For this reason, an object of the present invention is to propose a kind of touch-screen detection method, and this detection method changes the calculation algorithm of the coordinate of touch point by synthesizing upper and lower two screens into one screen, makes the drawing line "cross the seam" smoother, click More accurate, improving the precision when identifying touch points.
本发明的另一个目的在于提出一种触摸屏检测装置。Another object of the present invention is to provide a touch screen detection device.
为达到上述目的,本发明一方面的实施例提出的一种触摸屏检测方法,所述触摸屏包括第一区域和第二区域,其中,所述第一区域和第二区域之间具有结合边界,所述方法包括如下步骤:检测所述触摸屏的所述第一区域之上的触摸点,并获取在所述第一区域中被所述触摸点触摸到的至少一个第一检测电极;检测所述触摸点是否位于以所述结合边界为中心的预设区域内;如果所述触摸点位于以所述结合边界为中心的预设区域内,则获取所述第二区域中与所述至少一个第一检测电极对应的至少一个第二检测电极;以及根据所述至少一个第一检测电极和所述至少一个第二检测电极确定所述触摸点的位置。In order to achieve the above object, an embodiment of an aspect of the present invention proposes a touch screen detection method, the touch screen includes a first area and a second area, wherein there is a joint boundary between the first area and the second area, and the The method includes the steps of: detecting a touch point on the first area of the touch screen, and acquiring at least one first detection electrode touched by the touch point in the first area; detecting the touch whether the point is located in a preset area centered on the combined boundary; if the touch point is located in a preset area centered on the combined boundary, obtain the information in the second area that is related to the at least one first at least one second detection electrode corresponding to the detection electrode; and determining the position of the touch point according to the at least one first detection electrode and the at least one second detection electrode.
根据本发明实施例的触摸屏检测方法,检测触摸点是否位于以结合边界为中心的预设区域内,当触摸点位于以结合边界为中心的预设区域内时,可根据获取到的第一检测电极和第二检测电极确定触摸点的位置,以使得画线“跨缝”的时候更平滑,点击更准确,不会让人注意到“跨缝”的现象,提高识别触摸点时的精确度,提升用户体验。According to the touch screen detection method of the embodiment of the present invention, it is detected whether the touch point is located in the preset area centered on the joint boundary. When the touch point is located in the preset area centered on the joint boundary, the acquired first detected The electrode and the second detection electrode determine the position of the touch point, so that when the line is drawn "crossing the gap", the click is more accurate, and the phenomenon of "crossing the gap" will not be noticed, so as to improve the accuracy of identifying the touch point , to improve user experience.
为达到上述目的,本发明第二方面提出另一方面的实施例提出的一种触摸屏检测装置,所述触摸屏包括第一区域和第二区域,其中,所述第一区域和第二区域之间具有结合边界,所述装置包括:第一检测模块,用于检测所述触摸屏的所述第一区域之上的触摸点;第一获取模块,用于获取在所述第一区域中被所述触摸点触摸到的至少一个第一检测电极;第二检测模块,用于检测所述触摸点是否位于以所述结合边界为中心的预设区域内;第二获取模块,用于在所述第二检测模块检测到所述触摸点位于以所述结合边界为中心的预设区域内时,获取所述第二区域中与所述至少一个第一检测电极对应的至少一个第二检测电极;以及确定模块,用于根据所述至少一个第一检测电极和所述至少一个第二检测电极确定所述触摸点的位置。In order to achieve the above purpose, the second aspect of the present invention proposes a touch screen detection device according to another embodiment, the touch screen includes a first area and a second area, wherein, between the first area and the second area With a combined boundary, the device includes: a first detection module, configured to detect a touch point on the first area of the touch screen; a first acquisition module, configured to acquire the touch point in the first area by the At least one first detection electrode touched by the touch point; a second detection module, used to detect whether the touch point is located in a preset area centered on the combined boundary; The second detection module acquires at least one second detection electrode corresponding to the at least one first detection electrode in the second area when the detection module detects that the touch point is located in a preset area centered on the combined boundary; and A determination module, configured to determine the position of the touch point according to the at least one first detection electrode and the at least one second detection electrode.
根据本发明实施例的触摸屏检测装置,可通过第二检测模块检测触摸点是否位于以结合边界为中心的预设区域内,当触摸点位于以结合边界为中心的预设区域内时,确定模块可根据获取到的第一检测电极和第二检测电极确定触摸点的位置,以使得画线“跨缝”的时候更平滑,点击更准确,不会让人注意到“跨缝”的现象,提高识别触摸点时的精确度,提升用户体验。According to the touch screen detection device of the embodiment of the present invention, the second detection module can detect whether the touch point is located in the preset area centered on the joint boundary, and when the touch point is located in the preset area centered on the joint boundary, the determination module The position of the touch point can be determined according to the obtained first detection electrode and second detection electrode, so that the drawing line "crosses the seam" is smoother, the click is more accurate, and the phenomenon of "crossing the seam" will not be noticed. Improve the accuracy of identifying touch points and improve user experience.
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
附图说明Description of drawings
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中,The above and/or additional aspects and advantages of the present invention will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein,
图1为触摸屏为传统三角形图案的示意图;FIG. 1 is a schematic diagram of a touch screen with a traditional triangular pattern;
图2为触摸屏为双区三角形图案的示意图;Fig. 2 is a schematic diagram of a touch screen with a double-zone triangular pattern;
图3为根据本发明一个实施例的触摸屏检测方法的流程图;3 is a flowchart of a touch screen detection method according to an embodiment of the present invention;
图4为根据本发明一个具体实施例的触摸屏检测方法的流程图;4 is a flowchart of a touch screen detection method according to a specific embodiment of the present invention;
图5为根据本发明一个具体实施例中的触摸屏为双区三角形图案的示意图;FIG. 5 is a schematic diagram of a double-area triangular pattern on the touch screen according to a specific embodiment of the present invention;
图6为根据本发明另一个具体实施例中的触摸屏为双区三角形图案的示意图;Fig. 6 is a schematic diagram of a double-area triangular pattern on the touch screen according to another specific embodiment of the present invention;
图7为根据本发明一个实施例的触摸屏检测装置的结构示意图;FIG. 7 is a schematic structural diagram of a touch screen detection device according to an embodiment of the present invention;
图8为根据本发明一个具体实施例的触摸屏检测装置的结构示意图;8 is a schematic structural diagram of a touch screen detection device according to a specific embodiment of the present invention;
图9为根据本发明另一个具体实施例的触摸屏检测装置的结构示意图;9 is a schematic structural diagram of a touch screen detection device according to another specific embodiment of the present invention;
图10为根据本发明又一个具体实施例的触摸屏检测装置的结构示意图;以及FIG. 10 is a schematic structural diagram of a touch screen detection device according to another specific embodiment of the present invention; and
图11为根据本发明实施例中的触摸屏为三区三角形图案的示意图。FIG. 11 is a schematic diagram of a touch screen with a triangular pattern in three regions according to an embodiment of the present invention.
具体实施方式Detailed ways
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。相反,本发明的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.
在本发明的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。此外,在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the description of the present invention, it should be understood that the terms "first", "second" and so on are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance. In the description of the present invention, it should be noted that unless otherwise specified and limited, the terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral Ground connection; it can be mechanical connection or electrical connection; it can be direct connection or indirect connection through an intermediary. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention in specific situations. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.
为了解决当用户在触摸屏上点击触摸时,由于触摸点会出现“跨缝”现象,导致在识别触摸点时会出现点击不准、跳点、跨点等的问题,本发明提出了一种触摸屏检测方法和检测装置,下面参考附图描述根据本发明实施例提出的触摸屏检测方法和检测装置。In order to solve the problems of inaccurate clicking, jumping points, and crossing points when the touch point is recognized due to the phenomenon of "crossing gaps" at the touch point when the user clicks on the touch screen, the present invention proposes a touch screen Detection method and detection device, the following describes the touch screen detection method and detection device according to the embodiments of the present invention with reference to the accompanying drawings.
需要说明的是,在本发明的实施例中,触摸屏可为电容式触摸屏,触摸屏可包括第一区域和第二区域,其中,第一区域和第二区域之间具有结合边界。It should be noted that, in the embodiment of the present invention, the touch screen may be a capacitive touch screen, and the touch screen may include a first area and a second area, wherein there is a joint boundary between the first area and the second area.
图3为根据本发明一个实施例的触摸屏检测方法的流程图。FIG. 3 is a flowchart of a touch screen detection method according to an embodiment of the present invention.
如图3所示,该触摸屏检测方法可以包括如下步骤:As shown in Figure 3, the touch screen detection method may include the following steps:
S101,检测触摸屏的第一区域之上的触摸点,并获取在第一区域中被触摸点触摸到的至少一个第一检测电极。S101. Detect a touch point on a first area of a touch screen, and acquire at least one first detection electrode touched by the touch point in the first area.
例如,可通过传感器检测到触摸屏的第一区域中被触摸的触摸点,之后可根据手指触摸到的面积获取在第一区域中被触摸点触摸到的所有第一检测电极。其中,第一检测电极处于第一区域中,且第一检测电极可为直角三角形。此外,每两个第一检测电极可相互依次排列而形成一矩形的图形,第一区域可由多个该矩形图形构成。For example, the touched point in the first area of the touch screen may be detected by the sensor, and then all the first detection electrodes touched by the touch point in the first area may be acquired according to the area touched by the finger. Wherein, the first detecting electrode is in the first area, and the first detecting electrode may be a right triangle. In addition, every two first detection electrodes can be arranged in sequence to form a rectangular pattern, and the first region can be composed of a plurality of the rectangular patterns.
S102,检测触摸点是否位于以结合边界为中心的预设区域内。S102. Detect whether the touch point is located in a preset area centered on the combined boundary.
在本发明的一个实施例中,如果检测触摸点没有位于以结合边界为中心的预设区域内,则可通过现有技术确定触摸点的位置。In one embodiment of the present invention, if the detected touch point is not located in the preset area centered on the bounding boundary, the position of the touch point can be determined by using existing technologies.
例如,在检测触摸点是否位于以结合边界为中心的预设区域内之前,可先通过电容屏控制芯片扫描触摸屏中的各通道数据,然后,按各通道数据和所在位置将电容屏的上下两部分分别进行计算以获取触摸点对应的坐标。其中,可通过现有技术中的单个横三角触摸屏的计算方法以分别计算触摸点的坐标。当计算出的坐标没有靠近结合边界时,可确定该触摸点的坐标即为该触摸点在触摸屏所处的触摸位置。其中具体的计算过程可参照后续实施例的描述。For example, before detecting whether the touch point is located in the preset area centered on the combined boundary, the data of each channel in the touch screen can be scanned by the capacitive screen control chip, and then the upper and lower sides of the capacitive screen can be adjusted according to the data of each channel and the position. Parts are calculated separately to obtain the coordinates corresponding to the touch point. Wherein, the coordinates of the touch points can be respectively calculated through the calculation method of a single horizontal triangle touch screen in the prior art. When the calculated coordinates are not close to the binding boundary, it can be determined that the coordinates of the touch point are the touch position of the touch point on the touch screen. The specific calculation process can refer to the description of the subsequent embodiments.
S103,如果触摸点位于以结合边界为中心的预设区域内,则获取第二区域中与至少一个第一检测电极对应的至少一个第二检测电极。S103. If the touch point is located in a preset area centered on the combined boundary, acquire at least one second detection electrode corresponding to the at least one first detection electrode in the second area.
例如,当通过步骤S102计算出触摸点的坐标靠近结合边界时,可获取触摸屏的第二区域中与第一检测电极对应的至少一个第二检测电极。例如,图2所示,“点三”位于以结合边界为中心的预设区域内,可先获取被“点三”触摸到的第一检测电极A5、A6、B5、B6,之后,可获取第二区域中与第一检测电极A5对应的第二检测电极A13、与第一检测电极A6对应的第二检测电极A14、与第一检测电极B5对应的第二检测电极B13、与第一检测电极B6对应的第二检测电极B14。其中,应当理解,第二检测电极处于第二区域中,且第二检测电极可为直角三角形。此外,每两个第二检测电极可相互依次排列而形成一矩形的图形,第二区域可由多个该矩形图形构成,其中,第二检测电极的排列方向可与第一检测电极的排列方向一致或排列方向相反。For example, when it is calculated in step S102 that the coordinates of the touch point are close to the joint boundary, at least one second detection electrode corresponding to the first detection electrode in the second area of the touch screen may be obtained. For example, as shown in Figure 2, "Point 3" is located in the preset area centered on the joint boundary, and the first detection electrodes A5, A6, B5, and B6 touched by "Point 3" can be obtained first, and then the first detection electrodes can be obtained. In the second area, the second detection electrode A13 corresponding to the first detection electrode A5, the second detection electrode A14 corresponding to the first detection electrode A6, the second detection electrode B13 corresponding to the first detection electrode B5, and the first detection electrode B13 The electrode B6 corresponds to the second detection electrode B14. Wherein, it should be understood that the second detection electrode is located in the second area, and the second detection electrode may be a right triangle. In addition, every two second detection electrodes can be arranged in sequence to form a rectangular pattern, and the second area can be composed of a plurality of such rectangular patterns, wherein the arrangement direction of the second detection electrodes can be consistent with the arrangement direction of the first detection electrodes or in the opposite direction.
S104,根据至少一个第一检测电极和至少一个第二检测电极确定触摸点的位置。S104. Determine the position of the touch point according to at least one first detection electrode and at least one second detection electrode.
例如,当通过现有技术中的上下屏进行分屏算法,计算出触摸点位于以结合边界为中心的预设区域内时,可将分屏计算转换为全屏算法。也就是说,需要将触摸屏中的第一区域和第二区域结合起来,根据第一检测电极和第二检测电极确定触摸点的位置。具体的实现过程可参考后续实施例。For example, when it is calculated that the touch point is located in a preset area centered on the combined boundary through the upper and lower screen split-screen algorithm in the prior art, the split-screen calculation can be converted into a full-screen algorithm. That is to say, it is necessary to combine the first area and the second area in the touch screen, and determine the position of the touch point according to the first detection electrode and the second detection electrode. For a specific implementation process, reference may be made to subsequent embodiments.
根据本发明实施例的触摸屏检测方法,检测触摸点是否位于以结合边界为中心的预设区域内,当触摸点位于以结合边界为中心的预设区域内时,可根据获取到的第一检测电极和第二检测电极确定触摸点的位置,以使得画线“跨缝”的时候更平滑,点击更准确,不会让人注意到“跨缝”的现象,提高识别触摸点时的精确度,提升用户体验。According to the touch screen detection method of the embodiment of the present invention, it is detected whether the touch point is located in the preset area centered on the joint boundary. When the touch point is located in the preset area centered on the joint boundary, the acquired first detected The electrode and the second detection electrode determine the position of the touch point, so that when the line is drawn "crossing the gap", the click is more accurate, and the phenomenon of "crossing the gap" will not be noticed, so as to improve the accuracy of identifying the touch point , to improve user experience.
图4为根据本发明一个具体实施例的触摸屏检测方法的流程图。图5为根据本发明一个具体实施例中的触摸屏为双区三角形图案的示意图。其中,如图5所示,第二区域中的第二检测电极的排列方向与第一区域中的第一检测电极的排列方向一致。Fig. 4 is a flowchart of a touch screen detection method according to a specific embodiment of the present invention. FIG. 5 is a schematic diagram of a double-area triangular pattern on the touch screen according to a specific embodiment of the present invention. Wherein, as shown in FIG. 5 , the arrangement direction of the second detection electrodes in the second region is consistent with the arrangement direction of the first detection electrodes in the first region.
为了提高精确度,使得用户点击触摸屏时更加准确,避免出现“跨缝”等现象,可先获取第一检测电极对应第一电容变化量,之后根据第一电容变化量和第一预设算法获取触摸点的纵坐标,最后判断纵坐标是否在预设范围内,以检测触摸点是否位于以结合边界为中心的预设区域内。In order to improve the accuracy, make it more accurate when the user clicks the touch screen, and avoid phenomena such as "crossing the gap", you can first obtain the first capacitance change corresponding to the first detection electrode, and then obtain it according to the first capacitance change and the first preset algorithm. The ordinate of the touch point, and finally determine whether the ordinate is within a preset range, so as to detect whether the touch point is located in a preset area centered on the bounding boundary.
具体地,下面将结合图4和图5说明本发明实施例的触摸屏检测方法。如图4和图5所示,该触摸屏检测方法可以包括如下步骤:Specifically, the touch screen detection method according to the embodiment of the present invention will be described below with reference to FIG. 4 and FIG. 5 . As shown in Figure 4 and Figure 5, the touch screen detection method may include the following steps:
S201,检测触摸屏的第一区域之上的触摸点,并获取在第一区域中被触摸点触摸到的至少一个第一检测电极。S201. Detect a touch point on a first area of a touch screen, and acquire at least one first detection electrode touched by the touch point in the first area.
例如,可通过传感器检测到触摸屏的第一区域中被触摸的触摸点“点三”,之后可根据手指触摸到的面积获取在第一区域中被触摸点“点三”触摸到的所有第一检测电极A5、B5、A6、B6。其中,第一检测电极A5、B5、A6、B6处于第一区域中,且第一检测电极A5、B5、A6、B6可呈现三角形。For example, the touch point "point three" touched in the first area of the touch screen can be detected by the sensor, and then all the first points touched by the touch point "point three" in the first area can be obtained according to the area touched by the finger. Detection electrodes A5, B5, A6, B6. Wherein, the first detection electrodes A5 , B5 , A6 , and B6 are located in the first region, and the first detection electrodes A5 , B5 , A6 , and B6 may present a triangular shape.
S202,获取至少一个第一检测电极对应的至少一个第一电容变化量。S202. Acquire at least one first capacitance variation corresponding to at least one first detection electrode.
例如,可根据电容公式对检测到的被触摸点“点三”触摸到的第一检测电极A5、B5、A6、B6进行计算,以获取对应的第一电容变化量CA5、CB5、CA6、CB6。其中,电容公式可为C=εS/4πkd,ε为介电常数,S为触摸点正对面积,k为静电力常量,d为电容器两极板间的距离。For example, the detected first detection electrodes A5, B5, A6, and B6 touched by the touch point "point three" can be calculated according to the capacitance formula to obtain the corresponding first capacitance changes C A5 , C B5 , C A6 , C B6 . Among them, the capacitance formula can be C=εS/4πkd, ε is the dielectric constant, S is the area facing the touch point, k is the electrostatic force constant, and d is the distance between the two plates of the capacitor.
S203,根据至少一个第一电容变化量和第一预设算法获取触摸点的纵坐标。S203. Acquire the ordinate of the touch point according to at least one first capacitance variation and a first preset algorithm.
其中,在本发明的实施例中,第一预设算法可为现有技术中的百分比算法。例如,可利用第一预设算法(如百分比算法)获得触摸点的纵坐标。具体地,可通过现有技术中的单个横三角触摸屏的计算方法以分别计算触摸点的纵坐标,例如,可根据第一电容变化量CA5、CB5、CA6、CB6通过百分比算法进行计算以获取触摸点“点三”的纵坐标,触摸点“点三”的纵坐标计算公式可为(CB5+CB6)*Resy/2*(CA5+CB5+CA6+CB6),其中,(CB5+CB6)/(CA5+CB5+CA6+CB6)为触摸点“点三”在纵方向的百分比,Resy/2为上半屏的分辨率。Wherein, in the embodiment of the present invention, the first preset algorithm may be a percentage algorithm in the prior art. For example, the ordinate of the touch point can be obtained by using a first preset algorithm (eg, a percentage algorithm). Specifically, the calculation method of a single horizontal triangle touch screen in the prior art can be used to calculate the vertical coordinates of the touch points, for example, according to the first capacitance changes C A5 , C B5 , C A6 , and C B6 through a percentage algorithm. Calculate to obtain the ordinate of the touch point "Point 3", the formula for calculating the ordinate of the touch point "Point 3" can be (C B5 +C B6 )*Resy/2*(C A5 +C B5 +C A6 +C B6 ), where (C B5 +C B6 )/(C A5 +C B5 +C A6 +C B6 ) is the percentage of the touch point "Point 3" in the vertical direction, and Resy/2 is the resolution of the upper half of the screen.
S204,判断纵坐标是否在预设范围内以检测触摸点是否位于以结合边界为中心的预设区域内。S204, judging whether the ordinate is within a preset range to detect whether the touch point is located within a preset area centered on the combined boundary.
在本发明的一个实施例中,如果纵坐标在预设范围内,则检测触摸点位于以结合边界为中心的预设区域内;如果纵坐标没有在预设范围内,则检测触摸点没有位于以结合边界为中心的预设区域内。例如,假设触摸屏中结合边界X的纵坐标为400,预设范围为300~500之间,根据上述步骤S203计算出触摸点“点三”的纵坐标为350时,可判断该触摸点“点三”的纵坐标在预设范围300~500之间,这时可确定该触摸点“点三”位于以结合边界X为中心的预设区域内,也就是说,可确定该触摸点“点三”会跨缝,这时可通过下述步骤的全屏算法计算出触摸点“点三”的横坐标和纵坐标。In one embodiment of the present invention, if the ordinate is within the preset range, the detected touch point is located in a preset area centered on the bounding boundary; if the ordinate is not within the preset range, the detected touch point is not located Within the preset area centered on the binding boundary. For example, suppose the vertical coordinate of the bounding boundary X on the touch screen is 400, and the preset range is between 300 and 500. When the vertical coordinate of the touch point "point three" is calculated as 350 according to the above step S203, it can be judged that the touch point "point three" is The ordinate of "three" is within the preset range of 300 to 500. At this time, it can be determined that the touch point "point three" is located in the preset area centered on the combined boundary X, that is, it can be determined that the touch point "point three" "Three" will cross the seam. At this time, the abscissa and ordinate of the touch point "point three" can be calculated through the full-screen algorithm of the following steps.
S205,如果触摸点位于以结合边界为中心的预设区域内,则获取第二区域中与至少一个第一检测电极对应的至少一个第二检测电极。S205. If the touch point is located in a preset area centered on the combined boundary, acquire at least one second detection electrode corresponding to the at least one first detection electrode in the second area.
在本发明的一个实施例中,获取第二区域中与至少一个第一检测电极对应的至少一个第二检测电极即步骤S205包括:获取至少一个第一检测电极所处的触摸屏中至少一个通道,其中,通道连接第一区域的第一检测电极和对应的第二区域的第二检测电极;以及根据至少一个通道获取第二区域中对应的至少一个第二检测电极。In an embodiment of the present invention, acquiring at least one second detection electrode corresponding to at least one first detection electrode in the second area, that is, step S205 includes: acquiring at least one channel in the touch screen where at least one first detection electrode is located, Wherein, the channel connects the first detection electrode in the first area and the corresponding second detection electrode in the second area; and obtains at least one corresponding second detection electrode in the second area according to at least one channel.
例如,当判断触摸点“点三”位于以结合边界为中心的预设区域内时,可先获取第一检测电极A5、B5所处在触摸屏中的I通道上,第一检测电极A6、B6所处在触摸屏中的J通道上,之后,可根据I通道和J通道可获取到第二区域中对应的第二检测电极A13、B13、A14、B14。其中,I通道可包含三个小通道,一个为第一检测电极A5所在的上通道,另一个为第一检测电极B5和第二检测电极A13所在的中通道,又一个为第二检测电极B13所在的下通道,依此类推,J通道也可包含三个小通道,一个为第一检测电极A6所在的上通道,另一个为第一检测电极B6和第二检测电极A14所在的中通道,又一个为第二检测电极B14所在的下通道。For example, when it is judged that the touch point "Point 3" is located in the preset area centered on the combined boundary, it can first be obtained that the first detection electrodes A5, B5 are located on the I channel in the touch screen, and the first detection electrodes A6, B6 On the J channel of the touch screen, after that, the corresponding second detection electrodes A13, B13, A14, B14 in the second area can be obtained according to the I channel and the J channel. Wherein, the I channel can include three small channels, one is the upper channel where the first detection electrode A5 is located, the other is the middle channel where the first detection electrode B5 and the second detection electrode A13 are located, and another is the second detection electrode B13 The lower channel where it is located, and so on, the J channel can also include three small channels, one is the upper channel where the first detection electrode A6 is located, and the other is the middle channel where the first detection electrode B6 and the second detection electrode A14 are located. Another one is the lower channel where the second detection electrode B14 is located.
S206,获取至少一个第二检测电极对应的至少一个第二电容变化量。S206. Acquire at least one second capacitance variation corresponding to at least one second detection electrode.
具体地,第二检测电极对应的第二电容变化量的获取方法与第一检测电极对应的第一电容变化量的获取方法一样。例如,可根据电容公式对检测到的被触摸点“点三”触摸到的第二检测电极A13、B13、A14、B14进行计算,以获取对应的第二电容变化量CA13、CB13、CA14、CB14。其中,电容公式可为C=εS/4πkd,ε为介电常数,S为触摸点正对面积,k为静电力常量,d为电容器两极板间的距离。Specifically, the acquisition method of the second capacitance variation corresponding to the second detection electrode is the same as the acquisition method of the first capacitance variation corresponding to the first detection electrode. For example, the detected second detection electrodes A13, B13, A14, and B14 touched by the touch point "point three" can be calculated according to the capacitance formula to obtain the corresponding second capacitance changes C A13 , C B13 , C A14 , C B14 . Among them, the capacitance formula can be C=εS/4πkd, ε is the dielectric constant, S is the area facing the touch point, k is the electrostatic force constant, and d is the distance between the two plates of the capacitor.
S207,根据至少一个第一电容变化量、至少一个第二电容变化量和第二预设算法获取触摸点的坐标。S207. Acquire the coordinates of the touch point according to at least one first capacitance variation, at least one second capacitance variation, and a second preset algorithm.
其中,在本发明的实施例中,第二预设算法可为现有技术中的质心算法,可利用第二预设算法(如质心算法)获得触摸点的横坐标。例如,图5所示,当将B1、A9,B2、A10,B3、A11等结合在一起时,整个图案的结构就发生了变化,此时算法也随之改变。这时计算触摸点的横坐标时可将纵向的四个检测电极合成一个通道,如触摸点“点三”触摸到两个通道,这两个通道分别为I通道和J通道,即I通道和J通道所对应的检测电极分别为A5+B5+A13+B13、A6+B6+A14+B14。这时,可根据第一电容变化量CA5、CB5、CA6、CB6、第二电容变化量CA13、CB13、CA14、CB14和质心算法进行计算以获得触摸点“点三”的横坐标,即“点三”的横坐标计算公式可为((CA5+CB5+CA13+CB13)*5+(CA6+CB6+CA14+CB14)*6)*Resx/8(CA5+CB5+CA13+CB13+CA6+CB6+CA14+CB14),就是将竖条上的四个检测电极合成一个通道以计算横坐标,其中,Resx为横方向分辨率,5、6分别为第一检测电极和第二检测电极所在的通道的顺序,8为触摸屏中通道的总个数;同时可根据第一电容变化量CA5、CB5、CA6、CB6、第二电容变化量CA13、CB13、CA14、CB14和百分比算法进行计算以获得触摸点“点三”的纵坐标,即“点三”的纵坐标计算公式可为(((CA5+CA6)*0+(CB5+CB6+CA13+CA14)*0.5+(CB13+CB14)*1)/(CA5+CA6+CB5+CB6+CA13+CA14+CB13+CB14))*Resy,其中,A5、A6分别位于为I通道和J通道的上通道,权值为0。B5、A13,B6、A14分别为I通道和J通道上的中通道,权值为0.5,B13、B14分别为I通道和J通道上的下通道,权值为1,Resy为纵坐标分辨率。这样就可以用两个通道的八个检测电极算出触摸点唯一的一个纵坐标,这时,由于上下的两个屏变成了一个电容屏,第一区域和第二区域之间的结合边界就从算法上消失了,因此,中间自然就不会出现“跨缝”等问题。Wherein, in the embodiment of the present invention, the second preset algorithm may be a centroid algorithm in the prior art, and the abscissa of the touch point may be obtained by using the second preset algorithm (such as the centroid algorithm). For example, as shown in Figure 5, when B1, A9, B2, A10, B3, A11, etc. are combined, the structure of the entire pattern changes, and the algorithm changes accordingly. At this time, when calculating the abscissa of the touch point, the four vertical detection electrodes can be combined into one channel. For example, the touch point "point three" touches two channels, and these two channels are I channel and J channel, that is, I channel and The detection electrodes corresponding to the J channel are A5+B5+A13+B13 and A6+B6+A14+B14 respectively. At this time, it can be calculated according to the first capacitance change amount C A5 , C B5 , C A6 , C B6 , the second capacitance change amount C A13 , C B13 , C A14 , C B14 and the centroid algorithm to obtain the touch point "point three ", that is, the formula for calculating the abscissa of "Point 3" can be ((C A5 +C B5 +C A13 +C B13 )*5+(C A6 +C B6 +C A14 +C B14 )*6) *Resx/8(C A5 +C B5 +C A13 +C B13 +C A6 +C B6 +C A14 +C B14 ), is to combine the four detection electrodes on the vertical bar into one channel to calculate the abscissa, where, Resx is the resolution in the horizontal direction, 5 and 6 are the order of the channels where the first detection electrode and the second detection electrode are located, and 8 is the total number of channels in the touch screen; at the same time, according to the first capacitance change C A5 , C B5 , C A6 , C B6 , the second capacitance variation C A13 , C B13 , C A14 , C B14 and the percentage algorithm are calculated to obtain the ordinate of the touch point "point three", that is, the formula for calculating the ordinate of "point three" Can be (((C A5 +C A6 )*0+(C B5 +C B6 +C A13 +C A14 )*0.5+(C B13 +C B14 )*1)/(C A5 +C A6 +C B5 +C B6 +C A13 +C A14 +C B13 +C B14 ))*Resy, where A5 and A6 are respectively located on the upper channel of the I channel and the J channel, and the weight is 0. B5, A13, B6, and A14 are the middle channel on the I channel and J channel respectively, with a weight of 0.5, B13 and B14 are the lower channels on the I channel and J channel, respectively, with a weight of 1, and Resy is the vertical coordinate resolution . In this way, eight detection electrodes of two channels can be used to calculate the only vertical coordinate of the touch point. At this time, since the upper and lower screens become a capacitive screen, the combined boundary between the first area and the second area is It disappears from the algorithm, so naturally there will be no problems such as "crossing the seam" in the middle.
需要说明的是,如果同一个通道出现两个触摸点,如图5所示中的“点一”和“点二”,这时在全屏计算之后还可以用上下屏分别计算,如果分屏计算的结果为上下屏各有一个触摸点,而且这两个触摸点都不位于以结合边界为中心的预设区域内,则可以确定确实是两个手指触摸出两个点,这样可报两个坐标给主机。It should be noted that if there are two touch points on the same channel, such as "Point 1" and "Point 2" in Figure 5, after the full-screen calculation, the upper and lower screens can be used to calculate separately. If the split-screen calculation The result is that there is a touch point on the upper and lower screens respectively, and the two touch points are not located in the preset area centered on the combined boundary, then it can be confirmed that two fingers touch two points, so two points can be reported. coordinates to the host.
还需要说明的是,图6为根据本发明另一个具体实施例中的触摸屏为双区三角形图案的示意图。其中,如图6所示,第二区域中的第二检测电极的排列方向与第一区域中的第一检测电极的排列方向相反。例如,图6所示,当检测触摸点“点二”位于以结合边界为中心的预设区域内之后,可分别获取在第一区域和第二区域上被触摸点“点二”触摸到的第一检测电极A11、A10、A9、B11、B10、B9,第二检测电极A6、A7、A8、B6、B7、B8。之后,分别获取对应的第一电容变化量CA11、CA10、CA9、CB11、CB10、CB9和第二电容变化量CA6、CA7、CA8、CB6、CB7、CB8。最后,可将A8、B9,A7、B10,A6、B11结合在一起,之后,根据第一电容变化量CA11、CA10、CA9、CB11、CB10、CB9、第二电容变化量CA6、CA7、CA8、CB6、CB7、CB8和百分比算法进行计算获得触摸点“点二”的纵坐标,即触摸点“点二”的纵坐标计算公式可为(((CA11+CA10+CA9)*0+(CB9+CB10+CB11+CA8+CA7+CA6)*0.5+(CB8+CB 7+CB6)*1)/(CA11+CA10+CA9+CB11+CB10+CB9+CA6+CA7+CA8+CB6+CB7+CB8))*Resy。It should also be noted that FIG. 6 is a schematic diagram of a touch screen with a double-area triangular pattern according to another specific embodiment of the present invention. Wherein, as shown in FIG. 6 , the arrangement direction of the second detection electrodes in the second region is opposite to the arrangement direction of the first detection electrodes in the first region. For example, as shown in Figure 6, after detecting that the touch point "Point 2" is located in the preset area centered on the combined boundary, the touch points touched by the touch point "Point 2" on the first area and the second area can be obtained respectively. The first detection electrodes A11, A10, A9, B11, B10, B9, and the second detection electrodes A6, A7, A8, B6, B7, B8. After that, the corresponding first capacitance changes CA11 , CA10 , CA9 , CB11 , C B10 , C B9 and second capacitance changes C A6 , CA7 , C A8 , C B6 , C B7 , C B8 are obtained respectively. Finally, A8, B9, A7, B10, A6, and B11 can be combined together, and then, according to the first capacitance change amount C A11 , C A10 , C A9 , C B11 , C B10 , C B9 , the second capacitance change amount C A6 , C A7 , C A8 , C B6 , C B7 , C B8 and the percentage algorithm are calculated to obtain the ordinate of the touch point "point 2", that is, the formula for calculating the ordinate of the touch point "point 2" can be ((( C A11 +C A10 +C A9 )*0+(C B9 +C B10 +C B11 +C A8 +C A7 +C A6 )*0.5+(C B8 +C B 7 +C B6 )*1)/( C A11 +C A10 +C A9 +C B11 +C B10 +C B9 +C A6 +C A7 +C A8 +C B6 +C B7 +C B8 ))*Resy.
根据本发明实施例的触摸屏检测方法,可先获取第一检测电极对应第一电容变化量,之后根据第一电容变化量和第一预设算法获取触摸点的纵坐标,最后判断纵坐标是否在预设范围内,以检测触摸点是否位于以结合边界为中心的预设区域内,以使得用户点击触摸屏时更加准确,避免出现“跨缝”等现象,进一步提高精确度,提升用户体验。According to the touch screen detection method of the embodiment of the present invention, the first capacitance variation corresponding to the first detection electrode can be obtained first, then the ordinate of the touch point can be obtained according to the first capacitance variation and the first preset algorithm, and finally it can be judged whether the ordinate is in the Within the preset range, it is used to detect whether the touch point is located in the preset area centered on the combined boundary, so that the user can click the touch screen more accurately, avoid the phenomenon of "crossing the seam", further improve the accuracy, and improve the user experience.
需要说明的是,在本发明的实施例中,如果检测触摸点没有位于以结合边界为中心的预设区域内,则可根据现有技术确定触摸点的位置。例如,图5所示,当根据第一电容变化量和第一预设算法获取触摸点“点一”的纵坐标之后,判断“点一”的纵坐标没有在预设范围内,也就是说,“点一”没有位于以结合边界为中心的预设区域内,这时可通过现有技术计算“点一”的横坐标,从而确定“点一”的位置。例如,“点一”的横坐标可利用质心算法进行计算,即“点一”的横坐标计算公式可为((CA1+CB1)*1+(CA2+CB2)*2+(CA3+CB3)*3)*Resx/8(CA1+CB1+CA2+CB2+CA3+CB3)。这样,即可获得到“点一”的横坐标和纵坐标,可根据该横坐标和纵坐标确定“点一”在触摸屏上的位置。It should be noted that, in the embodiment of the present invention, if the detected touch point is not located in the preset area centered on the combined boundary, the position of the touch point may be determined according to the prior art. For example, as shown in FIG. 5, after obtaining the ordinate of the touch point "Point 1" according to the first capacitance variation and the first preset algorithm, it is judged that the ordinate of "Point 1" is not within the preset range, that is to say , "Point 1" is not located in the preset area centered on the combined boundary. At this time, the abscissa of "Point 1" can be calculated through the existing technology, so as to determine the position of "Point 1". For example, the abscissa of "Point 1" can be calculated using the centroid algorithm, that is, the formula for calculating the abscissa of "Point 1" can be ((C A1 +C B1 )*1+(C A2 +C B2 )*2+( C A3 +C B3 )*3)*Resx/8(C A1 +C B1 +C A2 +C B2 +C A3 +C B3 ). In this way, the abscissa and ordinate of "point one" can be obtained, and the position of "point one" on the touch screen can be determined according to the abscissa and ordinate.
还需要说明的是,在本发明的实施例中,触摸屏还可以包括第三区域,第三区域和第二区域之间具有结合边界,且第三区域中的第三检测电极的排列方向与第一检测电极的排序方向一致或排列方向相反。可以理解,触摸屏还可以包括至少一个第四区域,至少一个第四区域与其紧邻的区域具有结合边界,且,其中的检测电极的排列方向与第一检测电极的排序方向一致或排列方向相反。图11为根据本发明实施例中的触摸屏为三区三角形图案的示意图。例如,图11所示,当检测触摸点“点三”和“点五”位于结合边界为中心的预设区域内之后,可分别获取在第一区域、第二区域和第三区域上的第一检测电极、第二检测电极和第三检测电极。然后将A13、B5,A14、B6,A5、B5,A6、B6结合在一起,分别根据这些检测电极对应的电容变化量和百分比算法进行计算,以分别获得“点三”和“点五”的纵坐标,从而可确定“点三”和“点五”在触摸屏上的位置。It should also be noted that, in the embodiment of the present invention, the touch screen may further include a third area, and there is a joint boundary between the third area and the second area, and the arrangement direction of the third detecting electrodes in the third area is the same as that of the second area. The sorting direction of a detecting electrode is the same or the sorting direction is opposite. It can be understood that the touch screen may further include at least one fourth area, the at least one fourth area has a joint boundary with its immediate adjacent area, and the arrangement direction of the detection electrodes therein is the same as or opposite to that of the first detection electrodes. FIG. 11 is a schematic diagram of a touch screen with a triangular pattern in three regions according to an embodiment of the present invention. For example, as shown in Figure 11, when the detected touch points "Point 3" and "Point 5" are located in the preset area centered on the boundary, the first area, the second area, and the third area can be obtained respectively. A detection electrode, a second detection electrode and a third detection electrode. Then combine A13, B5, A14, B6, A5, B5, A6, and B6 together, and calculate according to the capacitance change and percentage algorithm corresponding to these detection electrodes to obtain the "point three" and "point five" respectively. The ordinate, so that the positions of "point three" and "point five" on the touch screen can be determined.
为了实现上述实施例,本发明还提出了一种触摸屏检测装置。In order to realize the above embodiments, the present invention also proposes a touch screen detection device.
图7为根据本发明一个实施例的触摸屏检测装置的结构示意图。FIG. 7 is a schematic structural diagram of a touch screen detection device according to an embodiment of the present invention.
如图7所示,该触摸屏检测装置可以包括:第一检测模块100、第一获取模块200、第二检测模块300、第二获取模块400和确定模块500。As shown in FIG. 7 , the touch screen detection device may include: a first detection module 100 , a first acquisition module 200 , a second detection module 300 , a second acquisition module 400 and a determination module 500 .
具体地,第一检测模块100用于检测触摸屏的第一区域之上的触摸点。第一获取模块200用于获取在第一区域中被触摸点触摸到的至少一个第一检测电极。例如,第一检测模块100可通过传感器检测到触摸屏的第一区域中被触摸的触摸点,之后,第一获取模块200可根据手指触摸到的面积获取在第一区域中被触摸点触摸到的所有第一检测电极。其中,第一检测电极处于第一区域中,且第一检测电极可为直角三角形。此外,每两个第一检测电极可相互依次排列而形成一矩形的图形,第一区域可由多个该矩形图形构成。Specifically, the first detection module 100 is used to detect a touch point on the first area of the touch screen. The first acquiring module 200 is configured to acquire at least one first detection electrode touched by a touch point in the first area. For example, the first detection module 100 can detect the touch point touched in the first area of the touch screen through the sensor, and then the first acquisition module 200 can acquire the touch point touched by the touch point in the first area according to the area touched by the finger. All first detection electrodes. Wherein, the first detecting electrode is in the first area, and the first detecting electrode may be a right triangle. In addition, every two first detection electrodes can be arranged in sequence to form a rectangular pattern, and the first region can be composed of a plurality of the rectangular patterns.
第二检测模块300用于检测触摸点是否位于以结合边界为中心的预设区域内。其中,在本发明的一个实施例中,第二检测模块300检测触摸点没有位于以结合边界为中心的预设区域内,则可通过现有技术确定触摸点的位置。The second detection module 300 is used to detect whether the touch point is located in a preset area centered on the combined boundary. Wherein, in one embodiment of the present invention, if the second detection module 300 detects that the touch point is not located in the preset area centered on the combined boundary, then the position of the touch point can be determined through existing technologies.
例如,第二检测模块300在检测触摸点是否位于以结合边界为中心的预设区域内之前,可先通过电容屏控制芯片扫描触摸屏中的各通道数据,然后,按各通道数据和所在位置将电容屏的上下两部分分别进行计算以获取触摸点对应的坐标。其中,可通过现有技术中的单个横三角触摸屏的计算方法以分别计算触摸点的坐标。当计算出的坐标没有靠近结合边界时,可确定该触摸点的坐标即为该触摸点在触摸屏所处的触摸位置。其中具体的计算过程可参照后续实施例的描述。For example, before the second detection module 300 detects whether the touch point is located in the preset area centered on the bounding boundary, it can first scan the data of each channel in the touch screen through the capacitive screen control chip, and then, according to the data of each channel and its position, The upper and lower parts of the capacitive screen are calculated separately to obtain the coordinates corresponding to the touch points. Wherein, the coordinates of the touch points can be respectively calculated through the calculation method of a single horizontal triangle touch screen in the prior art. When the calculated coordinates are not close to the binding boundary, it can be determined that the coordinates of the touch point are the touch position of the touch point on the touch screen. The specific calculation process can refer to the description of the subsequent embodiments.
第二获取模块400用于在第二检测模块300检测到触摸点位于以结合边界为中心的预设区域内时,获取第二区域中与至少一个第一检测电极对应的至少一个第二检测电极。例如,在第二检测模块300计算出触摸点的坐标靠近结合边界时,第二获取模块400可获取触摸屏的第二区域中与第一检测电极对应的至少一个第二检测电极。例如,图5所示,“点三”位于以结合边界为中心的预设区域内,第一获取模块200可先获取被“点三”触摸到的第一检测电极A5、A6、B5、B6,之后,第二获取模块400获取第二区域中与第一检测电极A5对应的第二检测电极A13、与第一检测电极A6对应的第二检测电极A14、与第一检测电极B5对应的第二检测电极B13、与第一检测电极B6对应的第二检测电极B14。其中,应当理解,第二检测电极处于第二区域中,且第二检测电极可为直角三角形。此外,每两个第二检测电极可相互依次排列而形成一矩形的图形,第二区域可由多个该矩形图形构成,其中,第二检测电极的排列方向可与第一检测电极的排列方向一致或排列方向相反。The second acquisition module 400 is configured to acquire at least one second detection electrode corresponding to at least one first detection electrode in the second area when the second detection module 300 detects that the touch point is located in a preset area centered on the combined boundary . For example, when the second detection module 300 calculates that the coordinates of the touch point are close to the joint boundary, the second acquisition module 400 may acquire at least one second detection electrode corresponding to the first detection electrode in the second area of the touch screen. For example, as shown in FIG. 5, "Point 3" is located in the preset area centered on the binding boundary, and the first acquisition module 200 can first acquire the first detection electrodes A5, A6, B5, B6 touched by "Point 3". , after that, the second acquisition module 400 acquires the second detection electrode A13 corresponding to the first detection electrode A5, the second detection electrode A14 corresponding to the first detection electrode A6, the second detection electrode B5 corresponding to the first detection electrode B5 in the second area. Two detection electrodes B13, and a second detection electrode B14 corresponding to the first detection electrode B6. Wherein, it should be understood that the second detection electrode is located in the second area, and the second detection electrode may be a right triangle. In addition, every two second detection electrodes can be arranged in sequence to form a rectangular pattern, and the second area can be composed of a plurality of such rectangular patterns, wherein the arrangement direction of the second detection electrodes can be consistent with the arrangement direction of the first detection electrodes or in the opposite direction.
确定模块500用于根据至少一个第一检测电极和至少一个第二检测电极确定触摸点的位置。The determination module 500 is configured to determine the position of the touch point according to at least one first detection electrode and at least one second detection electrode.
例如,当通过上下屏进行分屏计算,计算出触摸点位于以结合边界为中心的预设区域内时,可将分屏计算转换为全屏计算。也就是说,需要将触摸屏中的第一区域和第二区域结合起来,根据第一检测电极和第二检测电极确定触摸点的位置。具体的实现过程可参考后续实施例。For example, when the split-screen calculation is performed through the upper and lower screens, and the touch point is calculated to be located in a preset area centered on the combined boundary, the split-screen calculation can be converted into a full-screen calculation. That is to say, it is necessary to combine the first area and the second area in the touch screen, and determine the position of the touch point according to the first detection electrode and the second detection electrode. For a specific implementation process, reference may be made to subsequent embodiments.
根据本发明实施例的触摸屏检测装置,可通过第二检测模块检测触摸点是否位于以结合边界为中心的预设区域内,当触摸点位于以结合边界为中心的预设区域内时,确定模块可根据获取到的第一检测电极和第二检测电极确定触摸点的位置,以使得画线“跨缝”的时候更平滑,点击更准确,不会让人注意到“跨缝”的现象,提高识别触摸点时的精确度,提升用户体验。According to the touch screen detection device of the embodiment of the present invention, the second detection module can detect whether the touch point is located in the preset area centered on the joint boundary, and when the touch point is located in the preset area centered on the joint boundary, the determination module The position of the touch point can be determined according to the obtained first detection electrode and second detection electrode, so that the drawing line "crosses the seam" is smoother, the click is more accurate, and the phenomenon of "crossing the seam" will not be noticed. Improve the accuracy of identifying touch points and improve user experience.
图8为根据本发明一个具体实施例的触摸屏检测装置的结构示意图。FIG. 8 is a schematic structural diagram of a touch screen detection device according to a specific embodiment of the present invention.
下面将结合图5和图8说明本发明实施例的触摸屏检测装置,如图8所示,该触摸屏检测装置可以包括:第一检测模块100、第一获取模块200、第二检测模块300、第二获取模块400、确定模块500、第一获取单元310、第二获取单元320和判断单元330。其中,第二检测模块300包括第一获取单元310、第二获取单元320和判断单元330。The touch screen detection device of the embodiment of the present invention will be described below in conjunction with FIG. 5 and FIG. 8. As shown in FIG. Two obtaining module 400 , determining module 500 , first obtaining unit 310 , second obtaining unit 320 and judging unit 330 . Wherein, the second detection module 300 includes a first acquisition unit 310 , a second acquisition unit 320 and a judgment unit 330 .
具体地,第一获取单元310用于获取至少一个第一检测电极对应的至少一个第一电容变化量。例如,第一获取单元可根据电容公式对检测到的被触摸点“点三”触摸到的第一检测电极A5、B5、A6、B6进行计算,以获取对应的第一电容变化量CA5、CB5、CA6、CB6。其中,电容公式可为C=εS/4πkd,ε为介电常数,S为触摸点正对面积,k为静电力常量,d为电容器两极板间的距离。Specifically, the first acquisition unit 310 is configured to acquire at least one first capacitance variation corresponding to at least one first detection electrode. For example, the first acquisition unit can calculate the detected first detection electrodes A5, B5, A6, and B6 touched by the touch point "point three" according to the capacitance formula, so as to obtain the corresponding first capacitance change amounts C A5 , C B5 , C A6 , C B6 . Among them, the capacitance formula can be C=εS/4πkd, ε is the dielectric constant, S is the area facing the touch point, k is the electrostatic force constant, and d is the distance between the two plates of the capacitor.
第二获取单元320用于根据至少一个第一电容变化量和第一预设算法获取触摸点的纵坐标。其中,在本发明的实施例中,第一预设算法可为现有技术中的百分比算法。例如,可利用第一预设算法(如百分比算法)获得触摸点的纵坐标。The second acquiring unit 320 is configured to acquire the ordinate of the touch point according to at least one first capacitance variation and a first preset algorithm. Wherein, in the embodiment of the present invention, the first preset algorithm may be a percentage algorithm in the prior art. For example, the ordinate of the touch point can be obtained by using a first preset algorithm (eg, a percentage algorithm).
更具体地,可通过现有技术中的单个横三角触摸屏的计算方法以分别计算触摸点的纵坐标,例如,可根据第一电容变化量通过百分比算法进行计算以获取触摸点“点三”的纵坐标,触摸点“点三”的纵坐标计算公式可为(CB5+CB6)*Resy/2*(CA5+CB5+CA6+CB6),其中,(CB5+CB6)/(CA5+CB5+CA6+CB6)为触摸点“点三”在纵方向的百分比,Resy/2为上半屏的分辨率。More specifically, the calculation method of a single horizontal triangle touch screen in the prior art can be used to calculate the vertical coordinates of the touch points respectively. For example, the calculation can be performed according to the first capacitance change through a percentage algorithm to obtain the touch point "point three". The ordinate, the formula for calculating the ordinate of the touch point "Point 3" can be (C B5 +C B6 )*Resy/2*(C A5 +C B5 +C A6 +C B6 ), where (C B5 +C B6 )/(C A5 +C B5 +C A6 +C B6 ) is the percentage of the touch point "point three" in the vertical direction, and Resy/2 is the resolution of the upper half of the screen.
判断单元330用于判断纵坐标是否在预设范围内以检测触摸点是否位于以结合边界为中心的预设区域内。其中,在本发明的一个实施例中,第二检测模块300还用于在判断单元330判断纵坐标在预设范围内时,检测触摸点位于以结合边界为中心的预设区域内;在判断单元330判断纵坐标没有在预设范围内时,检测触摸点没有位于以结合边界为中心的预设区域内。The judging unit 330 is configured to judge whether the ordinate is within a preset range to detect whether the touch point is located within a preset area centered on the combined boundary. Wherein, in one embodiment of the present invention, the second detection module 300 is also used to detect that the touch point is located in a preset area centered on the bounding boundary when the judging unit 330 judges that the ordinate is within a preset range; When unit 330 determines that the ordinate is not within the preset range, it detects that the touch point is not located within the preset area centered on the combined boundary.
例如,假设触摸屏中结合边界X的纵坐标为400,预设范围为300~500之间,根据第二获取单元320计算出触摸点“点三”的纵坐标为350时,判断单元330可判断该触摸点“点三”的纵坐标在预设范围300~500之间,这时可确定该触摸点“点三”位于以结合边界X为中心的预设区域内,也就是说,可确定该触摸点“点三”会跨缝,这时可通过全屏算法计算出触摸点“点三”的横坐标和纵坐标。For example, assuming that the ordinate of the joint boundary X in the touch screen is 400, and the preset range is between 300 and 500, when the ordinate of the touch point "point three" calculated by the second acquisition unit 320 is 350, the judging unit 330 can judge The ordinate of the touch point "Point 3" is within the preset range of 300 to 500. At this time, it can be determined that the touch point "Point 3" is located in the preset area centered on the bounding boundary X, that is to say, it can be determined that The touch point "point three" will cross the gap, and at this time, the abscissa and ordinate of the touch point "point three" can be calculated through the full-screen algorithm.
需要说明的是,在本发明的实施例中,当第二检测模块300检测触摸点没有位于以结合边界为中心的预设区域内,则可根据现有技术确定触摸点的位置。例如,图5所示,当根据第一电容变化量和第一预设算法获取触摸点“点一”的纵坐标之后,判断“点一”的纵坐标没有在预设范围内,也就是说,“点一”没有位于以结合边界为中心的预设区域内,这时可通过现有技术计算“点一”的横坐标,从而确定“点一”的位置。例如,“点一”的横坐标可利用质心算法进行计算,即“点一”的横坐标计算公式可为((CA1+CB1)*1+(CA2+CB2)*2+(CA3+CB3)*3)*Resx/8(CA1+CB1+CA2+CB2+CA3+CB3)。这样,即可获得到“点一”的横坐标和纵坐标,可根据该横坐标和纵坐标确定“点一”在触摸屏上的位置。It should be noted that, in the embodiment of the present invention, when the second detection module 300 detects that the touch point is not located in the preset area centered on the combined boundary, the position of the touch point can be determined according to the existing technology. For example, as shown in FIG. 5, after obtaining the ordinate of the touch point "Point 1" according to the first capacitance variation and the first preset algorithm, it is judged that the ordinate of "Point 1" is not within the preset range, that is to say , "Point 1" is not located in the preset area centered on the combined boundary. At this time, the abscissa of "Point 1" can be calculated through the existing technology, so as to determine the position of "Point 1". For example, the abscissa of "Point 1" can be calculated using the centroid algorithm, that is, the formula for calculating the abscissa of "Point 1" can be ((C A1 +C B1 )*1+(C A2 +C B2 )*2+( C A3 +C B3 )*3)*Resx/8(C A1 +C B1 +C A2 +C B2 +C A3 +C B3 ). In this way, the abscissa and ordinate of "point one" can be obtained, and the position of "point one" on the touch screen can be determined according to the abscissa and ordinate.
根据本发明实施例的触摸屏检测装置,可通过第一获取单元获取第一检测电极对应第一电容变化量,第二获取单元根据第一电容变化量和第一预设算法获取触摸点的纵坐标,判断单元判断纵坐标是否在预设范围内,以检测触摸点是否位于以结合边界为中心的预设区域内,以使得用户点击触摸屏时更加准确,避免出现“跨缝”等现象,进一步提高精确度,提升用户体验。According to the touch screen detection device of the embodiment of the present invention, the first acquisition unit can obtain the first capacitance change corresponding to the first detection electrode, and the second acquisition unit can obtain the vertical coordinate of the touch point according to the first capacitance change and the first preset algorithm , the judging unit judges whether the ordinate is within a preset range, so as to detect whether the touch point is located in a preset area centered on the combined boundary, so that the user can click the touch screen more accurately, avoid the phenomenon of "crossing the seam", and further improve Accuracy improves user experience.
图9为根据本发明另一个具体实施例的触摸屏检测装置的结构示意图。FIG. 9 is a schematic structural diagram of a touch screen detection device according to another specific embodiment of the present invention.
如图9所示,该触摸屏检测装置可以包括:第一检测模块100、第一获取模块200、第二检测模块300、第二获取模块400、确定模块500、第一获取单元310、第二获取单元320、判断单元330、第一获取单元410和第二获取单元420。其中,第二检测模块300包括第一获取单元310、第二获取单元320和判断单元330,第二获取模块400包括第一获取单元410和第二获取单元420。As shown in Figure 9, the touch screen detection device may include: a first detection module 100, a first acquisition module 200, a second detection module 300, a second acquisition module 400, a determination module 500, a first acquisition unit 310, a second acquisition module unit 320 , judging unit 330 , first acquiring unit 410 and second acquiring unit 420 . Wherein, the second detection module 300 includes a first acquisition unit 310 , a second acquisition unit 320 and a judging unit 330 , and the second acquisition module 400 includes a first acquisition unit 410 and a second acquisition unit 420 .
具体地,第一获取单元410用于获取至少一个第一检测电极所处的触摸屏中至少一个通道,其中,通道连接第一区域的第一检测电极和对应的第二区域的第二检测电极。第二获取单元420用于根据至少一个通道获取第二区域中对应的至少一个第二检测电极。Specifically, the first acquisition unit 410 is configured to acquire at least one channel in the touch screen where at least one first detection electrode is located, wherein the channel connects the first detection electrode in the first area and the corresponding second detection electrode in the second area. The second acquisition unit 420 is configured to acquire at least one corresponding second detection electrode in the second area according to at least one channel.
例如,图5所示,当判断触摸点“点三”位于以结合边界为中心的预设区域内时,第一获取单元410可先获取第一检测电极A5、B5所处在触摸屏中的I通道上,第一检测电极A6、B6所处在触摸屏中的J通道上,之后,第二获取单元420可根据I通道和J通道可获取到第二区域中对应的第二检测电极A13、B13、A14、B14。其中,I通道可包含三个小通道,一个为第一检测电极A5所在的上通道,另一个为第一检测电极B5和第二检测电极A13所在的中通道,又一个为第二检测电极B13所在的下通道,依此类推,J通道也可包含三个小通道,一个为第一检测电极A6所在的上通道,另一个为第一检测电极B6和第二检测电极A14所在的中通道,又一个为第二检测电极B14所在的下通道。For example, as shown in FIG. 5, when it is judged that the touch point "point three" is located in the preset area centered on the combined boundary, the first acquisition unit 410 may first acquire the I channel, the first detection electrodes A6, B6 are located on the J channel in the touch screen, and then the second acquisition unit 420 can acquire the corresponding second detection electrodes A13, B13 in the second area according to the I channel and J channel , A14, B14. Wherein, the I channel can include three small channels, one is the upper channel where the first detection electrode A5 is located, the other is the middle channel where the first detection electrode B5 and the second detection electrode A13 are located, and another is the second detection electrode B13 The lower channel where it is located, and so on, the J channel can also include three small channels, one is the upper channel where the first detection electrode A6 is located, and the other is the middle channel where the first detection electrode B6 and the second detection electrode A14 are located. Another one is the lower channel where the second detection electrode B14 is located.
根据本发明实施例的触摸屏检测装置,可通过第一获取单元获取第一检测电极所处的触摸屏中通道,第二获取单元根据该通道获取第二区域中对应的第二检测电极,以实现将上下屏变成一个电容屏,使得在计算触摸点的坐标时可通过全屏算法进行计算,避免出现“跨缝”现象,提高精确度。According to the touch screen detection device of the embodiment of the present invention, the channel in the touch screen where the first detection electrode is located can be acquired by the first acquisition unit, and the second acquisition unit can acquire the corresponding second detection electrode in the second area according to the channel, so as to realize the The upper and lower screens become a capacitive screen, so that the coordinates of the touch point can be calculated through the full-screen algorithm, avoiding the phenomenon of "crossing the seam" and improving accuracy.
图10为根据本发明又一个具体实施例的触摸屏检测装置的结构示意图。Fig. 10 is a schematic structural diagram of a touch screen detection device according to yet another specific embodiment of the present invention.
如图10所示,该触摸屏检测装置可以包括:第一检测模块100、第一获取模块200、第二检测模块300、第二获取模块400、确定模块500、第一获取单元310、第二获取单元320、判断单元330、第一获取单元410、第二获取单元420、第一获取单元510和第二获取单元520。其中,第二检测模块300包括第一获取单元310、第二获取单元320和判断单元330,第二获取模块400包括第一获取单元410和第二获取单元420,确定模块500包括第一获取单元510和第二获取单元520。As shown in Figure 10, the touch screen detection device may include: a first detection module 100, a first acquisition module 200, a second detection module 300, a second acquisition module 400, a determination module 500, a first acquisition unit 310, a second acquisition module The unit 320 , the judgment unit 330 , the first acquisition unit 410 , the second acquisition unit 420 , the first acquisition unit 510 and the second acquisition unit 520 . Wherein, the second detection module 300 includes a first acquisition unit 310, a second acquisition unit 320, and a judgment unit 330, the second acquisition module 400 includes a first acquisition unit 410 and a second acquisition unit 420, and the determination module 500 includes a first acquisition unit 510 and the second acquiring unit 520.
具体地,第一获取单元510用于获取至少一个第二检测电极对应的至少一个第二电容变化量。更具体地,第二检测电极对应的第二电容变化量的获取方法与第一检测电极对应的第一电容变化量的获取方法一样。例如,,第一获取单元510可根据电容公式对检测到的被触摸点“点三”触摸到的第二检测电极A13、B13、A14、B14进行计算,以获取对应的第二电容变化量CA13、CB13、CA14、CB14。其中,电容公式可为C=εS/4πkd,ε为介电常数,S为触摸点正对面积,k为静电力常量,d为电容器两极板间的距离。Specifically, the first acquisition unit 510 is configured to acquire at least one second capacitance variation corresponding to at least one second detection electrode. More specifically, the method for obtaining the second capacitance change corresponding to the second detection electrode is the same as the method for obtaining the first capacitance change corresponding to the first detection electrode. For example, the first acquisition unit 510 can calculate the detected second detection electrodes A13, B13, A14, and B14 touched by the touch point "point three" according to the capacitance formula, so as to obtain the corresponding second capacitance variation C A13 , C B13 , C A14 , C B14 . Among them, the capacitance formula can be C=εS/4πkd, ε is the dielectric constant, S is the area facing the touch point, k is the electrostatic force constant, and d is the distance between the two plates of the capacitor.
第二获取单元520用于根据至少一个第一电容变化量、至少一个第二电容变化量和第二预设算法获取触摸点的坐标。其中,在本发明的实施例中,第二预设算法可为现有技术中的质心算法,可利用第二预设算法(如质心算法)获得触摸点的横坐标。The second acquiring unit 520 is configured to acquire the coordinates of the touch point according to at least one first capacitance variation, at least one second capacitance variation and a second preset algorithm. Wherein, in the embodiment of the present invention, the second preset algorithm may be a centroid algorithm in the prior art, and the abscissa of the touch point may be obtained by using the second preset algorithm (such as the centroid algorithm).
例如,图5所示,当将B1、A9,B2、A10,B3、A11等结合在一起时,整个图案的结构就发生了变化,此时算法也随之改变。这时计算触摸点的横坐标时可将纵向的四个检测电极合成一个通道,如触摸点“点三”触摸到两个通道,这两个通道分别为I通道和J通道,即I通道和J通道所对应的检测电极分别为A5+B5+A13+B13、A6+B6+A14+B14。这时可根据第一电容变化量CA5、CB5、CA6、CB6、第二电容变化量CA13、CB13、CA14、CB14和质心算法进行计算以获得触摸点“点三”的横坐标,即“点三”的横坐标计算公式可为((CA5+CB5+CA13+CB13)*5+(CA6+CB6+CA14+CB14)*6)*Resx/8(CA5+CB5+CA13+CB 13+CA6+CB6+CA14+CB14),就是将竖条上的四个检测电极合成一个通道以计算横坐标,其中,Resx为横方向分辨率,5、6分别为第一检测电极和第二检测电极所在的通道的顺序,8为触摸屏中通道的总个数;同时可根据第一电容变化量CA5、CB5、CA6、CB6、第二电容变化量CA13、CB13、CA14、CB14和百分比算法进行计算以获得触摸点“点三”的纵坐标,即“点三”的纵坐标计算公式可为(((CA5+CA6)*0+(CB5+CB6+CA13+CA14)*0.5+(CB 13+CB14)*1)/(CA5+CA6+CB5+CB6+CA13+CA14+CB13+CB14))*Resy,其中,A5、A6分别位于为I通道和J通道上的上通道,权值为0。B5、A13,B6、A14分别为I通道和J通道上的中通道,权值为0.5,B13、B14分别为I通道和J通道上的下通道,权值为1,Resy为纵坐标分辨率。这样就可以用两个通道的八个检测电极算出触摸点唯一的一个纵坐标,这时,由于上下的两个屏变成了一个电容屏,第一区域和第二区域之间的结合边界就从算法上消失了,因此,中间自然就不会出现“跨缝”等问题。For example, as shown in Figure 5, when B1, A9, B2, A10, B3, A11, etc. are combined, the structure of the entire pattern changes, and the algorithm changes accordingly. At this time, when calculating the abscissa of the touch point, the four vertical detection electrodes can be combined into one channel. For example, the touch point "point three" touches two channels, and these two channels are I channel and J channel, that is, I channel and The detection electrodes corresponding to the J channel are A5+B5+A13+B13 and A6+B6+A14+B14 respectively. At this time, it can be calculated according to the first capacitance change amount C A5 , C B5 , C A6 , C B6 , the second capacitance change amount C A13 , C B13 , C A14 , C B14 and the centroid algorithm to obtain the touch point "point three" The abscissa of "Point 3" can be calculated as ((C A5 +C B5 +C A13 +C B13 )*5+(C A6 +C B6 +C A14 +C B14 )*6)* Resx/8(C A5 +C B5 +C A13 +C B 13 +C A6 +C B6 +C A14 +C B14 ), is to combine the four detection electrodes on the vertical bar into one channel to calculate the abscissa, where, Resx is the resolution in the horizontal direction, 5 and 6 are the order of the channels where the first detection electrode and the second detection electrode are located, and 8 is the total number of channels in the touch screen; at the same time, according to the first capacitance change C A5 , C B5 , C A6 , C B6 , the second capacitance variation C A13 , C B13 , C A14 , C B14 and the percentage algorithm are calculated to obtain the ordinate of the touch point "point three", that is, the formula for calculating the ordinate of "point three" Can be (((C A5 +C A6 )*0+(C B5 +C B6 +C A13 +C A14 )*0.5+(C B 13 +C B14 )*1)/(C A5 +C A6 +C B5 +C B6 +C A13 +C A14 +C B13 +C B14 ))*Resy, where A5 and A6 are respectively located on the upper channel of the I channel and the J channel, and the weight is 0. B5, A13, B6, and A14 are the middle channel on the I channel and J channel respectively, with a weight of 0.5, B13 and B14 are the lower channels on the I channel and J channel, respectively, with a weight of 1, and Resy is the vertical coordinate resolution . In this way, eight detection electrodes of two channels can be used to calculate the only vertical coordinate of the touch point. At this time, since the upper and lower screens become a capacitive screen, the combined boundary between the first area and the second area is It disappears from the algorithm, so naturally there will be no problems such as "crossing the seam" in the middle.
根据本发明实施例的触摸屏检测装置,可通过第二获取单元根据至少一个第一电容变化量、至少一个第二电容变化量和第二预设算法获取触摸点的坐标,从而可确定触摸点在触摸屏上的位置,实现了将上下屏变成一个电容屏,使得在计算触摸点的坐标时可通过全屏算法进行计算,进一步提高了精确度。According to the touch screen detection device of the embodiment of the present invention, the coordinates of the touch point can be obtained by the second acquisition unit according to at least one first capacitance change, at least one second capacitance change and a second preset algorithm, so that it can be determined that the touch point is The position on the touch screen realizes turning the upper and lower screens into a capacitive screen, so that the coordinates of the touch point can be calculated by a full-screen algorithm, which further improves the accuracy.
需要说明的是,如果同一个通道出现两个触摸点,如图5所示中的“点一”和“点二”,这时在全屏计算之后还可以用上下屏分别计算,如果分屏计算的结果为上下屏各有一个触摸点,而且这两个触摸点都不位于以结合边界为中心的预设区域内,则可以确定确实是两个手指触摸出两个点,这样可报两个坐标给主机。It should be noted that if there are two touch points on the same channel, such as "Point 1" and "Point 2" in Figure 5, after the full-screen calculation, the upper and lower screens can be used to calculate separately. If the split-screen calculation The result is that there is a touch point on the upper and lower screens respectively, and the two touch points are not located in the preset area centered on the combined boundary, then it can be confirmed that two fingers touch two points, so two points can be reported. coordinates to the host.
还需要说明的是,在本发明的实施例中,触摸屏还可以包括第三区域,第三区域和第二区域之间具有结合边界,且第三区域中的第三检测电极的排列方向与第一检测电极的排序方向一致或排列方向相反。可以理解,触摸屏还可以包括至少一个第四区域,至少一个第四区域与其紧邻的区域具有结合边界,且,其中的检测电极的排列方向与第一检测电极的排序方向一致或排列方向相反。例如,图11所示,当检测触摸点“点三”和“点五”位于结合边界为中心的预设区域内之后,可分别获取在第一区域、第二区域和第三区域上的第一检测电极、第二检测电极和第三检测电极。然后将A13、B5,A14、B6,A5、B5,A6、B6结合在一起,分别根据这些检测电极对应的电容变化量和百分比算法进行计算,以分别获得“点三”和“点五”的纵坐标,从而可确定“点三”和“点五”在触摸屏上的位置。It should also be noted that, in the embodiment of the present invention, the touch screen may further include a third area, and there is a joint boundary between the third area and the second area, and the arrangement direction of the third detecting electrodes in the third area is the same as that of the second area. The sorting direction of a detecting electrode is the same or the sorting direction is opposite. It can be understood that the touch screen may further include at least one fourth area, the at least one fourth area has a joint boundary with its immediate adjacent area, and the arrangement direction of the detection electrodes therein is the same as or opposite to that of the first detection electrodes. For example, as shown in Figure 11, when the detected touch points "Point 3" and "Point 5" are located in the preset area centered on the boundary, the first area, the second area, and the third area can be obtained respectively. A detection electrode, a second detection electrode and a third detection electrode. Then combine A13, B5, A14, B6, A5, B5, A6, and B6 together, and calculate according to the capacitance change and percentage algorithm corresponding to these detection electrodes to obtain the "point three" and "point five" respectively. The ordinate, so that the positions of "point three" and "point five" on the touch screen can be determined.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, Programmable Gate Arrays (PGAs), Field Programmable Gate Arrays (FPGAs), etc.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
尽管已经示出和描述了本发明的实施例,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同物限定。Although the embodiments of the present invention have been shown and described, those skilled in the art can understand that various changes, modifications, substitutions and modifications can be made to these embodiments without departing from the principle and spirit of the present invention. The scope of the invention is defined by the claims and their equivalents.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310740447.8A CN104750324B (en) | 2013-12-27 | 2013-12-27 | Detection method of touch screen and detection means |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310740447.8A CN104750324B (en) | 2013-12-27 | 2013-12-27 | Detection method of touch screen and detection means |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104750324A true CN104750324A (en) | 2015-07-01 |
| CN104750324B CN104750324B (en) | 2018-02-09 |
Family
ID=53590122
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310740447.8A Expired - Fee Related CN104750324B (en) | 2013-12-27 | 2013-12-27 | Detection method of touch screen and detection means |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104750324B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110442293A (en) * | 2019-08-02 | 2019-11-12 | Oppo广东移动通信有限公司 | Split screen application switching method and device and computer readable storage medium |
| CN112148541A (en) * | 2020-09-16 | 2020-12-29 | 珠海格力电器股份有限公司 | Touch screen testing method and electronic equipment |
| CN113360015A (en) * | 2020-03-06 | 2021-09-07 | 北京小米移动软件有限公司 | Ghost point detection method and device and storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110169763A1 (en) * | 2007-06-13 | 2011-07-14 | Wayne Carl Westerman | Bottom-up watershed dataflow method and region-specific segmentation based on historic data to identify patches on a touch sensor panel |
| CN103186304A (en) * | 2013-01-21 | 2013-07-03 | 敦泰科技有限公司 | Single-layer self-capacitance touch screen for realizing multi-touch recognition and data processing method thereof |
-
2013
- 2013-12-27 CN CN201310740447.8A patent/CN104750324B/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110169763A1 (en) * | 2007-06-13 | 2011-07-14 | Wayne Carl Westerman | Bottom-up watershed dataflow method and region-specific segmentation based on historic data to identify patches on a touch sensor panel |
| CN103186304A (en) * | 2013-01-21 | 2013-07-03 | 敦泰科技有限公司 | Single-layer self-capacitance touch screen for realizing multi-touch recognition and data processing method thereof |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110442293A (en) * | 2019-08-02 | 2019-11-12 | Oppo广东移动通信有限公司 | Split screen application switching method and device and computer readable storage medium |
| CN113360015A (en) * | 2020-03-06 | 2021-09-07 | 北京小米移动软件有限公司 | Ghost point detection method and device and storage medium |
| CN112148541A (en) * | 2020-09-16 | 2020-12-29 | 珠海格力电器股份有限公司 | Touch screen testing method and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104750324B (en) | 2018-02-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105814525B (en) | Discriminating capacitive touch panel | |
| US8350826B2 (en) | Capacitive touch panel device | |
| TWI479399B (en) | Touch detecting method, touch sensitive device, and portable electronic apparatus | |
| CN103616972B (en) | Touch screen control method and terminal device | |
| US10379683B2 (en) | Pressure and touch sensitive panel, system and touch sensitive processing apparatus and method thereof | |
| TWI475455B (en) | Induction unit, touch screen detecting device, and touch sensitive device | |
| CN103116431B (en) | Self-capacitance touch screen and electronic equipment | |
| JP5132604B2 (en) | Coordinate input device and touch panel device | |
| KR101441970B1 (en) | Touch sensor ic, apparatus for sensing touch and method for compensating a touch coordinate of the same | |
| CN102945109B (en) | Method for detecting touch area of mutual capacitance screen | |
| US9218094B1 (en) | Sense position prediction for touch sensing methods, circuits and systems | |
| CN104750324B (en) | Detection method of touch screen and detection means | |
| CN110459579A (en) | A flexible display panel and its bending detection method | |
| TWI484395B (en) | Self-capacitive touch panel | |
| JP5408731B2 (en) | Hand motion detection device and electrical equipment | |
| US10416829B1 (en) | Touch sensitive processing apparatus, system and method thereof | |
| TWI550481B (en) | Self-capacitive touch panel | |
| JP6082394B2 (en) | High resolution ghost removal gesture | |
| TWI412983B (en) | Detecting method of performing multi-touch on a capacitive touch panel | |
| CN102799322A (en) | Capacitive sensing device and control method | |
| CN102902387A (en) | Sensing unit, touch screen detector and touch device | |
| CN108181541B (en) | Detection device and detection method of touch panel | |
| CN108399017A (en) | Apparatus and method for inclination derivation | |
| TW201409295A (en) | Touch device and method of sampling touch points for touch panel | |
| US9575603B2 (en) | Touch device, touch panel, and method for controlling the same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| EXSB | Decision made by sipo to initiate substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20191231 Address after: 518119 1 Yanan Road, Kwai Chung street, Dapeng New District, Shenzhen, Guangdong Patentee after: SHENZHEN BYD MICROELECTRONICS Co.,Ltd. Address before: BYD 518118 Shenzhen Road, Guangdong province Pingshan New District No. 3009 Patentee before: BYD Co.,Ltd. |
|
| CP01 | Change in the name or title of a patent holder | ||
| CP01 | Change in the name or title of a patent holder |
Address after: 518119 No.1 Yan'an Road, Kuiyong street, Dapeng New District, Shenzhen City, Guangdong Province Patentee after: BYD Semiconductor Co.,Ltd. Address before: 518119 No.1 Yan'an Road, Kuiyong street, Dapeng New District, Shenzhen City, Guangdong Province Patentee before: BYD Semiconductor Co.,Ltd. Address after: 518119 No.1 Yan'an Road, Kuiyong street, Dapeng New District, Shenzhen City, Guangdong Province Patentee after: BYD Semiconductor Co.,Ltd. Address before: 518119 No.1 Yan'an Road, Kuiyong street, Dapeng New District, Shenzhen City, Guangdong Province Patentee before: SHENZHEN BYD MICROELECTRONICS Co.,Ltd. |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180209 |